CN111314572A - Method and device for controlling terminal equipment to scan files - Google Patents

Method and device for controlling terminal equipment to scan files Download PDF

Info

Publication number
CN111314572A
CN111314572A CN201811513404.5A CN201811513404A CN111314572A CN 111314572 A CN111314572 A CN 111314572A CN 201811513404 A CN201811513404 A CN 201811513404A CN 111314572 A CN111314572 A CN 111314572A
Authority
CN
China
Prior art keywords
file
module
sensing area
controlling
fingerprint sensing
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
CN201811513404.5A
Other languages
Chinese (zh)
Other versions
CN111314572B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811513404.5A priority Critical patent/CN111314572B/en
Publication of CN111314572A publication Critical patent/CN111314572A/en
Application granted granted Critical
Publication of CN111314572B publication Critical patent/CN111314572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00352Input means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Input (AREA)

Abstract

The disclosure relates to a method and a device for controlling terminal equipment to scan files. The method comprises the following steps: receiving a scanning instruction indicating to scan a file appearing in the fingerprint sensing area; controlling an optical fingerprint identification module to acquire an optical signal corresponding to a file in a fingerprint sensing area; and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal. The scanning of file can be carried out through the optics fingerprint identification module in the terminal equipment, need not to realize the scanning function with the help of outside scanner, and convenient and fast has effectively promoted user experience more.

Description

Method and device for controlling terminal equipment to scan files
Technical Field
The present disclosure relates to the field of terminal device technologies, and in particular, to a method and an apparatus for controlling a terminal device to scan a file.
Background
A scanner is a computer peripheral device that captures images and converts them into digitized input devices that a computer can display, edit, store, and output. The scanner can scan three-dimensional objects such as photos, text pages, drawings, art pictures, photographic films and the like, and extracts and converts original lines, graphs, characters and photo real objects into devices capable of being edited and added into files.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide a method and an apparatus for controlling a terminal device to scan a file. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for controlling a terminal device to scan a file, the method including:
receiving a scanning instruction; the scanning instruction indicates to scan a file appearing in the fingerprint sensing area;
controlling an optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area;
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: receiving a scanning instruction indicating to scan a file appearing in the fingerprint sensing area; controlling an optical fingerprint identification module to acquire an optical signal corresponding to a file in a fingerprint sensing area; and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal. The scanning of file can be carried out through the optics fingerprint identification module in the terminal equipment, need not to realize the scanning function with the help of outside scanner, and convenient and fast has effectively promoted user experience more.
In one embodiment, the file present in the fingerprint sensing area includes: an external file; before the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area, the method comprises the following steps:
controlling a light emitting device to emit a light signal to the fingerprint sensing area;
the control optics fingerprint identification module obtains the light signal that the file in the fingerprint response region corresponds, includes:
controlling the optical fingerprint identification module to receive an optical signal reflected by the file;
the controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal includes:
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal reflected by the file.
In one embodiment, the controlling the optical fingerprinting module to receive the light signal reflected by the document comprises:
detecting whether the moving speed of the terminal equipment is less than a preset speed or not;
and when detecting that the moving speed of the terminal equipment is less than a preset speed, controlling the optical fingerprint identification module to receive the optical signal reflected by the file.
In one embodiment, the method further comprises:
and when the moving speed of the terminal equipment is detected to be greater than or equal to the preset speed, outputting prompt information, and prompting to slow down the moving speed of the terminal equipment by the prompt information.
In one embodiment, the file present in the fingerprint sensing area includes: content displayed on a screen of the terminal device;
before the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area, the method comprises the following steps:
controlling a light-emitting device to emit a light signal of preset display content so that a screen of the terminal equipment displays the preset display content;
the control optics fingerprint identification module obtains the light signal that the file in the fingerprint response region corresponds, includes:
and controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the side departing from the screen in the fingerprint sensing area.
In one embodiment, the controlling the optical fingerprint identification module to acquire the light signal emitted by the light emitting device on the side facing away from the screen in the fingerprint sensing area includes:
detecting whether the moving speed of the file in the fingerprint sensing area is smaller than a preset speed or not;
when detecting that the moving speed of the file in the fingerprint sensing area is smaller than a preset speed, controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the surface deviating from the screen in the fingerprint sensing area.
In one embodiment, the method further comprises:
when the fact that the moving speed of the file in the fingerprint induction area is larger than or equal to the preset speed is detected, prompt information is output, and the prompt information prompts that the moving speed of the file is slowed down.
In one embodiment, the method further comprises:
and acquiring the preset speed according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, wherein the width of the fingerprint sensing area is the length of the side, parallel to the moving direction of the terminal equipment, in the fingerprint sensing area.
In one embodiment, the receiving the scan instruction includes:
receiving an application starting instruction;
starting the application according to the application starting instruction;
receiving the scan instruction triggered by the application.
In one embodiment, the method further comprises:
and storing the image of the file in a preset storage area in the terminal equipment in a preset file format.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling a terminal device to scan a file, the apparatus including:
the receiving module is used for receiving a scanning instruction; the scanning instruction indicates to scan a file appearing in the fingerprint sensing area;
the first control module is used for controlling the optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area;
and the second control module is used for controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal.
In one embodiment, the file present in the fingerprint sensing area includes: an external file; the device comprises: a third control module; the first control module includes: a first control sub-module; the second control module includes: a second control sub-module;
the third control module is used for controlling the light-emitting device to emit a light signal to the fingerprint sensing area;
the first control sub-module is used for controlling the optical fingerprint identification module to receive the optical signal reflected by the file;
and the second control submodule is used for controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal reflected by the file.
In one embodiment, the first control sub-module includes: a first detection sub-module and a third control sub-module;
the first detection submodule is used for detecting whether the moving speed of the terminal equipment is smaller than a preset speed or not;
and the third control sub-module is used for controlling the optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area when the first detection sub-module detects that the moving speed of the terminal device is less than a preset speed.
In one embodiment, the first control sub-module further comprises: a first output sub-module;
and the fourth control submodule is used for outputting prompt information when the first output submodule detects that the moving speed of the terminal equipment is greater than or equal to a preset speed, and the prompt information prompts that the moving speed of the terminal equipment is reduced.
In one embodiment, the file present in the fingerprint sensing area includes: content displayed on a screen of the terminal device; the device comprises: a fourth control module; the first control module includes: a fifth control sub-module;
the fourth control module is used for controlling the light-emitting device to emit an optical signal of preset display content so as to enable a screen of the terminal equipment to display the preset display content;
and the fifth control sub-module is used for controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the surface deviating from the screen in the fingerprint sensing area. .
In one embodiment, the fifth control sub-module includes: a second detection submodule and a sixth control submodule;
the second detection submodule is used for detecting whether the moving speed of the file in the fingerprint induction area is smaller than a preset speed or not;
and the sixth control sub-module is configured to control the optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area when the second detection sub-module detects that the moving speed of the file in the fingerprint sensing area is smaller than a preset speed.
In one embodiment, the fifth control sub-module further comprises: a second output sub-module;
and the second output submodule is used for outputting prompt information when the second detection submodule detects that the moving speed of the file in the fingerprint sensing area is greater than or equal to a preset speed, and the prompt information prompts that the moving speed of the file is reduced.
In one embodiment, the first control module further comprises: obtaining a submodule;
the acquisition submodule is used for acquiring the preset speed according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, and the width of the fingerprint sensing area is the length of the edge, parallel to the moving direction of the terminal equipment, in the fingerprint sensing area.
In one embodiment, the receiving module comprises: the device comprises a first receiving submodule, a starting submodule and a second receiving submodule;
the first receiving submodule is used for receiving an application starting instruction;
the starting submodule is used for starting the application according to the application starting instruction received by the first receiving submodule;
the second receiving submodule is used for receiving the scanning instruction triggered by the application started by the starting submodule.
In one embodiment, the apparatus further comprises: a storage module;
and the storage module is used for storing the image of the file in a preset storage area in the terminal equipment in a preset file format.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling a terminal device to scan a file, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a scanning instruction; the scanning instruction indicates to scan a file appearing in the fingerprint sensing area;
controlling an optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area;
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any one of the first aspects.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method of controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 2 is a schematic structural diagram of a terminal device shown according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of controlling a terminal device to scan a file according to an exemplary embodiment.
FIG. 4 is a schematic diagram illustrating a scanning tool configuration according to an exemplary embodiment.
FIG. 5 is a schematic diagram illustrating a scanning tool configuration according to an exemplary embodiment.
FIG. 6 is a schematic diagram illustrating a scanning tool configuration according to an exemplary embodiment.
FIG. 7 is a schematic diagram illustrating a scanning tool configuration according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating a method of controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 9 is a schematic structural diagram of a terminal device shown according to an exemplary embodiment.
Fig. 10 is a flowchart illustrating a method of controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 11 is a flowchart illustrating a method of controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 13 is a block diagram illustrating an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 14 is a block diagram illustrating a first control sub-module in an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 15 is a block diagram illustrating a first control sub-module in an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 16 is a block diagram illustrating an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 17 is a block diagram illustrating a fifth control sub-module in an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 18 is a block diagram illustrating a fifth control sub-module in an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 19 is a block diagram illustrating a first control module in an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 20 is a block diagram illustrating a receiving module in an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 21 is a block diagram illustrating an apparatus for controlling a terminal device to scan a file according to an exemplary embodiment.
Fig. 22 is a block diagram illustrating an apparatus 80 for controlling a terminal device to scan a file according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The file scanning is a daily behavior of people, when a user needs to scan a file, the purpose of scanning can be achieved as long as an external scanner is found, and if no external scanner exists in the current scene, the scanning cannot be completed, so that the user experience is poor.
In order to solve the technical problem, the present disclosure provides a method for controlling a terminal device to scan a file.
Fig. 1 is a flowchart illustrating a method for controlling a terminal device to scan a file according to an exemplary embodiment, where the method is applied to the terminal device, as shown in fig. 1, and includes the following steps S101-S103:
in step S101, a scan instruction is received; the scan instruction instructs to scan a file that appears in the fingerprint sensing area.
In step S102, the optical fingerprint identification module is controlled to acquire an optical signal corresponding to a file in the fingerprint sensing area.
In step S103, the optical fingerprint identification module is controlled to acquire an image of the file according to the optical signal.
The optical fingerprint is a function that the terminal device always has, and the structure of the terminal device is shown in fig. 2, and includes: the optical fingerprint module comprises an optical fingerprint module 1, an Organic Light-Emitting Diode (OLED) panel 2 and a Cover plate 3, wherein the optical fingerprint module comprises: complementary Metal Oxide Semiconductor (CMOS)/Thin Film Transistor (TFT); a transparent laminating layer or an Air gap (English: Air gap) is filled between the optical fingerprint module 1 and the OLED panel 2; a transparent laminating layer is filled between the OLED panel 2 and the cover plate 3; the cover 3 may further include a Touch Pad (TP). When a fingerprint image is collected, a finger 4 is placed on the cover plate 3 to trigger the OLED panel 2 to emit an optical signal, the optical signal is emitted to the finger (the direction shown by a solid arrow is called Output Light), the optical signal is Reflected after encountering the finger (the direction shown by a dotted arrow is called Reflected Light), and the optical fingerprint module 1 can detect signals with different valleys and ridges according to different reflection degrees of the valleys and the ridges on the optical signal, so that the fingerprint image is formed.
Optical fingerprint utilizes optical fingerprint module 1 to receive the fingerprint information on 3 surfaces of apron. By using the imaging principle, the optical fingerprint module 1 can not only collect fingerprint information, but also detect images displayed by the OLED panel 2 and two-dimensional (2D) planar images close to the OLED panel 2.
Because 1 resolution ratio of optical fingerprint module is higher, can realize the detection of 0.2mm ~ 0.15 mm's width to "little five" typeface is the example, because "little five" typeface size is 3.2mm, and optical fingerprint module 1 has enough ability to distinguish this "little five" typeface, thereby optical fingerprint module 1 also can distinguish conventional picture and literal information.
Consequently, can realize the scanner function through terminal equipment's fingerprint response region and optics fingerprint module 1, further, after the increase of the regional area of fingerprint response in the increase terminal equipment, this function of realization scanner that can be more convenient.
When the user need realize the scanning function, only need to terminal equipment send the scanning instruction can, after terminal equipment received the scanning instruction, just can control optics fingerprint identification module and acquire the light signal that the file in the fingerprint induction zone corresponds, and then optics fingerprint identification module based on this light signal alright with the image of acquireing the file to realize the purpose of scanning, at this moment, need not to realize the scanning function with the help of outside scanner, convenient and fast more.
In one embodiment, after the image of the file is acquired, the image of the file may be saved in a preset storage area in the terminal device in a preset file format.
For example, the preset file format includes: portable Document Format (pdf) or word, etc.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: receiving a scanning instruction indicating to scan a file appearing in the fingerprint sensing area; controlling an optical fingerprint identification module to acquire an optical signal corresponding to a file in a fingerprint sensing area; and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal. The scanning of file can be carried out through the optics fingerprint identification module in the terminal equipment, need not to realize the scanning function with the help of outside scanner, and convenient and fast has effectively promoted user experience more.
Fig. 3 is a flowchart illustrating a method of controlling a terminal device to scan a file according to an exemplary embodiment in which a file appearing in a fingerprint sensing area includes: an external file; as shown in fig. 3, the method is applied to a terminal device, and includes the following steps S201-S204:
in step S201, a scan instruction is received; the scan instruction instructs to scan a file that appears in the fingerprint sensing area.
In step S202, the light emitting device is controlled to emit a light signal to the fingerprint sensing area.
In step S203, the optical fingerprint identification module is controlled to receive the light signal reflected by the document.
In step S204, the optical fingerprint identification module is controlled to obtain an image of the document according to the optical signal reflected by the document.
When external file is required to be scanned, the surface of the external file to be scanned is placed in a fingerprint sensing area of the terminal device, then, the light emitting device is controlled to emit light signals to the fingerprint sensing area, at the moment, the light signals are reflected back to the inside of the terminal device due to the fact that the external file shields the light signals, then the optical fingerprint identification module is controlled to receive the light signals reflected by the external file, and when the optical fingerprint identification module receives the light signals reflected by the external file, images of the file can be obtained based on the light signals reflected by the external file.
In one implementation, due to the limited sensing area of the fingerprint sensing area of the terminal device, when the external file size is greater than or equal to the sensing area of the fingerprint sensing area, a customized positioning tool may be used, as shown in fig. 4, and the positioning tool includes: as shown in fig. 5, when a document needs to be scanned, the scanned document can be placed at the scanning start position scale first, and the document placed under the scale is placed in order to avoid that part of the content of the document cannot be scanned, then as shown in fig. 6, the terminal device is placed at the scanning start position as shown in fig. 6, the fingerprint sensing area is located between the scanning start position scale and the line change scale 1, at this time, the scanning function can be started, the document content corresponding to the fingerprint sensing area can be scanned, but because the size of the document is large, the document on the right side of the scanning fingerprint sensing area can not be scanned, so that the terminal device can be translated to the right side during scanning, so that the content on the right side of the file can be covered by the fingerprint sensing area, after the line is scanned, the terminal equipment is picked up, then the transverse rod is translated downwards, and as the transposition clamping groove is arranged on the longitudinal rod, the transverse rod is moved to the next clamping groove position, as shown in fig. 7, the fingerprint sensing area is positioned between the line change scale 1 and the line change scale 2, and then the file content on the line can be scanned. By setting the tool as shown in fig. 4, the initial position of scanning can be located to start line-by-line scanning; and when line feed scanning is carried out, the accurate distance of each downward movement is given, so that the scanning reliability is improved.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the optical fingerprint identification module obtains the image of the file according to the optical signal reflected by the file placed above the terminal device, so that the terminal device can realize the function of a scanner.
In one embodiment, the above step S102 includes the following sub-steps A1-A3:
in a1, it is detected whether the moving speed of the terminal device is less than a preset speed.
In a2, when the moving speed of the terminal device is detected to be less than the preset speed, the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area.
In a3, when the moving speed of the terminal device is detected to be greater than or equal to the preset speed, a prompt message is output, and the prompt message prompts to slow down the moving speed of the terminal device.
When scanning is carried out, the size of the file is larger than or equal to the size of the fingerprint sensing area, the terminal equipment can be moved, so that the whole content of the file can be scanned by the fingerprint scanning area, but when the terminal equipment is moved, if the moving speed is too high, the optical fingerprint identification module cannot acquire a reliable optical signal, so that the image of the file cannot be acquired, therefore, in the process of moving the terminal equipment, the mobile phone gyroscope and the gravity sensor can be simultaneously utilized to measure the moving speed of the terminal equipment, when the moving speed is smaller than the preset speed, the optical fingerprint identification module can acquire the reliable optical signal, and the optical fingerprint identification module can be controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area; when the moving speed is greater than or equal to the preset speed, the optical fingerprint identification module cannot acquire a reliable optical signal, prompt information can be output at the moment, the prompt information prompts that the moving speed of the terminal equipment is reduced, and after the user receives the prompt information, the speed of the mobile terminal equipment can be reduced.
Fig. 8 is a flowchart illustrating a method of controlling a terminal device to scan a file according to an exemplary embodiment in which a file appearing in a fingerprint sensing area includes: content displayed on a screen of the terminal device; as shown in fig. 8, the method is applied to a terminal device, and includes the following steps S301 to S304:
in step S301, a scan instruction is received; the scan instruction instructs to scan a file that appears in the fingerprint sensing area.
In step S302, the light emitting device is controlled to emit a light signal of the preset display content, so that the screen of the terminal device displays the preset display content.
In step S303, the optical fingerprint identification module is controlled to acquire an optical signal emitted by the light emitting device on a side facing away from the screen in the fingerprint sensing area.
In step S304, the optical fingerprint identification module is controlled to acquire an image of the file according to the optical signal.
The preset display content displayed on the screen of the terminal equipment is formed by an optical signal of the preset display content emitted by the light emitting device, the light emitting device can emit the optical signal of the preset display content towards the direction of the screen while emitting the optical signal of the preset display content, and can also emit the optical signal of the preset display content in the direction deviating from the screen, at the moment, the optical fingerprint identification module positioned below the light emitting device can receive the optical signal emitted by the light emitting device, and then the optical fingerprint identification module is controlled to acquire the image of the file according to the optical signal.
Because both sides of light emitting device can send optical signal, consequently optics fingerprint identification module can obtain the content that terminal equipment itself shows according to the optical signal that light emitting device was launched in the one side that deviates from the screen to the variety of scanning has been promoted.
In one embodiment, the above step S102 includes the following sub-steps B1-B3:
in B1, it is detected whether the moving speed of the file in the fingerprint sensing area is less than a preset speed.
In B2, when it is detected that the moving speed of the file in the fingerprint sensing area is less than the preset speed, the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area.
And B3, when the moving speed of the file in the fingerprint sensing area is detected to be greater than or equal to the preset speed, outputting a prompt message, wherein the prompt message prompts that the moving speed of the file is reduced.
If the content displayed on the screen of the terminal device that the user wants to scan is not located in the fingerprint sensing area, or the area of the fingerprint sensing area is larger than or equal to the area of the fingerprint sensing area, the scanning function can be completed by dragging the content displayed on the screen of the terminal equipment through the fingerprint sensing area by using a finger, but when the content displayed on the screen of the terminal equipment is dragged, if the dragging speed is too fast, the optical fingerprint identification module cannot acquire a reliable optical signal, and thus cannot acquire an image of a file, and therefore, in the process of dragging the content displayed on the screen of the terminal equipment, the moving speed of the content displayed on the screen of the terminal equipment can be measured by acquiring the moving speed of the finger, when the moving speed is lower than the preset speed, the optical fingerprint identification module can be controlled to acquire a reliable optical signal, and the optical fingerprint identification module can be controlled to acquire an optical signal corresponding to a file in the fingerprint sensing area; when the moving speed is greater than or equal to the preset speed, the optical fingerprint identification module cannot acquire a reliable optical signal, prompt information can be output at the moment, the prompt information prompts that the moving speed of the file is reduced, and after the user receives the prompt information, the speed of dragging the file can be reduced.
In one embodiment, the above method further comprises the substeps of:
the preset speed is obtained according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, as shown in fig. 9, the width of the fingerprint sensing area is the length of the side of the fingerprint sensing area parallel to the moving direction of the terminal device.
The preset exposure time of one frame of image can be preset.
In one embodiment, the above step S101 includes the following sub-steps B1-B3:
in B1, an application start instruction is received.
In B2, the application is started according to the application start instruction.
In B3, a scan instruction triggered by an application is received.
A scanner Application program (APP, abbreviated as Application) may be set, when a user wants a terminal device to execute a scanner function, the user only needs to start the scanner APP, and after receiving an Application start instruction, the terminal device starts an Application according to the Application start instruction, and at this time, the Application triggers a scan instruction so that the terminal device executes the scan function.
Fig. 10 is a flowchart illustrating a method for controlling a terminal device to scan a file according to an exemplary embodiment, as shown in fig. 10, including the following steps:
in S401, an application start instruction is received.
In S402, the application is started according to the application start instruction.
In S403, a scan instruction triggered by an application is received. The scan instruction instructs to scan a file that appears in the fingerprint sensing area.
In S404, the light emitting device is controlled to emit a light signal to the fingerprint sensing area.
In S405, a preset speed is obtained according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, where the width of the fingerprint sensing area is the length of the side of the fingerprint sensing area parallel to the moving direction of the terminal device.
In S406, detecting whether the moving speed of the terminal device is less than a preset speed; when detecting that the moving speed of the terminal device is greater than or equal to the preset speed, executing step S407; when detecting that the moving speed of the terminal device is less than the preset speed, step S408 is executed.
In S407, a prompt message is output, and the prompt message prompts to slow down the moving speed of the terminal device.
In S408, the optical fingerprint identification module is controlled to acquire an optical signal reflected by the document in the fingerprint sensing area.
In S409, the optical fingerprint identification module is controlled to obtain an image of the file according to the optical signal reflected by the file.
In S4010, the image of the file is saved in a preset storage area in the terminal device in a preset file format.
Fig. 11 is a flowchart illustrating a method for controlling a terminal device to scan a file according to an exemplary embodiment, as shown in fig. 11, including the following steps:
in S501, an application start instruction is received.
In S502, the application is started according to the application start instruction.
In S503, a scan instruction triggered by an application is received, the scan instruction instructing to scan a file appearing in the fingerprint sensing area.
In S504, the light emitting device is controlled to emit a light signal of the preset display content, so that the screen of the terminal device displays the preset display content.
In S505, a preset speed is obtained according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, where the width of the fingerprint sensing area is the length of the side of the fingerprint sensing area parallel to the moving direction of the terminal device.
In S506, detecting whether the moving speed of the file in the fingerprint sensing area is less than a preset speed; when detecting that the moving speed of the file in the fingerprint sensing area is greater than or equal to the preset speed, executing step S507; when it is detected that the moving speed of the file in the fingerprint sensing area is less than the preset speed, step S508 is executed.
In S507, a prompt message is output, and the prompt message prompts a user to slow down the moving speed of the file.
In S508, the optical fingerprint identification module is controlled to acquire an optical signal emitted by the light emitting device on a side facing away from the screen in the fingerprint sensing area.
In S509, the optical fingerprint identification module is controlled to acquire an image of the document according to the optical signal emitted by the light emitting device on the side away from the screen.
In S5010, the image of the file is saved in a preset storage area in the terminal device in a preset file format.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 12 is a block diagram illustrating an apparatus for controlling a terminal device to scan a file, which may be implemented as part or all of an electronic device through software, hardware, or a combination of the two according to an exemplary embodiment. As shown in fig. 12, the apparatus for controlling a terminal device to scan a file includes:
a receiving module 11, configured to receive a scanning instruction; the scanning instruction indicates to scan a file appearing in the fingerprint sensing area;
the first control module 12 is configured to control the optical fingerprint identification module to acquire an optical signal corresponding to a file in the fingerprint sensing area;
and the second control module 13 is configured to control the optical fingerprint identification module to obtain an image of the file according to the optical signal.
The file appearing in the fingerprint sensing area includes: an external file; in one embodiment, as shown in fig. 13, the apparatus comprises: a third control module 14; the first control module 12 includes: a first control sub-module 121; the second control module 13 includes: a second control sub-module 131;
the third control module 14 is configured to control the light emitting device to emit a light signal to the fingerprint sensing area;
the first control sub-module 121 is configured to control the optical fingerprint identification module to receive the optical signal reflected by the document;
the second control sub-module 131 is configured to control the optical fingerprint identification module to obtain an image of the file according to the optical signal reflected by the file.
In one embodiment, as shown in fig. 14, the first control sub-module 121 includes: a first detection sub-module 1211 and a third control sub-module 1212;
the first detection submodule 1211 is configured to detect whether a moving speed of the terminal device is smaller than a preset speed;
the third control sub-module 1212 is configured to control the optical fingerprint identification module to acquire an optical signal corresponding to a file in the fingerprint sensing area when the first detection sub-module 1211 detects that the moving speed of the terminal device is smaller than a preset speed.
In one embodiment, as shown in fig. 15, the first control sub-module 121 further includes: a first output sub-module 1213;
the fourth control sub-module 1213 is configured to output a prompt message when the first detection sub-module 1211 detects that the moving speed of the terminal device is greater than or equal to a preset speed, where the prompt message prompts to slow down the moving speed of the terminal device.
The file appearing in the fingerprint sensing area includes: content displayed on a screen of the terminal device; in one embodiment, as shown in fig. 16, the apparatus comprises: a fourth control module 15; the first control module 12 includes: a fifth control sub-module 122;
the fourth control module 15 is configured to control the light emitting device to emit an optical signal of preset display content, so that a screen of the terminal device displays the preset display content;
the fifth control sub-module 122 is configured to control the optical fingerprint identification module to acquire the optical signal emitted by the light emitting device on a side facing away from the screen in the fingerprint sensing area. .
In one embodiment, as shown in FIG. 17, the fifth control sub-module 122 includes: a second detection submodule 1221 and a sixth control submodule 1222;
the second detection submodule 1221 is configured to detect whether a moving speed of the file in the fingerprint sensing area is less than a preset speed;
the sixth control submodule 1222 is configured to, when the second detection submodule 1221 detects that the moving speed of the file in the fingerprint sensing area is less than a preset speed, control the optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area.
In one embodiment, as shown in FIG. 18, the fifth control sub-module 122 further includes: a second output sub-module 1223;
the second output sub-module 1223 is configured to output a prompt message when the second detection sub-module 1221 detects that the moving speed of the file in the fingerprint sensing area is greater than or equal to a preset speed, where the prompt message prompts to slow down the moving speed of the file.
In one embodiment, as shown in fig. 19, the first control module 12 further includes: an acquisition sub-module 123;
the obtaining submodule 123 is configured to obtain the preset speed according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, where the width of the fingerprint sensing area is the length of an edge of the fingerprint sensing area that is parallel to the moving direction of the terminal device.
In one embodiment, as shown in fig. 20, the receiving module 11 includes: a first receiving submodule 111, a starting submodule 112 and a second receiving submodule 113;
the first receiving submodule 111 is configured to receive an application starting instruction;
the starting module 112 is configured to start the application according to the application starting instruction received by the first receiving submodule 111;
the second receiving submodule 113 is configured to receive the scanning instruction triggered by the application started by the starting submodule 112.
In one embodiment, as shown in fig. 21, the apparatus further comprises: a saving module 16;
the saving module 16 is configured to save the image of the file in a preset file format in a preset storage area in the terminal device.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling a terminal device to scan a file, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a scanning instruction; the scanning instruction indicates to scan a file appearing in the fingerprint sensing area;
controlling an optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area;
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal.
The processor may be further configured to:
in one embodiment, the file present in the fingerprint sensing area includes: an external file; before the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area, the method comprises the following steps:
controlling a light emitting device to emit a light signal to the fingerprint sensing area;
the control optics fingerprint identification module obtains the light signal that the file in the fingerprint response region corresponds, includes:
controlling the optical fingerprint identification module to receive an optical signal reflected by the file;
the controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal includes:
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal reflected by the file.
In one embodiment, the controlling the optical fingerprinting module to receive the light signal reflected by the document comprises:
detecting whether the moving speed of the terminal equipment is less than a preset speed or not;
and when detecting that the moving speed of the terminal equipment is less than a preset speed, controlling the optical fingerprint identification module to receive the optical signal reflected by the file.
In one embodiment, the method further comprises:
and when the moving speed of the terminal equipment is detected to be greater than or equal to the preset speed, outputting prompt information, and prompting to slow down the moving speed of the terminal equipment by the prompt information.
In one embodiment, the file present in the fingerprint sensing area includes: content displayed on a screen of the terminal device;
before the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area, the method comprises the following steps:
controlling a light-emitting device to emit a light signal of preset display content so that a screen of the terminal equipment displays the preset display content;
the control optics fingerprint identification module obtains the light signal that the file in the fingerprint response region corresponds, includes:
and controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the side departing from the screen in the fingerprint sensing area.
In one embodiment, the controlling the optical fingerprint identification module to acquire the light signal emitted by the light emitting device on the side facing away from the screen in the fingerprint sensing area includes:
detecting whether the moving speed of the file in the fingerprint sensing area is smaller than a preset speed or not;
when detecting that the moving speed of the file in the fingerprint sensing area is smaller than a preset speed, controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the surface deviating from the screen in the fingerprint sensing area.
In one embodiment, the method further comprises:
when the fact that the moving speed of the file in the fingerprint induction area is larger than or equal to the preset speed is detected, prompt information is output, and the prompt information prompts that the moving speed of the file is slowed down.
In one embodiment, the method further comprises:
and acquiring the preset speed according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, wherein the width of the fingerprint sensing area is the length of the side, parallel to the moving direction of the terminal equipment, in the fingerprint sensing area.
In one embodiment, the receiving the scan instruction includes:
receiving an application starting instruction;
starting the application according to the application starting instruction;
receiving the scan instruction triggered by the application.
In one embodiment, the method further comprises:
and storing the image of the file in a preset storage area in the terminal equipment in a preset file format.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 22 is a block diagram illustrating an apparatus 80 for controlling a terminal device to scan a file, which is suitable for the terminal device, according to an exemplary embodiment. For example, the apparatus 80 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 80 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 80, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 80. Examples of such data include instructions for any application or method operating on the device 80, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the device 80. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 80.
The multimedia component 808 includes a screen that provides an output interface between the device 80 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 80 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 80 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 80. For example, the sensor assembly 814 may detect the open/closed status of the device 80, the relative positioning of the components, such as a display and keypad of the device 80, the change in position of the device 80 or a component of the device 80, the presence or absence of user contact with the device 80, the orientation or acceleration/deceleration of the device 80, and the change in temperature of the device 80. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 80 and other devices. The device 80 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 80 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 80 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of an apparatus 80, enable the apparatus 80 to perform the above method for controlling a terminal device to scan a file, the method comprising:
receiving a scanning instruction; the scanning instruction indicates to scan a file appearing in the fingerprint sensing area;
controlling an optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area;
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal.
In one embodiment, the file present in the fingerprint sensing area includes: an external file; before the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area, the method comprises the following steps:
controlling a light emitting device to emit a light signal to the fingerprint sensing area;
the control optics fingerprint identification module obtains the light signal that the file in the fingerprint response region corresponds, includes:
controlling the optical fingerprint identification module to receive an optical signal reflected by the file;
the controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal includes:
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal reflected by the file.
In one embodiment, the controlling the optical fingerprinting module to receive the light signal reflected by the document comprises:
detecting whether the moving speed of the terminal equipment is less than a preset speed or not;
and when detecting that the moving speed of the terminal equipment is less than a preset speed, controlling the optical fingerprint identification module to receive the optical signal reflected by the file.
In one embodiment, the method further comprises:
and when the moving speed of the terminal equipment is detected to be greater than or equal to the preset speed, outputting prompt information, and prompting to slow down the moving speed of the terminal equipment by the prompt information.
In one embodiment, the file present in the fingerprint sensing area includes: content displayed on a screen of the terminal device;
before the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area, the method comprises the following steps:
controlling a light-emitting device to emit a light signal of preset display content so that a screen of the terminal equipment displays the preset display content;
the control optics fingerprint identification module obtains the light signal that the file in the fingerprint response region corresponds, includes:
and controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the side departing from the screen in the fingerprint sensing area.
In one embodiment, the controlling the optical fingerprint identification module to acquire the light signal emitted by the light emitting device on the side facing away from the screen in the fingerprint sensing area includes:
detecting whether the moving speed of the file in the fingerprint sensing area is smaller than a preset speed or not;
when detecting that the moving speed of the file in the fingerprint sensing area is smaller than a preset speed, controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the surface deviating from the screen in the fingerprint sensing area.
In one embodiment, the method further comprises:
when the fact that the moving speed of the file in the fingerprint induction area is larger than or equal to the preset speed is detected, prompt information is output, and the prompt information prompts that the moving speed of the file is slowed down.
In one embodiment, the method further comprises:
and acquiring the preset speed according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, wherein the width of the fingerprint sensing area is the length of the side, parallel to the moving direction of the terminal equipment, in the fingerprint sensing area.
In one embodiment, the receiving the scan instruction includes:
receiving an application starting instruction;
starting the application according to the application starting instruction;
receiving the scan instruction triggered by the application.
In one embodiment, the method further comprises:
and storing the image of the file in a preset storage area in the terminal equipment in a preset file format.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (22)

1. A method for controlling a terminal device to scan a file is characterized by comprising the following steps:
receiving a scanning instruction; the scanning instruction indicates to scan a file appearing in the fingerprint sensing area;
controlling an optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area;
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal.
2. The method of claim 1, wherein the files appearing in the fingerprint sensing area comprise: an external file; before the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area, the method comprises the following steps:
controlling a light emitting device to emit a light signal to the fingerprint sensing area;
the control optics fingerprint identification module obtains the light signal that the file in the fingerprint response region corresponds, includes:
controlling the optical fingerprint identification module to receive an optical signal reflected by the file;
the controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal includes:
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal reflected by the file.
3. The method of claim 1, wherein the controlling the optical fingerprinting module to receive an optical signal reflected by the document comprises:
detecting whether the moving speed of the terminal equipment is less than a preset speed or not;
and when detecting that the moving speed of the terminal equipment is less than a preset speed, controlling the optical fingerprint identification module to receive the optical signal reflected by the file.
4. The method of claim 3, further comprising:
and when the moving speed of the terminal equipment is detected to be greater than or equal to the preset speed, outputting prompt information, and prompting to slow down the moving speed of the terminal equipment by the prompt information.
5. The method of claim 1, wherein the files appearing in the fingerprint sensing area comprise: content displayed on a screen of the terminal device;
before the optical fingerprint identification module is controlled to acquire the optical signal corresponding to the file in the fingerprint sensing area, the method comprises the following steps:
controlling a light-emitting device to emit a light signal of preset display content so that a screen of the terminal equipment displays the preset display content;
the control optics fingerprint identification module obtains the light signal that the file in the fingerprint response region corresponds, includes:
and controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the side departing from the screen in the fingerprint sensing area.
6. The method of claim 5, wherein the controlling the optical fingerprint identification module to acquire the light signal emitted by the light emitting device on a side facing away from the screen in the fingerprint sensing area comprises:
detecting whether the moving speed of the file in the fingerprint sensing area is smaller than a preset speed or not;
when detecting that the moving speed of the file in the fingerprint sensing area is smaller than a preset speed, controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the surface deviating from the screen in the fingerprint sensing area.
7. The method of claim 6, further comprising:
when the fact that the moving speed of the file in the fingerprint induction area is larger than or equal to the preset speed is detected, prompt information is output, and the prompt information prompts that the moving speed of the file is slowed down.
8. The method of claim 3 or 6, further comprising:
and acquiring the preset speed according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, wherein the width of the fingerprint sensing area is the length of the side, parallel to the moving direction of the terminal equipment, in the fingerprint sensing area.
9. The method of claim 1, wherein receiving the scan instruction comprises:
receiving an application starting instruction;
starting the application according to the application starting instruction;
receiving the scan instruction triggered by the application.
10. The method of claim 1, further comprising:
and storing the image of the file in a preset storage area in the terminal equipment in a preset file format.
11. An apparatus for controlling a terminal device to scan a file, the apparatus comprising:
the receiving module is used for receiving a scanning instruction; the scanning instruction indicates to scan a file appearing in the fingerprint sensing area;
the first control module is used for controlling the optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area;
and the second control module is used for controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal.
12. The apparatus of claim 11, wherein the file appearing in the fingerprint sensing area comprises: an external file; the device comprises: a third control module; the first control module includes: a first control sub-module; the second control module includes: a second control sub-module;
the third control module is used for controlling the light-emitting device to emit a light signal to the fingerprint sensing area;
the first control sub-module is used for controlling the optical fingerprint identification module to receive the optical signal reflected by the file;
and the second control submodule is used for controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal reflected by the file.
13. The apparatus of claim 11, wherein the first control sub-module comprises: a first detection sub-module and a third control sub-module;
the first detection submodule is used for detecting whether the moving speed of the terminal equipment is smaller than a preset speed or not;
and the third control sub-module is used for controlling the optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area when the first detection sub-module detects that the moving speed of the terminal device is less than a preset speed.
14. The apparatus of claim 13, wherein the first control sub-module further comprises: a first output sub-module;
and the fourth control submodule is used for outputting prompt information when the first output submodule detects that the moving speed of the terminal equipment is greater than or equal to a preset speed, and the prompt information prompts that the moving speed of the terminal equipment is reduced.
15. The apparatus of claim 11, wherein the file appearing in the fingerprint sensing area comprises: content displayed on a screen of the terminal device; the device comprises: a fourth control module; the first control module includes: a fifth control sub-module;
the fourth control module is used for controlling the light-emitting device to emit an optical signal of preset display content so as to enable a screen of the terminal equipment to display the preset display content;
and the fifth control sub-module is used for controlling the optical fingerprint identification module to acquire the optical signal emitted by the light-emitting device on the surface deviating from the screen in the fingerprint sensing area. .
16. The apparatus of claim 15, wherein the fifth control sub-module comprises: a second detection submodule and a sixth control submodule;
the second detection submodule is used for detecting whether the moving speed of the file in the fingerprint induction area is smaller than a preset speed or not;
and the sixth control sub-module is configured to control the optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area when the second detection sub-module detects that the moving speed of the file in the fingerprint sensing area is smaller than a preset speed.
17. The apparatus of claim 16, wherein the fifth control sub-module further comprises: a second output sub-module;
and the second output submodule is used for outputting prompt information when the second detection submodule detects that the moving speed of the file in the fingerprint sensing area is greater than or equal to a preset speed, and the prompt information prompts that the moving speed of the file is reduced.
18. The apparatus of claim 13 or 16, wherein the first control module further comprises: obtaining a submodule;
the acquisition submodule is used for acquiring the preset speed according to the width of the fingerprint sensing area and the preset exposure time of one frame of image, and the width of the fingerprint sensing area is the length of the edge, parallel to the moving direction of the terminal equipment, in the fingerprint sensing area.
19. The apparatus of claim 11, wherein the receiving module comprises: the device comprises a first receiving submodule, a starting submodule and a second receiving submodule;
the first receiving submodule is used for receiving an application starting instruction;
the starting submodule is used for starting the application according to the application starting instruction received by the first receiving submodule;
the second receiving submodule is used for receiving the scanning instruction triggered by the application started by the starting submodule.
20. The apparatus of claim 11, further comprising: a storage module;
and the storage module is used for storing the image of the file in a preset storage area in the terminal equipment in a preset file format.
21. An apparatus for controlling a terminal device to scan a file, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a scanning instruction; the scanning instruction indicates to scan a file appearing in the fingerprint sensing area;
controlling an optical fingerprint identification module to acquire an optical signal corresponding to the file in the fingerprint sensing area;
and controlling the optical fingerprint identification module to acquire the image of the file according to the optical signal.
22. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, carry out the steps of the method according to any one of claims 1 to 10.
CN201811513404.5A 2018-12-11 2018-12-11 Method and device for controlling terminal equipment to scan files Active CN111314572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811513404.5A CN111314572B (en) 2018-12-11 2018-12-11 Method and device for controlling terminal equipment to scan files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811513404.5A CN111314572B (en) 2018-12-11 2018-12-11 Method and device for controlling terminal equipment to scan files

Publications (2)

Publication Number Publication Date
CN111314572A true CN111314572A (en) 2020-06-19
CN111314572B CN111314572B (en) 2022-03-18

Family

ID=71161208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811513404.5A Active CN111314572B (en) 2018-12-11 2018-12-11 Method and device for controlling terminal equipment to scan files

Country Status (1)

Country Link
CN (1) CN111314572B (en)

Citations (5)

* 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
CN102843490A (en) * 2011-06-22 2012-12-26 Lg电子株式会社 Scanning technology
US20180005005A1 (en) * 2015-06-18 2018-01-04 Shenzhen GOODIX Technology Co., Ltd. Under-lcd screen optical sensor module for on-screen fingerprint sensing
US20180129798A1 (en) * 2015-06-18 2018-05-10 Shenzhen GOODIX Technology Co., Ltd. Optical sensing performance of under-screen optical sensor module for on-screen fingerprint sensing
CN108052898A (en) * 2017-12-12 2018-05-18 京东方科技集团股份有限公司 Fingerprint Identification sensor, display device and fingerprint identification method

Patent Citations (5)

* 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
CN102843490A (en) * 2011-06-22 2012-12-26 Lg电子株式会社 Scanning technology
US20180005005A1 (en) * 2015-06-18 2018-01-04 Shenzhen GOODIX Technology Co., Ltd. Under-lcd screen optical sensor module for on-screen fingerprint sensing
US20180129798A1 (en) * 2015-06-18 2018-05-10 Shenzhen GOODIX Technology Co., Ltd. Optical sensing performance of under-screen optical sensor module for on-screen fingerprint sensing
CN108052898A (en) * 2017-12-12 2018-05-18 京东方科技集团股份有限公司 Fingerprint Identification sensor, display device and fingerprint identification method

Also Published As

Publication number Publication date
CN111314572B (en) 2022-03-18

Similar Documents

Publication Publication Date Title
US10452890B2 (en) Fingerprint template input method, device and medium
JP6267363B2 (en) Method and apparatus for taking images
US10942616B2 (en) Multimedia resource management method and apparatus, and storage medium
KR101821750B1 (en) Picture processing method and device
US20180091660A1 (en) Content sharing method and device, and medium
EP3179711B1 (en) Method and apparatus for preventing photograph from being shielded
EP3226204A1 (en) Method and apparatus for intelligently capturing image
CN108108418B (en) Picture management method, device and storage medium
US20160156837A1 (en) Alternative camera function control
KR20140104748A (en) Image capturing using multiple screen sections
EP3640838A1 (en) Method, device, and system for issuing warning information
US11574415B2 (en) Method and apparatus for determining an icon position
US20170054906A1 (en) Method and device for generating a panorama
EP3232301A1 (en) Mobile terminal and virtual key processing method
CN106504295B (en) Method and device for rendering picture
JP2017532618A (en) Information processing method and apparatus
US20170094189A1 (en) Electronic apparatus, imaging method, and non-transitory computer readable recording medium
CN105323491A (en) Image shooting method and device
CN109862169B (en) Electronic equipment control method, device and storage medium
US20210014398A1 (en) Photographing method, device, and system
CN111314572B (en) Method and device for controlling terminal equipment to scan files
CN107832112B (en) Wallpaper setting method and device
CN108319899B (en) Fingerprint identification method and device
CN107844257B (en) Information display method, device, terminal and storage medium
CN106569985B (en) Information editing method and device

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