Printing system and printing method
By enabling jumps between applications and file uploads in the cloud printing system, the inconvenience of users selecting files to print in different applications is solved, and printing efficiency is improved.
Patent Information
- Application Number
- CN202410323268.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2025-09-23
AI Technical Summary
In a cloud printing scenario, it is inconvenient for users to select files from different applications for printing.
By jumping from the first application to the second application, grabbing the files in the third application and uploading them to the cloud server for unified management, users do not need to frequently switch applications when printing is needed.
It reduces the number of steps users need to take when printing and improves printing efficiency.
Smart Images

Figure CN120687044A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image forming, and in particular to a printing system and a printing method. Background Art
[0002] Currently, many image forming apparatuses can perform cloud printing operations.
[0003] However, in a cloud printing scenario, the files that a user wants to print may be distributed across different applications, causing inconvenience to the user in performing cloud printing. Summary of the Invention
[0004] The object of the present invention is to provide a printing system and a printing method for solving the problem of inconvenience caused to cloud printing due to the distribution of files to be printed in different applications.
[0005] In a first aspect, the present invention provides a printing system, comprising: a first application, a second application, and a cloud server, wherein the second application runs on a third application distinct from the first application, and the first application and the second application are both applications that provide cloud printing services and are managed and controlled by the cloud server; the first application includes a first display interface, and the first display interface has a first control;
[0006] After the user triggers the first control, the first application jumps to the second application running on the third application;
[0007] The second application calls the third application to display the files involved in the running process of the third application; in response to the user's selection operation based on the files, the file selected by the user from the files is used as a target file, and the target file is uploaded to the cloud server;
[0008] The cloud server receives and stores the target file so as to be able to send the target file to the image forming device for printing.
[0009] In a printing system as described above, in certain implementations of the first aspect, after the user triggers the first control, the first application displays a second display interface to the user, and the second display interface displays various filtering condition options for filtering files; after the user selects the filtering condition in the second display interface, the third display interface is displayed to the user, and the third display interface displays options for various third applications; after the user triggers the option of the third application in the third display interface, the process jumps to the second application running on the triggered third application.
[0010] In some implementations of the first aspect of the printing system as described above, the second application calls the third application to display files that meet a filtering condition during the running of the third application, wherein the filtering condition is used to filter files.
[0011] In the printing system described above, in certain implementations of the first aspect, the second application includes a first display interface, and after the cloud server saves the target file, the first application or the second application redisplays the first display interface to the user, wherein the redisplayed first display interface displays the target file saved to the cloud server;
[0012] The first application or the second application, after the user triggers the saved target file to be printed in the first display interface, a fourth display interface is displayed to the user, and the fourth display interface displays a print control;
[0013] After the user triggers the print control in the fourth display interface, the cloud server sends the target file to be printed to the image forming device for printing.
[0014] In certain implementations of the first aspect of the printing system described above, the printing system further includes: a third-party intelligent voice device and a third-party server, the third-party server being configured to manage and control the intelligent voice device;
[0015] When the user needs to print a file, the intelligent voice device listens for a voice print instruction input by the user and sends the voice print instruction and the user ID of the user to the third-party server, wherein the voice print instruction includes file information of a target file to be printed, the file information including at least one of a file name, a file storage date, and tag information to which the file belongs, and the user ID of the user is pre-bound to the intelligent voice device;
[0016] The third-party server receives the voice print instruction and the user identifier, performs voice recognition on the voice print instruction to obtain a text print instruction, and sends the text print instruction and the user identifier to the cloud server;
[0017] The cloud server receives the text printing instruction and the user identifier, performs semantic recognition on the text printing instruction, and obtains the file information of the target file to be printed; based on the user identifier and the file information of the target file to be printed, it finds the target file to be printed and sends the target file to be printed to the image forming device for printing.
[0018] In the printing system described above, in certain implementations of the first aspect, the second application includes a first display interface, and when the user and the target image forming device are in the same local area network, the first application, in response to the user triggering a target file to be printed in the first display interface of the first application, causes the cloud server to send the target file to be printed to the first application; or
[0019] The second application, in response to the user triggering a target file to be printed in the first display interface of the second application, causes the cloud server to send the target file to be printed to the second application; wherein the target image forming device is used to print the target file to be printed;
[0020] The first application or the second application receives the target file to be printed, processes the target file to be printed to obtain a processed file, and sends the processed file to the target image forming device so that the target image forming device prints the processed file.
[0021] In the printing system described above, in certain implementations of the first aspect, the first application or the second application includes a first display interface, and when the user selects any target file displayed in the first display interface, a fifth display interface is displayed, wherein the fifth display interface includes a second control, and the second control is used to change tag information bound to the target file, the tag information bound to the target file selected by the user is a first tag, and the target file selected by the user is displayed in a directory of the first tag in the first display interface;
[0022] The user triggers the second control to display a label option interface, where the label option interface is used to display options for each label information;
[0023] The user selects a second tag in the tag option interface, and the target file selected by the user is displayed under the directory of the second tag in the first display interface, and the first tag is different from the second tag.
[0024] In a second aspect, the present technical solution provides a printing method, which is applied to a first application program and includes:
[0025] After the user triggers the first control in the first display interface of the first application, the process jumps to the second application running on the third application, so that the second application calls the third application to display various files involved in the running process of the third application, and uploads the target file selected by the user from the various files to the cloud server, so that the cloud server saves the target file;
[0026] When the user prints a file, in response to the user triggering the target file to be printed in the first display interface, the cloud server sends the target file to be printed to the image forming device for printing.
[0027] In certain implementations of the second aspect of the printing method described above, after the cloud server saves the target file, the printing method further includes:
[0028] The first display interface is re-displayed to the user, wherein the re-displayed first display interface displays the target file that has been saved to the cloud server.
[0029] In certain implementations of the second aspect of the printing method described above, in response to the user triggering the target file to be printed on the first display interface, causing the cloud server to send the target file to be printed to the image forming device for printing, specifically includes:
[0030] After the user triggers the target file to be printed in the first display interface, a fourth display interface is displayed to the user, wherein the fourth display interface displays a print control;
[0031] In response to the user triggering the print control, the cloud server sends the target file to be printed to the image forming device for printing.
[0032] In certain implementations of the second aspect of the printing method described above, the printing method further includes:
[0033] When the user selects any target file displayed in the first display interface, a fifth display interface is displayed, wherein the fifth display interface includes a second control, the second control is used to change tag information bound to the target file, the tag information bound to the target file selected by the user is a first tag, and the target file selected by the user is displayed in a directory of the first tag in the first display interface;
[0034] After the user triggers the second control, a label option interface is displayed, wherein the label option interface is used to display options for each label information;
[0035] After the user selects a second tag in the tag option interface, the target file selected by the user is displayed under the directory of the second tag in the first display interface, and the first tag is different from the second tag.
[0036] In a third aspect, the present technical solution provides a printing method, which is applied to a second application program and includes:
[0037] calling a third application to display various files involved in the running of the third application, wherein the second application runs on the third application;
[0038] In response to the user's selection operation based on the files, taking the file selected by the user from the files as a target file, and uploading the target file to the cloud server so that the cloud server stores the target file;
[0039] When the user prints a file, in response to the user triggering the target file to be printed in the first display interface of the second application, the cloud server sends the target file to be printed to the image forming device for printing.
[0040] In certain implementations of the third aspect of the printing method described above, calling a third application to display various files involved in the execution of the third application specifically includes:
[0041] Determine the screening criteria;
[0042] The third application is called to display the files that meet the screening condition during the running of the third application.
[0043] In certain implementations of the third aspect of the printing method described above, after the cloud server saves the target file, the printing method further includes:
[0044] The first display interface is re-displayed to the user, wherein the re-displayed first display interface displays the target file that has been saved to the cloud server.
[0045] In certain implementations of the third aspect of the printing method described above, in response to the user triggering a target file to be printed in the first display interface of the second application, causing the cloud server to send the target file to be printed to the image forming device for printing, specifically includes:
[0046] After the user triggers the target file to be printed in the first display interface of the second application, a fourth display interface is displayed to the user, wherein the fourth display interface displays a print control;
[0047] In response to the user triggering the print control, the cloud server sends the target file to be printed to the image forming device for printing.
[0048] In certain implementations of the third aspect of the printing method described above, the printing method further includes:
[0049] When the user selects any target file displayed in the first display interface, a fifth display interface is displayed, wherein the fifth display interface includes a second control, the second control is used to change tag information bound to the target file, the tag information bound to the target file selected by the user is a first tag, and the target file selected by the user is displayed in a directory of the first tag in the first display interface;
[0050] After the user triggers the second control, a label option interface is displayed, wherein the label option interface is used to display options for each label information;
[0051] After the user selects a second tag in the tag option interface, the target file selected by the user is displayed under the directory of the second tag in the first display interface, and the first tag is different from the second tag.
[0052] In a fourth aspect, the present technical solution provides an electronic device comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the device, enable the device to execute the printing method in any possible implementation of the second aspect or the third aspect.
[0053] In a fifth aspect, the present invention further provides a chip comprising a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface and executes the printing method in any possible implementation of the second aspect or the third aspect.
[0054] Optionally, as an implementation, the chip may further include a memory storing instructions, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the printing method in any possible implementation of the second aspect or the third aspect.
[0055] In a sixth aspect, the present invention further provides a computer-readable storage medium storing a program code for execution by a device, wherein the program code includes instructions for executing the printing method in any possible implementation of the second aspect or the third aspect.
[0056] Beneficial Effect: A first application can jump to a second application running on a third application, and the second application can capture a file in the third application and upload it to a cloud server. When a user prints a file, the cloud server can then send the saved file to an image forming device to print the target file. This method allows files that may need to be printed from different applications to be uploaded to the cloud server in advance for unified management. This eliminates the need for users to frequently switch between different applications when printing, reduces the number of steps required for printing, and improves printing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 is an interactive schematic diagram of a printing system provided in an embodiment of the present application;
[0058] Figure 2 is a schematic diagram of a first display interface provided in an embodiment of the present application;
[0059] Figure 3 is a schematic diagram of a second display interface provided in an embodiment of the present application;
[0060] Figure 4 is a schematic diagram of a third display interface provided in an embodiment of the present application;
[0061] Figure 5 This is a schematic diagram of an interface for displaying various files involved in the running process of a third application program, provided in an embodiment of the present application;
[0062] Figure 6 is a schematic diagram of a redisplayed first display interface provided in an embodiment of the present application;
[0063] Figure 7 This is a schematic diagram of the interface of the file opening option pop-up window provided in an embodiment of the present application;
[0064] Figure 8 This is a schematic diagram of the interface of the file opening page provided in an embodiment of the present application;
[0065] Figure 9 This is a schematic diagram of the interface of the label option pop-up window provided in an embodiment of the present application;
[0066] Figure 10 is a schematic diagram of a fourth display interface provided in an embodiment of the present application;
[0067] Figure 11 This is a framework diagram of a printing system provided in an embodiment of the present application;
[0068] Figure 12 is a schematic flow chart of the printing method provided in an embodiment of the present application;
[0069] Figure 13 This is another schematic flow chart of the printing method provided in an embodiment of the present application.
[0070] Figure 14 This is a schematic diagram of a printing device provided in an embodiment of the present application;
[0071] Figure 15 This is a schematic diagram of another printing device provided in an embodiment of the present application;
[0072] Figures 16a to 16c This is a schematic diagram of an interface for changing the tag information of a target file provided in an embodiment of the present application;
[0073] Figure 17 This is a schematic diagram of the fifth display interface in the second application provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] 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.
[0075] It should be clear that the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0076] The terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "an", "the" 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 otherwise.
[0077] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.
[0078] Figure 1 This is an interactive diagram of the cloud printing system provided by the embodiment of the present application. Figure 1 As shown, the cloud printing system provided by the embodiment of the present application may include: a first application, a second application, a third application, a cloud server, and an image forming device. Figure 1 In the process, the first application can capture the file that needs to be printed in the third application through the second application and save it to the cloud server. After that, the file saved in the cloud server is sent to the image forming device for printing. Figure 1 The dotted line in the middle represents a choice between two options.
[0079] The first application may be a client that provides cloud printing services, and the second application may be a mini-program that provides cloud printing services. The first and second applications can directly jump to and communicate with each other, and both can communicate with a cloud server, and both are managed and controlled by the cloud server. The second application runs on a third application, which may be a sub-application within the third application, that is, the second application may be a mini-program running within the third application. The third application may be a client that contains files to be printed. The third application may be an application for social networking, such as WeChat, QQ, DingTalk, or an application for academic exchange, such as an academic forum. The cloud server may be a server that includes file management functions and provides cloud printing services. The cloud server may be a single server or a combination of multiple servers. When the cloud server is a combination of multiple servers, it may include at least a file server that manages files and a print server that provides cloud printing services. In this case, the first or second application can directly upload files to be printed to the file server. Furthermore, the first and third applications may be installed on the same terminal device. The terminal device may be a device with communication capabilities, including but not limited to mobile phones, smart watches, tablets, computers, laptops, and other devices.
[0080] An image forming device may refer to a device with printing and / or scanning functions, including but not limited to laser printers, inkjet printers, multifunction printers, label printers, thermal printers, scanners, light emitting diode (LED) printers, all-in-one machines, and multifunction peripherals (MFPs) that perform the above functions in a single device.
[0081] Next, Figure 1 The interactive process of the cloud printing system is explained in detail. The cloud printing system includes two parts of the interactive process. The first part is: grabbing the files to be printed across applications, that is, uploading the files to the cloud server across applications; the second part is: sending the grabbed files to the image forming device for printing, that is, sending the files saved in the cloud server to the image forming device for printing.
[0082] For the first part: grab the files that need to be printed across applications
[0083] When a user triggers a first control in a first display interface of the first application, the first application jumps to a second application running on a third application. After jumping to the second application, the second application calls the third application to display the files involved in the third application's execution. The user selects a file to be printed from among the files. In response to the user's selection of files, the second application selects the selected file as the target file and uploads the target file to a cloud server. The cloud server receives and stores the target file so that it can send the target file to an image forming device for printing.
[0084] Among them, the first display interface is used to display the files saved to the cloud server and the first control. The first control can refer to a control or button used to trigger file upload, such as a file upload control, a first control, etc. In addition, the user can refer to a user who wants to perform cloud printing. The user can log in to the first application or the second application. Therefore, the user identifier of the user logged in to the first application is the same as the user identifier of the user logged in to the second application. The user identifier can refer to the unique identifier of the user of the first application or the second application, such as a token, a user account, a user ID, etc. The user's triggering method includes but is not limited to manual click, voice trigger, etc.
[0085] In the cloud printing system, since the third application and the first application are two different applications, there is a privacy protection mechanism between the two applications. That is, the third application restricts the first application from accessing the data generated during the operation of the third application. However, the second application runs on the third application and can access the data (including files) generated by the third application through the Application Program Interface (API). Therefore, in this application, the first application captures the files in the third application through the second application.
[0086] Next, the process of jumping from the first application to the second application is described.
[0087] In one embodiment, after a user logs in to a first application, the user triggers a first control in the first display interface of the first application, which displays a second display interface to the user. The second display interface displays various filter criteria options for filtering files. After the user selects a filter criterion in the second display interface, the first application displays a third display interface to the user. The third display interface displays options for various third applications, which may be displayed in a pop-up window. After the user triggers an option for the third application in the third display interface, the first application jumps to the second application running on the triggered third application.
[0088] Among them, each filtering condition option may include: at least one of: file type, file suffix, and file tag information. File types include but are not limited to document type, video type, image type, etc. File suffixes include but are not limited to txt, text, docx, pdf, ofd, xl sx and other document formats. File tag information may refer to the subject information to which the file belongs, such as: mathematics, Chinese, English, geography and other tag information.
[0089] When the filter condition options only include file tag information, the second display interface may be displayed in a pop-up window, and the second display interface is used to display options for each tag information. In this case, the second display interface is a tag option interface. In this case, the file types and file extensions included in the filter condition options may be directly defaulted, for example, the file type may be directly defaulted to the document type and image type, and the file extension may be directly defaulted to all suffixes of document type files.
[0090] Figure 2 It is the first display interface of the first control. For example, the "upload file" control in the first display interface is the first control. Figure 3 It is a second display interface displayed in the form of a pop-up window, which displays various label information, such as Chinese label, mathematics label, English label, physics label and other label information options. Figure 4 It is a third display interface displayed in a pop-up window format, which displays options of each third application, local options, etc. The options of each third application may include: WeChat, QQ, DingTalk, etc.
[0091] In another embodiment, when jumping from a first application to a second application, there is no need to select file filtering conditions. That is, after a user logs in to the first application, the user triggers a first control in the first display interface of the first application, which displays a third display interface to the user. The third display interface displays options for each third application. After the user triggers an option for the third application in the third display interface, the first application jumps to the second application running on the triggered third application.
[0092] When jumping from a first application to a second application, the user triggers the option of the third application in the third display interface. The first application determines the third application triggered by the user and, based on pre-set jump information corresponding to the triggered third application, jumps to the second application running on the triggered third application. The pre-set jump information corresponding to the triggered third application may include: path information indicating the jump to the first display interface for uploading files in the second application and an identifier of the second application.
[0093] Before a first application jumps to a second application, the first application generates a file capture instruction based on a user's triggering operation on the first application. When jumping from the first application to the second application, the first application sends the file capture instruction to the second application. The file capture instruction carries the user's user ID and may also carry filtering criteria for selecting files.
[0094] When the first application displays the second display interface to the user, a file capture instruction is generated based on the filtering conditions selected by the user in the second display interface. The file capture instruction carries the filtering conditions selected by the user and the user's user ID, and the filtering conditions include at least one of the file type selected by the user, the file extension selected by the user, and the tag information selected by the user.
[0095] When the first application does not display the second display interface to the user, the first application generates a file capture instruction in response to the user's triggering operation on the first control in the first display interface. The file capture instruction here carries the user's user ID.
[0096] After jumping to the second application, the second application can call the API of the third application to display to the user the files involved in the operation of the third application. The files displayed to the user can be all the files involved in the operation of the third application, or they can be some of the files involved in the operation of the third application that meet the filtering conditions. When displaying some of the files that meet the filtering conditions, the second application needs to first determine the filtering conditions. The filtering conditions can be sent to the second application by the first application, or they can be the filtering conditions selected by the user in the second display interface of the second application.
[0097] Specifically, the second application may receive a file fetching instruction sent by the first application, and based on the file fetching instruction, call an API of the third application to display various files involved in the running process of the third application.
[0098] In one embodiment, after jumping from the first application to the second application, the second application can display the first display interface of the second application to the user based on the file capture instruction, and automatically call the API of the third application based on the first display interface and the file capture instruction to display the files involved in the operation of the third application to the user. Figure 5 shown.
[0099] When displaying the files involved in the running process of the third application, the files involved in the running process of the third application may be sorted in chronological order, and the sorted files may be displayed to the user.
[0100] A method for automatically calling the API of a third application based on the first display interface and the file grabbing instruction to display various files involved in the running process of the third application to the user is described.
[0101] In one embodiment, when the file capture instruction does not carry a filtering condition, the second application queries all files involved in the operation of the third application by calling the API of the third application on the first display interface, and displays all files to the user so that the user can select the file to be printed from all files.
[0102] To reduce the time users spend manually selecting files to print and improve the efficiency of file capture and printing, you can display targeted files to users instead of displaying all files. The specific method is as follows:
[0103] In an embodiment of the present specification, when a file grabbing instruction carries a filtering condition, the second application calls the API of the third application on the first display interface to query all files involved in the running process of the third application, and then filters all the queried files according to the filtering condition to filter out some files that meet the filtering condition, and displays some of the files to the user so that the user can select the files to be printed from the some files.
[0104] Exemplarily, the filtering conditions may include the document type and the file extension pdf. When the first application screens all the queried files, it screens out files that are of the document type and have the file extension pdf from all the queried files, and displays the screened files to the user.
[0105] Exemplarily, the filtering conditions may include document type, file extension docx, and tag information as language tag. When the first application filters all queried files, it filters out language files that belong to the document type and have the file extension docx from all queried files, and displays the filtered language files to the user.
[0106] In an embodiment of the present specification, after the files involved in the operation of the third application are displayed to the user, the user selects a file to be printed from the displayed files. In response to the user's selection operation of selecting a file from the displayed files, the second application uses the file selected by the user from the displayed files as the target file. The second application uploads the target file to the cloud server through an upload interface preset by the cloud server. After receiving the target file, the cloud server saves the target file and determines the file storage address of the target file. The file storage address of the target file may refer to the Uniform Resource Locator (URL) of the target file.
[0107] After the cloud server determines the file storage address of the target file, it needs to establish a correspondence between the file identifier, the user identifier of the user, and the file storage address of the target file, so that when the user subsequently needs to print the target file, the cloud server can accurately find the target file stored in the cloud server based on the user identifier. Alternatively, it needs to establish a correspondence between the file identifier, the user identifier of the user, the tag information of the target file, and the file storage address of the target file, so that when the user subsequently needs to print the target file, the cloud server can accurately find the target file stored in the cloud server based on the file tag information and / or the user identifier. The file identifier can refer to a unique identifier of the target file, such as a file ID. When establishing the correspondence between the file identifier, the user identifier of the user, the file storage address of the target file, and the tag information of the target file, the correspondence can be established one-to-one, one-to-many, or many-to-many. In this application, there is no limitation on the method of establishing the correspondence and the form in which the correspondence is stored.
[0108] When establishing a correspondence, the file identifier of the target file can be associated with the file storage address and / or tag information. The user identifier can be associated with the file identifier of the target file and / or the file storage address. The file storage address can also be associated with the tag information.
[0109] Hereinafter, when the cloud server receives the tag information of the uploaded target file, the cloud server establishes a correspondence between the file identifier of the target file and the tag information of the target file.
[0110] In addition, to facilitate the user's selection of target files to be printed in the first application, each target file in the first display interface needs to be updated after the target file is saved on the cloud server. That is, after the target file is saved on the cloud server, the first application re-displays the first display interface to the user to refresh each target file that has been saved on the cloud server in the first display interface.
[0111] In one embodiment, if the filtering criteria do not include user-selected tag information, when uploading the target file to the server, the second application directly uploads the target file to the cloud server. After determining the target file's file storage address, the cloud server establishes and stores a correspondence between the target file's file storage address and the user's user ID. After establishing and storing the correspondence between the target file's file storage address and the user's user ID, the cloud server returns a first response message to the second application. Based on the received first response message, the second application redirects to the first application, causing the first application to re-display the first display interface to the user. Upon redirecting to the first application, the second application sends the target file's file storage address in the first response message to the first application. The first application stores the received target file's file storage address. The first response message indicates that the target file was successfully uploaded and that the correspondence between the target file's file storage address and the user's user ID was successfully established and stored. The re-displayed first display interface may display the target files uploaded to the cloud server. Because the cloud server did not receive the tag information, the target files displayed in the first display interface are not categorized according to the tag information.
[0112] In another embodiment, when uploading a target file to a server, if the filter criteria include user-selected tag information, the second application uploads the target file and the user-selected tag information to the cloud server. After the cloud server determines the target file's file storage address, the cloud server creates a mapping relationship between the target file's file storage address, the user-selected tag information, and the user's user ID, and stores the mapping relationship.
[0113] After the cloud server establishes and saves the mapping relationship, the cloud server returns a second response message to the second application. Based on the received second response message, the second application jumps to the first application, so that the first application re-displays the first display interface to the user. When the second application jumps to the first application, the second application sends the file storage address of the target file in the first response message to the first application. The first application receives the file storage address of the target file and saves the file storage address of the target file so as to find the corresponding target file from the cloud server through the file storage address. Among them, the second response message is used to indicate that the target file has been uploaded successfully and the mapping relationship between the file storage address of the target file, the tag information selected by the user, and the user identification of the user has been successfully established and saved. The second response message contains the file storage address of the target file. Since the cloud server saves the mapping relationship between the file storage address of the target file, the tag information selected by the user, and the user identification of the user, the re-displayed first display interface can display each target file under each tag information directory that has been uploaded to the cloud server.
[0114] Figure 6 To redisplay the first display interface, Figure 6 You can view the target files under each tag information directory.
[0115] In one embodiment, when the filtering conditions do not include the tag information selected by the user but the first application receives the tag information selected by the user, after the cloud server determines the file storage address of the target file, the cloud server returns a third response message to the second application. The third response message is used to indicate that the target file has been successfully uploaded, and the third response message may include: the file storage address of the target file. The second application receives the third response message, jumps to the first application based on the third response message, and sends the file storage address of the target file in the third response message to the first application. The first application receives the file storage address of the target file, and sends the file storage address of the target file, the tag information selected by the user, and the user identifier determined when the user logs in to the cloud server. The cloud server receives the file storage address of the target file, the tag information selected by the user, and the user identifier of the user, establishes a mapping relationship between the file storage address of the target file, the tag information selected by the user, and the user identifier of the user, and saves the mapping relationship.
[0116] After the cloud server establishes and saves the mapping relationship, the cloud server returns a fourth response message to the first application. The first application, in response to the fourth response message, re-displays the first display interface to the user. The fourth response message indicates the successful establishment and saving of the mapping relationship between the file storage address of the target file, the tag information selected by the user, and the user ID of the user. The fourth response message includes the file storage address of the target file.
[0117] The above is a process of jumping from the first application to the third application to capture files. In addition to the above cross-application file capture process, you can also capture files from the third application and then jump to the first application to upload the files.
[0118] In the embodiment of this specification, the user selects a file to be printed in the interface of the third application, and the third application responds to the user's selection operation on the target file by displaying a file opening option pop-up window to the user. Figure 7 As shown. The user selects the file open control corresponding to the first application in the file open option pop-up window. In response to the user's triggering operation on the file open control of the first application, the third application jumps to the first application and sends the file address of the target file to the first application. The first application receives the file address of the target file, opens the target file according to the file address of the target file, and displays the file open page after the target file is opened to the user. Figure 8 As shown. The file opening page is used to display print controls, print parameter settings, and upload controls. Among them, the file address may refer to the file address of the file stored in the third application, and the file address is not the same as the file storage address. Then, the user can trigger the upload control in the file opening page. In response to the user's triggering operation on the file upload control, the first application displays a label option pop-up window to the user. The user can select the label information for the target file in the label option pop-up window and trigger the file upload control in the label option pop-up window. As shown Figure 9 In response to the user's selection of the tag information of the target file and the user's triggering of the file upload control, the first application receives the tag information of the target file selected by the user and sends the tag information of the target file, the target file, and the user ID of the user logged in by the first application to the cloud server.
[0119] Figure 8 To display the interface of the file opening page, Figure 8 "Upload to xx box" is the upload control, "xx box" can refer to the storage space in the cloud server used to store various target files, and "Print" is the print control, which sets the printing parameters such as the number of copies, printing direction, paper size, range, single-sided and double-sided. Figure 9To display the tab options pop-up window with various tab options and file upload controls, Figure 9 "Go to Upload" is a file upload control.
[0120] The cloud server receives the target file, the tag information of the target file, and the user ID of the user, saves the target file, and determines the file storage address of the target file. Thereafter, the mapping relationship between the file storage address of the target file, the tag information of the target file, and the user ID is established and saved. Finally, the cloud server returns the fifth response information to the first application, and the first application responds to the fifth response information and re-displays the first display interface to the user. The fifth response information is used to indicate that the file upload is successful and the mapping relationship between the file storage address of the target file, the tag information selected by the user, and the user ID of the user is successfully established and saved. The fifth response information includes the file storage address of the target file. The first application saves the file storage address of the target file for subsequent users to perform printing operations on the target file in the cloud server through the first application.
[0121] In addition, the user can trigger the first control in the first display interface of the second application to make the second application call the third application to display the files involved in the operation of the third application, so that the user can select the target file to be printed and upload it.
[0122] In this embodiment of the present specification, after a user triggers a first control in a first display interface of a second application, a third application is invoked to display the files involved in the execution of the third application. In response to a user selection operation based on the files, the file selected by the user from the various files is selected as a target file and uploaded to a cloud server. The cloud server stores the target file so that it can be sent to an image forming device for printing.
[0123] In one embodiment, after a user logs into a second application, the user triggers a first control in the first display interface of the second application, displaying a second display interface to the user. The second display interface displays various filter criteria options for filtering files. After the user selects a filter criterion in the second display interface, the second application invokes a third application to display the files involved in the execution of the third application.
[0124] Among them, the first display interface and the second display interface in the second application are the same as the first display interface and the second display interface in the first application, and are not repeated here.
[0125] When the second application displays the second display interface to the user, a file capture instruction is generated based on the filtering condition selected by the user in the second display interface.
[0126] In another embodiment, when calling a third application from a second application, there is no need to select file filtering conditions. That is, after the user logs into the second application, the user triggers the first control in the first display interface of the second application to directly call the third application to display the files involved in the execution of the third application.
[0127] When the first application does not display the second display interface to the user, the first application generates a file capture instruction in response to the user's triggering operation on the first control in the first display interface.
[0128] The method in which the second application program calls the third application program to display the files involved in the running process of the third application program is the same as described above.
[0129] In one embodiment, when the file capture instruction does not carry a filtering condition, the second application calls the API of the third application, queries all files involved in the operation of the third application, and displays all files to the user so that the user can select the file to be printed from all files.
[0130] In one embodiment, when the file capture instruction carries a filtering condition, the second application calls the API of the third application to query all files involved in the operation of the third application, and then filters all the queried files according to the filtering condition to filter out some files that meet the filtering condition, and displays some of the files to the user so that the user can select the files to be printed from the some files.
[0131] The subsequent method of uploading the target file or the tag information selected by the user to the cloud server is the same as described above and will not be repeated here.
[0132] After the cloud server establishes and saves the correspondence between the file storage address of the target file and the user's user identifier, the cloud server returns the first response information to the second application. The second application re-displays the first display interface to the user based on the received first response information.
[0133] After the cloud server establishes and saves the mapping relationship between the file storage address of the target file, the user's user ID, and the tag information selected by the user, the cloud server returns a second response message to the second application, and the second application re-displays the first display interface to the user based on the received second response message.
[0134] The above is a detailed description of cross-application file capture. In addition to the above cross-application file capture, you can also directly capture files from the local computer of the first application and upload them to the cloud server.
[0135] In this embodiment of the present specification, after a user triggers a first control, the first application redirects to the local storage space of the user's device to display various files. In response to the user selecting a file in the local storage space, the first application selects the file selected by the user as the target file and uploads the target file to the cloud server. After receiving the target file, the cloud server saves the target file so that it can be sent to the image forming device for printing.
[0136] In one embodiment, after a user logs in to a first application, the first application determines the user's user ID. Within a first display interface of the first application, the user triggers a first control, which displays a second display interface for displaying options for various tag information. After the user selects filter criteria within the second display interface, the first application displays a third display interface. Within the third display interface, the user triggers a local control, causing the first application to redirect to the device's local storage space to display various files.
[0137] In another embodiment, after the user logs in to the first application, in the first display interface of the first application, the user triggers the first control to display the third display interface to the user. After the user triggers the local control in the third display interface, the first application jumps to the local storage space of the device to display each file.
[0138] In the local storage space, the user selects a file to be printed, and the first application uses the file selected by the user in the local storage space as the target file, and uploads the target file, the user's user ID, and the tag information selected by the user to the cloud server. After the cloud server receives the target file, the user's user ID, and the tag information selected by the user, it saves the target file and determines the file storage address of the target file. The cloud server establishes a mapping relationship between the file storage address of the target file, the tag information belonging to the target file, and the user's user ID, and saves the mapping relationship. After the cloud server saves the mapping relationship, it returns a fifth response message to the first application. In response to the fifth response message, the first application re-displays the first display interface to the user. The fifth response message includes the file storage address of the target file. The first application saves the file storage address of the target file for subsequent users to perform printing operations on the target file in the cloud server through the first application.
[0139] Through the above method, files that the user may need to print are uploaded to the cloud server in advance, and the uploaded target files are displayed in the first display interface of the first application or the second application. When the target files uploaded to the cloud server have corresponding tag information (i.e., the target files are bound to tag information), the tag information of the target files can be changed in the first application or the second application.
[0140] Next, a method for changing the tag information of a target file is described. The method for changing the tag information of a target file by the first application and the second application is the same, and the first application is taken as an example for description.
[0141] In an embodiment of the present specification, a user can select any target file in the first display interface of the first application, and the first application will display a fifth display interface to the user. The target file selected by the user is used as the file to be changed. The fifth display interface includes a second control, which is used to change the tag information bound to the target file. In addition, the fifth display interface also includes a share control and a delete control. The share control is used to share the target file selected by the user with other users, and the delete control is used to delete the target file selected by the user from the first display interface.
[0142] The tag information bound to the target file selected by the user is the first tag, and the target file selected by the user is displayed under the directory of the first tag in the first display interface. The first tag can be any tag information.
[0143] The user triggers the second control in the fifth display interface, and the first application displays a label option interface to the user, wherein the label option interface is used to display options for each label information.
[0144] The user can select a second tag in the tag selection interface, and then the first application displays the target file selected by the user (i.e., the file to be modified) under the directory of the second tag in the first display interface. The second tag can be any tag information different from the first tag.
[0145] When the user selects the second tag in the tag option interface and triggers the confirmation control in the tag option interface, the first application sends a tag change instruction to the cloud server, wherein the tag change instruction may carry the second tag reselected by the user. The cloud server receives the tag change instruction and, based on the second tag in the tag change instruction, changes the first tag originally corresponding to the file to be changed to the second tag. At the same time, the correspondence between the file storage address of the file to be changed, the first tag, and the user identifier is changed to the correspondence between the file storage address of the file to be changed, the second tag, and the user identifier. After the correspondence is changed, a change response is returned to the first application, and the change response is used to indicate that the tag change is successful or to indicate that the tag change fails.
[0146] If the label change is successful, the first application re-displays the first display interface to the user based on the received change response. In the re-displayed first display interface, the file to be changed, originally in the directory of the first label, is moved to the directory of the second label and displayed. In other words, the target file selected by the user is displayed in the directory of the second label in the first display interface.
[0147] Figures 16a to 16c This is a schematic diagram of the interface for changing the tag information of the target file provided in the embodiment of this specification. Figure 16a This is a schematic diagram of the fifth display interface in the first application. Figure 16b This is a schematic diagram of the label options interface. Figure 16c The first display interface after changing the tag information of the target file is shown in FIG. The user can long press a target file in the first display interface or click the select button in the first display interface to display Figure 16a The fifth display interface, in the fifth display interface, all target files are selectable, the second control is, for example, the "Move Selected File" button, the sharing control is, for example, the "Share" button, and the deletion control is, for example, the "Delete" button. When the user has not selected any file, the second control, the sharing control, and the deletion control are in an inactive state, that is, the user cannot click on the second control, the sharing control, and the deletion control. Taking the selection of file 2 under the language label directory as an example, when the user selects file 2, the second control, the sharing control, and the deletion control change from an inactive state to an active state, and the second control, the sharing control, and the deletion control light up (indicated by a bold solid line in Figure 16). When the user clicks the second control, it jumps to Figure 16b The label option interface displays label options for various subjects, such as Mathematics, Chinese, English, Geography, etc. The user can reselect other labels that are different from the Chinese label in the label option interface, such as the user selects the Mathematics label. After the user selects the Mathematics label and clicks the "OK" button (i.e., the OK control) in the label option interface, the first display interface is displayed to the user again, and File 2 is displayed under the Mathematics label directory in the re-displayed first display interface, i.e. Figure 16c In the re-displayed first display interface, the file 2 originally in the Chinese label directory is transferred to the Mathematics label directory.
[0148] in addition, Figure 17 This is a schematic diagram of the fifth display interface in the second application in the embodiment of this specification. The label option interface in the second application is Figure 16b Similarly, the first display interface after changing the tag information of the target file in the second application is the same as Figure 16c Same.
[0149] For the second part: Send the captured file to the image forming device for printing
[0150] In the embodiment of the present specification, after a user uploads a target file to the cloud server, the user does not need to print the target file immediately, but can also print the target file immediately. This is because the cloud server can manage all stored target files and set a valid time interval (e.g., 48 hours) for each target file uploaded to the cloud server. When a target file exceeds the valid time interval, the cloud server deletes the target file and deletes the mapping relationship between the file storage address of the target file, the tag information of the target file, and the user identifier, thereby invalidating the file storage address of the target file. Alternatively, the cloud server deletes the mapping relationship between the file storage address of the target file and the user identifier, thereby invalidating the file storage address of the target file.
[0151] In a cloud printing scenario, a user can select a file to be printed through a first application or a second application, causing the cloud server to send the file to be printed to an image forming device for printing. Alternatively, a user can receive voice information input by a third-party intelligent voice device, causing the cloud server to send the file to be printed to an image forming device for printing. An intelligent voice device may refer to an intelligent device capable of voice interaction with a user, including but not limited to smart speakers, smart watches, smart bracelets, smart home appliances, etc. Smart home appliances include but are not limited to smart TVs and smart air conditioners.
[0152] It should be noted that if the cloud server is a single server, the cloud server can directly receive the print instruction triggered by the user and directly search for the file to be printed. If the cloud server includes a file server and a print server, the print server can receive the print instruction triggered by the user, and then the print server searches for the file to be printed from the file server. The print server then sends the searched file to the image forming device for printing. The file server is used to store the target files.
[0153] First, a method for implementing file printing through the first application or the second application is described in detail. The method for implementing file printing through the first application is the same as the method for implementing file printing through the second application. Next, the method for implementing file printing through the first application is described as an example.
[0154] In the embodiment of this specification, when a user prints a file, the user triggers a saved target file to be printed in the first display interface of the first application. The cloud server then sends the target file triggered by the user to the image forming device for printing. The first display interface is used to display the target files uploaded to the cloud server.
[0155] After a user triggers a saved target file to be printed in the first display interface of the first application, the first application generates a print instruction and sends the print instruction to the cloud server. Based on the received print instruction, the cloud server searches for the target file to be printed and sends the target file to the image forming device for printing.
[0156] In one embodiment, after the user triggers the saved target file to be printed in the first display interface of the first application, the file storage address of the target file to be printed is determined. At the same time, the first application displays the fourth display interface to the user. The user triggers the print control in the fourth display interface, and the first application generates a print instruction in response to the print control triggered by the user, based on the file storage address of the target file to be printed and the user identification of the user, and sends the print instruction to the cloud server. Among them, the fourth display interface displays a print control, and the print control is a control or button for triggering printing. The print instruction carries the file storage address of the target file to be printed and the user identification of the user. Among them, the fourth display interface is similar to the file opening page, except that there is no upload control in the fourth display interface, such as Figure 10 shown.
[0157] In one embodiment, after logging into a first application, a user first selects an image forming device on which to print a document as a target image forming device. In response to the user's selection of the target image forming device, the first application determines an identifier for the target image forming device. The identifier for the image forming device may refer to an ID for the image forming device. The identifier for the target image forming device selected by the user may be included in the print instruction, or the correspondence between the user identifier and the identifier for the target image forming device may be pre-stored in a cloud server. The target image forming device refers to the image forming device that prints the target document to be printed.
[0158] When the print instruction carries the identifier of the target image forming device, the first application generates a print instruction in response to a print control triggered by the user based on the file storage address of the target file to be printed, the user identifier of the user, and the identifier of the target image forming device. The print instruction may carry the identifier of the target image forming device, the file storage address of the target file, and the user identifier.
[0159] In one embodiment, when the target file is bound to the tag information, the first application displays all the target files under the tag information to the user in response to the user's selection operation on the tag information of the target file to be printed in the first display interface. In response to the user triggering the target file to be printed among all the target files under the tag information, the first application determines the file storage address corresponding to the target file to be printed and the tag information of the target file to be printed. At the same time, the first application displays a fourth display interface to the user. The user triggers the print control in the fourth display interface, and the first application generates a print instruction based on the file storage address of the target file to be printed and the user ID of the user in response to the print control triggered by the user. Based on the file storage address of the target file to be printed, the user ID of the user, and the tag information of the target file to be printed, the first application generates a print instruction and sends the print instruction to the cloud server. The print instruction may carry the tag information of the target file to be printed, the file storage address of the target file, and the user ID.
[0160] In one embodiment, after receiving a print instruction, the cloud server parses the print instruction to obtain the file storage address of the target file to be printed and the user ID of the user. The cloud server can locate the target file to be printed based on the file storage address of the target file to be printed. The cloud server performs file processing on the found target file to be printed to obtain a processed file, and then sends the processed file to the target image forming device corresponding to the user ID, so that the target image forming device executes a print operation based on the processed file. The purpose of performing file processing on the target file to be printed is to convert the file format of the target file to be printed into a file format supported by the image forming device. In other words, the file format of the processed file can refer to a file format supported by the image forming device.
[0161] In one embodiment, when the printing instruction also carries the identification of the target image forming device, the cloud server parses the printing instruction to obtain the identification of the target image forming device, the user identification, and the file storage address of the target file to be printed. Thereafter, the processed file is sent to the target image forming device corresponding to the identification of the target image forming device, so that the target image forming device performs a printing operation based on the processed file.
[0162] In one embodiment, when the print instruction also includes tag information for a target file to be printed, the cloud server parses the print instruction to obtain the tag information for the target file to be printed, the user identifier, and the file storage address of the target file to be printed. Based on a pre-stored mapping relationship between the user identifier, the tag information for the target file, and the file storage address of the target file, the cloud server can locate the target file corresponding to the tag information of the target file to be printed among all target files corresponding to the user identifier, and use this target file as the target file to be printed.
[0163] When the cloud server includes a print server and a file server, the print server can search for the target file to be printed from the file server based on the file storage address of the target file to be printed, and download the found target file to the print server. The print server processes the found target file to obtain a processed file, and then sends the processed file to the target image forming device, so that the target image forming device executes a print operation based on the processed file.
[0164] Through the above-mentioned solution of implementing file printing in the first application or the second application, users can print files anytime and anywhere, which improves the convenience of users printing files, and cloud printing can be achieved through either the first application or the second application, providing users with a variety of application options and improving user experience.
[0165] Next, a method for receiving voice information input by a user through a third-party intelligent voice device so that a server can send a file to be printed to an image forming apparatus for printing is described.
[0166] Before printing a document through an intelligent voice device, the device must obtain communication permissions from the cloud server through an authorization protocol. This allows the user ID of the user using the intelligent voice device to be bound to the device ID. Communication between the intelligent voice device, the third-party server to which the intelligent voice device belongs, and the cloud server is based on the user ID.
[0167] When printing a file using an intelligent voice device, the intelligent voice device listens for a user's voice print command and sends the monitored voice print command and the user's user ID to a third-party server affiliated with the intelligent voice device. The third-party server receives the voice print command and performs voice recognition on it to obtain a text print command. The third-party server then sends the text print command and the user ID to a cloud server. The cloud server receives the text print command and the user ID, performs semantic recognition on the text print command, and obtains file information for the target file to be printed. Based on the file information and the user ID, the cloud server searches for the target file to be printed. Based on the user ID and a pre-stored correspondence between the user ID and an image forming device, the cloud server searches for the image forming device corresponding to the user ID as the target image forming device. The cloud server processes the found target file to be printed, obtains a processed file, and sends the processed file to the target image forming device, which then executes a print operation based on the processed file. The voice print command or text print command includes at least a file operation and file information. The file operation may include operations such as querying and printing. The file information may include at least one of the following: the file name, the date the file was stored, and tag information associated with the file. If the file information does not include the file storage date, the default is today; if the file information does not include tag information, the default is all tag information.
[0168] For example, the print text instruction may be: print the Chinese homework uploaded today; the print text instruction may be: print today's homework; the print text instruction may be: query today's homework.
[0169] The method for searching for the target file to be printed according to the file information and the user ID of the user may include:
[0170] When the cloud server is a server, the cloud server can search the cloud server for the target file to be printed that matches the file information under the user ID of the user based on the pre-saved user ID, the label information of the target file, the mapping relationship between the file storage address of the target file, the file information and the user ID of the user.
[0171] When the cloud server includes a print server and a file server, the print server can search the file server for the target file to be printed that matches the user ID of the user and the file information based on the mapping relationship between the pre-saved user ID, the label information of the target file, and the file storage address of the target file, and download the found target file to be printed to the print server.
[0172] The method for transmitting a processed file to a target image forming device so that the target image forming device executes printing based on the processed file specifically includes: a cloud server determining a file storage address of the processed file and transmitting the file storage address of the processed file to the target image forming device. The target image forming device downloads the processed file from the cloud server according to the file storage address of the processed file and prints the processed file.
[0173] The above-mentioned solution of realizing document printing through intelligent voice equipment does not require users to manually operate the application interface, and printing can be achieved only by voice, which reduces the user operation steps and improves the user experience.
[0174] In addition, even in a cloud printing scenario, the user may be in the same local area network as the image forming device. In this case, in order to reduce the time of file transmission, the user terminal can directly send the target file to be printed to the image forming device, thereby improving printing efficiency.
[0175] In the embodiments of this specification, after logging into a first application or a second application, a user first selects an image forming device to print a document as a target image forming device. In response to the user's selection of the target image forming device, the first application determines an identifier for the target image forming device. The identifier for the image forming device may be an ID for the image forming device.
[0176] The first application, in response to a user triggering a target file to be printed on a first display interface of the first application, causes the cloud server to send the target file to be printed to the first application; or the second application, in response to a user triggering a target file to be printed on a first display interface of the second application, causes the cloud server to send the target file to be printed to the second application. The first application or the second application receives the target file to be printed, processes the target file to be printed, obtains a processed file, and sends the processed file to a target image forming device so that the target image forming device prints the processed file.
[0177] Taking the first application as an example, the method by which the cloud server sends the target file to be printed to the first application is explained. The method by which the cloud server sends the target file to be printed to the second application is the same as the method by which the cloud server sends the target file to be printed to the first application.
[0178] After a user triggers a saved target file to be printed in the first display interface of a first application, the first application generates a print instruction and sends it to the cloud server. Based on the received print instruction, the cloud server searches for the target file to be printed. Simultaneously, the cloud server determines the user's network address information and the network address information of the target image forming device. If the user and the target image forming device are within the same local area network, the cloud server sends the target file to be printed to the first application. The network address information may be an IP address.
[0179] The first or second application generates the print instruction in the same manner as described above and is not further described here. Compared to having a cloud server send the print file to the image forming device for printing, the solution of directly sending the print file to the image forming device in the local area network through the first or second application shortens the file transmission path and reduces the file transmission time, thereby improving printing efficiency.
[0180] In the technical solution, a first application can jump to a second application running on a third application. The second application can then capture a file in the third application and upload it to a cloud server. When the file needs to be printed, the first or second application can send a print instruction to the cloud service to search the cloud server for the file to be printed. After the file is found, the found file is sent to the image forming device for printing. This method allows files that may need to be printed from different applications to be uploaded to the cloud server in advance for unified management. This eliminates the need to frequently switch between different applications when printing, reduces the number of steps required by the user when printing, and improves printing efficiency.
[0181] Based on the above Figure 1 Description of the printing system, this specification embodiment provides a printing system framework diagram, such as Figure 11 shown.
[0182] exist Figure 11In the figure, taking the first application and the third application installed on the same terminal device as an example, the printing system framework diagram includes a terminal device, a cloud server and an image forming device. When a user grabs a file across applications (indicated by a solid line), in response to the user's file grabbing operation, the terminal device sends the grabbed target file to the cloud server. The cloud server receives and saves the target file, and returns the file storage address of the target file to the terminal device. The terminal device saves the file storage address corresponding to the target file. When the user needs to print a file (indicated by a dotted line), in response to the user's file printing operation, the terminal device sends the file storage address of the target file to be printed to the cloud server. The cloud server searches for the target file to be printed based on the received file storage address. The cloud server sends the target file to be printed to the image forming device. The image forming device prints the received target file to be printed.
[0183] The above is a detailed description of the interaction process of the printing system. This specification also provides a printing method for a first application in the printing system and a printing method for a second application in the printing system.
[0184] Figure 12 This is a flow chart of the printing method provided in this manual.
[0185] exist Figure 12 In the present technical solution, a printing method is provided, which is applied to a first application program and includes:
[0186] S1201: After the user triggers the first control in the first display interface of the first application, jump to the second application running on the third application, so that the second application calls the third application to display the files involved in the running process of the third application, and uploads the target file selected by the user from the files to the cloud server, so that the cloud server saves the target file.
[0187] In the embodiments of this specification, after a user logs in to a first application, the user triggers a first control in the first display interface of the first application, which displays a second display interface to the user. After the user selects a filter condition in the second display interface, the first application displays a third display interface to the user. After the user triggers an option for a third application in the third display interface, the first application jumps to the second application running on the triggered third application.
[0188] After the cloud server saves the target file, the first application program displays the first display interface to the user again, wherein the redisplayed first display interface displays the target file that has been saved to the cloud server.
[0189] When the first display interface of the first application displays a target file that has been saved to the cloud server, when the user selects any target file displayed in the first display interface, the fifth display interface is displayed. Among them, the fifth display interface includes a second control, and the second control is used to change the tag information bound to the target file. The tag information bound to the target file selected by the user is the first tag, and the target file selected by the user is displayed under the directory of the first tag in the first display interface. After the user triggers the second control, the tag option interface is displayed, and the tag option interface is used to display options for each tag information. After the user selects the second tag in the tag option interface, the target file selected by the user is displayed under the directory of the second tag in the first display interface. Among them, the first tag is different from the second tag.
[0190] S1202: When the user prints a file, in response to the user triggering the target file to be printed in the first display interface, the cloud server sends the target file to be printed to the image forming device for printing.
[0191] In an embodiment of the present specification, when a user prints a file, in response to the user triggering the target file to be printed in the first display interface, the cloud server sends the target file to be printed to the image forming device for printing.
[0192] In the embodiment of this specification, after a user triggers a target file to be printed in the first display interface, a fourth display interface is displayed to the user, which displays a print control. In response to the user triggering the print control, the cloud server sends the target file to be printed to the image forming device for printing.
[0193] In the examples of this specification, after a user triggers a target file to be printed in the first display interface of a first application, a print instruction is generated and sent to a cloud server. The cloud server receives the print instruction, locates the target file to be printed, and sends the target file to an image forming device for printing. The print instruction carries the file storage address of the target file to be printed and the user's identifier. Furthermore, the print instruction may also carry the identifier of the target image forming device and / or tag information of the target file to be printed.
[0194] In one embodiment, the first application generates a print instruction in response to the user triggering a print control in the fourth display interface, and sends the print instruction to the cloud server.
[0195] After locating the target file to be printed, the cloud server processes the target file to obtain a processed file, and then sends the processed file to the target image forming device, so that the target image forming device executes a print operation based on the processed file. The target image forming device can be found by searching using the user's user ID or by searching using the image forming device ID carried in the print instruction.
[0196] Figure 13 This is another flowchart of the printing method provided in this manual.
[0197] exist Figure 13 In the present technical solution, another printing method is provided, which is applied to a second application program, the second application program running on a third application program, and includes:
[0198] S1301: calling a third application to display various files involved in the running process of the third application, and the second application running on the third application.
[0199] In the embodiment of this specification, the second application program calls the third application program to display various files involved in the running process of the third application program.
[0200] In an embodiment of the present specification, the second application can receive a file capture instruction triggered by the user, and based on the file capture instruction, call the API of the third application to display the files involved in the operation of the third application. The file capture instruction can be triggered by the user in the first application and sent by the first application to the second application, or it can be triggered by the user in the second application. When the file capture instruction carries a filtering condition selected by the user, the second application first determines the filtering condition carried in the file capture instruction, and based on the filtering condition carried in the file capture instruction, calls the API of the third application to display to the user the files that meet the filtering condition during the operation of the third application, wherein the filtering condition includes at least one of the file type, file suffix, and tag information selected by the user.
[0201] S1302: In response to the user's selection operation based on the files, the file selected by the user from the files is used as a target file, and the target file is uploaded to the cloud server, so that the cloud server saves the target file.
[0202] In the embodiment of the present specification, in response to a user's selection operation based on various files, the file selected by the user from various files is used as a target file, and the target file is uploaded to the cloud server so that the cloud server stores the target file.
[0203] When the filtering conditions include tag information selected by the user, the target file, the tag information selected by the user, and the user ID of the user carried in the file capture instruction are uploaded to the cloud server so that the cloud server saves the target file, and establishes a mapping relationship between the user ID, the file storage address of the target file, and the tag information selected by the user, and saves it.
[0204] After the cloud server saves the target file, the file storage address of the target file sent by the cloud server is received and saved, and the first display interface is re-displayed to the user. The re-displayed first display interface is used to display the target files uploaded to the cloud server.
[0205] When the first display interface of the second application displays a target file that has been saved to the cloud server, when the user selects any target file displayed in the first display interface, the fifth display interface is displayed. Among them, the fifth display interface includes a second control, and the second control is used to change the tag information bound to the target file. The tag information bound to the target file selected by the user is the first tag, and the target file selected by the user is displayed under the directory of the first tag in the first display interface. After the user triggers the second control, the tag option interface is displayed, and the tag option interface is used to display options for each tag information. After the user selects the second tag in the tag option interface, the target file selected by the user is displayed under the directory of the second tag in the first display interface. Among them, the first tag is different from the second tag.
[0206] S1303: When the user prints a file, in response to the user triggering the target file to be printed in the first display interface of the second application, the cloud server sends the target file to be printed to the image forming device for printing.
[0207] In an embodiment of the present specification, when a user needs to print a file, in response to the user triggering the target file to be printed in the first display interface of the second application, the cloud server sends the target file to be printed to the image forming device for printing.
[0208] After a user triggers a target file to be printed in the first display interface of the second application, a fourth display interface is displayed to the user, wherein the fourth display interface displays a print control. In response to the user triggering the print control, the cloud server sends the target file to be printed to the image forming device for printing.
[0209] In the embodiments of this specification, after a user triggers a target file to be printed in the first display interface of a second application, a print instruction is generated and sent to a cloud server. The cloud server receives the print instruction, locates the target file to be printed, and sends the target file to an image forming device for printing. The print instruction includes the file storage address of the target file to be printed and the user's identifier. Furthermore, the print instruction may include the identifier of the target image forming device and / or tag information of the target file to be printed.
[0210] In one embodiment, the second application generates a print instruction in response to the user triggering a print control in the fourth display interface, and sends the print instruction to the cloud server.
[0211] After locating the target file to be printed, the cloud server processes the target file to obtain a processed file, and then sends the processed file to the target image forming device, so that the target image forming device executes a print operation based on the processed file. The target image forming device can be found by searching using the user's user ID or by searching using the image forming device ID carried in the print instruction.
[0212] The first application in this application can jump to the second application running on the third application, and through the second application, grab the file in the third application and upload it to the cloud server. When the file needs to be printed, a print instruction can be sent to the cloud server through the first application or the second application to find the file to be printed from the cloud server, and the found file is sent to the image forming device for printing. Through this method, files that may need to be printed in different applications can be uploaded to the cloud server in advance for unified management. There is no need to frequently switch between different applications when printing, which reduces the number of operation steps for users when printing and improves the printing efficiency of users when printing.
[0213] Figure 14 is a schematic diagram of a printing device provided in an embodiment of the present application, wherein the printing device executes a printing method applied to a first application, including:
[0214] Jump module 1401 is used to jump to the second application running on the third application after the user triggers the first control in the first display interface of the first application, so that the second application calls the third application to display the files involved in the running process of the third application, and uploads the target file selected by the user from the files to the cloud server, so that the cloud server saves the target file.
[0215] The first print triggering module 1402 is used to, when the user prints a file, respond to the user triggering the target file to be printed in the first display interface, so that the cloud server sends the target file to be printed to the image forming device for printing.
[0216] Optionally, the printing device further includes: a first display module 1403, a first label changing module 1404;
[0217] The first display module 1403 is configured to display the first display interface to the user again, wherein the displayed first display interface displays the target file that has been saved to the cloud server.
[0218] The first label changing module 1404 is used to display a fifth display interface after the user selects any target file displayed in the first display interface, wherein the fifth display interface includes a second control, and the second control is used to change the label information bound to the target file. The label information bound to the target file selected by the user is the first label, and the target file selected by the user is displayed under the directory of the first label in the first display interface; after the user triggers the second control, the label option interface is displayed, and the label option interface is used to display options for each label information; after the user selects the second label in the label option interface, the target file selected by the user is displayed under the directory of the second label in the first display interface, and the first label is different from the second label.
[0219] Optionally, the print trigger module 1402 is specifically used to display a fourth display interface to the user after the user triggers the target file to be printed in the first display interface, and the fourth display interface displays a print control; in response to the user triggering the print control, the cloud server sends the target file to be printed to the image forming device for printing.
[0220] Figure 15 is a schematic diagram of another printing device provided in an embodiment of the present application, wherein the printing device executes a printing method applied to a second application, including:
[0221] The calling module 1501 is used to call the third application to display various files involved in the running process of the third application. The second application runs on the third application.
[0222] The crawling module 1502 is configured to respond to a user's selection operation based on various files, take the file selected by the user from various files as a target file, and upload the target file to the cloud server so that the cloud server saves the target file.
[0223] The second print triggering module 1503 is used to, when the user prints a file, respond to the user triggering the target file to be printed in the first display interface of the second application, so that the cloud server sends the target file to be printed to the image forming device for printing.
[0224] Optionally, the calling module 1501 is specifically configured to determine a filtering condition; and call a third application to display files that meet the filtering condition during the running of the third application.
[0225] Optionally, the printing device further includes: a second display module 1504, a second label changing module 1505;
[0226] The second display module 1504 is configured to display the first display interface to the user again, wherein the displayed first display interface displays the target file that has been saved to the cloud server.
[0227] The second label changing module 1505 is used to display a fifth display interface after the user selects any target file displayed in the first display interface, wherein the fifth display interface includes a second control, and the second control is used to change the label information bound to the target file. The label information bound to the target file selected by the user is the first label, and the target file selected by the user is displayed under the directory of the first label in the first display interface; after the user triggers the second control, the label option interface is displayed, and the label option interface is used to display options for each label information; after the user selects the second label in the label option interface, the target file selected by the user is displayed under the directory of the second label in the first display interface, and the first label is different from the second label.
[0228] Optionally, the second print trigger module 1503 is specifically used to display a fourth display interface to the user after the user triggers the target file to be printed in the first display interface of the second application, and the fourth display interface displays a print control; in response to the user triggering the print control, the cloud server sends the target file to be printed to the image forming device for printing.
[0229] An embodiment of the present application also provides an electronic device, which includes a storage medium and a central processing unit. The storage medium may be a non-volatile storage medium, in which a computer executable program is stored. The central processing unit is connected to the non-volatile storage medium and executes the computer executable program to implement the above-mentioned printing method.
[0230] The embodiment of the present application further provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes the various steps of the printing method of the embodiment of the present application.
[0231] The embodiment of the present application also provides a computer program product containing instructions. When the computer program product is run on a computer or any at least one processor, it enables the computer to execute each step of the printing method of the embodiment of the present application.
[0232] An embodiment of the present application also provides a chip, including a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface to execute corresponding operations and / or processes performed by the printing method provided in the present application.
[0233] Optionally, the chip further includes a memory, which is connected to the processor via a circuit or wire, and the processor is configured to read and execute a computer program in the memory. Further optionally, the chip further includes a communication interface, to which the processor is connected. The communication interface is configured to receive data and / or information to be processed, and the processor obtains the data and / or information from the communication interface and processes the data and / or information. The communication interface may be an input / output interface.
[0234] The memory may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.
[0235] In the embodiments of the present application, "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. A and B may 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.
[0236] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using 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. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0237] Those skilled in the art will 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.
[0238] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0239] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.
Claims
1. A printing system, characterized in that: The printing system includes: a first application, a second application, and a cloud server, wherein the second application runs on a third application different from the first application, and the first application and the second application are both applications that provide cloud printing services and are managed by the cloud server; the first application includes a first display interface, and the first display interface has a first control; After the user triggers the first control, the first application jumps to the second application running on the third application; The second application calls the third application to display the files involved in the running process of the third application; in response to the user's selection operation based on the files, the file selected by the user from the files is used as a target file, and the target file is uploaded to the cloud server; The cloud server receives and stores the target file so as to be able to send the target file to the image forming device for printing.
2. The printing system according to claim 1, wherein: After the user triggers the first control, the first application displays a second display interface to the user, where the second display interface displays various filtering condition options for filtering files; after the user selects the filtering conditions in the second display interface, the third display interface is displayed to the user, where the third display interface displays options for various third applications; after the user triggers the option of the third application in the third display interface, the application jumps to the second application running on the triggered third application.
3. The printing system according to claim 1, wherein: The second application program calls the third application program to display files that meet a screening condition during the running of the third application program, wherein the screening condition is used to screen files.
4. The printing system according to claim 1, wherein: The second application includes a first display interface, and after the cloud server saves the target file, the first application or the second application re-displays the first display interface to the user, wherein the re-displayed first display interface displays the target file saved to the cloud server; The first application or the second application, after the user triggers the saved target file to be printed in the first display interface, a fourth display interface is displayed to the user, and the fourth display interface displays a print control; After the user triggers the print control in the fourth display interface, the cloud server sends the target file to be printed to the image forming device for printing.
5. The printing system according to claim 1, wherein: The printing system further includes: a third-party intelligent voice device and a third-party server, wherein the third-party server is used to manage and control the intelligent voice device; When the user needs to print a file, the intelligent voice device listens for a voice print instruction input by the user and sends the voice print instruction and the user ID of the user to the third-party server, wherein the voice print instruction includes file information of a target file to be printed, the file information including at least one of a file name, a file storage date, and tag information to which the file belongs, and the user ID of the user is pre-bound to the intelligent voice device; The third-party server receives the voice print instruction and the user identifier, performs voice recognition on the voice print instruction to obtain a text print instruction, and sends the text print instruction and the user identifier to the cloud server; The cloud server receives the text printing instruction and the user identifier, performs semantic recognition on the text printing instruction, and obtains the file information of the target file to be printed; based on the user identifier and the file information of the target file to be printed, it finds the target file to be printed, and sends the target file to be printed to the image forming device for printing.
6. The printing system according to claim 1, wherein: The second application includes a first display interface, and when the user and the target image forming device are in the same local area network, the first application, in response to the user triggering a target file to be printed on the first display interface of the first application, causes the cloud server to send the target file to be printed to the first application; or The second application, in response to the user triggering a target file to be printed in the first display interface of the second application, causes the cloud server to send the target file to be printed to the second application; wherein the target image forming device is used to print the target file to be printed; The first application or the second application receives the target file to be printed, processes the target file to be printed to obtain a processed file, and sends the processed file to the target image forming device so that the target image forming device prints the processed file.
7. The printing system according to claim 1, wherein: The first application or the second application includes a first display interface, and when the user selects any target file displayed in the first display interface, a fifth display interface is displayed, wherein the fifth display interface includes a second control, and the second control is used to change tag information bound to the target file, the tag information bound to the target file selected by the user is a first tag, and the target file selected by the user is displayed in a directory of the first tag in the first display interface; The user triggers the second control to display a label option interface, where the label option interface is used to display options for each label information; The user selects a second tag in the tag option interface, and the target file selected by the user is displayed under the directory of the second tag in the first display interface, and the first tag is different from the second tag.
8. A printing method, characterized in that: The printing method is applied to a first application program, comprising: After the user triggers the first control in the first display interface of the first application, the process jumps to the second application running on the third application, so that the second application calls the third application to display various files involved in the running process of the third application, and uploads the target file selected by the user from the various files to the cloud server, so that the cloud server saves the target file; When the user prints a file, in response to the user triggering the target file to be printed in the first display interface, the cloud server sends the target file to be printed to the image forming device for printing.
9. The printing method according to claim 8, wherein: After the cloud server saves the target file, the printing method further includes: The first display interface is re-displayed to the user, wherein the re-displayed first display interface displays the target file that has been saved to the cloud server.
10. The printing method according to claim 8, wherein: In response to the user triggering the target file to be printed in the first display interface, so that the cloud server sends the target file to be printed to the image forming device for printing, specifically including: After the user triggers the target file to be printed in the first display interface, a fourth display interface is displayed to the user, wherein the fourth display interface displays a print control; In response to the user triggering the print control, the cloud server sends the target file to be printed to the image forming device for printing.
11. The printing method according to claim 8, wherein: The printing method further comprises: When the user selects any target file displayed in the first display interface, a fifth display interface is displayed, wherein the fifth display interface includes a second control, the second control is used to change tag information bound to the target file, the tag information bound to the target file selected by the user is a first tag, and the target file selected by the user is displayed in a directory of the first tag in the first display interface; After the user triggers the second control, a label option interface is displayed, wherein the label option interface is used to display options for each label information; After the user selects a second tag in the tag option interface, the target file selected by the user is displayed under the directory of the second tag in the first display interface, and the first tag is different from the second tag.
12. A printing method, characterized in that: The printing method is applied to the second application program, comprising: calling a third application to display various files involved in the running of the third application, wherein the second application runs on the third application; In response to the user's selection operation based on the files, taking the file selected by the user from the files as a target file, and uploading the target file to the cloud server so that the cloud server stores the target file; When the user prints a file, in response to the user triggering the target file to be printed in the first display interface of the second application, the cloud server sends the target file to be printed to the image forming device for printing.
13. The printing method according to claim 12, wherein: Calling a third application to display various files involved in the running process of the third application, specifically including: Determine the screening criteria; The third application is called to display the files that meet the screening condition during the running of the third application.
14. The printing method according to claim 12, wherein: After the cloud server saves the target file, the printing method further includes: The first display interface is re-displayed to the user, wherein the re-displayed first display interface displays the target file that has been saved to the cloud server.
15. The printing method according to claim 12, wherein: In response to the user triggering the target file to be printed in the first display interface of the second application, so that the cloud server sends the target file to be printed to the image forming device for printing, specifically comprising: After the user triggers the target file to be printed in the first display interface of the second application, a fourth display interface is displayed to the user, wherein the fourth display interface displays a print control; In response to the user triggering the print control, the cloud server sends the target file to be printed to the image forming device for printing.
16. The printing method according to claim 12, wherein: The printing method further comprises: When the user selects any target file displayed in the first display interface, a fifth display interface is displayed, wherein the fifth display interface includes a second control, the second control is used to change tag information bound to the target file, the tag information bound to the target file selected by the user is a first tag, and the target file selected by the user is displayed in a directory of the first tag in the first display interface; After the user triggers the second control, a label option interface is displayed, wherein the label option interface is used to display options for each label information; After the user selects a second tag in the tag option interface, the target file selected by the user is displayed under the directory of the second tag in the first display interface, and the first tag is different from the second tag.
17. An electronic device, characterized in that: include: one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the device, cause the device to perform the method according to any one of claims 8 to 16.
18. A storage medium, characterized in that The storage medium stores program instructions, which, when executed on an electronic device, enable the electronic device to execute the method according to any one of claims 8 to 16.