CN113095055A - Table modification method and device, nonvolatile storage medium and processor - Google Patents

Table modification method and device, nonvolatile storage medium and processor Download PDF

Info

Publication number
CN113095055A
CN113095055A CN202110433695.2A CN202110433695A CN113095055A CN 113095055 A CN113095055 A CN 113095055A CN 202110433695 A CN202110433695 A CN 202110433695A CN 113095055 A CN113095055 A CN 113095055A
Authority
CN
China
Prior art keywords
item
configuration
modification
difference
original table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110433695.2A
Other languages
Chinese (zh)
Inventor
邱星宇
谢王梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hillstone Networks Co Ltd
Original Assignee
Hillstone Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hillstone Networks Co Ltd filed Critical Hillstone Networks Co Ltd
Priority to CN202110433695.2A priority Critical patent/CN113095055A/en
Publication of CN113095055A publication Critical patent/CN113095055A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/183Tabulation, i.e. one-dimensional positioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a table modification method, a table modification device, a nonvolatile storage medium and a processor. Wherein, the method comprises the following steps: acquiring an original form and a difference configuration, wherein the difference configuration is used for describing difference information of the standard form and the original form; scanning the original table to obtain each configuration item in the original table; scanning the difference configuration to obtain each modification item in the difference configuration; modifying each configuration item in the original table based on the modification item to obtain an updated table; and rendering and displaying the updated table in the browser. The invention solves the technical problems of complex form modification process and troublesome maintenance.

Description

Table modification method and device, nonvolatile storage medium and processor
Technical Field
The invention relates to the field of data processing, in particular to a table modification method, a table modification device, a non-volatile storage medium and a processor.
Background
In internet applications, there is a need for a wide variety of presentation data. The form component has the characteristics of visual display, comprehensive information and the like, and the application scene is very wide.
In actual business development, situations often arise that require multiplexing of tables: under multiple scenes, the table display and interaction are completely consistent; under multiple scenes, the table display and interaction have slight differences.
Aiming at scenes with completely consistent display and interaction, the multiplexing is simpler, and only configuration items required by the form are directly given; for scenes with slightly different display and interaction (for example, the number of columns, the interaction behavior, the display mode of individual columns and the like are different), the business requirements cannot be completely met by directly given configuration, and common logic cannot be reused due to the redevelopment of new table components. Therefore, it is common practice to: corresponding logic is added in the table component to adapt to different service requirements, so that when too many scenes exist, the logic added in the table component becomes too bloated and is relatively troublesome to maintain.
Aiming at the problems of complex table modification process and troublesome maintenance, no effective solution is provided at present.
Disclosure of Invention
The embodiment of the invention provides a table modification method, a table modification device, a nonvolatile storage medium and a processor, which are used for at least solving the technical problems of complex table modification process and troublesome maintenance.
According to an aspect of an embodiment of the present invention, there is provided a table modification method, including: acquiring an original form and a difference configuration, wherein the difference configuration is used for describing difference information of a standard form and the original form; scanning the original table to obtain each configuration item in the original table; scanning the difference configuration to obtain each modification item in the difference configuration; modifying each configuration item in the original table based on the modification item to obtain an update item; an update table is generated for the update item reset component and rendered onto a page in a browser.
Optionally, modifying each configuration item in the original table based on the modification item includes: comparing the difference items between each configuration item in the original table and each modification item in the difference configuration; and modifying each configuration item in the original table based on the difference item.
Optionally, modifying each configuration item in the original table based on the difference comprises: under the condition that the configuration items of the original table have corresponding modification items, judging the content difference between the modification items and the corresponding configuration items; modifying the configuration item based on the content differences.
Optionally, modifying each configuration item in the original table based on the difference comprises: and adding the first specified item in the original table under the condition that the first specified item does not exist in the configuration items of the original table and the first specified item exists in the modification items.
Optionally, modifying each configuration item in the original table based on the difference comprises: and deleting the second specified item in the original table in the case that the second specified item does not exist in the modified item and the second specified item exists in the configuration item of the original table.
According to another aspect of the embodiments of the present invention, there is also provided a table modification apparatus, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an original form and a difference configuration, and the difference configuration is used for describing difference information of a standard form and the original form; the first scanning unit is used for scanning the original table to obtain each configuration item in the original table; the second scanning unit is used for scanning the difference configuration to obtain each modification item in the difference configuration; the modifying unit is used for modifying each configuration item in the original table based on the modifying item to obtain an updated table; and the rendering unit is used for generating an update table for the update item resetting component and rendering the update table to a page in the browser.
Optionally, the modifying unit includes: the comparison module is used for comparing the difference items between the configuration items in the original table and the modification items in the difference configuration; and the modification module is used for modifying each configuration item in the original table based on the difference item.
Optionally, the modifying module includes: the judging module is used for judging the content difference between the modification item and the corresponding configuration item under the condition that the configuration item of the original table has the corresponding modification item; a modification sub-module to modify the configuration item based on the content differences.
According to another aspect of the embodiments of the present invention, a non-volatile storage medium is further provided, where the non-volatile storage medium includes a stored program, and when the program runs, a device in which the non-volatile storage medium is located is controlled to execute the table modifying method.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes the table modification method described above.
In the embodiment of the invention, an original table and a difference configuration are obtained, wherein the difference configuration is used for describing difference information between a standard table and the original table; scanning the original table to obtain each configuration item in the original table; scanning the difference configuration to obtain each modification item in the difference configuration; modifying each configuration item in the original table based on the modification item to obtain an updated table; rendering and displaying the updated table in the browser; the purpose of quickly modifying the form is achieved, the technical effect of quickly modifying and maintaining the form is achieved, and the technical problems that the form modification process is complex and maintenance is troublesome are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a form modification method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a table processing method according to an embodiment of the invention;
FIG. 3 is a schematic illustration of a comparison, merging of baseColumns and diffColumns in accordance with an embodiment of the present invention;
FIG. 4 is a schematic illustration of a comparison of baseColumns and diffColumns, the effect of combining, according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an application scenario according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a form modification apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided a table modifying method embodiment, it is noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flow chart of a form modification method according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, acquiring an original form and a difference configuration, wherein the difference configuration is used for describing difference information between a standard form and the original form;
step S104, scanning the original table to obtain each configuration item in the original table;
step S106, scanning the difference configuration to obtain each modification item in the difference configuration;
s108, modifying each configuration item in the original table based on the modification item to obtain an update item;
step S110, generating an update table for the update item resetting component, and rendering the update table to a page in the browser.
In the embodiment of the invention, an original table and a difference configuration are obtained, wherein the difference configuration is used for describing difference information between a standard table and the original table; scanning the original table to obtain each configuration item in the original table; scanning the difference configuration to obtain each modification item in the difference configuration; modifying each configuration item in the original table based on the modification item to obtain an updated table; rendering and displaying the updated table in the browser; the purpose of quickly modifying the form is achieved, the technical effect of quickly modifying and maintaining the form is achieved, the original form can be converted into the form suitable for each scene, meanwhile, each logic of the original form is not affected, and the technical problems that the form modification process is complex and the maintenance is troublesome are solved.
In the embodiment of the invention, a developer can modify and maintain the original form by describing the difference part between the use requirement and the original form by using the difference configuration; and the original table is adjusted through the difference configuration, and the modified original table can be applied to various scenes by modifying the original table component, so that the multiplexing of the original table is realized.
Alternatively, the configuration items may be rows or columns in the original table, wherein each configuration item is configured with a corresponding table component.
Optionally, each configuration item in the original table is configured with a unique identifier, and the correspondence between the modification item and the configuration item may be determined according to the unique identifier.
Optionally, modifying each configuration item in the original table based on the modification item includes: and modifying the configuration information of each configuration item in the original table.
As an alternative embodiment, modifying each configuration item in the original table based on the modification item includes: comparing the difference items between each configuration item in the original table and each modification item in the difference configuration; and modifying each configuration item in the original table based on the difference item.
Optionally, the comparing the difference items between the configuration items in the original table and the modification items in the difference configuration includes: determining the corresponding relation between the modification item and the configuration item; comparing the difference between the configuration item and the corresponding modification item; and determining a difference item based on the corresponding relation between the modification item and the configuration item and the difference between the configuration item and the corresponding modification item.
Optionally, the difference item refers to a configuration item that needs to be modified or deleted in the original table, and a modification item that needs to be added to the original table from the difference configuration.
Alternatively, in the case where a configuration item is the same as a corresponding modification item, direct use of the configuration item may be instructed by specifying a unique identifier of the configuration item.
In the above embodiment of the present invention, in the process of modifying each configuration item in the original table, the corresponding relationship between the configuration item in the original table and the configuration item in the difference configuration may be determined first, which configuration items do not have corresponding modification items and which modification items do not have corresponding configuration items may be determined, and comparing the content difference between the configuration items and the modification items with corresponding relations to determine the difference items between the original table and the difference configuration, and modifying the original table based on the difference items to achieve the purpose of quickly identifying the difference items between the original table and the difference configuration, therefore, the original table can be modified and maintained in a targeted manner according to the difference items without adjusting the whole content of the original table, the original form can be converted into a form suitable for each scene, and simultaneously, each logic of the original form is not influenced; the technical problems of complex form modification process and troublesome maintenance are solved.
As an alternative embodiment, modifying the configuration items in the original table based on the difference includes: under the condition that the configuration items of the original table have corresponding modification items, judging the content difference between the modification items and the corresponding configuration items; the configuration items are modified based on the content differences.
Optionally, modifying the configuration item based on the content difference of the modification item and the corresponding configuration item comprises: replacing the corresponding configuration item with the modification item based on the content difference; or modifying part of the content in the configuration item based on the content difference, such as modifying only the header in the configuration item.
Optionally, a correspondence between the configuration items in the original table and the configuration items in the difference configuration is determined, where the correspondence is as follows: the configuration items do not have corresponding modification items; the modification items do not have corresponding configuration items, and different modification modes can be selected for modifying the original table for the situation.
As an alternative embodiment, modifying the configuration items in the original table based on the difference includes: in the case where the first specified item does not exist in the configuration items of the original table and the first specified item exists in the modification items, the first specified item is added in the original table.
As an alternative embodiment, modifying the configuration items in the original table based on the difference includes: in the case where the second specified item is not present in the modified item, the second specified item is deleted in the original table.
The present invention also provides a preferred embodiment that provides a solution that supports flexible reuse of UI form components.
The purpose of this scheme is including:
1) and the display and interaction of the form can be finely adjusted under different scenes.
Optionally, different scenes may have different presentation and interaction requirements, and in order to meet these requirements, the table needs to be fine-tuned, for example: modify a specified column, delete a column, add a column, etc. The modification specified column comprises configuration information of columns such as character color, font size, background color and the like of the modification column.
2) Avoiding adding too much compatibility logic when reusing table components.
It should be noted that most of the Web projects of today are large in scale and complex in business. Under the general condition, when the multiplexing scenes are few, the requirement can be met by adding proper compatible logic in the component, and when the multiplexing scenes are too much, the compatible logic is correspondingly increased, so that the maintainability of the component is reduced; therefore, the scheme is required to respectively adjust the original table according to different application scenes of the table, so that the original table is not required to be compatible with too much logic at the same time.
3) Reducing the risk of modifying existing components.
It should be noted that most existing table components tend to be stable, and blind modification may affect existing services and introduce unnecessary risks; therefore, the scheme is required to modify the original table in a small range in a targeted manner, so that the modification risk is reduced.
4) The code multiplexing degree is improved, and redundant logic is reduced.
Generally, the same logic theoretically only needs to be programmed once, and is suitable for multiple places, so that the aim of reducing redundant logic is fulfilled.
The technical scheme provided by the invention can convert the original form into the form suitable for each scene, and simultaneously does not influence each logic of the original form.
Fig. 2 is a schematic diagram of a table conversion method according to an embodiment of the present invention, as shown in fig. 2, the method has two inputs (original table, difference configuration) and one output (table adapted to the scene). The difference configuration is used to describe difference information between the table and the original table in the multiplexing scenario, and all column configurations that need to be used are included. If a certain column in the difference configuration is unchanged from the corresponding column of the original table, the column configuration only needs to specify a unique identifier, usually a dataIndex, of the corresponding column in the original table; if there is a change between a column in the difference configuration and the corresponding column in the original table, the configuration information to be covered by the column needs to be specified (i.e. the corresponding configuration item is modified based on the modification item in the difference configuration).
As an alternative example, the table processing flow is as follows:
1. receiving an original form and a differential configuration;
2. scanning each column of the original table to configure baseColumns, wherein each column of configuration items is called the baseColumns;
3. configuring diffColumns in scanning different configurations, wherein each row of configuration items is called diffColumn;
4. comparing and combining the baseColumns and diffColumns in the flows 2 and 3, and the strategy is shown in fig. 3.
FIG. 3 is a schematic diagram of comparing and combining baseColumns and diffColumns according to an embodiment of the present invention, as shown in FIG. 3, if there is no matched baseColumn in a certain diffColumn in the baseColumns, the diffColumn is a new row, and the diffColumn is the standard; if a matched baseColumn exists in the baseColumns in a certain diffColumn, covering the difference item set in the diffColumn to the baseColumn, and keeping the configuration of the baseColumn by other items which are not set; if a certain baseColumn does not have a matching diffColumn in diffColumns, the baseColumn is a deleted column.
5. And setting the final column configuration items combined in the flow 4 to a brand new list component, generating a final table, and rendering the final table to a page by a browser.
Fig. 4 is a schematic diagram of comparing and combining the baseColumns and the diffColumns according to the embodiment of the present invention, as shown in fig. 4, the "Age" column in the table at the time of preview is deleted, and the "Address" column is added.
As an optional application scenario, a large Web project is usually completed by multiple developers in a collaborative manner, and when a developer B needs to reuse a form component written by a developer a and has some differences in presentation or interaction, conventionally, the developer a needs to be found to modify a component pair to support the differences. By adopting the scheme, the developer B only needs to define a difference configuration for describing columns which need to be newly added, deleted and modified, and inputs the difference configuration and the original form into the conversion method, and a new form which meets the requirements of the developer B and can be directly displayed is generated after internal processing of the conversion method.
Fig. 5 is a schematic diagram of an application scenario according to an embodiment of the present invention, and as shown in fig. 5, a "Name" column in an original table may be modified into an "Address" column by modifying the column; or replacing the 'Email' column in the original table by using the 'Address' column in a column replacement mode; or adding an "Address" column in the original table in a column adding manner; or delete the "Email" column in the original table by deleting the column.
The technical scheme provided by the invention can effectively avoid the condition that the internal logic of the component needs to be modified when the business table component is reused; developers only need to concentrate on the business logic of the form component and do not need to consider all compatible scenes; the part which needs to cover the original table is described through the difference configuration, so that the method is concise and clear; the part which does not need to cover the original table is still consistent with the original table, thereby improving the multiplexing degree, saving manpower and material resources and reducing the later development and maintenance cost; for some special scenes, the method can also supplement, delete and change the sequence of the columns of the original table, and has better flexibility.
According to another aspect of the embodiments of the present invention, a non-volatile storage medium is further provided, where the non-volatile storage medium includes a stored program, and when the program runs, a device in which the non-volatile storage medium is located is controlled to execute the table modifying method.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes the table modification method described above.
According to an embodiment of the present invention, there is also provided an embodiment of a table modifying apparatus, and it should be noted that the table modifying apparatus may be configured to execute the table modifying method in the embodiment of the present invention, and the table modifying method in the embodiment of the present invention may be executed in the table modifying apparatus.
Fig. 6 is a schematic diagram of a table modifying apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus may include: an obtaining unit 60 configured to obtain an original table and a difference configuration, where the difference configuration is used to describe difference information between the standard table and the original table; the first scanning unit 62 is configured to scan the original table to obtain each configuration item in the original table; a second scanning unit 64, configured to scan the difference configuration to obtain each modification item in the difference configuration; the modifying unit 66 is configured to modify each configuration item in the original table based on the modification item, so as to obtain an update item; and a rendering unit 68, configured to generate an update table for the update item resetting component, and render the update table onto the page in the browser.
It should be noted that the obtaining unit 60 in this embodiment may be configured to execute step S102 in this embodiment, the first scanning unit 62 in this embodiment may be configured to execute step S104 in this embodiment, the second scanning unit 64 in this embodiment may be configured to execute step S106 in this embodiment, the modifying unit 66 in this embodiment may be configured to execute step S108 in this embodiment, and the rendering unit 68 in this embodiment may be configured to execute step S110 in this embodiment. The modules are the same as the corresponding steps in the realized examples and application scenarios, but are not limited to the disclosure of the above embodiments.
In the embodiment of the invention, an original table and a difference configuration are obtained, wherein the difference configuration is used for describing difference information between a standard table and the original table; scanning the original table to obtain each configuration item in the original table; scanning the difference configuration to obtain each modification item in the difference configuration; modifying each configuration item in the original table based on the modification item to obtain an updated table; rendering and displaying the updated table in the browser; the purpose of quickly modifying the form is achieved, the technical effect of quickly modifying and maintaining the form is achieved, the original form can be converted into the form suitable for each scene, meanwhile, each logic of the original form is not affected, and the technical problems that the form modification process is complex and the maintenance is troublesome are solved.
As an alternative embodiment, the modification unit comprises: the comparison module is used for comparing the difference items between the configuration items in the original table and the modification items in the difference configuration; and the modification module is used for modifying each configuration item in the original table based on the difference item.
As an alternative embodiment, the modification module comprises: the judging module is used for judging the content difference between the modification item and the corresponding configuration item under the condition that the corresponding modification item exists in the configuration items of the original table; and the modification submodule is used for modifying the configuration items based on the content difference.
As an alternative embodiment, the modification module comprises: and the adding sub-module is used for adding the first specified item into the original table under the condition that the first specified item does not exist in the configuration items of the original table and the first specified item exists in the modification items.
As an alternative embodiment, the modification module comprises: and the deleting submodule is used for deleting the second specified item in the original table under the condition that the second specified item does not exist in the modified item.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A form modification method, comprising:
acquiring an original form and a difference configuration, wherein the difference configuration is used for describing difference information of a standard form and the original form;
scanning the original table to obtain each configuration item in the original table;
scanning the difference configuration to obtain each modification item in the difference configuration;
modifying each configuration item in the original table based on the modification item to obtain an update item;
an update table is generated for the update item reset component and rendered onto a page in a browser.
2. The method of claim 1, wherein modifying each configuration item in the original table based on the modification item comprises:
comparing the difference items between each configuration item in the original table and each modification item in the difference configuration;
and modifying each configuration item in the original table based on the difference item.
3. The method of claim 2, wherein modifying the configuration items in the original table based on the differences comprises:
under the condition that the configuration items of the original table have corresponding modification items, judging the content difference between the modification items and the corresponding configuration items;
modifying the configuration item based on the content differences.
4. The method of claim 2, wherein modifying the configuration items in the original table based on the differences comprises:
and adding the first specified item in the original table under the condition that the first specified item does not exist in the configuration items of the original table and the first specified item exists in the modification items.
5. The method of claim 2, wherein modifying the configuration items in the original table based on the differences comprises:
and deleting the second specified item in the original table in the case that the second specified item does not exist in the modified item and the second specified item exists in the configuration item of the original table.
6. A form modification apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an original form and a difference configuration, and the difference configuration is used for describing difference information of a standard form and the original form;
the first scanning unit is used for scanning the original table to obtain each configuration item in the original table;
the second scanning unit is used for scanning the difference configuration to obtain each modification item in the difference configuration;
the modifying unit is used for modifying each configuration item in the original table based on the modifying item to obtain an updating item;
and the rendering unit is used for generating an update table for the update item resetting component and rendering the update table to a page in the browser.
7. The apparatus of claim 6, wherein the modifying unit comprises:
the comparison module is used for comparing the difference items between the configuration items in the original table and the modification items in the difference configuration;
and the modification module is used for modifying each configuration item in the original table based on the difference item.
8. The apparatus of claim 7, wherein the modification module comprises:
the judging module is used for judging the content difference between the modification item and the corresponding configuration item under the condition that the configuration item of the original table has the corresponding modification item;
a modification sub-module to modify the configuration item based on the content differences.
9. A non-volatile storage medium, comprising a stored program, wherein the program, when executed, controls a device in which the non-volatile storage medium is located to perform the table modification method of any one of claims 1 to 5.
10. A processor, configured to run a program, wherein the program is configured to execute the table modification method according to any one of claims 1 to 5 when the program is run.
CN202110433695.2A 2021-04-20 2021-04-20 Table modification method and device, nonvolatile storage medium and processor Pending CN113095055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110433695.2A CN113095055A (en) 2021-04-20 2021-04-20 Table modification method and device, nonvolatile storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110433695.2A CN113095055A (en) 2021-04-20 2021-04-20 Table modification method and device, nonvolatile storage medium and processor

Publications (1)

Publication Number Publication Date
CN113095055A true CN113095055A (en) 2021-07-09

Family

ID=76679162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110433695.2A Pending CN113095055A (en) 2021-04-20 2021-04-20 Table modification method and device, nonvolatile storage medium and processor

Country Status (1)

Country Link
CN (1) CN113095055A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315017A (en) * 1998-08-19 2001-09-26 埃默里有限公司 Difference extraction between two versions of data-tables containing intra-reference
US20070050699A1 (en) * 2005-08-30 2007-03-01 Microsoft Corporation Customizable spreadsheet table styles
CN101196899A (en) * 2006-09-25 2008-06-11 软件股份公司 Method and system for processing the input in an XML form
CN109542501A (en) * 2018-10-25 2019-03-29 平安科技(深圳)有限公司 Browser table compatibility method, device, computer equipment and storage medium
US20190147016A1 (en) * 2017-11-13 2019-05-16 Workshare Ltd. Method of Comparing Two Data Tables and Displaying the Results Without Source Formatting
CN110442583A (en) * 2019-08-13 2019-11-12 网易(杭州)网络有限公司 The method and device of data processing, electronic equipment, storage medium
CN110889270A (en) * 2018-08-16 2020-03-17 阿里巴巴集团控股有限公司 Form page document generation method and form page rendering method and device
CN111124411A (en) * 2019-12-31 2020-05-08 航天信息股份有限公司 Method and system for personalized setting of form based on dynamic page
CN112104634A (en) * 2020-09-08 2020-12-18 中国电力科学研究院有限公司 Data message processing method, system, equipment and readable storage medium
CN112148287A (en) * 2020-08-21 2020-12-29 烽火通信科技股份有限公司 Dynamic table display method and device and electronic equipment
CN112241624A (en) * 2020-10-26 2021-01-19 深圳市皓丽智能科技有限公司 Table control method, device and computer storage medium
CN112580315A (en) * 2020-12-14 2021-03-30 深圳市金证前海金融科技有限公司 Webpage table display method and device, terminal equipment and medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315017A (en) * 1998-08-19 2001-09-26 埃默里有限公司 Difference extraction between two versions of data-tables containing intra-reference
US20070050699A1 (en) * 2005-08-30 2007-03-01 Microsoft Corporation Customizable spreadsheet table styles
CN101196899A (en) * 2006-09-25 2008-06-11 软件股份公司 Method and system for processing the input in an XML form
US20190147016A1 (en) * 2017-11-13 2019-05-16 Workshare Ltd. Method of Comparing Two Data Tables and Displaying the Results Without Source Formatting
CN110889270A (en) * 2018-08-16 2020-03-17 阿里巴巴集团控股有限公司 Form page document generation method and form page rendering method and device
CN109542501A (en) * 2018-10-25 2019-03-29 平安科技(深圳)有限公司 Browser table compatibility method, device, computer equipment and storage medium
CN110442583A (en) * 2019-08-13 2019-11-12 网易(杭州)网络有限公司 The method and device of data processing, electronic equipment, storage medium
CN111124411A (en) * 2019-12-31 2020-05-08 航天信息股份有限公司 Method and system for personalized setting of form based on dynamic page
CN112148287A (en) * 2020-08-21 2020-12-29 烽火通信科技股份有限公司 Dynamic table display method and device and electronic equipment
CN112104634A (en) * 2020-09-08 2020-12-18 中国电力科学研究院有限公司 Data message processing method, system, equipment and readable storage medium
CN112241624A (en) * 2020-10-26 2021-01-19 深圳市皓丽智能科技有限公司 Table control method, device and computer storage medium
CN112580315A (en) * 2020-12-14 2021-03-30 深圳市金证前海金融科技有限公司 Webpage table display method and device, terminal equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张海波;董槐林;: "一种基于POI的Web表格生成", 计算机技术与发展, no. 02, pages 27 - 29 *
殷爱贞 , 徐梅 , 刘广孚 , 何洁: "编程实现Word表格的填充及扩展", 微型机与应用, no. 09, pages 51 - 53 *

Similar Documents

Publication Publication Date Title
US10726195B2 (en) Filtered stylesheets
US20170068996A1 (en) Method for Configuring Advertisement Template, Server, and System
CN107809492A (en) The generation method and system of sharing information
US20130117656A1 (en) Conversion of web template designs
CN106919410A (en) The extended method and device of the layout templates of component
CN110020356A (en) A kind of code generating method of page module, apparatus and system
CN101980183A (en) Method for analyzing Word file information and system thereof
CN103631865A (en) Webpage generating method and device
CN112367549B (en) Video playing implementation method of television browser and browser application operation method
US20160041695A1 (en) Dynamically configurable portlet
CN114416056A (en) Page generation method, system, computer equipment and readable storage medium
CN104063545A (en) Method and system for dynamically displaying process tracing diagram
CN113434173A (en) Data processing method, data processing device, storage medium and electronic equipment
CN113095055A (en) Table modification method and device, nonvolatile storage medium and processor
CN109086047B (en) EPG page visual design method and device based on EUL
CN116954450A (en) Screenshot method and device for front-end webpage, storage medium and terminal
CN113282863B (en) Service page generation method and device
CN113986087B (en) Video rendering method based on subscription
CN111913776B (en) Content display method, device and equipment
CN113190509A (en) Animation processing method and device, electronic equipment and computer readable storage medium
CN111914226A (en) Background picture generation method and device
CN113051477A (en) Content recommendation method and device, electronic equipment and medium
CN112988810A (en) Information searching method, device and equipment
CN109145263B (en) Document processing method and device and computer readable storage medium
US20180246891A1 (en) Multi-step validation of content items based on dynamic publisher requirements

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination