Processing method and device for inserting sub-table into process chart and storage medium

By inserting subtables into process charts and establishing data binding relationships, the problem of difficult update of subtable data and main cell content in process charts is solved, and the accuracy and consistency of data are achieved.

CN120067120APending Publication Date: 2025-05-30CAXA TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510112872.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

It is difficult to update the subtable data and the content of the main cell in the process chart, resulting in the data being easily confused.

Method used

By determining the target main cell of the target subtable to be inserted in the process chart, identify the template of the target subtable based on the numerical identification of the subtable template in the configuration file, insert the target subtable into the target main cell, and establish a data binding relationship between the target subtable and the target main cell.

Benefits of technology

The synchronous update of subtable data and main cell content in the process chart is realized, improving the accuracy of data in the process chart.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120067120A_ABST
    Figure CN120067120A_ABST
Patent Text Reader

Abstract

The invention discloses a processing method and device for inserting a sub-table into a process chart and a storage medium. The method relates to the field of computer aided design, and comprises the following steps: determining a target main cell of a to-be-inserted target sub-table in a process chart; the template of the target sub-table is recognized based on the digital identification of the sub-table template in a configuration file, the configuration file is a file used for storing configuration information of the process chart, and the configuration information at least comprises the sub-table template and the digital identification of the sub-table template; and instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell. By means of the method and device, the problem that data in the process chart are prone to disorder due to the fact that the sub-table data and the main cell content in the process chart are difficult to update synchronously in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer-aided design, and in particular, to a method, device, and storage medium for processing the insertion of a sub-table in a process chart. Background Art

[0002] In the process design and execution of modern manufacturing, process charts are widely used to record and manage detailed information of various manufacturing processes. As an important technical document, a process chart needs to record in detail the execution content of each process, the equipment, tooling, and related parameters used. In order to describe the process flow in more detail, sub-tables are often embedded in the process chart to supplement detailed equipment information, tooling parameters, or other related parameters of a specific process. However, the existing process chart design and editing methods have significant defects in handling the synchronization of sub-table and main cell data.

[0003] In the prior art, when the content of the main cell of a process chart changes, such as the adjustment of a process or the replacement of equipment, the data in the sub-table often fails to be updated synchronously. This lack of a synchronization update mechanism results in the disconnection between the data structure in the sub-table and the content changes in the main cell. If new process information is added to the main cell, the sub-table may not be able to automatically expand or adjust to accommodate the new content, resulting in incomplete data records or missing information.

[0004] Aiming at the problem that it is difficult to synchronously update the sub-table data and the main cell content in the process chart in the related art, resulting in the easy disorder of the data in the process chart, no effective solution has been proposed yet. Summary of the Invention

[0005] The main purpose of the present application is to provide a method, device, and storage medium for processing the insertion of a sub-table in a process chart, so as to solve the problem that it is difficult to synchronously update the sub-table data and the main cell content in the process chart in the related art, resulting in the easy disorder of the data in the process chart.

[0006] To achieve the above object, according to one aspect of the present application, a method for processing the insertion of a sub-table in a process chart is provided. The method includes: determining a target main cell in the process chart where the target sub-table is to be inserted; identifying the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, where the configuration file is a file for storing the configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template; instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell.

[0007] Further, before identifying the template of the target sub-table based on the digital identifier in the sub-table template of the configuration file, the method includes: creating the template of the target sub-table, determining the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table; and adding the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table to the configuration file.

[0008] Further, inserting the target sub-table into the target main cell and establishing the data binding relationship between the target sub-table and the target main cell includes: populating the data of the target sub-table according to the received data information; adding the populated data in the target sub-table to the data structure of the target main cell; and adding the unique identifier of the target main cell to the data structure of the target sub-table to establish the data binding relationship between the target sub-table and the target main cell.

[0009] Further, after instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing the data binding relationship between the target sub-table and the target main cell, the method includes: in the case where it is detected that the position of the target main cell in the process chart has changed, determining whether the position of the target sub-table in the target main cell needs to change; and if it is detected that the position of the target sub-table needs to change, updating the position of the target sub-table according to the position information of the changed target main cell.

[0010] Further, after instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing the data binding relationship between the target sub-table and the target main cell, the method includes: in the case where it is detected that the data in the target main cell in the process chart has changed, determining whether the position and / or the data of the target sub-table in the target main cell needs to change; if the position of the target sub-table needs to change, updating the position of the target sub-table according to the position information of the changed main cell; and if the data of the target sub-table needs to change, updating the data of the target sub-table according to the changed data of the target main cell.

[0011] Further, if the position of the target sub-table needs to change, updating the position of the target sub-table according to the position information of the changed main cell includes: if it is detected that the position of the target sub-table in the target main cell needs to span pages, calculating the total number of rows of the target sub-table and the number of rows of the sub-table that can be accommodated on the page where the target main cell is located; dividing the target sub-table into a first part and a second part according to the number of rows of the sub-table that can be accommodated on the page where the target main cell is located, and displaying the first part on the page where the target main cell is located and the second part on the next page of the page where the target main cell is located.

[0012] Further, if the data in the target sub-table needs to change, updating the data in the target sub-table according to the changed data in the target main cell includes: determining, according to the data binding relationship between the target sub-table and the target main cell, the data in the target sub-table that has a data binding relationship with the changed data in the target main cell as the first data; and updating the first data in the target sub-table according to the changed data in the target main cell.

[0013] To achieve the above object, according to another aspect of the present application, there is provided a processing device for inserting a sub-table into a process chart. The device includes: a determining unit for determining a target main cell in the process chart where the target sub-table is to be inserted; an identifying unit for identifying the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, where the configuration file is a file for storing the configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template; and an inserting unit for instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell.

[0014] Further, the device further includes: a creating unit for creating a template of the target sub-table, and determining the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table; and a first adding unit for adding the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table to the configuration file.

[0015] Further, the inserting unit includes: a filling module for filling the data of the target sub-table according to the received data information; a second adding module for adding the filled data in the target sub-table to the data structure of the target main cell; and a third adding module for adding the unique identifier of the target main cell to the data structure of the target sub-table to establish a data binding relationship between the target sub-table and the target main cell.

[0016] Further, the device further includes: a first judging unit for judging whether the position of the target sub-table in the target main cell needs to change when it is detected that the position of the target main cell in the process chart changes; and a first updating unit for updating the position of the target sub-table according to the position information of the changed target main cell if it is detected that the position of the target sub-table needs to change.

[0017] Further, the device further includes: a second determination unit, configured to determine whether the position and / or data of the target sub-table in the target main cell need to change when it is detected that the data in the target main cell in the process chart has changed; a second update unit, configured to update the position of the target sub-table according to the position information of the changed main cell if the position of the target sub-table needs to change; and a third update unit, configured to update the data of the target sub-table according to the changed data of the target main cell if the data in the target sub-table needs to change.

[0018] Further, the first update unit includes: a calculation module, configured to calculate the total number of rows of the target sub-table and the number of rows of the sub-table that can be accommodated on the page where the target main cell is located if it is detected that the position of the target sub-table in the target main cell needs to span pages; and a division module, configured to divide the target sub-table into a first part and a second part according to the number of rows of the sub-table that can be accommodated on the page where the target main cell is located, and display the first part on the page where the target main cell is located and the second part on the next page of the page where the target main cell is located.

[0019] Further, the third update unit includes: a determination module, configured to determine, according to the data binding relationship between the target sub-table and the target main cell, that the data in the target sub-table that has a data binding relationship with the changed data in the target main cell is the first data; and an update module, configured to update the first data in the target sub-table according to the changed data in the target main cell.

[0020] According to another aspect of the present application, there is provided a computer-readable storage medium, which includes a stored program, wherein when the program runs, it controls the device where the computer-readable storage medium is located to execute any method for inserting a sub-table in a process chart.

[0021] According to another aspect of the present application, there is provided an electronic device, including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any method for inserting a sub-table in a process chart.

[0022] According to another aspect of the present application, there is provided a computer program product, including computer instructions, which implement the steps of any of the above methods for inserting a sub-table in a process chart when executed by a processor.

[0023] In the embodiments of the present application, by determining the target main cell in the process chart where the target sub-table is to be inserted; based on the digital identifier of the sub-table template in the configuration file, identifying the template of the target sub-table, where the configuration file is a file for storing the configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template; instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell, the technical problem that it is difficult to synchronously update the sub-table data and the content of the main cell in the process chart, resulting in the data in the process chart being prone to disorder is solved. In the present application, first, the target main cell in the process chart where the target sub-table is to be inserted is determined. After identifying the template of the target sub-table in the configuration file, the template of the target sub-table is instantiated into the target sub-table. Finally, the target sub-table is inserted into the target main cell, and a data binding relationship is established between the target sub-table and the target main cell, thereby realizing the synchronous update of the sub-table data and the content of the main cell in the process chart, and improving the technical effect of the accuracy of the data in the process chart. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings, which form a part of this application, are used to provide a further understanding of this application. The schematic embodiments and descriptions thereof of this application are used to explain this application and do not constitute an improper limitation to this application. In the drawings:

[0025] Figure 1 The hardware structure block diagram of a computer terminal for implementing the processing method of inserting a sub-table in a process chart is shown;

[0026] Figure 2 is the flowchart of the processing method for inserting a sub-table in a process chart provided by an embodiment of the present application;

[0027] Figure 3 is the schematic diagram of determining the target main cell in the process chart where the target sub-table is to be inserted provided by an embodiment of the present application;

[0028] Figure 4 is the schematic diagram of inserting the target sub-table into the target main cell provided by an embodiment of the present application;

[0029] Figure 5 is the flowchart of establishing the data binding relationship between the target sub-table and the target main cell provided by an embodiment of the present application;

[0030] Figure 6 is the schematic diagram of the processing device for inserting a sub-table in a process chart provided by an embodiment of the present application;

[0031] Figure 7 is the structure block diagram of an electronic device according to an embodiment of the present application. Detailed implementation manners

[0032] In order to enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0033] It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned accompanying drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order different from those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0034] Embodiment 1

[0035] According to the embodiments of this application, an embodiment of a method for processing the insertion of a sub-table in a process chart is also 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 the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that here.

[0036] The method embodiment provided by the first embodiment of this application can be executed on a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing the method for processing the insertion of a sub-table in a process chart is shown. As Figure 1As shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (shown as 102a, 102b, ……, 102n in the figure) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may further 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. Those of ordinary skill in the art can understand that Figure 1 the structure shown is only schematic and does not limit the structure of the above-mentioned electronic device. For example, the computer terminal 10 may further include more or fewer components than Figure 1 shown in, or have a different configuration from Figure 1 that shown.

[0037] It should be noted that the above one or more processors 102 and / or other data processing circuits can generally be referred to as "data processing circuits" herein. The data processing circuit may be embodied in software, hardware, firmware, or any combination thereof, in whole or in part. In addition, the data processing circuit may be a single independent processing module, or be incorporated in whole or in part into any one of the other elements in the computer terminal 10 (or mobile device). As involved in the embodiments of the present application, the data processing circuit is a processor control (such as the selection of a variable resistor terminal path connected to an interface).

[0038] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the processing method of inserting a sub-table into a process chart in the embodiments of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implements the above-mentioned processing method of inserting a sub-table into a process chart. The memory 104 may include a high-speed random access memory, and may further include a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely set relative to the processor 102, and these remote memories can be connected to the computer terminal 10 through a network. Examples of the above network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0039] The transmission device 106 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 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 device 106 can be a Radio Frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0040] The display can be, for example, a touch-screen liquid crystal display (LCD), which enables users to interact with the user interface of the computer terminal 10 (or mobile device).

[0041] Under the above operating environment, this application provides a method for inserting a sub-table into the process chart as shown in Figure 2 the process chart shown. Figure 2 It is a flowchart of a method for inserting a sub-table into a process chart according to an embodiment of this application.

[0042] Step S201, determine the target main cell in the process chart where the target sub-table is to be inserted.

[0043] Optionally, the above process chart can be a document in CAXA software that records process information such as processing procedures, tools used, and equipment parameters. Determine the target main cell in the process chart where the target sub-table is to be inserted. As Figure 3 shown, for example, the cell where the content of the sub-table to be inserted is located in the process content with the process name of forging corresponds to the above-mentioned target main cell.

[0044] For another example, the process chart records a machining process involving multiple devices. The process designer needs to insert a sub-table of equipment parameters into the cell describing the main process of "milling operation" to detail the model, parameters, and operation requirements of each device. Then, determine the main cell of "milling operation" as the target main cell to prepare for inserting the sub-table in the next step.

[0045] Step S202, based on the digital identifier of the sub-table template in the configuration file, identify the template of the target sub-table, where the configuration file is a file for storing the configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template.

[0046] Optionally, the above configuration file can be a data file, such as XML, JSON, or a dedicated database table, for storing the configuration information of the process chart. In the CAXA software, the configuration file can be used to manage sub-table templates, and each sub-table template has a unique and fixed numerical identifier, which is the key for the software to distinguish different sub-table templates internally. For example, the equipment parameter template may be marked as "200", the tooling information template as "201", and so on. When a user or system needs to insert a specific type of sub-table into the process chart, this process involves the identification and invocation of the template. By reading the configuration file, the numerical identifier corresponding to the target sub-table is found according to the requirements. Once the correct identifier is found, the corresponding template can be immediately located and prepared for instantiation, that is, to generate a specific sub-table instance.

[0047] For example, if a process designer decides to insert the detailed parameters (equipment number, equipment name, and equipment parameters) of a piece of equipment into the main cell describing the "milling process" when making a machining process card, the operation of "inserting an equipment parameter sub-table" will be selected in the software interface. Then the configuration file is read to find the numerical identifier corresponding to the equipment parameter sub-table. Suppose this identifier is "200". Then, the equipment parameter sub-table template is located from the template library through the identifier "200", and then the template is instantiated into a specific sub-table and inserted into the main cell of the "milling process" to complete the establishment of the data binding relationship.

[0048] Step S203: Instantiate the template of the target sub-table into the target sub-table, insert the target sub-table into the target main cell, and establish the data binding relationship between the target sub-table and the target main cell.

[0049] Optionally, the above instantiation of the template of the target sub-table refers to converting an abstract sub-table template that has not been filled with specific data into a specific sub-table instance. This instance contains all the structures and predefined attributes of the sub-table, but its content (such as equipment number, name, etc.) is blank and waiting to be filled. The instantiation process ensures that each inserted sub-table follows a unified format and specification, while maintaining the flexibility and reusability of the template. The above data binding refers to establishing a dynamic connection between the sub-table and the target main cell to ensure that when the data in the main cell changes, the information in the sub-table can also be automatically updated. This mechanism is crucial for ensuring the accuracy and consistency of the information in the process chart. As Figure 4 shown, for example, the target main cell is the process content of forging, and the instantiated XX sub-table is inserted into this target main cell. The XX sub-table depends on the specific process content of forging and the information that needs to be recorded and managed, and can be a forging equipment parameter sub-table, a forging process step sub-table, and so on.

[0050] For another example, the process designer decides to insert a sub-table of "equipment parameters" into the main cell describing the "milling process" to record the number, name, and parameters of each piece of equipment. Select the "Insert Sub-table" command and specify the "equipment parameters" template. This template is instantiated and inserted into the main cell of the "milling process". After insertion, a data binding relationship is established between the sub-table and the main cell. If the process designer changes the description of the "milling process", such as adding a new process "grinding", this change will be automatically recognized, and a new equipment row related to "grinding" will be added to the "equipment parameters" sub-table, while the information in the main cell is updated to ensure the integrity and accuracy of the process card.

[0051] The method for processing the insertion of a sub-table in the process chart provided by the embodiment of the present application determines the target main cell of the target sub-table to be inserted in the process chart; based on the digital identifier of the sub-table template in the configuration file, identifies the template of the target sub-table, where the configuration file is a file for storing the configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template; instantiates the template of the target sub-table into the target sub-table, inserts the target sub-table into the target main cell, and establishes a data binding relationship between the target sub-table and the target main cell, solving the technical problem that it is difficult to synchronously update the sub-table data and the content of the main cell in the process chart, resulting in data confusion in the process chart, thereby achieving the technical effect of synchronously updating the sub-table data and the content of the main cell in the process chart and improving the accuracy of the data in the process chart.

[0052] In an optional embodiment, before identifying the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, the method includes: creating a template of the target sub-table, determining the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table. Adding the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table to the configuration file.

[0053] Optionally, the process of creating the template of the target sub-table can be achieved through the following steps:

[0054] Design the sub-table structure: First, it is necessary to design the column structure of the sub-table and define the meaning of each column, such as equipment number, equipment name, equipment parameters, etc. In addition, the number of rows also needs to be determined. Although the initial number of rows may be zero, after insertion into the process chart, users can increase the number of rows as needed;

[0055] Set template attributes: Set specific attributes for the sub-table template, such as column width, font size, color, alignment, etc., to ensure that the template maintains a consistent appearance and format when instantiated;

[0056] Define data binding rules: When creating a template, it is necessary to define data binding rules, that is, the association method between the sub-table and the data in the main cell of the process chart;

[0057] Name and identify the template: Name the template, such as "Equipment Parameter Template", and assign it a unique numerical identifier, which will be used in the configuration file to facilitate the software to quickly identify and call the template.

[0058] Optionally, after creating the template of the target sub-table, an entry can be added to the configuration file for the new template, which includes the name, description, attribute definition of the template, and its unique numerical identifier. After saving the configuration file, the new template becomes a usable part of the software and can be called by process designers when making process charts.

[0059] In summary, through the above technical solutions, customized sub-table templates can be created and managed. These templates not only enrich the information recording ability of process charts but also improve the efficiency and accuracy of making process documents. The numerical identifier of the sub-table template ensures the speed and accuracy of each call and reference, while the configuration file serves as the central repository of template information, facilitating maintenance and update.

[0060] In an alternative embodiment, as Figure 5 shown, inserting the target sub-table into the target main cell and establishing the data binding relationship between the target sub-table and the target main cell includes:

[0061] Step S501, fill the data of the target sub-table according to the received data information.

[0062] Optionally, this step is to fill specific process parameters and information into the sub-table that has been inserted into the process card. The filling process needs to strictly follow the design rules of the sub-table, such as data format, length limit, whether it is required, etc.

[0063] For example, after inserting the equipment parameter sub-table into the main cell of the "Milling Process" in the process card, the user needs to provide specific information for each piece of equipment. Suppose the user selects a "CNC Vertical Milling Machine" with an equipment number of "020-02-2019", an equipment name of "CNC Vertical Milling Machine", and an equipment parameter of "2048880648". These information can be filled into the corresponding columns of the sub-table, such as the equipment number column, equipment name column, and equipment parameter column.

[0064] Step S502, add the filled data in the target sub-table to the data structure of the target main cell.

[0065] Optionally, once the sub-table is filled, the software will integrate this data into the data structure of the target main cell, forming an inclusion relationship. This means that the data in the target main cell not only contains its own descriptive information but also the data of all associated sub-tables. This step ensures that the main cell can comprehensively reflect the content of its sub-tables, facilitating subsequent data extraction and analysis.

[0066] Step S503: Add the unique identifier of the target main cell to the data structure of the target sub-table to establish a data binding relationship between the target sub-table and the target main cell.

[0067] Optionally, in order to trace back the source of the sub-table data in reverse, the data structure of the target sub-table needs to contain the unique identifier of the target main cell. This identifier can be the cell ID, row number, or any attribute that can uniquely identify the main cell. In this way, a two-way data binding relationship is established between the sub-table and the main cell, ensuring the synchronous update and correct reference of the data.

[0068] For example, the unique identifier of the main cell of the "milling process" is "PROC-001". After inserting and filling the equipment parameter sub-table, "PROC-001" will be added to the data structure of the target sub-table. In this way, every time the equipment information in the target sub-table changes, it can quickly locate the main cell of the "milling process" through the "PROC-001" identifier and synchronize the changes to the data structure of the main cell, thus maintaining the unity and real-time nature of the entire process card information.

[0069] In summary, through the above technical solution, a data binding relationship is established. When the information in the target main cell changes, the information in the sub-table will also be automatically updated according to the data binding relationship, ensuring the coherence and accuracy of the data in the process card.

[0070] In an optional embodiment, after instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell, the method includes: when it is detected that the position of the target main cell in the process chart has changed, it is determined whether the position of the target sub-table in the target main cell needs to change. If it is detected that the position of the target sub-table needs to change, the position of the target sub-table is updated according to the position information of the changed target main cell.

[0071] Optionally, when the process designer performs any operation in the process chart that may affect the position of the main cell (such as inserting a new process, deleting a process, moving a process, etc.), the software will automatically detect these changes and determine whether the sub-table in the affected target main cell also needs to be adjusted accordingly.

[0072] Optionally, once it is determined that the position of the target sub-table needs to be changed, a position update operation will be automatically executed to ensure the correct correspondence between the target sub-table and the target main cell. This process can be automated without manual intervention by the user.

[0073] Through the above technical solution, when the position of the main cell is detected to change and the position of the sub-table is automatically adjusted, the process card can maintain the rationality of the layout and the accuracy of the information when the process information is adjusted. This avoids the cumbersome operation of manually adjusting the position of the sub-table, reduces the possibility of errors, and improves the efficiency of process document production and maintenance.

[0074] In an optional embodiment, after instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell, the method includes: when it is detected that the data in the target main cell in the process chart changes, it is determined whether the position and / or data of the target sub-table in the target main cell need to change. If the position of the target sub-table needs to change, the position of the target sub-table is updated according to the position information of the changed main cell. If the data in the target sub-table needs to change, the data of the target sub-table is updated according to the changed data of the target main cell.

[0075] Optionally, it can be implemented through a real-time monitoring function and an intelligent judgment logic. When the user changes any data (such as process name, equipment parameters, etc.) in the target main cell, the software will immediately recognize this change and, based on the data binding relationship between the target main cell and the target sub-table, determine whether it is necessary to adjust the position or data of the target sub-table. For example, if the description information of the process in the target main cell is modified, the software will check whether there is a directly related target sub-table, such as an equipment parameter sub-table, to decide whether to update the position and / or data of the target sub-table.

[0076] If the modification of the target main cell involves a change in its position, for example, by adding or deleting other cells, the main cell moves to a new row or column, then the bound target sub-table must also be adjusted accordingly. The software will automatically recognize this change in position, calculate the new correct position of the target sub-table, and then update the position information of the target sub-table to ensure that its relative position relationship with the target main cell remains unchanged.

[0077] When the data in the target main cell changes and directly affects the information in the target sub - table, the software will automatically update the data in the target sub - table to maintain consistency with the target main cell. For example, if the device number in the target main cell is replaced, then all information related to this device number in the target sub - table (such as device name, parameters, etc.) must be updated accordingly.

[0078] Through the above - mentioned technical solution, real - time monitoring of the data change in the target main cell and automatic update of the target sub - table ensure the accuracy and consistency of the process information in the process chart, and reduce errors caused by manual adjustment of the process chart.

[0079] In an optional embodiment, if the position in the target sub - table needs to change, then according to the position information of the main cell after the change, updating the position of the target sub - table includes: if it is detected that the position of the target sub - table in the target main cell needs to span pages, then calculate the total number of rows of the target sub - table and the number of rows of the sub - table that can be accommodated on the page where the target main cell is located. Based on the number of rows of the sub - table that can be accommodated on the page where the target main cell is located, divide the target sub - table into a first part and a second part, and display the first part on the page where the target main cell is located, and display the second part on the next page of the page where the target main cell is located.

[0080] Optionally, when the software detects that the data change in the target main cell is sufficient to cause the number of rows of the target sub - table bound to it to exceed the physical limit of the current page, a page - spanning process is required. First, the software will calculate the current total number of rows of the target sub - table and the number of rows that can be accommodated on the page where the target main cell is located.

[0081] For example, the target sub - table originally has 30 rows in its original position, and the current page where the target main cell is located can display a maximum of 25 rows. The software will detect that these 30 rows of content cannot be fully displayed on the current page and a page - spanning process is required.

[0082] After determining the capacity limit of the page where the target main cell is located, the content of the target sub - table can be split, and the part that can be accommodated (the first part) is displayed on the current page, while the excess part (the second part) is moved to the next page for display.

[0083] For example, the first 25 rows (the first part) of the target sub - table can be displayed on the page where the target main cell is located, while the remaining 5 rows (the second part) are displayed on the next page. And when the target sub - table is displayed, the association information with the target main cell will be retained, such as retaining the description of the target main cell through the header or footer, ensuring that even if the content of the target sub - table is distributed on multiple pages, users can clearly know which target main cell this part of the content is associated with.

[0084] Through the above technical solution, the intelligent segmentation and distribution of the content of the target sub-table ensure the reasonable layout of the process information in the process chart in a multi-page document, making the information density on each page moderate and facilitating reading and searching.

[0085] In an alternative embodiment, if the data in the target sub-table needs to change, updating the data in the target sub-table according to the changed data in the target main cell includes: determining, according to the data binding relationship between the target sub-table and the target main cell, that the data in the target sub-table that has a data binding relationship with the changed data in the target main cell is the first data. Updating the first data in the target sub-table according to the changed data in the target main cell.

[0086] Optionally, the software checks the binding relationship between each piece of data in the target sub-table and the target main cell. When the data in the target main cell changes, the software can identify which target sub-table data is based on the target main cell data, and these data are the "first data".

[0087] For example, the target main cell "equipment number" is updated from "020-02-2019" to "020-02-2020". The target sub-table is "equipment parameter details", and the "parameter type" column in the "equipment parameter details" sub-table has a binding relationship with the target main cell "equipment number". The software can identify the change in the "equipment number" and determine that all the "parameter type" data bound to it in the target sub-table is the first data.

[0088] Optionally, after determining the first data, all the first data in the target sub-table can be automatically updated to reflect the change in the target main cell data.

[0089] For example, it is detected that the target main cell "equipment number" changes from "020-02-2019" to "020-02-2020". Subsequently, all the "parameter type" data in the target sub-table "equipment parameter details" that is bound to the "equipment number" is automatically updated, and all the information referring to "020-02-2019" is changed to "020-02-2020". This includes all the equipment parameter rows in the target sub-table, ensuring that the parameter information in each row corresponds to the new equipment number.

[0090] Through the above technical solution, the data in the target sub-table is automatically updated, ensuring that the data in the target sub-table is always synchronized and consistent with the information in the target main cell, avoiding data conflicts and errors, and improving the reliability of the process information in the process chart.

[0091] 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 the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0092] Embodiment 2

[0093] The embodiment of the present application also provides a processing device for inserting a sub-table into a process chart. It should be noted that the processing device for inserting a sub-table into the process chart in the embodiment of the present application can be used to execute the processing method for inserting a sub-table into the process chart provided by the embodiment of the present application. The following introduces the processing device for inserting a sub-table into the process chart provided by the embodiment of the present application.

[0094] According to the embodiment of the present application, there is also provided a device for implementing the above-mentioned processing method for inserting a sub-table into a process chart, as Figure 6 shown, the device includes: a determination unit 601, an identification unit 602, and an insertion unit 603.

[0095] Specifically, the determination unit 601 determines the target main cell in the process chart where the target sub-table is to be inserted;

[0096] The identification unit 602 identifies the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, where the configuration file is a file for storing the configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template;

[0097] The insertion unit 603 instantiates the template of the target sub-table into the target sub-table, inserts the target sub-table into the target main cell, and establishes a data binding relationship between the target sub-table and the target main cell.

[0098] The processing device for inserting a sub-table into the process chart provided by the embodiment of the present application, through the determination unit 601 to determine the target main cell in the process chart where the target sub-table is to be inserted; the identification unit 602 identifies the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, where the configuration file is a file for storing the configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template; the insertion unit 603 instantiates the template of the target sub-table into the target sub-table, inserts the target sub-table into the target main cell, and establishes a data binding relationship between the target sub-table and the target main cell, solves the technical problem that it is difficult to synchronously update the sub-table data and the content of the main cell in the process chart, resulting in the data in the process chart being prone to confusion, thereby achieving the technical effect of synchronously updating the sub-table data and the content of the main cell in the process chart and improving the accuracy of the data in the process chart.

[0099] Optionally, in the processing device for inserting a sub-table into the process chart provided in the embodiments of the present application, the device further includes: a creation unit, configured to create a template of a target sub-table, and determine the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table; a first addition unit, configured to add the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table to a configuration file.

[0100] Optionally, in the processing device for inserting a sub-table into the process chart provided in the embodiments of the present application, the insertion unit 603 includes: a filling module, configured to fill the data of the target sub-table according to the received data information; a second addition module, configured to add the filled data in the target sub-table to the data structure of the target main cell; a third addition module, configured to add the unique identifier of the target main cell to the data structure of the target sub-table, so as to establish a data binding relationship between the target sub-table and the target main cell.

[0101] Optionally, in the processing device for inserting a sub-table into the process chart provided in the embodiments of the present application, the device further includes: a first judgment unit, configured to judge whether the position of the target sub-table in the target main cell needs to change when it is detected that the position of the target main cell in the process chart changes; a first update unit, configured to update the position of the target sub-table according to the position information of the changed target main cell if it is detected that the position of the target sub-table needs to change.

[0102] Optionally, in the processing device for inserting a sub-table into the process chart provided in the embodiments of the present application, the device further includes: a second judgment unit, configured to judge whether the position and / or the data of the target sub-table in the target main cell need to change when it is detected that the data in the target main cell in the process chart changes; a second update unit, configured to update the position of the target sub-table according to the position information of the changed main cell if the position of the target sub-table needs to change; a third update unit, configured to update the data of the target sub-table according to the changed data of the target main cell if the data of the target sub-table needs to change.

[0103] Optionally, in the processing device for inserting a sub-table into the process chart provided in the embodiments of the present application, the first update unit includes: a calculation module, configured to calculate the total number of rows of the target sub-table and the number of rows of the sub-table that can be accommodated on the page where the target main cell is located if it is detected that the position of the target sub-table in the target main cell needs to span pages; a division module, configured to divide the target sub-table into a first part and a second part according to the number of rows of the sub-table that can be accommodated on the page where the target main cell is located, and display the first part on the page where the target main cell is located and the second part on the next page of the page where the target main cell is located.

[0104] Optionally, in the processing device for inserting a sub-table into a process chart provided in an embodiment of the present application, the third update unit includes: a determination module, configured to determine, according to the data binding relationship between the target sub-table and the target main cell, that the data in the target sub-table having a data binding relationship with the changed data in the target main cell is the first data; an update module, configured to update the first data in the target sub-table according to the changed data in the target main cell.

[0105] It should be noted here that the above determination unit 601, identification unit 602, and insertion unit 603 correspond to steps S201 to S203 in Embodiment 1. The examples and application scenarios implemented by the three units and the corresponding steps are the same, but are not limited to the content disclosed in the above Embodiment 1. It should be noted that the above modules or units may be hardware components or software components stored in a memory (for example, memory 104) and processed by one or more processors (for example, processors 102a, 102b,..., 102n). The above modules may also be part of a device and may run in the computer terminal 10 provided in Embodiment 1.

[0106] Embodiment 3

[0107] An embodiment of the present application may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the above computer terminal may also be replaced with a mobile terminal or an electronic device or other terminal devices.

[0108] Optionally, in this embodiment, the above computer terminal may be located in at least one of multiple network devices in a computer network.

[0109] In this embodiment, the above computer terminal may execute the program code of the following steps in the processing method for inserting a sub-table into a process chart: determining a target main cell in the process chart where the target sub-table is to be inserted; identifying the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, where the configuration file is a file for storing configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template; instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell.

[0110] Optionally, the above computer terminal may execute the program code of the following steps in the method for processing the insertion of a sub-table in a process chart: Before identifying the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, the method includes: creating the template of the target sub-table, determining the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table; adding the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table to the configuration file.

[0111] Optionally, the above computer terminal may execute the program code of the following steps in the method for processing the insertion of a sub-table in a process chart: Inserting the target sub-table into the target main cell and establishing a data binding relationship between the target sub-table and the target main cell includes: populating the data of the target sub-table according to the received data information; adding the populated data in the target sub-table to the data structure of the target main cell; adding the unique identifier of the target main cell to the data structure of the target sub-table to establish a data binding relationship between the target sub-table and the target main cell.

[0112] Optionally, the above computer terminal may execute the program code of the following steps in the method for processing the insertion of a sub-table in a process chart: After instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell, the method includes: when it is detected that the position of the target main cell in the process chart changes, determining whether the position of the target sub-table in the target main cell needs to change; if it is detected that the position of the target sub-table needs to change, updating the position of the target sub-table according to the position information of the changed target main cell.

[0113] Optionally, the above computer terminal may execute the program code of the following steps in the method for processing the insertion of a sub-table in a process chart: After instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell, the method includes: when it is detected that the data in the target main cell in the process chart changes, determining whether the position and / or the data of the target sub-table in the target main cell needs to change; if the position of the target sub-table needs to change, updating the position of the target sub-table according to the position information of the changed main cell; if the data of the target sub-table needs to change, updating the data of the target sub-table according to the changed data of the target main cell.

[0114] Optionally, the above computer terminal may execute the program code of the following steps in the method for processing the inserted sub-table in the process chart: If the position in the target sub-table needs to change, then according to the position information of the changed main cell, update the position of the target sub-table, including: If it is detected that the position of the target sub-table in the target main cell needs to span pages, then calculate the total number of rows of the target sub-table and the number of rows of the sub-table that can be accommodated on the page where the target main cell is located; According to the number of rows of the sub-table that can be accommodated on the page where the target main cell is located, divide the target sub-table into a first part and a second part, and display the first part on the page where the target main cell is located, and display the second part on the next page of the page where the target main cell is located.

[0115] Optionally, the above computer terminal may execute the program code of the following steps in the method for processing the inserted sub-table in the process chart: If the data in the target sub-table needs to change, then according to the changed data of the target main cell, update the data of the target sub-table, including: According to the data binding relationship between the target sub-table and the target main cell, determine the data in the target sub-table that has a data binding relationship with the changed data in the target main cell as the first data; According to the changed data in the target main cell, update the first data in the target sub-table.

[0116] Optionally, Figure 7 is a structural block diagram of an electronic device according to an embodiment of the present application. As Figure 7 shown, the electronic device may include: one or more ( Figure 7 only one is shown in the figure) processors 702, a memory 704, a storage controller, and a peripheral interface, where the peripheral interface is connected to a radio frequency module, an audio module, and a display.

[0117] Among them, the memory may be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for processing the inserted sub-table in the process chart in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implements the above method for processing the inserted sub-table in the process chart. The memory 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 memories, or other non-volatile solid-state memories. In some instances, the memory may further include a memory remotely provided with respect to the processor, and these remote memories may be connected to the terminal through a network. Examples of the above network include, but are not limited to, the Internet, an enterprise internal network, a local area network, a mobile communication network, and combinations thereof.

[0118] The processor may call the information and application programs stored in the memory through a transmission device to execute the above steps in the method for processing the inserted sub-table in the process chart.

[0119] Embodiments of the present application provide a solution for processing the insertion of a sub-table into a process chart. By determining a target main cell in the process chart where the target sub-table is to be inserted; based on the digital identifier of the sub-table template in the configuration file, identifying the template of the target sub-table, where the configuration file is a file for storing configuration information of the process chart, and the configuration information includes at least the sub-table template and the digital identifier of the sub-table template; instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell, the technical problem that it is difficult to synchronously update the sub-table data and the content of the main cell in the process chart, resulting in data confusion in the process chart, is solved. Thus, the technical effect of synchronously updating the sub-table data and the content of the main cell in the process chart and improving the data accuracy in the process chart is achieved.

[0120] Those of ordinary skill in the art can understand that Figure 7 The structure shown is only schematic, and the electronic device can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and terminal devices such as Mobile Internet Devices (MIDs), PADs, etc. Figure 7 It does not limit the structure of the above-mentioned electronic device. For example, the electronic device may further include more or fewer components (such as a network interface, a display device, etc.) than those shown Figure 7 in, or have a different configuration from that shown Figure 7 in.

[0121] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by a program instructing the relevant hardware of the terminal device, and the program can be stored in a computer-readable storage medium. The storage medium may include: a flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disc, etc.

[0122] Embodiment 4

[0123] Embodiments of the present application also provide a storage medium. Optionally, in this embodiment, the above storage medium can be used to save the program code executed by the method for processing the insertion of a sub-table into a process chart provided in the first embodiment above.

[0124] Optionally, in this embodiment, the above storage medium can be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.

[0125] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: determining a target main cell in the process chart where the target sub-table is to be inserted; identifying the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, where the configuration file is a file for storing the configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template; instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell.

[0126] Optionally, the storage medium is further configured to store program code for performing the following steps: before identifying the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, the method includes: creating a template of the target sub-table, determining the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table; adding the template of the target sub-table and the digital identifier corresponding to the template of the target sub-table to the configuration file.

[0127] Optionally, the storage medium is further configured to store program code for performing the following steps: inserting the target sub-table into the target main cell and establishing a data binding relationship between the target sub-table and the target main cell includes: populating the data of the target sub-table according to the received data information; adding the populated data in the target sub-table to the data structure of the target main cell; adding the unique identifier of the target main cell to the data structure of the target sub-table to establish a data binding relationship between the target sub-table and the target main cell.

[0128] Optionally, the storage medium is further configured to store program code for performing the following steps: after instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell, the method includes: in the case where it is detected that the position of the target main cell in the process chart has changed, determining whether the position of the target sub-table in the target main cell needs to change; if it is detected that the position of the target sub-table needs to change, updating the position of the target sub-table according to the position information of the changed target main cell.

[0129] Optionally, the storage medium is further configured to store program code for performing the following steps: After instantiating the template of the target sub-table into the target sub-table, inserting the target sub-table into the target main cell, and establishing a data binding relationship between the target sub-table and the target main cell, the method includes: When it is detected that the data in the target main cell in the process chart has changed, determine whether the position and / or the data of the target sub-table in the target main cell need to change; If the position of the target sub-table needs to change, update the position of the target sub-table according to the position information of the changed main cell; If the data in the target sub-table needs to change, update the data of the target sub-table according to the changed data of the target main cell.

[0130] Optionally, the storage medium is further configured to store program code for performing the following steps: If the position of the target sub-table needs to change, updating the position of the target sub-table according to the position information of the changed main cell includes: If it is detected that the position of the target sub-table in the target main cell needs to span pages, calculate the total number of rows of the target sub-table and the number of rows of the sub-table that can be accommodated on the page where the target main cell is located; According to the number of rows of the sub-table that can be accommodated on the page where the target main cell is located, divide the target sub-table into a first part and a second part, and display the first part on the page where the target main cell is located, and display the second part on the next page of the page where the target main cell is located.

[0131] Optionally, the storage medium is further configured to store program code for performing the following steps: If the data in the target sub-table needs to change, updating the data of the target sub-table according to the changed data of the target main cell includes: According to the data binding relationship between the target sub-table and the target main cell, determine that the data in the target sub-table that has a data binding relationship with the changed data in the target main cell is the first data; Update the first data in the target sub-table according to the changed data in the target main cell.

[0132] The present application also provides a computer program product, which is suitable for executing a program for the processing method steps of inserting a sub-table in a process chart when executed on a data processing device.

[0133] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0134] In the above embodiments of the present application, the descriptions of the respective embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0135] In 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 merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. 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 couplings or direct couplings or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections of units or modules can be in electrical or other forms.

[0136] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0137] In addition, each functional unit in various embodiments of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0138] If the above-mentioned 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 such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs and other various media that can store program codes.

[0139] The above is only the preferred embodiment of this application. It should be noted that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of this application.

Claims

1. A method for inserting a subtable into a process chart, characterized in that: include: Determine the target main cell in the process chart into which the target subtable is to be inserted; Based on the digital identifier of the sub-table template in the configuration file, identifying the template of the target sub-table, wherein the configuration file is a file for storing configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template; The template of the target subtable is instantiated as the target subtable, the target subtable is inserted into the target main cell, and a data binding relationship between the target subtable and the target main cell is established.

2. The method according to claim 1, characterized in that Before identifying the template of the target subtable based on the digital identifier of the subtable template in the configuration file, the method includes: Creating a template of the target subtable, and determining the template of the target subtable and a digital identifier corresponding to the template of the target subtable; The template of the target sub-table and the digital identifier corresponding to the template of the target sub-table are added to the configuration file.

3. The method according to claim 1, characterized in that Inserting the target subtable into the target main cell and establishing a data binding relationship between the target subtable and the target main cell includes: Filling the data of the target subtable according to the received data information; Add the data filled in the target subtable to the data structure of the target main cell; The unique identifier of the target main cell is added to the data structure of the target sub-table to establish a data binding relationship between the target sub-table and the target main cell.

4. The method according to claim 3, characterized in that After instantiating the template of the target subtable into the target subtable, inserting the target subtable into the target main cell, and establishing a data binding relationship between the target subtable and the target main cell, the method includes: In the case where it is detected that the position of the target main cell in the process chart has changed, it is determined whether the position of the target subtable in the target main cell needs to be changed; If it is detected that the position of the target sub-table needs to be changed, the position of the target sub-table is updated according to the position information of the changed target main cell.

5. The method according to claim 4, characterized in that After instantiating the template of the target subtable into the target subtable, inserting the target subtable into the target main cell, and establishing a data binding relationship between the target subtable and the target main cell, the method includes: In the case where it is detected that the data in the target main cell in the process chart has changed, it is determined whether the position of the target subtable in the target main cell and / or the data in the target subtable need to be changed; If the position in the target subtable needs to be changed, the position of the target subtable is updated according to the position information of the changed main cell; If the data in the target subtable needs to be changed, the data in the target subtable is updated according to the changed data in the target main cell.

6. The method according to claim 4, characterized in that If the position in the target subtable needs to be changed, updating the position of the target subtable according to the changed position information of the main cell includes: If it is detected that the position of the target subtable in the target main cell needs to cross pages, the total number of rows of the target subtable and the number of subtable rows that can be accommodated by the page where the target main cell is located are calculated; According to the number of sub-table rows that can be accommodated by the page where the target main cell is located, the target sub-table is divided into a first part and a second part, and the first part is displayed on the page where the target main cell is located, and the second part is displayed on the next page of the page where the target main cell is located.

7. The method according to claim 5, characterized in that If the data in the target subtable needs to be changed, updating the data in the target subtable according to the changed data in the target main cell includes: According to the data binding relationship between the target subtable and the target main cell, determining that data in the target subtable that has a data binding relationship with the changed data in the target main cell is the first data; The first data in the target subtable is updated according to the changed data in the target main cell.

8. A processing device for inserting a subtable into a process chart, characterized in that: include: A determination unit is used to determine a target main cell in the process chart to be inserted into the target subtable; an identification unit, configured to identify the template of the target sub-table based on the digital identifier of the sub-table template in the configuration file, wherein the configuration file is a file for storing configuration information of the process chart, and the configuration information at least includes the sub-table template and the digital identifier of the sub-table template; The inserting unit is used to instantiate the template of the target subtable into the target subtable, insert the target subtable into the target main cell, and establish a data binding relationship between the target subtable and the target main cell.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute the processing method for inserting a sub-table into a process chart as described in any one of claims 1 to 7.

10. An electronic device, characterized in that: include: A memory storing an executable program; A processor is used to run the program, wherein when the program is run, the method for inserting a subtable into a process chart as described in any one of claims 1 to 7 is executed.

11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method for inserting a subtable into a process diagram described in any one of claims 1 to 7 are implemented.