Code running method and device, computer equipment, storage medium and product

By introducing a container instance pool in the low-code platform, and running custom codes based on the user's concurrent task information and identity information allocated instances, the problem that the operation of custom code in the low-code platform affects resource utilization is solved, and the operation efficiency and resource utilization are improved.

CN119645566APending Publication Date: 2025-03-18CHINA TELECOM CLOUD TECH CO LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202411719956.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In low-code business systems, the operation of user-defined code snippets may affect the low-code runtime process, resulting in reduced resource utilization and low running efficiency.

Method used

By receiving the running instructions of the target user, obtaining concurrent task information and identity information, determining whether the custom code to be run meets the instance allocation conditions, and allocating the instance from the container instance pool based on the instance occupancy information to run the code.

Benefits of technology

It is implemented to isolate the running thread of the code running platform and the running thread of the custom code, improve the efficiency of running custom code, and improve the resource utilization of the container instance pool by reasonably allocating instances.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to a code running method and device, computer equipment, a storage medium and a product. The method comprises the steps of obtaining concurrent task information of a target user at the current moment according to identity information of the target user under the condition that an operation instruction sent by the target user for a to-be-operated custom code is received; according to the concurrent task information and the identity information of the target user, determining whether the custom code to be operated meets an instance distributable condition or not; and if yes, according to the identity information of the target user and the instance occupation information of the custom code, in operation, of the target user, distributing an instance for the custom code to be operated from a container instance pool so as to operate the custom code to be operated. By adopting the method, the resource utilization rate of the low-code platform and the efficiency of running the custom code can be improved.
Need to check novelty before this filing date? Find Prior Art