CN116244536A - Resource reference control method and system for low-code platform - Google Patents

Resource reference control method and system for low-code platform Download PDF

Info

Publication number
CN116244536A
CN116244536A CN202211685956.0A CN202211685956A CN116244536A CN 116244536 A CN116244536 A CN 116244536A CN 202211685956 A CN202211685956 A CN 202211685956A CN 116244536 A CN116244536 A CN 116244536A
Authority
CN
China
Prior art keywords
resource
resource reference
local
relation
low
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
CN202211685956.0A
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.)
Jinxiandai Information Industry Co ltd
Original Assignee
Jinxiandai Information Industry 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 Jinxiandai Information Industry Co ltd filed Critical Jinxiandai Information Industry Co ltd
Priority to CN202211685956.0A priority Critical patent/CN116244536A/en
Publication of CN116244536A publication Critical patent/CN116244536A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present disclosure provides a resource reference control method and system for a low code platform, which is applied to a scenario of developing the same application program by multiple persons, and includes: monitoring the change of the resource configuration of an application program to be developed in real time, and caching the resource reference relation through a local browser of a developer; when the resource is saved, the cached resource reference relation is subjected to persistent storage, wherein the persistent storage comprises local storage and server storage; the server receives resource reference relation caches from local browsers of different developers and only stores the latest resource reference relation; when a developer deletes or changes the resource, the server inquires a resource use list, and if the resource is used, an alarm prompt message is sent out, so that the resource reference control of the low-code platform is realized.

Description

Resource reference control method and system for low-code platform
Technical Field
The disclosure belongs to the technical field of internet, and particularly relates to a resource reference control method and system for a low-code platform.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
The inventor finds that under the conditions of using the low-code development platform to develop application programs and multi-person development, in the process of carrying out resource configuration in the low-code development platform, as a plurality of persons operate the same resource at the same time, when the resource is deleted or the content of the resource is changed, the configured content cannot generate normally used application programs, so that the usability of the low-code development platform development program is affected; meanwhile, most of the existing low-code development platforms delete resources and then find out the resources in the process of configuring other resources, so that developers need to reconfigure the resources again, which is time-consuming and labor-consuming.
Disclosure of Invention
In order to solve the problems, the present disclosure provides a resource reference control method and system for a low-code platform, where the scheme is based on a manner of local file distributed storage and server database storage of resource reference relationships, so that the integrity of resource reference data in multi-person development under the low-code platform is effectively ensured, and the development efficiency is improved.
According to a first aspect of the embodiments of the present disclosure, there is provided a resource reference control method for a low code platform, which is applied to a scenario in which multiple persons develop the same application, including:
monitoring the change of the resource configuration of an application program to be developed in real time, and caching the resource reference relation through a local browser of a developer;
when the resource is saved, the cached resource reference relation is subjected to persistent storage, wherein the persistent storage comprises local storage and server storage; the server receives resource reference relation caches from local browsers of different developers and only stores the latest resource reference relation;
when a developer deletes or changes the resource, the server inquires a resource use list, and if the resource is used, an alarm prompt message is sent out, so that the resource reference control of the low-code platform is realized.
Further, the server receives resource reference relation caches from local browsers of different developers, and only stores the latest resource reference relation, specifically: when the reference relations of the local file systems of different developers are different, an alarm prompt is sent out, and the developer pulls the resource reference relation of the server and the local resource reference relation to be combined, so that the reconstruction of the resource reference relation is realized.
Further, the file information of each resource in the local storage comprises two parts, wherein one part is metadata information for recording the reference relation between the resources, and the other part is detailed content in the resources for recording the reference information in the resources.
Furthermore, the resource reference relation caching is performed through the local browser of the developer, specifically: and temporarily storing the mutual reference relation of all the components in the resources and the association relation among the resources in the browser memory in the form of key value pairs, wherein a key is a unique identifier of a referenced component, and a value is a unique identifier of the referenced component.
According to a second aspect of embodiments of the present disclosure, there is provided a resource reference control system for a low code platform, which is applied to a scenario in which multiple persons develop the same application, comprising:
the caching unit is used for monitoring the change of the resource configuration of the application program to be developed in real time and caching the resource reference relation through a local browser of a developer;
the storage unit is used for carrying out persistent storage on the cached resource reference relationship when the resource is saved, wherein the persistent storage comprises a local storage and a server storage; the server receives resource reference relation caches from local browsers of different developers and only stores the latest resource reference relation;
and the control unit is used for inquiring the resource use list through the server when a developer deletes or changes the resource, and sending out alarm prompt information if the resource is used so as to realize the resource reference control of the low-code platform.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device including a memory, a processor and a computer program stored to run on the memory, the processor implementing the resource reference control method for a low code platform when executing the program.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the described resource reference control method for a low code platform.
Compared with the prior art, the beneficial effects of the present disclosure are:
(1) The scheme effectively solves the problem that the original correct configuration is wrong when the resource information is changed by simultaneous operation of multiple persons due to the fact that the reference relation is generated between resources in a low-code development scene under the conditions of local development and multi-person cooperation.
(2) In a multi-person development scene, the scheme is stored in the database through the reference relation to facilitate inquiring the referenced object of the current resource, and effective prompt is carried out when the resource attribute is modified to influence other configured resources, so that the availability of the application program developed by the low-code development platform is ensured.
Additional aspects of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure, illustrate and explain the exemplary embodiments of the disclosure and together with the description serve to explain the disclosure, and do not constitute an undue limitation on the disclosure.
FIG. 1 is a basic flow diagram of a resource reference control method for a low code platform in accordance with an embodiment of the present disclosure;
FIG. 2 is a flow chart of a resource reference control method for a low code platform incorporating specific examples as described in embodiments of the present disclosure.
Detailed Description
The disclosure is further described below with reference to the drawings and examples.
It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the present disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments in accordance with the present disclosure. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
Term interpretation:
low code development platform: is a development platform that can quickly generate applications without coding (zero code) or with a small amount of code. By means of visualization, application development methods (refer to visual programming languages) enable developers with different experience levels to create web pages and mobile applications through a graphical user interface using drag components and model driven logic.
And (3) assembly: the low code development platform adopts a component form, so that the structuring degree of the code is higher.
The resource: web pages, mobile end pages, data models, workflows, etc. in the low-code development platform can all be considered a resource.
Data model: a set of methods for data processing in a low-code development platform, such as a student model, can provide for pruning and checking student information.
Embodiment one:
an object of the present embodiment is to provide a resource reference control method for a low code platform.
A resource reference control method for a low code platform, which is applied to a scenario where multiple persons develop the same application, comprising:
monitoring the change of the resource configuration of an application program to be developed in real time, and caching the resource reference relation through a local browser of a developer;
when the resource is saved, the cached resource reference relation is subjected to persistent storage, wherein the persistent storage comprises local storage and server storage; the server receives resource reference relation caches from local browsers of different developers and only stores the latest resource reference relation;
when a developer deletes or changes the resource, the server inquires a resource use list, and if the resource is used, an alarm prompt message is sent out, so that the resource reference control of the low-code platform is realized.
Further, the server receives resource reference relation caches from local browsers of different developers, and only stores the latest resource reference relation, specifically: when the reference relations of the local file systems of different developers are different, an alarm prompt is sent out, and the developer pulls the resource reference relation of the server and the local resource reference relation to be combined, so that the reconstruction of the resource reference relation is realized.
Further, the file information of each resource in the local storage comprises two parts, wherein one part is metadata information for recording the reference relation between the resources, and the other part is detailed content in the resources for recording the reference information in the resources.
Furthermore, the resource reference relation caching is performed through the local browser of the developer, specifically: and temporarily storing the mutual reference relation of all the components in the resources and the association relation among the resources in the browser memory in the form of key value pairs, wherein a key is a unique identifier of a referenced component, and a value is a unique identifier of the referenced component.
Further, the resource reference relationship comprises a reference relationship in the resource and a reference relationship among the resources, wherein the reference relationship in the resource is an interrelation relationship of different components in the resource, and the reference relationship among the resources is an interrelation relationship among a plurality of resources.
Furthermore, the local storage adopts a local file storage mode, and the server storage adopts a database storage mode.
In particular, for easy understanding, the following detailed description of the embodiments will be given with reference to the accompanying drawings:
as shown in fig. 1, in order to solve the problems existing in the prior art, the present embodiment provides a resource reference control method for a low code platform, which specifically includes the following steps:
(1) When resource configurations such as pages and data models are changed in a low-code development scene, the local browser caches the intra-resource reference relationship and inter-resource reference relationship which are being configured, wherein the intra-resource reference is the inter-association relationship of different components in one resource, such as the data reference relationship in the components in the pages, in the development process; the inter-resource reference is the association relation among a plurality of resources, such as a method in a page association data model.
Specifically, the reference information in the current developer configuration process is temporarily stored in the browser memory, the mutual reference relation of each component in the resource is temporarily stored in the browser memory in the form of key value pairs, and the key: the referenced component uniquely identifies, value: the unique identification of the reference component, the type of the reference component and the specific content of the reference component are stored in the form of key value pairs, so that information reading operation in configuration is convenient.
(2) When the resources are saved, the temporary reference information in the browser memory is stored into the file system to persist the reference information.
Specifically, the file information of each resource comprises two parts, one part is metadata information of the resource, the data volume is smaller, and the reference information among the resources is recorded; the other part is the detailed content in the resource, the data volume is larger, wherein the reference information in the resource is recorded, and the development of the developer in local next time is facilitated.
(3) And pushing the latest quotation relation of the current file to a unified database of the server for verification and storage while preserving the resources, so as to ensure that the quotation resources in the development of current personnel are not changed by other people.
Specifically, when there is a difference in the reference relationship of local file systems of different people, the server only stores the latest reference relationship information, so that the difference in local development prompts the developer to pull the information at the server end and combine the information with the local information, the process requires the developer to manually process the resource content difference, and the reference information is automatically rebuilt by the system after the processing is completed.
(4) When deleting or changing the resources and the information in the resources, real-time prompt is carried out by inquiring the saved records.
Specifically, for example: when the multi-user uses the low-code development platform to develop the same application program at the same time, the resource 1 of the user A is used by the resource 2, when the user B operates the resource 1, the part which is used in the user B is deleted and modified, the part which is used in the user B can be used in real time, when the specific query step is that the user B operates the resource 1, a used resource list (comprising a resource name, a resource unique identifier, a used content type and specific used resource content) of the query operation resource 1 is sent to a server through the unique identifier of the resource 1, and when the user B inquires that the resource 1 is used, the user B locally prompts that the user B is used.
Embodiment two:
it is an object of this embodiment to provide a resource reference control system for a low code platform.
A resource reference control system for a low code platform, for use in a scenario where multiple persons develop the same application, comprising:
the caching unit is used for monitoring the change of the resource configuration of the application program to be developed in real time and caching the resource reference relation through a local browser of a developer;
the storage unit is used for carrying out persistent storage on the cached resource reference relationship when the resource is saved, wherein the persistent storage comprises a local storage and a server storage; the server receives resource reference relation caches from local browsers of different developers and only stores the latest resource reference relation;
and the control unit is used for inquiring the resource use list through the server when a developer deletes or changes the resource, and sending out alarm prompt information if the resource is used so as to realize the resource reference control of the low-code platform.
Further, the system in this embodiment corresponds to the method in the first embodiment, and the technical details thereof are described in the first embodiment, so that they will not be described herein.
In further embodiments, there is also provided:
an electronic device comprising a memory and a processor and computer instructions stored on the memory and running on the processor, which when executed by the processor, perform the method of embodiment one. For brevity, the description is omitted here.
It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may include read only memory and random access memory and provide instructions and data to the processor, and a portion of the memory may also include non-volatile random access memory. For example, the memory may also store information of the device type.
A computer readable storage medium storing computer instructions which, when executed by a processor, perform the method of embodiment one.
The method in the first embodiment may be directly implemented as a hardware processor executing or implemented by a combination of hardware and software modules in the processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method. To avoid repetition, a detailed description is not provided herein.
Those of ordinary skill in the art will appreciate that the elements of the various examples described in connection with the present embodiments, i.e., the algorithm steps, can be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The resource reference control method and the system for the low-code platform can be realized, and have wide application prospects.
The foregoing description of the preferred embodiments of the present disclosure is provided only and not intended to limit the disclosure so that various modifications and changes may be made to the present disclosure by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (10)

1. A resource reference control method for a low code platform, which is applied to a scenario where multiple persons develop the same application, comprising:
monitoring the change of the resource configuration of an application program to be developed in real time, and caching the resource reference relation through a local browser of a developer;
when the resource is saved, the cached resource reference relation is subjected to persistent storage, wherein the persistent storage comprises local storage and server storage; the server receives resource reference relation caches from local browsers of different developers and only stores the latest resource reference relation;
when a developer deletes or changes the resource, the server inquires a resource use list, and if the resource is used, an alarm prompt message is sent out, so that the resource reference control of the low-code platform is realized.
2. The method for controlling resource reference of low-code platform according to claim 1, wherein the server receives the resource reference relation cache from local browsers of different developers and only saves the latest resource reference relation, specifically: when the reference relations of the local file systems of different developers are different, an alarm prompt is sent out, and the developer pulls the resource reference relation of the server and the local resource reference relation to be combined, so that the reconstruction of the resource reference relation is realized.
3. The method for controlling resource reference of low-code platform according to claim 1, wherein the file information of each resource in the local storage comprises two parts, one part is metadata information for recording the reference relation between the resources, and the other part is details in the resource for recording the reference information in the resource.
4. The method for controlling resource reference of low-code platform according to claim 1, wherein the resource reference relation caching is performed by a local browser of a developer, specifically: and temporarily storing the mutual reference relation of all the components in the resources and the association relation among the resources in the browser memory in the form of key value pairs, wherein a key is a unique identifier of a referenced component, and a value is a unique identifier of the referenced component.
5. The method for controlling resource reference of low-code platform according to claim 1, wherein the resource reference relationship comprises an intra-resource reference relationship and an inter-resource reference relationship, the intra-resource reference relationship is an inter-association relationship of different components in a resource, and the inter-resource reference relationship is an association relationship among a plurality of resources.
6. The method for controlling resource references of a low-code platform according to claim 1, wherein the local storage adopts a local file storage mode, and the server storage adopts a database storage mode.
7. A resource reference control system for a low code platform, characterized in that it is applied to a scenario where multiple persons develop the same application, comprising:
the caching unit is used for monitoring the change of the resource configuration of the application program to be developed in real time and caching the resource reference relation through a local browser of a developer;
the storage unit is used for carrying out persistent storage on the cached resource reference relationship when the resource is saved, wherein the persistent storage comprises a local storage and a server storage; the server receives resource reference relation caches from local browsers of different developers and only stores the latest resource reference relation;
and the control unit is used for inquiring the resource use list through the server when a developer deletes or changes the resource, and sending out alarm prompt information if the resource is used so as to realize the resource reference control of the low-code platform.
8. The resource reference control system for low code platforms of claim 7, wherein the server receives resource reference relationship caches from different developer local browsers and stores only the latest resource reference relationship, specifically: when the reference relations of the local file systems of different developers are different, an alarm prompt is sent out, and the developer pulls the resource reference relation of the server and the local resource reference relation to be combined, so that the reconstruction of the resource reference relation is realized.
9. An electronic device comprising a memory, a processor and a computer program stored to run on the memory, wherein the processor implements a resource reference control method for a low code platform as claimed in any of claims 1-6 when executing the program.
10. A non-transitory computer readable storage medium, having stored thereon a computer program, which when executed by a processor implements a resource reference control method for a low code platform as claimed in any of claims 1-6.
CN202211685956.0A 2022-12-27 2022-12-27 Resource reference control method and system for low-code platform Pending CN116244536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211685956.0A CN116244536A (en) 2022-12-27 2022-12-27 Resource reference control method and system for low-code platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211685956.0A CN116244536A (en) 2022-12-27 2022-12-27 Resource reference control method and system for low-code platform

Publications (1)

Publication Number Publication Date
CN116244536A true CN116244536A (en) 2023-06-09

Family

ID=86630450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211685956.0A Pending CN116244536A (en) 2022-12-27 2022-12-27 Resource reference control method and system for low-code platform

Country Status (1)

Country Link
CN (1) CN116244536A (en)

Similar Documents

Publication Publication Date Title
US8775923B1 (en) Web page restoration
US20130080349A1 (en) Management and notification of object model changes
US10503613B1 (en) Efficient serving of resources during server unavailability
CN111125598A (en) Intelligent data query method, device, equipment and storage medium
CN114138244A (en) Method and device for automatically generating model files, storage medium and electronic equipment
CN110188308B (en) Client automatic dotting reporting method, storage medium, equipment and system
CN111782201A (en) Method and device for realizing linkage of service codes and layout topological graph
CN111240772A (en) Data processing method and device based on block chain and storage medium
CN107688650A (en) A kind of web page generation method and device
CN116244536A (en) Resource reference control method and system for low-code platform
CN112835779A (en) Test case determination method and device and computer equipment
CN113626483B (en) Front-end caching method, system, equipment and storage medium for filling forms
CN104166541A (en) Method and device for updating measured control library
CN116243910A (en) Micro-service domain division method and device, electronic equipment and storage medium
CN115563423A (en) Data acquisition method and device, computer equipment and storage medium
US8793663B2 (en) Smart cache for a server test environment in an application development tool
CN110704742B (en) Feature extraction method and device
CN112817953A (en) Data verification method and device, computer equipment and computer-readable storage medium
CN115248682A (en) Code development data processing method and device, computer equipment and storage medium
CN113762702A (en) Workflow deployment method, device, computer system and readable storage medium
CN112269677A (en) Rollback operation device, method, equipment and medium under heterogeneous cloud platform
US7257455B1 (en) System and method for collecting and representing knowledge using task-method-knowledge with structure-behavior-function in a computer system
CN113986322B (en) Method, device and storage medium for dynamically modifying page codes
CN115328878B (en) Log data storage system, method, device and medium
US20140316851A1 (en) Predicting customer receptivity for commercial engagement

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