A method and system for real-time collaboration in cloud IDE based on low-code platform

By establishing a WebSocket connection between the client and the cloud server on the low-code platform, real-time communication and code synchronization are achieved, which solves the shortcomings of multi-person collaboration and real-time synchronization in the existing technology, improves development efficiency and collaboration experience, and through machine learning Models provide intelligent suggestions and auto-completion.

CN118779135BActive Publication Date: 2025-01-21SHANDONG INSPUR SCI RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411272941.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-01-21
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

The existing low-code platform has shortcomings in multi-person collaboration, real-time synchronization, intelligent suggestions and efficient communication. Especially after the generated code is automatically placed in the code repository, developers need an efficient cloud IDE for collaborative development anytime, anywhere.

Method used

Real-time communication is achieved by establishing a WebSocket connection between the client and the cloud server on a low-code platform. The client records the developer's operations and generates operation objects, which are sent to the cloud server through WebSocket. The cloud server analyzes the operation object based on the syntax tree and dependency graph, determines whether there is a conflict, and provides feedback notification when a conflict exists. Otherwise, it updates the global code copy and synchronizes it to all clients. In addition, code suggestions and auto-completion are provided through machine learning models, and real-time voice/video calls are supported to improve team collaboration.

Benefits of technology

It achieves real-time synchronization of multi-person collaborative development, reduces conflicts, enhances the collaboration experience, and improves development efficiency through intelligent suggestions and automatic completion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779135B_ABST
    Figure CN118779135B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of computer technology, and in particular to a method and system for real-time collaboration in a cloud IDE based on a low-code platform. The present invention maintains real-time communication by establishing a WebSocket connection between a client and a cloud server. When a developer operates on the client, the operation is captured and a unique operation object is generated for each operation, and the operation object is synchronized to the server through WebSocket. After receiving the operation object, the cloud server checks whether there is a conflict with the global code copy, and when a conflict is detected, the cloud server feeds back a conflict notification to the client that sent the operation object, and makes modifications until the conflict is resolved; if not, the global code copy is updated according to the operation object and a global operation log is generated, and the updated global copy code is synchronized to all clients, so that each client performs update synchronization, thereby helping to reduce conflicts and enhance the collaboration experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and system for real-time collaboration in a cloud IDE based on a low-code platform. Background Art

[0002] Low-code platforms have significantly improved the efficiency of application development through visual modeling and automatic code generation. However, existing low-code platforms still have shortcomings in multi-person collaboration, real-time synchronization, intelligent suggestions, and efficient communication. Especially when the generated code is automatically placed in the code repository, developers need an efficient cloud IDE for collaborative development anytime and anywhere. Summary of the invention

[0003] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a method and system for real-time collaboration of cloud IDE based on a low-code platform, which helps to improve development efficiency, reduce conflicts and enhance the collaborative experience.

[0004] In order to implement the above technical solution, in a first aspect, the present invention provides a method for real-time collaboration of a cloud IDE based on a low-code platform, comprising: step 1: maintaining a real-time connection between the client and the cloud server via WebSocket;

[0005] Step 2: The client records the operations performed by the developer on it and generates a unique operation object for each operation;

[0006] Step 3: Send the operation object to the cloud server via WebSocket;

[0007] Step 4: The cloud server analyzes the operation object based on the syntax tree and dependency graph to determine whether there is a conflict. If so, a conflict notification is fed back to the client that sent the operation object. If not, the global code copy is updated according to the operation object and a global operation log is generated, and the updated global copy code is synchronized to all clients.

[0008] Step 5: The client performs a modification operation based on the received conflict notification, and after generating a modification operation object based on the modification operation, proceeds to step 3.

[0009] Furthermore, the step 4 includes:

[0010] The cloud server builds the syntax tree and dependency graph of the global copy code by periodically indexing the global copy code;

[0011] The cloud server uses a global analysis machine learning model to continuously analyze the syntax tree and dependency graph of the global copy code to extract the global copy code context information;

[0012] Based on the context information of the extracted global copy code, determine whether the operation object conflicts with the global copy code. If so, a conflict notification is fed back to the client that sent the operation object. If not, the global code copy is updated according to the operation content of the operation object and the updated global copy code is synchronized to all clients.

[0013] Furthermore, the method also includes: generating code suggestions based on context awareness of the global copy code.

[0014] Furthermore, the generating of code suggestions based on context awareness of the global copy code includes:

[0015] Train the machine learning model to generate a pre-trained code suggestion model;

[0016] The code suggestion model is context-aware of the global code copy to generate code suggestions and auto-completion.

[0017] Furthermore, the client performs a modification operation based on receiving the conflict notification, including:

[0018] Developers can initiate or join real-time voice / video calls through the client, discuss directly with team members, and make modifications based on the discussion results;

[0019] Convert the conversation content in real-time voice / video calls into text and store it automatically.

[0020] In a second aspect, the present invention provides a system for real-time collaboration of a cloud IDE based on a low-code platform, comprising: a communication module, a client, and a cloud server;

[0021] The communication module is used to keep the client connected to the cloud server in real time through WebSocket for data interaction;

[0022] The client is used to record the operations performed by the developer on it and generate a unique operation object for each operation;

[0023] The cloud server is used to analyze the operation object based on the syntax tree and dependency graph to determine whether there is a conflict. If so, a conflict notification is fed back to the client that sent the operation object through the communication module; if not, the global code copy is updated according to the operation object and a global operation log is generated, and the updated global copy code is synchronized to all clients.

[0024] Furthermore, the cloud server includes:

[0025] The conflict detection module analyzes the operation object based on the syntax tree and dependency graph to determine whether there is a conflict;

[0026] A conflict feedback module, used to feedback conflict notification to the client that sent the operation object;

[0027] The update module is used to update the global code copy according to the operation object and synchronize the updated global copy code to all clients;

[0028] The global log generation and storage module is used to generate and store global operation logs.

[0029] Furthermore, the cloud server also includes: a code suggestion model, which is used to perform context perception on the global code copy to generate code suggestions and automatic completion.

[0030] In a third aspect, the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned method of real-time collaboration in a cloud IDE based on a low-code platform.

[0031] The beneficial effects of the present invention are:

[0032] (1) The present invention establishes a WebSocket connection between the client and the cloud server to maintain real-time communication. When the developer performs an operation on the client, the operation is captured and a unique operation object is generated for each operation, which is then synchronized to the server via WebSocket. After receiving the operation object, the cloud server checks whether there is a conflict with the global code copy. When a conflict is detected, the cloud server feeds back a conflict notification to the client that sent the operation object and makes modifications until the conflict is resolved. If no conflict exists, the global code copy is updated according to the operation object and a global operation log is generated. The updated global copy code is synchronized to all clients so that each client is updated synchronously, thereby helping to reduce conflicts and enhance the collaborative experience.

[0033] (2) The present invention analyzes the current code context in real time and combines it with a machine learning model to provide context-based code suggestions and automatic completion, thereby improving writing efficiency.

[0034] (3) The present invention allows developers to initiate or join real-time voice / video calls to directly discuss project issues with team members, thereby helping to improve team collaboration.

[0035] (4) The present invention converts the conversation content in the voice / video call into text in real time by converting voice into text, automatically stores and supports full-text search, and facilitates operation tracing. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0037] Figure 1 This is a flow chart of a method for real-time collaboration in a cloud IDE based on a low-code platform of the present invention. DETAILED DESCRIPTION

[0038] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0039] It should be noted that the following detailed descriptions are all illustrative and are intended to provide further explanation of the present invention. Unless otherwise specified, each technical and scientific term used in this embodiment has the same meaning as commonly understood by those skilled in the art to which the present invention belongs.

[0040] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0041] In the present invention, terms such as "upper", "lower", "left", "right", "front", "back", "vertical", "horizontal", "side", "bottom", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. They are relational words determined only for the convenience of describing the structural relationships of the various parts or elements of the present invention, and do not specifically refer to any part or element in the present invention and should not be understood as limitations on the present invention.

[0042] In the present invention, terms such as "fixed connection", "connected", "connection", etc. should be understood in a broad sense, indicating that it can be fixedly connected, integrally connected or detachably connected; it can be directly connected or indirectly connected through an intermediate medium. Relevant scientific research or technical personnel in this field can determine the specific meanings of the above terms in the present invention according to specific circumstances, and they should not be understood as limiting the present invention.

[0043] ‌Cloud IDE (Cloud Integrated Development Environment)‌ is a lightweight Web IDE for cloud native. It allows users to access it through a browser to obtain the cloud development environment, write code, compile and debug, run previews, access code repositories, and execute command lines.

[0044] Embodiment 1:

[0045] like Figure 1 As shown, this embodiment provides a method for real-time collaboration of a cloud IDE based on a low-code platform, including the following steps:

[0046] S1: Developers perform visual modeling and generate code on the low-code platform, automatically put the generated code into the code repository, and load historical operation logs related to code generation.

[0047] When in use, the developer starts the cloud IDE and logs in. The system will automatically identify the project and obtain relevant code and historical operation logs related to code generation from the code repository based on the identified project.

[0048] S2: Maintain a real-time connection between the client and the cloud server via WebSocket.

[0049] It should be noted that there is at least one client, and can be two or more, which can be set according to actual needs.

[0050] S3: The client records the operations performed by the developer on it, generates a unique operation object for each operation, and stores the generated operation object in the operation queue.

[0051] The operation object includes: the code file of the operation, the code location of the operation, the code content of the operation, and timestamp information.

[0052] Specifically, when a developer performs operations on a client, the client records the operations performed by the developer on it through an operation capture module, generates a unique operation object for each operation, and stores the generated operation object in an operation queue for storing locally unsynchronized operation objects.

[0053] For example, a developer performs an operation (such as a delete operation) on client A. The operation capture module of client A captures the delete operation performed by the developer, generates a unique delete operation object corresponding to the delete operation, and stores the generated unique operation object to the local unsynchronized operation object.

[0054] Among them, a unique deletion operation object is generated as follows:

[0055] / / Delete the operation object

[0056] DeleteOperation {fileName: "UserService.java", / / Operation code file

[0057] lineRange: "25-30", / / Operation code position

[0058] codeSnippet: """ / / Operation code content

[0059] public void deleteUser(int userId) {User user = findUserById(userId);if (user != null) {userRepository.delete(user);}}""",

[0060] operationTimestamp: "2024-08-27T10:00:00Z" / / timestamp}.

[0061] S4: Send the operation object to the cloud server via WebSocket.

[0062] S5: The cloud server analyzes the operation object based on the syntax tree and dependency graph to determine whether there is a conflict. If so, it will feedback the conflict notification to the client that sent the operation object; if not, it will update the global code copy according to the operation object, synchronize the updated global copy code to all clients and generate a global operation log.

[0063] Among them, the syntax tree is used to represent the structure of the code, and the dependency graph is used to represent the dependency relationship between code files.

[0064] The analysis of the operation object based on the syntax tree and the dependency graph includes:

[0065] S51: The cloud server builds the syntax tree and dependency graph of the global copy code by periodically indexing the global copy code.

[0066] S52: The cloud server continuously analyzes the syntax tree and dependency graph of the global copy code through a global analysis machine learning model to extract the global copy code context information (such as variable definitions, function calls, and class inheritance relationships, etc.).

[0067] S53: Based on the context information of the extracted global copy code, determine whether the code content of the operation in the operation object conflicts with the global copy code. If so, feedback a conflict notification to the client that sent the operation object; if not, update the global code copy according to the operation content of the operation object and synchronize the updated global copy code to all clients. The conflict notification includes the conflict content and the conflict position.

[0068] Among them, the updated global code copy is stored in the code repository.

[0069] S6: The client performs a modification operation based on the received conflict notification, and after generating a modification operation object based on the modification operation, proceeds to step S4.

[0070] Specifically, the client performs a modification operation based on the received conflict notification including:

[0071] S61: Developers initiate or join real-time voice / video calls through the client, discuss directly with team members, and make modifications based on the discussion results.

[0072] Specifically, WebRTC technology is integrated into the cloud IDE to realize real-time voice and video call functions. Each developer can choose to initiate or join a voice / video call when using the cloud IDE. The cloud server maintains information about the call session, including call participants, call time, and call status. The client maintains a real-time connection with the server through WebSocket and updates the call status in real time. Use technologies such as adaptive bit rate, noise suppression, and echo cancellation to optimize call quality and ensure a clear and smooth audio and video experience.

[0073] S62: Converts the conversation content in real-time voice / video calls into text, automatically stores it and supports full-text search, making it easier to trace operations.

[0074] The conversation content in real-time voice / video calls is converted into text and stored in the database. It also provides a full-text search function, allowing users to search historical discussion records by keywords, making it easy to quickly find relevant information. Using speech recognition technology, real-time speech is converted into text and displayed in the cloud IDE, making it easy for team members to view and record discussion content.

[0075] Embodiment 2:

[0076] The difference between this embodiment and Embodiment 1 is that the method of real-time collaboration of cloud IDE based on low-code platform also includes: generating code suggestions based on contextual awareness of global copy code.

[0077] The specific steps are as follows:

[0078] Q1: Train a machine learning model to generate a pre-trained code suggestion model.

[0079] Q11: Collect context information of the global copy code and global operation logs as training data.

[0080] Q22: Perform feature extraction on the context information of the collected global copy code to extract the context features of the global copy code (such as variable types, function signatures, class inheritance relationships, etc.), and perform feature extraction on the collected global operation logs to extract the developer's behavior features (such as code input patterns, commonly used functions, etc.).

[0081] Q23: Based on the extracted behavioral features and contextual features, use machine learning algorithms (such as LSTM, Transformer) to train the machine learning model to generate a code suggestion model.

[0082] Specifically, the behavior features and context features are input into the code suggestion model, so that the code suggestion model outputs corresponding code suggestions and automatic completion.

[0083] Q2: Deploy the code suggestion model in a cloud server.

[0084] Q3: The code suggestion model is context-aware of the global code copy to generate code suggestions and auto-completion.

[0085] Specifically, the pre-trained code suggestion model is deployed to the cloud server. If the client needs code suggestions, it sends a request to the code suggestion model of the cloud server to obtain real-time code suggestions and automatic completion to improve writing efficiency.

[0086] Embodiment 3:

[0087] This embodiment provides a cloud IDE real-time collaboration system based on a low-code platform, including the following steps:

[0088] (1) Code repository, used to store code, such as global copy code and local copy code.

[0089] (2) Global operation log library, used to store global operation logs.

[0090] (iii) Client.

[0091] The client includes:

[0092] The human-computer exchange module is used by developers to perform operations on the client, such as starting and logging into the cloud IDE, and performing various operations.

[0093] The operation capture module records the operations performed by the developer on the client and generates a unique operation object for each operation, wherein the operation object includes information such as the code file of the operation, the code location of the operation, the code content of the operation, and the timestamp of the operation.

[0094] The operation queue module is used to store the operation queue of local unsynchronized operation objects.

[0095] The code synchronization module is used to synchronize and update the local code copy.

[0096] The real-time voice call and video integration module is used by developers to initiate or join real-time voice / video calls through the client to directly discuss issues with team members and resolve conflicting operations.

[0097] Specifically, WebRTC technology is integrated into the cloud IDE to realize real-time voice and video call functions. Each developer can choose to initiate or join a voice / video call when using the cloud IDE. The cloud server maintains information about the call session, including call participants, call time, and call status. The client maintains a real-time connection with the server through WebSocket and updates the call status in real time. Use technologies such as adaptive bit rate, noise suppression, and echo cancellation to optimize call quality and ensure a clear and smooth audio and video experience.

[0098] The document conversion module is used to convert the conversation content in real-time voice / video calls into text, automatically store it and support full-text search, which facilitates operation tracing.

[0099] The conversation content in real-time voice / video calls is converted into text and stored in the database. It also provides a full-text search function, allowing users to search historical discussion records by keywords, making it easy to quickly find relevant information. Using speech recognition technology, real-time speech is converted into text and displayed in the cloud IDE, making it easy for team members to view and record discussion content.

[0100] (iv) Cloud Server.

[0101] The cloud server includes:

[0102] The conflict detection module analyzes the operation object based on the syntax tree and dependency graph to determine whether there is a conflict.

[0103] The conflict feedback module is used to feedback the conflict notification to the client that sent the operation object.

[0104] The update module is used to update the global code copy according to the operation object and synchronize the updated global copy code to all clients.

[0105] The global log generation and storage module is used to generate and store global operation logs.

[0106] A code suggestion model for context-aware global code copy to generate code suggestions and autocompletion.

[0107] Among them, the conflict detection module includes: a construction unit, a global analysis machine learning model and a judgment unit.

[0108] A construction unit is used to index the global copy code to build a syntax tree and a dependency graph of the global copy code.

[0109] The global analysis machine learning model is used to continuously analyze the syntax tree and dependency graph of the global copy code to extract the global copy code context information.

[0110] The judgment unit is used to extract the context information of the global copy code and judge whether the code content of the operation in the operation object conflicts with the global copy code.

[0111] (V) Communication module, used to maintain real-time connection and communication between the client and the cloud server through WebSocket.

[0112] (6) Code suggestion generation module generates code suggestions based on context awareness of the global copy code.

[0113] The code suggestion model generation module is used to train the machine learning model to generate a code suggestion model.

[0114] Among them, the code suggestion model generation module includes: a collection unit, a feature extraction module, and a model generation unit.

[0115] The collection module collects the context information of the global copy code and the global operation log as training data.

[0116] The feature extraction module performs feature extraction on the context information of the collected global copy code to extract the context features of the global copy code (such as variable type, function signature, class inheritance relationship, etc.), and performs feature extraction on the collected global operation logs to extract the developer's behavior features (such as code input mode, commonly used functions, etc.).

[0117] The model generation module uses machine learning algorithms (such as LSTM and Transformer) to train the machine learning model based on the extracted behavioral features and context features to generate a code suggestion model.

[0118] Specifically, the behavior features and context features are input into the code suggestion model, so that the code suggestion model outputs corresponding code suggestions and automatic completion.

[0119] Embodiment 3:

[0120] This embodiment provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute a method for real-time collaboration in a cloud IDE based on a low-code platform as described in Example 1.

[0121] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

[0122] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

[0123] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0124] In addition, it should be noted that the flowchart in the accompanying drawings shows the method of the embodiment of the present disclosure. In the corresponding description in the flowchart or block diagram in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be performed substantially in parallel, and they can sometimes be performed in the opposite order, which can depend on the functions involved. Each block in the block diagram and / or flow chart, and the combination of blocks in the block diagram and / or flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0125] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for real-time collaboration in a cloud IDE based on a low-code platform, characterized in that: include: Step 1: Keep the client connected to the cloud server in real time through WebSocket; Step 2: The client records the operations performed by the developer on it and generates a unique operation object for each operation; Step 3: Send the operation object to the cloud server via WebSocket; Step 4: The cloud server analyzes the operation object based on the syntax tree and dependency graph to determine whether there is a conflict. If so, a conflict notification is fed back to the client that sent the operation object. If not, the global code copy is updated according to the operation object and a global operation log is generated, and the updated global copy code is synchronized to all clients. Step 5: The client performs a modification operation based on the received conflict notification, and after generating a modification operation object based on the modification operation, proceeds to step 3; Among them, the syntax tree is used to represent the structure of the code, and the dependency graph is used to represent the dependency relationship between code files; The operation objects include: the code file of the operation, the code location of the operation, the code content of the operation and the timestamp; The fourth step comprises: The cloud server builds the syntax tree and dependency graph of the global copy code by periodically indexing the global copy code; The cloud server uses a global analysis machine learning model to continuously analyze the syntax tree and dependency graph of the global copy code to extract the global copy code context information; Based on the context information of the extracted global copy code, determine whether the operation object conflicts with the global copy code. If so, a conflict notification is fed back to the client that sent the operation object. If not, the global code copy is updated according to the operation content of the operation object and the updated global copy code is synchronized to all clients.

2. The method for real-time collaboration in a cloud IDE based on a low-code platform according to claim 1, characterized in that: The method further includes generating code suggestions based on contextual awareness of the global copy code.

3. The method for real-time collaboration in a cloud IDE based on a low-code platform according to claim 2, characterized in that: The generating of code suggestions based on context awareness of the global copy code includes: Train the machine learning model to generate a pre-trained code suggestion model; The code suggestion model is context-aware of the global code copy to generate code suggestions and auto-completion.

4. The method for real-time collaboration in a cloud IDE based on a low-code platform according to claim 1, characterized in that: The client performs a modification operation based on receiving the conflict notification, including: Developers can initiate or join real-time voice / video calls through the client, discuss directly with team members, and make modifications based on the discussion results; Convert the conversation content in real-time voice / video calls into text and store it automatically.

5. A cloud IDE real-time collaboration system based on a low-code platform, characterized in that: include: Communication module, client and cloud server; The communication module is used to keep the client connected to the cloud server in real time through WebSocket for data interaction; The client is used to record the operations performed by the developer on it and generate a unique operation object for each operation; The cloud server is used to analyze the operation object based on the syntax tree and dependency graph to determine whether there is a conflict. If so, a conflict notification is fed back to the client that sent the operation object through the communication module; if not, the global code copy is updated according to the operation object and a global operation log is generated, and the updated global copy code is synchronized to all clients; The cloud server includes: The conflict detection module analyzes the operation object based on the syntax tree and dependency graph to determine whether there is a conflict; A conflict feedback module, used to feedback conflict notification to the client that sent the operation object; The update module is used to update the global code copy according to the operation object and synchronize the updated global copy code to all clients; A global log generation and storage module is used to generate and store global operation logs; The syntax tree is used to represent the structure of the code, and the dependency graph is used to represent the dependency relationship between code files; the operation objects include: the code file operated on, the code location operated on, the code content operated on, and the timestamp; The conflict detection module includes: a construction unit, a global analysis machine learning model and a judgment unit; A construction unit, used for indexing the global copy code to construct a syntax tree and a dependency graph of the global copy code; A global analysis machine learning model is used to continuously analyze the syntax tree and dependency graph of the global copy code to extract the global copy code context information; The judgment unit is used to extract the context information of the global copy code and judge whether the code content of the operation in the operation object conflicts with the global copy code.

6. The system for real-time collaboration of cloud IDE based on low-code platform according to claim 5 is characterized in that: The cloud server also includes: a code suggestion model, which is used to perform context perception on the global code copy to generate code suggestions and automatic completion.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method for real-time collaboration of a cloud IDE based on a low-code platform as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Low-code file development method based on multi-user cooperation

    CN115268873A

  • Code generation system, method and device and storage medium

    CN117435178A