Movatterモバイル変換


[0]ホーム

URL:


CN110751113B - Scanning method and electronic equipment - Google Patents

Scanning method and electronic equipment
Download PDF

Info

Publication number
CN110751113B
CN110751113BCN201911018247.5ACN201911018247ACN110751113BCN 110751113 BCN110751113 BCN 110751113BCN 201911018247 ACN201911018247 ACN 201911018247ACN 110751113 BCN110751113 BCN 110751113B
Authority
CN
China
Prior art keywords
light
gray level
optical fingerprint
module
fingerprint module
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.)
Active
Application number
CN201911018247.5A
Other languages
Chinese (zh)
Other versions
CN110751113A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201911018247.5ApriorityCriticalpatent/CN110751113B/en
Publication of CN110751113ApublicationCriticalpatent/CN110751113A/en
Application grantedgrantedCritical
Publication of CN110751113BpublicationCriticalpatent/CN110751113B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention relates to the technical field of terminals, and provides a scanning method and electronic equipment to solve the problem of low accuracy of scanned images. The scanning method is applied to electronic equipment, the electronic equipment comprises an optical fingerprint module and an OLED display screen, and the optical fingerprint module is positioned below the OLED display screen; the method comprises the following steps: receiving a scan input of a user; responding to the scanning input, and controlling the OLED display screen to emit first light outwards; the received second light is subjected to photoelectric conversion based on the optical fingerprint module to obtain a gray image, and the second light is reflected to the optical fingerprint module after the first light passes through the object to be scanned so as to improve the accuracy of the gray image obtained by scanning.

Description

Translated fromChinese
扫描方法及电子设备Scanning method and electronic device

技术领域technical field

本发明涉及扫描技术领域,尤其涉及一种扫描方法及电子设备。The invention relates to the technical field of scanning, in particular to a scanning method and electronic equipment.

背景技术Background technique

随着智能技术不断进步以及持续创新,电子设备的功能也越来越强大,人们对于电子设备的功能要求也越来越多。例如,电子设备的扫描功能。With the continuous advancement and continuous innovation of smart technology, the functions of electronic devices are becoming more and more powerful, and people have more and more functional requirements for electronic devices. For example, the scanning function of an electronic device.

目前,可通过扫描仪实现对目标对象的扫描,但不便于携带。若通过电子设备的摄像头拍摄目标对象,得到目标对象对应的图像,可以理解实现对目标对象的扫描。由于摄像头的镜头小,且镜头的焦距通常在2.5厘米左右,利用摄像头进行扫描得到的图像容易出现失真,导致得到的图像准确性低。At present, the scanning of the target object can be realized by a scanner, but it is not easy to carry. If the target object is photographed by the camera of the electronic device and an image corresponding to the target object is obtained, it can be understood that the scanning of the target object is realized. Because the lens of the camera is small, and the focal length of the lens is usually about 2.5 cm, the image obtained by scanning with the camera is prone to distortion, resulting in low accuracy of the obtained image.

发明内容Contents of the invention

本发明实施例提供一种扫描方法及电子设备,以解决现有技术电子设备扫描得到的图像准确性低的问题。Embodiments of the present invention provide a scanning method and electronic equipment to solve the problem of low accuracy of images scanned by electronic equipment in the prior art.

为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种扫描方法,应用于电子设备,所述电子设备包括光学指纹模组以及OLED显示屏,所述光学指纹模组位于所述OLED显示屏下方;In a first aspect, an embodiment of the present invention provides a scanning method, which is applied to an electronic device, and the electronic device includes an optical fingerprint module and an OLED display, and the optical fingerprint module is located below the OLED display;

所述方法包括:The methods include:

接收用户的扫描输入;Receive the user's scan input;

响应于所述扫描输入,控制所述OLED显示屏向外发出第一光线;In response to the scanning input, controlling the OLED display to emit a first light outward;

基于所述光学指纹模组对接收的第二光线进行光电转换得到灰度图像,其中,所述第二光线为所述第一光线经过待扫描对象后反射至所述光学指纹模组的反射光线。Based on the optical fingerprint module, the received second light is photoelectrically converted to obtain a grayscale image, wherein the second light is the reflected light reflected to the optical fingerprint module after the first light passes through the object to be scanned .

第二方面,本发明实施例还提供一种电子设备,所述电子设备包括光学指纹模组以及OLED显示屏,所述光学指纹模组位于所述OLED显示屏下方;In the second aspect, the embodiment of the present invention also provides an electronic device, the electronic device includes an optical fingerprint module and an OLED display, and the optical fingerprint module is located below the OLED display;

所述电子设备还包括:The electronic equipment also includes:

扫描输入接收模块,用于接收用户的扫描输入;Scanning input receiving module, used to receive user's scanning input;

发光控制模块,用于控制所述OLED显示屏向外发出第一光线;A light emitting control module, configured to control the OLED display to emit first light outward;

灰度图像获取模块,用于基于所述光学指纹模组对接收的第二光线进行光电转换得到灰度图像,其中,所述第二光线为所述第一光线经过待扫描对象后反射至所述光学指纹模组的反射光线。A grayscale image acquisition module, configured to photoelectrically convert the received second light based on the optical fingerprint module to obtain a grayscale image, wherein the second light is the first light reflected to the object after passing through the object to be scanned. The reflected light of the above-mentioned optical fingerprint module.

第三方面,本发明实施例还提供一种移动终端,包括:存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现本发明实施例提供的扫描方法中的步骤。In the third aspect, the embodiment of the present invention also provides a mobile terminal, including: a memory and a processor, the memory stores a computer program, and the processor implements the scanning method provided in the embodiment of the present invention when executing the computer program A step of.

第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现本发明实施例提供的扫描方法中的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the scanning method provided in the embodiment of the present invention is implemented. step.

本发明实施例提供的扫描方法,在接收到用户的扫描输入后,可控制OLED显示屏向外发出第一光线,通过光学指纹模组对接收的第二光线进行光电转换得到灰度图像,第二光线为第一光线经过待扫描对象后反射至光学指纹模组的反射光线。由于在扫描过程中,是利用OLED显示屏向外发出第一光线,通过光学指纹模组对接收的第一光线经过待扫描对象反射的第二光线进行光电转换得到灰度图像,实现对待扫描对象的扫描,不再通过摄像头进行扫描,可避免摄像头镜头的限制,提高扫描得到的灰度图像的准确性。The scanning method provided by the embodiment of the present invention can control the OLED display to emit the first light outward after receiving the scanning input from the user, and the optical fingerprint module performs photoelectric conversion on the received second light to obtain a grayscale image. The second light is the reflected light that is reflected to the optical fingerprint module after the first light passes through the object to be scanned. During the scanning process, the OLED display screen is used to send out the first light, and the optical fingerprint module performs photoelectric conversion on the received first light and the second light reflected by the object to be scanned to obtain a grayscale image, so as to realize the detection of the object to be scanned. Instead of scanning through the camera, it can avoid the limitation of the camera lens and improve the accuracy of the grayscale image obtained by scanning.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例提供的电子设备的结构示意图之一;FIG. 1 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention;

图2是本发明实施例提供的扫描方法的流程图之一;Fig. 2 is one of the flowcharts of the scanning method provided by the embodiment of the present invention;

图3是本发明实施例提供的扫描方法的流程图之二;Fig. 3 is the second flowchart of the scanning method provided by the embodiment of the present invention;

图4是本发明实施例提供的电子设备的结构示意图之二;Fig. 4 is the second structural schematic diagram of the electronic device provided by the embodiment of the present invention;

图5是本发明实施例提供的电子设备的示意图。Fig. 5 is a schematic diagram of an electronic device provided by an embodiment of the present invention.

图6是本发明实施例提供的电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明还提供一个实施例的扫描方法,应用于电子设备,如图1所示,电子设备包括光学指纹模组101以及OLED(Organic Light-Emitting Diode,有机发光二极管)显示屏103,光学指纹模组101位于OLED显示屏103下方,可以理解,OLED显示屏103下方为电子设备内侧,即光学指纹模组101是置于电子设备内的。The present invention also provides a scanning method of an embodiment, which is applied to an electronic device. As shown in FIG. The group 101 is located below theOLED display 103. It can be understood that the bottom of theOLED display 103 is inside the electronic device, that is, the optical fingerprint module 101 is placed in the electronic device.

如图2所示,本实施例提供的扫描方法包括:As shown in Figure 2, the scanning method provided in this embodiment includes:

步骤201:接收用户的扫描输入。Step 201: Receive a user's scan input.

可将电子设备靠近待扫描对象104,使待扫描对象104可紧贴电子设备的OLED显示屏103远离光学指纹模组101的外侧面。通过用户的扫描输入(例如,对扫描按钮的点击输入等),开启扫描。The electronic device can be placed close to theobject 104 to be scanned, so that theobject 104 to be scanned can be close to theOLED display screen 103 of the electronic device and away from the outer surface of the optical fingerprint module 101 . Scanning is started by the user's scanning input (for example, a click input on a scanning button, etc.).

步骤202:响应于扫描输入,控制OLED显示屏向外发出第一光线。Step 202: In response to the scan input, control the OLED display to emit a first light.

OLED显示屏103发光后,发出的第一光线可向电子设备外侧传输,上述OLED显示屏向外发出第一光线,可以理解为,OLED显示屏向电子设备外侧发出第一光线,即可传输到电子设备外侧。优选地,可向OLED显示屏103远离光学指纹模组101的一侧(即OLED显示屏103的外侧,在电子设备外侧)发出第一光线。在接收到用户的扫描输入后,响应于该扫描输入,即可控制OLED显示屏103向外发出第一光线。在一个示例中,OLED显示屏103中包括OLED发光二极管102,可控制OLED显示屏103的OLED发光二极管102发出第一光线,即可通过OLED显示屏103中OLED发光二极管102点亮发光,从而实现OLED显示屏103向外发出第一光线。After theOLED display 103 emits light, the emitted first light can be transmitted to the outside of the electronic device. outside of electronic equipment. Preferably, the first light can be emitted to the side of theOLED display 103 away from the optical fingerprint module 101 (ie, the outside of theOLED display 103 , outside the electronic device). After receiving the scanning input from the user, in response to the scanning input, theOLED display screen 103 can be controlled to emit the first light. In one example, theOLED display 103 includes an OLED light-emitting diode 102, and the OLED light-emitting diode 102 of theOLED display 103 can be controlled to emit the first light, that is, the OLED light-emitting diode 102 in theOLED display 103 can be lighted to emit light, thereby realizing TheOLED display screen 103 emits first light outward.

步骤203:基于光学指纹模组对接收的第二光线进行光电转换得到灰度图像。Step 203: Based on the optical fingerprint module, the received second light is photoelectrically converted to obtain a grayscale image.

通过光学指纹模组可接收第二光线,并通过光学指纹模组对其进行光电转换得到灰度图像,从而可获取基于光学指纹模组对接收的第二光线进行光电转换得到的灰度图像。其中,第二光线为第一光线经过待扫描对象后反射至光学指纹模组的反射光线,即OLED显示屏103向外发出第一光线,待扫描对象置于电子设备外侧,第一光线经过待扫描对象后,反射至光学指纹模组,光学指纹模组即可接收反射的第二光线,并对接收的第二光线进行光电转换得到灰度图像。优选地,待扫描对象可置于OLED显示屏远离光学指纹模组101的外侧面,可向OLED显示屏的远离光学指纹模组101的外侧发出第一光线,经过待扫描对象后反射。不同的待扫描对象,其形状或颜色等不尽相同,反射的第二光线的能量则不尽相同,如此,得到的灰度图像不尽相同。The second light can be received by the optical fingerprint module and photoelectrically converted by the optical fingerprint module to obtain a grayscale image, so that the grayscale image obtained by photoelectrically converting the received second light by the optical fingerprint module can be obtained. Wherein, the second light is the reflected light of the first light passing through the object to be scanned and reflected to the optical fingerprint module, that is, theOLED display screen 103 emits the first light outward, the object to be scanned is placed outside the electronic device, and the first light passes through the object to be scanned. After the object is scanned, it is reflected to the optical fingerprint module, and the optical fingerprint module can receive the reflected second light, and perform photoelectric conversion on the received second light to obtain a grayscale image. Preferably, the object to be scanned can be placed on the outer side of the OLED display away from the optical fingerprint module 101, and the first light can be emitted to the outer side of the OLED display away from the optical fingerprint module 101, and reflected after passing through the object to be scanned. Different objects to be scanned have different shapes or colors, and the energy of the reflected second light is also different, thus resulting in different grayscale images.

本发明实施例提供的扫描方法,在接收到用户的扫描输入后,可控制OLED显示屏103向外发出第一光线,通过光学指纹模组对接收的第二光线进行光电转换得到灰度图像,第二光线为第一光线经过待扫描对象后反射至光学指纹模组的反射光线。由于在扫描过程中,是利用OLED显示屏103向外发出第一光线,通过光学指纹模组对接收的第一光线经过待扫描对象反射的第二光线进行光电转换得到灰度图像,实现对待扫描对象的扫描,不再通过摄像头进行扫描,可避免摄像头镜头的限制,提高扫描得到的灰度图像的准确性。而且,利用OLED显示屏103以及光学指纹模组进行扫描过程中,由于光学指纹模组近距离(接近0)的焦距以及大面积为指纹接收区的特点,可减小扫描失真,扫描精度可达到几十um,甚至um级别。而且无需额外增加成本,便捷且快速。The scanning method provided by the embodiment of the present invention can control theOLED display screen 103 to emit the first light outward after receiving the scanning input from the user, and the optical fingerprint module can photoelectrically convert the received second light to obtain a grayscale image. The second light is the reflected light that is reflected to the optical fingerprint module after the first light passes through the object to be scanned. During the scanning process, theOLED display screen 103 is used to send out the first light, and the optical fingerprint module performs photoelectric conversion on the received first light and the second light reflected by the object to be scanned to obtain a grayscale image, realizing the The scanning of the object is no longer performed by the camera, which can avoid the limitation of the camera lens and improve the accuracy of the grayscale image obtained by scanning. Moreover, during the scanning process using theOLED display 103 and the optical fingerprint module, due to the short-distance (close to 0) focal length of the optical fingerprint module and the characteristics of a large area as a fingerprint receiving area, scanning distortion can be reduced, and the scanning accuracy can reach Dozens of um, even um level. And without additional cost, convenient and fast.

在一个实施例中,基于光学指纹模组对接收的第二光线进行光电转换得到灰度图像,包括:基于光学指纹模组对接收的第二光线进行N次光电转换,得到N个灰度图像,N为正整数;对N个灰度图像进行合成得到目标灰度图像。即如图3所示,本实施例提供一种扫描方法,应用于上述电子设备,电子设备包括光学指纹模组以及OLED显示屏,光学指纹模组位于OLED显示屏下方,该方法包括:In one embodiment, performing photoelectric conversion on the received second light based on the optical fingerprint module to obtain a grayscale image includes: performing N times of photoelectric conversion on the received second light based on the optical fingerprint module to obtain N grayscale images , N is a positive integer; the target grayscale image is obtained by synthesizing N grayscale images. That is, as shown in Figure 3, this embodiment provides a scanning method, which is applied to the above-mentioned electronic equipment. The electronic equipment includes an optical fingerprint module and an OLED display. The optical fingerprint module is located below the OLED display. The method includes:

步骤301:接收用户的扫描输入;Step 301: Receive user's scanning input;

步骤302:响应于扫描输入,控制OLED显示屏向外发出第一光线。Step 302: In response to the scan input, control the OLED display to emit a first light.

优先地,可控制OLED显示屏向OLED显示屏远离光学指纹模组的一侧发出第一光线。Preferably, the OLED display screen can be controlled to emit the first light to the side of the OLED display screen away from the optical fingerprint module.

步骤303:基于光学指纹模组对接收的第二光线进行N次光电转换,得到N个灰度图像。Step 303: Perform N times of photoelectric conversion on the received second light based on the optical fingerprint module to obtain N grayscale images.

N为正整数,第二光线为第一光线经过待扫描对象后反射至光学指纹模组的反射光线。N is a positive integer, and the second light is a reflected light that is reflected to the optical fingerprint module after the first light passes through the object to be scanned.

步骤304:对N个灰度图像进行合成得到目标灰度图像。Step 304: Synthesize the N grayscale images to obtain a target grayscale image.

步骤301-302与上述步骤201-202一一对应,不再赘述。Steps 301-302 correspond to the above-mentioned steps 201-202 one by one, and will not be repeated here.

在本实施例中,在接收用户的扫描输入后,可进行N次的扫描,每一次扫描过程中,接收一次第二光线,进行一次光电转换,如此,可得到N个灰度图像。然后对N个灰度图像进行合成得到目标灰度图像。如此,即便待扫描对象体积较大,也能通过N次扫描得到N个灰度图像,并进行合成得到目标灰度图像,确保目标灰度图像的完整,使扫描得到的目标灰度图像能准确体现待扫描对象。In this embodiment, after receiving the scanning input from the user, N times of scanning can be performed. During each scanning process, the second light is received once, and photoelectric conversion is performed once. In this way, N grayscale images can be obtained. Then synthesize the N grayscale images to obtain the target grayscale image. In this way, even if the volume of the object to be scanned is large, N grayscale images can be obtained through N times of scanning, and the target grayscale image can be synthesized to ensure the integrity of the target grayscale image, so that the scanned target grayscale image can be accurately Indicates the object to be scanned.

在一个实施例中,控制OLED显示屏向外发出第一光线,包括:控制OLED显示屏向外发出N次第一光线;In one embodiment, controlling the OLED display to emit the first light outwards includes: controlling the OLED display to emit the first light N times;

基于光学指纹模组对接收的第二光线进行N次光电转换,得到N个灰度图像,包括:基于光学指纹模组对每一次接收到的第二光线进行光电转换,得到N个灰度图像。Based on the optical fingerprint module, the received second light is photoelectrically converted N times to obtain N grayscale images, including: based on the optical fingerprint module, photoelectric conversion is performed on each received second light to obtain N grayscale images .

在进行N次扫描过程中,可控制OLED显示屏向外发出N次第一光线,每扫描一次,控制发出一次第一光线,则会反射一次第二光线,即光学指纹模组会接收N次第二光线。如此,可减少OLED显示屏的发光时间,节省电能。光学指纹模组每次接收到第二光线,即可对其进行光电转换,如此,可实现对反射的N次第二光线进行光电转换,从而得到N个灰度图像。In the process of scanning N times, the OLED display can be controlled to send out the first light N times. Every time it is scanned, the first light is controlled to be emitted once, and the second light will be reflected once, that is, the optical fingerprint module will receive N times. second light. In this way, the light-emitting time of the OLED display can be reduced and power can be saved. Each time the optical fingerprint module receives the second light, it can perform photoelectric conversion on it. In this way, it can realize photoelectric conversion on N times of reflected second light, so as to obtain N grayscale images.

在一个示例中,可根据预设间隔时长或预设距离,控制OLED显示屏向外发出N次第一光线。即每两个相邻的第一光线之间的发出时间间隔时长为预设间隔时长,即电子设备每间隔预设间隔时长进行一次第一光线的发出,实现一次扫描。或者每两个相邻的第一光线对应的电子设备所在位置之间的距离为预设距离,即电子设备每移动预设距离进行一次第一光线的发出,实现一次扫描,以满足对多次扫描的需求。In an example, the OLED display screen may be controlled to emit the first light N times outward according to a preset interval or a preset distance. That is, the emission time interval between every two adjacent first light rays is the preset interval length, that is, the electronic device emits the first light rays once every preset interval length to realize one scan. Or the distance between the positions of the electronic devices corresponding to every two adjacent first light rays is a preset distance, that is, the electronic device sends out the first light rays once every time the electronic device moves a preset distance, so as to realize one scan to satisfy multiple scanning needs.

在一个实施例中,基于光学指纹模组对接收的第二光线进行光电转换得到灰度图像,还包括:在完成一次光电转换之后,输出提示信息。In one embodiment, the photoelectric conversion of the received second light based on the optical fingerprint module to obtain the grayscale image further includes: outputting prompt information after one photoelectric conversion is completed.

每完成一次光电转换可得到一个灰度图像,则表示完成一次扫描,则在完成次光电转换之后,可输出提示信息,以提示完成一次扫描,以便用户查看以及了解扫描情况。例如,提示信息可以是语音提示信息或/和文字提示信息等。A grayscale image can be obtained every time a photoelectric conversion is completed, which means that a scan is completed, and after the photoelectric conversion is completed, a prompt message can be output to prompt the completion of a scan, so that the user can view and understand the scanning situation. For example, the prompt information may be voice prompt information or/and text prompt information.

在一个实施例中,对N个灰度图像进行合成得到目标灰度图像,包括:In one embodiment, the target grayscale image is obtained by synthesizing N grayscale images, including:

在N个灰度图像不同的情况下,基于N个灰度图像对应的位置信息,对N个灰度图像进行拼接得到目标灰度图像;In the case where the N grayscale images are different, based on the position information corresponding to the N grayscale images, the N grayscale images are spliced to obtain a target grayscale image;

在N个灰度图像相同的情况下,对N个灰度图像进行图像融合处理,得到目标灰度图像。In the case that the N grayscale images are the same, image fusion processing is performed on the N grayscale images to obtain the target grayscale image.

在N个灰度图像不同的情况下,表示在扫描过程中电子设备有移动,对待扫描对象的不同区域进行了扫描,如此,可基于N个灰度图像对应的位置信息,对N个灰度图像进行拼接得到目标灰度图像。其中,位置信息可以理解为在得到灰度图像时电子设备所在的位置。通过N个灰度图像对应的位置信息,对N个灰度图像进行拼接得到目标灰度图像,可确保拼接的准确性,从而提高目标灰度图像的准确性。在一个示例中,可通过传感器记录电子设备的位置,例如,重力传感器等。In the case where the N grayscale images are different, it means that the electronic device has moved during the scanning process, and different areas of the object to be scanned have been scanned. In this way, based on the position information corresponding to the N grayscale images, the N grayscale The images are spliced to obtain the target grayscale image. Wherein, the location information can be understood as the location of the electronic device when the grayscale image is obtained. According to the position information corresponding to the N gray-scale images, the N gray-scale images are spliced to obtain the target gray-scale image, which can ensure the accuracy of splicing, thereby improving the accuracy of the target gray-scale image. In one example, the location of the electronic device may be recorded by a sensor, such as a gravity sensor or the like.

另外,在N个灰度图像相同的情况下,表示N个灰度图像为电子设备在同一位置进行光电转换得到的灰度图像或特征信息相同,则对N个灰度图像进行图像融合处理,得到目标灰度图像。In addition, in the case that the N grayscale images are the same, it means that the N grayscale images are grayscale images obtained by photoelectric conversion at the same position of the electronic device or the feature information is the same, then image fusion processing is performed on the N grayscale images, Get the target grayscale image.

在一个示例中,可基于N个灰度图像对应的位置信息或N个灰度图像的特征信息,检测N个灰度图像是否相同,若N个灰度图像对应的位置信息相同,则表示电子设备在同一个位置进行了多次光电转换,得到的N个灰度图像相同。若N个灰度图像的特征信息相同,则表示N个灰度图像相同。通过该方式能准确检测N个灰度图像是否相同,以提高得到的目标图像的精确性。In an example, based on the position information corresponding to the N gray-scale images or the feature information of the N gray-scale images, it can be detected whether the N gray-scale images are the same. If the position information corresponding to the N gray-scale images is the same, it means that the electronic The device performs multiple photoelectric conversions at the same position, and the obtained N grayscale images are the same. If the feature information of the N grayscale images is the same, it means that the N grayscale images are the same. In this manner, it can be accurately detected whether the N grayscale images are the same, so as to improve the accuracy of the obtained target image.

下面以一个具体实施例对的上述扫描方法加以具体说明。The above-mentioned scanning method will be described in detail below with a specific embodiment.

如图1所示,以待扫描对象104为表面不平整(例如,存在脊和谷)的物体为例,通过感应待扫描对象104的突出部分(脊)和凹陷部分(谷)反射光源能量的差异,从而形成不同灰度的图像,实现平整度检查,微裂缝探伤,脉络拓印,碑文无纸拓印功能。首先进入光电指纹脊谷模式,将电子设备靠近待扫描对象,将待扫描对象104紧贴电子设备的OLED显示屏103远离光学指纹模组101的一侧。通过按侧键或其他方式,开启扫描,控制OLED显示屏103中的OLED发光二极管102点亮,向外发出第一光线,即实现OLED显示屏103向外发出第一光线。第一光线到待扫描对象的表面,第一光线产生反射。反射的第二光线达到光学指纹模组101。不同的脊和谷,反射回来的第二光线的能量有差异,进行光电转换,即可生成灰度图像。后续可输出第二提示信息,以提示用户扫描完成。后续可将得到的灰度图像传递给电子设备中后端进行分析处理,例如,进行平整度分析、微裂缝分析、植物脉络拓印、碑文拓印等。在一个示例中,电子设备还包括玻璃盖板105,置于OLED显示屏103的一侧,待扫描对象104可置于玻璃盖板105远离OLED显示屏103的一侧。通过玻璃盖105可对OLED显示屏起到保护作用。可将电子设备靠近待扫描对象104,使待扫描对象104可紧贴电子设备的玻璃盖板105远离OLED显示屏103的一侧。通过用户的扫描输入,开启扫描。As shown in FIG. 1 , taking theobject 104 to be scanned as an object with an uneven surface (for example, there are ridges and valleys) as an example, by sensing the protruding parts (ridges) and concave parts (valleys) of the object to be scanned 104 to reflect the energy of the light source Differences, thereby forming images of different gray levels, realizing the functions of flatness inspection, micro-crack flaw detection, vein rubbing, and inscription rubbing. First enter the photoelectric fingerprint ridge-valley mode, put the electronic device close to the object to be scanned, and put theobject 104 to be scanned against the side of theOLED display 103 of the electronic device away from the optical fingerprint module 101 . By pressing the side key or other methods, the scanning is started, and the OLED light-emittingdiode 102 in theOLED display 103 is controlled to light up to emit the first light, that is, theOLED display 103 emits the first light. The first light rays hit the surface of the object to be scanned, and the first light rays are reflected. The reflected second light reaches the optical fingerprint module 101 . For different ridges and valleys, the energy of the reflected second light is different, and the grayscale image can be generated by photoelectric conversion. Subsequently, a second prompt message may be output to prompt the user that the scanning is completed. Subsequently, the obtained grayscale image can be transmitted to the backend of the electronic device for analysis and processing, for example, for flatness analysis, micro-crack analysis, plant vein rubbing, inscription rubbing, etc. In one example, the electronic device further includes aglass cover 105 placed on one side of theOLED display 103 , and theobject 104 to be scanned can be placed on a side of theglass cover 105 away from theOLED display 103 . The OLED display screen can be protected by theglass cover 105 . The electronic device can be placed close to the object to be scanned 104 so that the object to be scanned 104 can cling to the side of theglass cover 105 of the electronic device away from theOLED display screen 103 . Scanning is started by the user's scan input.

若待扫描对象104体积较大,可对其进行N次第一光线的发出,进行N次光电转换,得到N个灰度图像,在对N个灰度图像进行合成得到目标灰度图像。具体地,首先,进入光电指纹脊谷模式。通过按侧键或其他方式,开启扫描。If the volume of theobject 104 to be scanned is large, N times of first light emission and N times of photoelectric conversion can be performed on it to obtain N grayscale images, and then the N grayscale images are synthesized to obtain a target grayscale image. Specifically, first, enter the photoelectric fingerprint ridge-valley mode. Start scanning by pressing the side button or other methods.

扫描一次(即光电转换一次),产生一个灰度图像,并通过传感器记录该灰度图像的位置信息。产生扫描提示音即提示信息,以提示用户完成一次扫描。扫描第N次,产生第N个灰度图像,记录位置信息,如此,可得到N个灰度图像。按侧键或其他方式触发,结束扫描。根据位置信息或图像特征分析N个灰度图像是否相同,若分析为相同的图像,则将N个灰度图像直接融合,可产生清晰度高的目标灰度图像。可将得到的清晰度高的目标灰度图像传递给给后端进行平整度分析、微裂缝分析、植物脉络拓印、碑文拓印等。Scanning once (that is, photoelectric conversion once), a grayscale image is generated, and the position information of the grayscale image is recorded by the sensor. Generate a scanning prompt tone, that is, a prompt message, to prompt the user to complete a scan. The Nth grayscale image is generated by scanning for the Nth time, and the position information is recorded. In this way, N grayscale images can be obtained. Press the side button or other triggers to end the scan. According to the location information or image features, analyze whether the N grayscale images are the same. If the analysis is the same image, then directly fuse the N grayscale images to generate a high-definition target grayscale image. The obtained high-definition target grayscale image can be passed to the back-end for flatness analysis, micro-crack analysis, plant vein rubbing, inscription rubbing, etc.

若分析为不相同的图像,则可根据位置信息和相邻图片重叠部分信息,进行拼接,生成完整的目标灰度图像。完整的目标灰度图像给后端进行平整度分析、微裂缝分析、植物脉络拓印、碑文拓印等。If it is analyzed as different images, it can be spliced according to the position information and the overlapping information of adjacent pictures to generate a complete target grayscale image. The complete target grayscale image is used for back-end flatness analysis, micro-crack analysis, plant vein rubbing, inscription rubbing, etc.

以待扫描对象104为表面平整(例如,文档)的物体为例,如图4所示,深色(如黑色)区域会吸收较多的能量,反射的能量会减少较多,浅色(如白色)区域吸收能量非常少,反射的能量多。通过感应待扫描对象的颜色反射的光线的能量的差异(即不同的颜色吸收能量有差异,反射回来的能量有差异,光电转换,产生灰度原始图像),从而形成不同的灰度的图像。实现文档扫描、识别二维码以及识别条形码等功能。Taking theobject 104 to be scanned as an object with a flat surface (for example, a document) as an example, as shown in FIG. White) areas absorb very little energy and reflect more energy. By sensing the difference in the energy of light reflected by the color of the object to be scanned (that is, different colors absorb energy differently and reflect back energy differently, photoelectric conversion produces a grayscale original image), thereby forming different grayscale images. Realize functions such as document scanning, QR code recognition and barcode recognition.

本发明实施例提供的扫描方法中,利用电子设备的光学指纹模组101和OLED显示屏103实现扫描,不用额外增加成本,便捷且快速、减少失真,极大提高用户满意度和实用性。可以用于文档扫描、识别二维码、识别条形码、陶瓷、玻璃平整度检查,微裂缝探伤,植物脉络拓印,碑文无纸拓印等功能。In the scanning method provided by the embodiment of the present invention, the optical fingerprint module 101 and theOLED display 103 of the electronic device are used to realize the scanning without additional cost, which is convenient and fast, reduces distortion, and greatly improves user satisfaction and practicability. It can be used for scanning documents, identifying QR codes, identifying barcodes, inspecting the flatness of ceramics and glass, detecting micro-cracks, rubbing plant veins, and paperless rubbing of inscriptions.

参照图5,在一个实施例中,提供了一种电子设备500,电子设备500包括光学指纹模组以及OLED显示屏,光学指纹模组位于所述OLED显示屏下方;Referring to FIG. 5 , in one embodiment, anelectronic device 500 is provided, theelectronic device 500 includes an optical fingerprint module and an OLED display, and the optical fingerprint module is located below the OLED display;

电子设备500还包括:Electronic device 500 also includes:

扫描输入接收模块501,用于接收用户的扫描输入;Scaninput receiving module 501, configured to receive user scan input;

发光控制模块502,用于控制OLED显示屏向外发出第一光线;A light emittingcontrol module 502, configured to control the OLED display to emit the first light outward;

灰度图像获取模块503,用于基于光学指纹模组对接收的第二光线进行光电转换得到灰度图像,其中,第二光线为第一光线经过待扫描对象后反射至光学指纹模组的反射光线。A grayscaleimage acquisition module 503, configured to photoelectrically convert the received second light based on the optical fingerprint module to obtain a grayscale image, wherein the second light is the reflection of the first light to the optical fingerprint module after passing through the object to be scanned light.

在一个实施例中,灰度图像获取模块,包括:In one embodiment, the grayscale image acquisition module includes:

光电转换模块,用于基于光学指纹模组对接收的第二光线进行N次光电转换,得到N个灰度图像,N为正整数;The photoelectric conversion module is used to perform N times of photoelectric conversion on the received second light based on the optical fingerprint module to obtain N grayscale images, where N is a positive integer;

合成模块,用于对N个灰度图像进行合成得到目标灰度图像。The synthesis module is used for synthesizing N gray-scale images to obtain a target gray-scale image.

在一个实施例中,发光控制模块,用于控制OLED显示屏向外发出N次第一光线;In one embodiment, the light emitting control module is used to control the OLED display to emit N first light outwards;

光电转换模块,用于基于光学指纹模组对每一次接收到的第二光线进行光电转换,得到N个灰度图像。The photoelectric conversion module is used to photoelectrically convert the second light received each time based on the optical fingerprint module to obtain N grayscale images.

在一个实施例中,灰度图像获取模块,还包括:In one embodiment, the grayscale image acquisition module further includes:

提示模块,用于在完成一次光电转换之后,输出提示信息。The prompt module is configured to output prompt information after a photoelectric conversion is completed.

在一个实施例中,合成模块,包括:In one embodiment, the synthesis module includes:

拼接模块,用于在N个灰度图像不同的情况下,基于N个灰度图像对应的位置信息,对N个灰度图像进行拼接得到目标灰度图像;A splicing module, used for splicing the N grayscale images to obtain a target grayscale image based on the position information corresponding to the N grayscale images when the N grayscale images are different;

融合模块,用于在N个灰度图像相同的情况下,对N个灰度图像进行图像融合处理,得到目标灰度图像。The fusion module is configured to perform image fusion processing on the N grayscale images to obtain a target grayscale image under the condition that the N grayscale images are the same.

本发明实施例提供的扫描方法中的技术特征与本发明实施例提供的电子设备的技术特征对应,通过电子设备实现上述各实施的扫描方法的各个过程,并能得到相同的效果,为避免重复,在此不再赘述。The technical features of the scanning method provided by the embodiment of the present invention correspond to the technical features of the electronic device provided by the embodiment of the present invention. The electronic device realizes the various processes of the above-mentioned scanning methods and can obtain the same effect. In order to avoid duplication , which will not be repeated here.

图6为实现本发明各个实施例的一种电子设备600的硬件结构示意图,该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。6 is a schematic diagram of the hardware structure of anelectronic device 600 implementing various embodiments of the present invention, theelectronic device 600 includes but not limited to: aradio frequency unit 601, anetwork module 602, anaudio output unit 603, aninput unit 604, asensor 605, adisplay Unit 606,user input unit 607,interface unit 608,memory 609,processor 610,power supply 611 and other components. Those skilled in the art can understand that the structure of the electronic device shown in Figure 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than shown in the illustration, or combine certain components, or different components layout. In the embodiment of the present invention, electronic devices include but are not limited to mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.

其中,所述电子设备还包括光学指纹模组以及OLED显示屏,光学指纹模组位于OLED显示屏下方。用户输入单元607,用于接收用户的扫描输入,处理器610,用于响应于扫描输入,控制OLED显示屏向外发出第一光线;基于光学指纹模组对接收的第二光线进行光电转换得到灰度图像,其中,第二光线为第一光线经过待扫描对象后反射至光学指纹模组的反射光线。Wherein, the electronic device further includes an optical fingerprint module and an OLED display, and the optical fingerprint module is located below the OLED display. Theuser input unit 607 is configured to receive the user's scanning input, and theprocessor 610 is configured to control the OLED display to emit the first light outward in response to the scanning input; based on the optical fingerprint module, the received second light is photoelectrically converted to obtain A grayscale image, wherein the second light is the reflected light that is reflected to the optical fingerprint module after the first light passes through the object to be scanned.

应理解的是,本发明实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, theradio frequency unit 601 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by theprocessor 610; in addition, the Uplink data is sent to the base station. Generally, theradio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.

电子设备通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through thenetwork module 602, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与电子设备600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。Theaudio output unit 603 may convert audio data received by theradio frequency unit 601 or thenetwork module 602 or stored in thememory 609 into an audio signal and output as sound. Also, theaudio output unit 603 may also provide audio output related to a specific function performed by the electronic device 600 (eg, call signal reception sound, message reception sound, etc.). Theaudio output unit 603 includes a speaker, a buzzer, a receiver, and the like.

输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获电子设备(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。Theinput unit 604 is used for receiving audio or video signals. Theinput unit 604 may include a graphics processing unit (Graphics Processing Unit, GPU) 6041 and amicrophone 6042, and thegraphics processor 6041 controls still pictures or videos obtained by an image capturing electronic device (such as a camera) in a video capture mode or an image capture mode. Image data is processed. The processed image frames may be displayed on thedisplay unit 606 . The image frames processed by thegraphics processor 6041 may be stored in the memory 609 (or other storage media) or sent via theradio frequency unit 601 or thenetwork module 602 . Themicrophone 6042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via theradio frequency unit 601 for output in the case of a phone call mode.

电子设备600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在电子设备600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。Theelectronic device 600 also includes at least onesensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of thedisplay panel 6061 according to the brightness of the ambient light, and the proximity sensor can turn off thedisplay panel 6061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of electronic equipment (such as horizontal and vertical screen switching, related games) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; thesensor 605 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。Thedisplay unit 606 is used to display information input by the user or information provided to the user. Thedisplay unit 606 may include adisplay panel 6061, and thedisplay panel 6061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元607可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测电子设备和触摸控制器两个部分。其中,触摸检测电子设备检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测电子设备上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。Theuser input unit 607 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, theuser input unit 607 includes atouch panel 6071 andother input devices 6072 . Thetouch panel 6071, also referred to as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on thetouch panel 6071 or near the touch panel 6071). operate). Thetouch panel 6071 may include two parts, a touch detection electronic device and a touch controller. Among them, the touch detection electronic device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection electronic device, and converts it into contact coordinates , and send it to theprocessor 610, and receive and execute the command sent by theprocessor 610. In addition, thetouch panel 6071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to thetouch panel 6071 , theuser input unit 607 may also includeother input devices 6072 . Specifically,other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图4中,触控面板6071与显示面板6061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现电子设备的输入和输出功能,具体此处不做限定。Furthermore, thetouch panel 6071 can be covered on thedisplay panel 6061, and when thetouch panel 6071 detects a touch operation on or near it, it will be sent to theprocessor 610 to determine the type of the touch event, and then theprocessor 610 can The type of event provides a corresponding visual output on thedisplay panel 6061. Although in FIG. 4, thetouch panel 6071 and thedisplay panel 6061 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, thetouch panel 6071 and thedisplay panel 6061 can be integrated. The implementation of the input and output functions of the electronic device is not specifically limited here.

接口单元608为外部电子设备与电子设备600连接的接口。例如,外部电子设备可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的电子设备的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部电子设备的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备600内的一个或多个元件或者可以用于在电子设备600和外部电子设备之间传输数据。Theinterface unit 608 is an interface for connecting an external electronic device to theelectronic device 600 . For example, an external electronic device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting an electronic device with an identification module, an audio input /Output (I/O) ports, video I/O ports, headphone ports, and more. Theinterface unit 608 can be used to receive input from an external electronic device (for example, data information, power, etc.) Transfer data between external electronic devices.

存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Thememory 609 can be used to store software programs as well as various data. Thememory 609 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, thememory 609 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器610是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。Theprocessor 610 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in thememory 609, and calling data stored in thememory 609 , to perform various functions of the electronic equipment and process data, so as to monitor the electronic equipment as a whole. Theprocessor 610 may include one or more processing units; preferably, theprocessor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into theprocessor 610 .

电子设备600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。Theelectronic device 600 can also include a power supply 611 (such as a battery) for supplying power to various components. Preferably, thepower supply 611 can be logically connected to theprocessor 610 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,电子设备600包括一些未示出的功能模块,在此不再赘述。In addition, theelectronic device 600 includes some functional modules not shown, which will not be repeated here.

本发明实施例还提供一种电子设备,包括处理器610和存储器609,存储器609存储有可在处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述扫描方法实施例中的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present invention also provides an electronic device, including aprocessor 610 and amemory 609. Thememory 609 stores a computer program that can run on theprocessor 610. When the computer program is executed by theprocessor 610, the scanning method in the above embodiment is implemented Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述扫描方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned scanning method embodiment is realized, and the same technical effect can be achieved. , to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method of each embodiment of the present invention.

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (10)

CN201911018247.5A2019-10-242019-10-24Scanning method and electronic equipmentActiveCN110751113B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911018247.5ACN110751113B (en)2019-10-242019-10-24Scanning method and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911018247.5ACN110751113B (en)2019-10-242019-10-24Scanning method and electronic equipment

Publications (2)

Publication NumberPublication Date
CN110751113A CN110751113A (en)2020-02-04
CN110751113Btrue CN110751113B (en)2023-01-13

Family

ID=69279759

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911018247.5AActiveCN110751113B (en)2019-10-242019-10-24Scanning method and electronic equipment

Country Status (1)

CountryLink
CN (1)CN110751113B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1364279A (en)*2000-03-082002-08-14精工电子有限公司Image reader
CN101262513A (en)*2008-04-242008-09-10陶建新Miniature scanner shooting mobile phone
CN105355171A (en)*2015-12-152016-02-24惠州Tcl移动通信有限公司Driving scanning circuit, display screen and mobile terminal
CN107004130A (en)*2015-06-182017-08-01深圳市汇顶科技股份有限公司 Under-screen optical sensor module for on-screen fingerprint sensing
CN108257553A (en)*2012-02-232018-07-06安华高科技通用Ip(新加坡)公司AMOLED light sensings
CN109559365A (en)*2018-11-302019-04-02努比亚技术有限公司File scanning method, device, mobile terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9626023B2 (en)*2010-07-092017-04-18Lester F. LudwigLED/OLED array approach to integrated display, lensless-camera, and touch-screen user interface devices and associated processors

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1364279A (en)*2000-03-082002-08-14精工电子有限公司Image reader
CN101262513A (en)*2008-04-242008-09-10陶建新Miniature scanner shooting mobile phone
CN108257553A (en)*2012-02-232018-07-06安华高科技通用Ip(新加坡)公司AMOLED light sensings
CN107004130A (en)*2015-06-182017-08-01深圳市汇顶科技股份有限公司 Under-screen optical sensor module for on-screen fingerprint sensing
CN105355171A (en)*2015-12-152016-02-24惠州Tcl移动通信有限公司Driving scanning circuit, display screen and mobile terminal
CN109559365A (en)*2018-11-302019-04-02努比亚技术有限公司File scanning method, device, mobile terminal and storage medium

Also Published As

Publication numberPublication date
CN110751113A (en)2020-02-04

Similar Documents

PublicationPublication DateTitle
CN110443330B (en)Code scanning method and device, mobile terminal and storage medium
CN110636174B (en)Bus code calling method and mobile terminal
CN110674662B (en)Scanning method and terminal equipment
CN109934137A (en) A kind of photoelectric fingerprint identification device, terminal and fingerprint identification method
US12387482B2 (en)Object recognition method and mobile terminal
CN110110571B (en)Code scanning method and mobile terminal
CN108764001A (en)A kind of information processing method and mobile terminal
CN107463897B (en)Fingerprint identification method and mobile terminal
CN108960179A (en)A kind of image processing method and mobile terminal
CN107977652A (en)The extracting method and mobile terminal of a kind of screen display content
CN108628568A (en) An information display method, device and terminal equipment
CN107895352A (en)A kind of image processing method and mobile terminal
CN107704182A (en)A kind of barcode scanning method and mobile terminal
CN110210271A (en)A kind of information processing method and terminal device
CN108763998A (en) Barcode recognition method and terminal equipment
CN110519503B (en)Method for acquiring scanned image and mobile terminal
CN108196663B (en)Face recognition method and mobile terminal
CN108510266A (en)A kind of Digital Object Unique Identifier recognition methods and mobile terminal
CN109033913A (en) An identification code identification method and mobile terminal
CN108121642A (en)A kind of failure solves method, server and mobile terminal
CN111007980A (en)Information input method and terminal equipment
CN108259740A (en)A kind of method, apparatus and mobile terminal of panoramic picture generation
CN110751113B (en)Scanning method and electronic equipment
CN109521981B (en)Graphic code display method and terminal
CN110517035B (en) Information display method and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp