Office file processing method and device and nonvolatile storage medium
By receiving, merging and splitting files in the cloud office system, the problem of low file integration and splitting efficiency in the existing technology is solved, and efficient file processing and user experience improvement are achieved.
Patent Information
- Application Number
- CN202411462452.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-02-14
AI Technical Summary
The existing technology cannot efficiently integrate and split files, resulting in poor user experience.
By receiving multiple files in the cloud office system, the identification information of the department subsystem is associated, and the files are merged and split. The specific steps include receiving multiple files, merging and processing, sending them to the management department, editing and splitting, and finally sending the split files back to the original department subsystem.
It realizes efficient integration and splitting of files, improves user experience, reduces the intermediate links in file processing, and improves file flow efficiency in cloud office systems.
Smart Images

Figure CN119443056A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular, to an office document processing method and device, and a non-volatile storage medium. Background Art
[0002] Nowadays, with the accelerated popularization of cloud office, people only need a computer and a mobile phone to enter the office at any time, and the working hours and places are more flexible. The cloud office system has functions such as remote participation in meetings, collaborative editing of documents by multiple people, and online approval and reimbursement. In the cloud office system, it is necessary to integrate the files, coordinate and circulate the integrated files between departments, split the integrated files after the instructions, and distribute the split files to various departments. However, the related technology cannot efficiently integrate and split the files, resulting in technical problems with poor user experience.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide an office document processing method and device, and a non-volatile storage medium, so as to at least solve the technical problem of poor user experience caused by the inability to efficiently integrate and split files.
[0005] According to one aspect of an embodiment of the present application, a method for processing office documents is provided, including: receiving multiple first files in a cloud office system, wherein each first file includes at least: first identification information of a department subsystem that has completed registration in the cloud office system; sending the first file to the department subsystem corresponding to the first identification information; receiving a second file obtained by editing the first file and sent by each department subsystem, to obtain multiple second files, wherein each second file includes at least: second identification information, and there is a preset association relationship between the second identification information and the first identification information; merging the multiple second files to obtain a first target file, and sending the first target file to a management department subsystem; receiving a second target file obtained by editing the first target file and sent by the management department subsystem, and splitting the file corresponding to the second identification information in the second target file; determining the first identification information corresponding to the split file according to the preset association relationship, and sending the split file to the department subsystem corresponding to the first identification information.
[0006] Optionally, the second identification information is used to characterize the storage capacity of the second file; splitting the file corresponding to the second identification information in the second target file includes: splitting the file corresponding to the second identification information in the second target file in an ascending order of the second identification information.
[0007] Optionally, files corresponding to the second identification information are split in the second target file in an ascending order of the second identification information, including: filling the second identification information into a preset function to obtain a target function, wherein the target function is used to characterize the association relationship between any two second identification information; and splitting files corresponding to the second identification information in the second target file in an ascending order of the second identification information using the target function.
[0008] Optionally, multiple second files are merged to obtain a first target file, including: when the number of received second files is the same as the number of sent first files, and there is first identification information corresponding to any second identification information, the multiple second files are merged to obtain the first target file.
[0009] Optionally, sending the split files to the department subsystem corresponding to the first identification information includes: sending the split files to the department subsystem corresponding to the first identification information in sequence according to the generation order of the split files.
[0010] Optionally, after sending the split file to the department subsystem corresponding to the first identification information, the method further includes: receiving a confirmation message sent by the department subsystem, wherein the confirmation message is used to indicate that the department subsystem corresponding to the first identification information has successfully received the split file.
[0011] According to another aspect of the embodiment of the present application, there is also provided an office document processing device, including: a first receiving module, used to receive multiple first files in a cloud office system, wherein each first file includes at least: first identification information of a department subsystem that has completed registration in the cloud office system; a sending module, used to send the first file to the department subsystem corresponding to the first identification information; a second receiving module, used to receive a second file sent by each department subsystem that is obtained by editing the first file, to obtain multiple second files, wherein each second file includes at least: second identification information, and there is a preset association relationship between the second identification information and the first identification information; a merging module, used to merge the multiple second files, obtain a first target file, and send the first target file to the management department subsystem; a splitting module, used to receive the second target file sent by the management department subsystem that is obtained by editing the first target file, and split the file corresponding to the second identification information in the second target file; a sending module, used to determine the first identification information corresponding to the split file according to the preset association relationship, and send the split file to the department subsystem corresponding to the first identification information.
[0012] According to another aspect of the embodiment of the present application, a non-volatile storage medium is provided, the storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above office document processing method.
[0013] According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a memory and a processor, the processor being used to run a program stored in the memory, wherein the above office document processing method is executed when the program is run.
[0014] According to yet another aspect of the embodiments of the present application, a computer program is further provided, wherein the above office document processing method is implemented when the computer program is executed by a processor.
[0015] According to another aspect of the embodiment of the present application, a computer program product is also provided, which includes a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above office document processing method is implemented.
[0016] In an embodiment of the present application, a plurality of first files in a cloud office system are received, wherein each first file includes at least: first identification information of a department subsystem that has completed registration in the cloud office system; the first file is sent to the department subsystem corresponding to the first identification information; a second file obtained by editing the first file and sent by each department subsystem is received, so as to obtain a plurality of second files, wherein each second file includes at least: second identification information, and there is a preset association relationship between the second identification information and the first identification information; the plurality of second files are merged to obtain a first target file, and the first target file is sent to a management department subsystem; a second target file obtained by editing the first target file and sent by the management department subsystem is received, and the file corresponding to the second identification information is split in the second target file; according to the preset association relationship, the first identification information corresponding to the split file is determined, and the split file is sent to the department subsystem corresponding to the first identification information, so as to achieve the purpose of efficiently integrating and splitting files, thereby realizing the technical effect of improving user experience, and further solving the technical problem of poor user experience caused by the inability to efficiently integrate and split files. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1is a flow chart of an office document processing method according to an embodiment of the present application;
[0019] Figure 2 is a structural diagram of an office document processing device according to an embodiment of the present application;
[0020] Figure 3 It is a hardware structure block diagram of a computer terminal according to an office document processing method of an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] According to an embodiment of the present application, a method embodiment of an office document processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0024] Figure 1 is a flow chart of an office document processing method according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0025] Step S101: receiving a plurality of first files in the cloud office system, wherein each first file at least includes: first identification information of a department subsystem that has completed registration in the cloud office system.
[0026] The cloud office system provides a file creation interface, in which the creator enters or selects the identification information of each department, and can attach preliminary file content or other necessary information. The creator (or the system automatically) generates an original file (first file) containing the identification information (first identification information) of each department in the cloud office system. This identification information can be a department code, ID or other unique identifier for subsequent file association and distribution.
[0027] Step S102: Send the first file to the department subsystem corresponding to the first identification information.
[0028] The system has a file distribution module that can identify the department identification information in the file and transfer the file to the designated department subsystem through the network to ensure that the file is delivered accurately. The cloud office system automatically distributes the file to the corresponding department subsystem based on the department identification information contained in the file.
[0029] Step S103, receiving the second file obtained by editing the first file sent by each department subsystem, and obtaining multiple second files, wherein each second file at least includes: second identification information, and there is a preset association relationship between the second identification information and the first identification information.
[0030] The cloud office system provides a real-time editing and collaboration platform. During the editing process of the department subsystem, the system automatically updates the file status and displays information such as the current number of editors, editor ID, and the size of the added attachments. After the editing is completed, the department subsystem uploads the file (the second file) to the cloud office system. In other words, after receiving the file, each department subsystem uses the online editing function of the cloud office system to edit the file, including adding text content, attachments, background information, etc., and generates new identification information (the second identification information).
[0031] Step S104, merging the multiple second files to obtain a first target file, and sending the first target file to the management department subsystem.
[0032] The file merging module identifies the new identification information in the second file, matches and associates it with the first identification information in the original file to ensure the accuracy of the merge. The merged file (first target file) contains the edited content and attachments of all department subsystems. The file merging module in the cloud office system receives the edited second file, and uses the preset initial and target functions to determine the association and merging order between files. When the number of all edited files is consistent with the number of original files, and the new identification number corresponds one-to-one with the initial identification number, the automatic merge function is triggered.
[0033] Step S105, receiving a second target file sent by the management department subsystem that is obtained by editing the first target file, and splitting the file corresponding to the second identification information in the second target file.
[0034] The cloud office system sends the merged first target file to the management department subsystem for approval and circulation. After the management department subsystem completes the editing, it returns the file (the second target file) to the cloud office system. It is understandable that the cloud office system provides file transfer and editing tracking functions. After receiving the file, the management department subsystem performs necessary editing, adding approvals, and other operations, and uploads the updated file (the second target file) after completion.
[0035] Step S106, determining the first identification information corresponding to the split file according to the preset association relationship, and sending the split file to the department subsystem corresponding to the first identification information.
[0036] Parse the structure of the second target file, identify and extract the second identification information, split the file according to the size order of the identification information (or other preset order), and generate multiple sub-files. Then, the system sends the file to the corresponding department subsystem based on the first identification information in the sub-file to ensure the security and pertinence of the information. It can be understood that the file splitting module in the cloud office system identifies the second identification information in the second target file, and uses the preset association relationship with the first identification information to determine the order and method of splitting the file. The split files (sub-files) will be sent to the corresponding department subsystem based on the first identification information.
[0037] In the above steps, the cloud office system realizes the automated process of file creation, editing, merging, splitting and distribution, effectively improving the efficiency and security of file processing, while ensuring collaborative operations among departments.
[0038] According to the above steps, a plurality of first files in the cloud office system are received, wherein each first file includes at least: first identification information of a department subsystem that has completed registration in the cloud office system; the first file is sent to the department subsystem corresponding to the first identification information; a second file obtained by editing the first file and sent by each department subsystem is received, so as to obtain a plurality of second files, wherein each second file includes at least: second identification information, and there is a preset association relationship between the second identification information and the first identification information; the plurality of second files are merged to obtain a first target file, and the first target file is sent to the management department subsystem; the second target file obtained by editing the first target file and sent by the management department subsystem is received, and the file corresponding to the second identification information is split in the second target file; according to the preset association relationship, the first identification information corresponding to the split file is determined, and the split file is sent to the department subsystem corresponding to the first identification information, so as to achieve the purpose of efficiently integrating and splitting files, thereby realizing the technical effect of improving user experience.
[0039] The following Figure 1 The steps shown are exemplary and explanatory.
[0040] According to some optional embodiments of the present application, the second identification information is used to characterize the storage capacity of the second file.
[0041] Furthermore, splitting the file corresponding to the second identification information in the second target file may be achieved by the following method: splitting the file corresponding to the second identification information in the second target file in the order of the second identification information from small to large.
[0042] Specifically, the creator receives the second file and reads the second identification information therein. This information is the new identification number generated by each sub-department when editing the original file. They not only identify the source of the file, but also imply the storage capacity information of the edited file. The storage capacity of the second file is compared with the second identification information, and the files are sorted in order from small to large according to the second identification information. This sorting method can ensure the efficiency and orderliness of the splitting process, and avoid the confusion or inefficiency of splitting caused by different file sizes. After the sorting is completed, the splitting is started in the second file according to the sorting order. First, the content corresponding to the smallest second identification information is found, and it is separated from the second file to form the first sub-file. Then, the corresponding file content is separated in turn according to the increasing order of the second identification information to form subsequent sub-files. The content of each sub-file not only contains the editing result of a specific sub-department, but also retains the second identification information associated with its storage capacity. After the splitting is completed, the creator sends the obtained sub-file to the corresponding sub-department. Since the splitting is performed in the order of the second identification information, the sending of the sub-files also follows this order, thereby ensuring that the sub-files can be accurately sent to the correct recipient. At the same time, sub-departments can receive content related to themselves without waiting for all sub-files to be generated, thereby improving the timeliness and accuracy of file processing.
[0043] Preferably, the files corresponding to the second identification information are split in the second target file in an ascending order of the second identification information. This can be achieved by the following method: filling the second identification information into a preset function to obtain a target function, wherein the target function is used to characterize the association relationship between any two second identification information; and splitting the files corresponding to the second identification information in the second target file in an ascending order of the second identification information using the target function.
[0044] Specifically, the following steps are used to split the file corresponding to the second identification information in the second target file. 1. Determine the preset function. The design of the preset function needs to consider multiple factors such as the file size, department identification, and editing status. Generally, the function can be a multivariate mathematical model, where the variables include but are not limited to file size, editing timestamp, editor ID, etc. For example, the target function can be expressed as: [F(x, y, z) = x*y+z], where (x) is the file size, (y) is the editing timestamp, and (z) is the editor ID. 2. Collect the second identification information. After each sub-department completes the editing of the original file and uploads it, the system automatically collects the second identification information of each edited file. This information may be included in the metadata of the file, or as part of the file record in the cloud office system database. 3. Fill the second identification information into the preset function. For each piece of second identification information collected, fill the corresponding file size, editing timestamp, editor ID and other parameters into the preset function, and calculate a numerical result, which can be regarded as the "weight" or "priority" of the file. 4. Sort the second identification information According to the "weight" or "priority" of each file obtained in step 3, sort the second identification information in order from small to large. This step ensures the rationality of the splitting order. For example, smaller files (i.e., files with lower weights) are split and distributed first. 5. Use the objective function to split the second target file. According to the sorted order of the second identification information, use the objective function to locate and split the file content corresponding to the second identification information in the second target file. For example, for edited and merged files, the system will extract the file parts corresponding to the second identification information one by one according to the weight order calculated by the objective function to form independent sub-files. 6. Send sub-files to sub-departments. After the splitting is completed, the system identifies the corresponding sub-department based on the second identification information corresponding to the sub-file, and then sends the sub-files to each sub-department in sequence according to the splitting order. This instant sending mechanism avoids waiting for all sub-files to be generated before distribution, greatly improving the efficiency of file processing and distribution.
[0045] According to some other optional embodiments of the present application, merging multiple second files to obtain a first target file can be achieved by the following method: when the number of received second files is the same as the number of sent first files, and there is first identification information corresponding to any second identification information, merging the multiple second files to obtain the first target file.
[0046] It is understandable that when the creator distributes the merged file (first file) to the coordinating department, after approval and circulation, the coordinating department returns multiple second files with new second identification information. These second files are generated after the coordinating department has made instructions and modifications based on the content of the first file. In order to ensure the accuracy and efficiency of the merge process, the following two conditions need to be met: 1. Quantity consistency check: The system first checks whether the number of second files received is the same as the number of first files originally issued to each sub-department. This is the basis for the merge process to ensure that all sub-departments' modification opinions are included. 2. Identification information matching: The system performs identification information matching to confirm whether there is first identification information corresponding to the second identification information of each second file. This step is to verify that each second file can be correctly traced back to its original source, that is, to ensure that each second file can be associated with a specific sub-department.
[0047] In some optional embodiments of the present application, sending the split files to the department subsystem corresponding to the first identification information can be achieved by the following method: sending the split files to the department subsystem corresponding to the first identification information in sequence according to the order in which the split files are generated.
[0048] Specifically, first, we need to ensure that the splitting algorithm can accurately split the merged file into the original sub-files according to the objective function. The objective function contains the identification number of each sub-file and related parameters, such as file size and type, which will guide the splitting process and ensure that the split sub-files can be restored to their original appearance without error.
[0049] Secondly, after the split is completed, the system will identify the department corresponding to each sub-file based on the association between the new identification number and the original identification number. This identification process may involve database queries to ensure that each identification number can be accurately matched to a department subsystem.
[0050] Then, the system will send the sub-files to the corresponding department subsystems in the order in which the sub-files are generated, that is, in the order of the size of the new identification numbers. This sequential sending can prevent the department from receiving a large number of files at the same time, resulting in a decrease in processing speed, and can also ensure that the file transmission process is more orderly and easier to track and manage.
[0051] Finally, after each department subsystem receives its own sub-file, it can start processing immediately without waiting for all sub-files to be sent. This instant processing method improves the response speed and efficiency of the entire cloud office system, reduces the waiting time for file processing, and thus improves the user experience.
[0052] Through the above steps, this application can achieve efficient and automatic integration and splitting of files, reduce the intermediate links in file processing, improve the efficiency of file circulation in the cloud office system, and also increase the security of file transmission, ensuring that the collaborative operation between departments is smoother and more efficient.
[0053] Figure 2 is a structural diagram of an office document processing device according to an embodiment of the present application, such as Figure 2 As shown, the device comprises:
[0054] The first receiving module 21 is used to receive a plurality of first files in the cloud office system, wherein each first file at least includes: first identification information of a department subsystem that has completed registration in the cloud office system.
[0055] The sending module 22 is used to send the first file to the department subsystem corresponding to the first identification information.
[0056] The second receiving module 23 is used to receive the second file sent by each department subsystem by editing the first file, and obtain multiple second files, wherein each second file at least includes: second identification information, and there is a preset association relationship between the second identification information and the first identification information.
[0057] The merging module 24 is used to merge the multiple second files to obtain a first target file, and send the first target file to the management department subsystem.
[0058] The splitting module 25 is used to receive a second target file sent by the management department subsystem that is obtained by editing the first target file, and split the file corresponding to the second identification information in the second target file.
[0059] The sending module 26 is used to determine the first identification information corresponding to the split file according to the preset association relationship, and send the split file to the department subsystem corresponding to the first identification information.
[0060] Optionally, the second identification information is used to characterize the storage capacity of the second file; the splitting module 25 is further used to perform the following steps: split the files corresponding to the second identification information in the second target file in the order of the second identification information from small to large.
[0061] Optionally, the splitting module 25 is also used to perform the following steps: fill the second identification information into a preset function to obtain a target function, wherein the target function is used to characterize the association relationship between any two second identification information; and split the files corresponding to the second identification information in the second target file using the target function in the order of the second identification information from small to large.
[0062] Optionally, the merging module 24 is further used to perform the following steps: when the number of received second files is the same as the number of sent first files, and there is first identification information corresponding to any second identification information, merge multiple second files to obtain a first target file.
[0063] Optionally, the sending module 26 is further configured to execute the following steps: sending the split files to the department subsystem corresponding to the first identification information in sequence according to the generation order of the split files.
[0064] Optionally, the office document processing device is also used to perform the following steps after sending the split file to the department subsystem corresponding to the first identification information: receiving a confirmation message sent by the department subsystem, wherein the confirmation message is used to indicate that the department subsystem corresponding to the first identification information has successfully received the split file.
[0065] It should be noted that the above Figure 2 The modules in the embodiment may be program modules (e.g., a set of program instructions for implementing a specific function) or hardware modules. For the latter, they may be expressed in the following forms, but are not limited thereto: the expression form of the above modules is a processor, or the functions of the above modules are implemented by a processor.
[0066] It should be noted that Figure 2 The preferred implementation of the illustrated embodiment can be found in Figure 1 The relevant description of the illustrated embodiment will not be repeated here.
[0067] Figure 3 The hardware structure block diagram of a computer terminal for implementing an office document processing method is shown. Figure 3 As shown, the computer terminal 30 may include one or more (302a, 302b, ..., 302n are used to illustrate) processors 302 (the processor 302 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 304 for storing data, and a transmission module 306 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 3 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 3 More or fewer components as shown, or with Figure 3 Different configurations are shown.
[0068] It should be noted that the one or more processors 302 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 30. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0069] The memory 304 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the office document processing method in the embodiment of the present application. The processor 302 executes various functional applications and data processing by running the software programs and modules stored in the memory 304, that is, realizing the above-mentioned office document processing method. The memory 304 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 304 may further include a memory remotely arranged relative to the processor 302, and these remote memories may be connected to the computer terminal 30 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0070] The transmission module 306 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 30. In one example, the transmission module 306 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 306 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0071] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 30 .
[0072] It should be noted that, in some optional embodiments, the above Figure 3 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 3 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.
[0073] It should be noted that Figure 3 The computer terminal shown is used to execute Figure 1 The office document processing method shown in the figure, therefore the relevant explanations and instructions in the execution method of the above commands are also applicable to the electronic device and will not be repeated here.
[0074] The embodiment of the present application further provides a non-volatile storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above office document processing method.
[0075] A program for a non-volatile storage medium to perform the following functions: receiving a plurality of first files in a cloud office system, wherein each first file includes at least: first identification information of a department subsystem that has completed registration in the cloud office system; sending the first file to the department subsystem corresponding to the first identification information; receiving a second file sent by each department subsystem that is obtained by editing the first file, to obtain a plurality of second files, wherein each second file includes at least: second identification information, and there is a preset association relationship between the second identification information and the first identification information; merging the plurality of second files to obtain a first target file, and sending the first target file to a management department subsystem; receiving a second target file sent by the management department subsystem that is obtained by editing the first target file, and splitting the file corresponding to the second identification information in the second target file; determining the first identification information corresponding to the split file according to the preset association relationship, and sending the split file to the department subsystem corresponding to the first identification information.
[0076] Optionally, the second identification information is used to characterize the storage capacity of the second file; splitting the file corresponding to the second identification information in the second target file includes: splitting the file corresponding to the second identification information in the second target file in an ascending order of the second identification information.
[0077] Optionally, files corresponding to the second identification information are split in the second target file in an ascending order of the second identification information, including: filling the second identification information into a preset function to obtain a target function, wherein the target function is used to characterize the association relationship between any two second identification information; and splitting files corresponding to the second identification information in the second target file in an ascending order of the second identification information using the target function.
[0078] Optionally, multiple second files are merged to obtain a first target file, including: when the number of received second files is the same as the number of sent first files, and there is first identification information corresponding to any second identification information, the multiple second files are merged to obtain the first target file.
[0079] Optionally, sending the split files to the department subsystem corresponding to the first identification information includes: sending the split files to the department subsystem corresponding to the first identification information in sequence according to the generation order of the split files.
[0080] Optionally, after sending the split file to the department subsystem corresponding to the first identification information, the method further includes: receiving a confirmation message sent by the department subsystem, wherein the confirmation message is used to indicate that the department subsystem corresponding to the first identification information has successfully received the split file.
[0081] An embodiment of the present application further provides an electronic device, including: a memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the above office document processing method is executed when the program is run.
[0082] The processor is used to run a program that performs the following functions: receiving multiple first files in a cloud office system, wherein each first file includes at least: first identification information of a department subsystem that has completed registration in the cloud office system; sending the first file to the department subsystem corresponding to the first identification information; receiving a second file obtained by editing the first file sent by each department subsystem, to obtain multiple second files, wherein each second file includes at least: second identification information, and there is a preset association relationship between the second identification information and the first identification information; merging the multiple second files to obtain a first target file, and sending the first target file to the management department subsystem; receiving a second target file obtained by editing the first target file sent by the management department subsystem, and splitting the file corresponding to the second identification information in the second target file; determining the first identification information corresponding to the split file according to the preset association relationship, and sending the split file to the department subsystem corresponding to the first identification information.
[0083] Optionally, the second identification information is used to characterize the storage capacity of the second file; splitting the file corresponding to the second identification information in the second target file includes: splitting the file corresponding to the second identification information in the second target file in an ascending order of the second identification information.
[0084] Optionally, files corresponding to the second identification information are split in the second target file in an ascending order of the second identification information, including: filling the second identification information into a preset function to obtain a target function, wherein the target function is used to characterize the association relationship between any two second identification information; and splitting files corresponding to the second identification information in the second target file in an ascending order of the second identification information using the target function.
[0085] Optionally, multiple second files are merged to obtain a first target file, including: when the number of received second files is the same as the number of sent first files, and there is first identification information corresponding to any second identification information, the multiple second files are merged to obtain the first target file.
[0086] Optionally, sending the split files to the department subsystem corresponding to the first identification information includes: sending the split files to the department subsystem corresponding to the first identification information in sequence according to the generation order of the split files.
[0087] Optionally, after sending the split file to the department subsystem corresponding to the first identification information, the method further includes: receiving a confirmation message sent by the department subsystem, wherein the confirmation message is used to indicate that the department subsystem corresponding to the first identification information has successfully received the split file.
[0088] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0089] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0090] In the above-mentioned embodiments of the present application, the collected information is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary protection measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0091] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0092] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0093] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0094] If the integrated unit 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 the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0095] The above is only a preferred implementation 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 of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for processing office documents, characterized in that: include: A plurality of first files in a cloud office system are received, wherein each of the first files includes at least: First identification information of a department subsystem that has completed registration in the cloud office system; Sending the first file to the department subsystem corresponding to the first identification information; Receiving a second file sent by each of the department subsystems and obtained by editing the first file, and obtaining a plurality of the second files, wherein each of the second files at least includes: second identification information, and there is a preset association relationship between the second identification information and the first identification information; Merging the plurality of the second files to obtain a first target file, and sending the first target file to the management department subsystem; receiving a second target file sent by the management department subsystem that is obtained by editing the first target file, and splitting the file corresponding to the second identification information in the second target file; According to the preset association relationship, the first identification information corresponding to the split file is determined, and the split file is sent to the department subsystem corresponding to the first identification information.
2. The method according to claim 1, characterized in that The second identification information is used to represent the storage capacity of the second file; Splitting the file corresponding to the second identification information in the second target file includes: splitting the file corresponding to the second identification information in the second target file in an ascending order of the second identification information.
3. The method according to claim 2, characterized in that Splitting the file corresponding to the second identification information in the second target file in the order of the second identification information from small to large includes: Filling the second identification information into a preset function to obtain an objective function, wherein the objective function is used to characterize the association relationship between any two second identification information; According to the order of the second identification information from small to large, the file corresponding to the second identification information is split in the second target file by using the objective function.
4. The method according to claim 1, characterized in that Merging the plurality of the second files to obtain a first target file includes: When the number of received second files is the same as the number of sent first files, and there is first identification information corresponding to any second identification information, a plurality of second files are merged to obtain a first target file.
5. The method according to claim 1, characterized in that Sending the split file to the department subsystem corresponding to the first identification information includes: According to the generation order of the split files, the split files are sent to the department subsystem corresponding to the first identification information in sequence.
6. The method according to claim 1, characterized in that After sending the split file to the department subsystem corresponding to the first identification information, the method further includes: Receive a confirmation message sent by the department subsystem, wherein the confirmation message is used to indicate that the department subsystem corresponding to the first identification information has successfully received the split file.
7. An office document processing device, characterized in that: include: A first receiving module is used to receive a plurality of first files in the cloud office system, wherein each of the first files at least includes: first identification information of a department subsystem that has completed registration in the cloud office system; A sending module, used for sending the first file to the department subsystem corresponding to the first identification information; A second receiving module is used to receive a second file sent by each of the department subsystems and obtained by editing the first file, and obtain a plurality of the second files, wherein each of the second files at least includes: second identification information, and there is a preset association relationship between the second identification information and the first identification information; A merging module, used for merging a plurality of the second files to obtain a first target file, and sending the first target file to a management department subsystem; a splitting module, configured to receive a second target file sent by the management department subsystem and obtained by editing the first target file, and to split the file corresponding to the second identification information in the second target file; The sending module is used to determine the first identification information corresponding to the split file according to the preset association relationship, and send the split file to the department subsystem corresponding to the first identification information.
8. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the office document processing method according to any one of claims 1 to 6.
9. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the program executes the office document processing method according to any one of claims 1 to 6 when running.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the office document processing method according to any one of claims 1 to 6 is implemented.