Scanning file transmission method and related equipment
By generating a QR code in the image forming device and scanning it on the mobile terminal, quick connection between the image forming device and the mobile terminal and scanning file transmission are realized, which solves the problem of cumbersome transmission process in the prior art and improves the user experience.
Patent Information
- Application Number
- CN202411035430.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-12-03
AI Technical Summary
The process of transferring scanned files to mobile terminals by existing image forming devices is cumbersome and has poor user experience, especially in scenarios where office and document processing are concentrated on mobile phones or tablets.
By generating a QR code for distribution on the image forming device, the mobile terminal scans the QR code and connects it to the image forming device to realize the rapid transmission and sharing of scanned files stored in the image forming device.
It simplifies the transmission process of scanning files, so that users do not need to install additional applications, improves user experience, is suitable for the current office scenario, and improves user experience.
Smart Images

Figure CN119071400A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of image forming devices, and in particular to a method for transmitting scanned files and related equipment. Background Art
[0002] Scanning of an image forming device refers to the process in which the image forming device uses a sensor to scan a paper manuscript line by line and convert it into a digital image. During the scanning process, the light source emits light to illuminate the manuscript. After the light is reflected by the manuscript, it is converged on the photoelectric sensor by the optical lens system in the image forming device. In this process, the photoelectric sensor converts the light into an electrical signal, which represents the image information on the paper manuscript file, that is, the multiple pixel data in lines obtained by scanning. Finally, the multiple pixel data in lines are summarized and integrated to obtain a complete scanned file. After the current image forming device scans, the scanned file can be pushed to a USB flash drive or a computer connected to the image forming device. At present, more and more people are concentrating office and document processing on mobile terminals such as mobile phones or tablets. If the image forming device sends the scanned file to the mobile terminal, the mobile terminal needs to pre-install the application provided by the manufacturer and perform cumbersome binding operations before it can be realized. This leads to a poor user experience. Therefore, how to quickly and conveniently transfer the scanned file of the image forming device to the mobile terminal is a problem that needs to be solved urgently. Summary of the invention
[0003] In view of this, the present application provides a method and related equipment for transmitting scanned files, by enabling a mobile terminal to scan a QR code for network configuration displayed by an image forming device to connect to the image forming device, and then transmitting the scanned files stored locally in the image forming device to the mobile terminal.
[0004] In a first aspect, an embodiment of the present invention provides a method for transmitting a scanned file, which is applied to an image forming device, comprising:
[0005] Scanning the target file in response to a scanning instruction issued by the user to obtain scanning data;
[0006] Generate a corresponding target scan file based on the scan data; the target scan file includes a first scan file or a second scan file; wherein, if encryption configuration information is detected, generate an encryption password based on the encryption configuration information, and generate a first scan file including the scan data and the encryption password; if the encryption configuration information is not detected, generate a second scan file according to the scan data;
[0007] Storing the target scan file;
[0008] Generate a two-dimensional code pattern according to target information, and display the two-dimensional code pattern; the target information at least includes network identification information of the target network and an access key of the target network; the target network is used to communicate with the image forming apparatus and an external device; wherein the external device includes a mobile terminal;
[0009] In response to a download instruction for the target scan file sent by the mobile terminal, the target scan file is transmitted to the mobile terminal via the target network; wherein the download instruction is issued after the mobile terminal scans the QR code pattern and establishes a communication connection with the image forming device via the target network.
[0010] In a possible implementation, before responding to the download instruction for the target scan file sent by the mobile terminal, the method further includes:
[0011] receiving an access request from the mobile terminal to the target network; the access request including an access key;
[0012] determining whether the access key matches an access key of the target network;
[0013] If a match is found, the mobile terminal is allowed to access the target network.
[0014] In a possible implementation, if encryption configuration information is detected, the target information further includes the encryption password, the access request further includes the encryption password, and the scanning and transmitting the target to the mobile terminal through the target network includes:
[0015] Decrypting the encrypted target scan file according to the encryption password to obtain a decrypted target scan file;
[0016] The decrypted target scan file is transmitted to the mobile terminal via the target network.
[0017] In a possible implementation, the target information further includes an access URL of the preview page; after the image forming apparatus is communicatively connected with the external device, the method further includes:
[0018] The access URL of the preview page is sent to the mobile terminal through the target network; the preview page displays the identification information of the target scan file.
[0019] In a possible implementation, there are at least two copies of the target file, the preview page displays identification information of at least two target scan files corresponding to the at least two copies of the target file, and the method further includes:
[0020] receiving a splicing instruction for at least two selected target scan files sent by the mobile terminal; the splicing instruction includes identification information of the at least two selected target scan files;
[0021] Splicing the at least two target scanned files according to the splicing instruction to obtain a spliced scanned file;
[0022] The stitched scan file is transmitted to the mobile terminal via the target network.
[0023] In a possible implementation, the preview page displays multiple sharing channel identification information, and the method further includes:
[0024] receiving a sharing instruction sent by the mobile terminal; the sharing instruction carries identification information of the target scanned file selected in the preview page and identification information of the selected sharing channel;
[0025] The sharing instruction is used to share the target scan file corresponding to the selected identification information in the preview page to the sharing channel corresponding to the selected sharing channel identification information;
[0026] Wherein, the identification information of the sharing channel also includes the interface calling information of the sharing channel;
[0027] An interface calling instruction corresponding to the interface calling information is transmitted to the mobile terminal through the target network; wherein the interface calling instruction also includes the target scanning file, and the interface calling instruction is used to instruct the mobile terminal to call the channel sharing interface corresponding to the selected sharing channel to share the target scanning file to the sharing channel.
[0028] In a second aspect, an embodiment of the present invention provides another method for transmitting a scanned file, which is applied to a mobile terminal and includes:
[0029] Scanning the two-dimensional code pattern displayed on the image forming device to obtain two-dimensional code image data;
[0030] Parsing the two-dimensional code image data to obtain parsing information; the parsing information at least includes network identification information of the target network and an access key of the target network;
[0031] connecting to the target network based on the network identification information and the access key, and establishing a communication connection with the image forming device through the target network;
[0032] In response to a download operation of a target scan file, sending a download instruction of the target scan file to the image forming device through the target network;
[0033] The target scan file transmitted by the image forming device through the target network is received.
[0034] In a possible implementation manner, the connecting to the target network based on the network identification information and the access key includes:
[0035] An access request is sent to the target network based on the network identification information to access the target network; the access request includes the access key.
[0036] In a possible implementation, the parsed information also includes an encryption password, and the access request includes the encryption password; the encryption password is used to instruct the image forming device to decrypt the target scan file stored in the image forming device based on the encryption password in the access request, and transmit the decrypted target scan file to the mobile terminal through the target network.
[0037] In a possible implementation, the parsed information further includes an access URL of a preview page; in response to the download operation of the target scan file, sending a download instruction for the target scan file to the image forming device through the target network includes:
[0038] Connecting and displaying the preview page based on the parsed access URL; the preview page displays identification information of the target scan file;
[0039] When a selection operation on identification information of a target scan file displayed in the preview page and a download operation are detected, the download instruction is sent to the image forming device through the target network.
[0040] In a possible implementation, the preview page displays identification information of at least two different target scan files, and the method further includes:
[0041] In response to a selection action of identification information of the at least two target scan files displayed in the preview page and detecting a splicing action of the at least two target scan files selected by the selection action, a splicing instruction is generated; the splicing instruction includes the identification information of the at least two selected target scan files;
[0042] Sending a splicing instruction for at least two selected target scanned files to the image forming device through the target network;
[0043] The spliced scan file transmitted by the image forming device through the target network is received.
[0044] In a possible implementation, the preview page further displays multiple sharing channel identification information, and the method further includes:
[0045] In response to a selection operation on the identification information of the target scan file displayed in the preview page and detecting a selection operation on any one of the multiple sharing channels, generating a sharing instruction; the sharing instruction includes the identification information of the target scan file selected in the preview page, the identification information of the selected sharing channel, and the interface call information of the selected sharing channel;
[0046] sending the sharing instruction to the image forming device via the target network;
[0047] receiving an interface calling instruction fed back by the image forming device through the target network; the interface calling instruction includes the target scan file;
[0048] The channel sharing interface corresponding to the selected sharing channel is called according to the interface calling instruction to share the target scan file to the sharing channel.
[0049] In a third aspect, an embodiment of the present invention provides an image forming device, comprising:
[0050] A file scanning module, used to scan a target file in response to a scanning instruction issued by a user to obtain scanning data;
[0051] A first processing module is used to generate a corresponding target scan file based on the scan data; the target scan file includes a first scan file or a second scan file; wherein, if encryption configuration information is detected, an encryption password is generated based on the encryption configuration information, and a first scan file including the scan data and the encryption password is generated; if the encryption configuration information is not detected, a second scan file is generated according to the scan data;
[0052] A storage module, used for storing the target scan file;
[0053] A two-dimensional code module, used to generate a two-dimensional code pattern according to target information and display the two-dimensional code pattern; the target information at least includes network identification information of a target network and an access key of the target network; the target network is used to communicate with the image forming apparatus and an external device; wherein the external device includes a mobile terminal;
[0054] The first communication module is used to transmit the target scan file to the mobile terminal through the target network in response to a download instruction for the target scan file sent by the mobile terminal; wherein the download instruction is issued after the mobile terminal scans the QR code pattern and establishes a communication connection with the image forming device through the target network.
[0055] In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including:
[0056] A two-dimensional code scanning module is used to scan the two-dimensional code pattern displayed on the image forming device to obtain two-dimensional code image data;
[0057] A second processing module is used to parse the two-dimensional code image data to obtain parsing information; the parsing information at least includes network identification information of the target network and an access key of the target network;
[0058] a second communication module, configured to connect to the target network based on the network identification information and the access key, and establish a communication connection with the image forming device through the target network;
[0059] The second communication module is further configured to send a download instruction for the target scan file to the image forming device through the target network in response to a download operation for the target scan file;
[0060] The second communication module is further used to receive the target scan file transmitted by the image forming device through the target network.
[0061] In a fifth aspect, an embodiment of the present invention provides an electronic device, including:
[0062] at least one processor; and
[0063] at least one memory in communication with the processor, wherein:
[0064] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the method described in the first aspect or the second aspect.
[0065] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method described in the first aspect or the second aspect.
[0066] In an embodiment of the present invention, the image forming device generates a QR code pattern for network configuration after scanning is completed. The mobile terminal connects to the same local area network as the image forming device by scanning the QR code pattern, and then the scanned file stored in the image forming device can be sent or shared to the mobile terminal. This is simple and easy to use, conforms to the current office scenarios, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] 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.
[0068] Figure 1 A flowchart of a method for transmitting a scanned file provided by an embodiment of the present invention;
[0069] Figure 2 A schematic diagram of a scanning end prompt provided by an embodiment of the present invention;
[0070] Figure 3 A schematic diagram of a scan and send prompt provided by an embodiment of the present invention;
[0071] Figure 4 A schematic diagram of a file organization structure of a scanned file provided by an embodiment of the present invention;
[0072] Figure 5 A schematic diagram of a two-dimensional code pattern provided by an embodiment of the present invention;
[0073] Figure 6 A schematic diagram of another two-dimensional code pattern provided by an embodiment of the present invention;
[0074] Figure 7 A schematic diagram of a preview page provided by an embodiment of the present invention;
[0075] Figure 8 A schematic diagram of another preview page provided by an embodiment of the present invention;
[0076] Fig. 9 A schematic structural diagram of an image forming device provided by an embodiment of the present invention;
[0077] Fig.10 A schematic diagram of the structure of a mobile terminal provided by an embodiment of the present invention;
[0078] Fig.11 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0079] 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.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] In order to overcome the problem in the prior art that the transmission of scanned files from an image forming device to a mobile terminal is cumbersome and the user experience is poor, an embodiment of the present invention provides a scanned file transmission method and related equipment, which can quickly and conveniently realize the transmission of scanned files from an image forming device to a mobile terminal. Figure 1 A flowchart of a scan file transmission method provided by an embodiment of the present invention. Figure 1 As shown in , the method includes:
[0084] Step 101 : an image forming device scans a target file in response to a scanning instruction issued by a user to obtain scan data.
[0085] The target file is placed in the manuscript scanning area on the manuscript table of the image forming device. The user issues the scanning task by triggering the corresponding button on the operation panel of the image forming device. Alternatively, the scanning task is issued by a host device such as a computer connected to the image forming device. After that, the image forming device controls the scanning head to scan the target file placed in the manuscript scanning area of the image forming device.
[0086] During the scanning process, the optical fiber emitted by the light source on the scanning head passes through a set of lenses or reflectors to focus the light onto the paper, thereby ensuring that the image on the paper can be captured clearly. The light source is usually a cathode fluorescent tube or a light-emitting diode LED. After that, the sensor of the scanning head begins to record the illuminated image. The sensor can be implemented as a contact image sensor (CIS) or a charge-coupled device (CDD). The sensor converts the image into a digital signal. The image forming device performs noise reduction, image enhancement and other processing on the digital signal to obtain the scan data.
[0087] Step 102, the image forming device generates a corresponding target scan file based on the scan data. The target scan file includes a first scan file or a second scan file. If encryption configuration information is detected, an encryption password is generated based on the encryption configuration information, and a first scan file including the scan data and the encryption password is generated. If no encryption configuration information is detected, a second scan file is generated based on the scan data.
[0088] Among them, the present invention adds a new private mode for users to choose. The private mode is specifically used to encrypt the scanned file obtained by this scanning task, so as to ensure that the scanned file cannot be sent to other users and can only be transmitted to the user who issued this scanning task. Specifically, an option of whether to turn on the private mode can be added to the operation panel of the image forming device. When the user issues a scanning task, he can choose whether to turn on the private mode.
[0089] When the user sets the privacy mode to be turned on, the value corresponding to the encryption configuration information is 1. At this time, the image forming device can detect the encryption configuration information, and then the image forming device generates an encryption password according to the encryption configuration information and generates an encrypted first scan file.
[0090] When the user sets the privacy mode to be off, the value corresponding to encryption configuration 1 is 0. At this time, the image forming device cannot detect the encryption configuration information, and the image forming device directly generates an unencrypted second scan file based on the scan data. The image forming device determines whether encryption processing is required for this scan task by obtaining the specific value of the encryption configuration information.
[0091] In some embodiments, when the user sets the privacy mode to be off, after the image forming device completes the scan and before generating the scanned file, the user may be prompted whether the privacy mode needs to be turned on for this scan, and the scanned file is generated based on the user's selection result. Figure 2 A schematic diagram of a scanning end prompt provided by an embodiment of the present invention. Figure 2 As shown in the figure, the prompt content includes three options: Continue, Private, and Send to... Among them, when the user selects the "Continue" option, the operation panel of the image forming device jumps to the initial standby interface so that the user can continue to issue the scanning task. When the user selects the "Send to..." option, the scanned file obtained by this scan can be sent to other devices other than the image forming device (such as a computer, a mobile terminal, etc.). Figure 3 A schematic diagram of a scan and send prompt provided by an embodiment of the present invention. Figure 3 As shown in , after the user selects the "Send to..." option, the image forming apparatus displays channels that support sending, such as Figure 3 FTP, eMAIL, and SMB, etc. When the user selects the "Private" option, the user can change the private mode on and off.
[0092] In some embodiments, when generating an encrypted password, the image forming device may randomly generate a set of random numbers as the password or generate a random password based on the system time. The image forming device may then further encrypt the password using AES256 or other methods to form a custom header for the file, and write the custom header to the back of the file header of the first scanned file. The format of the scanned file may be a picture format such as JPG, or a document format such as PDF. Figure 4 A schematic diagram of the file organization structure of a scanned file provided by an embodiment of the present invention. Figure 4 As shown in , the encrypted target scan file (ie, the first scan file) includes a file header at the front, a custom header in the middle, and scan data at the back.
[0093] Step 103: the image forming device stores the target scanned file.
[0094] The image forming device stores the obtained target scan file in its own memory, such as a double data rate (DDR) memory, a flash memory, an embedded multimedia card (Embedded MultiMediaCard), a hard disk, and the like.
[0095] Step 104: The image forming device generates a two-dimensional code pattern according to the target information and displays the two-dimensional code pattern. The target information includes at least the network identification information of the target network and the access key of the target network. The target network is used to connect the image forming device to an external device for communication. The external device may include a mobile terminal and other devices.
[0096] The target network can be specifically implemented as a WiFi hotspot opened by the image forming device as the host, the network identification information is the service set identifier (SSID) of the WiFi hotspot, and the access key is the password of the WiFi hotspot. Optionally, the target network can also be implemented as the WiFi network to which the image forming device is currently connected. In both different implementation methods, it is necessary to ensure that the mobile terminal and the image forming device are in the same network.
[0097] Figure 5 A schematic diagram of a two-dimensional code pattern provided by an embodiment of the present invention. Figure 5 The content shown in is displayed on the operation panel or other display components, waiting for the user to scan the two-dimensional code pattern using a mobile terminal.
[0098] In some embodiments, the user can also choose to manually enter the network identification information and the access key to manually connect to the target network. The user can make specific settings on the operation panel. When the user sets the manual connection method, the image forming device displays the encryption password, the network identification information of the target network, and the access key of the target network in addition to the above-mentioned QR code pattern. Figure 6 Another schematic diagram of a two-dimensional code pattern provided by an embodiment of the present invention. Figure 6 As shown in the figure, the left side is the QR code pattern, the WiFi name on the right is the network identification information of the target network, the WiFi password is the access key of the target network, and the file password is the encryption password mentioned above.
[0099] In some embodiments, if the user sets the privacy mode to off, the QR code pattern is generated only based on the network identification information of the target network and the access key of the target network. Figure 6 The content of the file password column shown in is empty.
[0100] Step 105: The mobile terminal scans the two-dimensional code pattern displayed on the image forming device to obtain two-dimensional code image data.
[0101] Since the transcoding rules of the QR code are fixed, the mobile terminal can scan the QR code pattern through the scanning function of any QR code scanning software. Optionally, the QR code pattern can also be replaced with an image form that can carry information, such as a barcode pattern.
[0102] Step 106: The mobile terminal analyzes the two-dimensional code image data to obtain analysis information, which includes at least the network identification information of the target network and the access key of the target network.
[0103] Step 107 : The mobile terminal connects to the target network based on the network identification information and the access key, and establishes a communication connection with the image forming device through the target network.
[0104] Among them, the mobile terminal can send an access request to the target network according to the network identification information to access the target network. The access request includes an access key. The image forming device receives the access request to the target network sent by the mobile terminal. The access request includes an access key. The image forming device determines whether the access key in the access request matches the access key of the target network. If they match, the image forming device allows the mobile terminal to access the target network.
[0105] If the user sets the privacy mode, the mobile terminal can also obtain the encryption password from the parsed information, and the access request sent by the mobile terminal to the target network also includes the encryption password.
[0106] If the user sets a manual connection, after the user turns on the WiFi switch of the mobile terminal, the mobile terminal displays the currently detectable WiFi networks in a list or other form. The user can determine the target network from the list according to the network identification information displayed on the image forming device, and then the user clicks on the target network to enter the access key. When the image forming device verifies that the access key entered by the mobile terminal is correct, the mobile terminal successfully accesses the target network.
[0107] Step 108 : In response to the download operation of the target scan file, the mobile terminal sends a download instruction for the target scan file to the image forming device through the target network.
[0108] After the mobile terminal accesses the target network, the image forming device can display a preview page to the mobile terminal through the target network. The preview page is used to display the scanned file stored in the image forming device. Specifically, the preview page displays the identification information of the target scanned file. The identification information can be implemented in the form of a preview image, a file name, etc.
[0109] The access URL of the preview page can be included in the target information. After the mobile terminal scans the QR code pattern and connects to the target network, the image forming device sends the access URL of the preview page to the mobile terminal through the target network. Specifically, the preview page can be implemented in the form of a local area network web interface, and the server of the local area network web interface can be the image forming device. Figure 7 A schematic diagram of a preview page provided by an embodiment of the present invention. Figure 7 As shown in , the URL in the top address bar is the access URL of the preview page and six scan files, namely, scan file 1 to scan file 6 stored in the image forming device, are displayed below.
[0110] The user can operate on the preview page to download the target scan file to the mobile terminal. Specifically, the mobile terminal connects and displays the preview page based on the parsed access URL. The preview page displays the identification information of the target scan file. Afterwards, when the mobile terminal detects the selection operation of the identification information of the target scan file displayed in the original page and detects the download operation, the download instruction is sent to the image forming device through the target network.
[0111] Figure 8 A schematic diagram of another preview page provided by an embodiment of the present invention. Figure 8 As shown in , after the user clicks on the target scan file displayed on the preview page (i.e., the above-mentioned selection action), the preview page will display corresponding operation options such as stitching and downloading. When the user clicks on the download option (i.e., the above-mentioned download action), the mobile terminal sends a download instruction for the target scan file to the image forming device through the target network.
[0112] Step 109 : the image forming apparatus transmits the target scan file to the mobile terminal through the target network in response to the download instruction for the target scan file sent by the mobile terminal.
[0113] The mobile terminal and the image forming device may use http / https protocol to transmit instructions or file data. The download instruction may be specifically implemented in the form of http / https download request.
[0114] Step 110 : The mobile terminal receives the target scan file transmitted by the image forming device through the target network.
[0115] In some embodiments, when the user turns on the private mode, the image forming device performs encryption processing in the process of converting the scanned data into the target scanned file, and reorganizes the file structure of the target scanned file, so an advanced decryption operation is required before the target scanned file is transmitted to the mobile terminal. Specifically, the image forming device decrypts the encrypted target scanned file according to the verification password carried in the access request sent by the mobile terminal to obtain the decrypted target scanned file.
[0116] The step of decrypting the target scan file may be to match the verification password carried in the access request sent by the mobile terminal with the encryption password in the target scan file. If the two are consistent, the match is successful, and the custom header in the scan file is removed to obtain the decrypted target scan file. If the two are inconsistent, the decryption fails. After the decryption is successful, the image forming device transmits the decrypted target scan file to the mobile terminal through the target network.
[0117] If the user does not turn on the privacy mode, the image forming device does not encrypt the scanned file in this scenario, and the access request sent by the mobile terminal does not carry the encryption password. The image forming device directly transmits the target scanned file to the mobile terminal without performing the decryption step.
[0118] In some embodiments, the user can also share the selected scanned file in the operation interface, or splice multiple target scanned files stored in the image forming device.
[0119] For the sharing function, multiple sharing channel identification information is displayed in the preview page. The mobile terminal generates a sharing instruction in response to the user's selection operation of the identification information of the target scanned file displayed in the preview page and detecting the selection operation of any one of the multiple sharing channels. The sharing instruction includes the identification information of the target file selected in the sharing page, the identification information of the selected sharing channel, and the interface call information of the selected sharing channel. The mobile terminal then sends the sharing instruction to the image forming device through the target network.
[0120] by Figure 8 Taking the preview page shown in FIG. 1 as an example, after the user selects scan file 1 and scan file 3, the identification information of multiple sharing channels available for sharing is displayed at the bottom of the preview page ( Figure 8 After the user selects any of the sharing channels, the mobile terminal sends a sharing instruction to the image forming device. The sharing instruction includes the identification information of the scanned file 1 selected by the user, the identification information of the scanned file 3, and the identification information of the sharing channel selected by the user.
[0121] The image forming device receives the sharing instruction sent by the mobile terminal through the target network. The sharing instruction carries the identification information of the target file selected in the preview page and the identification information of the selected sharing channel. Then the image forming device transmits the interface calling instruction corresponding to the interface calling information to the mobile terminal through the target network. The interface calling instruction also includes the target scan file. Interface.
[0122] The mobile terminal receives an interface call instruction fed back by the image forming device through the target network. The interface call instruction includes the target scan file selected by the user on the preview page. Then, the mobile terminal uses the channel sharing interface (such as a software development kit (SDK) web interface, etc.) corresponding to the selected sharing channel according to the interface call instruction to share the target scan file to the sharing channel.
[0123] For the stitching function, after the image forming device scans multiple target files, the multiple target scan files corresponding to the multiple target files are stored and the identification information of the multiple target scan files is displayed in the preview page. The user can stitch at least two different target scan files displayed in the preview page. Specifically, the mobile terminal generates a stitching instruction in response to the selection action of the identification information of at least two target scan files displayed in the preview page and detecting the stitching action of the at least two target scan files selected by the selection action. The stitching instruction includes the identification information of the at least two selected target scan files. Afterwards, the mobile terminal sends the stitching instruction for the at least two selected target scan files to the image forming device through the target network. Figure 8 Taking the preview page shown as an example, after the user selects scan file 1 and scan file 2 (ie, selects an action), the user selects the stitching option (ie, the stitching action mentioned above).
[0124] The image forming device receives a splicing instruction for at least two selected scanned files sent by a mobile terminal; the splicing instruction includes identification information of at least two selected target scanned files. Then, the image forming device performs splicing processing on at least two target scanned files according to the splicing instruction to obtain a spliced scanned file. Then, the image forming device transmits the spliced scanned file to the mobile terminal through a target network. The mobile terminal receives the spliced scanned file transmitted by the image forming device through the target network.
[0125] When the image forming device is splicing multiple target scanned files, if the target scanned file is in a picture format such as jpg, the image forming device uses its own multi-page-in-one function to splice at least two target scanned files. If the scanned file is in a document format such as pdf, the image forming device can splice multiple documents into a new document, i.e., splice the scanned file.
[0126] In the above embodiment, after completing the splicing of multiple target scan files, the image forming device may not send them to the mobile terminal first, but preview the spliced scan file for user confirmation. After the user confirms, the image forming device transmits the spliced scan file to the mobile terminal.
[0127] The embodiments of the present invention can solve the problem of user scanning file experience in the scenario where office and document processing is concentrated on terminals such as mobile phones and tablets, including scanning certificates, documents, etc., and the whole process does not require the installation of any application (APP), is simple and easy to use, and improves the user experience.
[0128] Corresponding to the above-mentioned scanned file transmission method, an embodiment of the present invention provides an image forming device. Fig. 9 FIG. 1 is a schematic diagram of the structure of an image forming device provided by an embodiment of the present invention. Fig. 9 As shown in , the image forming apparatus includes: a file scanning module 901 , a first processing module 902 , a storage module 903 , a two-dimensional code module 904 , and a first communication module 905 .
[0129] The file scanning module 901 is used to scan the target file in response to a scanning instruction issued by the user to obtain scan data.
[0130] The first processing module 902 is used to generate a corresponding target scan file based on the scan data. The target scan file includes a first scan file or a second scan file. If the encryption configuration information is detected, an encryption password is generated based on the encryption configuration information, and a first scan file including the scan data and the encryption password is generated. If the encryption configuration information is not detected, a second scan file is generated according to the scan data.
[0131] The storage module 903 is used to store the target scan file.
[0132] The QR code module 904 is used to generate a QR code pattern according to the target information and display the QR code pattern. The target information at least includes the network identification information of the target network and the access key of the target network. The target network is used to communicate with the image forming apparatus and the external device. The external device includes a mobile terminal.
[0133] The first communication module 905 is used to transmit the target scan file to the mobile terminal through the target network in response to the download instruction of the target scan file sent by the mobile terminal. The download instruction is sent after the mobile terminal scans the QR code pattern and communicates with the image forming device through the target network.
[0134] Fig. 9 The image forming apparatus provided in the illustrated embodiment can be used to implement the present invention. Figure 1-Figure 8 The technical solution of the method embodiment shown, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0135] Corresponding to the above-mentioned method for transmitting scanned files, an embodiment of the present invention provides a mobile terminal. Fig.10 A schematic diagram of the structure of a mobile terminal provided by an embodiment of the present invention. Fig.10 As shown in , the mobile terminal includes: a two-dimensional code scanning module 1001, a second processing module 1002 and a second communication module 1003.
[0136] The two-dimensional code scanning module 1001 is used to scan the two-dimensional code pattern displayed on the image forming device to obtain two-dimensional code image data.
[0137] The second processing module 1002 is used to parse the two-dimensional code image data to obtain parsing information. The parsing information at least includes the network identification information of the target network and the access key of the target network.
[0138] The second communication module 1003 is used to connect to the target network based on the network identification information and the access key, and establish a communication connection with the image forming device through the target network.
[0139] The second communication module 1003 is further configured to send a download instruction for the target scan file to the image forming apparatus through the target network in response to a download operation for the target scan file.
[0140] The second communication module 1003 is further configured to receive a target scan file transmitted by the image forming apparatus through a target network.
[0141] Fig.10 The mobile terminal provided in the embodiment shown can be used to execute the present invention Figure 1-Figure 8 The technical solution of the method embodiment shown, its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0142] Fig.11 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention is shown in FIG. Fig.11 As shown, the electronic device may include at least one processor and at least one memory in communication with the processor, wherein the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the instructions of this specification. Figure 1-8 The illustrated embodiment provides a method for transmitting scanned files.
[0143] like Fig.11 As shown, the electronic device is in the form of a general computing device. The components of the electronic device may include but are not limited to: one or more processors 1110, a communication interface 1120 and a memory 1130, and a communication bus 1140 connecting different system components (including the memory 1130, the communication interface 1120 and the processor 1110).
[0144] The communication bus 1140 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnection (PCI) bus.
[0145] Electronic devices typically include a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device, including volatile and non-volatile media, removable and non-removable media.
[0146] The memory 1130 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (RAM) and / or a cache memory. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. The memory 1130 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of each embodiment of the present specification.
[0147] A program / utility having a set (at least one) of program modules may be stored in the memory 1130, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules generally perform the functions and / or methods of the embodiments described in this specification.
[0148] The processor 1110 executes various functional applications and data processing by running the programs stored in the memory 1130, such as implementing the present specification. Figure 1-8 The illustrated embodiment provides a method for transmitting scanned files.
[0149] The embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, wherein the computer instructions enable the computer to execute the present specification. Figure 1-8 The illustrated embodiment provides a method for transmitting scanned files.
[0150] The above-mentioned computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (Read Only Memory; hereinafter referred to as: ROM), an erasable programmable read-only memory (Erasab le Programmab le ReadOnly Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0151] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0152] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0153] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this specification, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0154] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of this specification includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of this specification belong.
[0155] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0156] It should be noted that the devices involved in the embodiments of this specification may include but are not limited to personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 displays, MP4 displays, etc.
[0157] In the several embodiments provided in this specification, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0158] In addition, each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0159] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a connector, or a network device, etc.) or a processor (Processor) to perform some steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk and other media that can store program codes.
[0160] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
[0161] 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 method for transmitting a scanned file, characterized in that: Applicable to image forming devices, including: Scanning the target file in response to a scanning instruction issued by the user to obtain scanning data; Generate a corresponding target scan file based on the scan data; the target scan file includes a first scan file or a second scan file; wherein, if encryption configuration information is detected, generate an encryption password based on the encryption configuration information, and generate a first scan file including the scan data and the encryption password; if the encryption configuration information is not detected, generate a second scan file according to the scan data; Storing the target scan file; Generate a two-dimensional code pattern according to target information, and display the two-dimensional code pattern; the target information at least includes network identification information of the target network and an access key of the target network; the target network is used to communicate with the image forming apparatus and an external device; wherein the external device includes a mobile terminal; In response to a download instruction for the target scan file sent by the mobile terminal, the target scan file is transmitted to the mobile terminal via the target network; wherein the download instruction is issued after the mobile terminal scans the QR code pattern and establishes a communication connection with the image forming device via the target network.
2. The method according to claim 1, characterized in that Before responding to the download instruction of the target scan file sent by the mobile terminal, the method further includes: receiving an access request from the mobile terminal to the target network; the access request including an access key; determining whether the access key matches an access key of the target network; If a match is found, the mobile terminal is allowed to access the target network.
3. The method according to claim 2, characterized in that If encryption configuration information is detected, the target information further includes the encryption password, the access request further includes the encryption password, and the scanning and transmitting the target to the mobile terminal through the target network includes: Decrypting the encrypted target scan file according to the encryption password to obtain a decrypted target scan file; The decrypted target scan file is transmitted to the mobile terminal via the target network.
4. The method according to claim 1, characterized in that: The target information also includes an access URL of the preview page; after the image forming apparatus is connected to the external device for communication, the method further includes: The access URL of the preview page is sent to the mobile terminal through the target network; the preview page displays the identification information of the target scan file.
5. The method according to claim 4, characterized in that There are at least two copies of the target file, and the preview page displays identification information of at least two target scan files corresponding to the at least two copies of the target file. The method further includes: receiving a splicing instruction for at least two selected target scan files sent by the mobile terminal; the splicing instruction includes identification information of the at least two selected target scan files; Splicing the at least two target scanned files according to the splicing instruction to obtain a spliced scanned file; The stitched scan file is transmitted to the mobile terminal via the target network.
6. The method according to claim 4, characterized in that The preview page displays a plurality of sharing channel identification information, and the method further includes: receiving a sharing instruction sent by the mobile terminal; the sharing instruction carries identification information of the target scanned file selected in the preview page and identification information of the selected sharing channel; The sharing instruction is used to share the target scan file corresponding to the selected identification information in the preview page to the sharing channel corresponding to the selected sharing channel identification information; Wherein, the identification information of the sharing channel also includes the interface calling information of the sharing channel; An interface calling instruction corresponding to the interface calling information is transmitted to the mobile terminal through the target network; wherein the interface calling instruction also includes the target scanning file, and the interface calling instruction is used to instruct the mobile terminal to call the channel sharing interface corresponding to the selected sharing channel to share the target scanning file to the sharing channel.
7. A method for transmitting a scanned file, characterized in that: Applied to mobile terminals, including: Scanning the two-dimensional code pattern displayed on the image forming device to obtain two-dimensional code image data; Parsing the two-dimensional code image data to obtain parsing information; the parsing information at least includes network identification information of the target network and an access key of the target network; connecting to the target network based on the network identification information and the access key, and establishing a communication connection with the image forming device through the target network; In response to a download operation of a target scan file, sending a download instruction of the target scan file to the image forming device through the target network; The target scan file transmitted by the image forming device through the target network is received.
8. The method according to claim 7, characterized in that The connecting to the target network based on the network identification information and the access key comprises: An access request is sent to the target network based on the network identification information to access the target network; the access request includes the access key.
9. The method according to claim 8, characterized in that The parsed information also includes an encryption password, which is included in the access request; the encryption password is used to instruct the image forming device to decrypt the target scan file stored in the image forming device based on the encryption password in the access request, and transmit the decrypted target scan file to the mobile terminal through the target network.
10. The method according to claim 7, characterized in that The parsed information also includes an access URL of the preview page; in response to the download operation of the target scan file, sending a download instruction for the target scan file to the image forming device through the target network, including: Connecting and displaying the preview page based on the parsed access URL; the preview page displays identification information of the target scan file; When a selection operation on identification information of a target scan file displayed in the preview page and a download operation are detected, the download instruction is sent to the image forming device through the target network.
11. The method according to claim 10, characterized in that The preview page displays identification information of at least two different target scan files, and the method further includes: In response to a selection action of identification information of the at least two target scan files displayed in the preview page and detecting a splicing action of the at least two target scan files selected by the selection action, a splicing instruction is generated; the splicing instruction includes the identification information of the at least two selected target scan files; Sending a splicing instruction for at least two selected target scanned files to the image forming device through the target network; The spliced scan file transmitted by the image forming device through the target network is received.
12. The method according to claim 10, characterized in that The preview page also displays multiple sharing channel identification information, and the method further includes: In response to a selection operation on the identification information of the target scan file displayed in the preview page and detecting a selection operation on any one of the multiple sharing channels, generating a sharing instruction; the sharing instruction includes the identification information of the target scan file selected in the preview page, the identification information of the selected sharing channel, and the interface call information of the selected sharing channel; sending the sharing instruction to the image forming device via the target network; receiving an interface calling instruction fed back by the image forming device through the target network; the interface calling instruction includes the target scan file; The channel sharing interface corresponding to the selected sharing channel is called according to the interface calling instruction to share the target scan file to the sharing channel.
13. An image forming device, characterized in that: include: A file scanning module, used to scan a target file in response to a scanning instruction issued by a user to obtain scanning data; A first processing module is used to generate a corresponding target scan file based on the scan data; the target scan file includes a first scan file or a second scan file; wherein, if encryption configuration information is detected, an encryption password is generated based on the encryption configuration information, and a first scan file including the scan data and the encryption password is generated; if the encryption configuration information is not detected, a second scan file is generated according to the scan data; A storage module, used for storing the target scan file; A two-dimensional code module, used to generate a two-dimensional code pattern according to target information and display the two-dimensional code pattern; the target information at least includes network identification information of a target network and an access key of the target network; the target network is used to communicate with the image forming apparatus and an external device; wherein the external device includes a mobile terminal; The first communication module is used to transmit the target scan file to the mobile terminal through the target network in response to a download instruction for the target scan file sent by the mobile terminal; wherein the download instruction is issued after the mobile terminal scans the QR code pattern and establishes a communication connection with the image forming device through the target network.
14. A mobile terminal, characterized in that: include; A two-dimensional code scanning module is used to scan the two-dimensional code pattern displayed on the image forming device to obtain two-dimensional code image data; A second processing module is used to parse the two-dimensional code image data to obtain parsing information; the parsing information at least includes network identification information of the target network and an access key of the target network; a second communication module, configured to connect to the target network based on the network identification information and the access key, and establish a communication connection with the image forming device through the target network; The second communication module is further configured to send a download instruction for the target scan file to the image forming device through the target network in response to a download operation for the target scan file; The second communication module is further used to receive the target scan file transmitted by the image forming device through the target network.
15. An electronic device, characterized in that: include: at least one processor; as well as at least one memory in communication with the processor, wherein: The memory stores program instructions executable by the processor, and the processor can execute the method according to any one of claims 1 to 6 or 7 to 12 by calling the program instructions.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method according to any one of claims 1 to 6 or 7 to 12.
