CN117908870A - Attribute linkage design method, device, equipment and medium for low-code platform for intelligent equipment management - Google Patents

Attribute linkage design method, device, equipment and medium for low-code platform for intelligent equipment management Download PDF

Info

Publication number
CN117908870A
CN117908870A CN202311800500.9A CN202311800500A CN117908870A CN 117908870 A CN117908870 A CN 117908870A CN 202311800500 A CN202311800500 A CN 202311800500A CN 117908870 A CN117908870 A CN 117908870A
Authority
CN
China
Prior art keywords
linkage
component
rule
attribute
metadata
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
CN202311800500.9A
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.)
CISDI Chongqing Information Technology Co Ltd
Original Assignee
CISDI Chongqing Information 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 CISDI Chongqing Information Technology Co Ltd filed Critical CISDI Chongqing Information Technology Co Ltd
Priority to CN202311800500.9A priority Critical patent/CN117908870A/en
Publication of CN117908870A publication Critical patent/CN117908870A/en
Pending legal-status Critical Current

Links

Classifications

    • 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]

Abstract

The invention provides a low-code platform attribute linkage design method, a device, equipment and a medium for intelligent equipment management, the method comprises the steps of obtaining initial configuration requirements, determining a target page model and a linkage component type, further determining metadata of the linkage component, constructing a metadata model, mapping metadata attributes to a matching rule configuration template to obtain a target rule configuration template, carrying out parameter configuration on the linkage component according to the target rule configuration template to obtain comprehensive configuration information of the linkage component, determining the linkage rule metadata as one component in a special low-code platform component library of the target page model, and giving linkage capability to the target page model on the special low-code platform, wherein the linkage capability is used for generating linkage with the existing event and event change on the target page model; by fully considering the linkage relation among the components, the linkage among the low-code platform components is realized, and the flexibility of the platform is effectively improved.

Description

Attribute linkage design method, device, equipment and medium for low-code platform for intelligent equipment management
Technical Field
The application relates to the technical field of visualization, in particular to an attribute linkage design method, device, equipment and medium of a low-code platform for intelligent equipment management.
Background
The low-code platform development is taken as a quick, efficient and visual development technology, by providing a visual interface and a predefined template, an application program can be quickly constructed by a developer, and in view of the advantages that the low-code platform development technology can help the developer reduce a large amount of development time and cost and improve the quality and maintainability of the application program, the low-code platform development technology is one of the platform development technologies commonly used in modern software development.
However, in the scenes of smart campus, smart park, etc., a large number of intelligent devices need to be managed uniformly, and the vendor, access mode, IP address, network domain address, port number, etc. of these intelligent devices have not only huge differences, but also complicated and complicated attribute change and linkage interaction requirements in the device management module of the same smart scene. However, in the low-code platform page model building scene, the linkage relation between the components is usually ignored due to the component realization and event response logic, or the linkage between the components is realized in a self-defined component mode, so that the requirements of linkage management and light form weight of a large number of different intelligent devices cannot be met, and the application development cost and the maintenance cost are increased.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the present invention provides a method, apparatus, device and storage medium for designing attribute linkage of a low-code platform for intelligent device management, so as to solve the above-mentioned technical problem that linkage management and light form requirements cannot be realized between a large number of different types of intelligent devices.
The invention provides an attribute linkage design method of a low-code platform for intelligent equipment management, which comprises the following steps: acquiring initial configuration requirements, and determining a target page model and a linkage component type based on the initial configuration requirements, wherein the initial configuration requirements are obtained based on design requirements of a low-code platform oriented to intelligent equipment management; determining linkage component metadata based on the target page model and the linkage component type, and constructing a metadata model based on the data attribute of the linkage component metadata; mapping the metadata attribute to a matching rule configuration template according to preset attribute configuration logic to obtain a target rule configuration template; performing parameter configuration on the linkage assembly according to the target rule configuration template to obtain comprehensive configuration information of the linkage assembly; generating linkage component attributes and linkage rule metadata by combining the comprehensive configuration information board, and determining the linkage rule metadata as one component in a proprietary low-code platform component library of the target page model based on the linkage component attributes; and endowing the target page model with linkage capability on the exclusive low-code platform based on the component, wherein the linkage capability is used for generating linkage with the existing event and event change on the target page model.
In an embodiment of the present invention, after determining the target page model and the linkage component type based on the initial configuration requirement, the method further includes: determining a linkage component metadata list based on the target page model, wherein the linkage component metadata list is used for managing configuration items of linkage component metadata; and determining a matching rule configuration template based on the linkage component type, wherein the matching rule configuration template comprises an input template, a single selection template, a multi-selection template, a selector template and a time selector template.
In an embodiment of the present invention, performing parameter configuration on the linkage assembly includes: configuring basic rules of the linkage assembly, wherein the basic rules are used for being based on basic attributes of the linkage assembly when no linkage rules or no matched linkage rules exist in a target page model; and configuring a linkage rule of the linkage assembly, wherein the linkage rule is used for determining the linkage attribute of the linkage assembly based on the linkage rule when the linkage rule exists in the target page model.
In an embodiment of the present invention, configuring the linkage rule of the linkage assembly further includes: acquiring a component dictionary in the target page model, and constructing a node component and a node attribute value of the node component based on a dictionary enumeration value of the component dictionary; generating a component behavior binding value based on any node configuration component and a node attribute value of the node component, and generating a linkage rule condition based on any component behavior binding value; and combining a plurality of linkage rule conditions to form a linkage rule chain, wherein the linkage rule chain is used for controlling the linkage assembly to be displayed and hidden, calculating a default value, and whether to fill or not and disabling the selection change.
In an embodiment of the present invention, the linkage assembly performs parameter configuration, and further includes: and configuring an attribute custom algorithm of the linkage assembly, wherein the attribute custom algorithm is used for acquiring node attributes of all node assemblies in the linkage rule chain and assembly behavior binding values corresponding to the node assemblies so as to dynamically calculate default values and implicit rules of the linkage assembly according to the node attributes and the assembly behavior binding values.
In an embodiment of the present invention, the linkage assembly performs parameter configuration, and further includes: the regular verification method of the configuration linkage assembly is a verification rule executed by the assembly during form verification, and comprises universal regularization or custom regularization.
In an embodiment of the present invention, mapping metadata attributes onto a matching rule configuration template according to preset attribute configuration logic includes: describing the metadata attribute and the preset attribute configuration logic by using a regular expression; correcting the regular expression based on metadata and target data so that the regular expression is matched with the target data based on the metadata; and integrating the corrected regular expression into the matching rule configuration template.
The application provides an attribute linkage design device of a low-code platform for intelligent equipment management, which comprises: the data acquisition module is used for acquiring initial configuration requirements and determining a target page model and a linkage assembly type based on the initial configuration requirements; the data model construction module is used for determining linkage component metadata based on the target page model and the linkage component type and constructing a metadata model based on the data attribute of the linkage component metadata; the template determining module is used for mapping the metadata attribute to the matching rule configuration template according to the preset attribute configuration logic so as to obtain a target rule configuration template; the rule configuration module is used for carrying out parameter configuration on the linkage assembly according to the target rule configuration template to obtain comprehensive configuration information of the linkage assembly; the component generation module is used for generating linkage component attributes and linkage rule metadata by combining the comprehensive configuration information board, and determining the linkage rule metadata as one component in a proprietary low-code platform component library of the target page model based on the linkage component attributes; and the linkage module is used for giving the linkage capability to the target page model on the basis of the component on the exclusive low-code platform, and the linkage capability is used for generating linkage with the existing event and event change on the target page model.
The present application provides an electronic device including: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic equipment realizes the attribute linkage design method of the low-code platform facing intelligent equipment management.
The present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the low-code platform attribute linkage design method for intelligent device management as described above.
The invention has the beneficial effects that: the invention discloses an attribute linkage design method, device, equipment and storage medium of a low-code platform for intelligent equipment management, wherein the method is to select and configure a low-code platform page model of a linkage rule; selecting and configuring the type of the linkage assembly; acquiring metadata attributes of the linkage assembly, and abstracting a metadata attribute model; mapping the metadata attribute to a matching rule configuration template according to attribute configuration logic; configuring basic attributes of the linkage assembly and configuring linkage rules of the linkage assembly; configuring a linkage attribute calculation method; configuring a regular checking method of the linkage assembly; generating linkage component attributes and linkage rule metadata according to the linkage component configuration items, and taking the linkage component metadata as a special low-code platform component library component of the related page model; the ability to link existing component properties and event changes on the page model is provided for the target page model. By fully considering the linkage relation among the components, the linkage among the low-code platform components is realized, the flexibility of the platform is effectively improved, the development process is simpler and more efficient, and the development speed is effectively improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is evident that the drawings in the following description are only some embodiments of the present application and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 is a schematic diagram of an implementation environment of a method for designing attribute linkage of a low-code platform for intelligent device management according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart of a method for attribute linkage design of a low-code platform for intelligent device management according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram illustrating steps of a method for designing a low-code platform attribute linkage for intelligent device management according to an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of a low code platform attribute linkage design flow for a low code platform for intelligent device management, according to an exemplary embodiment of the present application;
FIG. 5 is a block diagram of an attribute linkage design apparatus for a smart device management oriented low code platform, as shown in an exemplary embodiment of the present application;
Fig. 6 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the application.
Detailed Description
Further advantages and effects of the present invention will become readily apparent to those skilled in the art from the disclosure herein, by referring to the accompanying drawings and the preferred embodiments. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be understood that the preferred embodiments are presented by way of illustration only and not by way of limitation.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present invention by way of illustration, and only the components related to the present invention are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
In the following description, numerous details are set forth in order to provide a more thorough explanation of embodiments of the present invention, it will be apparent, however, to one skilled in the art that embodiments of the present invention may be practiced without these specific details, in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the embodiments of the present invention.
It should be noted that the Low-code platform Page Model (Low-code Page Model) is a visual and configuration-based Page development method. By providing pre-built components and modules, it enables a user to quickly create application pages by way of dragging and configuring.
The linkage assembly refers to linkage effect among the visual assemblies realized through the visual editor in the low-code platform, and the linkage assembly can realize interaction among page elements and response of data change so as to realize richer and dynamic page effect.
Attribute linkage design is a commonly used method in product design or development that involves interactions and associations between different attributes, where a designer or developer needs to consider how to combine different attributes together and make meaningful associations between them.
Regular check (Regex) is a string pattern matching tool that can be used to match, search, and replace substrings in text. It is a rule composed of regular expressions for matching checks of character strings.
Fig. 1 is a schematic diagram of an implementation environment of an attribute linkage design method of a low-code platform oriented to intelligent device management according to an exemplary embodiment of the present application.
As shown in fig. 1, the implementation environment of the attribute linkage design method of the low-code platform facing to intelligent device management includes a data acquisition device 101 and a computer device 102, where the parameter acquisition device 101 is used for acquiring initial configuration requirements, including related information of a target page model, and the information acquisition device may be any device that can be used for capturing data information, such as text information acquisition, and the application is not limited in any way; the computer device 102 is configured to construct a linkage relationship between the plurality of components of the low-code platform according to the initial configuration information acquired by the data acquisition device 101. The computer device 102 may be at least one of a desktop graphics processor (Graphic Processing Unit, GPU) computer, a GPU computing cluster, a neural network computer, etc., or may be an intelligent processor integrated on the current vehicle, which is not limited in this regard.
FIG. 2 is a flow chart of a method for attribute linkage design of a low-code platform for intelligent device management according to an exemplary embodiment of the application.
As shown in fig. 2, in an exemplary embodiment, the attribute linkage design method of the low-code platform for intelligent device management at least includes steps S210 to S260, which are described in detail as follows:
step S210, obtaining initial configuration requirements, and determining a target page model and a linkage component type based on the initial configuration requirements, wherein the initial configuration requirements are obtained based on design requirements of a low-code platform oriented to intelligent equipment management.
In one embodiment of the present application, after determining the target page model and the linkage component type based on the initial configuration requirements, the method further comprises: determining a linkage component metadata list based on the target page model, wherein the linkage component metadata list is used for managing configuration items of linkage component metadata; and determining a matching rule configuration template based on the linkage component type, wherein the matching rule configuration template comprises an input template, a single selection template, a multiple selection template, a selector template and a time selector template.
Step S220, linkage component metadata is determined based on the target page model and the linkage component type, and a metadata model is constructed based on the data attribute of the linkage component metadata.
In one embodiment of the application, first, determining initial configuration requirements based on design requirements of a low-code platform oriented to intelligent device management, wherein the initial configuration requirements comprise development requirements and design requirements, and further determining a target page model based on the development requirements and the design requirements, wherein the model can be a website page, a mobile application page or other user interfaces; then determining the type of the linkage assembly to be used according to the requirements and the design of the target page model, wherein the common linkage assembly type comprises a pull-down menu, a button, an input box and the like, and in addition, other types of linkage assemblies can be customized according to actual requirements; then, for each determined linkage component type, determining corresponding linkage component metadata, wherein the metadata is data describing the data and is used for defining and managing the structure and the attribute of the data; and finally, constructing a corresponding metadata model based on the determined linkage component metadata, wherein the metadata model is a model for describing and managing the linkage component metadata and can be a database table, an XML file or other data structures, and in the metadata model, the metadata of each linkage component type can be stored and managed as an independent entity or node. It should be noted that, for each linkage component, it is generally necessary to define a component type, an attribute configuration, an event configuration, a data source, and a data map. Wherein component types are used to define the type of linkage component, e.g., drop down menu, buttons, etc.; the attributes are for: defining an event configuration of the linkage assembly, including triggering events and performing actions; the data source is used to specify the data source of the linkage assembly, such as a database, API interface, or other data source; the data mapping is used for defining a data mapping relation of the linkage assembly and mapping the data in the data source to the linkage assembly.
Step S230, mapping the metadata attribute to the matching rule configuration template according to the preset attribute configuration logic to obtain the target rule configuration template.
In one embodiment of the present application, mapping metadata attributes onto a matching rule configuration template according to preset attribute configuration logic includes: describing metadata attributes and preset attribute configuration logic by using a regular expression; correcting the regular expression based on the metadata and the target data so that the regular expression is matched with the target data based on the metadata; and integrating the corrected regular expression into a matching rule configuration template.
In one embodiment of the present application, taking as an example matching a string containing a date and time, the preset attribute configuration logic may be a date and time format YYYY-MM-DD HH: MM: SS. Firstly, matching a character string with a date and time format of YYYY-MM-DDHH:SS by using a regular expression \d {4} - \d {2}: \d {2}, so as to describe related attributes of metadata attributes and preset attribute configuration logic by using the regular expression; then, modifying the regular expression according to the actual situation, for example, when the date and time format in the target data is MM/DD/YYYY HH: MM: SS, modifying the regular expression into \d {2}/\d {4} \d { 2: \d {2}; and finally, storing the regular expression into a file or a database or storing the regular expression into variables in codes, so that when a user inputs a character string containing date and time, the program can use the corrected regular expression to match the character string and execute corresponding operation according to the matching result. In addition, if the matching is successful, the string may be further processed; if the match fails, the user may be prompted that the input is not legal.
And step S240, carrying out parameter configuration on the linkage assembly according to the target rule configuration template to obtain comprehensive configuration information of the linkage assembly.
In one embodiment of the application, the parameter configuration of the linkage assembly comprises: configuring basic rules of the linkage assembly, wherein the basic rules are used for being based on basic attributes of the real linkage assembly when no linkage rules or no matched linkage rules exist in the target page model; and configuring a linkage rule of the linkage assembly, wherein the linkage rule is used for truly linking the linkage attribute of the assembly based on the linkage rule when the linkage rule exists in the target page model.
In one embodiment of the present application, configuring the linkage rule of the linkage assembly further includes: acquiring a component dictionary in a target page model, and constructing a node component and a node attribute value of the node component based on a dictionary enumeration value of the component dictionary; generating a component behavior binding value based on any node configuration component and a node attribute value of the node component, and generating a linkage rule condition based on any component behavior binding value; and combining a plurality of linkage rule conditions to form a linkage rule chain, wherein the linkage rule chain is used for controlling the linkage assembly to be displayed and hidden, calculating a default value, and whether to fill or not and disabling the selection change.
In one embodiment of the present application, the linkage assembly performs parameter configuration, and further includes: and configuring an attribute custom algorithm of the linkage assembly, wherein the attribute custom algorithm is used for acquiring node attributes of all node assemblies in a linkage rule chain and assembly behavior binding values corresponding to the node assemblies so as to dynamically calculate default values and implicit rules of the linkage assembly according to the node attributes and the assembly behavior binding values.
In one embodiment of the present application, the linkage assembly performs parameter configuration, and further includes: the regular checking method of the linkage assembly is configured, wherein the regular checking method is a checking rule executed by the assembly during form checking, and comprises general regular or custom regular.
Step S260, generating linkage component attributes and linkage rule metadata by combining the comprehensive configuration information board, and determining the linkage rule metadata as one component in the exclusive low-code platform component library of the target page model based on the linkage component attributes.
In one embodiment of the present application, first, a comprehensive configuration information board is combined to generate corresponding linkage component attributes and linkage rule metadata, where the comprehensive configuration information board may be a visual interface, allowing a user to define the linkage component attributes and rules through dragging and configuration, for example, the user may select a button as a linkage component type, then set the attributes of the button, such as color, size, position, etc., and define events triggered and actions performed when the button is clicked; then, based on the generated linkage component attribute and linkage rule metadata, determining the linkage component attribute and the linkage rule metadata as one component in a proprietary low-code platform component library of the target page model, wherein the low-code platform component library is a predefined component library, a series of reusable components are contained in the predefined component library, each component has standard attribute and rule, and the linkage component meeting the requirements can be quickly generated by matching and correlating the linkage rule metadata with the components in the low-code platform component library; in addition, the generated linkage assembly is added into the target page model from the low-code platform assembly library, so that a user can freely drag and place the linkage assembly in the target page model and further customize and adjust the linkage assembly, and in this way, the user can quickly construct an interface with a linkage function in the target page model.
In step S260, the linkage capability is used to generate linkage with the existing events and event changes on the target page model based on the component endowing the linkage capability on the proprietary low code platform.
In one embodiment of the application, firstly, a linkage component is defined on a low-code platform facing intelligent device management, wherein the linkage component comprises selecting or creating a proper component, and configuring specific attributes and behaviors for the component, such as creating a button component, configuring visual attributes such as color, size, position and the like for the button component, and defining events triggered and actions executed when a user clicks the button; then after defining the linkage assembly, the linkage assembly is associated with the target page model, wherein the association comprises adding the linkage assembly into the target page model, defining how to generate linkage with the existing event and event change on the page, for example, adding the button assembly onto the page, and configuring how to trigger a specific action or event when the button is clicked; then, configuring event response rules for the linkage assembly to determine how the event should be responded when a specific event occurs, for example, configuring to execute a specific action or trigger a specific event when a button is clicked, wherein the steps can be completed through a visual interface of the low code platform, and a user can define the event response rules through dragging and configuration; and finally, deploying the configured linkage assembly and the event response rule thereof into a production environment, including converting the target page model into actual codes and resources, and deploying the actual codes and resources on a server or a cloud platform, so that a user can check and test the published linkage assembly and the linkage capability thereof by accessing corresponding websites or applications after completing deployment. In addition, prior to deploying the configured linkage assembly and its event response rules into the production environment, testing and debugging the configured linkage assembly to ensure that it can properly respond to event changes and perform corresponding actions or events, the testing and debugging of which includes simulating user behavior, such as clicking a button, and then checking if the expected response is triggered, and if so, iteratively adjusting and optimizing it until the problem is resolved.
Fig. 3 is a schematic diagram of steps of an attribute linkage design method of a low-code platform facing intelligent device management according to an exemplary embodiment of the present application.
In one embodiment of the present application, as shown in fig. 3, the attribute linkage design method of the low-code platform oriented to intelligent device management includes 5 steps of selecting a page model, selecting a linkage component type, configuring a basic rule, configuring a linkage rule, and configuring a regular rule, and the specific contents are as follows:
selecting a page model: the page model binds the configured linkage components, the page model is selected to obtain a page model configurable linkage component list, the list supports adding, editing, viewing and deleting linkage component metadata configuration items, the capability of transferring linkage component metadata to other page models is provided, and batch transfer, batch deletion, export and import are supported.
Selecting a linkage assembly type: the linkage component type is matched with the linkage rule configuration template, and the attribute configuration and binding value calculation of different types of components are supported.
Basic rule configuration: the configuration item is used as a linkage rule default value, and the basic rule configuration item is used when no linkage rule or no matching linkage rule exists, wherein the basic rule configuration item comprises control of the linkage component to be displayed and hidden, default value, whether filling is needed, whether disabling is needed and regular check matching is carried out.
Linkage rule configuration: selecting a component dictionary forming a linkage rule chain, acquiring optional operation items of node components in the linkage rule chain, selecting optional operation item values as linkage rule conditions corresponding to the node components in the linkage rule chain, configuring all linkage rule conditions to form a complete linkage rule chain, controlling the linkage components to be visible and hidden, calculating a default value, whether filling is needed, disabling selection change and regular check matching.
Regular configuration: and the universal rule can be selected as a form check rule, the last item of the universal rule list is a custom rule option, and the custom rule is selected to finish the operation of inputting the regular expression.
FIG. 4 is a schematic diagram of a low-code platform attribute linkage design flow for intelligent device management according to an exemplary embodiment of the present application.
In one embodiment of the present application, as shown in fig. 4, the low-code platform for intelligent device management includes three parts, namely a linkage designer, a database, and a page model. The linkage designer comprises selecting a page model, selecting a linkage component type, matching a linkage rule configuration template, basic rule configuration, linkage rule configuration and regular configuration; the database comprises an API interface for connecting the linkage designer and the page model; the page model includes a rendering hook to perform rendering operations.
In one embodiment of the present application, the process of visual linkage design for a low-code platform facing intelligent device management includes the steps of:
Firstly, carrying out data transmission on the basis of an API and a database, selecting a page model for configuring a linkage assembly, further selecting an assembly type for configuring the linkage assembly according to the page model, matching a linkage rule configuration template, wherein the linkage rule configuration template comprises an input template, a single selection template, a multi-selection template, a selector template and a time selector template, and further acquiring a page model from the database on the basis of an API interface, wherein the page model comprises an assembly model dictionary (namely a selectable assembly dictionary) capable of constructing a linkage rule by the linkage assembly;
Secondly, configuring basic rules, linkage rules and a regular check method, and storing metadata to a database based on an API interface after configuring the basic rules and the regular check rules. The basic rule is used as a default value of the linkage rule, and a basic rule configuration item is used when the linkage rule is not linked or matched, wherein the basic rule configuration item comprises control of the linkage assembly to be displayed and hidden, the default value, whether filling is needed, whether disabling is needed and regular check matching is carried out; the step of configuring the linkage rule comprises the steps of selecting a component dictionary forming a linkage rule chain, acquiring optional operation items of node components in the linkage rule chain, selecting optional operation item values as linkage rule conditions corresponding to the node components in the linkage rule chain, configuring all linkage rule conditions to form a complete linkage rule chain, controlling the linkage components to be visible and hidden, calculating a default value, whether filling is needed, disabling selection change and regular check matching; the linkage assembly regular checking method is configured, the universal rule can be selected as a form checking rule, the last item of the universal rule list is a user-defined regular option, the user-defined rule is selected, and the operation of inputting the regular expression is completed.
And finally, generating linkage component metadata by the linkage rule configuration items, storing, matching the matched linkage rules in the page rendering hooks in the scene of constructing the linkage component, and giving linkage results and attribute changes to the linkage component.
The attribute linkage design method of the low-code platform for intelligent equipment management provided by the application designs the linkage assembly through the attribute linkage design method of the low-code platform for intelligent equipment management based on the model-driven assembly, can complete the linkage between assemblies in the low-code platform, realizes the linkage zero-code configuration between assemblies, can flexibly respond to the customization requirement of users, and reduces the workload and maintenance cost of manual coding and configuration.
FIG. 5 is a block diagram illustrating an attribute linkage design apparatus for a smart device management oriented low code platform in accordance with an exemplary embodiment of the present application. The device may be applied to the implementation environment shown in fig. 1. The apparatus may also be adapted to other exemplary implementation environments and may be specifically configured in other devices, and the present embodiment is not limited to the implementation environments to which the apparatus is adapted.
As shown in fig. 5, the attribute linkage design apparatus of the low-code platform facing intelligent device management includes: a data acquisition module 510, a data model construction module 520, a template determination module 530, a rule configuration module 540, a component generation module 560, and a linkage module 560.
The data acquisition module 510 is configured to acquire an initial configuration requirement, and determine a target page model and a linkage component type based on the initial configuration requirement; the data model construction module 520 is configured to determine linkage component metadata based on the target page model and the linkage component type, and construct a metadata model based on data attributes of the linkage component metadata; the template determining module 530 is configured to map the metadata attribute to the matching rule configuration template according to the preset attribute configuration logic, so as to obtain a target rule configuration template; the rule configuration module 540 is configured to perform parameter configuration on the linkage assembly according to the target rule configuration template to obtain comprehensive configuration information of the linkage assembly; the component generating module 560 is configured to generate linkage component attribute and linkage rule metadata in combination with the comprehensive configuration information board, and determine the linkage rule metadata as a component in the exclusive low-code platform component library of the target page model based on the linkage component attribute; and the linkage module 560 is used for giving the linkage capability to the target page model on the basis of the component on the exclusive low-code platform, and the linkage capability is used for generating linkage with the existing event and event change on the target page model.
It should be noted that, the attribute linkage design device for the low code platform for intelligent device management provided in the foregoing embodiment and the attribute linkage design method for the low code platform for intelligent device management provided in the foregoing embodiment belong to the same concept, and the specific manner in which each module and unit execute operations has been described in detail in the method embodiment, which is not described herein again. In practical application, the attribute linkage design device of the low-code platform for intelligent device management provided by the embodiment can distribute the functions by different functional modules according to needs, namely, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above, and the device is not limited in this place.
The embodiment of the application also provides electronic equipment, which comprises: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic equipment realizes the attribute linkage design method of the low-code platform facing the intelligent equipment management, which is provided in the above embodiments.
Fig. 6 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the application. It should be noted that, the computer system 600 of the electronic device shown in fig. 6 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a central processing unit (Central Processing Unit, CPU) 601 that can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage portion 608 into a random access memory (Random Access Memory, RAM) 603. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other through a bus 604. An Input/Output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), and a speaker, etc.; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. When executed by a Central Processing Unit (CPU) 601, performs the various functions defined in the system of the present application.
It should be noted that, the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with a computer-readable computer program embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Where each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
Another aspect of the present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method for attribute linkage design of a low-code platform for intelligent device management as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in the electronic device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the attribute linkage design method of the low-code platform for intelligent device management provided in the above embodiments.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. It is therefore intended that all equivalent modifications and changes made by those skilled in the art without departing from the spirit and technical spirit of the present invention shall be covered by the appended claims.

Claims (10)

1. An attribute linkage design method of a low-code platform for intelligent equipment management is characterized by comprising the following steps:
acquiring initial configuration requirements, and determining a target page model and a linkage component type based on the initial configuration requirements, wherein the initial configuration requirements are obtained based on design requirements of a low-code platform oriented to intelligent equipment management;
Determining linkage component metadata based on the target page model and the linkage component type, and constructing a metadata model based on the data attribute of the linkage component metadata;
mapping the metadata attribute to a matching rule configuration template according to preset attribute configuration logic to obtain a target rule configuration template;
Performing parameter configuration on the linkage assembly according to the target rule configuration template to obtain comprehensive configuration information of the linkage assembly;
generating linkage component attributes and linkage rule metadata by combining the comprehensive configuration information board, and determining the linkage rule metadata as one component in a proprietary low-code platform component library of the target page model based on the linkage component attributes;
and on the basis of endowing the target page model with linkage capability on the exclusive low-code platform, the linkage capability is used for generating linkage with the existing event and event change on the target page model.
2. The intelligent device management oriented low code platform attribute linkage design method according to claim 1, further comprising, after determining a target page model and a linkage component type based on the initial configuration requirement:
determining a linkage component metadata list based on the target page model, wherein the linkage component metadata list is used for managing configuration items of linkage component metadata;
and determining a matching rule configuration template based on the linkage component type, wherein the matching rule configuration template comprises an input template, a single selection template, a multi-selection template, a selector template and a time selector template.
3. The intelligent device management oriented low-code platform attribute linkage design method according to claim 1, wherein the linkage assembly parameter configuration comprises:
Configuring basic rules of the linkage assembly, wherein the basic rules are used for being based on basic attributes of the linkage assembly when no linkage rules or no matched linkage rules exist in a target page model;
and configuring a linkage rule of the linkage assembly, wherein the linkage rule is used for determining the linkage attribute of the linkage assembly based on the linkage rule when the linkage rule exists in the target page model.
4. The intelligent device management oriented low-code platform attribute linkage design method according to claim 3, wherein configuring the linkage rule of the linkage assembly further comprises:
Acquiring a component dictionary in the target page model, and constructing a node component and a node attribute value of the node component based on a dictionary enumeration value of the component dictionary;
Generating a component behavior binding value based on any node configuration component and a node attribute value of the node component, and generating a linkage rule condition based on any component behavior binding value;
And combining a plurality of linkage rule conditions to form a linkage rule chain, wherein the linkage rule chain is used for controlling the linkage assembly to be displayed and hidden, calculating a default value, and whether to fill or not and disabling the selection change.
5. The intelligent device management oriented low-code platform attribute linkage design method according to claim 4, wherein the linkage assembly performs parameter configuration, and further comprises:
And configuring an attribute custom algorithm of the linkage assembly, wherein the attribute custom algorithm is used for acquiring node attributes of all node assemblies in the linkage rule chain and assembly behavior binding values corresponding to the node assemblies so as to dynamically calculate default values and implicit rules of the linkage assembly according to the node attributes and the assembly behavior binding values.
6. The intelligent device management oriented low-code platform attribute linkage design method according to claim 1, wherein the linkage assembly performs parameter configuration, and further comprises:
The regular verification method of the configuration linkage assembly is a verification rule executed by the assembly during form verification, and comprises universal regularization or custom regularization.
7. The intelligent device management oriented low-code platform attribute linkage design method according to any one of claims 1-6, wherein mapping metadata attributes onto a matching rule configuration template according to preset attribute configuration logic comprises:
Describing the metadata attribute and the preset attribute configuration logic by using a regular expression;
correcting the regular expression based on metadata and target data so that the regular expression is matched with the target data based on the metadata;
and integrating the corrected regular expression into the matching rule configuration template.
8. An attribute linkage design device of a low-code platform for intelligent device management, which is characterized by comprising:
the data acquisition module is used for acquiring initial configuration requirements and determining a target page model and a linkage assembly type based on the initial configuration requirements;
the data model construction module is used for determining linkage component metadata based on the target page model and the linkage component type and constructing a metadata model based on the data attribute of the linkage component metadata;
the template determining module is used for mapping the metadata attribute to the matching rule configuration template according to the preset attribute configuration logic so as to obtain a target rule configuration template;
The rule configuration module is used for carrying out parameter configuration on the linkage assembly according to the target rule configuration template to obtain comprehensive configuration information of the linkage assembly;
And the component generation module is used for generating linkage component attributes and linkage rule metadata by combining the comprehensive configuration information board, and determining the linkage rule metadata as one component in the exclusive low-code platform component library of the target page model based on the linkage component attributes.
9. An electronic device, the electronic device comprising:
one or more processors;
Storage means for storing one or more programs which, when executed by the one or more processors, cause the electronic device to implement the intelligent device management oriented low-code platform attribute linkage design method of any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the intelligent device management oriented low code platform attribute linkage design method of any one of claims 1 to 7.
CN202311800500.9A 2023-12-25 2023-12-25 Attribute linkage design method, device, equipment and medium for low-code platform for intelligent equipment management Pending CN117908870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311800500.9A CN117908870A (en) 2023-12-25 2023-12-25 Attribute linkage design method, device, equipment and medium for low-code platform for intelligent equipment management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311800500.9A CN117908870A (en) 2023-12-25 2023-12-25 Attribute linkage design method, device, equipment and medium for low-code platform for intelligent equipment management

Publications (1)

Publication Number Publication Date
CN117908870A true CN117908870A (en) 2024-04-19

Family

ID=90683233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311800500.9A Pending CN117908870A (en) 2023-12-25 2023-12-25 Attribute linkage design method, device, equipment and medium for low-code platform for intelligent equipment management

Country Status (1)

Country Link
CN (1) CN117908870A (en)

Similar Documents

Publication Publication Date Title
CN110825362B (en) Low-code application software development system and method
US20220043635A1 (en) Dataflow graph configuration
US11630930B2 (en) Generation of dynamic design flows for integrated circuits
US11561772B2 (en) Low-code development platform
US10628132B2 (en) Inversion of control framework for multiple behaviors of a process
US10845962B2 (en) Specifying user interface elements
US5625823A (en) Method and apparatus for controlling connected computers without programming
CN114035773B (en) Configuration-based low-code form development method, system and device
US20180357078A1 (en) Device with extensibility
US10248386B2 (en) Generating a software complex using superordinate design input
US20230026911A1 (en) Describing changes in a workflow based on changes in structured documents containing workflow metadata
US20210225059A1 (en) Customizable animation experience
Bernaschina et al. Formal semantics of OMG’s Interaction Flow Modeling Language (IFML) for mobile and rich-client application model driven development
US20130080879A1 (en) Methods and apparatus providing document elements formatting
CN106484389B (en) Action stream segment management
CN115202729A (en) Container service-based mirror image generation method, device, equipment and medium
US10732940B2 (en) Enterprise services framework for presentation layer management
CN111104123A (en) Automatic deployment of applications
CN113835691A (en) iOS application development method, system, device, medium and program product
CN110275923B (en) Management method and equipment of plug-in graphics
CN112947907A (en) Method for creating code branch
CN117908870A (en) Attribute linkage design method, device, equipment and medium for low-code platform for intelligent equipment management
US11294644B2 (en) Inversion of control framework for multiple behaviors on top of a process
CN114219882A (en) 3D rendering engine construction method and device, computer equipment and storage medium
CN113806327A (en) Database design method and device and related equipment

Legal Events

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