CN110807383B - Scanning method and electronic equipment - Google Patents

Scanning method and electronic equipment Download PDF

Info

Publication number
CN110807383B
CN110807383B CN201911018463.XA CN201911018463A CN110807383B CN 110807383 B CN110807383 B CN 110807383B CN 201911018463 A CN201911018463 A CN 201911018463A CN 110807383 B CN110807383 B CN 110807383B
Authority
CN
China
Prior art keywords
display screen
input
module
light
scanning
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
CN201911018463.XA
Other languages
Chinese (zh)
Other versions
CN110807383A (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 CN201911018463.XA priority Critical patent/CN110807383B/en
Publication of CN110807383A publication Critical patent/CN110807383A/en
Application granted granted Critical
Publication of CN110807383B publication Critical patent/CN110807383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • 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

Abstract

The invention relates to the technical field of scanning, and provides a scanning method and electronic equipment for solving the problem of insufficient accuracy of scanned images. The scanning method is applied to electronic equipment, the electronic equipment comprises a fingerprint module, a first display screen and a second display screen, the first display screen and the second display screen are arranged in a back-to-back mode, the fingerprint module is arranged between the first display screen and the second display screen, and a light sensitive surface of the fingerprint module faces the first display screen; the method comprises the following steps: receiving a scanning input of a user; responding to the scanning input, and controlling the first display screen to emit first light outwards; and photoelectric conversion is carried out on the received second light based on the fingerprint module to obtain a gray image, the second light is reflected light of the first light after passing through the object to be scanned and reflected to the fingerprint module, and the gray image is displayed on a second display screen, so that the accuracy of the gray image obtained by scanning can be improved.

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 the continuous progress and continuous innovation of intelligent technology, the functions of electronic devices are more and more powerful, and the functional requirements of people on the electronic devices are more and more increased. Such as the scanning function of an electronic device.
Currently, scanning of a target object can be achieved by a scanner, but is inconvenient to carry. If the target object is shot by the camera of the electronic equipment, an image corresponding to the target object is obtained, and the scanning of the target object can be understood. 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 by 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, electronic equipment and a computer readable storage medium, which are used for solving the problem of low accuracy of images obtained by scanning of electronic equipment in the prior art.
In order to solve the technical problems, 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 a fingerprint module, a first display screen, and a second display screen, where the first display screen and the second display screen are disposed opposite to each other, the fingerprint module is disposed between the first display screen and the second display screen, and a light-sensitive surface of the fingerprint module faces the first display screen;
the method comprises the following steps:
receiving a scanning input of a user;
controlling the first display screen to emit first light outwards in response to the scanning input;
photoelectric conversion is carried out on the received second light ray based on the fingerprint module to obtain a gray image, wherein the second light ray is reflected light rays of the first light ray which are reflected to the fingerprint module after passing through an object to be scanned;
and displaying the gray-scale image on the second display screen.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a fingerprint module, a first display screen, and a second display screen, where the first display screen and the second display screen are disposed opposite to each other, the fingerprint module is disposed between the first display screen and the second display screen, and a light-sensitive surface of the fingerprint module faces the first 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 responding to the scanning input and controlling the first display screen to emit first light outwards;
the gray image acquisition module is used for carrying out photoelectric conversion on the received second light rays based on the fingerprint module to obtain gray images, wherein the second light rays are reflected light rays of the first light rays which are reflected to the fingerprint module after passing through an object to be scanned;
and the display module is used for displaying the gray image on the second display screen.
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, embodiments of the present invention further provide a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the steps in the scanning method provided by the embodiments of the present invention.
According to the scanning method provided by the embodiment of the invention, after receiving the scanning input of a user, the first display screen can be controlled to emit the first light outwards, the received second light can be subjected to photoelectric conversion through the fingerprint module to obtain a gray image, and the second light is reflected light of the first light after passing through an object to be scanned and being reflected to the fingerprint module. In the scanning process, the first display screen is utilized to emit first light outwards, the fingerprint module is used for carrying out photoelectric conversion on second light reflected by the received first light after passing through the object to be scanned to obtain a gray image, the object to be scanned is scanned, the camera is not used for scanning, 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 that are needed in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 2 is one of the flowcharts of the scanning method provided in the 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 schematic block diagram of an electronic device according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention further provides a scanning method of an embodiment, which is applied to an electronic device, as shown in fig. 1, where the electronic device includes a fingerprint module 101, a first display screen 102, and a second display screen (not shown in fig. 1), the first display screen 101 and the second display screen are disposed opposite to each other, the fingerprint module 101 is disposed between the first display screen 102 and the second display screen, and a light-sensitive surface of the fingerprint module 101 faces the first display screen 102. In one example, the fingerprint module 101 may be an optical fingerprint module or an ultrasonic fingerprint module.
As shown in fig. 2, the scanning method provided in this embodiment includes:
step 201: a scan input is received from a user.
The electronic device can be close to the object 103 to be scanned, so that the object 103 to be scanned can be closely attached to the first display screen 102 of the electronic device and far away from the outer side surface of the fingerprint module 101. The scan is turned on by a user's scan input (e.g., a click input to a scan button, etc.).
Step 202: and responding to the scanning input, controlling the first display screen to emit first light.
After the first display screen 102 emits light, the emitted first light can be transmitted to the outside of the electronic device, and the first display screen 102 emits the first light outwards. Preferably, the first light may be emitted to a side of the first display screen 102 away from the fingerprint module 101 (i.e., an outside of the OLED display screen 102, outside of the electronic device). After receiving the scan input from the user, the first display 102 is controlled to emit the first light outwards in response to the scan input. In one example, the first display screen 102 is a first OLED (Organic Light-Emitting Diode) display screen, which includes an OLED Light-Emitting Diode 104, and the OLED Light-Emitting Diode 104 of the OLED display screen 102 can be controlled to emit a first Light, that is, the OLED Light-Emitting Diode 104 in the first OLED display screen can be turned on to emit the first Light, so that the first OLED display screen emits the first Light outwards.
Step 203: and carrying out photoelectric conversion on the received second light based on the fingerprint module to obtain a gray image.
The second light can be received through the fingerprint module 101, and the second light is subjected to photoelectric conversion through the fingerprint module 101 to obtain a gray image, so that the gray image obtained by photoelectric conversion of the received second light based on the fingerprint module 101 can be obtained. The second light is reflected light reflected to the fingerprint module 101 after the first light passes through the object to be scanned, that is, the first display screen 102 emits the first light outwards, the object to be scanned 103 is located outside the electronic device, and the first light is reflected to the fingerprint module after passing through the object to be scanned. The fingerprint module 101 can perform photoelectric conversion on the received second light to obtain a gray image. Preferably, the object 103 to be scanned may be disposed on an outer side of the first display screen far from the optical fingerprint module 101, and may emit a first light to an outer side of the first display screen far from the optical fingerprint module 101, and reflect 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 rays is different, so that the obtained gray images are different.
Step 204: and displaying the gray-scale image on the second display screen.
After the gray level image is obtained through photoelectric conversion, the gray level image can be displayed on the second display screen, a user can view the gray level image obtained through scanning, the scanning condition can be observed, and the user can view the gray level image conveniently. In one example, the second display screen may be a second OLED display screen.
According to the scanning method provided by the embodiment of the invention, after receiving the scanning input of a user, the first display screen can be controlled to emit the first light outwards, the received second light is subjected to photoelectric conversion through the fingerprint module to obtain the gray image, and the second light is reflected to the fingerprint module after the first light passes through the object to be scanned. In the scanning process, the first display screen is utilized to emit first light outwards, the fingerprint module is used for carrying out photoelectric conversion on second light reflected by the received first light after passing through the object to be scanned to obtain a gray image, the object to be scanned is scanned, the camera is not used for scanning, the limitation of the camera lens can be avoided, and the accuracy of the gray image obtained by scanning is improved. In addition, in the scanning process by utilizing the first display screen and the fingerprint module, the scanning distortion can be reduced, and the scanning precision can reach tens of um or even um level due to the short-distance (near 0) focal length of the fingerprint module and the characteristic that the large area is a fingerprint receiving area. And the cost is not required to be additionally increased, and the method is convenient and quick. Meanwhile, the gray level image can be displayed on the second display screen, so that a user can conveniently view the gray level image obtained by scanning, know the scanning condition and the like. Therefore, the scanning of the object to be scanned can be realized through the fingerprint module of the electronic equipment and the first display screen, and the gray level image obtained after the object to be scanned is scanned can be displayed through the second display screen, so that the accuracy of the scanned gray level image is improved, the user can conveniently check the scanned gray level image, the requirement of the user is met, the user satisfaction is improved, and the practicability of the electronic equipment is improved.
In one example, the first display screen may be a flexible display screen or a foldable display screen, in the case of being a foldable display screen, the first display screen may include N (an integer greater than 1) sub-display screens that are sequentially connected, if the first display screen is a first OLED display screen, the sub-display screens are also OLED sub-display screens, and the fingerprint module includes N first fingerprint modules, where the first fingerprint modules are in one-to-one correspondence with the sub-display screens. Thus, N times of scanning can be realized simultaneously, and N gray scale images are obtained.
In an embodiment of the present invention, the electronic Device may include, but is not limited to, a mobile phone, a camera, a tablet (Tablet Personal Computer), a Laptop (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile internet Device (Mobile Internet Device, MID), or a Wearable Device (web Device).
In one embodiment, after the second display screen displays the grayscale image, the method further includes: and carrying out attribute adjustment on the gray level image, and updating the gray level image. That is, as shown in fig. 3, the present embodiment provides a scanning method, which is applied to the above electronic device, where the electronic device includes a fingerprint module, a first display screen and a second display screen, the first display screen and the second display screen are arranged opposite to each other, the fingerprint module is disposed between the first display screen and the second display screen, and a light-sensitive surface of the fingerprint module faces the first display screen. The method comprises the following steps:
step 301: receiving a scanning input of a user;
step 302: in response to the scan input, the first display screen is controlled to emit first light outwards.
Preferably, the controlling the first display to emit the first light may be controlling the first display to emit the first light to an outer side of the first display away from the fingerprint module.
Step 303: photoelectric conversion is carried out on the received second light based on the fingerprint module to obtain a gray image;
the second light is reflected light of the first light reflected to the fingerprint module after passing through the object to be scanned;
step 304: and displaying the gray-scale image on the second display screen.
Steps 301 to 304 correspond to steps 201 to 204 one by one, and will not be described again.
Step 305: and carrying out attribute adjustment on the gray level image, and updating the gray level image.
After the gray level image is obtained, the gray level image can be displayed on the second display screen in real time, and the attribute of the gray level image can be adjusted subsequently to update the gray level image, so that the displayed gray level image is updated to be the updated gray level image, that is, the gray level image is updated, and the displayed content can be updated. Thus, the user demand for the displayed gray-scale image can be satisfied. In one example, the grayscale image may be resized, e.g., the grayscale image may be enlarged or reduced to a size that meets the needs of the user for ease of viewing by the user.
In one embodiment, performing attribute adjustment on a gray scale image, updating the gray scale image, includes: receiving a first input of a user; and responding to the first input, and updating the gray image according to the attribute adjustment parameters corresponding to the first input.
When the attribute of the gray image needs to be adjusted, the user may make a first input on the gray image displayed on the second display screen, for example, may be an attribute setting input, etc., where the first input carries an attribute adjustment parameter, for example, an image size adjustment parameter. After the electronic equipment receives the first input, the gray image can be adjusted according to the attribute adjustment parameters corresponding to the first input, so that the gray image is updated. Through the first input of the user, the gray image can be updated according to the attribute adjustment parameters corresponding to the first input, so that the user operation is convenient, and the attribute requirements of the user on the gray image can be met.
In one embodiment, after the second display screen displays the grayscale image, the method further includes: recognizing the gray level image to obtain a recognition result; and displaying the identification result on a second display screen.
In addition, after the gray image is displayed, the gray image can be identified, and the identification result is displayed on the second display screen, so that the user can view the identification result. For example, AI (artificial intelligence) recognition can be performed on the grayscale image, an object in the grayscale image can be recognized, for example, a face is recognized, an object is recognized, and the like, and the recognition result can be displayed so that the user can view and meet the requirement of the user for recognizing the grayscale image.
In one embodiment, after the second display screen displays the grayscale image, the method further includes: receiving a second input of the user to the gray scale image; in response to the second input, a target location selected by the second input is marked.
In this embodiment, the user may make a second input on the displayed grayscale image, for example, the second input may be a slide input or the like. The target location corresponding to the second input may then be marked. For example, the user slides on the gray level image, the sliding track is a circle, and the position corresponding to the circle can be marked, so that the user can conveniently mark on the gray level image.
In one embodiment, after the second display screen displays the grayscale image, the method further includes: and outputting prompt information.
After the photoelectric conversion is completed to obtain a gray image and display the gray image, prompt information can be output to prompt the completion of scanning so that a user can check and know the scanning condition. For example, the prompt information may be a voice prompt information or/and a text prompt information, etc.
The above scanning method will be specifically described with reference to a specific embodiment, in which the fingerprint module is an optical fingerprint module, the first display screen is a first OLED display screen, and the second display screen is a second OLED display screen.
As shown in fig. 1, taking an object to be scanned 103 as an example of an object with uneven surface (for example, ridges and valleys exist), by sensing the difference of the reflected light source energy of the protruding portions (ridges) and the recessed portions (valleys) of the object to be scanned, images with different gray scales are formed, and the functions of flatness inspection, microcrack flaw detection, venation rubbing and stele paperless rubbing are realized. Firstly, entering a photoelectric fingerprint ridge-valley mode, enabling the electronic equipment to be close to an object to be scanned, enabling the scanned object to be close to a first OLED display screen 102 of the electronic equipment, and enabling the first OLED display screen to be far away from the outer side face of the optical fingerprint module 101. By pressing a side key or other modes, scanning is started, so that the OLED light emitting diode 104 in the first OLED display screen 101 is controlled to be lightened, and first light is emitted outwards. The first light is incident on the outer side of the first OLED display screen 102 through the first OLED display screen 102, reaches the surface of the object 103 to be scanned, and is reflected. The reflected second light reaches the optoelectronic fingerprint module 101. Different ridges and valleys can reflect different energy of the second light ray, and the second light ray is subjected to photoelectric conversion to generate a gray level image. A prompt may be output subsequently to prompt the user for completion of the scan. The obtained gray image can be transmitted to the rear end of the electronic equipment for analysis processing, for example, flatness analysis, microcrack analysis, plant vein rubbing, inscription rubbing and the like. In one example, the electronic device further includes a glass cover 105 disposed on a side of the first display screen, and the object 103 to be scanned may be disposed on a side of the glass cover 105 away from the first display screen, where the display screen may be protected by the glass cover 105. The electronic device may be placed close to the object to be scanned 103, so that the object to be scanned 103 may be placed close to the glass cover 105 of the electronic device away from the outer side of the first display screen 102. Scanning is turned on by a user's scan input. A first light is emitted to a side of the glass cover 105 remote from the first display screen 102 (outside the electronic device), and the first light is reflected after passing through the object 103 to be scanned.
In addition, an organic light-emitting diode device can be arranged between the glass battery cover (transparent) and the fingerprint module, and the organic light-emitting diode is controlled to emit first light, and the first light is incident to one side, far away from the organic light-emitting diode, of the glass battery cover through the glass battery cover; photoelectric conversion is carried out on the received second light ray based on the fingerprint module to obtain a gray image, wherein the second light ray is reflected light rays of the first light ray reflected to the fingerprint module through the object to be scanned; and displaying the gray-scale image on the second display screen.
In the scanning method provided by the embodiment of the invention, the fingerprint module of the electronic equipment and the first display screen are utilized to realize scanning, so that the cost is not increased additionally, the scanning method is convenient and rapid, the distortion is reduced, and the user satisfaction and the practicability are improved greatly. The method can be used for document scanning, two-dimensional code identification, bar code identification, ceramic and glass flatness inspection, microcrack flaw detection, plant vein rubbing, inscription paperless rubbing and other functions. And a gray image obtained by photoelectric conversion of the second light is displayed on the second display screen, so that a user can check the scanning condition.
Referring to fig. 4, in one embodiment, an electronic device 400 is provided, where the electronic device 400 includes a fingerprint module, a first display screen, and a second display screen, the first display screen and the second display screen are disposed opposite to each other, the fingerprint module is disposed between the first display screen and the second display screen, and a light sensing surface of the fingerprint module faces the first display screen;
the electronic device 400 further comprises:
a scan input receiving module 401 for receiving a scan input of a user;
a light emitting control module 402, configured to control the first display to emit a first light outwards in response to the scan input;
the gray image obtaining module 403 is configured to obtain a gray image by performing photoelectric conversion on the received second light based on the fingerprint module, where the second light is a reflected light that the first light reflects to the fingerprint module after passing through the object to be scanned;
and a display module 404, configured to display the gray-scale image on the second display screen.
In one embodiment, the electronic device further comprises:
and the updating module is used for carrying out attribute adjustment on the gray level image and updating the gray level image.
In one embodiment, the update module includes:
the first input receiving module is used for receiving a first input of a user;
and the image updating module is used for responding to the first input and updating the gray image according to the attribute adjustment parameters corresponding to the first input.
In one embodiment, the electronic device further comprises an identification module;
the identification module is used for identifying the gray level image and obtaining an identification result;
and the display module is used for displaying the identification result on the second display screen.
In one embodiment, the electronic device further comprises:
the second input receiving module is used for receiving a second input of the gray image from a user;
and the marking module is used for responding to the second input and marking the target position selected by the second input.
In one embodiment, the electronic device further comprises: and the prompt module is used for outputting prompt information.
The technical features of the scanning method provided by the embodiment of the invention correspond to the technical features of the electronic device provided by the embodiment of the invention, and the electronic device is used for realizing each process of the scanning method implemented by each process and obtaining the same effect, so that repetition is avoided and no further description is given here.
Fig. 5 is a schematic hardware architecture of an electronic device 500 implementing various embodiments of the present invention, where the electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and power source 511. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 5 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In an 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.
The electronic device 500 further includes a fingerprint module, a first display screen and a second display screen, where the first display screen and the second display screen are arranged opposite to each other, the fingerprint module is disposed between the first display screen and the second display screen, and a light sensing surface of the fingerprint module faces the first display screen. A user input unit 507 for receiving a scan input from a user, and a processor 510 for controlling the first display to emit the first light outwards in response to the scan input; and carrying out photoelectric conversion on the received second light based on the fingerprint module to obtain a gray image, wherein the second light is reflected light of the first light after passing through the object to be scanned and then being reflected to the fingerprint module.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 510; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 501 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, the radio frequency unit 501 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 502, such as helping the user to send and receive e-mail, browse web pages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 500. The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used for receiving an audio or video signal. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing electronic device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. Microphone 5042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 501 in case of a phone call mode.
The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5091 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5091 and/or backlight when the electronic device 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 505 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 506 is used to display information input by a user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (oled), or the like.
The user input unit 507 is operable to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 5071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). Touch panel 5071 may include two parts, a touch detection electronics and a touch controller. The touch detection electronic equipment detects the touch azimuth of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives touch information from the touch detection electronic device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (e.g., volume control keys, switch keys, etc.), trackballs, mice, joysticks, and so forth, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 510 to determine a type of touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of touch event. Although in fig. 4, the touch panel 5071 and the display panel 5061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 508 is an interface to which an external electronic device is connected with the electronic device 500. For example, the 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 to an electronic device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and so forth. The interface unit 508 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 500 or may be used to transmit data between the electronic device 500 and an external electronic device.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for 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, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 509 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 510 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The electronic device 500 may also include a power supply 511 (e.g., a battery) for powering the various components, and preferably the power supply 511 may be logically connected to the processor 510 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 500 includes some functional modules, which are not shown, and will not be described herein.
The embodiment of the present invention further provides an electronic device, including a processor 510 and a memory 509, where the memory 509 stores a computer program capable of running on the processor 510, and the computer program realizes each process in the above scanning method embodiment when executed by the processor 510, and can achieve the same technical effect, so that repetition is avoided, and no description is repeated here.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the respective processes of the scanning method embodiment described above, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Among them, a computer readable storage medium such as Read-Only Memory (ROM), random access Memory (Random Access Memory RAM), magnetic disk or optical disk, and the like.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method of the embodiments of the present invention.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (12)

1. The scanning method is applied to electronic equipment and is characterized in that the electronic equipment comprises a fingerprint module, a first display screen and a second display screen, wherein the first display screen and the second display screen are arranged in a back-to-back mode, the fingerprint module is arranged between the first display screen and the second display screen, and a light sensitive surface of the fingerprint module faces to the first display screen;
the method comprises the following steps:
receiving a scanning input of a user;
controlling the first display screen to emit first light outwards in response to the scanning input;
photoelectric conversion is carried out on the received second light ray based on the fingerprint module to obtain a gray image so as to realize scanning of an object to be scanned, wherein the second light ray is reflected light rays of the first light ray which are reflected to the fingerprint module after passing through the object to be scanned;
and displaying the gray level images on the second display screen, wherein objects to be scanned are different, and the corresponding gray level images are different, and the gray level images are used for realizing at least one function of document scanning, two-dimensional code identification, bar code identification, flatness inspection, micro crack flaw detection, venation rubbing and inscription paperless rubbing.
2. The method of claim 1, wherein after the second display screen displays the grayscale image, the method further comprises:
and carrying out attribute adjustment on the gray level image, and updating the gray level image.
3. The method of claim 2, wherein said performing attribute adjustment on said grayscale image to update said grayscale image comprises:
receiving a first input of a user;
and responding to the first input, and updating the gray image according to the attribute adjustment parameters corresponding to the first input.
4. The method of claim 1, wherein after the second display screen displays the grayscale image, the method further comprises:
recognizing the gray level image to obtain a recognition result;
and displaying the identification result on the second display screen.
5. The method of claim 1, wherein after the second display screen displays the grayscale image, the method further comprises:
receiving a second input of a user to the grayscale image;
in response to the second input, a target location selected by the second input is marked.
6. The electronic equipment is characterized by comprising a fingerprint module, a first display screen and a second display screen, wherein the first display screen and the second display screen are arranged in a back-to-back mode, the fingerprint module is arranged between the first display screen and the second display screen, and a light sensitive surface of the fingerprint module faces the first 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 responding to the scanning input and controlling the first display screen to emit first light outwards;
the gray image acquisition module is used for carrying out photoelectric conversion on the received second light rays based on the fingerprint module to obtain gray images so as to realize scanning of an object to be scanned, wherein the second light rays are reflected light rays of the first light rays which are reflected to the fingerprint module after passing through the object to be scanned;
the display module is used for displaying the gray level images on the second display screen, objects to be scanned are different, and corresponding gray level images are different, wherein the gray level images are used for realizing at least one function of document scanning, two-dimensional code identification, bar code identification, flatness inspection, micro crack flaw detection, venation rubbing and inscription paperless rubbing.
7. The electronic device of claim 6, wherein the electronic device further comprises:
and the updating module is used for carrying out attribute adjustment on the gray level image and updating the gray level image.
8. The electronic device of claim 7, wherein the update module comprises:
the first input receiving module is used for receiving a first input of a user;
and the image updating module is used for responding to the first input and updating the gray image according to the attribute adjustment parameters corresponding to the first input.
9. The electronic device of claim 6, further comprising an identification module;
the identification module is used for identifying the gray level image and obtaining an identification result;
the display module is used for displaying the identification result on the second display screen.
10. The electronic device of claim 6, wherein the electronic device further comprises:
a second input receiving module for receiving a second input of the gray image by a user;
and the marking module is used for responding to the second input and marking the target position selected by the second input.
11. A mobile terminal, comprising: a memory storing a computer program, and a processor implementing the steps of the scanning method according to any one of claims 1 to 5 when the processor executes the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the scanning method according to any of claims 1 to 5.
CN201911018463.XA 2019-10-24 2019-10-24 Scanning method and electronic equipment Active CN110807383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911018463.XA CN110807383B (en) 2019-10-24 2019-10-24 Scanning method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911018463.XA CN110807383B (en) 2019-10-24 2019-10-24 Scanning method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110807383A CN110807383A (en) 2020-02-18
CN110807383B true CN110807383B (en) 2023-10-17

Family

ID=69489167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911018463.XA Active CN110807383B (en) 2019-10-24 2019-10-24 Scanning method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110807383B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030081741A (en) * 2002-04-12 2003-10-22 엘지전자 주식회사 Personal hand-held terminal and image cognition method thereof
CN107465868A (en) * 2017-06-21 2017-12-12 珠海格力电器股份有限公司 Object identification method, device and electronic equipment based on terminal
CN107608576A (en) * 2017-10-10 2018-01-19 深圳天珑无线科技有限公司 A kind of display device
CN108012003A (en) * 2017-12-04 2018-05-08 四川九鼎智远知识产权运营有限公司 A kind of Double-face-screen mobile phone
CN108121937A (en) * 2016-11-28 2018-06-05 上海箩箕技术有限公司 Optical fingerprint sensor module and preparation method thereof
CN108234875A (en) * 2018-01-15 2018-06-29 广东欧珀移动通信有限公司 Shoot display methods, device, mobile terminal and storage medium
CN108628568A (en) * 2018-05-14 2018-10-09 维沃移动通信有限公司 A kind of display methods of information, device and terminal device
CN108881721A (en) * 2018-07-05 2018-11-23 维沃移动通信有限公司 A kind of display methods and terminal
CN108982669A (en) * 2018-08-02 2018-12-11 中北大学 A kind of an inscription on a tablet recognition methods based on Air Coupling ultrasound
CN108985146A (en) * 2017-06-02 2018-12-11 三星电子株式会社 The operating method of fingerprint sensor and display equipment including fingerprint sensor
CN109214225A (en) * 2018-07-04 2019-01-15 青岛海信移动通信技术股份有限公司 A kind of scan method, device, mobile terminal and the storage medium of figure bar code
CN110088769A (en) * 2019-03-20 2019-08-02 深圳市汇顶科技股份有限公司 Method, system and the electronic equipment of fingerprint collecting

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030081741A (en) * 2002-04-12 2003-10-22 엘지전자 주식회사 Personal hand-held terminal and image cognition method thereof
CN108121937A (en) * 2016-11-28 2018-06-05 上海箩箕技术有限公司 Optical fingerprint sensor module and preparation method thereof
CN108985146A (en) * 2017-06-02 2018-12-11 三星电子株式会社 The operating method of fingerprint sensor and display equipment including fingerprint sensor
CN107465868A (en) * 2017-06-21 2017-12-12 珠海格力电器股份有限公司 Object identification method, device and electronic equipment based on terminal
CN107608576A (en) * 2017-10-10 2018-01-19 深圳天珑无线科技有限公司 A kind of display device
CN108012003A (en) * 2017-12-04 2018-05-08 四川九鼎智远知识产权运营有限公司 A kind of Double-face-screen mobile phone
CN108234875A (en) * 2018-01-15 2018-06-29 广东欧珀移动通信有限公司 Shoot display methods, device, mobile terminal and storage medium
CN108628568A (en) * 2018-05-14 2018-10-09 维沃移动通信有限公司 A kind of display methods of information, device and terminal device
CN109214225A (en) * 2018-07-04 2019-01-15 青岛海信移动通信技术股份有限公司 A kind of scan method, device, mobile terminal and the storage medium of figure bar code
CN108881721A (en) * 2018-07-05 2018-11-23 维沃移动通信有限公司 A kind of display methods and terminal
CN108982669A (en) * 2018-08-02 2018-12-11 中北大学 A kind of an inscription on a tablet recognition methods based on Air Coupling ultrasound
CN110088769A (en) * 2019-03-20 2019-08-02 深圳市汇顶科技股份有限公司 Method, system and the electronic equipment of fingerprint collecting

Also Published As

Publication number Publication date
CN110807383A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN108668083B (en) Photographing method and terminal
CN109151180B (en) Object identification method and mobile terminal
CN109240577B (en) Screen capturing method and terminal
JP7303900B2 (en) Parameter acquisition method and terminal equipment
CN111130989B (en) Information display and sending method and electronic equipment
CN110109593B (en) Screen capturing method and terminal equipment
CN109257505B (en) Screen control method and mobile terminal
CN110110571B (en) Code scanning method and mobile terminal
CN107463897B (en) Fingerprint identification method and mobile terminal
CN109495616B (en) Photographing method and terminal equipment
CN110097872B (en) Audio processing method and electronic equipment
CN107704182B (en) Code scanning method and mobile terminal
CN109523253B (en) Payment method and device
WO2021082772A1 (en) Screenshot method and electronic device
JP7221305B2 (en) Object recognition method and mobile terminal
JP7408627B2 (en) Character input method and terminal
CN110536005B (en) Object display adjustment method and terminal
CN110197159B (en) Fingerprint acquisition method and terminal
CN109257489B (en) Display method and mobile terminal
CN110516495B (en) Code scanning method and mobile terminal
CN108196663B (en) Face recognition method and mobile terminal
CN111522613B (en) Screen capturing method and electronic equipment
CN110780751B (en) Information processing method and electronic equipment
CN110807383B (en) Scanning method and electronic equipment
CN107844203B (en) Input method candidate word recommendation method and mobile terminal

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