CN114296834A - Component processing method and device and server - Google Patents

Component processing method and device and server Download PDF

Info

Publication number
CN114296834A
CN114296834A CN202111670947.XA CN202111670947A CN114296834A CN 114296834 A CN114296834 A CN 114296834A CN 202111670947 A CN202111670947 A CN 202111670947A CN 114296834 A CN114296834 A CN 114296834A
Authority
CN
China
Prior art keywords
component
data model
packaging
user interface
data
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
CN202111670947.XA
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.)
Rootcloud Technology Co Ltd
Original Assignee
Rootcloud 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 Rootcloud Technology Co Ltd filed Critical Rootcloud Technology Co Ltd
Priority to CN202111670947.XA priority Critical patent/CN114296834A/en
Publication of CN114296834A publication Critical patent/CN114296834A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the application provides a component processing method, a device and a server, wherein the method comprises the following steps: acquiring a component code, determining a data model according to a user diagram scene, packaging the component code and the data model to obtain a packaged component, and issuing the packaged component; acquiring component configuration adjustment information, and adjusting the data model according to the component configuration adjustment information to generate a corrected data model; and controlling the packaging assembly to generate corresponding user interface elements according to the corrected data model, and rendering the user interface elements so that the packaging assembly can adjust the running state of the packaging assembly according to the user interface elements. Therefore, the server generates the corresponding user interface elements based on the dynamic adaptive data model, the operation state of the server is conveniently adjusted dynamically according to the user interface elements in the packaging assembly, the operation steps of the assembly adjustment are simplified, the time consumption of the assembly adjustment is reduced, and the efficiency of the assembly adjustment is improved.

Description

Component processing method and device and server
Technical Field
The present application relates to the field of computer software technologies, and in particular, to a component processing method, an apparatus, and a server.
Background
In the prior art, a component is released by a Software As A Service (SAAS) technology, after the component is released, a functional interface of the component and the component included in the component are fixed, and if a page-level Service needs to be changed, a page needs to undergo iterative processes such as requirement, design, encoding, testing, release, and verification again. When the user uses the related component, some adjustment is often needed according to own needs, and the online verification can be performed in time after the component is adjusted.
If the front end adopts the traditional Jquery framework for development, a View (View) component is needed in the development process, the View component is the most common and simplest View container, is mainly used for layout display and is the most basic User Interface (UI) component in the layout, and the more complex layout can be realized by nesting the View components. The View component may dynamically manipulate the Document Object Model (DOM) through Asynchronous JavaScript And XML (Asynchronous JavaScript And XML And HTML, Ajax) techniques in conjunction with Jquery techniques. In this way, firstly, product design is needed, then page changing is performed at the front end, service interface changing is performed at the rear end, test and verification are performed, finally, operation and maintenance deployment is performed online, customer acceptance is achieved, the iteration period is long, and feedback is slow.
If the front end is developed by adopting the React frame, the React is a JavaScript library for constructing a user interface and has the function of creating an interactive UI, the React realizes the bidirectional binding of data (data) and View (View), and when the data changes, the React frame can be efficiently updated and render proper components; the React framework builds packages that manage their state and then combines the packages to form a complex UI.
The bidirectional binding frame of the data (data) and the View (View) consists of a data layer (Model), a View layer (View) and a service logic layer (ViewModel), wherein the data layer (Model) refers to the data and the service logic of application and is a service code written by a developer; the View layer (View) refers to the page display effect of the application and consists of a page template and a style; the service logic layer (ViewModel) is the core of the framework encapsulation, and the main function is to associate data with views.
The bidirectional binding framework of data and View can also be called a data layer, a View layer and a service logic layer (MVVM) framework, and the key point is the service logic layer (View Model). The main responsibility of the business logic layer is to update the view after a data change and to update the data after a view change.
The data bidirectional binding principle is as follows: the relation between a data layer (Model) and a View (View) is defined through a code program, the rest service processing only needs to monitor data change, the change of the View (View) is automatically executed by a frame, and the DOM does not need to be manually operated like a Jquery frame. In this way, firstly, the front end needs to change the UI element to generate the logic code, and secondly, after the interface joint debugging, the test, the online test, the acceptance test and the like need to consume much time.
If an Application Platform As A Service (APAAS) Platform environment is selected for development, Mendix, a Model-driven development (MDD), which is an efficient APAAS environment development, can be used, and various event delegates (evenhandlers) can be defined for the Model. In this way, the component configuration needs to be modified in the design state, and the switching to the operation state also needs a deployment process, which consumes more time and has higher labor cost.
In summary, the prior art has the problems of complex operation steps and long time consumption when adjusting the published components.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present application provide a component processing method, an apparatus, and a server.
In a first aspect, an embodiment of the present application provides a component processing method, which is applied to a server, and the method includes:
acquiring a component code, determining a data model according to a user diagram scene, packaging the component code and the data model to obtain a packaging component, and issuing the packaging component;
acquiring component configuration adjustment information, and adjusting the data model according to the component configuration adjustment information to generate a corrected data model;
and controlling the packaging assembly to generate corresponding user interface elements according to the corrected data model, and rendering the user interface elements so that the packaging assembly can adjust the running state of the packaging assembly according to the user interface elements.
In a second aspect, an embodiment of the present application provides a component processing apparatus, which is applied to a server, and the method includes:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a component code, determining a data model according to a user diagram scene, packaging the component code and the data model to obtain a packaging component, and issuing the packaging component;
the second acquisition module is used for acquiring component configuration adjustment information, adjusting the data model according to the component configuration adjustment information and generating a corrected data model;
and the control module is used for controlling the packaging assembly to generate corresponding user interface elements according to the corrected data model and rendering the user interface elements so that the packaging assembly can adjust the running state of the packaging assembly according to the user interface elements.
In a third aspect, an embodiment of the present application provides a server, which includes a memory and a processor, where the memory is used to store a computer program, and the computer program executes the component processing method provided in the first aspect when the processor runs.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program runs on a processor, the computer program performs the component processing method provided in the first aspect.
The component processing method, the device and the server provided by the application obtain the component codes, determine the data model according to the user diagram scene, pack the component codes and the data model to obtain the packaging component, and release the packaging component; acquiring component configuration adjustment information, and adjusting the data model according to the component configuration adjustment information to generate a corrected data model; and controlling the packaging assembly to generate corresponding user interface elements according to the corrected data model, and rendering the user interface elements so that the packaging assembly can adjust the running state of the packaging assembly according to the user interface elements. Therefore, the data model is adjusted by adopting the component configuration adjustment information to obtain a corrected data model, the corrected data model generates user interface elements, the dynamic adaptation of the data model to generate corresponding user interface elements is realized, the dynamic adjustment of the operating state of the component at the packaging component according to the user interface elements is facilitated, the operation steps of component adjustment are simplified, the time consumption of component adjustment is reduced, and the efficiency of component adjustment is improved.
Drawings
In order to more clearly explain the technical solutions of the present application, the drawings needed to be used in the embodiments are briefly introduced below, and it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope of protection of the present application. Like components are numbered similarly in the various figures.
FIG. 1 is a flow chart of a component processing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of a component handling apparatus provided in an embodiment of the present application;
fig. 3 shows a schematic structural diagram of a server provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present application, are intended to indicate only specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the present application belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments.
Example 1
The embodiment of the disclosure provides a component processing method, which can be applied to a server.
Specifically, referring to fig. 1, the component processing method of the embodiment includes:
step S101, acquiring a component code, determining a data model according to a user diagram scene, packaging the component code and the data model to obtain a packaging component, and issuing the packaging component.
In this embodiment, the fact component engineering or Mendix component engineering may be generated by a plug-in component, and the component code may be customized by the fact component engineering or Mendix component engineering. The user chart scene refers to a scene of specific industry statistics, presentations, and the like, for example, the user chart scene may include an industrial Business Intelligence (BI) chart scene, an industrial BI system form scene, an intelligent query form scene, and the like. Different adjustment requirements exist in different scenes, for example, a row of display sending time needs to be dynamically added to a historical communication message page of equipment in a heavy machine management system, and the serial number of the equipment is hidden; or dynamically adding a start time range parameter (StartTime) of the query parameter in the query form, and there are other adjustment requirements in practical application, which is not limited herein.
The data model in this embodiment abstracts data of each scene to form a certain data format, including data structures, data operations, data constraints, and other contents. The corresponding data models and component codes can be determined for different user chart scenes, and the data models and the component codes of the same user chart scene are packaged to obtain the packaging components corresponding to the user chart scenes.
For example, the package components may be chart components (EchartBase) in an industrial BI chart scenario, industrial BI system Table components (Table Pro), and smart query form components, among others.
It should be noted that the package assembly in this embodiment is released for use on a low-code platform, which may be a Mendix platform, a reach platform, or the like.
And S102, acquiring component configuration adjustment information, adjusting the data model according to the component configuration adjustment information, and generating a corrected data model.
In this embodiment, the package assembly may be any one of: a dynamic chart component, a dynamic list component and a dynamic form component; when the packaging component is the dynamic chart component, the component configuration adjustment information comprises pattern configuration information; when the packaging component is the dynamic list component, the component configuration adjustment information comprises form field configuration information; when the packaging component is the dynamic form component, the component configuration adjustment information includes form function configuration information.
For example, the pattern configuration information may include a pie pattern, a column pattern, a change between line patterns, and the like, and the form field configuration information may include addition or deletion of various attribute fields such as gender, age, and the like; the form function configuration information may include configuration information such as a form query function, a form filtering function, and the like.
In this embodiment, the component configuration adjustment information may be read through a Mendix micro flow call (call rest) backend interface, the component configuration adjustment information is analyzed to obtain an analysis result, and the data model is adjusted according to the analysis result.
In this embodiment, the packaging component dynamically obtains the corrected data model according to the data model configured by the server.
For example, for a dynamic chart component, if a user needs to switch the pie chart to a histogram and needs to change a component theme color on the other hand, the user may control corresponding component configuration adjustment information, where the component configuration adjustment information set by the user includes the configuration information of switching the pie chart to the histogram and the configuration information of adjusting the component theme color, modify the data model of the dynamic chart component according to the configuration information of switching the pie chart to the histogram and the configuration information of adjusting the component theme color, and dynamically change the corresponding configuration of the data model of the dynamic chart component to obtain a modified data model of the dynamic chart component.
For the dynamic list component, the dynamic list component can be used for displaying various lists in the system, for example, a User list can be displayed, the dynamic list component acquires a User (User) object list, and when a User adds an attribute field, such as a gender field, to a User object through the component management platform, the data model of the dynamic list component is adjusted according to the gender field to obtain a modified data model of the dynamic list component.
For the dynamic form component, the dynamic form component can be used for inquiring a user information input form, when a new inquiry field is configured in the inquiry model, for example, when the new inquiry field is the "registration time", and the display attribute value is true (true), the adaptation logic of the dynamic form component can identify the "registration time" of the newly added field, and adjust the data model of the dynamic form component according to the "registration time" of the newly added field, so as to obtain the corrected data model of the dynamic form component.
In this embodiment, the dynamic chart component, the dynamic list component, and the dynamic form component may be an echartBase component, and the echartBase component manages configuration and data (options) of an echart framework by relying on an echart framework capability, and may implement configuration transition of an icon form. The echartBase component part code is as follows:
Figure BDA0003452965820000081
Figure BDA0003452965820000091
step S103, controlling the packaging component to generate a corresponding user interface element according to the corrected data model, and rendering the user interface element, so that the packaging component can adjust its running state according to the user interface element.
For example, according to the corrected data model of the dynamic chart component, generating histogram elements of the theme colors of red, rose and orange, and sending the histogram elements of the theme colors of red, rose and orange to the running state component, wherein the running state component adjusts the running state of the dynamic chart component according to the histogram elements of the theme colors of red, rose and orange, and displays the histogram elements of the theme colors of red, rose and orange; the running state component adjusts the running state of the dynamic list component according to the sex field column element and displays the sex field column element; and generating an input User Interface (UI) element according to the modified data model of the dynamic form component, sending the input UI element to the running state component, and adjusting the running state of the dynamic form component by the running state component according to the input UI element to display the input UI element.
Therefore, when the packaging assembly is in an operating state, the server adjusts the configuration of the assembly, the operating assembly is controlled to realize corresponding state change, and the instant change of the operating state of the assembly is fed back to the user display equipment, so that the method is significant for application delivery.
Optionally, after determining the data model according to the user diagram scene in step S101, the method further includes:
determining a variation range of the configuration of the data model according to the logical boundary of the data model, and transmitting the variation range to the package component.
It should be noted that the data constraint of the data model includes a logical boundary, and a variation range of the configuration of the data model can be determined according to the logical boundary of the data model. The configuration of the data model may include configurations required by different user chart scenes, for example, the configuration of the dynamic chart component includes a chart style, a theme color, and the like, and accordingly, the configuration of the dynamic chart component may range from a chart style to a bar style, from a bar style to a cake style, and theme colors selectable by each type.
Optionally, the packaging component includes a display component, and the adjusting the data model according to the component configuration adjustment information in step S102 to generate a corrected data model includes:
and controlling the display component to perform corresponding logic processing on the data model according to the component configuration adjustment information, and triggering a predefined function of the data model to obtain the corrected data model.
In this embodiment, the predefined function (handler) is various functions, such as a storage function, a deletion function, a new function, and the like.
Optionally, the package assembly further includes a container assembly, and the controlling the package assembly in step S103 generates a corresponding user interface element according to the corrected data model, including:
controlling the container assembly to obtain service data, performing format conversion on the service data to obtain standard data, and inputting the standard data to the display assembly;
and controlling the display component to input the standard data into the correction data model to generate the user interface element.
In this embodiment, the specific process of performing format conversion on the service data may include: and analyzing the service data, and converting the format of the analyzed service data into a data format meeting the requirement of the corrected data model.
In this embodiment, the time for loading the data model is to synchronously load the model data of the component after the page loading is completed, and when the data model is changed into the modified data model, the component needs to be triggered to read the modified data model again.
Compared with the existing View (View) component, the packaging component provided by the embodiment has the characteristics of dynamically adapting a data model and carrying out user interface element adjustment in a business self-consistent manner. In addition, in this embodiment, the component configuration is managed by concentrating on the server, and the server dynamically adjusts the configuration of the component, so that the component can flexibly adjust the running state of the component in real time. In addition, the Mendix platform framework or the fact platform framework is selected in the embodiment, the assembly method has strong componentization capability, can standardize the assembly to realize the technical stack, is beneficial to application of componentization landing, enables fast iteration to be realized, and can adapt to other low-code platforms through a small amount of modification of the assembly obtained based on the Mendix platform framework or the fact platform framework.
The component processing method provided by the embodiment includes the steps of obtaining component codes, determining a data model according to a user diagram scene, packaging the component codes and the data model to obtain a packaging component, and issuing the packaging component; acquiring component configuration adjustment information, and adjusting the data model according to the component configuration adjustment information to generate a corrected data model; and controlling the packaging assembly to generate corresponding user interface elements according to the corrected data model, and rendering the user interface elements so that the packaging assembly can adjust the running state of the packaging assembly according to the user interface elements. Therefore, the data model is adjusted by adopting the component configuration adjustment information to obtain a corrected data model, the corrected data model generates user interface elements, the dynamic adaptation of the data model to generate corresponding user interface elements is realized, the dynamic adjustment of the operating state of the component at the packaging component according to the user interface elements is facilitated, the operation steps of component adjustment are simplified, the time consumption of component adjustment is reduced, and the efficiency of component adjustment is improved.
Example 2
In addition, the embodiment of the disclosure also provides a component processing device, and the device is applied to a server.
Specifically, referring to fig. 2, the component processing apparatus 200 provided in this embodiment includes:
the first obtaining module 201 is configured to obtain a component code, determine a data model according to a user diagram scene, package the component code and the data model to obtain a package component, and issue the package component;
a second obtaining module 202, configured to obtain component configuration adjustment information, and adjust the data model according to the component configuration adjustment information to generate a modified data model;
the control module 203 is configured to control the packaging component to generate a corresponding user interface element according to the corrected data model, and render the user interface element, so that the packaging component can adjust its own operating state according to the user interface element.
In this embodiment, the component processing apparatus 200 further includes:
and the determining module is used for determining the change range of the configuration of the data model according to the logic boundary of the data model.
In this embodiment, the packaging component includes a display component, and the second obtaining module 202 is further configured to control the display component to perform corresponding logic processing on the data model according to the component configuration adjustment information, and trigger a predefined function of the data model to obtain the corrected data model.
In this embodiment, the packaging component further includes a container component, and the control module 203 is further configured to control the container component to obtain service data, perform format conversion on the service data to obtain standard data, and input the standard data to the display component;
and controlling the display component to input the standard data into the correction data model to generate the user interface element.
The device 200 for processing a component according to the embodiment of the present invention may perform the steps of the method for processing a component according to embodiment 1, and will not be described again.
The component processing apparatus provided in this embodiment obtains a component code, determines a data model according to a user diagram scene, packages the component code and the data model to obtain a package component, and issues the package component; acquiring component configuration adjustment information, and adjusting the data model according to the component configuration adjustment information to generate a corrected data model; and controlling the packaging assembly to generate corresponding user interface elements according to the corrected data model, and rendering the user interface elements so that the packaging assembly can adjust the running state of the packaging assembly according to the user interface elements. Therefore, the data model is adjusted by adopting the component configuration adjustment information to obtain a corrected data model, the corrected data model generates user interface elements, the dynamic adaptation of the data model to generate corresponding user interface elements is realized, the dynamic adjustment of the operating state of the component at the packaging component according to the user interface elements is facilitated, the operation steps of component adjustment are simplified, the time consumption of component adjustment is reduced, and the efficiency of component adjustment is improved.
Example 3
Furthermore, an embodiment of the present disclosure provides a server, where the server includes a memory and a processor, where the memory stores a computer program, and the computer program, when running on the processor, executes the component processing method provided in the above method embodiment 1.
The server 300 includes: a transceiver 301, a bus interface and a processor 302, the processor 302 configured to: acquiring a component code, determining a data model according to a user diagram scene, packaging the component code and the data model to obtain a packaging component, and issuing the packaging component;
acquiring component configuration adjustment information, and adjusting the data model according to the component configuration adjustment information to generate a corrected data model;
and controlling the packaging assembly to generate corresponding user interface elements according to the corrected data model, and rendering the user interface elements so that the packaging assembly can adjust the running state of the packaging assembly according to the user interface elements.
Optionally, the processor 302 is further configured to: determining a variation range of the configuration of the data model according to the logical boundary of the data model, and transmitting the variation range to the package component.
Optionally, the processor 302 is further configured to: and controlling the display component to perform corresponding logic processing on the data model according to the component configuration adjustment information, and triggering a predefined function of the data model to obtain the corrected data model.
Optionally, the processor 302 is further configured to: controlling the container assembly to obtain service data, performing format conversion on the service data to obtain standard data, and inputting the standard data to the display assembly;
and controlling the display component to input the standard data into the correction data model to generate the user interface element.
In this embodiment of the present invention, the server 300 further includes: a memory 303. In FIG. 3, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented in particular by processor 302, and various circuits of memory, represented by memory 303, linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 301 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The processor 302 is responsible for managing the bus architecture and general processing, and the memory 303 may store data used by the processor 302 in performing operations.
The server 300 provided in the embodiment of the present invention may execute the steps of the component processing method in embodiment 1, which are not described again.
Example 4
The present application also provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the component processing method provided in embodiment 1.
In this embodiment, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The computer-readable storage medium provided in this embodiment may be the component processing method provided in embodiments 1, 2, and 3, and is not described herein again to avoid repetition.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A component processing method, applied to a server, the method comprising:
acquiring a component code, determining a data model according to a user diagram scene, packaging the component code and the data model to obtain a packaging component, and issuing the packaging component;
acquiring component configuration adjustment information, and adjusting the data model according to the component configuration adjustment information to generate a corrected data model;
and controlling the packaging assembly to generate corresponding user interface elements according to the corrected data model, and rendering the user interface elements so that the packaging assembly can adjust the running state of the packaging assembly according to the user interface elements.
2. The method of claim 1, wherein after determining the data model from the user chart scenario, the method further comprises:
determining a variation range of the configuration of the data model according to the logical boundary of the data model, and transmitting the variation range to the package component.
3. The method of claim 1, wherein the package component comprises a presentation component, and wherein adjusting the data model according to the component configuration adjustment information to generate a revised data model comprises:
and controlling the display component to perform corresponding logic processing on the data model according to the component configuration adjustment information, and triggering a predefined function of the data model to obtain the corrected data model.
4. The method of claim 3, wherein the package assembly further comprises a container assembly, and wherein controlling the package assembly to generate the corresponding user interface element according to the revised data model comprises:
controlling the container assembly to obtain service data, performing format conversion on the service data to obtain standard data, and inputting the standard data to the display assembly;
and controlling the display component to input the standard data into the correction data model to generate the user interface element.
5. A component processing apparatus, applied to a server, the apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a component code, determining a data model according to a user diagram scene, packaging the component code and the data model to obtain a packaging component, and issuing the packaging component;
the second acquisition module is used for acquiring component configuration adjustment information, adjusting the data model according to the component configuration adjustment information and generating a corrected data model;
and the control module is used for controlling the packaging assembly to generate corresponding user interface elements according to the corrected data model and rendering the user interface elements so that the packaging assembly can adjust the running state of the packaging assembly according to the user interface elements.
6. The apparatus of claim 5, further comprising:
and the determining module is used for determining the change range of the configuration of the data model according to the logic boundary of the data model.
7. The apparatus of claim 6, wherein the packaging component includes a display component, and the second obtaining module is further configured to control the display component to perform corresponding logic processing on the data model according to the component configuration adjustment information, and trigger a predefined function of the data model to obtain the modified data model.
8. The apparatus of claim 7, wherein the packaging component further comprises a container component, and the control module is further configured to control the container component to obtain service data, perform format conversion on the service data to obtain standard data, and input the standard data to the presentation component;
and controlling the display component to input the standard data into the correction data model to generate the user interface element.
9. A server, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, performs the component processing method of any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the component processing method of any one of claims 1 to 4.
CN202111670947.XA 2021-12-31 2021-12-31 Component processing method and device and server Pending CN114296834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111670947.XA CN114296834A (en) 2021-12-31 2021-12-31 Component processing method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111670947.XA CN114296834A (en) 2021-12-31 2021-12-31 Component processing method and device and server

Publications (1)

Publication Number Publication Date
CN114296834A true CN114296834A (en) 2022-04-08

Family

ID=80973570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111670947.XA Pending CN114296834A (en) 2021-12-31 2021-12-31 Component processing method and device and server

Country Status (1)

Country Link
CN (1) CN114296834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115269033A (en) * 2022-06-18 2022-11-01 知学云(北京)科技股份有限公司 Method and system for loading external service component package on aPaaS platform
CN116302294A (en) * 2023-05-18 2023-06-23 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742615A (en) * 2021-09-13 2021-12-03 国泰君安证券股份有限公司 System, method and device for realizing dynamic data component application, processor and computer readable storage medium thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742615A (en) * 2021-09-13 2021-12-03 国泰君安证券股份有限公司 System, method and device for realizing dynamic data component application, processor and computer readable storage medium thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MENDIX: "如何使用Mendix组件Any Chart", 《HTTPS://BLOG.CSDN.NET/MENDIX/ARTICLE/DETAILS/118184346》, 24 June 2021 (2021-06-24), pages 1 - 8 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115269033A (en) * 2022-06-18 2022-11-01 知学云(北京)科技股份有限公司 Method and system for loading external service component package on aPaaS platform
CN116302294A (en) * 2023-05-18 2023-06-23 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface
CN116302294B (en) * 2023-05-18 2023-09-01 安元科技股份有限公司 Method and system for automatically identifying component attribute through interface

Similar Documents

Publication Publication Date Title
US20210034990A1 (en) Rule Assignments and Templating
US7694271B2 (en) Rendering GUI widgets with generic look and feel
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
CN114296834A (en) Component processing method and device and server
CN108984712A (en) Counting method, equipment and readable storage medium storing program for executing are made based on business scenario
CN112800370B (en) Processing method and device of business document, computer equipment and storage medium
US8943406B2 (en) Generating user help information for customized user interface
CN107015791B (en) Processing method, device and system for generating chart component system
US20150120479A1 (en) Catalog driven order management for rule definition
CN114089958A (en) Form visual configuration method and device
CN115712413A (en) Low code development method, device, equipment and storage medium
US10397304B2 (en) System and method to standardize and improve implementation efficiency of user interface content
CN101295382A (en) Method and device for implementing service logical relation between business object properties
CN114090365A (en) Method, device and equipment for performing function test by using dynamic link library
CN111209613B (en) Rapid design method and system for intelligent product
CN111078337B (en) Style adjustment method, system and computer readable storage medium
CN114398226A (en) Network asset report generation method and device
CN113254830A (en) Webpage configuration method and device, electronic equipment and storage medium
CN113138760A (en) Page generation method and device, electronic equipment and medium
US9384012B2 (en) Standalone data entry for backend system
KR20160082732A (en) Component-based dynamic image display system and method using the svg file format
CN110908659A (en) Method and system for automatically generating user operation interface according to interface definition
CN111159611A (en) Method for dynamically generating mobile form and system for dynamically generating mobile form
CN117270956B (en) Configuration method of hardware equipment, client, hardware equipment network management system and medium
CN113760356B (en) Differential configuration method, device, equipment and medium of program product

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