CN110751113A - Scanning method and electronic equipment - Google Patents

Scanning method and electronic equipment Download PDF

Info

Publication number
CN110751113A
CN110751113A CN201911018247.5A CN201911018247A CN110751113A CN 110751113 A CN110751113 A CN 110751113A CN 201911018247 A CN201911018247 A CN 201911018247A CN 110751113 A CN110751113 A CN 110751113A
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.)
Granted
Application number
CN201911018247.5A
Other languages
Chinese (zh)
Other versions
CN110751113B (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 Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911018247.5A priority Critical patent/CN110751113B/en
Publication of CN110751113A publication Critical patent/CN110751113A/en
Application granted granted Critical
Publication of CN110751113B publication Critical patent/CN110751113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1318Sensors therefor using electro-optical elements or layers, e.g. electroluminescent sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1324Sensors therefor by using geometrical optics, e.g. using prisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1347Preprocessing; Feature extraction
    • G06V40/1359Extracting features related to ridge properties; Determining the fingerprint type, e.g. whorl or loop

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

Scanning method and electronic equipment
Technical Field
The present invention relates to the field of scanning technologies, and in particular, to a scanning method and an electronic device.
Background
With continuous progress and continuous innovation of intelligent technology, the functions of electronic equipment are more and more powerful, and people have more and more requirements on the functions of the electronic equipment. Such as a scanning function of the electronic device.
Currently, the scanning of the target object can be realized by a scanner, but is not convenient to carry. If the target object is shot by the camera of the electronic equipment to obtain the image corresponding to the target object, the target object can be understood and scanned. 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 easy to be distorted, so that the accuracy of the obtained image is low.
Disclosure of Invention
The embodiment of the invention provides a scanning method and electronic equipment, and aims to solve the problem that in the prior art, the accuracy of an image scanned by the electronic equipment is low.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a scanning method, which is applied to an electronic device, where the electronic device includes an optical fingerprint module and an OLED display screen, and the optical fingerprint module is located 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;
and performing photoelectric conversion on the received second light based on the optical fingerprint module to obtain a gray image, wherein the second light is reflected light of the optical fingerprint module after the first light passes through the object to be scanned.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes an optical fingerprint module and an OLED display screen, and the optical fingerprint module is located below the OLED display screen;
the electronic device further includes:
the scanning input receiving module is used for receiving the scanning input of a user;
the light emitting control module is used for controlling the OLED display screen to emit first light outwards;
and the gray level image acquisition module is used for carrying out photoelectric conversion on the received second light based on the optical fingerprint module to obtain a gray level image, wherein the second light is reflected light of the optical fingerprint module after the first light passes through the object to be scanned.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: the scanning device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps in the scanning method provided by the embodiment of the invention when executing the computer program.
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 computer program implements the steps in the scanning method provided in the embodiment of the present invention.
According to the scanning method provided by the embodiment of the invention, after the scanning input of a user is received, the OLED display screen can be controlled to emit the first light, the received second light is subjected to photoelectric conversion through the optical fingerprint module to obtain the gray image, and the second light is the reflected light of the first light reflected to the optical fingerprint module after passing through the object to be scanned. In the scanning process, the OLED display screen is used for emitting the first light outwards, the received first light is subjected to photoelectric conversion through the second light reflected by the object to be scanned through the optical fingerprint module to obtain the gray image, so that the object to be scanned is scanned, the camera is not used for scanning any more, the limitation of the camera lens can be avoided, and the accuracy of the gray image obtained by scanning is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 2 is a flowchart of a scanning method according to an embodiment of the present invention;
FIG. 3 is a second flowchart of a scanning method according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 5 is a schematic diagram of an electronic device provided in an embodiment of the present invention.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the electronic device includes an optical fingerprint module 101 and an OLED (Organic Light-Emitting Diode) display screen 103, where the optical fingerprint module 101 is located below the OLED display screen 103, and it can be understood that the lower side of the OLED display screen 103 is the inner side of the electronic device, that is, the optical fingerprint module 101 is located in the electronic device.
As shown in fig. 2, the scanning method provided in this embodiment includes:
step 201: a scan input of a user is received.
The electronic device can be close to the object 104 to be scanned, so that the object 104 to be scanned can be tightly attached to the OLED display screen 103 of the electronic device and be far away from the outer side surface of the optical fingerprint module 101. The scan is initiated by a scan input by the user (e.g., a click input to a scan button, etc.).
Step 202: and responding to the scanning input, and controlling the OLED display screen to emit a first light outwards.
After the OLED display screen 103 emits light, the emitted first light can be transmitted to the outside of the electronic device, and the OLED display screen emits the first light outwards. Preferably, the first light ray may be emitted to a side of the OLED display screen 103 away from the optical fingerprint module 101 (i.e., an outer side of the OLED display screen 103, an outer side of the electronic device). After receiving the scan input of the user, the OLED display screen 103 may be controlled to emit a first light in response to the scan input. In an example, the OLED display screen 103 includes the OLED light emitting diode 102, and the OLED light emitting diode 102 of the OLED display screen 103 can be controlled to emit the first light, that is, the OLED light emitting diode 102 in the OLED display screen 103 can be turned on to emit light, so that the OLED display screen 103 emits the first light outwards.
Step 203: and carrying out photoelectric conversion on the received second light based on the optical fingerprint module to obtain a gray image.
Can receive the second light through optics fingerprint module to carry out photoelectric conversion through optics fingerprint module to it and obtain grey level image, thereby can acquire and carry out the grey level image that photoelectric conversion obtained based on the second light of optics fingerprint module to receiving. The second light is the reflected light of first light reflection to optics fingerprint module behind the object of waiting to scan, and OLED display screen 103 sends first light outward promptly, waits that the scanning object arranges the electronic equipment outside in, and first light is through waiting to scan the object after, reflects to optics fingerprint module, and optics fingerprint module can receive the second light of reflection to carry out photoelectric conversion to the second light of receiving and obtain grey level image. Preferably, treat that the scanning object can arrange in the lateral surface that the OLED display screen kept away from optical fingerprint module 101, can send first light to the outside of keeping away from optical fingerprint module 101 of OLED display screen, through treating the back reflection of scanning object. The shapes or colors of different objects to be scanned are different, the energy of the reflected second light is different, and thus, the obtained gray level images are different.
According to the scanning method provided by the embodiment of the invention, after the scanning input of a user is received, the OLED display screen 103 can be controlled to emit the first light outwards, the received second light is subjected to photoelectric conversion through the optical fingerprint module to obtain the gray image, and the second light is the reflected light of the first light reflected to the optical fingerprint module after passing through the object to be scanned. In the scanning process, the OLED display screen 103 is used for emitting the first light outwards, the received first light is subjected to photoelectric conversion through the second light reflected by the object to be scanned through the optical fingerprint module to obtain the gray image, so that the object to be scanned is scanned, the camera is not used for scanning any more, the limitation of the camera lens can be avoided, and the accuracy of the gray image obtained by scanning is improved. Moreover, utilize OLED display screen 103 and optics fingerprint module to scan the in-process, because optics fingerprint module closely (be close to 0) focus and the characteristics that the large tracts of land is the fingerprint receiving area, can reduce scanning distortion, scanning precision can reach tens um, even um level. And the cost is not required to be additionally increased, and the method is convenient and quick.
In one embodiment, the photoelectrically converting the received second light based on the optical fingerprint module to obtain a gray image includes: performing photoelectric conversion on the received second light rays for N times based on the optical fingerprint module to obtain N gray level images, wherein N is a positive integer; and synthesizing the N gray level images to obtain a target gray level image. As shown in fig. 3, the present embodiment provides a scanning method applied to the electronic device, where the electronic device includes an optical fingerprint module and an OLED display screen, the optical fingerprint module is located below the OLED display screen, and the method includes:
step 301: receiving a scan input of a user;
step 302: and responding to the scanning input, and controlling the OLED display screen to emit a first light outwards.
Preferentially, the OLED display screen can be controlled to emit first light to one side of the OLED display screen, which is far away from the optical fingerprint module.
Step 303: and carrying out N-time photoelectric conversion on the received second light based on the optical fingerprint module to obtain N gray level images.
N is a positive integer, and the second light is the reflected light of first light reflection to optical fingerprint module behind the object of waiting to scan.
Step 304: and synthesizing the N gray level images to obtain a target gray level image.
The steps 301 and 302 correspond to the steps 201 and 202 one by one, and are not described again.
In this embodiment, after receiving the scan input of the user, N times of scanning may be performed, and in each scanning process, the second light is received once to perform one time of photoelectric conversion, so that N grayscale images may be obtained. And then synthesizing the N gray level images to obtain a target gray level image. Therefore, even if the object to be scanned is large in size, N gray level images can be obtained through N times of scanning and are synthesized to obtain the target gray level image, the integrity of the target gray level image is ensured, and the scanned target gray level image can accurately represent the object to be scanned.
In one embodiment, controlling the OLED display to emit the first light outwards includes: controlling the OLED display screen to emit first light for N times;
carry out N photoelectric conversion to the second light of receiving based on optics fingerprint module, obtain N grey level images, include: and carrying out photoelectric conversion on the second light received each time based on the optical fingerprint module to obtain N gray level images.
During the N times of scanning, the OLED display screen can be controlled to emit N times of first light rays outwards, and the first light rays are controlled to emit one time each time the OLED display screen is scanned, so that the first light rays can be reflected one time, namely the optical fingerprint module can receive the N times of second light rays. Therefore, the light-emitting time of the OLED display screen can be reduced, and the electric energy is saved. The second light is received at every turn to the optics fingerprint module, can carry out photoelectric conversion to it, so, can realize carrying out photoelectric conversion to the N second light of reflection to obtain N grey level image.
In one example, the OLED display screen may be controlled to emit the first light for N times according to a preset interval duration or a preset distance. That is, the interval duration of the emission time between every two adjacent first light beams is the preset interval duration, that is, the electronic device emits the first light beams once every interval of the preset interval duration, so as to realize one-time scanning. Or the distance between the positions of the electronic equipment corresponding to every two adjacent first light rays is a preset distance, namely the electronic equipment sends the first light rays once when moving the preset distance, so that one-time scanning is realized, and the requirement on multiple times of scanning is met.
In one embodiment, the photoelectric conversion of the received second light based on the optical fingerprint module to obtain a gray scale image further includes: after completing one photoelectric conversion, the prompt information is output.
When a gray image can be obtained by completing the photoelectric conversion once, a scan is completed, and after the photoelectric conversion is completed, prompt information can be output to prompt that the scan is completed, so that a user can check and know the scanning condition. For example, the prompt message may be a voice prompt message or/and a text prompt message, etc.
In one embodiment, synthesizing the N grayscale images to obtain the target grayscale image includes:
under the condition that the N gray level images are different, splicing the N gray level images based on the position information corresponding to the N gray level images to obtain a target gray level image;
and under the condition that the N gray level images are the same, carrying out image fusion processing on the N gray level images to obtain a target gray level image.
Under the condition that the N gray-scale images are different, the electronic equipment moves in the scanning process, different areas of an object to be scanned are scanned, and therefore the N gray-scale images can be spliced to obtain the target gray-scale image based on the position information corresponding to the N gray-scale images. Here, the position information may be understood as a position where the electronic device is located when the grayscale image is obtained. The N gray images are spliced to obtain the target gray image through the position information corresponding to the N gray images, and the splicing accuracy can be ensured, so that the accuracy of the target gray image is improved. In one example, the location of the electronic device may be recorded by a sensor, such as a gravity sensor or the like.
When the N grayscale images are identical, indicating that the N grayscale images are the same grayscale images or the same feature information obtained by photoelectric conversion of the electronic device at the same position, the N grayscale images are subjected to image fusion processing to obtain the target grayscale image.
In one example, whether the N grayscale images are the same or not may be detected based on the position information corresponding to the N grayscale images or the feature information of the N grayscale images, and if the position information corresponding to the N grayscale images is the same, it indicates that the electronic device has performed 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 indicates that the N grayscale images are the same. By the method, whether the N gray level images are the same or not can be accurately detected, so that the accuracy of the obtained target image is improved.
The above scanning method is described in detail with reference to an embodiment.
As shown in fig. 1, taking the object 104 to be scanned as an object with an uneven surface (for example, with ridges and valleys), images with different gray levels are formed by sensing the difference of the reflected light source energy of the protruding portions (ridges) and the recessed portions (valleys) of the object 104 to be scanned, and the functions of flatness inspection, micro crack detection, vein rubbing and inscription paperless rubbing are realized. Firstly, entering a photoelectric fingerprint ridge-valley mode, approaching the electronic equipment to an object to be scanned, and tightly attaching the object 104 to be scanned to one side of the OLED display screen 103 of the electronic equipment, which is far away from the optical fingerprint module 101. By pressing a side key or in other modes, scanning is started, the OLED light emitting diode 102 in the OLED display screen 103 is controlled to be lightened, and a first light ray is emitted outwards, namely the OLED display screen 103 emits the first light ray outwards. The first light ray reaches the surface of the object to be scanned, and the first light ray is reflected. The reflected second light reaches the optical fingerprint module 101. The energy of the second light reflected by different ridges and valleys is different, and the second light is subjected to photoelectric conversion to generate a gray image. Second prompt information can be output subsequently to prompt the user that the scanning is completed. The obtained gray level image can be transmitted to the back end of the electronic equipment for analysis processing, such as flatness analysis, micro-crack analysis, plant vein rubbing, inscription rubbing, and the like. In one example, the electronic device further includes a glass cover plate 105 disposed on a side of the OLED display screen 103, and the object 104 to be scanned may be disposed on a side of the glass cover plate 105 away from the OLED display screen 103. The OLED display screen can be protected by the glass cover 105. The electronic device can be brought close to the object 104 to be scanned, so that the object 104 to be scanned can be tightly attached to the side of the glass cover plate 105 of the electronic device, which is far away from the OLED display screen 103. The scan is initiated by a user's scan input.
If the object 104 to be scanned is large in size, N times of emission of the first light rays can be performed, N times of photoelectric conversion are performed to obtain N gray-scale images, and the N gray-scale images are synthesized to obtain a target gray-scale image. Specifically, first, the photoelectric fingerprint ridge-valley mode is entered. Scanning is initiated by pressing a side key or otherwise.
One scan (i.e., one photoelectric conversion) produces one gray-scale image, and position information of the gray-scale image is recorded by a sensor. And generating a scanning prompt tone, namely prompt information, so as to prompt the user to complete one scanning. Scanning for the Nth time to generate an Nth gray scale image, and recording position information, so that the N gray scale images can be obtained. Pressing a side key or other triggering means ends the scanning. And analyzing whether the N gray level images are the same according to the position information or the image characteristics, and if the N gray level images are the same, directly fusing the N gray level images to generate a target gray level image with high definition. The obtained high-definition target gray level image can be transmitted to the rear end for flatness analysis, micro-crack analysis, plant vein rubbing, inscription rubbing and the like.
If the images are analyzed to be different, splicing can be carried out according to the position information and the overlapping part information of the adjacent images to generate a complete target gray image. And carrying out flatness analysis, micro-crack analysis, plant vein rubbing, inscription rubbing and the like on the rear end of the complete target gray level image.
Taking the object 104 to be scanned as a flat-surfaced (e.g., a document) object as an example, as shown in fig. 4, dark (e.g., black) regions absorb more energy and reflect more energy, while light (e.g., white) regions absorb less energy and reflect more energy. The gray-scale original image is generated by sensing the difference of the energy of the light reflected by the color of the object to be scanned (namely, the difference of the absorbed energy of different colors and the difference of the reflected energy, and through photoelectric conversion), so that the gray-scale original image is formed. The functions of scanning the document, identifying the two-dimensional code, identifying the bar code and the like are realized.
In the scanning method provided by the embodiment of the invention, the optical fingerprint module 101 and the OLED display screen 103 of the electronic equipment are used for scanning, the cost is not additionally increased, the method is convenient, fast and rapid, the distortion is reduced, and the user satisfaction and the practicability are greatly improved. The method can be used for document scanning, two-dimensional code recognition, bar code recognition, ceramic and glass flatness inspection, micro crack flaw detection, plant vein rubbing, inscription paperless rubbing and other functions.
Referring to fig. 5, in an embodiment, an electronic device 500 is provided, where the electronic device 500 includes an optical fingerprint module and an OLED display screen, and the optical fingerprint module is located below the OLED display screen;
the electronic device 500 further includes:
a scan input receiving module 501, configured to receive a scan input of a user;
the light emitting control module 502 is configured to control the OLED display to emit a first light outwards;
the grayscale image obtaining module 503 is configured to perform photoelectric conversion on the received second light based on the optical fingerprint module to obtain a grayscale image, where 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.
In one embodiment, a grayscale image acquisition module includes:
the photoelectric conversion module is used for carrying out photoelectric conversion on the received second light rays for N times based on the optical fingerprint module to obtain N gray level images, wherein N is a positive integer;
and the synthesis module is used for synthesizing the N gray level images to obtain a target gray level image.
In one embodiment, the light emitting control module is used for controlling the OLED display screen to emit the first light outwards N times;
and the photoelectric conversion module is used for performing photoelectric conversion on the second light received each time based on the optical fingerprint module to obtain N gray level images.
In one embodiment, the grayscale image acquisition module further includes:
and the prompting module is used for outputting prompting information after completing one-time photoelectric conversion.
In one embodiment, a synthesis module comprises:
the splicing module is used for splicing the N gray level images to obtain a target gray level image based on the position information corresponding to the N gray level images under the condition that the N gray level images are different;
and the fusion module is used for carrying out image fusion processing on the N gray level images under the condition that the N gray level images are the same to obtain a target gray level image.
Technical features in the scanning method provided in the embodiment of the present invention correspond to technical features of the electronic device provided in the embodiment of the present invention, and each process of the scanning method implemented in the embodiment described above is implemented by the electronic device, and the same effect can be obtained.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device 600 for implementing various embodiments of the present invention, where the electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
Wherein, electronic equipment still includes optics fingerprint module and OLED display screen, and optics fingerprint module is located OLED display screen below. The OLED display device comprises a user input unit 607 for receiving a scanning input of a user, and a processor 610 for responding to the scanning input and controlling the OLED display screen to emit a first light outwards; and carrying out photoelectric conversion on the received second light based on the optical fingerprint module to obtain a gray image, wherein the second light is reflected light reflected to the optical fingerprint module after the first light passes through the object to be scanned.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio 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. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing electronic apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two portions, a touch detection electronics and a touch controller. The touch detection electronic equipment detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing electronics, converts it to touch point coordinates, and sends the touch point coordinates to the processor 610, receives commands from the processor 610, and executes the commands. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 4 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 608 is an interface for connecting an external electronic device to the electronic device 600. For example, the external electronic device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting an electronic device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external electronic device and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and the external electronic device.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
An embodiment of the present invention further provides an electronic device, which includes a processor 610 and a memory 609, where the memory 609 stores a computer program that can be run on the processor 610, and when the computer program is executed by the processor 610, the computer program implements each process in the foregoing scanning method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The 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 computer program implements each process of the scanning method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A scanning method is applied to electronic equipment and is characterized in that the electronic equipment comprises an optical fingerprint module and an OLED display screen, wherein 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;
and performing photoelectric conversion on the received second light based on the optical fingerprint module to obtain a gray image, wherein the second light is reflected light of the optical fingerprint module after the first light passes through the object to be scanned.
2. The method of claim 1, wherein the photoelectrically converting the received second light based on the optical fingerprint module to obtain a grayscale image comprises:
performing photoelectric conversion on the received second light rays for N times based on the optical fingerprint module to obtain N gray level images, wherein N is a positive integer;
and synthesizing the N gray level images to obtain a target gray level image.
3. The method of claim 2, wherein the controlling the OLED display to emit the first light outwards comprises:
controlling the OLED display screen to emit first light outwards for N times;
the photoelectric conversion is carried out on the received second light for N times based on the optical fingerprint module group to obtain N gray level images, and the method comprises the following steps:
and performing photoelectric conversion on the second light received each time based on the optical fingerprint module to obtain the N gray level images.
4. The method of claim 2, wherein the photoelectrically converting the received second light based on the optical fingerprint module to obtain a grayscale image further comprises:
after completing one photoelectric conversion, the prompt information is output.
5. The method of claim 2, wherein the synthesizing the N grayscale images to obtain a target grayscale image comprises:
under the condition that the N gray level images are different, splicing the N gray level images based on the position information corresponding to the N gray level images to obtain the target gray level image;
and under the condition that the N gray level images are the same, carrying out image fusion processing on the N gray level images to obtain the target gray level image.
6. The electronic equipment is characterized by comprising an optical fingerprint module and an OLED display screen, wherein the optical fingerprint module is positioned below the OLED display screen;
the electronic device further includes:
the scanning input receiving module is used for receiving the scanning input of a user;
the light emitting control module is used for controlling the OLED display screen to emit first light outwards;
and the gray level image acquisition module is used for carrying out photoelectric conversion on the received second light based on the optical fingerprint module to obtain a gray level image, wherein the second light is reflected light of the optical fingerprint module after the first light passes through the object to be scanned.
7. The electronic device of claim 6, wherein the grayscale image acquisition module comprises:
the photoelectric conversion module is used for carrying out photoelectric conversion on the received second light rays for N times based on the optical fingerprint module to obtain N gray level images, wherein N is a positive integer;
and the synthesis module is used for synthesizing the N gray level images to obtain a target gray level image.
8. The electronic device of claim 7, wherein the light-emitting control module is configured to control the OLED display to emit the first light outwards N times;
the photoelectric conversion module is used for performing photoelectric conversion on the second light received each time based on the optical fingerprint module to obtain the N gray level images.
9. The electronic device of claim 7, wherein the grayscale image acquisition module further comprises:
and the prompting module is used for outputting prompting information after completing one-time photoelectric conversion.
10. The electronic device of claim 7, wherein the compositing module comprises:
the splicing module is used for splicing the N gray level images to obtain the target gray level image based on the position information corresponding to the N gray level images under the condition that the N gray level images are different;
and the fusion module is used for carrying out image fusion processing on the N gray level images under the condition that the N gray level images are the same to obtain the target gray level image.
11. A mobile terminal, comprising: a memory storing a computer program and a processor implementing the steps in the scanning method according to any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps in the scanning method according to any one of claims 1 to 5.
CN201911018247.5A 2019-10-24 2019-10-24 Scanning method and electronic equipment Active CN110751113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911018247.5A CN110751113B (en) 2019-10-24 2019-10-24 Scanning method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911018247.5A CN110751113B (en) 2019-10-24 2019-10-24 Scanning method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110751113A true CN110751113A (en) 2020-02-04
CN110751113B CN110751113B (en) 2023-01-13

Family

ID=69279759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911018247.5A Active CN110751113B (en) 2019-10-24 2019-10-24 Scanning method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110751113B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1364279A (en) * 2000-03-08 2002-08-14 精工电子有限公司 Image reader
CN101262513A (en) * 2008-04-24 2008-09-10 陶建新 Miniature scanner shooting mobile phone
US20120006978A1 (en) * 2010-07-09 2012-01-12 Avistar Communications Corporation Led/oled array approach to integrated display, lensless-camera, and touch-screen user interface devices and associated processors
CN105355171A (en) * 2015-12-15 2016-02-24 惠州Tcl移动通信有限公司 Driving scanning circuit, display screen and mobile terminal
CN107004130A (en) * 2015-06-18 2017-08-01 深圳市汇顶科技股份有限公司 Optical sensor module under the screen that fingerprint senses on screen
CN108257553A (en) * 2012-02-23 2018-07-06 安华高科技通用Ip(新加坡)公司 AMOLED light sensings
CN109559365A (en) * 2018-11-30 2019-04-02 努比亚技术有限公司 File scanning method, device, mobile terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1364279A (en) * 2000-03-08 2002-08-14 精工电子有限公司 Image reader
CN101262513A (en) * 2008-04-24 2008-09-10 陶建新 Miniature scanner shooting mobile phone
US20120006978A1 (en) * 2010-07-09 2012-01-12 Avistar Communications Corporation Led/oled array approach to integrated display, lensless-camera, and touch-screen user interface devices and associated processors
CN108257553A (en) * 2012-02-23 2018-07-06 安华高科技通用Ip(新加坡)公司 AMOLED light sensings
CN107004130A (en) * 2015-06-18 2017-08-01 深圳市汇顶科技股份有限公司 Optical sensor module under the screen that fingerprint senses on screen
CN105355171A (en) * 2015-12-15 2016-02-24 惠州Tcl移动通信有限公司 Driving scanning circuit, display screen and mobile terminal
CN109559365A (en) * 2018-11-30 2019-04-02 努比亚技术有限公司 File scanning method, device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN110751113B (en) 2023-01-13

Similar Documents

Publication Publication Date Title
CN109151180B (en) Object identification method and mobile terminal
CN110636174B (en) Bus code calling method and mobile terminal
CN110443330B (en) Code scanning method and device, mobile terminal and storage medium
CN110109593B (en) Screen capturing method and terminal equipment
CN110113528B (en) Parameter obtaining method and terminal equipment
CN107463897B (en) Fingerprint identification method and mobile terminal
CN110300267B (en) Photographing method and terminal equipment
CN110110571B (en) Code scanning method and mobile terminal
CN108564015B (en) Fingerprint identification method and mobile terminal
CN108763998B (en) Bar code identification method and terminal equipment
CN108629579B (en) Payment method and mobile terminal
CN110602389B (en) Display method and electronic equipment
CN109257505B (en) Screen control method and mobile terminal
CN107704182B (en) Code scanning method and mobile terminal
CN109544172B (en) Display method and terminal equipment
CN109523253B (en) Payment method and device
CN110519503B (en) Method for acquiring scanned image and mobile terminal
CN111176513B (en) Control method and electronic equipment
CN109639981B (en) Image shooting method and mobile terminal
CN108196663B (en) Face recognition method and mobile terminal
EP3816768A1 (en) Object recognition method and mobile terminal
CN111007980A (en) Information input method and terminal equipment
CN110516495B (en) Code scanning method and mobile terminal
CN108156386B (en) Panoramic photographing method and mobile terminal
CN110677537B (en) Note information display method, note information sending method and electronic 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
GR01 Patent grant
GR01 Patent grant