CN117435237A - Storage configuration method, device, terminal equipment and medium based on low-code platform - Google Patents
Storage configuration method, device, terminal equipment and medium based on low-code platform Download PDFInfo
- Publication number
- CN117435237A CN117435237A CN202311289883.8A CN202311289883A CN117435237A CN 117435237 A CN117435237 A CN 117435237A CN 202311289883 A CN202311289883 A CN 202311289883A CN 117435237 A CN117435237 A CN 117435237A
- Authority
- CN
- China
- Prior art keywords
- application
- storage
- modified
- storage type
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000004590 computer program Methods 0.000 claims description 19
- 230000000977 initiatory effect Effects 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 30
- 238000011161 development Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000010354 integration Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 239000000306 component Substances 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000008358 core component Substances 0.000 description 2
- 238000013523 data management Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 210000001503 joint Anatomy 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a storage configuration method, a device, terminal equipment and a medium based on a low-code platform, wherein the method comprises the following steps: acquiring application numbers of all first applications and each first application in a low-code platform; generating a storage configuration catalog according to the application numbers, the preset storage types and the access information of each first application; wherein the access information is determined by a storage type; when the storage type of any first application in the storage configuration catalog is detected to be modified, the first application with the modified storage type is used as a second application; acquiring an application number of the second application and a corresponding modified storage type; and determining an access address and an access account number of the storage service corresponding to the modified storage type according to the modified storage type and the application number of the second application, and updating the access information of the second application by using the access address and the access account number of the storage service corresponding to the modified storage type.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a storage configuration method, apparatus, terminal device, and medium based on a low code platform.
Background
The low code platform is a software development platform that allows developers to quickly build and deploy applications by drag-and-drop and automatically generating code using little programming knowledge. "Low code" here means that the amount of code required for application development using such a platform is very small. The low code platform is mainly composed of two core components: a visualization development interface and a code generator. By visualizing the development interface, a developer can build an application by dragging and dropping elements and configuration components. The code generator may generate code required by the application from these elements and configurations, including front-end code and back-end code. Meanwhile, the low-code platform also provides some tools and integration functions, such as convenient data management and integration, automatic deployment, security and authority management, and the like, so that the whole development and deployment process is simplified.
When the existing storage mode corresponding to the page configuration by the low-code platform is adopted, a user can configure only one page at a time on the low-code platform, and the configuration of the storage mode used by the page is completed on the low-code platform according to the page to be configured and the storage mode to be configured correspondingly. For example: the user needs to configure the file uploading and downloading of a selected page to be realized through the OSS storage, then the page needs to be selected on the low code platform, and the information such as OSS address, required storage space, URL and the like is configured one by one in the development interface provided by the low code platform. This approach requires the user to have a certain expertise, has a high threshold of use, and has low configuration efficiency.
Disclosure of Invention
The embodiment of the invention provides a storage configuration method, a storage configuration device, terminal equipment and a storage configuration medium based on a low-code platform, which can improve the configuration efficiency of application storage types in the low-code platform.
An embodiment of the present invention provides a storage configuration method based on a low-code platform, including:
acquiring application numbers of all first applications and each first application in a low-code platform;
generating a storage configuration catalog according to the application numbers, the preset storage types and the access information of each first application; wherein the access information is determined by a storage type;
when the storage type of any first application in the storage configuration catalog is detected to be modified, the first application with the modified storage type is used as a second application;
acquiring an application number of the second application and a corresponding modified storage type;
and determining an access address and an access account number of the storage service corresponding to the modified storage type according to the modified storage type and the application number of the second application, and updating the access information of the second application by using the access address and the access account number of the storage service corresponding to the modified storage type.
Further, the generating a storage configuration directory according to the application number, the preset storage type and the preset access information of each first application includes:
generating storage configuration information of each first application according to the application number, the preset storage type and the preset access information of each first application;
and generating the storage configuration catalog according to the storage configuration information of the first applications.
Further, the storage type includes: local disk storage, object storage service and distributed file storage service
Further, the method further comprises the following steps:
constructing a first API for realizing file uploading;
when any first application initiating a file uploading request is detected, a token generated by a user when a low-code platform logs in is obtained, and the token is transmitted into the first API;
when the first API verifies that the token is an effective token, analyzing an application code of a first application corresponding to a file uploading request from the token;
acquiring corresponding access information from the storage configuration catalog according to an application code of a first application corresponding to the initiating file uploading request;
and calling a preset storage API according to the access information to finish file uploading.
Further, the method further comprises the following steps:
constructing a second API for file downloading;
when any first application initiating a file downloading request is detected, a token generated by a user when a low-code platform logs in is obtained, and the token is transmitted into the second API;
when the second API verifies that the token is a valid token, analyzing an application code of a first application corresponding to a file downloading request from the token;
acquiring corresponding access information from the storage configuration catalog according to an application code of a first application corresponding to the initiated file downloading request;
and calling a preset storage API according to the access information to finish file downloading.
On the basis of the method item embodiments, the invention correspondingly provides device item embodiments;
an embodiment of the present invention correspondingly provides a storage configuration device based on a low-code platform, including: a storage configuration catalog generation module and a storage type change module;
the storage configuration catalog generation module is used for acquiring all the first applications and the application numbers of each first application in the low-code platform; generating a storage configuration catalog according to the application numbers, the preset storage types and the access information of each first application; wherein the access information is determined by a storage type;
the storage type changing module is used for taking the first application with the modified storage type as a second application when detecting that the storage type of any first application in the storage configuration catalog is modified; acquiring an application number of the second application and a corresponding modified storage type; and determining an access address and an access account number of the storage service corresponding to the modified storage type according to the modified storage type and the application number of the second application, and updating the access information of the second application by using the access address and the access account number of the storage service corresponding to the modified storage type.
Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements a storage configuration method based on a low-code platform according to the embodiment of the present invention when the processor executes the computer program.
Another embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, where when the computer program runs, the device where the storage medium is controlled to execute a storage configuration method based on the low-code platform according to the embodiment of the present invention.
The invention has the following beneficial effects:
the invention provides a storage configuration method, a device, a terminal device and a medium based on a low-code platform, wherein the method is characterized in that all first applications in the low-code platform and application numbers of each first application are obtained, and a storage configuration catalog is generated by combining preset storage types and access information; when the storage type of any first application in the storage configuration catalog is detected to be modified, the first application with the modified storage type is used as a second application, the application number of the second application and the storage type corresponding to the modified application are acquired, then a new access address and an access account number are generated according to the modified information, and the access information of the second application is updated by the new access address and the new access account number. By means of constructing the storage configuration catalog, the storage types of each page in the application do not need to be configured one by one, and by means of directly acquiring the application and endowing the application with the preset storage types, the configuration efficiency of the application storage types in the low-code platform is improved. Furthermore, the user can conveniently modify the storage type of the application by detecting the modification of the user to the storage type and updating the access information, so that the user has no technical requirement, and the use threshold is reduced.
Drawings
Fig. 1 is a flow chart of a storage configuration method based on a low-code platform according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a domain model of a code system for implementing the configuration method according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a storage configuration device based on a low-code platform according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to facilitate understanding of the technical process of the embodiments of the present invention, some terms related to the embodiments of the present invention are explained below:
(1) Low code platform: the low code platform is a software development platform that allows developers to quickly build and deploy applications by drag-and-drop and automatically generating code using little programming knowledge. "Low code" here means that the amount of code required for application development using such a platform is very small. The low code platform is mainly composed of two core components: a visualization development interface and a code generator. By visualizing the development interface, a developer can build an application by dragging and dropping elements and configuration components. The code generator may generate code required by the application from these elements and configurations, including front-end code and back-end code. Meanwhile, the low-code platform also provides some tools and integration functions, such as convenient data management and integration, automatic deployment, security and authority management, and the like, so that the whole development and deployment process is simplified.
(2) Object storage service: all Object Storage Service, abbreviated OSS. OSS is an internet technology service, which is a mass data storage solution provided by the alicloud, and can store and access any type of file (pictures, videos, documents, logs, etc.). The OSS adopts a distributed storage architecture, can realize infinitely extended storage space, and simultaneously provides high availability, high security, high reliability and high concurrency, and provides flexible, safe and reliable mass data storage service for users. OSS supports a variety of storage types, such as standard storage, low frequency access storage, archive storage, and cold archive storage. The user can select the corresponding storage type according to the type of data to be stored and the storage requirement. In addition, OSS also provides various security mechanisms, such as anti-hotlinking, access rights control, encrypted transmission, etc., to ensure the security of user data. The OSS provides a simple and easy-to-use API interface and an SDK, and is convenient for developers to upload, download, delete, copy, move and the like. In addition, OSS is tightly integrated with other alicloud products, such as CDN, ECS, RDS, etc., providing an all-round cloud service solution to meet users of different needs.
(3) Distributed file storage service: all Hadoop Distributed File System, abbreviated as HDFS, mainly provides mass data storage services for various distributed computing frameworks such as Spark, mapReduce, and meanwhile, HBase and Hive underlying storage also depend on HDFS. HDFS provides a unified abstract directory tree through which clients can access files.
(4) S3 protocol: is known as Simple Storage Service, and is an object storage service provided by amazon cloud computing service (Amazon Web Services).
As shown in fig. 1, a storage configuration method based on a low-code platform according to an embodiment of the present invention includes:
step S1: acquiring application numbers of all first applications and each first application in a low-code platform;
step S2: generating a storage configuration catalog according to the application numbers, the preset storage types and the access information of each first application; wherein the access information is determined by a storage type;
step S3: when the storage type of any first application in the storage configuration catalog is detected to be modified, the first application with the modified storage type is used as a second application;
step S4: acquiring an application number of the second application and a corresponding modified storage type;
step S5: and determining an access address and an access account number of the storage service corresponding to the modified storage type according to the modified storage type and the application number of the second application, and updating the access information of the second application by using the access address and the access account number of the storage service corresponding to the modified storage type.
For step S1, the application numbers of all the existing applications (i.e. the first application) in the low-code platform are obtained. Fig. 2 is a schematic diagram of a field model of a code-carrying system for implementing the configuration method according to an embodiment of the present invention, where a low-code platform is generally formed by SaaS software providing front-end services to users and a corresponding back-end storage gateway. Application 1 and application 2 … application N exist in the current low-code platform, and the application numbers of the application 1 and the application 2 … application N are acquired.
It should be noted that SaaS is the basic software of the low code platform, and is used to run user applications.
For step S2, a storage configuration directory is generated in SaaS according to the application number of application 1, application 2, … and application N, the preset storage type and the access information. When the method is initially generated, each application preset storage type is set to be local disk storage, and because the application preset storage type is set to be the local disk storage, the corresponding access information is set to be an address corresponding to a local disk or defaults to be null.
In a preferred embodiment, the generating the storage configuration directory according to the application number, the preset storage type and the preset access information of each first application includes: generating storage configuration information of each first application according to the application number, the preset storage type and the preset access information of each first application; and generating the storage configuration catalog according to the storage configuration information of the first applications.
Specifically, as shown in fig. 2, the storage configuration directory is formed in a form that each application corresponds to storage configuration information, and the storage configuration information includes an application number, a storage type, and access information of the application. Preferably, after the storage configuration directory is generated for the first time, the SaaS software displays the storage configuration directory in the low-code platform, so that a user can modify the storage configuration directory. When a user adds a new application in the low-code platform, the storage configuration catalog is not repeatedly generated, and the storage configuration information corresponding to the newly added application is directly written in the constructed storage configuration catalog. In addition, the storage configuration information of the newly added application can be directly written in the storage configuration catalog through a user at the low-code interface.
In a preferred embodiment, the storage type includes: local disk storage, object storage services, and distributed file storage services.
Specifically, the storage types include local disk storage, OSS storage (i.e., the object storage service described above), and HDFS storage (i.e., the distributed file storage service described above). In addition to the above listed storage types, extended storage types may be configured, where the configured storage types do not require reconfiguration of the access information, and for extended storage types, user execution of the configuration access information is required.
And for the step S3 and the step S4, when the storage type of any application in the storage configuration catalog in the SaaS is detected to be modified, responding to the modification operation of a user, and taking the application with the currently modified storage type as the second application. And simultaneously determining the modified storage type and the application number of the second application through the corresponding storage configuration information in the storage configuration catalog.
And for the step S5, determining an access address and an access account corresponding to the modified storage type according to the modified storage type and the application number of the second application, and updating the access information recorded in the storage configuration catalog of the second application by the determined new access address and access account. For example: the storage type of the current application 1 is local disk storage, and the access information is a local disk address; when a user modifies the storage type of the application 1 into an OSS storage, an access address corresponding to the OSS storage and an access account corresponding to the login OSS storage are obtained, and the access address of the application 1 is updated from an original local disk address to the access address corresponding to the OSS storage and the access account corresponding to the login OSS storage. Preferably, the access information can also be directly modified in the SaaS by the user. After the corresponding access information is modified, when the subsequent user uses the application 1 to execute file uploading or file downloading, the external OSS storage can be accessed by acquiring the corresponding access information, and then the corresponding file uploading or file downloading is realized.
In a preferred embodiment, further comprising: constructing a first API for realizing file uploading; when any first application initiating a file uploading request is detected, a token generated by a user when a low-code platform logs in is obtained, and the token is transmitted into the first API; when the first API verifies that the token is an effective token, analyzing an application code of a first application corresponding to a file uploading request from the token; acquiring corresponding access information from the storage configuration catalog according to an application code of a first application corresponding to the initiating file uploading request; and calling a preset storage API according to the access information to finish file uploading.
In another preferred embodiment, further comprising: constructing a second API for file downloading; when any first application initiating a file downloading request is detected, a token generated by a user when a low-code platform logs in is obtained, and the token is transmitted into the second API; when the second API verifies that the token is a valid token, analyzing an application code of a first application corresponding to a file downloading request from the token; acquiring corresponding access information from the storage configuration catalog according to an application code of a first application corresponding to the initiated file downloading request; and calling a preset storage API according to the access information to finish file downloading.
Specifically, the storage gateway in the low-code platform is a module newly added in the application, and is mainly implemented by storing APIs of various standards in the storage gateway so that the storage gateway is used as a medium for communicating with an external storage system. When the SaaS uses the storage service provided by the external storage system, the storage gateway needs to verify and guide access. For example: when a user initiates a file uploading request in the application 1, a token contained in account information used when the user logs in the SaaS in the low-code platform is obtained. It should be noted that, the SaaS is used as software for providing services, before the user uses the application provided in the SaaS, the user needs to log in through the login account information, when the user submits the login account to log in, a request for checking the account information is sent to the back end of the low code platform, when the verification of the back end is passed, the user completes the login, and at the same time, when the verification of the back end is passed, a token information is generated in the login information of the current user. Therefore, the logged-in user carries the corresponding token. When a user initiates a file uploading request in the application 1, whether the token of the user is valid or not needs to be checked, if not, the user login is expired, and at the moment, the user does not initiate the file uploading request. If the user is in a login state, the user is indicated to be in the login state, a first API in the storage gateway analyzes the token, further, application codes of an application 1 initiating a file uploading request are determined, corresponding storage configuration information is read from a storage configuration catalog according to application codes 4 of the application 1, for example, the storage type of the current application 1 is OSS storage, an access address and an access account number of the OSS storage are obtained, and then a preset storage API in the storage gateway is called to complete uploading of the file. The downloading of the file is similar to the principle of uploading the file, and will not be described in detail here.
It should be noted that the following rules should be followed by the API that implements file upload (i.e., the first API described above): (1) employing HTTP POST requests; (2) Content-Type is form-data; (3) incoming in a Header: the Authorization is $ { TOKEN }; (4) The file content parameter fileContent and the file unique identifier parameter fileID are required to be transmitted into the form parameters. The API for implementing file download (i.e. the second API described above) has to follow the following rules: (1) employing HTTP POST requests; (2) Content-Type is application or json; (3) incoming in a Header: the Authorization is $ { TOKEN }; (4) in Body: { "fileID": "the file unique identifier corresponds to the fileID parameter at the time of file upload" }.
Preferably, the preset storage API adopted by the invention is an S3 protocol, and the storage gateway interfaces with the OSS storage service through the S3 protocol. The S3 protocol has the advantages that the S3 protocol is supported by the mainstream OSS products at present, and the S3 protocol is used for butt joint, so that all the mainstream OSS products can be in seamless butt joint, different users can select different OSS products to use, compatible development is not needed for the platform, and the platform has strong compatibility. And downloading an SDK development packet of the S3 API from the AWS functional network, introducing the SDK development packet into a code item corresponding to the storage gateway, and calling an uploading and downloading interface in the SDK of the S3 API when uploading and downloading files from the OSS storage is needed.
It should be noted that the S3 protocol has the following characteristics: scalability: s3 allows you to store and retrieve data without limitation and with a high degree of scalability, can handle workloads of various scales. Reliability: s3, a data redundancy and fault transfer mechanism is provided, and safe, reliable and sustainable access of data is ensured. Safety: s3 supports multi-level data security control including Access Control Lists (ACLs), bucket policies, and encryption options to ensure confidentiality and integrity of data. Data consistency: s3, a reading model with strong consistency and event ul consistency is provided, and consistency of data during writing and reading is ensured. Simple API interface: the API interface of S3 is simple and easy to use, supports various programming languages and development tools, and enables a developer to easily integrate and use S3 services. The design and implementation of the S3 protocol enables it to adapt to the object storage services (OSS products) of the main stream. Many cloud service providers and open source projects support the S3 protocol, which means you can use the S3 protocol to be compatible and interoperable with these services. This compatibility and interoperability allows you to flexibly migrate and manage data in different cloud environments without changing existing applications and tools. By using the S3 protocol, you can store data in various cloud storage services, including amazon S3, microsoft Azure Blob store, *** Cloud Storage, etc., as well as some open-source object storage solutions, such as Ceph, minIO, etc. This gives you more options to meet different needs and budgets. In summary, the S3 protocol has the characteristics of scalability, reliability, security, and simple API interfaces, making it a generic protocol that adapts to mainstream OSS products.
On the basis of the method item embodiments, the invention correspondingly provides the device item embodiments.
As shown in fig. 3, an embodiment of the present invention provides a storage configuration device based on a low code platform, including: a storage configuration catalog generation module and a storage type change module;
the storage configuration catalog generation module is used for acquiring all the first applications and the application numbers of each first application in the low-code platform; generating a storage configuration catalog according to the application numbers, the preset storage types and the access information of each first application; wherein the access information is determined by a storage type;
the storage type changing module is used for taking the first application with the modified storage type as a second application when detecting that the storage type of any first application in the storage configuration catalog is modified; acquiring an application number of the second application and a corresponding modified storage type; and determining an access address and an access account number of the storage service corresponding to the modified storage type according to the modified storage type and the application number of the second application, and updating the access information of the second application by using the access address and the access account number of the storage service corresponding to the modified storage type.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
It will be clear to those skilled in the art that, for convenience and brevity, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
On the basis of the method item embodiment, the invention correspondingly provides a terminal equipment item embodiment.
An embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements a storage configuration method based on a low-code platform according to any one of the present invention when the processor executes the computer program.
The terminal device may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor, a memory.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device, and which connects various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store the computer program, and the processor may implement various functions of the terminal device by running or executing the computer program stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Based on the method item embodiments, the invention correspondingly provides storage medium item embodiments.
An embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, where when the computer program runs, the device where the storage medium is controlled to execute a storage configuration method based on a low-code platform according to any one of the present invention.
The storage medium is a computer readable storage medium, and the computer program is stored in the computer readable storage medium, and when executed by a processor, the computer program can implement the steps of the above-mentioned method embodiments. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.
Claims (8)
1. A storage configuration method based on a low code platform, comprising:
acquiring application numbers of all first applications and each first application in a low-code platform;
generating a storage configuration catalog according to the application numbers, the preset storage types and the access information of each first application; wherein the access information is determined by a storage type;
when the storage type of any first application in the storage configuration catalog is detected to be modified, the first application with the modified storage type is used as a second application;
acquiring an application number of the second application and a corresponding modified storage type;
and determining an access address and an access account number of the storage service corresponding to the modified storage type according to the modified storage type and the application number of the second application, and updating the access information of the second application by using the access address and the access account number of the storage service corresponding to the modified storage type.
2. The method for storing and configuring a low-code platform according to claim 1, wherein the generating a storage configuration directory according to the application number, the preset storage type and the preset access information of each first application includes:
generating storage configuration information of each first application according to the application number, the preset storage type and the preset access information of each first application;
and generating the storage configuration catalog according to the storage configuration information of the first applications.
3. The low code platform based storage configuration method of claim 1, wherein the storage type comprises: local disk storage, object storage services, and distributed file storage services.
4. The low code platform based storage configuration method of claim 1, further comprising:
constructing a first API for realizing file uploading;
when any first application initiating a file uploading request is detected, a token generated by a user when a low-code platform logs in is obtained, and the token is transmitted into the first API;
when the first API verifies that the token is an effective token, analyzing an application code of a first application corresponding to a file uploading request from the token;
acquiring corresponding access information from the storage configuration catalog according to an application code of a first application corresponding to the initiating file uploading request;
and calling a preset storage API according to the access information to finish file uploading.
5. The low code platform based storage configuration method of claim 4, further comprising:
constructing a second API for file downloading;
when any first application initiating a file downloading request is detected, a token generated by a user when a low-code platform logs in is obtained, and the token is transmitted into the second API;
when the second API verifies that the token is a valid token, analyzing an application code of a first application corresponding to a file downloading request from the token;
acquiring corresponding access information from the storage configuration catalog according to an application code of a first application corresponding to the initiated file downloading request;
and calling a preset storage API according to the access information to finish file downloading.
6. A low code platform based storage configuration apparatus, comprising: a storage configuration catalog generation module and a storage type change module;
the storage configuration catalog generation module is used for acquiring all the first applications and the application numbers of each first application in the low-code platform; generating a storage configuration catalog according to the application numbers, the preset storage types and the access information of each first application; wherein the access information is determined by a storage type;
the storage type changing module is used for taking the first application with the modified storage type as a second application when detecting that the storage type of any first application in the storage configuration catalog is modified; acquiring an application number of the second application and a corresponding modified storage type; and determining an access address and an access account number of the storage service corresponding to the modified storage type according to the modified storage type and the application number of the second application, and updating the access information of the second application by using the access address and the access account number of the storage service corresponding to the modified storage type.
7. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a low code platform based storage configuration method according to any one of claims 1 to 5 when executing the computer program.
8. A storage medium comprising a stored computer program, wherein the computer program when run controls a device in which the storage medium is located to perform a low code platform based storage configuration method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311289883.8A CN117435237A (en) | 2023-10-07 | 2023-10-07 | Storage configuration method, device, terminal equipment and medium based on low-code platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311289883.8A CN117435237A (en) | 2023-10-07 | 2023-10-07 | Storage configuration method, device, terminal equipment and medium based on low-code platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117435237A true CN117435237A (en) | 2024-01-23 |
Family
ID=89556099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311289883.8A Pending CN117435237A (en) | 2023-10-07 | 2023-10-07 | Storage configuration method, device, terminal equipment and medium based on low-code platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117435237A (en) |
-
2023
- 2023-10-07 CN CN202311289883.8A patent/CN117435237A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10812566B2 (en) | Distributed steam processing | |
JP6621543B2 (en) | Automatic update of hybrid applications | |
CN109274722B (en) | Data sharing method and device and electronic equipment | |
CN109478149B (en) | Access services in a hybrid cloud computing system | |
US11675774B2 (en) | Remote policy validation for managing distributed system resources | |
CN110198334B (en) | Access method and device based on object storage service and storage medium | |
CN109479062B (en) | Usage tracking in hybrid cloud computing systems | |
US11799644B2 (en) | Default password removal | |
Calcote et al. | Istio: Up and running: Using a service mesh to connect, secure, control, and observe | |
US10397051B1 (en) | Configuration and testing of network-based service platform resources using a service platform specific language | |
US12034728B2 (en) | Dynamic access control in service mesh with service broker | |
CN112437078A (en) | File storage method, device, equipment and computer readable storage medium | |
Tamboli | Build your own IoT platform | |
Sanderson | Programming Google App Engine with Python: Build and Run Scalable Python Apps on Google's Infrastructure | |
KR102132118B1 (en) | Apparatus and method for supporting workspace based on blockchain | |
US20160373421A1 (en) | Virtual content repository | |
JP2024501401A (en) | Decentralized broadcast encryption and key generation facility | |
WO2021047227A1 (en) | Cross-region service sharing method, apparatus and management device, and storage medium | |
Kessin | Building Web Applications with Erlang: Working with REST and Web Sockets on Yaws | |
Chowhan | Hands-on Serverless Computing: Build, Run and Orchestrate Serverless Applications Using AWS Lambda, Microsoft Azure Functions, and Google Cloud Functions | |
US20230137345A1 (en) | System and method for decentralized user controlled social media | |
AU2021402251B2 (en) | Key rotation on publish-subscribe system | |
WO2022073458A1 (en) | Data modification method for object storage service, service node, client and device | |
CN117435237A (en) | Storage configuration method, device, terminal equipment and medium based on low-code platform | |
Padhy et al. | An automation API for authentication and security for file uploads in the cloud storage environment |
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 |