Collaborative development method, device and equipment based on low-code platform and storage medium

By performing fine-grained parsing of elements and identification of change behavior in low-code metadata files, the problem of unidentifiable metadata change details in collaborative development on low-code platforms is solved, enabling efficient and accurate conflict resolution and merging, and improving development efficiency and quality.

CN119045873APending Publication Date: 2024-11-29CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411102204.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In existing technologies, the collaborative development methods of low-code platforms cannot accurately identify and process the details of changes to metadata files, leading to errors in conflict identification and merging, which affects development efficiency and quality.

Method used

By parsing low-code metadata files and breaking them down into fine-grained elements, they are transformed into intuitive and readable development change actions. This process identifies and resolves conflicts between multiple development change actions. A parsing model is used to accurately parse change requests and detect conflicts based on element types. Confirmation requests and review mechanisms are introduced to determine target values.

Benefits of technology

It improves the efficiency and quality of collaborative development on low-code platforms, reduces misjudgments and error merging, and ensures the accuracy and consistency of the development process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119045873A_ABST
    Figure CN119045873A_ABST
Patent Text Reader

Abstract

The invention provides a collaborative development method and device based on a low-code platform, equipment and a storage medium, and relates to the technical field of computers. The method comprises the steps of obtaining a first change request sent by a development terminal, wherein the first change request is used for requesting to change a target element of a target application webpage from a first value to a second value; according to the first change request and the modification information of the target element, determining whether a second change request conflicting with the first change request exists, the second change request being a change request sent by other development terminal devices and used for changing the target element from the first value to other values; and when it is determined that the second change request conflicting with the first change request exists, determining a target value and modifying the target element to the target value. According to the method provided by the invention, the problems that in the prior art, the change details of the low-code metadata file cannot be checked and analyzed, misjudgment and wrong merging are easily caused, and the development efficiency and quality are influenced can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a collaborative development method, apparatus, device and storage medium based on a low-code platform. Background Art

[0002] A low-code platform is a technology designed to simplify the application development process. It provides a set of visual tools and components that allow developers to complete application development with little or no code by dragging and dropping graphics and configuring properties. Metadata is the core of a low-code development platform. A low-code development platform uses metadata to define objects, fields, configurations, codes, pages, logic, and processes, and automatically generates the system's data structure, the application's user interface, and automation logic based on these metadata.

[0003] The traditional collaborative development method based on low-code platforms mainly locks developers by resources or modules for management and control, so as to avoid conflicts caused by multiple people operating the same content. However, this method also limits the flexibility and efficiency of developers, especially when some modules need to be frequently modified and can only be operated by specific developers, resulting in slow development progress of the entire project. In order to improve development flexibility, the existing collaborative development technology based on low-code platforms connects the low-code platform to Git (an open source distributed version control system) and uses Git for version control, thereby improving development efficiency.

[0004] However, the existing Git merging mechanism is not well adapted to low-code platforms, mainly because the structure of metadata in low-code platforms is complex and highly abstract. Unlike traditional source code files, low-code metadata version control through Git can achieve metadata file conflict resolution and version management, but the minimum granularity can only view the entire file submission record, and cannot view the change details. Therefore, when multiple developers modify the same metadata file at the same time, Git's text comparison mechanism may not be able to accurately identify and process these complex structured data, which can easily lead to misjudgment and incorrect merging, increasing the difficulty and error risk of manual conflict resolution, and affecting the efficiency and quality of multi-person collaborative development. Summary of the invention

[0005] The present application provides a collaborative development method, apparatus, equipment and storage medium based on a low-code platform, which is used to solve the problem in the prior art that when multiple people conduct collaborative development through Git, it is impossible to view the change details of the low-code metadata files, and it is difficult to identify and process conflicts in the complex structured data of the metadata, which can easily lead to misjudgment and erroneous merges, affecting development efficiency and quality.

[0006] In the first aspect, the present application provides a collaborative development method based on a low-code platform, including: obtaining a first change request sent by a development terminal, the first change request being used to request that a target element of a target application web page be changed from a first value to a second value; determining whether there is a second change request that conflicts with the first change request based on the first change request and the modification information of the target element, the second change request being a change request sent by other development terminal devices and being used to change the target element from a first value to another value, the modification information including the current value of the target element and the status of the second change request; when it is determined that there is a second change request that conflicts with the first change request, determining the target value to which the target element needs to be modified; and modifying the target element to the target value.

[0007] In one possible design, based on the first change request and the modification information of the target element, it is determined whether there is a second change request that conflicts with the first change request, including: if the current value of the target element is not the first value, it is determined that there is a second change request that conflicts with the first change request; and / or; if the status of the second change request is to be executed, it is determined that there is a second change request that conflicts with the first change request.

[0008] In one possible design, when it is determined that there is a second change request that conflicts with the first change request, the target value to which the target element needs to be modified is determined, including: sending a first confirmation request to the development terminal, the first confirmation request is used to confirm whether the development terminal abandons the parameter value change of the target element; obtaining first response information corresponding to the first confirmation request returned by the development terminal; and determining the target value based on the first response information.

[0009] In one possible design, when the status of the second change request is pending, before determining the target value based on the first response information, the method also includes: sending a second confirmation request to other development terminals, the second confirmation request being used to confirm whether other development terminals abandon the parameter value change of the target element; obtaining second response information corresponding to the second confirmation request returned by the development terminal; accordingly, determining the target value based on the first response information, including: determining the target value based on the first response information and the second response information.

[0010] In one possible design, a target value is determined based on the first response information and the second response information, including: if the first response information and the second response information both indicate not to abandon, then the target value is determined based on the result of merging the first change request and the second change request; if either response message in the first response information or the second response information indicates not to revoke, and the other response message indicates to revoke, then the target value is determined based on the response message indicating not to revoke.

[0011] In one possible design, if both the first response information and the second response information indicate not to give up, then the target value is determined according to the result of merging the first change request and the second change request, including: if both the first response information and the second response information indicate not to give up, then determining whether the target element is pre-set to require review; if the target element is pre-set to require review, then sending a review request to the development management terminal according to the first change request and the second change request, the review request being used to determine the execution of the first change request and / or the second change request; obtaining a third response message corresponding to the review request returned by the development management terminal; and determining the target value according to the third response message.

[0012] In a possible design, obtaining a first change request sent by a development terminal includes: according to the element type of the target element, inputting the first change request into a parsing model corresponding to the element type, and obtaining a first value and a second value output by the parsing model; wherein the parsing models corresponding to different element types are pre-established based on the data structure of the element type, and the element type includes at least one of the following: business field, business component attribute, process node attribute, and logical node attribute.

[0013] In the second aspect, the present application provides a collaborative development device based on a low-code platform, including: a change request acquisition module, used to acquire a first change request sent by a development terminal, the first change request is used to request to change the target element of a target application web page from a first value to a second value; a conflict identification module, used to determine whether there is a second change request that conflicts with the first change request based on the first change request and the modification information of the target element, the second change request is a change request sent by other development terminal devices, and is used to change the target element from a first value to another value, and the modification information includes the current value of the target element and the status of the second change request; a target value acquisition module, used to determine the target value to which the target element needs to be modified when it is determined that there is a second change request that conflicts with the first change request; a modification module, used to modify the target element to the target value.

[0014] In the third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory; the memory stores computer execution instructions; at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the collaborative development method based on a low-code platform as described in the first aspect above and various possible designs of the first aspect.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, a collaborative development method based on a low-code platform as described in the first aspect and various possible designs of the first aspect is implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the collaborative development method based on a low-code platform as described in the first aspect above and various possible designs of the first aspect.

[0017] The collaborative development method, apparatus, device and storage medium based on a low-code platform provided in the present application obtain a first change request sent by a development terminal, the first change request is used to request to change the target element of a target application webpage from a first value to a second value; based on the first change request and the modification information of the target element, determine whether there is a second change request that conflicts with the first change request, the second change request is a change request sent by other development terminal devices and is used to change the target element from a first value to another value, and the modification information includes the current value of the target element and the status of the second change request; when it is determined that there is a second change request that conflicts with the first change request, determine the target value to which the target element needs to be modified; and modify the target element to the target value. The method provided in the present application can solve the problems in the prior art that it is impossible to view the change details of the low-code metadata file, it is difficult to identify and process conflicts in the complex structured data of the metadata, and it is easy to cause misjudgment and erroneous merging, which affects development efficiency and quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0019] Figure 1 An application scenario diagram for collaborative development based on low-code platforms for existing technologies;

[0020] Figure 2 This is an application scenario diagram of a collaborative development method based on a low-code platform applicable to an embodiment of the present application;

[0021] Figure 3 The process of the collaborative development method based on the low-code platform provided in the embodiment of this application Figure 1 ;

[0022] Figure 4 The process of the collaborative development method based on the low-code platform provided in the embodiment of this application Figure 2 ;

[0023] Figure 5 The process of the collaborative development method based on the low-code platform provided in the embodiment of this application Figure 3 ;

[0024] Figure 6 A schematic diagram of the structure of a collaborative development device based on a low-code platform provided in an embodiment of the present application;

[0025] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0026] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0027] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0028] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.

[0029] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0030] Figure 1 This is an application scenario diagram of collaborative development based on low-code platforms in existing technologies. Figure 1 As shown, the application scenario includes: developers 11, low-code platform 12 and Git server 13.

[0031] In the prior art, the Git server 13 stores the original files of different low-code applications. When it is necessary to continue development based on the original files, different developers 11 can obtain the original files from the Git server 13 respectively, edit them through the low-code platform 12, and obtain their own secondary files. After the developer 11 completes the development of his own secondary file, he submits the secondary file 11 to the Git server 13. The Git server 13 compares the original file and the secondary file according to the Git conflict merge mechanism to resolve the conflict. If there is still a problem after Git processing, it will be fed back to the developer 11 who submitted the secondary file for manual resolution. After the conflict is resolved, the development content is merged into the original file.

[0032] However, because low-code platforms12 typically use graphical interfaces and metadata to define applications, version control becomes more complicated. Git's code merging and conflict resolution mechanisms are established patterns (retaining the content of both parties for merging conflicting code lines), and some attribute values ​​of metadata are unique and cannot be simply merged like text code. Direct merging may cause the merged metadata content to become a parsed format that does not meet the expected format. For example, some attribute values ​​of low-code components are unique and cannot exist at the same time. For example, the ID of a form field must be unique. If two developers separately modify the ID of the same field, the changes of both parties cannot be simply retained during the merge.

[0033] In response to the above technical problems, this application proposes the following technical ideas: by parsing the low-code metadata file, splitting it into fine-grained elements, converting the metadata content changes into intuitive and readable development change behavior operations, conflict identification and resolution of development change behavior operations of multiple parties in collaborative development, and solving the conflict problems caused by collaborative development of low-code platforms.

[0034] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0035] Figure 2 FIG. 1 is an application scenario diagram of a collaborative development method based on a low-code platform applicable to an embodiment of the present application. Figure 2As shown, the application scenario includes: a development end 21, a server 22, and an audit end 23. The development end 21 may include multiple developers, the server 22 includes a low-code development platform, a development operation parsing model, a development operation storage module, and a development operation management and control system, and the audit end 23 is used to audit the conflicting content fed back by the server 22. Specifically, the developer of the development end 11 obtains the original file of the target application web page from the server 22 for development, and then submits the developed file to the server 22. The development operation parsing model first parses the developed file, obtains the change behavior of each metadata (element), and converts it into an easy-to-read change request. The change request includes the target element that has changed. The development operation storage module then records the development content (including the developer, submission time, change element, change value, etc.). For the change request, the server 22 identifies conflicts and determines whether there are conflicting elements. If so, it returns a prompt to the developer of the development end 11, and the developer confirms to submit the developed file or make modifications. For the developed file confirmed to be submitted by the developer, the development operation control system determines whether the change content needs to be reviewed. If it needs to be reviewed, the change content record is sent to the review end 23 for review by the corresponding auditor. After passing, the target value of the target element is confirmed and the target element is modified to the target value. If the review fails, the review result is fed back to the developer.

[0036] based on Figure 2 For the application scenario shown, the embodiment of the present application also provides a collaborative development method based on a low-code platform. Figure 3 The process of the collaborative development method based on the low-code platform provided in the embodiment of this application Figure 1 .like Figure 3 As shown in the figure, the collaborative development method based on the low-code platform includes:

[0037] S301. Obtain a first change request sent by a development terminal, where the first change request is used to request to change a target element of a target application webpage from a first value to a second value.

[0038] The execution subject of the method of this embodiment may be Figure 2 The server shown in .

[0039] In this embodiment, after modifying the target application webpage, the development terminal (such as the developer's workstation) generates a change request, which includes the target element, such as a button or text box in the webpage. Specifically, the first value of the target element is the current value, and the second value of the target element is the new value to be modified.

[0040] For example, if a developer wants to change the text of a button from "Submit" to "Send", then the first change request is to change the text of the button from "Submit" to "Send".

[0041] In this step, the change request describes the changes to each target element. In the low-code development process, the change to metadata may be a value change in the form of a key-value pair, but to convert it into a business-readable operation description (for example, modify the height of the page text box: 10mm before the change, 20mm after the change), it needs to be parsed. Specifically, the acquisition of the first change request may include: according to the element type of the target element, inputting the first change request into the parsing model corresponding to the element type, and obtaining the first value and the second value output by the parsing model; wherein the parsing models corresponding to different element types are pre-established according to the data structure of the element type, and the element type includes at least one of the following: business fields, business component attributes, process node attributes, and logical node attributes.

[0042] It is understandable that after the parsing model identifies metadata changes through content comparison, it can split the changed content according to the elements of the development operation (such as business model fields, business component attributes, process node attributes, etc.), parse the content differences, and thus identify specific development operations that are readable by the business. Exemplarily, the parsing model first parses the low-code metadata file to understand its structure and content, and then compares the metadata files before and after the change to identify the change in button height. On this basis, the changed content is split into the smallest element, namely "change in button height", and then the specific differences are parsed according to fields, etc. For example, the button height changes from "50px" to "60px", and finally a business-readable operation description is generated: "Modify the height of the button (ID: btn1): 50px before change, 60px after change". Correspondingly, the first change request obtained includes the target element "button height", whose first value is "50px" and the second value is "60px".

[0043] It should be noted that different types of elements have different data structures, so corresponding parsing models can be established in advance for each element type. These parsing models can accurately parse change requests and extract the required information based on the data structure of the element type. For example, a business field may involve changes to a database field, while a process node attribute may involve changes to a workflow node. By selecting the corresponding parsing model based on the element type, the system can accurately parse the change request, extract the required information, and improve the accuracy of change processing.

[0044] S302. Determine whether there is a second change request that conflicts with the first change request based on the first change request and the modification information of the target element, wherein the second change request is a change request sent by other development terminal devices and is used to change the target element from the first value to another value, and the modification information includes the current value of the target element and the status of the second change request.

[0045] In this step, the main focus is on conflict detection and resolution when multiple development terminals modify the same target element. The server will check whether there is a conflict between the current change request (i.e., the first change request) and the change request sent by other development terminals (i.e., the second change request). In this embodiment, the definition of a conflict is that two change requests attempt to make different modifications to the same target element. For example, developer A wants to change the button text from "Submit" to "Send", while developer B wants to change the same button text from "Submit" to "Confirm". At this point, the two change requests conflict. The modification information includes the current value of the target element and the status of other change requests (e.g., pending execution).

[0046] It is understandable that in a multi-person collaborative development environment, for the same target element, other development terminals may have made changes to it while the current development terminal is making a change request. Therefore, the determination of whether there is a second change request that conflicts with the first change request may include: if the current value of the target element is not the first value, determining that there is the second change request that conflicts with the first change request; and / or; if the status of the second change request is pending, determining that there is the second change request that conflicts with the first change request.

[0047] It is understandable that when the first change request is received, the current value of the target element is checked first. The current value of the target element may have been modified and is no longer the first value in the first change request, which means that other change requests have modified the target element before the first change request. At this time, it can be determined that there is a second change request that conflicts with the first change request. For example, suppose the initial text of the button is "Submit", and the first change request hopes to change it to "Send", but the current value is already "Confirm", which indicates that other change requests have changed the button text to "Confirm" before the first change request.

[0048] Furthermore, the status of other change requests can also be checked. If there is a second change request with a status of "pending", it means that the request has not been processed or applied, but has been submitted and is waiting for execution. In this case, there is a potential conflict between the first change request and the second change request because both requests attempt to modify the same target element. For example, suppose developer A's request to change the button text to "Send" is waiting for execution, and developer B submits a new request to change the button text to "Confirm". At this time, the two requests are in conflict.

[0049] S303: When it is determined that the second change request conflicts with the first change request, determine a target value to which the target element needs to be modified.

[0050] It is understandable that when a conflict is detected, the server needs to determine the final target value, that is, what value the target element should be modified to. In this process, it can be implemented according to a preset conflict resolution strategy, such as a priority rule, a timestamp rule (the earlier one is used as the basis or the later one is overwritten), and manual intervention can also be performed in this step.

[0051] S304: Modify the target element to the target value.

[0052] In this step, the value of the target element is modified according to the determined target value, thereby changing the original low-code metadata text.

[0053] The collaborative development method based on the low-code platform provided in this embodiment obtains a first change request sent by a development terminal, the first change request is used to request to change the target element of the target application webpage from a first value to a second value; based on the first change request and the modification information of the target element, determines whether there is a second change request that conflicts with the first change request, the second change request is a change request sent by other development terminal devices, and is used to change the target element from a first value to another value, and the modification information includes the current value of the target element and the status of the second change request; when it is determined that there is a second change request that conflicts with the first change request, determines the target value that the target element needs to be modified to; and modifies the target element to the target value. The method provided in this application can solve the problems in the prior art that it is impossible to view the change details of the low-code metadata file, it is difficult to identify and process conflicts in the complex structured data of the metadata, and it is easy to cause misjudgment and erroneous merging, which affects development efficiency and quality.

[0054] Figure 4 The process of the collaborative development method based on the low-code platform provided in the embodiment of this application Figure 2 .like Figure 4 As shown in the figure, the collaborative development method based on the low-code platform includes the following steps:

[0055] S401. Send a first confirmation request to the development terminal, where the first confirmation request is used to confirm whether the development terminal abandons changing the parameter value of the target element.

[0056] In this embodiment, when it is detected that the first change request conflicts with the second change request, the server will send a confirmation request to the development terminal that submitted the first change request. The purpose of this confirmation request is to ask the developer whether he is willing to abandon the parameter value change of the target element. For example, developer A submitted a change request to change the button text from "Submit" to "Send", but the system detects that developer B has submitted a change request to change the button text from "Submit" to "Confirm". The system will send a confirmation request to developer A, asking him whether he is willing to abandon his change.

[0057] It is understandable that by sending confirmation requests to developers, it is possible to improve interactivity with developers, avoid forced decisions, more accurately identify and handle conflicts, and reduce misjudgments.

[0058] S402: Obtain first response information corresponding to the first confirmation request returned by the development terminal.

[0059] In this step, after receiving the confirmation request, the development terminal (i.e., the developer) will respond to indicate whether he is willing to abandon the change. The system will obtain this response information. For example, after receiving the confirmation request, developer A chooses not to abandon his change and feeds this decision back to the server.

[0060] S403: Determine the target value according to the first response information.

[0061] It is understandable, however, that the server will determine the final target value based on the developer's response information. If the developer chooses to abandon the change, the system will adopt the value of the second change request; if the developer chooses not to abandon, the system may determine the final target value based on a predetermined conflict resolution strategy (such as priority, timestamp, etc.). For example, if developer A chooses not to abandon his change, the system may decide to adopt developer A's change based on the timestamp and change the button text to "Send".

[0062] In a possible implementation, the status of the second change request is pending, that is, the changes of multiple development terminals have not been confirmed, and it is necessary to interact with multiple development terminals to determine the final target value. Therefore, before determining the target value according to the first response information, the collaborative development method based on the low-code platform provided in this embodiment also includes the following steps:

[0063] a1. Send a second confirmation request to the other development terminal, where the second confirmation request is used to confirm whether the other development terminal abandons the parameter value change of the target element.

[0064] It is understandable that when the status of the second change request is pending, the server needs to interact not only with the development terminal that submitted the first change request, but also with other development terminals that submitted the second change request. At this time, the server will send a second confirmation request to other development terminals, asking them whether they are willing to abandon the parameter value change of the target element. For example, developer A submitted a change request to change the button text from "Submit" to "Send", and developer B submitted a change request to change the button text from "Submit" to "Confirm". The server not only recalls that developer A sent the first confirmation request, but also sends a second confirmation request to developer B, asking him whether he is willing to abandon his changes.

[0065] a2. Obtain second response information corresponding to the second confirmation request returned by the development terminal.

[0066] In this step, when the other development terminal (ie, developer B) receives the second confirmation request, it will respond to indicate whether it is willing to abandon the change, and the server will receive this response information. For example, after receiving the confirmation request, developer B chooses not to abandon his change and feeds this decision back to the server.

[0067] a3. Determine the target value according to the first response information and the second response information.

[0068] It is understandable that if one of the developers chooses to abandon the change, the system will adopt the change request of the other developer; if both developers do not abandon the change, the system may determine the final target value based on a predetermined conflict resolution strategy (such as priority, timestamp, etc.). For example, if developers A and B both choose not to abandon their changes, the system may decide to adopt the change request submitted first based on the timestamp.

[0069] In this embodiment, by sending confirmation requests to all relevant developers, the intentions of all change requests can be fully understood, unilateral decision-making can be avoided, the fairness and rationality of decision-making can be improved, and the comprehensiveness and consistency of change processing can be ensured.

[0070] Based on the above step a3, this embodiment further introduces how to determine the final target value according to the response information of multiple development terminals when handling change request conflicts through two optional implementations:

[0071] In a possible implementation manner, if any one of the first response information and the second response information indicates non-revocation, and the other response message indicates revocation, the target value is determined according to the response message indicating non-revocation.

[0072] It can be understood that when any response message indicates non-revocation and the other response message indicates revocation, by determining the target value based on the non-revocation response message, the system can quickly resolve the conflict, reduce decision-making time, and improve development efficiency.

[0073] In another possible implementation, if both the first response information and the second response information indicate not to abandon, the target value is determined according to a result of merging the first change request and the second change request.

[0074] It should be noted that the "merge" in this embodiment is not the merge in the Git conflict resolution mechanism in the prior art, but a merge strategy for each element change is pre-set for the low-code development scenario, and the first change request and the second change request are merged according to the merge strategy to decide which change request to adopt. For example, when the merge strategy for the target element change is the timestamp priority strategy, when the request of developer A is submitted first, it is decided to adopt the change request of developer A.

[0075] By merging the results of change requests, the optimal change plan can be determined among multiple conflicting requests to ensure the consistency and stability of the system.

[0076] Figure 5 The process of the collaborative development method based on the low-code platform provided in the embodiment of this application Figure 3 .like Figure 5 As shown in the figure, the collaborative development method based on the low-code platform includes the following steps:

[0077] S501: If both the first response information and the second response information indicate not to abandon, determine whether the target element is preset to require review.

[0078] In this embodiment, an audit mechanism can be introduced to improve the quality of conflict resolution. When both developers choose not to abandon their change requests, first check whether the target element is pre-set to require review. This audit setting is usually used for critical elements or high-risk changes, which require additional audit steps to ensure the correctness and security of the changes. For example, a payment button on a web page may be set to require review to ensure that any changes are strictly reviewed.

[0079] S502: If the target element is pre-set to require review, a review request is sent to a development management terminal according to the first change request and the second change request, wherein the review request is used to determine whether to execute the first change request and / or the second change request.

[0080] It is understandable that if the target element needs to be reviewed, an audit request can be generated based on the two change requests and sent to the audit end. The audit request contains the detailed information of the two change requests for the auditor to review and make decisions. For example, if developers A and B both submit change requests, the system will package the two requests into one audit request and send it to the development management terminal for review.

[0081] S503: Obtain a third response message corresponding to the review request returned by the development management terminal.

[0082] After receiving the review request, the auditor will review the two change requests and make a decision. The server will obtain the auditor's decision result, which is the third response message. For example, if the auditor decides to adopt the change request of developer A, the system will record this decision result.

[0083] S504: Determine the target value according to the third response message.

[0084] It is understandable that by obtaining the decision results of the auditor, it is possible to ensure that the change processing meets the requirements of professional review and improve the accuracy and reliability of the change. Therefore, the final target value is determined based on the decision results of the auditor. If the auditor decides to adopt the change request of developer A, the target element is modified to the change value of developer A.

[0085] In this embodiment, by checking the audit settings of the target elements, the system can identify key elements or high-risk changes, thereby improving the security and reliability of the system.

[0086] Figure 6 This is a schematic diagram of the structure of a collaborative development device based on a low-code platform provided in an embodiment of the present application. Figure 6 As shown, the collaborative development device based on the low-code platform includes: a change request acquisition module 61, a conflict identification module 62, a target value acquisition module 63 and a modification module 64;

[0087] The change request acquisition module 61 is used to acquire a first change request sent by the development terminal, wherein the first change request is used to request to change a target element of a target application webpage from a first value to a second value;

[0088] a conflict identification module 62, configured to determine, based on the first change request and the modification information of the target element, whether there is a second change request that conflicts with the first change request, wherein the second change request is a change request sent by another development terminal device and is used to change the target element from the first value to another value, and the modification information includes a current value of the target element and a status of the second change request;

[0089] A target value acquisition module 63, configured to determine a target value to which the target element needs to be modified when it is determined that there is the second change request that conflicts with the first change request;

[0090] The modification module 64 is used to modify the target element to the target value.

[0091] In some embodiments, the conflict identification module 62 is specifically used to: if the current value of the target element is not the first value, determine that there is a second change request that conflicts with the first change request; and / or; if the status of the second change request is to be executed, determine that there is a second change request that conflicts with the first change request.

[0092] In some embodiments, the target value acquisition module 63 is used to: when it is determined that there is a second change request that conflicts with the first change request, send a first confirmation request to the development terminal, the first confirmation request being used to confirm whether the development terminal abandons the parameter value change of the target element; obtain first response information corresponding to the first confirmation request returned by the development terminal; and determine the target value based on the first response information.

[0093] In some embodiments, when the status of the second change request is to be executed, the target value acquisition module 63 is also specifically used to: send a second confirmation request to the other development terminal, the second confirmation request is used to confirm whether the other development terminal abandons the parameter value change of the target element; obtain the second response information corresponding to the second confirmation request returned by the development terminal; determine the target value according to the first response information and the second response information.

[0094] In some embodiments, the target value acquisition module 63 is also specifically used to: if the first response information and the second response information both indicate not to abandon, then determine the target value according to the result of merging the first change request and the second change request; if any response message in the first response information and the second response information indicates not to revoke, and the other response message indicates to revoke, then determine the target value according to the response message indicating not to revoke.

[0095] In some embodiments, the target value acquisition module 63 is also specifically used to: if the first response information and the second response information both indicate not to give up, determine whether the target element is pre-set to require review; if the target element is pre-set to require review, send a review request to the development management terminal based on the first change request and the second change request, and the review request is used to determine the execution of the first change request and / or the second change request; obtain a third response message corresponding to the review request returned by the development management terminal; and determine the target value based on the third response message.

[0096] In some embodiments, the change request acquisition module 61 is also specifically used to: according to the element type of the target element, input the first change request into the parsing model corresponding to the element type, and obtain the first value and the second value output by the parsing model; wherein the parsing models corresponding to different element types are pre-established based on the data structure of the element type, and the element type includes at least one of the following: business field, business component attribute, process node attribute, logical node attribute.

[0097] The collaborative development device based on a low-code platform provided in the embodiment of the present application can be used to execute the technical solution of the collaborative development method based on a low-code platform in the above-mentioned embodiment. Its implementation principle and technical effects are similar and will not be repeated here.

[0098] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the conflict identification module 62 can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The function of the above conflict identification module 62. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0099] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device may include: a transceiver 71 , a processor 72 , and a memory 73 .

[0100] The processor 72 executes the computer execution instructions stored in the memory, so that the processor 72 executes the scheme in the above embodiment. The processor 72 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0101] The memory 73 is connected to the processor 72 via a system bus and completes communication between them. The memory 73 is used to store computer program instructions.

[0102] The transceiver 71 may be used to obtain information such as change requests.

[0103] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.

[0104] The electronic device provided in the embodiment of the present application may be the above-mentioned Figure 2 The terminal device of the server.

[0105] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the collaborative development method based on the low-code platform in the above embodiment.

[0106] An embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes the technical solution of the collaborative development method based on a low-code platform in the above-mentioned embodiment.

[0107] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the collaborative development method based on the low-code platform in the above embodiment.

[0108] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules 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 an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0109] The modules described as separate components may or may not be physically separated, and the components shown as modules 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 modules may be selected according to actual needs to implement the solution of this embodiment.

[0110] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0111] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.

[0112] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.

[0113] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0114] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0115] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0116] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.

[0117] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A collaborative development method based on a low-code platform, characterized in that: include: Acquire a first change request sent by a development terminal, where the first change request is used to request to change a target element of a target application webpage from a first value to a second value; Determining, according to the first change request and the modification information of the target element, whether there is a second change request that conflicts with the first change request, wherein the second change request is a change request sent by another development terminal device and is used to change the target element from the first value to another value, and the modification information includes a current value of the target element and a status of the second change request; When it is determined that the second change request conflicts with the first change request, determining a target value to which the target element needs to be modified; Modify the target element to the target value.

2. The method according to claim 1, characterized in that The determining, according to the first change request and the modification information of the target element, whether there is a second change request that conflicts with the first change request includes: If the current value of the target element is not the first value, determining that there is the second change request that conflicts with the first change request; and / or; If the status of the second change request is to be executed, it is determined that there is a second change request that conflicts with the first change request.

3. The method according to claim 2, characterized in that The step of determining, when it is determined that the second change request conflicts with the first change request, a target value to which the target element needs to be modified includes: Sending a first confirmation request to the development terminal, where the first confirmation request is used to confirm whether the development terminal abandons the parameter value change of the target element; Obtaining first response information corresponding to the first confirmation request returned by the development terminal; The target value is determined according to the first response information.

4. The method according to claim 3, characterized in that When the status of the second change request is to be executed, before determining the target value according to the first response information, the method further includes: Sending a second confirmation request to the other development terminal, where the second confirmation request is used to confirm whether the other development terminal abandons the parameter value change of the target element; Obtaining second response information corresponding to the second confirmation request returned by the development terminal; Accordingly, determining the target value according to the first response information includes: The target value is determined according to the first response information and the second response information.

5. The method according to claim 4, characterized in that Determining the target value according to the first response information and the second response information includes: If both the first response information and the second response information indicate not to give up, determining the target value according to a result of merging the first change request and the second change request; If any one of the first response information and the second response information indicates not to revoke, and the other response message indicates to revoke, the target value is determined according to the response message indicating not to revoke.

6. The method according to claim 5, characterized in that If both the first response information and the second response information indicate not to abandon, determining the target value according to a result of merging the first change request and the second change request includes: If both the first response information and the second response information indicate not to abandon, determining whether the target element is preset to require review; If the target element is preset to require review, a review request is sent to the development management terminal according to the first change request and the second change request, wherein the review request is used to determine the execution of the first change request and / or the second change request; Obtaining a third response message corresponding to the review request returned by the development management terminal; The target value is determined according to the third response message.

7. The method according to any one of claims 1 to 6, characterized in that: The obtaining of the first change request sent by the development terminal includes: According to the element type of the target element, inputting the first change request into a parsing model corresponding to the element type, and acquiring the first value and the second value output by the parsing model; The parsing models corresponding to different element types are pre-established according to the data structure of the element type, and the element type includes at least one of the following: business field, business component attribute, process node attribute, and logic node attribute.

8. A collaborative development device based on a low-code platform, characterized in that: include: A change request acquisition module, used to acquire a first change request sent by a development terminal, wherein the first change request is used to request to change a target element of a target application webpage from a first value to a second value; a conflict identification module, configured to determine, based on the first change request and the modification information of the target element, whether there is a second change request that conflicts with the first change request, wherein the second change request is a change request sent by other development terminal devices and is used to change the target element from the first value to another value, and the modification information includes a current value of the target element and a status of the second change request; a target value acquisition module, configured to determine a target value to which the target element needs to be modified when it is determined that the second change request conflicts with the first change request; A modification module is used to modify the target element to the target value.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

11. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.

Citation Information

Cited By

  • Document content changing method, electronic equipment, storage medium and program product

    CN120354839A

  • Document content changing method, electronic device, storage medium and program product

    CN120354839B