Cloud printing method and system
By splitting cloud-printed documents into multiple fragments and transmitting them separately, the problem of low privacy and security of user data in cloud printing is solved, and the security of document transmission under monitoring is improved.
Patent Information
- Application Number
- CN202411791390.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-28
AI Technical Summary
There is a problem of low privacy and security of user data in cloud printing technology, especially when network communication is monitored, documents are easily leaked during transmission.
By dividing the currently printed document into multiple document fragments and uploading these fragments to different object storage service storage spaces in the cloud server, and transmitting the printing instructions separately from the document fragments, the printing terminal can obtain and merge document fragments from the cloud server according to the printing instructions for printing.
When network communication is monitored, only individual document fragments can be monitored, but the entire document cannot be monitored, which greatly improves the privacy and security of user data during cloud printing.
Smart Images

Figure CN119718222A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of printing technology, and in particular, relates to a cloud printing method and system. Background Art
[0002] With the rapid development of Internet technology and the continuous improvement of its infrastructure, people are increasingly dependent on the Internet, and many activities that were originally offline have now gradually shifted to the Internet platform. Under this trend, cloud printing technology has emerged and has become one of the important applications, greatly facilitating people's lives and work. In the past, people mainly relied on Universal Serial Bus (USB) connections or local area networks to connect personal computers (PCs) and printers to complete printing tasks. However, with the emergence of cloud printing technology, this traditional method has been subversively innovated. Now, users can easily achieve cross-regional and cross-device printing jobs with the help of mobile devices such as mobile phones and relying on the powerful Internet, which greatly improves the convenience and flexibility of printing. However, behind the convenience of cloud printing, there are also challenges to user privacy and security. For example, when the network communication between the user terminal, cloud server, and printing terminal that needs to print the document is monitored, the entire document is easily monitored during the transmission process. It can be seen that the current cloud printing has the problem of low user data privacy security. Summary of the invention
[0003] The embodiments of the present application provide a cloud printing method and system, which can solve the problem of low user data privacy security in cloud printing.
[0004] In a first aspect, an embodiment of the present application provides a cloud printing method, including:
[0005] The user terminal receives service parameters of a plurality of object storage service storage spaces for storing the currently printed document; the plurality of object storage services are object storage services on a cloud server, and the service parameters are sent by the cloud server after receiving a document printing request from the user terminal;
[0006] The user terminal divides the current printed document into multiple document segments, and uploads the multiple document segments to the multiple object storage service storage spaces according to the service parameters;
[0007] The user terminal sends a printing instruction for instructing printing of the current printing document to the cloud server;
[0008] The cloud server sends the printing instruction to the printing terminal;
[0009] The printing terminal completes the printing task for the current printing document based on the printing instruction.
[0010] In some embodiments, the user terminal divides the current printed document into a plurality of document segments, including:
[0011] The user terminal obtains a first random code;
[0012] The user terminal performs a first operation on the first random code, the document segmentation time, the user terminal ID, and the printing terminal ID;
[0013] The current printing document is segmented according to the first operation result and the segmentation rule, and each document segment outputted by the segmentation carries the printing task identifier of the current printing document.
[0014] In some embodiments, the service parameters include a print task identifier of a currently printed document, a URL address of each object storage service storage space, and a data write token.
[0015] In some embodiments, the multiple object storage services are heterogeneous object storage services provided by different service providers.
[0016] In some embodiments, the cloud server sends the printing instruction to the printing terminal, including:
[0017] The cloud server obtains a data read token of an object storage service storage space storing multiple document fragments, and a URL address of the object storage service storage space;
[0018] The cloud server adds the acquired data read token and the URL address of the object storage service storage space to the print instruction sent by the user terminal, and sends the print instruction to the printing terminal.
[0019] In some embodiments, the printing instruction sent by the user terminal includes the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: document segmentation time, user terminal ID, and printing terminal ID.
[0020] In some embodiments, the printing terminal completes the printing task for the current printing document based on the printing instruction, including:
[0021] The printing terminal reads the multiple document fragments from the object storage service storage space according to the data reading token in the printing instruction, the URL address of the object storage service storage space, and the print task identifier;
[0022] The printing terminal obtains a first random code;
[0023] The printing terminal performs a first operation on the segmentation factor and the first random code carried in the printing instruction;
[0024] Performing a merging operation on the multiple document segments according to the first operation result and the segmentation rule, and outputting the current print document;
[0025] The printing terminal prints the current printing document according to the printing parameters in the printing instruction.
[0026] In some embodiments, the current printed document segmentation factor also includes a first random code.
[0027] In some embodiments, the printing terminal completes the printing task for the current printing document based on the printing instruction, including:
[0028] The printing terminal reads the multiple document fragments from the object storage service storage space according to the data reading token in the printing instruction, the URL address of the object storage service storage space, and the print task identifier;
[0029] The printing terminal performs a first operation on the division factor carried in the printing instruction;
[0030] Performing a merging operation on the multiple document segments according to the first operation result and the segmentation rule, and outputting the current print document;
[0031] The printing terminal prints the current printing document according to the printing parameters in the printing instruction.
[0032] In some embodiments, the printing instruction sent by the user terminal includes the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: a first random code, a document segmentation time, a user terminal ID, and a printing terminal ID.
[0033] In some embodiments, the cloud server sends the printing instruction to the printing terminal, including:
[0034] The cloud server reads the multiple document fragments from an object storage service storage space storing the multiple document fragments;
[0035] The cloud server performs a first operation on the segmentation factor carried in the printing instruction;
[0036] Performing a merging operation on the multiple document segments according to the first operation result and the segmentation rule, and outputting the current print document;
[0037] The cloud server parses the output current printing document to obtain a parsed document;
[0038] The cloud server generates a second random code, and performs a first operation on the second random code, the split time of the parsed document, the user terminal ID, and the printing terminal ID;
[0039] The cloud server segments the parsed document according to the first operation result and the segmentation rule, and each parsed document segment output by the segmentation carries a print task identifier of the current print document;
[0040] The cloud server writes the multiple parsed document fragments into multiple object storage service storage spaces;
[0041] The cloud server updates the URL address and data read token of the object storage service storage space storing multiple parsed document fragments and the segmentation factor of the parsed document into the printing instruction and sends it to the printing terminal.
[0042] In some embodiments, the printing terminal completes the printing task of the current printing document based on the printing instruction, including:
[0043] The printing terminal reads multiple fragments of the parsed document from the object storage service storage space according to the data reading token in the printing instruction, the URL address of the object storage service storage space, and the print task identifier;
[0044] The printing terminal determines the first operation result used by the cloud server to split and parse the document according to the split factor of the parsed document carried in the printing instruction;
[0045] Performing a merging operation on the multiple fragments of the parsed document according to the first operation result and the segmentation rule, and outputting the parsed document of the current printing document;
[0046] The printing terminal prints the parsed document according to the printing parameters in the printing instruction.
[0047] In a second aspect, an embodiment of the present application further provides a cloud printing system, the system comprising a user terminal, a cloud server and a printing terminal;
[0048] The user terminal is used to perform the following steps:
[0049] Receiving service parameters of a plurality of object storage service storage spaces for storing a currently printed document; the plurality of object storage services are object storage services on a cloud server, and the service parameters are sent by the cloud server after receiving a document printing request from the user terminal;
[0050] Splitting the current printed document into a plurality of document segments;
[0051] Uploading the plurality of document fragments to the plurality of object storage service storage spaces according to the service parameters;
[0052] Sending a printing instruction for instructing printing of the current printing document to the cloud server;
[0053] The cloud server is used to send the printing instruction to the printing terminal;
[0054] The printing terminal is used to complete the printing task of the current printing document based on the printing instruction.
[0055] The above solution of the present application has the following beneficial effects:
[0056] In an embodiment of the present application, a user terminal that needs to print a document divides the current printing document into multiple document fragments and uploads them to different object storage service storage spaces in a cloud server. At the same time, the printing instruction for instructing to print the current printing document is transmitted separately from the multiple document fragments, so that after receiving the printing instruction sent by the cloud server, the printing terminal obtains the fragments corresponding to the current printing document from the cloud server based on the printing instruction, and completes the printing of the current printing document based on these fragments. Among them, since the current printing document is not transmitted as a whole document during the transmission process, but is transmitted in fragments and stored in different object storage service storage spaces in the cloud server, when the network communication is monitored, only the individual fragments can be monitored, and the entire document cannot be monitored, thereby greatly improving the privacy security of user data during the cloud printing process.
[0057] Other beneficial effects of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0059] Figure 1 It is a structural diagram of the existing cloud printing system;
[0060] Figure 2 A flowchart of a first embodiment of a cloud printing method provided in an embodiment of the present application;
[0061] Figure 3 A schematic diagram of the structure of a user terminal side and a cloud server side provided for this application;
[0062] Figure 4 A flowchart of a second embodiment of a cloud printing method provided by the present application;
[0063] Figure 5 A flowchart of a third embodiment of a cloud printing method provided by the present application;
[0064] Figure 6 This is a flowchart of a fourth embodiment of a cloud printing method provided in this application. DETAILED DESCRIPTION
[0065] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0066] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0067] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0068] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0069] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0070] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0071] The existing cloud printing services have the following problems:
[0072] like Figure 1 As shown in the schematic diagram of the existing cloud printing system, when a user uses cloud services for printing, files involving user privacy will be transmitted on the Internet. Although the service usually uses HTTPS service for encrypted transmission, there are indeed some potential risks: such as certificate forgery risk, weak encryption algorithm risk, protocol risk, replay attack, etc.
[0073] A common practice among cloud service providers is to store files uploaded by users in the storage space of object storage services and set certain policies to delete these files regularly. However, this practice also has potential security risks. Before the files are deleted, if there is a lack of proper permission management and access control, operation and maintenance personnel or object storage service providers may have the permission to view the file content and copy the files.
[0074] Although encrypting files and decrypting them on the printer side can effectively prevent the risk of file leakage, this strategy still faces many challenges in practice. The first problem is that due to certain performance limitations of terminal devices and printers, performing encryption operations may consume a lot of computing resources, which may result in not all terminals being able to perform file encryption calculation tasks. In addition, the distribution, matching and management of keys is also a complex and risky process. Once the keys are not managed properly, it may lead to serious security vulnerabilities.
[0075] In view of the problem of low privacy security of user data in current cloud printing, an embodiment of the present application provides a cloud printing method in order to improve the security of cloud printing. In this method, a user terminal that needs to print a document divides the current printing document into multiple document fragments and uploads them to different object storage service storage spaces in a cloud server. At the same time, the printing instruction for instructing to print the current printing document is transmitted separately from the multiple document fragments, so that after receiving the printing instruction sent by the cloud server, the printing terminal obtains the fragment corresponding to the current printing document from the cloud server based on the printing instruction, and completes the printing of the current printing document based on these fragments. Among them, since the current printing document is not transmitted as a whole document during the transmission process, but is transmitted in fragments and stored in different object storage service storage spaces in the cloud server, when the network communication is monitored, only the individual fragments can be monitored, and the entire document cannot be monitored, thereby greatly improving the privacy security of user data in the cloud printing process.
[0076] The above-mentioned user terminal refers to the device or application used by the user to send printing instructions, such as mobile phones, WeChat applets, APPs, PCs, etc., to transmit data (such as document fragments, printing instructions, etc.) to the cloud server.
[0077] In order to better understand the present application, the cloud printing method provided by the present application is exemplarily described below in conjunction with specific embodiments. Figure 2 As shown, it is a flow chart of a first embodiment of a cloud printing method provided by the present application. In this embodiment, the cloud printing method includes the following steps.
[0078] Step 11: The user terminal receives service parameters of multiple object storage service storage spaces used to store the current print document.
[0079] The multiple object storage services are object storage services on a cloud server, and the service parameters are returned by the cloud server after receiving a document printing request from the user terminal. When the user terminal has a printing demand, it first sends a print request to the cloud server. After receiving the print request, the cloud server returns the available object storage service storage space service parameters (information) to the user terminal. In some embodiments of the present application, the service parameters of the object storage service storage space may include a print job identifier (jobid), a URL address of each object storage service storage space, and a data write token (token).
[0080] The print task identifier is an identifier of the print task, such as a number, which is used to mark or identify different print tasks. The data write token refers to a string of characters for accessing the object storage service storage space, which is used to verify the visitor's access rights. Generally, the token is temporarily valid, for example, valid for 5 minutes. The user terminal can find the data write address based on the URL address of the object storage service storage space, and obtain the data write permission based on the data write token, so as to write the data corresponding to a print task into the object storage service storage space.
[0081] Exemplarily, the above service parameters may exist in the form of a service list, which includes the print task identifier of the current print document, the URL address of each object storage service storage space, and the data write token. Generally, the service list is composed of information of at least three object storage services. Specifically, the user terminal can obtain the service list by calling its own service receiver to communicate with the cloud server.
[0082] Step 12: The user terminal divides the current printed document into multiple document segments.
[0083] The security of the segmentation rules is explained below. The principle of document segmentation in this step is: extract the complete document at the byte level according to the segmentation rules, and / or further process the extracted bytes, and place the extracted bytes in different document fragments to form multiple segmented document fragments. For example, a complete document is marked, starting from 0 until the last byte of the document. Then, the document is byte extracted and transcoded according to the segmentation rules to finally form document fragments. Because it mainly extracts bytes on the memory and does not involve encryption and decryption operations, the execution speed is faster and does not occupy memory and the computing power of the device. And it has a reverse method. At the same time, a coded document is processed at the byte level (such as splitting and transcoding). Because the extracted document fragments seriously damage the coding structure of the original document, the document content cannot be restored through the fragments. This ensures that the document fragments cannot be restored separately.
[0084] Here, we take "China Electronics Great Wall (Changsha) Information Technology Co., Ltd." as an example to explain the document fragment. Assume that the UTF-8 encoding of "China Electronics Great Wall (Changsha) Information Technology Co., Ltd." in the text document is E4B8ADE794B5E995BFE59F8EEFBC88E995BFE6B299EFBC89E4BFA1E681AFE68A80E69CAFE69C89E99990E585ACE58FB8
[0085] The adopted segmentation rule is: extract a character every byte, and align the bytes after segmentation to swap the positions. In actual processing, the adopted segmentation rule can be adjusted adaptively, and the example here should not be understood as a limitation on the segmentation rule.
[0086] Specifically: A simple algorithm of extracting one character at every byte interval is used to divide the document into two document fragments.
[0087] Snippet 1:
[0088] EBAE9BE9BE98EB8E9BEB9EB8EBAE8AE88E9AE98E99E8AE8B
[0089] Fragment 2: 48D74595F5FEFC895F629FC94F161F6A06CF6C999055C5F8
[0090] After aligning and swapping the positions, it becomes:
[0091] Fragment 1: EBAE8AE88E9AE98E99E8AE8BEBAE9BE9BE98EB8E9BEB9EB8 Fragment 2: 4F161F6A06CF6C999055C5F848D74595F5FEFC895F629FC9
[0092] UTF-8 decode each fragment:
[0093] Fragment 1: 莚鎙讋 龘
[0094] Fragment 2: Unable to decode
[0095] It should be noted that the above " 莚鎙讋 龘 " is a piece of garbled code.
[0096] It can be seen that the segmentation algorithm (rule) can effectively ensure that each fragment does not leak information. In particular, the segmented fragments will no longer retain the original name of the document, but form new names and suffixes based on the print job identifier (job id) of the current printed document.
[0097] Step 13: The user terminal uploads the multiple document fragments to the storage spaces of the multiple object storage services according to the service parameters.
[0098] As a preferred example, the number of the above multiple document fragments can be equal to the number of object storage services in the service list. It can be understood that in the embodiments of the present application, the size relationship between the two is not limited. That is, the number of the above multiple document fragments can be equal to or less than the number of object storage services in the service list, or can be greater than the number of object storage services in the service list.
[0099] Based on this, when the user terminal uploads multiple document fragments to the storage spaces of multiple object storage services, it can store one document fragment in a certain object storage service storage space, or store two or more document fragments in a certain object storage service storage space. Of course, it is also possible that no document fragments are stored in some object storage service storage spaces.
[0100] Preferably, the above multiple object storage services can be heterogeneous object storage services of different service providers, so that the operation and maintenance personnel of the cloud service provider can only see the document fragments, but cannot see the entire document, thereby improving the privacy and security of user data.
[0101] Step 14: The user terminal sends a print instruction to the cloud server for instructing to print the current printed document.
[0102] Among them, the printing instruction may include the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: document segmentation time, user terminal ID (user terminal identifier), and printing terminal ID (printing terminal identifier).
[0103] The printing parameters may include, for example, the number of copies, document type, single-sided printing or double-sided printing, document parsing password (if any), black-and-white printing or color printing, etc. The print task identifier of the current printing document refers to the identifier of the print task corresponding to the current printing document, which facilitates the cloud server and the printing terminal to distinguish different print tasks.
[0104] Step 15: The cloud server sends the printing instruction to the printing terminal.
[0105] The printing instruction received by the cloud server includes the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: document segmentation time, user terminal ID, printing terminal ID. The printing terminal also needs to obtain the multiple document segments into which the current printing document is segmented in order to execute the printing task. Therefore, the cloud server needs to add corresponding parameters to the received printing instruction, such as the storage address of the document segment and the read token, so that the printing terminal can read the document segment from the cloud server.
[0106] Specifically, the cloud server updates the parameters carried by the printing instruction according to the information of the object storage service storage space storing the multiple document fragments, including the cloud server obtaining the data read token of the object storage service storage space storing the multiple document fragments, and the URL address of the object storage service storage space (the URL address of the object storage service storage space here is the URL address of the object storage service storage space where the user terminal writes data). The cloud server adds the obtained data read token and the URL address of the object storage service storage space to the printing instruction. The cloud server sends the updated printing instruction (referring to the one with the added data read token and the URL address of the object storage service storage space) to the printing terminal.
[0107] Step 16: The printing terminal completes the printing task for the current printing document based on the printing instruction.
[0108] Based on the printing instruction sent by the cloud server, the printing terminal reads the data read token of the object storage service storage space storing multiple document fragments and the URL address of the object storage service storage space, and reads multiple document fragments from the object storage service storage space according to the read token and the URL address. A complete document is obtained by merging the read multiple document fragments, and then printing is executed. The document merging process is described in detail below.
[0109] refer to Figure 3 The system structure diagram of the user terminal and the cloud server provided by the present application is shown. In some embodiments of the present application, the user terminal can receive the parameters of the object storage service returned by the cloud server through the built-in service receiver, and divide the current printed document into multiple document fragments through the document separator. The document separator implements the document separation algorithm (separation rule), which can be implemented by calling the document separation function.
[0110] In this embodiment, the current printing document is divided into multiple document fragments and uploaded to different object storage service storage spaces in the cloud server. The printing instruction of the current printing document is transmitted separately from the multiple document fragments. After receiving the printing instruction sent by the cloud server, the printing terminal obtains the document fragment corresponding to the current printing document based on the printing instruction, and completes the printing of the current printing document based on the document fragment. Since the current printing document is not transmitted as a whole document during the transmission process, but is transmitted in fragments and stored in different object storage service storage spaces in the cloud server, when the network communication is monitored, only the individual fragments can be monitored, and the entire document cannot be monitored, thereby greatly improving the privacy security of user data during the cloud printing process.
[0111] This application takes into account the different parsing and processing capabilities of printing terminals for printed documents, and provides cloud printing method embodiments for scenarios with different document parsing capabilities. The following is a detailed description of the two situations where the printing terminal has document parsing capabilities and does not have document parsing capabilities.
[0112] A scenario where the printing terminal has document parsing capabilities.
[0113] The printing terminal has the document parsing capability, which means that the printing terminal has the transcoding capability and can transcode the document into a format that can be directly printed by the printing terminal.
[0114] In some embodiments of the present application, the printing terminal has document parsing capabilities, and the cloud server can be only responsible for transparent printing tasks without parsing print files. This method is the safest. The cloud server cannot obtain the complete document through fragments and is only responsible for transmitting the printing instructions of the user terminal to the printing terminal.
[0115] refer to Figure 4As shown, it is a flow chart of a second embodiment of a cloud printing method provided by the present application. The printing terminal in this embodiment has the document parsing capability, that is, it has the capability to transcode the received document format into a document format that can be directly printed. The method mainly includes the following steps.
[0116] Step 21: The user terminal receives service parameters of multiple object storage service storage spaces used to store the current print document.
[0117] The multiple object storage services are object storage services on a cloud server, and the service parameters are returned by the cloud server after receiving a document printing request from the user terminal. When the user terminal has a printing demand, it first sends a print request to the cloud server. After receiving the print request, the cloud server returns the available object storage service storage space service parameters (information) to the user terminal. In some embodiments of the present application, the service parameters of the object storage service storage space may include a print task identifier, a URL address of each object storage service storage space, and a data write token.
[0118] The print task identifier is an identifier of the print task, such as a number, which is used to mark or identify different print tasks. The data write token refers to a string of characters for accessing the object storage service storage space, which is used to verify the visitor's access rights. Generally, the token is temporarily valid, for example, valid for 5 minutes. The user terminal can find the data write address based on the URL address of the object storage service storage space, and obtain the data write permission based on the data write token, so as to write the data corresponding to a print task into the object storage service storage space.
[0119] Exemplarily, the above service parameters may exist in the form of a service list, which includes the print task identifier of the current print document, the URL address of each object storage service storage space, and the data write token. Generally, the service list is composed of information of at least three object storage services. Specifically, the user terminal can obtain the service list by calling its own service receiver to communicate with the cloud server.
[0120] Step 22: The user terminal divides the current printed document into multiple document segments.
[0121] The number of segments into which the user terminal divides the currently printed document may be predefined, such as 2 document segments, 3 document segments, etc. The user terminal divides the currently printed document into a predetermined number of document segments.
[0122] The user terminal can divide the current printed document into multiple document segments through a document separator. The document separator implements a document separation algorithm, which can be implemented by calling a document separation function. The document separator can be set in advance on the user terminal.
[0123] To facilitate understanding, the document separation process is explained as an example here.
[0124] The specific process of the user terminal dividing the current printed document into multiple document segments in step 22 may include the following sub-steps:
[0125] Sub-step 221: The user terminal obtains a first random code.
[0126] The first random code is a fixed-digit string temporarily generated by the user terminal, which can be generated by a common random code generation method or input by the user into the user terminal through human-computer interaction. Its main function is to avoid brute force cracking, because the random code is different each time, which can avoid brute force cracking the algorithm after obtaining monitoring data once.
[0127] Sub-step 222: The user terminal performs a first operation on the first random code, the document segmentation time, the user terminal ID, and the printing terminal ID.
[0128] Sub-step 223: Segment the current printing document according to the first operation result and the segmentation rule, and each document segment outputted by the segmentation carries the printing task identifier of the current printing document.
[0129] The character string obtained by the first operation of the first random code, the document segmentation time, the user terminal ID, and the printing terminal ID is the basis for segmenting the current printing document. The current printing document is byte extracted according to the first operation result. For example, for the convenience of description, the first random code is recorded as a=011100100101, the segmentation time is recorded as b=01001110, the user terminal ID is recorded as c=10010110, and the printing terminal ID is recorded as d=11100110. If the first operation is a data splicing operation, the first operation result is recorded as e, and the splicing result is e=a+b+c+d=011100100101010011101001011011100110. The segmentation rule can be defined as counting from the first bit backward (this is just an example, for example, you can also count from the first non-zero bit backward, or from the second bit backward, etc.), for example, divided into 2 fragments, according to the number "0", the extracted bytes (1 or more) are placed in the first fragment, and according to the number "1", the extracted bytes (1 or more) are placed in the second fragment. If there are more than 2 fragments to be divided, the number of digits counted from the first position can be increased, for example, "00" represents fragment 1, "01" represents fragment 2, "10" represents fragment 3, and "11" represents fragment 4. It can be understood that when there are more fragments, the number of digits counted from the first position can be increased, and no exhaustive examples are given here. The number of bytes extracted each time can be predefined or defined in the first operation result. For example, the first operation result e is divided into groups of 4 bits, the first two bits represent the extraction length, and the last two bits represent the divided fragments.
[0130] The print task identifier is used to identify and distinguish different print tasks. Each document segment after the current print document is divided carries the print task identifier of the current print document, which facilitates the cloud server or printing terminal to identify and obtain the document segment corresponding to the current print task.
[0131] The user terminal ID refers to the identifier of the user terminal; the printing terminal ID refers to the identifier of the printing terminal that will execute the current document printing task; the document segmentation time refers to the time when the user terminal performs document separation on the current printing document.
[0132] The user terminal performs a first operation on the first random code, the document segmentation time, the user terminal ID, and the printing terminal ID, and the four independent parameters can be used to obtain a combination code by performing the first operation. For example, the first operation can be a simple data splicing operation to splice the above four parameters into a combination code. There are many ways to implement data splicing. Continuing with the above example, it can be e=a+b+c+d, or e=a+d+b+c, etc. There is no limitation on the splicing order of the first random code, the document segmentation time, the user terminal ID, and the printing terminal ID.
[0133] For another example, the first operation may be to perform a hash value operation after data splicing of the first random code, the document segmentation time, the user terminal ID, and the printing terminal ID. For example, the national secret algorithm SM3 may be used, or other algorithms may be used, such as the message digest algorithm version 5 (MD5).
[0134] It is understandable that the data concatenation operation in the above example is only an example and is not a limitation on the implementation of the first operation of the present application. For example, the first bit of a, b, c, and d may be concatenated, and then the second bit may be concatenated until all the data bits are concatenated. It should be further explained that data concatenation is only one way to combine the four parameters into a combination code, and is not the only way. The implementation method of the first operation can be customized.
[0135] In some embodiments of the present application, the above-mentioned document separator may be a commonly used document separator, such as a document separation function, which refers to a program code that uses document separation rules to divide a document into multiple document fragments based on input parameters (such as the current printed document, the first random code, the document segmentation time, the user terminal ID, the printing terminal ID, etc.).
[0136] Step 23: Upload the multiple document fragments to the multiple object storage service storage spaces according to the service parameters.
[0137] The user terminal can find the data writing address according to the URL address of the object storage service storage space, and obtain the data writing permission according to the data writing token, so as to write multiple fragments corresponding to the current printing task into the object storage service storage space.
[0138] Step 24: The user terminal sends a printing instruction for instructing to print the current printing document to the cloud server;
[0139] The printing instruction includes the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: document segmentation time, user terminal ID, and printing terminal ID.
[0140] Step 25: The cloud server sends the printing instruction to the printing terminal.
[0141] The print instruction received by the cloud server (sent by the user terminal) includes the print parameters of the current print document, the print task identifier and the current print document segmentation factor, which includes: document segmentation time, user terminal ID, and print terminal ID. The print terminal also needs to obtain the multiple document segments into which the current print document is segmented in order to execute the print task. Therefore, the cloud server needs to add corresponding parameters to the received print instruction, such as the storage address of the document segment and the read token, so that the print terminal can read the document segment from the cloud server.
[0142] Specifically, the cloud server updates the parameters carried by the printing instruction according to the object storage service storage space information storing the multiple document fragments, including the cloud server obtaining a data read token of the object storage service storage space storing the multiple document fragments and the URL address of the object storage service storage space; the cloud server adds the obtained data read token and the URL address of the object storage service storage space to the printing instruction. The cloud server sends the updated printing instruction to the printing terminal.
[0143] Step 26: The printing terminal completes the printing task for the current printing document based on the printing instruction.
[0144] The printing instruction in this step is the printing instruction after the cloud server adds parameters. Based on the printing instruction sent by the cloud server, the printing terminal reads the data read token of the object storage service storage space storing multiple document fragments and the URL address of the object storage service storage space, and reads multiple document fragments from the object storage service storage space according to the read token and the URL address. A complete document is obtained by merging the read multiple document fragments, and then printing is executed.
[0145] The document merging process mainly includes:
[0146] Sub-step 261: The printing terminal reads the multiple document fragments from the object storage service storage space according to the data reading token in the printing instruction, the URL address of the object storage service storage space, and the print task identifier.
[0147] The data write token obtained by the user terminal is an authorization token used to write document fragments into the object storage service storage space. After the data is written to the object storage service storage space, the cloud server needs to re-acquire the data read token so that the printing terminal can obtain access rights to the object storage service storage space based on the data read token.
[0148] Sub-step 262: The printing terminal obtains a first random code.
[0149] The printing terminal obtains the first random code by human-computer interaction, such as input by a user into the printing terminal, and the first random code is a random code used by the user terminal when segmenting the currently printed document.
[0150] Sub-step 263: the printing terminal performs a first operation on the segmentation factor and the first random code carried in the printing instruction;
[0151] The printing terminal performs a first operation on the segmentation factor and the first random code carried in the printing instruction, and determines the first operation result used by the user terminal to segment the current printing document according to the segmentation factor carried in the printing instruction and the first random code obtained. The printing terminal reads multiple document fragments corresponding to the current printing document through the data reading token and the URL address of the object storage service storage space, and then performs the first operation through the obtained first random code and the segmentation factor (including the document segmentation time, the user terminal ID, and the printing terminal ID) to obtain the first operation result.
[0152] Sub-step 264: performing a merging operation on the multiple document segments according to the first operation result and the segmentation rule, and outputting the current print document;
[0153] The process of executing this step can be understood as the reverse operation of the current printing document segmentation. After the printing terminal obtains the first operation result, it extracts bytes from the segmented document fragments according to the segmentation rules, and splices the extracted bytes into the current printing document. It should be noted that, preferably, when the data in the object storage service storage space is read, the cloud server executes the data deletion operation in the object storage service storage space.
[0154] Continuing with the above example, for example, the first random code is recorded as a=011100100101, the split time is recorded as b=01001110, the user terminal ID is recorded as c=10010110, and the printing terminal ID is recorded as d=11100110. If the first operation is a data concatenation operation, the result of the first operation is:
[0155] e=a+b+c+d=011100100101010011101001011011100110;
[0156] If the segmentation rule is to count backward from the first digit and divide it into 2 fragments, if the number is "0", the extracted bytes (1 or more) are placed in the first fragment, and if the number is "1", the extracted bytes (1 or more) are placed in the second fragment. After obtaining the segmented document fragments, from the first digit of the first operation result, if the number is "0", the bytes (1 or more) are read from the first document fragment and placed in the merged document, and if the number is "1", the bytes (1 or more) are read from the second document fragment and placed in the merged document. It can be understood that for more than 2 segmented fragments, the segment merging process is similar, and this type will not be exhaustively described.
[0157] Step 27: The printing terminal prints the current printing document according to the printing parameters in the printing instruction.
[0158] The printing terminal prints the current printing document according to the printing parameters, and the printing parameters may include, for example, the number of print copies, the document type, single-sided printing or double-sided printing, black-and-white printing or color printing, etc.
[0159] In this embodiment, the input of the first random code is provided in the printing terminal window interaction component (human-computer interaction component). When the printing terminal receives the printing task sent by the cloud server, it does not print immediately, but waits for the user to input the first random code, then merges the document fragments and prints. Here, because the entire cloud server and the printing terminal lack the necessary separation factor (the first random code), security is further guaranteed, and Internet secure transmission and printing based on the premise of zero trust in the system is realized.
[0160] refer to Figure 5 As shown, it is a flow chart of a third embodiment of a cloud printing method provided by the present application. On the basis of the previous embodiment, further, for a printing terminal that does not have a human-computer interaction function, the method mainly includes the following steps.
[0161] Step 31: The user terminal receives service parameters of multiple object storage service storage spaces used to store the current print document.
[0162] Step 32: The user terminal divides the current printed document into multiple document segments.
[0163] In step 32, the specific process of the user terminal dividing the current printed document into multiple document fragments may include: the user terminal obtains a first random code; the user terminal performs a first operation on the first random code, the document segmentation time, the user terminal ID, and the printing terminal ID; the current printed document is segmented according to the first operation result and the segmentation rule, and each document fragment output by the segmentation carries the printing task identifier of the current printed document.
[0164] In this step, the user's first random code is a fixed-digit string temporarily generated by the user terminal. It can be generated by a common random code generation method or input by the user into the user terminal through human-computer interaction. Its main function is to avoid brute force cracking, because the random code is different each time, which can avoid brute force cracking the algorithm after obtaining the monitoring data once.
[0165] Different from the printing terminal having the human-computer interaction function, in this embodiment, the first random code needs to be transmitted to the printing terminal along with the printing instruction.
[0166] Step 33: Upload the multiple document fragments to the multiple object storage service storage spaces according to the service parameters.
[0167] Step 34: The user terminal sends a printing instruction for instructing to print the current printing document to the cloud server;
[0168] The printing instruction includes the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: a first random code, a document segmentation time, a user terminal ID, and a printing terminal ID.
[0169] Step 35: The cloud server sends the printing instruction to the printing terminal.
[0170] The printing instruction received by the cloud server includes the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: document segmentation time, user terminal ID, printing terminal ID. The printing terminal also needs to obtain the multiple document segments into which the current printing document is segmented in order to execute the printing task. Therefore, the cloud server needs to add corresponding parameters to the received printing instruction, such as the storage address of the document segment and the read token, so that the printing terminal can read the document segment from the cloud server.
[0171] Specifically, the cloud server updates the parameters carried by the printing instruction according to the object storage service storage space information storing the multiple document fragments, including the cloud server obtaining a data read token of the object storage service storage space storing the multiple document fragments and the URL address of the object storage service storage space; the cloud server adds the obtained data read token and the URL address of the object storage service storage space to the printing instruction. The cloud server sends the updated printing instruction to the printing terminal.
[0172] Step 36: The printing terminal completes the printing task for the current printing document based on the updated printing instruction.
[0173] Based on the printing instruction sent by the cloud server, the printing terminal reads the data read token of the object storage service storage space storing multiple document fragments and the URL address of the object storage service storage space, and reads multiple document fragments from the object storage service storage space according to the read token and the URL address. The print task identifiers of the multiple document fragments are consistent with the print task identifier of the current print document. A complete document is obtained by merging the read multiple document fragments, and then printing is executed.
[0174] The printing terminal performs a first operation according to the segmentation factor carried in the updated printing instruction (the printing instruction sent by the cloud server), determines the first operation result used by the user terminal to segment the current printing document, performs a merging operation on multiple document fragments according to the first operation result and the segmentation rule, and outputs the current printing document; the printing terminal prints the current printing document according to the printing parameters in the updated printing instruction.
[0175] In this embodiment, the specific implementation of each step can refer to the implementation of the same step in the above embodiments, which will not be repeated here. Different from the previous embodiment, the printing terminal in this embodiment obtains the first random code in a different way. In this embodiment, the first random code is transmitted to the printing terminal along with the printing instruction.
[0176] The following describes the specific implementation of a cloud printing method embodiment when the printing terminal does not have document parsing capabilities.
[0177] refer to Figure 6 As shown, it is a flow chart of a fourth embodiment of a cloud printing method provided by the present application. The printing terminal in this embodiment does not have the document parsing capability and needs to rely on the data processing capability of the cloud server. The cloud server performs the document parsing and the printing terminal obtains the parsed document. The method mainly includes the following steps.
[0178] Step 41: The user terminal receives service parameters of a plurality of object storage service storage spaces for storing the currently printed document.
[0179] Step 42: The user terminal divides the current printed document into multiple document segments.
[0180] The specific process of the user terminal dividing the current printed document into multiple document segments in step 42 may include: the user terminal obtains a first random code; the user terminal performs a first operation on the first random code, the document segmentation time, the user terminal ID, and the printing terminal ID. The current printed document is segmented according to the first operation result and the segmentation rule, and each document segment output by segmentation carries the print task identifier of the current printed document.
[0181] The print task identifier is used to identify and distinguish different print tasks. Each document segment after the current print document is divided carries the print task identifier of the current print document, which facilitates the cloud server or printing terminal to identify and obtain the document segment corresponding to the current print task.
[0182] Step 43: Upload the multiple document fragments to the multiple object storage service storage spaces according to the service parameters.
[0183] The user terminal can find the data writing address according to the URL address of the object storage service storage space, and obtain the data writing permission according to the data writing token, so as to write multiple fragments corresponding to the current printing task into the object storage service storage space.
[0184] Step 44: the user terminal sends a printing instruction for instructing to print the current printing document to the cloud server;
[0185] The printing instruction includes the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: a first random code, a document segmentation time, a user terminal ID, and a printing terminal ID.
[0186] Step 45: The cloud server sends the printing instruction to the printing terminal.
[0187] The cloud server sends the printing instruction to the printing terminal including the following sub-steps:
[0188] Sub-step 451: The cloud server reads the multiple document fragments from the object storage service storage space storing the multiple document fragments.
[0189] First, the cloud server updates the parameters carried by the printing instruction according to the object storage service storage space information storing multiple document fragments. The cloud server updates the information carried by the printing instruction, including: the cloud server reads the multiple document fragments from the object storage service storage space storing multiple document fragments; the cloud server determines the first operation result used by the user terminal to split the current printing document according to the segmentation factor carried in the printing instruction. It should be noted that when the cloud server reads the multiple document fragments from the object storage service storage space storing multiple document fragments, it is also necessary to obtain a data read token, obtain read permissions, and then read the multiple document fragments from the object storage service storage space. Then, a merge operation is performed on the multiple document fragments that have been read. The operation process is similar to the operation of the printing terminal performing a merge on the multiple document fragments that have been read in the above-mentioned embodiment. Here, the merge is performed by the cloud server.
[0190] Sub-step 452: performing a merging operation on the multiple document segments according to the first operation result and the segmentation rule, and outputting the current printed document; the cloud server parses the output current printed document to obtain a parsed document.
[0191] The cloud server performs a first operation on the segmentation factor carried in the print instruction. The cloud server reads multiple document fragments corresponding to the current print document from the URL address of the object storage service storage space, and then calculates the first operation result through the current print document segmentation factor (first random code, document segmentation time, user terminal ID, printing terminal ID) carried in the print instruction. The execution process of this step can be understood as a reverse operation of the current print document segmentation. After the cloud server obtains the first operation result, it extracts bytes from the segmented document fragments according to the segmentation rules, and splices the extracted bytes into the current print document.
[0192] Because the printing terminal in this embodiment does not have the ability to parse documents, that is, it does not have the ability to parse documents into a directly printable format, the cloud server needs to parse the merged current printing document to obtain a parsed document, and then perform a secondary separation of the parsed document for the printing terminal to obtain and use. The printing terminal can directly print the parsed document.
[0193] Sub-step 453: the cloud server generates a second random code, and performs a first operation on the second random code, the split time of the parsed document, the user terminal ID, and the printing terminal ID;
[0194] The difference between this step and the user terminal performing document separation is that the first random code used by the user terminal is a fixed-digit string temporarily generated by the user terminal, which can be generated using a common random code generation method. Its main function is to avoid brute force cracking, because the random code is different each time, it can avoid brute force cracking the algorithm after obtaining monitoring data once. The cloud server uses a random code generated by the server, recorded as the second random code, and performs the first operation on the second random code, the split time of the parsed document, the user terminal ID, and the printing terminal ID.
[0195] Sub-step 454: the cloud server segments the parsed document according to the first operation result and the segmentation rule, and each parsed document segment outputted by the segmentation carries the print task identifier of the current print document.
[0196] The first operation result in this step refers to the result of performing the first operation on the second random code, the segmentation time of the parsed document, the user terminal ID, and the printing terminal ID. The process of the cloud server segmenting the parsed document according to the first operation result and the segmentation rule refers to the process of the user terminal segmenting the current printed document, which will not be repeated here.
[0197] Sub-step 455: The cloud server writes the multiple parsed document segments into multiple object storage service storage spaces;
[0198] It should be noted that in this sub-step, the cloud server writes multiple parsed document fragments into multiple object storage service storage spaces, and the multiple object storage services may be the same as or different from the object storage service into which the user terminal writes the document fragments.
[0199] Sub-step 456: The cloud server updates the URL address of the object storage service storage space storing the multiple parsed document fragments, the data read token, and the segmentation factor of the parsed document into the print instruction.
[0200] The division factors of the parsed document include the division time of the parsed document, the user terminal ID, the printing terminal ID, and the second random code.
[0201] Step 46: The printing terminal completes the printing task of the current printing document based on the printing instruction.
[0202] The cloud server updates the URL address of the object storage service storage space storing multiple parsed document fragments and the data read token, and the split factor of the parsed document into the print instruction, and sends the updated print instruction to the printing terminal. The printing terminal reads the multiple fragments of the parsed document from the object storage service storage space according to the data read token, the URL address of the object storage service storage space, and the print task identifier in the updated print instruction. The printing terminal determines the first operation result used by the cloud server to split the parsed document according to the split factor of the parsed document carried in the print instruction, performs a merge operation on the multiple fragments of the parsed document according to the first operation result and the split rule, outputs the parsed document of the current print document, and the printing terminal prints the parsed document according to the print parameters in the print command.
[0203] The printing terminal in the above embodiments may be a common printer such as a laser printer, an inkjet printer, etc. It is understandable that the specific form of the printing terminal is not limited in the embodiments of the present application.
[0204] It can be seen that in the cloud printing method provided in the embodiment of the present application, since the current print document is not transmitted as a whole during the transmission process, but is transmitted in fragments and stored in different object storage services in the cloud server, when the network communication is monitored, only the individual fragments can be monitored and the entire document cannot be monitored, thereby greatly improving the privacy security of user data in the cloud printing process.
[0205] In particular, when the printing terminal has transcoding capabilities and the printing terminal has an input window interaction component, security-enhanced printing can be used. Specifically, the random code generated by the user terminal can be used directly as the first random code, or it can be a combined compressed code of the random code and the printing task identifier as the first random code. It is no longer sent by the terminal to the cloud server and then to the printing terminal, but the first random code is transmitted by other artificial means. The input of the first random code is provided in the printing human-computer interaction window component. When the printing terminal receives the task sent by the cloud, it does not print immediately, but waits for the user to enter the first random code, and then merges the documents for printing. Because the entire cloud and the printing terminal lack the necessary separation factor (the first random code), security is further guaranteed, and secure Internet transmission and printing based on the premise of zero trust in the system is realized.
[0206] It should be noted that when the user terminal segments the current printed document, if the length of the character string based on the first operation result is not enough to complete the segmentation of the current printed document, the first operation result can be expanded, and the expansion method is not limited. For example, the character string of the first operation result can be copied and added after the first operation result (or in front of, or inserted after a certain position in the first operation result), or the character string after a certain position of the first operation result can be copied and added to the back of the first operation result, or any one or any combination of parameters such as the first random code, user terminal ID, printing terminal ID, segmentation time, etc. can be added after the first operation result. Then, when the printing terminal merges document fragments (in the cloud server transparent transmission scenario) and when the cloud server merges document fragments (in the scenario where the printing terminal does not have the document parsing capability), the expansion method used by the user terminal is consistent, and the document before segmentation can be correctly merged.
[0207] Above Figure 6 In the embodiment of a cloud printing method shown, the document is segmented and merged twice. The first time: the user terminal segments the current printing document and the cloud server merges the current printing document; the second time: the cloud server segments the parsed document and the printing terminal merges the parsed document. The segmentation rules used by the user terminal to segment the current printing document and the cloud server to segment the parsed document can be the same or different. When the length of the string of the first operation result is not enough to segment the current printing document or the parsed document, the expansion method used for the first result can be the same or different.
[0208] The present application also provides an embodiment of a cloud printing system, the system comprising a user terminal, a cloud server and a printing terminal;
[0209] The user terminal is used to perform the following steps: receiving service parameters of multiple object storage service storage spaces for storing the current printing document; the multiple object storage services are object storage services on a cloud server, and the service parameters are sent by the cloud server after receiving a document printing request from the user terminal; dividing the current printing document into multiple document fragments; uploading the multiple document fragments to the multiple object storage service storage spaces according to the service parameters; sending a printing instruction to the cloud server for instructing to print the current printing document;
[0210] The cloud server is used to send the printing instruction to the printing terminal;
[0211] The printing terminal is used to complete the printing task of the current printing document based on the printing instruction.
[0212] It should be noted that the specific process of the user terminal, the cloud server and the printing terminal executing the cloud printing method has been described in detail in the previous article. In order to avoid excessive repetition, it will not be repeated here.
[0213] It is worth mentioning that the current printed document is not transmitted as a whole, but in fragments and stored in different object storage services in the cloud server. Therefore, when the network communication is monitored, only the individual fragments can be monitored, and the entire document cannot be monitored, which greatly improves the privacy security of user data during cloud printing.
[0214] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A cloud printing method, characterized in that: include: The user terminal receives service parameters of a plurality of object storage service storage spaces for storing the currently printed document; The multiple object storage services are object storage services on a cloud server, and the service parameters are sent by the cloud server after receiving a document printing request from the user terminal; The user terminal divides the current printed document into multiple document segments, and uploads the multiple document segments to the multiple object storage service storage spaces according to the service parameters; The user terminal sends a printing instruction for instructing printing of the current printing document to the cloud server; The cloud server sends the printing instruction to the printing terminal; The printing terminal completes the printing task for the current printing document based on the printing instruction.
2. The cloud printing method according to claim 1, characterized in that: The user terminal divides the current printed document into a plurality of document segments, including: The user terminal obtains a first random code; The user terminal performs a first operation on the first random code, the document segmentation time, the user terminal ID, and the printing terminal ID; The current printing document is segmented according to the first operation result and the segmentation rule, and each document segment outputted by the segmentation carries the printing task identifier of the current printing document.
3. The cloud printing method according to claim 1, characterized in that: The service parameters include the print task identifier of the current print document, the URL address of each object storage service storage space, and a data write token.
4. The cloud printing method according to claim 1, characterized in that: The multiple object storage services are heterogeneous object storage services provided by different service providers.
5. The cloud printing method according to claim 1, characterized in that: The cloud server sends the printing instruction to the printing terminal, including: The cloud server obtains a data read token of an object storage service storage space storing multiple document fragments, and a URL address of the object storage service storage space; The cloud server adds the acquired data read token and the URL address of the object storage service storage space to the print instruction sent by the user terminal, and sends the print instruction to the printing terminal.
6. The cloud printing method according to claim 5, characterized in that: The printing instruction sent by the user terminal includes the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: document segmentation time, user terminal ID, and printing terminal ID.
7. The cloud printing method according to claim 6, characterized in that: The printing terminal completes the printing task for the current printing document based on the printing instruction, including: The printing terminal reads the multiple document fragments from the object storage service storage space according to the data reading token in the printing instruction, the URL address of the object storage service storage space, and the print task identifier; The printing terminal obtains a first random code; The printing terminal performs a first operation on the segmentation factor and the first random code carried in the printing instruction; Performing a merging operation on the multiple document segments according to the first operation result and the segmentation rule, and outputting the current print document; The printing terminal prints the current printing document according to the printing parameters in the printing instruction.
8. The cloud printing method according to claim 6, characterized in that: The current printing document segmentation factor also includes a first random code.
9. The cloud printing method according to claim 8, characterized in that: The printing terminal completes the printing task for the current printing document based on the printing instruction, including: The printing terminal reads the multiple document fragments from the object storage service storage space according to the data reading token in the printing instruction, the URL address of the object storage service storage space, and the print task identifier; The printing terminal performs a first operation on the division factor carried in the printing instruction; Performing a merging operation on the multiple document segments according to the first operation result and the segmentation rule, and outputting the current print document; The printing terminal prints the current printing document according to the printing parameters in the printing instruction.
10. The cloud printing method according to claim 1, characterized in that: The printing instruction sent by the user terminal includes the printing parameters of the current printing document, the printing task identifier and the current printing document segmentation factor, and the current printing document segmentation factor includes: a first random code, a document segmentation time, a user terminal ID, and a printing terminal ID.
11. The cloud printing method according to claim 10, characterized in that: The cloud server sends the printing instruction to the printing terminal, including: The cloud server reads the multiple document fragments from an object storage service storage space storing the multiple document fragments; The cloud server performs a first operation on the segmentation factor carried in the printing instruction; Performing a merging operation on the multiple document segments according to the first operation result and the segmentation rule, and outputting the current print document; The cloud server parses the output current printing document to obtain a parsed document; The cloud server generates a second random code, and performs a first operation on the second random code, the split time of the parsed document, the user terminal ID, and the printing terminal ID; The cloud server segments the parsed document according to the first operation result and the segmentation rule, and each parsed document segment output by the segmentation carries a print task identifier of the current print document; The cloud server writes the multiple parsed document fragments into multiple object storage service storage spaces; The cloud server updates the URL address and data read token of the object storage service storage space storing multiple parsed document fragments and the segmentation factor of the parsed document into the printing instruction and sends it to the printing terminal.
12. The cloud printing method according to claim 11, characterized in that: The printing terminal completes the printing task of the current printing document based on the printing instruction, including: The printing terminal reads multiple fragments of the parsed document from the object storage service storage space according to the data reading token in the printing instruction, the URL address of the object storage service storage space, and the print task identifier; The printing terminal determines the first operation result used by the cloud server to split and parse the document according to the split factor of the parsed document carried in the printing instruction; Performing a merging operation on the multiple fragments of the parsed document according to the first operation result and the segmentation rule, and outputting the parsed document of the current printing document; The printing terminal prints the parsed document according to the printing parameters in the printing instruction.
13. A cloud printing system, characterized in that: The system includes a user terminal, a cloud server and a printing terminal; The user terminal is used to perform the following steps: Receiving service parameters of a plurality of object storage service storage spaces for storing a currently printed document; the plurality of object storage services are object storage services on a cloud server, and the service parameters are sent by the cloud server after receiving a document printing request from the user terminal; Splitting the current printed document into a plurality of document segments; Uploading the plurality of document fragments to the plurality of object storage service storage spaces according to the service parameters; Sending a printing instruction for instructing printing of the current printing document to the cloud server; The cloud server is used to send the printing instruction to the printing terminal; The printing terminal is used to complete the printing task of the current printing document based on the printing instruction.