Screen copying method and device of electronic equipment, electronic equipment and storage medium

By processing and presenting the scanned image on the screen side of the electronic device, the problem of large-area black occurs when scanning electronic devices with screens is solved, and the effect of saving consumables and reducing costs is achieved.

CN119766936AActive Publication Date: 2025-04-04ZHUHAI PANTUM ELECTRONICS CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202411720439.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-04-04
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

When scanning electronic devices with screens, the prior art causes large areas of black to appear outside the screen, affecting the user's visual perception, and copying large areas of black will waste consumables and increase costs.

Method used

By acquiring the scanned image corresponding to the screen side of the electronic device, image processing is performed to obtain the target scanned image, and present the image on the image forming medium, thereby only the image area of ​​the screen part is displayed, saving consumables.

Benefits of technology

It is realized that only the image of the electronic device screen is displayed on the image forming medium, avoiding invalid black areas, saving consumables and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766936A_ABST
    Figure CN119766936A_ABST
Patent Text Reader

Abstract

The invention provides a screen copying method and device of electronic equipment, the electronic equipment and a storage medium. The screen copying method comprises the steps that a scanning image corresponding to the screen side of the electronic equipment is acquired; image processing is carried out on the scanning image, a target scanning image is obtained, and the target scanning image is a processed image corresponding to the screen part of the electronic equipment; an image forming job is performed on the target scan image such that the target scan image is presented on an image forming medium. As the target scanning image in the application is the processed image corresponding to the screen part of the electronic equipment, when the target scanning image is presented on the image forming medium, only the image area corresponding to the screen has a color, and other parts have no color, so that consumables are saved, and the cost is saved. In addition, the scanning image corresponding to the complete page is obtained at a time, so that consumables and paper are saved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image forming technology, and in particular to a screen copying method and device for an electronic device, an electronic device, and a storage medium. Background Art

[0002] An image forming apparatus is a device that forms an image on an image forming medium by the imaging principle, such as a printer, a copier, a fax machine, a multifunctional image making and copying apparatus, an electrostatic printing apparatus, and any other similar apparatus.

[0003] In the related art, when an image forming device scans an object, light is emitted by a scanning lamp, and the light is reflected on the object to be copied. The image forming device collects the reflected light and generates an image based on the reflected light, and presents the image on an image forming medium.

[0004] However, when the object to be copied is a thicker electronic device with a screen (for example, a mobile phone screen), it can only be scanned with the cover opened. Therefore, there will be a large area of ​​black outside the screen of the electronic device in the scanned image, which affects the user's viewing experience. In addition, copying a large area of ​​black will waste more consumables and increase costs.

[0005] It should be pointed out that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention

[0006] In view of this, the present application provides a screen copying method, device, electronic device and storage medium for an electronic device, so as to solve the problem in the prior art that in the image generated by scanning, there is a large area of ​​black outside the screen of the electronic device, which affects the user's viewing experience, and copying a large area of ​​black will waste more consumables and increase costs.

[0007] In a first aspect, an embodiment of the present application provides a screen copying method of an electronic device, which is applied to an image forming device, wherein the electronic device includes a screen, and the method includes:

[0008] Acquire a scanned image corresponding to the screen side of the electronic device;

[0009] Performing image processing on the scanned image to obtain a target scanned image, wherein the target scanned image is a processed image corresponding to a screen portion of the electronic device;

[0010] An image forming operation is performed on the target scanned image so that the target scanned image appears on an image forming medium.

[0011] In the embodiment of the present application, the scanned image corresponding to the screen side of the electronic device is first obtained, and then the scanned image is processed to obtain the target scanned image, and finally the image of the screen of the electronic device on the image forming medium can be obtained by performing an image forming operation on the target scanned image. It can be understood that because the target scanned image in the present application is a processed image corresponding to the screen part of the electronic device, when the target scanned image is presented on the image forming medium, only the image area corresponding to the screen has color, and the other parts have no color, which saves consumables and thus saves costs.

[0012] In a possible implementation, the acquiring the scanned image corresponding to the screen side of the electronic device includes:

[0013] A scanned image between the top of the page in the scrolling direction of the screen of the electronic device and the bottom of the page in the scrolling direction of the screen is acquired.

[0014] In the embodiment of the present application, a scanned image corresponding to a complete page displayed on the screen of the electronic device is obtained at one time. It can be understood that when the page length is greater than the screen length, a scanned image corresponding to the complete page can still be obtained at one time, thereby saving consumables and paper, and improving the user experience.

[0015] In a possible implementation, acquiring a scanned image between a top of a page in a scrolling direction of a screen of the electronic device and a bottom of the page in the scrolling direction of the screen includes:

[0016] Controlling the scanning device to scan from the top of the screen in the scrolling direction of the screen of the electronic device to the bottom of the screen in the scrolling direction of the screen;

[0017] Controlling the scanning device to stop moving;

[0018] Sending a screen scrolling instruction to the electronic device, wherein the screen scrolling instruction is used to control the electronic device to scroll the screen according to a preset screen scrolling setting;

[0019] receiving a scroll end instruction sent by the electronic device, ending scanning, and obtaining a scanned image;

[0020] The image forming device is communicatively connected to the electronic device.

[0021] In the embodiment of the present application, through information interaction between the image forming device and the electronic device, the image forming device can control the electronic device to scroll the screen, thereby splicing complete pages into a complete scanned image, and then presenting the complete scanned image on an image forming medium, saving consumables and paper and improving user experience.

[0022] In a possible implementation manner, performing image processing on the scanned image to obtain a target scanned image includes:

[0023] Cropping the image corresponding to the screen portion of the electronic device in the scanned image to obtain the image corresponding to the screen portion of the electronic device;

[0024] The angle and size of the image corresponding to the screen portion of the electronic device are adjusted to obtain a target scan image.

[0025] In the embodiment of the present application, the scanning device cannot only scan the portion where the screen of the electronic device is located, and the portion outside the screen of the electronic device is scanned, which easily affects the presentation effect of the scanned image on the image forming medium. Therefore, after the image forming device completes the scanning, the obtained image is cropped to obtain the image corresponding to the screen portion, and the angle and size of the image corresponding to the screen portion are adjusted. It can be understood that cropping can avoid obtaining invalid information, and adjusting the angle and size of the image can make the image corresponding to the screen portion appear straight and clearly on the image forming medium.

[0026] In a possible implementation, the acquiring the scanned image corresponding to the screen side of the electronic device includes:

[0027] Outputting prompt information according to the image forming mode selected by the user, wherein the prompt information is used to prompt the user to adjust the configuration of the electronic device so that the screen of the electronic device is kept on for a time period greater than or equal to a preset time threshold in the scanning area of ​​the image forming device;

[0028] In response to the image forming instruction input by the user, a scan image corresponding to the screen side of the electronic device is acquired.

[0029] In an embodiment of the present application, the user is prompted to adjust the configuration of the electronic device so that the screen of the electronic device is on for a time greater than or equal to a preset time threshold in the scanning area of ​​the image forming device, and the scanning is started only after receiving the image forming instruction input by the user. It can be understood that prompting the user to adjust the configuration of the electronic device can avoid the electronic device turning off the screen in advance, resulting in a black screen during scanning. In other words, the method provided by the present application enables the image forming device to obtain the image corresponding to the complete page.

[0030] In a possible implementation, the acquiring the scanned image corresponding to the screen side of the electronic device includes:

[0031] The light emitting device in the scanning device is turned off, and the screen side of the electronic device is scanned to obtain a scanned image corresponding to the screen side of the electronic device.

[0032] In the embodiment of the present application, because the screen of the electronic device itself has a light-emitting characteristic, the light-emitting device in the scanning device can be turned off when acquiring the scanned image corresponding to the screen side of the electronic device. It can be understood that after turning off the light-emitting device, the frame, housing and surrounding non-luminous objects of the electronic device will not be scanned by the scanning device, which is more conducive to scanning to obtain the screen display content, and provides convenience for subsequent image processing, which can improve work efficiency.

[0033] In a second aspect, an embodiment of the present application provides a screen copying method of an electronic device, which is applied to an electronic device, wherein the electronic device is communicatively connected to an image forming device, and the electronic device includes a screen, and the method includes:

[0034] receiving a screen scrolling instruction sent by the image forming device, wherein the screen scrolling instruction includes a preset screen scrolling setting;

[0035] Scroll the screen according to the preset screen scrolling settings;

[0036] When the screen scrolling is finished, a scrolling end instruction is sent to the image forming device, and the scrolling end instruction is used to control the image forming device to finish scanning.

[0037] In an embodiment of the present application, after the electronic device receives the screen scrolling instruction sent by the image forming device, it starts to scroll the screen according to the preset screen scrolling settings. When the screen scrolling is completed, it sends a scrolling end instruction to the image forming device to control the image forming device to end the scan.

[0038] In a third aspect, an embodiment of the present application provides an image forming device, including:

[0039] processor;

[0040] Memory;

[0041] and a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the control device executes any one of the methods according to the first aspect.

[0042] In a fourth aspect, an embodiment of the present application provides an electronic device, including:

[0043] processor;

[0044] Memory;

[0045] and a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the control device executes the method described in the second aspect.

[0046] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described in the first aspect and the second aspect.

[0047] It is understandable that the image forming device provided in the third aspect, the electronic device provided in the fourth aspect, and the computer-readable storage medium provided in the fifth aspect are all used to execute the method provided in the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] 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. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0049] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0050] Figure 2 A schematic diagram of a flow chart of a screen copying method of an electronic device provided in an embodiment of the present application;

[0051] Figure 3 A schematic diagram of an image forming medium including multiple screen images provided in an embodiment of the present application;

[0052] Figure 4 A schematic diagram of a screen scrolling direction provided in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of another screen scrolling direction provided in an embodiment of the present application;

[0054] Figure 6 A schematic diagram of a process for obtaining a scanned image provided in an embodiment of the present application;

[0055] Figure 7 A schematic diagram of the structure of an image forming device provided in an embodiment of the present application;

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

[0057] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0058] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. 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.

[0059] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0060] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0061] In real life, when users go to banks and other institutions to handle business, they may need to show some proof (for example, the age of mobile phone card application), and banks and other institutions need to keep these proof materials. The above materials that users need to show can be shown by users through their mobile phones, but paper versions are required for the corresponding institutions to keep.

[0062] Because there are many customers or patients who handle business on-site in the above-mentioned institutions, it is necessary to shorten the time for each customer to handle business as much as possible, that is, to improve work efficiency. If each customer or patient adds the contact information of the staff on-site to send screenshots, or downloads the application on-site to connect to the local area network to print screenshots, the operation is too cumbersome and the efficiency is too low, which is easy to affect the user experience and cause user dissatisfaction.

[0063] A better solution to this problem is to allow users to present the materials and make copies on an image forming device at the same time, thereby obtaining paper versions of the materials for the institution to keep on file.

[0064] To facilitate understanding, a specific application scenario is first exemplified below.

[0065] See also Figure 1 , is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1As shown, in this application scenario, an image forming device 101 and an electronic device 102 are shown. The image forming device 101 includes a scanning area 1011, a display area 1012, and a control panel 1013, and the electronic device 102 includes a screen. When a user needs to copy the content on the screen of the electronic device 102, he only needs to turn the screen side of the electronic device 102 toward the scanning area 1011 of the image forming device 101, and control the image forming device 101 through the control panel 1013 to perform a copy operation, so that the content on the scanning area 1011 can be presented on the image forming medium.

[0066] It should be pointed out that Figure 1 The image forming device 101 and the electronic device 102 shown in the figure are only exemplary descriptions and should not be used as a limitation on the scope of protection of the present application. The image forming device 101 includes but is not limited to a printer, a copier, a fax machine, a multi-function image making and copying device, an electrostatic printing device, and any other similar device, and the layout of each area of ​​the image forming device 101 (i.e. Figure 1 The scanning area 1011, the display area 1012 and the control panel 1013 shown in the figure are only exemplary. In addition, the electronic device 102 can be a tablet, a smart watch, a smart reader and other electronic devices with screens in addition to a mobile phone.

[0067] In the related art, when an image forming device scans an object, light is emitted by a scanning lamp, and the light is reflected on the object to be copied. The image forming device collects the reflected light and generates an image based on the reflected light, and presents the image on an image forming medium.

[0068] However, when the object to be copied is a thick electronic device with a screen (for example, a mobile phone screen), it can only be scanned with the cover opened. Therefore, in the scanned image, there will be a large area of ​​black outside the screen of the electronic device, which affects the user's perception. Copying a large area of ​​black will waste more consumables and increase the cost. In addition, the image forming device cannot scan and copy long images that need to be rolled and spliced ​​in the electronic device.

[0069] In view of the above problems, an embodiment of the present application provides a screen copying method for an electronic device, which first obtains a scanned image corresponding to the screen side of the electronic device, then performs image processing on the scanned image to obtain a target scanned image, and finally performs an image forming operation on the target scanned image to obtain an image of the screen of the electronic device on an image forming medium. It can be understood that because the target scanned image in the present application is an image corresponding to a portion of the screen of the electronic device, when the target scanned image is presented on the image forming medium, only the image area corresponding to the screen has color, and the other parts have no color, which saves consumables and thus saves costs. The following is a detailed description in conjunction with the accompanying drawings and specific embodiments.

[0070] See also Figure 2 , is a flow chart of a screen copying method of an electronic device provided in an embodiment of the present application. The method can be applied to Figure 1 The application scenarios shown are as follows: Figure 2 As shown, it mainly includes the following steps.

[0071] Step S201: Acquire a scan image corresponding to the screen side of the electronic device.

[0072] Specifically, the screen side of the electronic device is the side of the electronic device with a screen. Since effective information is displayed through the screen of the electronic device, it is necessary to scan the screen side of the electronic device to obtain a scanned image corresponding to the screen side of the electronic device. Of course, the scanned image includes not only the screen of the electronic device, but also the area around the electronic device in the entire scanned area.

[0073] Moreover, in actual applications, the length of the page displayed on the screen of the electronic device is greater than the length of the screen. In this case, it is likely that complete page information cannot be obtained by only scanning the screen side of the electronic device once.

[0074] In one possible implementation, when the page length is greater than the screen length, the screen of the electronic device needs to be scanned for the first time, and then after the user manually scrolls the page, the screen of the electronic device is scanned for the second time, and so on, until the entire page is scanned and multiple mobile phone screen images containing different contents are presented on a piece of paper.

[0075] Specifically, see Figure 3 , is a schematic diagram of an image forming medium including multiple screen images provided in an embodiment of the present application. Figure 3 As shown, the image forming medium 301 includes four screen images, namely screen image 1, screen image 2, screen image 3 and screen image 4. It can be understood that the user adjusts the mobile phone screen to the first interface, and points the mobile phone screen toward the scanning area of ​​the image forming device. The image forming device scans and obtains screen image 1. After the scanning is completed, the image forming device outputs screen scrolling prompt information to prompt the user to scroll the screen. The user scrolls the screen so that the screen displays the second interface. The second interface and the first interface are page information in different areas. When the user places the mobile phone screen toward the scanning area of ​​the image forming device and enters the scanning instruction, a second scan is performed to obtain screen image 2. Similarly, screen image 3 and screen image 4 are obtained. Although the image forming device scans 4 times, it only prints once, presenting the 4 screen images on a piece of paper.

[0076] However, this method may consume more electricity and affect the user experience.

[0077] Therefore, in the embodiment of the present application, a scanned image between the top of the page in the scrolling direction of the screen of the electronic device and the bottom of the page in the scrolling direction of the screen is directly acquired, wherein the scrolling direction of the screen is the moving direction of the information on the screen.

[0078] It should be noted that the top of the page refers to the top of the long image that the user wants to copy, and the bottom of the page refers to the bottom of the long image that the user wants to copy. In different long images, the length from the top of the page to the bottom of the page is not necessarily the same, and the length from the top of the page to the bottom of the page is the length of the long image after splicing that the user wants to copy.

[0079] For ease of understanding, the screen scrolling direction is described in detail below.

[0080] See also Figure 4 , is a schematic diagram of a screen scrolling direction provided in an embodiment of the present application. Figure 4 As shown in a in FIG. 1 , the complete page information that the user wants to copy includes three patterns, namely pattern 1, pattern 2 and pattern 3. In a possible implementation, the top of the page is displayed on the mobile phone screen. At this time, the screen needs to be scrolled up to display the bottom of the page on the mobile phone screen. Figure 4 As shown in b in FIG. 1 , in a possible implementation, the screen scrolling mode is upward scrolling, such as ①, and the pattern moves from the lower end of the mobile phone to the upper end of the mobile phone. Figure 4 The top of the page in the scrolling direction can be displayed on the mobile phone screen. After the screen scrolls up, in the final state (i.e. Figure 4 The bottom of the page in the scrolling direction can be displayed on the mobile phone screen. In a possible implementation, the screen scrolls downward, such as ②, and the pattern moves from the upper end of the mobile phone to the lower end of the mobile phone (such as pattern 2, after scrolling ②, changes from being located at the upper end of the mobile phone to being located at the lower end of the mobile phone). In the initial state (i.e. Figure 4 The bottom of the page in the scrolling direction can be displayed on the mobile phone screen. After the screen scrolls down, in the final state (i.e. Figure 4 The top of the page in the scrolling direction can be displayed on the mobile phone screen.

[0081] It should be noted that in the embodiment of the present application, the upper end of the mobile phone is the top in the scrolling direction of the screen, the lower end of the mobile phone is the bottom in the scrolling direction of the screen, and the upper end of the page is the top in the scrolling direction of the screen, and the lower end of the page is the bottom in the scrolling direction of the screen. Of course, this is only an exemplary description and should not be used as a limitation on the scope of protection of the present application.

[0082] In the above embodiment, the screen scrolling direction is vertical scrolling. In practical applications, the screen scrolling may also be horizontal scrolling. For ease of understanding, another screen scrolling direction is described in detail below.

[0083] See also Figure 5 , is a schematic diagram of another screen scrolling direction provided by an embodiment of the present application. Figure 5 As shown in a in the figure, the complete page information that the user wants to copy includes three patterns, namely pattern 4, pattern 5 and pattern 6. In one possible implementation, the top of the page is displayed on the mobile phone screen. At this time, the screen needs to be scrolled to the left to make the bottom of the page appear on the mobile phone screen. In the embodiment of the present application, the left end of the mobile phone is the top in the scrolling direction of the screen, and the right end of the mobile phone is the bottom in the scrolling direction of the screen. Figure 5 As shown in b in FIG. 1 , in a possible implementation, the screen scrolls to the left, such as ③, and the pattern moves from the right end of the mobile phone to the left end of the mobile phone (such as pattern 5 changes from the middle position to the left end after scrolling in ③). In the initial state (i.e. Figure 5 The top of the page in the scrolling direction can be displayed on the mobile phone screen. After the screen scrolls to the left, in the final state (i.e. Figure 5 The bottom of the page in the scrolling direction can be displayed on the mobile phone screen. In a possible implementation, the screen scrolls to the right, such as ④, and the pattern moves from the left end of the mobile phone to the right end of the mobile phone. Figure 5 The bottom of the page in the scrolling direction can be displayed on the mobile phone screen. After the screen scrolls to the right, in the final state (i.e. Figure 5 The top of the page in the scrolling direction can be displayed on the mobile phone screen.

[0084] It should be noted that in the embodiment of the present application, the left end of the mobile phone is the top in the scrolling direction of the screen, the right end of the mobile phone is the bottom in the scrolling direction of the screen, and the left end of the page is the top in the scrolling direction of the screen, and the right end of the page is the bottom in the scrolling direction of the screen. Of course, this is only an exemplary description and should not be used as a limitation on the scope of protection of the present application.

[0085] In a possible implementation, the page displayed on the screen of the electronic device also includes a scroll bar. In this case, the scrolling direction of the screen is opposite to the moving direction of the scroll bar.

[0086] In addition, some image forming devices and electronic devices are equipped with specific operating systems, so that the image forming device and the electronic device can communicate and connect, for example, through a wifi hotspot network, a wifi P2P network, a Bluetooth network, a zigbee network, or a near field communication (NFC) network. At this time, when the page length is greater than the screen length, the complete page length image can be presented on the image forming medium through information interaction between the image forming device and the electronic device.

[0087] Specifically, see Figure 6 , is a schematic diagram of a process for obtaining a scanned image provided by an embodiment of the present application. Figure 6 As shown, it mainly includes the following steps.

[0088] Step S601: the image forming device controls the scanning device to scan from the top of the screen in the scrolling direction of the screen of the electronic device to the bottom of the screen in the scrolling direction of the screen.

[0089] It can be understood that in the same electronic device, the distance from the top of the screen to the bottom of the screen is fixed, and the distance from the top of the screen to the bottom of the screen is the length of the luminous image.

[0090] Specifically, after receiving the scanning instruction, the image forming device controls the scanning device to scan from the top of the screen in the screen scrolling direction of the electronic device to the bottom of the screen in the screen scrolling direction. Figure 4-5 Description of the illustrated embodiment.

[0091] It should be noted that in step S601, the scanning device scans from the top of the screen in the scrolling direction of the electronic device to the bottom of the screen in the scrolling direction of the screen. When the scanning device reaches the bottom of the screen, the page of the electronic device has not started to scroll. It can be understood that when a long image needs to be scanned, the scanning device needs to scan the image before scrolling first. At this time, the screen of the electronic device is still. Only when the scanning device has scanned the still image of the current screen, can the screen of the electronic device start to scroll, thereby obtaining a complete long image.

[0092] Step S602: the image forming device controls the scanning device to stop moving.

[0093] Specifically, when the scanning device scans to the bottom of the screen, the image forming device controls the scanning device to stop moving. It should be noted that although the scanning device stops moving, it does not stop scanning. It can be understood that the scanning direction and scanning speed of step S602 are similar to the conventional scanning operation, and the difference is that the scanning stops when the scanning reaches the bottom of the screen, instead of scanning the entire area.

[0094] Step S603: the image forming apparatus sends a screen scrolling instruction to the electronic device.

[0095] Specifically, when the scanning device stops moving, the image forming device sends a screen scrolling instruction to the electronic device, and the screen scrolling instruction is used to control the electronic device to scroll the screen according to a preset screen scrolling setting, wherein the preset screen scrolling setting is a screen scrolling mode set by a user.

[0096] In one possible implementation, the preset screen scrolling setting only includes a preset screen scrolling speed, and the preset screen scrolling speed is a speed set according to the scanning speed of the scanning device. Preferably, in order to obtain a coherent and complete page scan image, the preset screen scrolling speed is set to be the same as the scanning speed. Of course, the embodiment of the present application does not impose specific restrictions on this. In this case, the electronic device can directly obtain the screen scrolling direction from the inside of the device. It can be understood that when the initial interface selected by the user is the top of the long image, the screen scrolling direction can only be downward; when the initial interface selected by the user is the bottom of the long image, the screen scrolling direction can only be upward.

[0097] In a possible implementation, the page on the mobile phone screen is very long, and the scroll bar can scroll down infinitely, but the valid information required by the user is only a part of the page. At this time, the preset screen scrolling setting may include a screen scrolling direction, a screen scrolling speed, and a screen scrolling time. Among them, the screen scrolling speed is as described above, and the screen scrolling speed can be set to be the same as the scanning speed. The screen scrolling direction and the screen scrolling time can be set according to the length of the area of ​​valid information. For example, the user can set the screen scrolling direction to scroll from top to bottom and the screen scrolling time to 2 seconds.

[0098] It can be understood that setting the preset scrolling direction and the preset scrolling time in advance can further ensure that the copied content is what the user expects without including redundant content, which is more in line with the user's imaging needs.

[0099] Step S604: the electronic device scrolls the screen according to the preset screen scrolling setting.

[0100] Specifically, the electronic device receives a screen scrolling instruction sent by the image forming device, obtains a preset screen scrolling setting, and scrolls the screen according to the preset screen scrolling setting.

[0101] Step S605: When the screen scrolling is finished, the electronic device sends a scrolling end instruction to the image forming device.

[0102] Specifically, when the bottom of the page has been presented on the screen, it can be determined that the screen scrolling is finished, and at this time the electronic device sends a scrolling end instruction to the image forming device, wherein the scrolling end instruction is used to control the image forming device to end scanning.

[0103] It can be understood that when the bottom of the page is presented on the screen, the image forming device has completed scanning the entire page, thereby obtaining the content of the complete page.

[0104] Alternatively, when the screen scrolling time reaches the time set by the user, it can be determined that the screen scrolling is finished, and the electronic device sends a scrolling end instruction to the image forming device. The scrolling end instruction is used to control the image forming device to end scanning. Step S606: The image forming device ends scanning.

[0105] In the embodiment of the present application, through the information interaction between the image forming device and the electronic device, the image forming device can control the electronic device to scroll the screen, so as to splice the complete pages into a complete scanned image, and then present the complete scanned image on an image forming medium. The user does not need to manually scroll the page multiple times and make multiple copies, which saves consumables and paper and improves the user experience.

[0106] In addition, in actual applications, mobile phones basically have a pocket prevention mode. When the proximity light sensor on one side of the mobile phone screen is blocked, the pocket prevention mode will be triggered. Some mobile phones will use the entire screen to display prompt information to remind users not to block the screen, and some mobile phones will directly turn off the screen display and touch function. When this type of mobile phone is placed on the scanning area with the screen side facing the scanning area, the proximity light sensor on one side of the mobile phone screen is blocked, triggering the pocket prevention mode. At this time, scanning the mobile phone screen may obtain a prompt interface or a black screen, and no valid information can be obtained. Moreover, the image forming device may take a certain amount of time to scan the mobile phone screen, but some mobile phones have a shorter screen-on time, which will also cause the mobile phone screen to be turned off during the scanning process. After the mobile phone screen is turned off, the image scanned by the scanning device is a black image, which does not contain valid information.

[0107] Therefore, in an embodiment of the present application, prompt information is output according to the image formation mode selected by the user, and the prompt information is used to prompt the user to adjust the configuration of the electronic device so that the screen-on time of the electronic device in the scanning area of ​​the image forming device is greater than or equal to a preset time threshold; in response to the image formation instruction input by the user, a scanned image corresponding to the screen side of the electronic device is obtained.

[0108] Because the prompt information needs to be output only when the user needs to scan the screen of the electronic device, and this prompt information does not need to be output in other modes, a mode for scanning the screen of the electronic device is set for the user in advance. The prompt information can specifically be: Please close the mobile phone pocket to prevent accidental touch mode, and adjust the screen-off time of the mobile phone to more than 5 minutes. Place the mobile phone on the scanning glass and click to confirm to start scanning. The preset time threshold is determined according to the scanning time of the image forming device. The "5 minutes" in the embodiment of the present application is only an exemplary description. The screen-off time can be greater than or equal to the preset time threshold. For example, if the scanning time of the image forming device is 2 minutes, the prompt information can be "Please adjust the screen-off time of the mobile phone to more than 2 minutes" or "Please adjust the screen-off time of the mobile phone to more than 3 minutes". The embodiment of the present application does not impose specific restrictions on this.

[0109] When the user completes the configuration adjustment of the electronic device, the user can input an image forming instruction to the image forming device. After receiving the image forming instruction, the image forming device starts to obtain the scanned image corresponding to the screen side of the electronic device, that is, the scanning starts. Specifically, the user can click Figure 1 The “Confirm” button on the control panel 1013 shown in FIG. 1 sends an image forming instruction to the image forming apparatus.

[0110] It is understandable that prompting the user to adjust the configuration of the electronic device can avoid the electronic device turning off the screen in advance, resulting in a black screen during scanning. In other words, the method provided by the present application enables the image forming device to obtain an image corresponding to a complete page.

[0111] In actual applications, because the screen of an electronic device is a self-luminous object, when the image forming device obtains the scanned image corresponding to the screen side of the electronic device, the light-emitting device in the scanning device can be turned off, and then the screen side of the electronic device can be scanned to obtain the scanned image corresponding to the screen side of the electronic device.

[0112] It can be understood that after turning off the light-emitting device, the frame, shell and surrounding non-luminous objects of the electronic device will not be scanned by the scanning device, which is more conducive to scanning to obtain the screen display content, and provides convenience for subsequent image processing, which can improve work efficiency. In addition, turning off the light-emitting device can achieve a certain power saving effect.

[0113] Step S202: performing image processing on the scanned image to obtain a target scanned image.

[0114] Specifically, the image forming device performs image processing on the scanned image to obtain a target scanned image, wherein the image processing includes cropping the scanned image and adjusting the size and angle of the image.

[0115] More specifically, because the scanned image includes images of other parts in addition to the image corresponding to the screen portion of the electronic device, the complete scanned image needs to be cropped to obtain the image corresponding to the screen portion of the electronic device.

[0116] like Figure 1 As shown, the area of ​​the scanned image obtained by the scanning area 1011 is the same as the area of ​​the scanning area 1011. After the image forming device crops the scanned image, it can obtain the image corresponding to the electronic device 102 and delete other parts of the scanned image.

[0117] In actual applications, when a user places an electronic device, the orientation of the electronic device may not be correct, so directly presenting the scanned image on the image forming medium may cause the final image to be skewed. Therefore, in the embodiment of the present application, it is also necessary to adjust the angle of the image corresponding to the screen portion of the electronic device. However, the image angle can also be adjusted before cropping the image, and the embodiment of the present application does not specifically limit this.

[0118] In addition, because the image size corresponding to the screen part of the electronic device is relatively small, after obtaining the image corresponding to the screen part of the electronic device, the image size can be adaptively adjusted. Under the premise of ensuring that the image content is not distorted, the image size can be enlarged as much as possible, thereby improving the image clarity and ensuring that the image is located in the middle part of the image forming medium.

[0119] In practical applications, the user may have an expected size for the image. Therefore, in the embodiment of the present application, the user may Figure 1 The user can select a desired size on the control panel 1013 of the image forming device shown in the figure, for example, to enlarge the image corresponding to the screen portion to 2 times, or to reduce the image corresponding to the screen portion to 1 / 2 of the original. After the user has selected the enlargement / reduction ratio, the user can Figure 1 The display area 1012 of the image forming apparatus shown in FIG. 1 previews the adjusted effect so that the user can determine the size.

[0120] Step S203: performing an image forming operation on the target scanned image, so that the target scanned image is presented on an image forming medium.

[0121] Specifically, after the image forming device obtains the target scanned image, it performs an image forming operation on the target scanned image so that the target scanned image is presented on the image forming medium. It is understandable that after the image forming device obtains a clear and appropriately sized target scanned image, it can print the image so that the image is presented on the image forming medium.

[0122] Corresponding to the above embodiments, the present application also provides an image forming device.

[0123] See also Figure 7 , is a schematic diagram of the structure of an image forming device provided in an embodiment of the present application. Figure 7 As shown, the image forming device 700 may include: a processor 701, a memory 702 and a communication unit 703. These components communicate via one or more buses. Those skilled in the art will appreciate that the structure of the image forming device shown in the figure does not limit the embodiment of the present application. It may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0124] The communication unit 703 is used to establish a communication channel so that the image forming apparatus can communicate with other devices, receive user data sent by other devices or send user data to other devices.

[0125] The processor 701 is the control center of the image forming device. It uses various interfaces and lines to connect various parts of the entire image forming device. It runs or executes software programs, instructions, and / or modules stored in the memory 702, and calls data stored in the memory to perform various functions of the image forming device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 701 can include only a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.

[0126] The memory 702 is used to store the execution instructions of the processor 701. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.

[0127] When the execution instruction in the memory 702 is executed by the processor 701, the image forming apparatus 700 can execute Figure 2 and Figure 6 Some or all of the steps in the illustrated embodiments.

[0128] Corresponding to the above embodiments, the present application also provides an electronic device.

[0129] See also Figure 8 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 800 may include: a processor 801, a memory 802 and a communication unit 803. These components communicate via one or more buses. Those skilled in the art will appreciate that the structure of the electronic device shown in the figure does not limit the embodiments of the present application. It may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0130] The communication unit 803 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.

[0131] The processor 801 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs, instructions, and / or modules stored in the memory 802, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 801 can only include a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.

[0132] The memory 802 is used to store the execution instructions of the processor 801. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.

[0133] When the execution instruction in the memory 802 is executed by the processor 801, the electronic device 800 can execute Figure 6 Some or all of the steps in the illustrated embodiments.

[0134] In a specific implementation, the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the simulation scene generation method provided in the embodiment of the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0135] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0136] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0137] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0138] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including 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. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.

[0139] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

Claims

1. A screen copying method for an electronic device, characterized in that: Applied to an image forming device, the electronic device includes a screen, and the method includes: Acquire a scanned image corresponding to the screen side of the electronic device; Performing image processing on the scanned image to obtain a target scanned image, wherein the target scanned image is a processed image corresponding to a screen portion of the electronic device; An image forming operation is performed on the target scanned image so that the target scanned image appears on an image forming medium.

2. The method according to claim 1, characterized in that The acquiring of the scanned image corresponding to the screen side of the electronic device includes: A scanned image between the top of the page in the scrolling direction of the screen of the electronic device and the bottom of the page in the scrolling direction of the screen is acquired.

3. The method according to claim 2, characterized in that The acquiring of a scanned image between a top of a page in a scrolling direction of a screen of the electronic device and a bottom of a page in the scrolling direction of the screen includes: Controlling the scanning device to scan from the top of the screen in the scrolling direction of the screen of the electronic device to the bottom of the screen in the scrolling direction of the screen; Controlling the scanning device to stop moving; Sending a screen scrolling instruction to the electronic device, wherein the screen scrolling instruction is used to control the electronic device to scroll the screen according to a preset screen scrolling setting; receiving a scroll end instruction sent by the electronic device, ending scanning, and obtaining a scanned image; The image forming device is communicatively connected to the electronic device.

4. The method according to claim 1, characterized in that: The performing image processing on the scanned image to obtain a target scanned image includes: Cropping the image corresponding to the screen portion of the electronic device in the scanned image to obtain the image corresponding to the screen portion of the electronic device; The angle and size of the image corresponding to the screen portion of the electronic device are adjusted to obtain a target scan image.

5. The method according to claim 1, characterized in that The acquiring of the scanned image corresponding to the screen side of the electronic device includes: Outputting prompt information according to the image forming mode selected by the user, the prompt information being used to prompt the user to adjust the configuration of the electronic device so that the screen-on time of the electronic device in the scanning area of ​​the image forming device is greater than or equal to a preset time threshold; In response to the image forming instruction input by the user, a scan image corresponding to the screen side of the electronic device is acquired.

6. The method according to claim 1, characterized in that The acquiring of the scanned image corresponding to the screen side of the electronic device includes: The light emitting device in the scanning device is turned off, and the screen side of the electronic device is scanned to obtain a scanned image corresponding to the screen side of the electronic device.

7. A screen copying method for an electronic device, characterized in that: Applied to an electronic device, the electronic device is communicatively connected with an image forming device, the electronic device includes a screen, and the method includes: receiving a screen scrolling instruction sent by the image forming device, wherein the screen scrolling instruction includes a preset screen scrolling setting; Scroll the screen according to the preset screen scrolling settings; When the screen scrolling is finished, a scrolling end instruction is sent to the image forming device, and the scrolling end instruction is used to control the image forming device to finish scanning.

8. An image forming device, characterized in that: include: processor; Memory; and a computer program, wherein the computer program is stored in the memory, the computer program comprising instructions, which, when executed by the processor, enable the control device to perform the method according to any one of claims 1 to 6.

9. An electronic device, characterized in that: include: processor; Memory; and a computer program, wherein the computer program is stored in the memory, the computer program comprising instructions, which, when executed by the processor, cause the control device to perform the method of claim 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Apparatus for outputting image, apparatus for inputting image, computer, and method for displaying screen

    CN103227881A

  • Screen picture capturing method, device and terminal equipment

    CN103514581A

  • Screen capture method, screen capture device and mobile terminal

    CN105808116A

  • Image stitching method suitable for scrolling screenshot

    CN108629731A

  • Characteristics based operation of image forming apparatus

    CN110870294A