CN111476007B - Table generation method, table generation device, computer device and computer-readable storage medium - Google Patents

Table generation method, table generation device, computer device and computer-readable storage medium Download PDF

Info

Publication number
CN111476007B
CN111476007B CN202010243597.8A CN202010243597A CN111476007B CN 111476007 B CN111476007 B CN 111476007B CN 202010243597 A CN202010243597 A CN 202010243597A CN 111476007 B CN111476007 B CN 111476007B
Authority
CN
China
Prior art keywords
model
data
operation instruction
control
computer
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.)
Active
Application number
CN202010243597.8A
Other languages
Chinese (zh)
Other versions
CN111476007A (en
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.)
China Merchants Finance Technology Co Ltd
Original Assignee
China Merchants Finance Technology 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 China Merchants Finance Technology Co Ltd filed Critical China Merchants Finance Technology Co Ltd
Priority to CN202010243597.8A priority Critical patent/CN111476007B/en
Publication of CN111476007A publication Critical patent/CN111476007A/en
Application granted granted Critical
Publication of CN111476007B publication Critical patent/CN111476007B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a table generating method, a table generating device, a computer device and a computer readable storage medium, wherein the method comprises the following steps: defining a control model, a data model and a UI model in a preset form creation component, wherein the control model, the data model and the UI model are mutually decoupled; acquiring an operation instruction aiming at the table creation component and table parameters related to the operation instruction; calling data matched with the table parameters in the data model and the UI model by using the control model based on the operation instruction so as to execute the creation of a target table; and outputting the created target table. The invention can conveniently and flexibly complete the creation of the form and has high maintainability and expandability.

Description

Table generation method, table generation device, computer device and computer-readable storage medium
Technical Field
The invention relates to the technical field of vehicle networking, in particular to a table generation method and device, a computer device and a computer readable storage medium.
Background
The form is an indispensable part in daily work, and a user can record various things through the form. In order to meet the requirements of users, many existing application software support table creation, how to realize rapid table generation and large-limit code reuse, and how to keep the flexibility and expansibility of table components as much as possible are problems which are urgently needed to be solved at present.
Disclosure of Invention
In view of the above, the present invention provides a table generation method, a table generation device, a computer device, and a computer-readable storage medium, which can conveniently and flexibly complete the creation of a table.
First, in order to achieve the above object, the present invention provides a table generating method, including:
defining a control model, a data model and a UI model in a preset form creation component, wherein the control model, the data model and the UI model are mutually decoupled;
acquiring an operation instruction aiming at the table creation component and table parameters related to the operation instruction;
calling data matched with the table parameters in the data model and the UI model by using the control model based on the operation instruction so as to execute the creation of a target table; and
and outputting the created target table.
Preferably, the method further comprises:
assigning or updating data in the data model based on the operation instruction by using the control model; or
And informing the UI model to refresh pages by utilizing the control model based on the operation instruction.
Preferably, the data model and the UI model both include a base class and a derivative class.
Preferably, the table parameters include one or more of: table row number, table column number, table appearance and display style of table data.
Preferably, the step of outputting the created target table further comprises:
and calling the data model and the UI model to respond to the interactive operation on the target form by utilizing the control model based on the received interactive instruction.
Further, to achieve the above object, the present invention also provides a table generating apparatus, including:
the system comprises a definition module, a data model and a UI model, wherein the definition module is used for defining a control model, a data model and a UI model in a preset form creation component, and the control model, the data model and the UI model are mutually decoupled;
the acquisition module is used for acquiring an operation instruction aiming at the table creation component and table parameters related to the operation instruction;
the calling module is used for calling the data model and the data matched with the table parameters in the UI model based on the operation instruction by utilizing the control model so as to establish a target table; and
and the output module is used for outputting the created target table.
Preferably, the data model and the UI model both include a base class and a derivative class.
Preferably, the calling module is further configured to call the data model and the UI model to respond to the interactive operation on the target form based on the received interactive instruction by using the control model.
Further, in order to achieve the above object, the present invention further provides a computer device, which includes a processor and a memory, wherein the memory stores a plurality of computer programs, and the processor is configured to implement the steps of the table generating method when executing the computer programs stored in the memory.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is configured to implement the steps of the above table generating method when executed by a processor.
Compared with the prior art, the form generation method, the form generation device, the computer device and the computer readable storage medium provided by the invention realize form creation by adopting the control model, the data model and the UI model which are mutually decoupled, realize quick form generation and maximum reuse of form codes, keep the flexibility and the expansibility of form components, have high cohesiveness of form development codes, realize unified form code management and have high maintainability and expandability.
Drawings
FIG. 1 is a flow chart illustrating the steps of one embodiment of a table generation method of the present invention;
FIG. 2 is a block diagram of an embodiment of a table generating apparatus according to the present invention;
FIG. 3 is a diagram of an alternative hardware architecture of the computing device of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. 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.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Preferably, the table generation method of the present invention is applied in one or more computer apparatuses. The computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device may be a desktop computer, a notebook computer, a tablet computer, a server, or other computing equipment. The computer device can be in man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The first embodiment is as follows:
FIG. 1 is a flowchart illustrating steps of a preferred embodiment of a table generation method according to the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different requirements.
Referring to fig. 1, the table generating method specifically includes the following steps.
And S11, defining a control model, a data model and a UI model in a preset form creating component.
In an embodiment, the form creating component may be an existing form component for implementing form creation, and may be embedded into an actual application program, so that the application program may call or combine various functions provided by the form control to meet the actual form creating requirement, where the application program may be an application program supporting form creation, and may be an application program installed at a mobile phone end or a computer end. A control model, a data model and a User Interface (UI) model which are independent from each other are defined in a table creation component, namely the control model, the data model and the UI model are decoupled from each other. The control model is used for executing control instructions in the table creation process, such as controlling the data model and the UI model. The data of the form is derived from the data model, and the view style of the form is derived from the UI model. The data model is used for storing various data, such as data required to be filled in a form and form UI data. The UI model may be used to output different UI styles according to different UI data.
In an embodiment, the control model may further be used to perform operations such as assigning values to data in the data model, updating the data, and notifying the UI model to perform page refresh.
In one embodiment, the Object-C language has the characteristics of polymorphism, inheritance and the like. The control model, the data model, and the UI model may be developed based on Object-C language. The data model and the UI model both have a base class and a derivative class, and subsequent extension development is facilitated. The data model and the UI model may be pre-stored with base classes and derived classes meeting the requirements of the basic form creation service, and the base classes and derived classes initially included therein may provide basic form styles and functions. Other developers can inherit the base classes of the data model and the UI model according to specific requirements, and can create more derived classes on the original basis to meet the requirement of creating personalized forms, so that the function of adding special forms is realized.
It can be understood that, because the form creating component is defined as three independent models, the extension and maintenance of each model can be facilitated, the development time of the form is shortened, the cohesion of the form development codes is improved, the coupling degree among the services is reduced, the unified form code management can be realized, and the maintainability and the expandability are high.
And S12, acquiring an operation instruction aiming at the table creation component and table parameters related to the operation instruction.
In an embodiment, when a user needs to create a table, the table creation component may be operated to create the table required by the user, and by obtaining an operation instruction, namely a table parameter, involved in the operation of the table creation component by the user, the table creation may be performed in a subsequent table creation step based on the operation instruction, namely the table parameter. The table parameters may include parameters such as the number of rows and columns of the table, the appearance of the table, and the presentation style of the table data.
For example, the operation instruction is various operation instructions related to creating a table, and when a user defines attributes of a target table through a definition key on the table creating component, the operation instruction related to attribute definition and a plurality of table parameters of the table to be created are involved, and the attributes may include table length, width, row number, column number, UI style, and the like. The operation instruction may be specifically an operation of editing a table, and the operation instruction may be to select one row, one column, or multiple columns in the target table, a region in the target table, or the like for editing, select the entire target table for editing, or select one cell in the target table for editing, for example, input text into the cell, modify attributes of the cell, or the like (font, color, and the like of the cell).
And S13, calling data matched with the table parameters in the data model and the UI model by using the control model based on the operation instruction so as to create a target table.
In one embodiment, the control model may respond to and execute the operation instruction, which is an instruction involved by a user in creating a target table. When the control model executes the operation instruction, a call may be made to the data model and/or the UI model according to the operation instruction. For example, when an operation instruction is a style of a set form, the control model may call the UI model according to the operation instruction to set a style of a target form, and when a form style setting process is performed and UI data stored in a data model is needed, the control model may also call the data model to extract the UI data and convert the UI data into view data required by the UI model, and the UI model may cause a form to be created to output a currently set style according to the view data. When an operation instruction is used for filling form data, the control model may call the data model according to the operation instruction to extract data and perform corresponding processing on the extracted data (for example, perform addition, subtraction, multiplication, division or no processing on the data) to fill the data into the target form, and the UI model may be notified to perform interface refreshing while filling, so as to display the data filled into the target form.
And step S14, outputting the created target table.
In one embodiment, when all the operation commands are responded, that is, the creation of the target form is completed, the created target form may be output and displayed.
In one embodiment, after the target table is created, there is a high possibility that there will be interaction with the user, and the control model may schedule the data model and the UI model in response to the interaction instruction of the user. The interactive instruction may refer to a user performing a re-editing operation on the target table, including but not limited to a UI style modification, a table row and column number modification, a table content modification, and other interactive operations. The control model may invoke the data model and the UI model to perform editing operations on a target form in response to the interaction instruction.
The form generation method adopts the control model, the data model and the UI model which are decoupled mutually to realize the form creation, realizes the quick form generation, simultaneously can reuse form codes to the maximum extent, can also keep the flexibility and the expansibility of a form component, has high cohesiveness of form development codes, can realize the unified form code management, and has high maintainability and expandability.
The second embodiment:
FIG. 2 is a functional block diagram of a preferred embodiment of the table generating apparatus of the present invention.
Referring to fig. 2, the table generating apparatus 10 may include a defining module 101, an obtaining module 102, a calling module 103, and an outputting module 104.
The definition module 101 is configured to define a control model, a data model, and a UI model in a preset form creation component.
In an embodiment, the form creating component may be an existing form component for implementing form creation, and may be embedded in an actual application program, so that the application program may call or combine functions provided by the form control to meet a requirement of actual form creation, where the application program may be an application program supporting form creation, and may be an application program installed at a mobile phone end or a computer end. The defining module 101 defines a control model, a data model, and a UI (User Interface) model in a table creating component, which are independent of each other, that is, the control model, the data model, and the UI model are decoupled from each other. The control model is used for executing control instructions in the table creation process, such as controlling the data model and the UI model. The data of the form is derived from the data model, and the view style of the form is derived from the UI model. The data model is used for storing various data, such as data required to be filled in a form and form UI data. The UI model may be used to output different UI styles according to different UI data.
In an embodiment, the control model may further be used to perform operations such as assigning values to data in the data model, updating the data, and notifying the UI model to perform page refresh.
In one embodiment, the Object-C language has the characteristics of polymorphism, inheritance and the like. The control model, the data model, and the UI model may be developed based on Object-C language. The data model and the UI model both have a base class and a derivative class, and subsequent extension development is facilitated. The data model and the UI model can be stored with base classes and derived classes meeting the business requirements of creating the basic form in advance, and the base classes and the derived classes initially contained in the data model and the UI model can provide basic form styles and functions. Other developers can inherit the base classes of the data model and the UI model according to specific requirements, and can create more derived classes on the original basis to meet the requirement of creating personalized forms, so that the function of adding special forms is realized.
It can be understood that, because the form creation component is defined as three independent models, the extension and maintenance of each model can be facilitated, the development time of the form is shortened, the cohesiveness of the form development codes is improved, the coupling degree among the services is reduced, the unified form code management can be realized, and the maintainability and the expandability are high.
The obtaining module 102 is configured to obtain an operation instruction for the table creation component and a table parameter related to the operation instruction.
In an embodiment, when a user needs to create a table, the table creation component may be operated to create the table required by the user, and an operation instruction, i.e., a table parameter, involved in the operation of the table creation component by the user may be acquired by the acquisition module 102, so that a table is created in a subsequent table creation step based on the operation instruction, i.e., the table parameter. The table parameters may include parameters such as the number of rows and columns of the table, the appearance of the table, and the presentation style of the table data.
For example, the operation instruction is various operation instructions related to creating a table, and when a user defines attributes of a target table through a definition key on the table creating component, the operation instruction related to attribute definition and a plurality of table parameters of the table to be created are involved, and the attributes may include table length, width, row number, column number, UI style, and the like. The operation instruction may be specifically an operation of editing a table, and the operation instruction may be to select one row, one column, or multiple columns in the target table, a region in the target table, or the like for editing, select the entire target table for editing, or select one cell in the target table for editing, for example, input text into the cell, modify attributes of the cell, or the like (font, color, and the like of the cell).
The calling module 103 is configured to call, by using the control model, the data model and the data in the UI model matching the table parameters based on the operation instruction, so as to perform creation of a target table.
In one embodiment, the control model may respond to and execute the operation instruction, which is an instruction involved by a user in creating a target table. When the operation instruction needs to be executed by using the control model, the calling module 103 may control the control model to call the data model and/or the UI model according to the operation instruction. For example, when an operation instruction is a style of a set form, the control model may call the UI model according to the operation instruction to set a style of a target form, and when UI data stored in the data model is needed during a form style setting process, the control model may also call the data model to extract the UI data and convert the UI data into view data required by the UI model, and the UI model may cause a form to be created to output a currently set style according to the view data. When an operation instruction is to fill table data, the control model may call the data model according to the operation instruction to extract data and perform corresponding processing on the extracted data (for example, perform addition, subtraction, multiplication, division or no processing on the data) to fill the data into a target table, and the UI model may be notified to perform interface refreshing while filling, so as to display the data filled into the target table.
The output module 104 is used for outputting the created target table.
In one embodiment, when all the operation commands are responded, that is, the creation of the target form is completed, the output module 104 may output and display the created target form.
In one embodiment, after the target table is created, there is a high possibility that there will be interaction with the user, and the invoking module 103 also uses the control model to schedule the data model and the UI model to respond to the interaction instruction of the user. The interactive instruction may refer to a user performing a re-editing operation on the target table, including but not limited to a UI style modification, a table row and column number modification, a table content modification, and other interactive operations. The control model may invoke the data model and the UI model to perform editing operations on a target form in response to the interaction instruction.
The form generation device adopts the control model, the data model and the UI model which are mutually decoupled to realize form creation, realizes quick form generation, simultaneously can reuse form codes to the maximum extent, can also keep the flexibility and the expansibility of a form component, has high cohesiveness of form development codes, can realize unified form code management, and has high maintainability and expandability.
FIG. 3 is a diagram of a computer device according to a preferred embodiment of the present invention.
The computer device 1 comprises a memory 20, a processor 30 and a computer program 40, such as a table generating program, stored in the memory 20 and executable on the processor 30. The processor 30 implements the steps in the above-described table generation method embodiment, such as steps S11 to S14 shown in fig. 1, when executing the computer program 40. Alternatively, the processor 30, when executing the computer program 40, implements the functions of the modules in the above-described table generating apparatus embodiment, for example, the modules 101 to 104 in fig. 2.
Illustratively, the computer program 40 may be partitioned into one or more modules/units that are stored in the memory 20 and executed by the processor 30 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are exemplary, the computer program 40 may be divided into one or more modules/units that are stored in the memory 20 and executed by the processor 30 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, the instruction segments describing the execution process of the computer program 40 in the computer apparatus 1. For example, the computer program 40 may be divided into a definition module 101, an acquisition module 102, a calling module 103, and an output module 104 in fig. 2. See embodiment two for specific functions of each module.
The computer device 1 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. It will be appreciated by a person skilled in the art that the schematic diagram is merely an example of the computer device 1 and does not constitute a limitation of the computer device 1, and that it may comprise more or less components than those shown, or some components may be combined, or different components, for example
The computer apparatus 1 may also comprise input output devices, network access devices, buses, etc., as described.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor 30 may be any conventional processor or the like, the processor 30 being the control center of the computer device 1, various interfaces and lines connecting the various parts of the overall computer device 1. The memory 20 may be used for storing the computer program 40 and/or the module/unit, and the processor 30 implements various functions of the computer device 1 by running or executing the computer program and/or the module/unit stored in the memory 20 and calling data stored in the memory 20. The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data) created according to the use of the computer apparatus 1, and the like. In addition, the memory 20 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other non-volatile solid state storage device.
The modules/units integrated in the computer device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and which, when executed by a processor, may implement the steps of the above-described embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
In the embodiments provided by the present invention, it should be understood that the disclosed computer apparatus and method may be implemented in other manners. For example, the above-described embodiments of the computer apparatus are merely illustrative, and for example, the division of the units is only one logical function division, and there may be other divisions when the actual implementation is performed.
In addition, functional units in the embodiments of the present invention may be integrated into the same processing unit, or each unit may exist alone physically, or two or more units are integrated into the same unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it will be obvious that the term "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or computer means recited in computer means claims may also be implemented by one and the same unit or computer means in software or hardware. The terms first, second, etc. are used to denote names, but not to denote any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A table generation method, the method comprising:
defining a control model, a data model and a UI model in a preset form creation component, wherein the control model, the data model and the UI model are mutually decoupled, the control model is used for executing a control instruction in a form creation process, the data model is used for storing various data, data of a form is derived from the data model, the UI model is used for outputting different UI styles according to different UI data, and a view style of the form is derived from the UI model;
acquiring an operation instruction aiming at the table creation component and table parameters related to the operation instruction;
calling data matched with the table parameters in the data model and the UI model by using the control model based on the operation instruction so as to execute the creation of a target table; and
and outputting the created target table.
2. The method of claim 1, wherein the method further comprises:
assigning or updating data in the data model based on the operation instruction by using the control model; or
And informing the UI model to refresh pages by utilizing the control model based on the operation instruction.
3. The method of claim 1, wherein the data model and the UI model each include a base class and a derived class.
4. The method of claim 1, wherein the table parameters include one or more of: table row number, table column number, table appearance and display style of table data.
5. The method of claim 1, wherein the step of outputting the created target table further comprises:
and calling the data model and the UI model to respond to the interactive operation on the target form by utilizing the control model based on the received interactive instruction.
6. A form generation apparatus, the apparatus comprising:
the system comprises a definition module, a control module, a data model and a UI model, wherein the control model, the data model and the UI model are mutually decoupled in a preset form creation component, the control model is used for executing a control instruction in the form creation process, the data model is used for storing various data, the data of the form is derived from the data model, the UI model is used for outputting different UI styles according to different UI data, and the view style of the form is derived from the UI model;
the acquisition module is used for acquiring an operation instruction aiming at the table creation component and table parameters related to the operation instruction;
the calling module is used for calling the data model and the data matched with the table parameters in the UI model based on the operation instruction by utilizing the control model so as to establish a target table; and
and the output module is used for outputting the created target table.
7. The apparatus of claim 6, in which the data model and the UI model each comprise a base class and a derivative class.
8. The apparatus of claim 7, wherein the invoking module is further to invoke, with the control model, interactive operations of the data model and the UI model response on the target form based on the received interactive instructions.
9. A computer arrangement comprising a processor and a memory, said memory having stored thereon a number of computer programs, characterized in that said processor is adapted to carry out the steps of the table generation method according to any of claims 1-5 when executing the computer programs stored in said memory.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the table generation method according to any one of claims 1 to 5.
CN202010243597.8A 2020-03-31 2020-03-31 Table generation method, table generation device, computer device and computer-readable storage medium Active CN111476007B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010243597.8A CN111476007B (en) 2020-03-31 2020-03-31 Table generation method, table generation device, computer device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010243597.8A CN111476007B (en) 2020-03-31 2020-03-31 Table generation method, table generation device, computer device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111476007A CN111476007A (en) 2020-07-31
CN111476007B true CN111476007B (en) 2023-04-07

Family

ID=71750271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010243597.8A Active CN111476007B (en) 2020-03-31 2020-03-31 Table generation method, table generation device, computer device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111476007B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148287B (en) * 2020-08-21 2022-05-27 烽火通信科技股份有限公司 Dynamic table display method and device and electronic equipment
CN116501318B (en) * 2023-06-27 2023-11-28 蘑菇车联信息科技有限公司 Form creation method, form creation device, electronic equipment and computer readable storage medium
CN117574867A (en) * 2023-12-08 2024-02-20 北京天圣华信息技术有限责任公司 Statistical table generation method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656914A (en) * 2017-10-16 2018-02-02 厦门海迈科技股份有限公司 Form generation method, device, terminal device and the storage medium of configurableization

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656914A (en) * 2017-10-16 2018-02-02 厦门海迈科技股份有限公司 Form generation method, device, terminal device and the storage medium of configurableization

Also Published As

Publication number Publication date
CN111476007A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
CN111476007B (en) Table generation method, table generation device, computer device and computer-readable storage medium
CN111079047B (en) Web-oriented page construction system
US9952819B2 (en) Method and system of automated generation of user form interface
CN105487864A (en) Method and device for automatically generating code
CN110851134A (en) Low-code page design device and page design method
CN109766097A (en) UI generation method, device, electronic equipment and computer readable storage medium
CN105528418B (en) A kind of design documentation generation method and device
CN115712413A (en) Low code development method, device, equipment and storage medium
CN111881662A (en) Form generation method, device, processing equipment and storage medium
CN113268226A (en) Page data generation method and device, storage medium and equipment
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN109471580B (en) Visual 3D courseware editor and courseware editing method
CN103513977A (en) Display method and device for group member list
CN114153442A (en) Large-screen visualization page configuration method and system based on visualization component
CN107220044B (en) Method and device for driving business object based on meta-model
CN115130442A (en) Report generation method and device, storage medium and computer equipment
CN110058893B (en) Application control display method and device
CN113312104A (en) Advertisement conversion method and system based on small program
CN110688108A (en) Model generation method and device and storage medium
CN112052571B (en) Simulation method and device of power equipment and storage medium
CN113687815B (en) Method and device for processing dynamic effects of multiple components in container, electronic equipment and storage medium
CN113535304B (en) Method and device for inserting, displaying and editing third-party model in design software
CN111488189B (en) Window display method, device, equipment and computer readable storage medium
CN116204267B (en) Method and device for generating intellectual property flow form
CN109783329B (en) Application program blank data prompting method and system and terminal equipment

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
GR01 Patent grant
GR01 Patent grant