A document processing method and device
By dividing the document page into multiple display areas in the ERP system and displaying different types of document volume data sets, the problem of users need to frequently switch document lists when proofreading different types of document volume data is solved, and a simpler data proofreading process is realized.
Patent Information
- Application Number
- CN202111510725.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-12-10
AI Technical Summary
In the ERP system, users need to switch multiple document lists on the document page to proofread different types of document volume data, resulting in a cumbersome proofreading process.
By obtaining document data of multiple documents, dividing document volume data of the same type into the same set, and dividing the document page into multiple display areas to display different types of document volume data sets respectively.
It realizes displaying multiple different types of document volume data sets in the document page at the same time, reducing the number of times users switch the document list on the document page and simplifying the data proofreading process.
Smart Images

Figure CN114169302B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of document processing, and specifically to a document processing method and device thereof. Background Art
[0002] There are multiple different types of document bodies in Enterprise Resource Planning (ERP) documents, which record relatively independent business data respectively. For example, the material detail document body and logistics detail document body on the Kingdee Cloud Starry Sky delivery notice record the sales material detail data and logistics detail data respectively.
[0003] The same document body of different documents is displayed in one document list, and multiple document bodies are displayed in different document lists. At present, when various enterprise application products display document data, only one document list is generated on the document page, and the document list displays the data of the same document body of multiple documents. When users proofread different document body data of multiple documents, they need to switch multiple document lists on the document page. This proofreading method is very cumbersome. Summary of the invention
[0004] The embodiment of the present application provides a document processing method and device thereof, which are used to simplify the proofreading process of different types of document body data of multiple documents.
[0005] A first aspect of an embodiment of the present application provides a method for processing a document, including:
[0006] Acquire document data of multiple documents, wherein the document data of each document includes multiple types of document body data;
[0007] According to the type of the document body data, the document body data of the same type of multiple documents are divided into the same set to obtain N document body data sets, where N is an integer greater than or equal to 2;
[0008] Divide the document page into N display areas;
[0009] N document body data sets are displayed in N display areas respectively, where one document body data set corresponds to one display area.
[0010] In an embodiment of the present application, document body data of the same type for multiple documents are displayed in one display area, and document body data of different types are displayed in different display areas. Multiple display areas are displayed simultaneously on a document page, so that different types of document body data for different documents are displayed simultaneously on the same document page. When a user proofreads data of different types of document bodies, there is no need to switch between multiple document lists on the document page, and proofreading is simple.
[0011] Based on the first aspect of the embodiment of the present application, in a first implementation manner of the first aspect of the embodiment of the present application, N document body data sets are displayed in front of N display areas respectively, and the method further includes:
[0012] Determine the document body data belonging to the same document among N document body data sets;
[0013] Set the display style of the document body data of the same document to the same style, and set the display style of the document body data of different documents to different styles;
[0014] In the embodiment of the present application, in multiple display areas, the document body data of the same document are set to the same display style, so that the user can quickly identify the document body data belonging to the same document and distinguish the document body data of different documents.
[0015] Based on the first aspect of the embodiment of the present application or the first implementation of the first aspect, in the second implementation of the first aspect of the embodiment of the present application, N document body data sets are displayed in N display areas respectively, specifically including:
[0016] The document body data in the N document body sets are displayed in the N display areas in a list format.
[0017] In the embodiment of the present application, the document body set is displayed in the form of a list, which improves the feasibility of the solution. In different document lists, different types of document bodies belonging to the same document need to be displayed in an associated combination. Compared with the display solution using Cartesian product, the display effect of the embodiment of the present application is less repetitive and redundant.
[0018] Based on the second implementation of the first aspect of the embodiment of the present application, in a third implementation of the first aspect of the embodiment of the present application, the document body data includes a document number value, the list includes a document number column, the document number value is filled in the document number column, and the method further includes:
[0019] Freeze the Document Number column in each display area.
[0020] In the embodiment of the present application, the document number column is frozen so that the document number column is fixed relative to the display area, which makes it easier for users to find the document number.
[0021] Based on the first aspect of the embodiment of the present application, and any one of the first implementation to the third implementation of the first aspect, in a fourth implementation of the first aspect of the embodiment of the present application, the document page is divided into N display areas, specifically including:
[0022] Construct N layout containers;
[0023] Place N layout containers on the same document page, with each layout container containing a display area.
[0024] In the embodiment of the present application, a layout container is used to divide the document page, thereby improving the feasibility of the solution.
[0025] A second aspect of an embodiment of the present application provides a document processing device, including:
[0026] An acquisition unit, used to acquire document data of a plurality of documents, wherein the document data of each document includes multiple types of document body data;
[0027] A first division unit is used to divide the document body data of the same type of multiple documents into the same set according to the type of the document body data, to obtain N document body data sets, where N is an integer greater than or equal to 2;
[0028] A second division unit, used to divide the document page into N display areas;
[0029] The display unit is used to display N document body data sets in N display areas respectively, wherein one document body data set corresponds to one display area.
[0030] Based on the second aspect of the embodiment of the present application, in a first implementation manner of the second aspect of the embodiment of the present application, the display unit includes:
[0031] A determination subunit is used to determine the document body data belonging to the same document among the N document body data sets;
[0032] The setting subunit is used to set the display style of the document body data of the same document to the same style, and set the display style of the document body data of different documents to different styles.
[0033] Based on the second aspect of the embodiment of the present application or the first implementation of the second aspect, in the second implementation of the second aspect of the embodiment of the present application, the display unit includes:
[0034] The display subunit is used to display the document body data in the N document body sets in the N display areas in the form of a list.
[0035] Based on the second implementation of the second aspect of the embodiment of the present application, in a third implementation of the second aspect of the embodiment of the present application, the document body data includes a document number value, the list includes a document number column, the document number value is filled in the document number column, and the device further includes:
[0036] Freeze cells, used to freeze the document number column in each display area.
[0037] Based on the second aspect of the embodiment of the present application and any one of the first to third implementations of the second aspect, in a fourth implementation of the second aspect of the embodiment of the present application, the second division unit includes:
[0038] The construction subunit is used to construct N layout containers;
[0039] The placement subunit is used to place N layout containers on the same document page. Each layout container contains a display area.
[0040] A third aspect of an embodiment of the present application provides a computer device, including:
[0041] CPU, memory;
[0042] The memory is a short-term storage memory or a persistent storage memory;
[0043] The central processing unit is configured to communicate with the memory and execute instructions in the memory to perform the method of the first aspect.
[0044] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which includes instructions. When the instructions are executed on a computer, the computer executes the method of the first aspect.
[0045] A fifth aspect of the embodiments of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method of the first aspect.
[0046] The sixth aspect of an embodiment of the present application provides a chip system, which includes at least one processor and a communication interface, the communication interface and at least one processor are interconnected through lines, and the at least one processor is used to run a computer program or instruction to execute the method of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a data structure diagram of the document of the embodiment of the present application;
[0048] Figure 2 It is a flow chart of the method for processing documents of the embodiment of the present application;
[0049] Figure 3 It is another flow chart of the method for processing documents of the embodiment of the present application;
[0050] Figure 4 It is an effect diagram of the method for processing documents in the embodiment of the present application;
[0051] Figure 5 It is a structural diagram of a document processing device of an embodiment of the present application;
[0052] Figure 6 It is another structural diagram of the document processing device of the embodiment of the present application;
[0053] Figure 7 It is another structural diagram of the document processing device of the embodiment of the present application;
[0054] Figure 8 It is another effect diagram of the document processing method of the embodiment of the present application. DETAILED DESCRIPTION
[0055] The embodiment of the present application provides a document processing method and device thereof, which are used to facilitate users to proofread different types of document body data.
[0056] There are multiple documents in the ERP system, such as Figure 1 As shown, each document has a document header and multiple document bodies. The document header is used to identify different documents. The document header data generally includes data such as document type, document number, document creation date, creator, and reviewer. A document has multiple types of document bodies, such as material detail document body and logistics detail document body. The document body data of different types of document bodies are different. For example, the material detail document body records the sales material detail data, and the logistics detail document body records the logistics detail data. The sales material detail data generally includes data such as material code, material name, specification model, grade, origin, color, sales unit, sales quantity, order date, shipping warehouse, shipping location, whether it is a gift, stocking warehouse and stocking location. The logistics detail data generally includes data such as logistics company, starting location, end location, logistics order number, shipping time, logistics status, consignor, consignor contact information, consignee, and consignee contact information.
[0057] When multiple document bodies of the same type of multiple documents are grouped into the same set or the same document list, in order to identify the source of each document body, each document body will carry part or all of the document header data.
[0058] like Figure 2 As shown, in one implementation of the embodiment of the present application, the method for processing a document includes:
[0059] 201. Obtain document data of multiple documents.
[0060] The processing device determines a plurality of documents to be processed and obtains document data from the storage space. Each document includes multiple types of document bodies, and the corresponding document data can be divided into multiple types of document body data.
[0061] Figure 8 In the example of the document page shown, there are three documents on one document page, and each document includes a material detail document body and a logistics information document body.
[0062] Document data includes document number, customer name, material name, sales unit, sales quantity, shipping warehouse, logistics company, starting location, ending location, delivery time and logistics status, etc.
[0063] The material detail document body data includes the document number, customer name, material name, sales unit, sales quantity and shipping warehouse, etc. The logistics information document body includes the document number, logistics company, starting location, ending location, delivery time and logistics status, etc.
[0064] 202. Grouping document body data of the same type of multiple documents into the same set;
[0065] The processing device divides multiple documents into multiple sets based on the type of document body data to obtain document body data sets, each of which contains only multiple document body data of the same type. When there are N types of document body data, there are N document body data sets, where N is an integer greater than 1.
[0066] When dividing, the processing device first determines that the number of document body types is N, establishes N sets, and then writes the document body in each document into the corresponding set. If the number of document bodies in a document is less than N, the document lacks one or more document bodies, and the document header of the document can be written into the corresponding set, or any data of the document can be not written into the corresponding set.
[0067] 203. Divide the document page into N display areas.
[0068] The document page is all the areas in the display device for displaying documents, and the processing device divides the document page into N display areas. It can be understood that the number of display areas is determined according to the number of document body data sets obtained in step 202, and the number of document body data sets represents the number of types of document body data included in the multiple document data obtained in step 201, that is, the multiple document data obtained in step 201 include a number of document body types, so it is necessary to divide the document page into a corresponding number of display areas, and each display area is used to display document data of a document body type.
[0069] There are many ways to arrange the N display areas on the document page, including but not limited to horizontal parallel arrangement or vertical parallel arrangement. Figure 8 In the example of the document page shown, the document page includes two display areas arranged side by side horizontally.
[0070] The execution order of step 202 and step 203 is not limited to Figure 2As shown, step 203 may be executed first and then step 202, or step 202 and step 203 may be executed simultaneously. The present application does not specifically limit the execution sequence of the two steps.
[0071] 204. Display N document body data sets in N display areas respectively.
[0072] The processing device displays one document body data set in each display area, and the N display areas display a total of N document body data sets.
[0073] Figure 8 In the example of the document page shown, the display area on the left is used to display the material detail document body, specifically including the material detail document body of three documents whose last three digits of the document numbers are 102, 101 and 029; the display area on the right is used to display the logistics information document body, specifically including the logistics information document body of three documents whose last three digits of the document numbers are 102, 101 and 029.
[0074] In this embodiment, document body data of the same type for multiple documents are displayed in one display area, and document body data of different types are displayed in different display areas. Multiple display areas are displayed on the document page at the same time, so that different types of document body data for different documents are displayed on the same document page at the same time. When the user proofreads data of different types of document bodies, there is no need to switch between multiple document lists on the document page, and proofreading is simple.
[0075] like Figure 3 As shown, the document processing method disclosed in another embodiment of the present application specifically includes steps 301-S306.
[0076] 301. Obtain document data of multiple documents;
[0077] 302. Grouping document body data of the same type of multiple documents into the same set;
[0078] Steps 301 to 302 of this embodiment are similar to Figure 2 Steps 201 to 202 of the illustrated embodiment are similar and will not be described in detail here.
[0079] 303. Set the display style of the document body data of the same document to the same style;
[0080] The processing device divides the document body data according to whether they belong to the same document, and then sets the display style of the document body data of the same document to the same style, and sets the display style of the document body data of different documents to different styles. The display style includes font color, background color, bold, italic, font and font size, etc. The display style can be set to only one difference, such as only a different background color, or multiple differences, such as different font colors and fonts, without specific limitation.
[0081] Taking background color as an example, users can view different document bodies of multiple documents on the document page at the same time. Users do not need to switch pages back and forth, and different document bodies of the same document are grouped and displayed with the same background color, which greatly improves users' proofreading of multiple different document bodies of a certain document and improves proofreading efficiency.
[0082] 304. Divide the document page into N display areas;
[0083] The processing device generates N layout containers, and different layout containers do not completely overlap, and generally different layout containers are arranged in parallel. The processing device places the generated N layout containers in a document page, and each layout container forms a display area, thereby realizing the division of N display areas.
[0084] It can be understood that the number of display areas is determined based on the number of document body data sets obtained in step 202. The number of document body data sets represents the number of document body data types included in the multiple document data obtained in step 201. In other words, if the multiple document data obtained in step 201 include a certain number of document body types, then the document page needs to be divided into a corresponding number of display areas, and each display area is used to display document data of one document body type.
[0085] There are many ways to arrange the N display areas on the document page, including but not limited to horizontal parallel arrangement or vertical parallel arrangement. Figure 8 In the example of the document page shown, the document page includes two display areas arranged side by side horizontally.
[0086] The execution order of step 302, step 303 and step 304 is not limited to Figure 3 As shown, it can also be any other execution order, or any two steps can be executed simultaneously and another step other than the two steps can be executed before or after them, or three steps can be executed simultaneously. This application does not limit the execution sequence of the three steps.
[0087] 305. Display N document body data sets in N display areas respectively.
[0088] The processing device displays a document body data set content in each display area. The document body data set can be arranged into a list to obtain a document list. In addition to being displayed in a list form, the document body data set can also be displayed in a text form or a statistical chart form.
[0089] like Figure 8In the example of the document page shown, there are two document lists 801 in one document page. The document list 801 on the left contains the material detail document body, and the document list 801 on the right contains the logistics information document body.
[0090] A document list is displayed in a display area. In the document list, the document number column where the document number is located can be frozen so that the document number column can only slide up and down relative to the display area, but not left and right. The document number column is always displayed in the display area.
[0091] When freezing the document number column, you can freeze only the document number column in one of the document lists, or only freeze the document number column in some of the document lists, or freeze the document number column in all document lists. In addition to freezing the document number column, other columns in the document list can also be frozen.
[0092] The processing device may display N document body data sets in N display areas respectively according to the display style of the document body data.
[0093] Figure 8 In the example of the document page shown, the document number column is located on the far left of each document list. After freezing the document number column, the document number column will always be displayed in the display area. Users can quickly find the document number and determine whether the document bodies in different display areas belong to the same document by the document number. The three documents in each document list use different background colors, and the document bodies belonging to the same document in the two document lists use the same background color. In this way, users do not need to use the document number to identify whether the document body belongs to the same document, but can directly use the background color to identify whether the document body belongs to the same document.
[0094] After executing steps 301 to 305, the following is obtained: Figure 4 The document page shown in the figure shows the effect. Figure 4 Taking 3 layout containers as an example, you can choose other numbers of layout containers in practice. Multiple layout containers can be constructed and placed on the same document page. Different containers display different document body data sets, so that users can see different types of document body data on the same page. The layout containers can be arranged horizontally or vertically. The layout containers can have no overlapping areas at all or partially overlap.
[0095] It should be noted that Figure 8 , Figure 4 and Figure 8 The document page shown is only an example and is not intended to be limiting. It cannot be used to limit layout containers, display areas, document body data sets, document lists, documents, document bodies, and display styles.
[0096] like Figure 5As shown, in one implementation of the embodiment of the present application, the document processing device includes:
[0097] An acquisition unit 501 is used to acquire document data of multiple documents, wherein the document data of each document includes multiple types of document body data;
[0098] A first division unit 502 is used to divide the document body data of the same type of multiple documents into the same set according to the type of the document body data, to obtain N document body data sets, where N is an integer greater than or equal to 2;
[0099] The second division unit 503 is used to divide the document page into N display areas;
[0100] The display unit 504 is used to display N document volume data sets in N display areas respectively, where one document volume data set corresponds to one display area.
[0101] like Figure 6 As shown, in one implementation of the embodiment of the present application, the document processing device includes:
[0102] An acquisition unit 601 is used to acquire document data of multiple documents, wherein the document data of each document includes multiple types of document body data;
[0103] A first division unit 602 is used to divide the document body data of the same type of multiple documents into the same set according to the type of the document body data, to obtain N document body data sets, where N is an integer greater than or equal to 2;
[0104] The second division unit 603 is used to divide the document page into N display areas;
[0105] The display unit 604 is used to display N document volume data sets in N display areas respectively, where one document volume data set corresponds to one display area.
[0106] The display unit 604 includes:
[0107] A determination subunit 6041 is used to determine the document body data belonging to the same document among the N document body data sets;
[0108] The setting subunit 6042 is used to set the display style of the document body data of the same document to the same style, and set the display style of the document body data of different documents to different styles.
[0109] The display unit 604 includes:
[0110] The display subunit 6043 is used to display the document body data in the N document body sets in the N display areas in the form of a list.
[0111] The document body data includes a document number value, the list includes a document number column, the document number value is filled in the document number column, and the device further includes:
[0112] The freezing unit 605 is used to freeze the document number column in each display area.
[0113] The second dividing unit 603 includes:
[0114] The construction subunit 6031 is used to construct N layout containers;
[0115] The placement subunit 6032 is used to place N layout containers on the same document page, and each layout container contains a display area.
[0116] like Figure 7 As shown, the embodiment of the present application further provides a computer device 700, including:
[0117] Central processing unit 701, memory 702;
[0118] The memory 702 is a temporary storage memory or a permanent storage memory;
[0119] The central processor 701 is configured to communicate with the memory 702 and execute instructions in the memory 702 to perform the following operations: Figures 2 to 3 The method in the illustrated embodiment.
[0120] The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium includes instructions, when the instructions are executed on a computer, the computer executes the following Figures 2 to 3 The method in the illustrated embodiment.
[0121] The present application also provides a computer program product including instructions, which, when executed on a computer, causes the computer to execute the following Figures 2 to 3 The method in the illustrated embodiment.
[0122] The embodiment of the present application also provides a chip system, which includes at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected through a line, and the at least one processor is used to run a computer program or instruction to execute the following steps: Figures 2 to 3 The method in the illustrated embodiment.
[0123] To further illustrate the effect of the embodiments of the present application, Figure 8 As shown, the interface effect of an implementation method of an embodiment of the present application, this embodiment takes two display areas as an example, the left side is a document list consisting of material detail document bodies, and the right side is a document list consisting of logistics information document bodies.
[0124] On each different layout container, the document data of multiple documents is displayed in a list format. If only different types of document body data are displayed on different layout containers, it is difficult for users to distinguish the document body data belonging to the same document on different layout containers. In order to identify the same document on different layout containers, the same background color is used to mark the rows. At the same time, the document number column is frozen in different document lists. In this way, the consistent background color and document number column can greatly improve the user's proofreading efficiency between different documents in terms of visual effects. When using this function, users only need to click on the lower menu to call and turn on this function to view multiple different document bodies on the document page at the same time, without the need for complicated and tedious operations. The display effect of viewing the material detail document body and logistics information document body of the shipping notice at the same time in Kingdee Cloud Star is as follows Figure 8 shown.
[0125] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0126] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0127] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0128] 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.
[0129] 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 is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.
Claims
1. A method for processing a document, characterized in that: include: Acquire document data of a plurality of documents, wherein the document data of each of the documents includes multiple types of document body data; According to the type of the document body data, the document body data of the same type of the multiple documents are divided into the same set to obtain N document body data sets, where N is an integer greater than or equal to 2; Divide the document page into N display areas; Displaying the N document body data sets in the N display areas respectively, wherein one document body data set corresponds to one display area; In the display area, the document body data of the same document has the same display style, and the document body data of different documents has different display styles.
2. The processing method according to claim 1, characterized in that: The method further comprises: displaying the N document body data sets respectively in front of the N display areas; Determining document body data belonging to the same document in the N document body data sets; The display style of the document body data of the same document is set to the same style, and the display style of the document body data of different documents is set to different styles.
3. The processing method according to claim 1 or 2, characterized in that: The displaying of the N document body data sets in the N display areas respectively specifically includes: The document body data in the N document body sets are displayed in the N display areas in a list format.
4. The processing method according to claim 3, characterized in that: The document body data includes a document number value, the list includes a document number column, the document number value is filled in the document number column, and the method further includes: Freeze the Document Number column in each of the display areas.
5. The processing method according to claim 1 or 2, characterized in that: The document page is divided into N display areas, specifically including: Construct N layout containers; The N layout containers are placed on the same document page, and each layout container contains a display area.
6. A document processing device, characterized in that: include: An acquisition unit, configured to acquire document data of a plurality of documents, wherein the document data of each document includes multiple types of document body data; A first division unit is used to divide the document body data of the same type of the multiple documents into the same set according to the type of the document body data, so as to obtain N document body data sets, where N is an integer greater than or equal to 2; A second division unit, used to divide the document page into N display areas; A display unit, used to display the N document body data sets in the N display areas respectively, wherein one document body data set corresponds to one display area; In the display area, the document body data of the same document has the same display style, and the document body data of different documents has different display styles.
7. The processing device according to claim 6, characterized in that The display unit comprises: A determination subunit, used to determine the document body data belonging to the same document in the N document body data sets; The setting subunit is used to set the display style of the document body data of the same document to the same style, and set the display style of the document body data of different documents to different styles.
8. A computer device, characterized in that: include: CPU, memory; The memory is a transient storage memory or a persistent storage memory; The central processing unit is configured to communicate with the memory and execute instructions in the memory to perform the method according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises instructions, and when the instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 5.
10. A computer program product, characterized in that When the computer program product runs on a computer, it enables the computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for page display
CN106503012A
Search method and terminal equipment
CN107832330A