Scanning pre-calibration method and device, storage medium and electronic equipment

By obtaining the scanning environment brightness information and correcting the scan data before the MFP scan, the problem of degradation of the MFP scanning effect is solved, and high-quality scanned images are achieved.

CN119603402APending Publication Date: 2025-03-11GUANGZHOU ZHONO ELECTRONICS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411648616.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

As the service life of MFP increases or changes in the use environment, the scanning imaging effect will decrease to a certain extent or be unstable.

Method used

Before scanning the target file, the brightness information in the scanning environment is obtained and the correction parameters are obtained based on the brightness information, which are used to correct the scanning data of the target file.

Benefits of technology

By obtaining the currently required correction parameters before the formal scan, the scanning data of the target file can be corrected, so that high-quality images of the target file can be obtained.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603402A_ABST
    Figure CN119603402A_ABST
Patent Text Reader

Abstract

The invention provides a scanning pre-calibration method and device, a storage medium and electronic equipment, and relates to the field of office equipment. The method comprises the following steps: before scanning a target file, acquiring brightness information in a scanning environment by the electronic equipment; according to the brightness information, correction parameters are obtained, and the correction parameters are used for correcting scanning data of the target file. Therefore, the currently required correction parameter is obtained before formal scanning is performed on the target file and is used for correcting the scanning data of the target file, so that a high-quality image of the target file can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of office equipment, and in particular to a scanning pre-calibration method, device, storage medium and electronic device. Background Art

[0002] In order to meet the multi-faceted demands of modern office environments for efficiency, cost, space and environmental protection, more and more office equipment has integrated scanning functions. For example, the current MFP (Multi-Functional Peripheral) is a device that integrates multiple office functions. The scanning part mostly uses a contact image sensor (CIS), which consists of a series of closely arranged image sensors that can sense light changes and convert them into electrical signals. The CIS is located below the scanning platform and maintains a certain distance from the scanning platform. This design can capture the details of the document surface very closely, allowing the CIS to better adapt to the ups and downs of the document surface during scanning, thereby improving the scanning quality.

[0003] When the user needs to print a document, he needs to place the document to be printed on the scanning platform of the MFP and start the scanning function, and the MFP starts working. The built-in scanning light of the MFP will illuminate the document to be scanned, and the light will pass through the document so that the text and images on the document are projected onto the CIS. During the scanning process, the image sensor in the CIS scans the document line by line, and each sensor will record the intensity of the light it receives. This intensity information represents the color and brightness of each pixel on the document. As the scanning platform moves, the CIS captures the content of the entire document line by line, and finally forms a complete digital image for printing or other operations.

[0004] However, it has been found in practice that as the MFP ages or the usage environment changes, its scanning and imaging effect will decline or become unstable to a certain extent. Summary of the invention

[0005] In order to overcome at least one of the deficiencies in the prior art, the present application provides a scanning pre-calibration method, device, storage medium and electronic device, specifically including:

[0006] In a first aspect, the present application provides a scanning pre-calibration method, applied to an electronic device, the method comprising:

[0007] Before scanning the target document, brightness information in the scanning environment is obtained;

[0008] A correction parameter is obtained according to the brightness information, wherein the correction parameter is used to correct the scan data of the target file.

[0009] In combination with an optional implementation manner of the first aspect, the electronic device includes a scanning light for auxiliary scanning, the brightness information includes first brightness information and second brightness information, and acquiring the brightness information in the scanning environment includes:

[0010] Under the condition that the scanning light is turned off, obtaining the first brightness information according to the pre-scanning data;

[0011] Under the condition that the scanning light is turned on, the second brightness information is obtained according to the pre-scanning data.

[0012] In combination with an optional implementation manner of the first aspect, under the condition that the scanning light is turned off, obtaining the first brightness information according to the pre-scanning data includes:

[0013] Under the condition that the scanning light is turned off, it is determined whether a first number of first brightness values ​​can be obtained within a preset number of scanning operations, wherein each of the first brightness values ​​is a brightness value less than a first brightness threshold, and the pre-scan data obtained each time the scanning operation corresponds to a brightness value.

[0014] If a first number of first brightness values ​​can be obtained, the first number of first brightness values ​​are used as the first brightness information.

[0015] In combination with an optional implementation manner of the first aspect, obtaining the second brightness information according to pre-scan data under the condition that the scanning light is turned on includes:

[0016] Under the condition that the scanning light is turned on, it is determined whether a second number of second brightness values ​​can be obtained within a preset number of scanning operations, wherein each of the second brightness values ​​is a brightness value greater than a second brightness threshold, and the pre-scan data obtained each time the scanning operation corresponds to a brightness value.

[0017] If a second number of second brightness values ​​can be obtained, the second number of second brightness values ​​are used as the second brightness information.

[0018] In combination with the optional implementation manner of the first aspect, the step of obtaining the second brightness information according to the pre-scan data under the condition that the scanning light is turned on further includes:

[0019] If the second number of second brightness values ​​cannot be obtained, an alarm message is issued.

[0020] In combination with the optional implementation manner of the first aspect, the method further includes:

[0021] Obtaining a first scanning number of times for obtaining the first number of first brightness values ​​and a second scanning number of times for obtaining the second number of second brightness values;

[0022] A preheating number is obtained according to the first scanning number and the second scanning number, and the preheating number is used to indicate that before scanning the target file, scanning and preheating are performed according to the preheating number.

[0023] In combination with the optional implementation manner of the first aspect, the first brightness information includes a first number of first brightness values ​​and the second brightness information includes a second number of second brightness values; the correction parameters include correction parameters when the scanning light is turned off and correction parameters when the scanning light is turned on;

[0024] The obtaining of correction parameters according to the brightness information includes:

[0025] Obtaining, according to the first number of first brightness values, a correction parameter under the condition that the scanning light is turned off;

[0026] According to the second number of second brightness values, a correction parameter under the condition that the scanning light is turned on is obtained.

[0027] In a second aspect, the present application further provides a scanning pre-calibration device, applied to an electronic device, the device comprising:

[0028] A brightness information module is used to obtain brightness information in a scanning environment before scanning a target file;

[0029] A correction parameter module is used to obtain correction parameters according to the brightness information, wherein the correction parameters are used to correct the scan data of the target file.

[0030] In conjunction with an optional implementation manner of the second aspect, the electronic device includes a scanning light for auxiliary scanning, the brightness information includes first brightness information and second brightness information, and the brightness information module is further specifically used for:

[0031] Under the condition that the scanning light is turned off, obtaining the first brightness information according to the pre-scanning data;

[0032] Under the condition that the scanning light is turned on, the second brightness information is obtained according to the pre-scanning data.

[0033] In conjunction with the optional implementation manner of the second aspect, the brightness information module is further specifically used for:

[0034] Under the condition that the scanning light is turned off, it is determined whether a first number of first brightness values ​​can be obtained within a preset number of scanning operations, wherein each of the first brightness values ​​is a brightness value less than a first brightness threshold, and the pre-scan data obtained each time the scanning operation corresponds to a brightness value.

[0035] If a first number of first brightness values ​​can be obtained, the first number of first brightness values ​​are used as the first brightness information.

[0036] In conjunction with the optional implementation manner of the second aspect, the brightness information module is further specifically used for:

[0037] Under the condition that the scanning light is turned on, it is determined whether a second number of second brightness values ​​can be obtained within a preset number of scanning operations, wherein each of the second brightness values ​​is a brightness value greater than a second brightness threshold, and the pre-scan data obtained each time the scanning operation corresponds to a brightness value.

[0038] If a second number of second brightness values ​​can be obtained, the second number of second brightness values ​​are used as the second brightness information.

[0039] In conjunction with the optional implementation manner of the second aspect, the brightness information module is further specifically used for:

[0040] If the second number of second brightness values ​​cannot be obtained, an alarm message is issued.

[0041] In conjunction with the optional implementation manner of the second aspect, the correction parameter module is further used to:

[0042] Obtaining a first scanning number of times for obtaining the first number of first brightness values ​​and a second scanning number of times for obtaining the second number of second brightness values;

[0043] A preheating number is obtained according to the first scanning number and the second scanning number, and the preheating number is used to indicate that before scanning the target file, scanning and preheating are performed according to the preheating number.

[0044] In conjunction with the optional implementation manner of the second aspect, the first brightness information includes a first number of first brightness values ​​and the second brightness information includes a second number of second brightness values; the correction parameter includes a correction parameter when the scanning light is turned off and a correction parameter when the scanning light is turned on; and the correction parameter module is further specifically used to:

[0045] Obtaining, according to the first number of first brightness values, a correction parameter under the condition that the scanning light is turned off;

[0046] According to the second number of second brightness values, a correction parameter under the condition that the scanning light is turned on is obtained.

[0047] In a third aspect, the present application further provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the scanning pre-calibration method is implemented.

[0048] In a fourth aspect, the present application further provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the scanning pre-calibration method is implemented.

[0049] Compared with the prior art, this application has the following beneficial effects:

[0050] In the scanning pre-calibration method, device, storage medium and electronic device provided by the present application, before scanning the target document, the electronic device obtains brightness information in the scanning environment; obtains correction parameters according to the brightness information, wherein the correction parameters are used to correct the scanned data of the target document. In this way, by obtaining the currently required correction parameters before formally scanning the target document, the scanned data of the target document is corrected, thereby obtaining a high-quality image of the target document. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 One of the flow charts of the scanning pre-calibration method provided in the embodiment of the present application;

[0053] Figure 2 A second flowchart of the scanning pre-calibration method provided in an embodiment of the present application;

[0054] Figure 3 A schematic diagram of the structure of a scanning pre-calibration device provided in an embodiment of the present application;

[0055] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0057] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0058] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0059] In the description of the present application, it should be noted that the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance. In addition, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include a ..." are not excluded.

[0060] Based on the above statement, as introduced in the background technology, it is found in practice that as the MFP is used for a longer period of time, its scanning and imaging effect will decline or become unstable to a certain extent. In this regard, after research, it is found that it is mainly affected by factors such as the temperature of the operating environment, the attenuation of the sensor life, and the wear and aging of the equipment itself. For example, long-term use may cause the sealing performance of the scanning environment to deteriorate, and the originally tight structure may produce tiny gaps due to wear. These gaps allow ambient light to enter the scanning room, thereby changing the light conditions in the scanning room, so that the light compensation parameters preset when the equipment leaves the factory are no longer applicable to the changed scanning environment.

[0061] Based on the discovery of the above technical problems, the inventors have proposed the following technical solutions to solve or improve the above problems through creative work. It should be noted that the defects in the solutions in the above prior art are the results obtained by the inventors after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed in the embodiments of the present application for the above problems below should all be the contributions made by the inventors to the present application in the process of invention and creation, and should not be understood as technical contents known to those skilled in the art.

[0062] In view of this, this embodiment provides a scanning pre-calibration method. In the method, before scanning the target document, the electronic device obtains brightness information in the scanning environment; obtains correction parameters according to the brightness information, wherein the correction parameters are used to correct the scanned data of the target document. In this way, by obtaining the currently required correction parameters before formally scanning the target document, the scanned data of the target document is corrected, thereby obtaining a high-quality image of the target document.

[0063] It should be noted that the electronic device implementing the method may be any device having a scanning function, for example, a scanner having only a scanning function, a printer having a scanning function, a multifunction machine, etc.

[0064] To make the solution provided by this embodiment clearer, a printer is used as an electronic device to implement the method, and Figure 1 Each step of the method is described in detail. However, it should be understood that the operations of the flowchart may not be implemented in order, and steps without logical contextual relationships may be reversed in order or implemented simultaneously. In addition, those skilled in the art may add one or more other operations to the flowchart, or remove one or more operations from the flowchart under the guidance of the content of this application. Figure 1 As shown, the method includes:

[0065] S1, before scanning the target document, obtaining brightness information in the scanning environment.

[0066] The target file is the file to be scanned, and the scanning environment refers to the space in the printer used to scan the target file, which is usually located at the top or front of the device and is a platform for placing the target file. In the scanning environment, the file is optically scanned or electronically captured to convert it into a digital signal so that it can be printed or viewed, edited and saved on a computer.

[0067] It should be noted that the printer includes a scanning light for auxiliary scanning, and the brightness of the scanning light may decay or the color temperature may change after long-term use, which will affect the brightness and color of the scanned image. Therefore, obtaining the calibration parameters when the scanning light is turned on can ensure that the current state of the light source is accurately recorded, and adjust the scanning data accordingly to compensate for the impact of the light source change.

[0068] In addition, it should be understood that if there are other light sources in the environment, they may enter the scanning area through the gaps in the scanner cover or other channels, causing ambient light interference. Therefore, obtaining calibration parameters with the scanning light turned off can help detect and quantify this interference, so that corresponding compensation can be made during the scanning process to avoid the impact of ambient light on image quality.

[0069] Therefore, after the target file is placed in the printer, the present embodiment does not immediately scan and print, but first performs a pre-scan operation to obtain brightness information in the scanning environment. Figure 2 As shown, as an optional implementation of step S1, it may include:

[0070] S1-1, when the scanning light is turned off, obtaining first brightness information according to pre-scanning data.

[0071] After a lot of tests in practice, it was found that there is actually a lot of noise in the initial scan data of the printer. If these noises are not distinguished, the final correction effect will be affected. It is worth noting that the CIS is composed of a series of closely arranged image sensors, and each scan will obtain a line of scan data. Each line of scan data includes pixel values ​​of multiple pixels. In this embodiment, each pixel value is regarded as the brightness of the pixel, and the average or maximum brightness of a line of scan data is used as the brightness value of a line of scan data.

[0072] After actual testing, it was found that when scanning with the scanning light turned off, the average brightness of the first row of scan data was 70, the average brightness of the second row of scan data dropped to 20, and the average brightness of the third row of scan data was 40. At this time, if the noise is not filtered, there may be two processing methods: one is to directly use 70 as the correction parameter based on the result of the first scan to correct the black pixels. That is, for black pixels, subtract 70 from the scan data to obtain the corrected pixel value. The other is to calculate the average of 70, 20, and 40, that is, 43, as the correction parameter for correcting black pixels. That is, for black pixels, subtract 43 from the scan data to obtain the corrected pixel value. It is not difficult to see that due to the lack of noise filtering, the correction parameters obtained by the two methods are very different.

[0073] The study further found that when the scanning light is turned off, the average brightness of each scan data should have an upper limit, otherwise, it should be regarded as noise or an abnormality. For example, when each pixel has a total of 8 bits, its maximum brightness is 255, and 10% of the maximum brightness, that is, 25, can be used as the first brightness threshold when the scanning light is turned off. Therefore, in an optional implementation, the control device determines whether a first number of first brightness values ​​can be obtained within a preset number of scanning operations under the condition that the scanning light is turned off, wherein each first brightness value is a brightness value less than the first brightness threshold, and the pre-scan data obtained from each scanning operation corresponds to a brightness value. If the first number of first brightness values ​​can be obtained, the first number of first brightness values ​​are used as the first brightness information.

[0074] Exemplarily, 25 is continued to be used as the first brightness threshold. In addition, the preset number of times is 5 times, and the first number is 3. Based on these conditions, it is assumed that the control device obtains an average brightness value of 70 for the first row of pre-scan data, an average brightness value of 20 for the second row of pre-scan data, and an average brightness value of 40 for the third row of pre-scan data. Since the average brightness value of the first row of pre-scan data and the average brightness value of the third row of pre-scan data are both greater than 25, they are regarded as noise in the scan data. Since it is necessary to obtain three first brightness values, the control device scans two more rows of pre-scan data. If the average brightness value of these two rows of pre-scan data is less than 25, the average brightness value of these two rows of pre-scan data and the average brightness of the second row of pre-scan data are used as the first brightness information; otherwise, an alarm message is issued. Among them, the reason why the three first brightness values ​​cannot be obtained after 5 scans may be, but not limited to, hardware damage, improper user operation (for example, the cover is not covered during scanning, and the paper is not placed flat), etc.

[0075] In addition, for the scanning method of obtaining brightness information, in addition to first scanning to obtain three lines of preset scanning data to obtain three average brightness values, and then further scanning according to the missing number, the control device can also obtain pre-scan data line by line until three first brightness values ​​are obtained or after five scanning operations, and issue an alarm notification to facilitate the user to adjust the printer operation, etc.

[0076] Based on the introduction of the conditions for turning off the scanning light in the above embodiment, it is also necessary to calibrate the conditions for turning on the scanning light. Therefore, step S1 further includes:

[0077] S1-2, under the condition that the scanning light is turned on, obtaining second brightness information according to the pre-scanning data.

[0078] Similar to the condition when the scanning light is turned off, under the condition when the scanning light is turned on, the control device can determine whether a second number of second brightness values ​​can be obtained within a preset number of scanning operations, wherein each second brightness value is a brightness value greater than a second brightness threshold, and the pre-scan data obtained in each scanning operation corresponds to a brightness value. If the second number of second brightness values ​​can be obtained, the second number of second brightness values ​​are used as the second brightness information; otherwise, an alarm notification is issued.

[0079] When determining the second brightness threshold, 90% of the maximum brightness can be used as the first brightness threshold. For example, assuming that each pixel has 8 bits, the second brightness threshold is 229. In addition, the cause of the alarm notification may be, but is not limited to, damage to the scanning lamp, incorrect scanning time, and incorrect position of the calibration white bar point. Therefore, it is necessary to adjust the brightness of the scanning lamp or the motor position.

[0080] Based on the introduction of the brightness information in step S1 in the above embodiment, see Figure 1 , the method provided in this embodiment also includes:

[0081] S2, obtaining correction parameters according to the brightness information.

[0082] The correction parameter is used to correct the scan data of the target file. As an optional implementation, as described in the above embodiment, the brightness information includes first brightness information and second brightness information, the first brightness information includes a second number of first brightness values, and the second brightness information includes a second number of second brightness values. The control device can obtain the correction parameter under the condition that the scanning light is turned off according to the second number of first brightness values; and obtain the correction parameter under the condition that the scanning light is turned on according to the second number of second brightness values.

[0083] For example, the average of the second number of first brightness values ​​is used as the calibration parameter when the scanning light is turned off; similarly, the average of the second number of second brightness values ​​is used as the calibration parameter when the scanning light is turned on. In this way, the actual scanned data of the target file is calibrated by the calibration parameters when the scanning light is turned off and the calibration parameters when the scanning light is turned on, so as to obtain more accurate scanned data.

[0084] In addition, in the process of studying the noise in the scan data, it is also found that compared with a brand new printer, as the printer ages, the data at the beginning of the scan is not stable. In this regard, the control device in this embodiment also obtains the first scan number of the first brightness value of the second quantity and the second scan number of the second brightness value of the second quantity; obtains the preheating number according to the first scan number and the second scan number, wherein the preheating number is used to indicate that the target document is scanned and preheated according to the preheating number before scanning.

[0085] Exemplarily, the number of preheating times may be the average of the first scanning number and the second scanning number, or the maximum value of the two. Taking the maximum value as an example, if the first scanning number is 3 times and the second scanning number is 4 times, the number of preheating times is 4 times. Before scanning the target file, the control device first scans 4 times to obtain 4 scan data, regards these 4 scan data as invalid data and discards them, and then formally scans the target file.

[0086] Based on the same inventive concept as the scanning pre-calibration method provided in this embodiment, this embodiment also provides a scanning pre-calibration device, which includes at least one software function module that can be stored in a memory or fixed in an electronic device in the form of software. The processor in the electronic device is used to execute the executable module stored in the memory. For example, the software function module and computer program included in the device. Please refer to Figure 3 , functionally speaking, the device may include:

[0087] The brightness information module 11 is used to obtain brightness information in the scanning environment before scanning the target document;

[0088] The correction parameter module 12 is used to obtain correction parameters according to the brightness information, wherein the correction parameters are used to correct the scan data of the target file.

[0089] In this embodiment, the brightness information module 11 is used to implement Figure 1 In step S1, the correction parameter module 12 is used to implement Figure 1 Therefore, for the detailed description of the above modules, please refer to the specific implementation of the corresponding steps. It should also be noted that since the scanning pre-calibration method has the same inventive concept, the scanning pre-calibration device can also implement other steps or sub-steps of the method through the above modules, which will not be described in detail in this embodiment.

[0090] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0091] It should also be understood that if the above implementation is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.

[0092] Therefore, this embodiment further provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by the processor, the scanning pre-calibration method provided in this embodiment is implemented. Among them, the storage medium can be a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, etc., which can store program codes.

[0093] This embodiment provides an electronic device for implementing a scanning pre-calibration method. Figure 4As shown, the electronic device includes a processor 22 and a memory 21. In addition, the memory 21 stores a computer program, and the processor implements the scanning pre-calibration method provided in this embodiment by reading and executing the computer program corresponding to the above implementation manner in the memory 21.

[0094] Continue to see Figure 4 The electronic device further includes a communication unit 23. The memory 21, the processor 22 and the communication unit 23 are electrically connected to each other directly or indirectly through a system bus 24 to achieve data transmission or interaction.

[0095] The memory 21 may be an information recording device based on any electronic, magnetic, optical or other physical principle, used to record execution instructions, data, etc. In some embodiments, the memory 21 may be, but is not limited to, a volatile memory, a non-volatile memory, a storage drive, etc.

[0096] In some embodiments, the volatile memory may be a random access memory (RAM); in some embodiments, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), a flash memory, etc.; in some embodiments, the storage drive may be a disk drive, a solid-state drive, any type of storage disk (such as a CD, a DVD, etc.), or a similar storage medium, or a combination thereof, etc.

[0097] The communication unit 23 is used to send and receive data through a network. In some embodiments, the network may include a wired network, a wireless network, a fiber optic network, a telecommunication network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof. In some embodiments, the network may include one or more network access points. For example, the network may include a wired or wireless network access point, such as a base station and / or a network switching node, through which one or more components of the service request processing system may be connected to the network to exchange data and / or information.

[0098] The processor 22 may be an integrated circuit chip having a signal processing capability, and the processor may include one or more processing cores (e.g., a single-core processor or a multi-core processor). By way of example only, the processor may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC), or a microprocessor, or any combination thereof.

[0099] Understandably, Figure 4The structure shown is for illustration only. The electronic device may also have Figure 4 More or fewer components than shown, or with Figure 4 Different configurations are shown. Figure 4 The components shown may be implemented in hardware, software or a combination thereof.

[0100] It should be understood that the apparatus and method disclosed in the above-mentioned embodiments can also be implemented in other ways. The apparatus embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the apparatus, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0101] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A scanning pre-calibration method, characterized in that: Applied to electronic equipment, the method comprises: Before scanning the target document, brightness information in the scanning environment is obtained; A correction parameter is obtained according to the brightness information, wherein the correction parameter is used to correct the scan data of the target file.

2. The scanning pre-calibration method according to claim 1, characterized in that: The electronic device includes a scanning light for auxiliary scanning, the brightness information includes first brightness information and second brightness information, and the step of acquiring the brightness information in the scanning environment includes: Under the condition that the scanning light is turned off, obtaining the first brightness information according to the pre-scanning data; Under the condition that the scanning light is turned on, the second brightness information is obtained according to the pre-scanning data.

3. The scanning pre-calibration method according to claim 2, characterized in that: Under the condition that the scanning lamp is turned off, obtaining the first brightness information according to the pre-scanning data includes: Under the condition that the scanning light is turned off, determining whether a first number of first brightness values ​​can be obtained within a preset number of scanning operations, wherein each of the first brightness values ​​is a brightness value less than a first brightness threshold, and the pre-scan data obtained by each scanning operation corresponds to a brightness value; If a first number of first brightness values ​​can be obtained, the first number of first brightness values ​​are used as the first brightness information.

4. The scanning pre-calibration method according to claim 2 or 3, characterized in that: The step of obtaining the second brightness information according to the pre-scan data under the condition that the scanning light is turned on includes: Under the condition that the scanning light is turned on, determining whether a second number of second brightness values ​​can be obtained within a preset number of scanning operations, wherein each of the second brightness values ​​is a brightness value greater than a second brightness threshold, and the pre-scan data obtained by each scanning operation corresponds to a brightness value; If a second number of second brightness values ​​can be obtained, the second number of second brightness values ​​are used as the second brightness information.

5. The scanning pre-calibration method according to claim 4, characterized in that: The step of obtaining the second brightness information according to the pre-scan data under the condition that the scanning lamp is turned on also includes: If the second number of second brightness values ​​cannot be obtained, an alarm message is issued.

6. The scanning pre-calibration method according to claim 4, characterized in that: The method further comprises: Obtaining a first scanning number of times for obtaining the first number of first brightness values ​​and a second scanning number of times for obtaining the second number of second brightness values; A preheating number is obtained according to the first scanning number and the second scanning number, and the preheating number is used to indicate that before scanning the target file, scanning and preheating are performed according to the preheating number.

7. The scanning pre-calibration method according to claim 2, characterized in that: The first brightness information includes a first number of first brightness values ​​and the second brightness information includes a second number of second brightness values; the correction parameters include correction parameters when the scanning light is turned off and correction parameters when the scanning light is turned on; The obtaining of correction parameters according to the brightness information includes: Obtaining, according to the first number of first brightness values, a correction parameter under the condition that the scanning light is turned off; According to the second number of second brightness values, a correction parameter under the condition that the scanning light is turned on is obtained.

8. A scanning pre-calibration device, characterized in that: Applied to electronic equipment, the device comprises: A brightness information module is used to obtain brightness information in a scanning environment before scanning a target file; A correction parameter module is used to obtain correction parameters according to the brightness information, wherein the correction parameters are used to correct the scan data of the target file.

9. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the scanning pre-calibration method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the scanning pre-calibration method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Data processing method, device, equipment, system, storage medium and program product

    CN121442048A