A low-code platform data transmission method and system

By acquiring and analyzing module data in a low-code platform, determining the priority of module synchronization, and performing real-time synchronous transmission, data transmission conflicts and priority issues in low-code platforms are solved, and programming efficiency and synchronization coordination are improved.

CN119690401BActive Publication Date: 2025-05-02ZHEJIANG CARD WINNER INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510207169.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-25
Publication Date
2025-05-02
Estimated Expiration
2045-02-25

AI Technical Summary

Technical Problem

In low-code platforms, as collaborators increase, server latency and throughput increase, resulting in data transmission conflicts and prioritization issues, affecting users' real-time and efficient writing.

Method used

By obtaining the real-time collaboration platform module data to be synchronized, static analysis is performed to obtain the principal component possibility value, combining the hierarchical relationship and movement frequency of the module, the module synchronization priority is determined, and real-time synchronization transmission is carried out based on this.

Benefits of technology

Improve the accuracy and coordination of module synchronization, eliminate conflicts caused by asynchronous data transmission, and improve programming efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690401B_ABST
    Figure CN119690401B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and specifically to a low-code platform data transmission method and system. The method performs static analysis on module data to obtain the principal component possibility value corresponding to the module, and reflects the level of principal component content in the module through the principal component possibility value corresponding to the module, so as to grasp the degree of dependence of the complete programming project on the module; according to the hierarchical relationship of the module, the movement frequency of the module and the principal component possibility value corresponding to the module, the module synchronization priority is determined, and the accuracy of the module synchronization priority can be improved by comprehensively considering the hierarchical relationship of the module, the movement frequency of the module and the principal component possibility value corresponding to the module. The module synchronization priority can reflect the priority of the module to perform data transmission; based on the module synchronization priority, real-time synchronous transmission of different modules can ensure the coordination of module deployment. The method can improve programming efficiency and eliminate the influence of conflicts caused by asynchronous data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a low-code platform data transmission method and system. Background Art

[0002] A low-code platform is a development environment that allows users to create applications by using a graphical interface and configuration options rather than traditional manual coding. The main goal of this platform is to reduce the complexity and time cost of software development, allowing developers and business personnel to quickly build applications. Low-code has the characteristics of visual development, and can build related applications by dragging and dropping components or configuring components to speed up the development process; and it has multi-faceted collaboration functions to improve office efficiency. In a low-code platform, the main purpose of data transmission is to ensure that the application can obtain, process and display the correct data, so as to realize the expected functions of the application. The main purpose of data synchronization is to achieve data consistency and real-time updates between multiple systems or platforms.

[0003] In the process of implementing the synchronous collaboration of the above-mentioned low-code platform, as the number of collaborators increases, the server delay and throughput will increase. That is, the number of people writing synchronously is too large, and each user is responsible for an implementation module. When using the same graphical result, priority issues such as unclear movement direction of the module graphics will occur, resulting in an increase in the possibility of corresponding conflicts, and users cannot write different modules in real time and efficiently. Therefore, it is urgent to develop a low-code platform data transmission method and system to solve the above problems. Summary of the invention

[0004] In order to solve the technical problem of data transmission conflict, the purpose of the present invention is to provide a low-code platform data transmission method and system, and the technical solution adopted is as follows:

[0005] In a first aspect, the present invention provides a low-code platform data transmission method, the method comprising:

[0006] Acquire module data corresponding to the real-time collaboration platform to be synchronized, wherein the module data includes a plurality of graphical nodes, and the graphical nodes include description text;

[0007] Performing static analysis on the module data to obtain the principal component possibility value corresponding to the module;

[0008] Determine the module synchronization priority according to the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules;

[0009] Real-time synchronous transmission of different modules is performed based on the module synchronization priority.

[0010] In some embodiments, the static analysis of the module data to obtain the principal component likelihood value corresponding to the module includes:

[0011] Performing word frequency statistics on the description text of the graphical nodes in the module data to obtain text feature vectors corresponding to the graphical nodes in each module and text feature vectors corresponding to the overall code implementation goals and themes, wherein the description text of the graphical nodes in the module data includes text feature information and the overall code implementation goals and themes;

[0012] Convert the text feature vector into a one-hot encoding vector, wherein the one-hot encoding vector includes the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall code implementation goal and theme;

[0013] Determine the similarity between the one-hot encoded vectors corresponding to the graphical nodes in each module and the one-hot encoded vectors corresponding to the overall implementation goals and themes of the code;

[0014] Calculate the mean of the similarity between the one-hot encoding vectors corresponding to all graphical nodes in each module and the one-hot encoding vectors corresponding to the overall code implementation goals and themes to obtain the principal component likelihood values ​​corresponding to the modules.

[0015] In some embodiments, the similarity between the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall code implementation goal and theme is determined according to the following formula:

[0016]

[0017] in, Indicates of the modules The similarity between the one-hot encoding vectors corresponding to the graphical nodes and the one-hot encoding vectors corresponding to the overall implementation goals and themes of the code, Indicates of the modules The one-hot encoding vector corresponding to the graphical nodes, The one-hot encoding vector representing the overall code implementation goals and themes. express and The cosine similarity of Indicates the position number of the one-hot encoded vector in the one-hot encoded vector sequence corresponding to the overall implementation goal and theme of the code, The total number of one-hot encoded vectors in the one-hot encoded vector sequence corresponding to the overall implementation goals and themes of the code, Indicates the number of modules. Indicates The number of graphical nodes in a module.

[0018] In some embodiments, the mean of the similarities between the one-hot encoding vectors corresponding to all graphical nodes in each module and the one-hot encoding vectors corresponding to the overall code implementation goals and themes is calculated according to the following formula to obtain the principal component likelihood value corresponding to the module:

[0019]

[0020] in, Indicates The principal component likelihood value corresponding to each module is Indicates The total number of graphical nodes in the modules, Indicates of the modules The similarity between the one-hot encoding vectors corresponding to the graphical nodes and the one-hot encoding vectors corresponding to the overall implementation goals and themes of the code, Indicates the number of modules. Indicates The number of graphical nodes in a module, Indicates The total number of graphical nodes in the module.

[0021] In some embodiments, determining the module synchronization priority according to the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules includes:

[0022] Analyze the coding position of the module in the overall coding to obtain the hierarchical relationship of the module;

[0023] Determine the movement frequency of the module according to the movement frequency of the graphical nodes in the module data;

[0024] The module synchronization priority is determined based on the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules.

[0025] In some embodiments, analyzing the coding position of the module in the overall coding to obtain the hierarchical relationship of the module includes:

[0026] The modules are sorted by a topological sorting algorithm so that each module is located after the module it depends on, and the sorted module order is obtained;

[0027] According to the sorted module sequence, the coding position of the module in the overall coding is determined to obtain the hierarchical relationship of the modules.

[0028] In some embodiments, the movement frequency of the module is determined according to the following formula:

[0029]

[0030] In the formula, Indicates The moving frequency value of each module, Indicates of the modules The movement frequency of graphical nodes, Indicates the number of modules. Indicates The number of graphical nodes in a module, Indicates The total number of graphical nodes in the module.

[0031] In some embodiments, the module synchronization priority is determined based on the hierarchical relationship of the modules, the movement frequency of the modules, and the principal component possibility value corresponding to the modules according to the following formula:

[0032]

[0033] in, Indicates The synchronization priority corresponding to each module, Indicates The principal component likelihood value corresponding to each module is Indicates The moving frequency value of each module, Indicates The hierarchical relationship value of each module, Represents the normalization function.

[0034] In some embodiments, before obtaining the module data corresponding to the real-time collaboration platform to be synchronized, the method also includes: configuring a low-code synchronization platform, building a synchronization communication transmission protocol, and modularizing the synchronization data.

[0035] In a second aspect, the present invention provides a low-code platform data transmission system, the system comprising:

[0036] An acquisition module, used to acquire module data corresponding to the real-time collaboration platform to be synchronized, wherein the module data includes a plurality of graphical nodes, and the graphical nodes include description texts;

[0037] A static analysis module, used to perform static analysis on the module data to obtain a principal component possibility value corresponding to the module;

[0038] Determine the module, which is used to determine the module synchronization priority according to the hierarchical relationship of the module, the movement frequency of the module and the possibility value of the main component corresponding to the module;

[0039] The synchronous transmission module is used to perform real-time synchronous transmission of different modules based on the module synchronization priority.

[0040] The present invention has the following beneficial effects:

[0041] The present invention proposes a low-code platform data transmission method and system, which first obtains the module data corresponding to the real-time collaboration platform to be synchronized, so as to judge the priority of data transmission later; further statically analyzes the module data to obtain the principal component possibility value corresponding to the module, and reflects the level of the principal component content in the module through the principal component possibility value corresponding to the module, so as to grasp the degree of dependence of the complete programming project on the module; then, according to the hierarchical relationship of the module, the movement frequency of the module and the principal component possibility value corresponding to the module, the module synchronization priority is determined, and the accuracy of the module synchronization priority can be improved by comprehensively considering the hierarchical relationship of the module, the movement frequency of the module and the principal component possibility value corresponding to the module, and the module synchronization priority can reflect the priority of the module to perform data transmission; finally, based on the module synchronization priority, the real-time synchronous transmission of different modules can be performed to ensure the coordination of module deployment. This method can improve programming efficiency and eliminate the influence of conflicts caused by asynchronous data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 A method flow chart of a low-code platform data transmission method provided by an embodiment of the present invention;

[0044] Figure 2 A schematic diagram of the structure of a low-code platform data transmission system provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0047] The specific scheme of a low-code platform data transmission method and system provided by the present invention is explained in detail below with reference to the accompanying drawings.

[0048] In the first aspect, the present invention provides a low-code platform data transmission method, see Figure 1 , the method comprising:

[0049] Step 101: Obtain module data corresponding to the real-time collaboration platform to be synchronized. The module data includes a plurality of graphical nodes, and the graphical nodes include description texts.

[0050] The module data corresponding to the real-time collaboration platform to be synchronized is obtained so as to determine the priority of data transmission later. The graphical node includes a description text, and each graphical node can reflect a function that realizes a function or encapsulates a completed function.

[0051] It should be noted that graphical nodes are the basic units that constitute modules in the low-code platform. Users can perform specific functions or operations by dragging, connecting or configuring graphical nodes. Multiple modules can constitute a complete programming project, so that the complete programming project meets the functional requirements of users.

[0052] In some embodiments, the description text may include labels, parameters, and function names.

[0053] In some embodiments, before step 101, the method may also include: (1) obtaining a low-code development platform, loading development tools and dependency libraries on the low-code development platform, and configuring a version control system to facilitate collaboration among multi-user teams; (2) building a synchronization architecture, wherein building a synchronization architecture includes determining a module synchronization strategy and a collaboration model, wherein the step of determining the module synchronization strategy includes: A. analyzing application requirements to determine the modules to be synchronized and the corresponding priorities of the modules to be synchronized; B. determining the mainline modules and branchline modules based on the determined modules to be synchronized and the corresponding priorities of the modules to be synchronized; the collaboration model includes a lock mechanism and optimistic concurrency Control mechanism to determine how to synchronize between teams; (3) Build a communication transmission protocol. The steps of building a communication transmission protocol include selecting a communication protocol and defining a data transmission format; (4) Allocate and configure parameters, including setting priority parameters and dependency parameters of the modules to be synchronized, setting synchronization frequency parameters, and determining how long or after what events synchronization will be performed; (5) Implement synchronization logic, including: embedding synchronization logic in each module to be synchronized, monitoring changes in the modules to be synchronized in real time, and transmitting data through a communication transmission protocol; and handling dependencies and data sharing between modules. Through the above steps, a low-code synchronization platform is configured, a synchronization communication transmission protocol is constructed, and modular synchronization data is performed.

[0054] In some embodiments, the low-code development platform may be Mixly and the version control system may be Git.

[0055] In some embodiments, the selected communication protocol may be HTTP, WebSocket, and gRPC. For applications with high real-time requirements, the selected communication protocol may be WebSocket.

[0056] In some embodiments, a standard format may be used to define the data transmission format, and the standard format may be JSON and Protobuf to ensure cross-platform operability.

[0057] The low-code platform synchronizes programming projects through visual graphical programming. In some large-scale coding projects, operations between different users may cause certain conflicts. For example, the same module implementation function needs to be equipped in different contexts, but during the user operation, only one implementation function is allowed to be allocated at the same time, and the conflict will be aggravated. In order to eliminate the above conflicts, it is necessary to assign priorities to each graphical node of the module. The higher the priority of the graphical node, the higher its priority in the mobile programming process, and the more priority it can be transmitted. Other lower priority parts need to wait for the allocation of the above high-priority graphical nodes before they can be allocated. Therefore, it is necessary to determine the priority of the module.

[0058] It should be noted that a module can contain several graphical nodes, and several modules can form a complete programming project. The complete programming project can reflect the overall implementation goals and themes of the code.

[0059] Step 102, static analysis is performed on the module data to obtain the principal component likelihood value corresponding to the module.

[0060] The principal component possibility value corresponding to a module can reflect the content of the principal component in the module. When the content of the principal component is high, the function of the module can better reflect the overall implementation goals and theme information of the code. The priority of the module should be higher, and the realization of a complete programming project is more dependent on the module.

[0061] For example, a complete programming project is to write a hardware sensor to obtain real-time data. The main components of the module must be the data communication and implementation process of the sensor, such as I 2 C communication module, then the higher the content of the main component of the module, the higher the possibility of the main component corresponding to the module.

[0062] In some embodiments, step 102 may specifically include:

[0063] Step 1021, perform word frequency statistics on the description text of the graphical nodes in the module data to obtain the text feature vectors corresponding to the graphical nodes in each module and the text feature vectors corresponding to the overall code implementation goals and themes. The description text of the graphical nodes in the module data includes text feature information and the overall code implementation goals and themes information.

[0064] The text feature vector corresponding to the graphical node in each module can reflect the functions implemented by the graphical nodes in each module, which can be obtained by performing word frequency statistics on the text feature information (such as labels, parameters, function names, etc.) in the description text of the graphical nodes in the module data, and performing vectorization conversion. The text feature vector corresponding to the overall implementation goal and theme of the code can reflect the overall implementation goal and theme of the code, that is, the functions implemented by the complete programming project, which can be obtained by performing word frequency statistics on the overall implementation goal and theme information (i.e., summary) of the code in the description text of the graphical nodes in the module data, and performing vectorization conversion.

[0065] Step 1022, converting the text feature vector into a one-hot encoding vector, wherein the one-hot encoding vector includes the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall implementation goal and theme of the code.

[0066] Convert text feature vectors into one-hot encoded vectors for easy subsequent analysis and calculation.

[0067] In some embodiments, The one-hot encoding vector sequence corresponding to the graphical nodes in each module can be ,in, Indicates of the modules The one-hot encoding vector corresponding to each graphical node.

[0068] In some embodiments, the one-hot encoding vector sequence corresponding to the code overall implementation goal and the theme can be ,in, Indicates The one-hot encoding vector corresponding to the overall implementation goal and topic of the code.

[0069] Step 1023, determining the similarity between the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall code implementation goal and theme.

[0070] The similarity between the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall implementation goal and theme of the code can reflect the similarity between the functions implemented by the graphical nodes in each module and the overall implementation goal and theme of the code.

[0071] In some embodiments, step 1023 is implemented according to the following formula:

[0072]

[0073] in, Indicates of the modules The similarity between the one-hot encoding vector corresponding to the graphical node and the one-hot encoding vector corresponding to the overall code implementation goal and theme reflects the similarity between the one-hot encoding vector corresponding to the graphical node and the one-hot encoding vector corresponding to the overall code implementation goal and theme. The functions implemented by the graphical nodes in each module are similar to the overall goals and themes of the code. Indicates of the modules The unique hot encoding vector corresponding to the graphical node reflects the of the modules The functions implemented, The one-hot encoding vector corresponding to the overall code implementation goals and themes reflects the overall code implementation goals and themes. express and The cosine similarity reflects the similarity between two vectors. Indicates the position number of the one-hot encoded vector in the one-hot encoded vector sequence corresponding to the overall implementation goal and theme of the code, The total number of one-hot encoded vectors in the one-hot encoded vector sequence corresponding to the overall code implementation goals and themes, and the value is not zero, Indicates the number of modules. Indicates The number of graphical nodes in a module. The bigger, the and The higher the similarity, the The larger the The larger it is, the more similar the functionality implemented by the graphical nodes in each module is to the overall code implementation goals and themes.

[0074] Step 1024, calculate the mean of the similarity between the one-hot encoding vectors corresponding to all graphical nodes in each module and the one-hot encoding vectors corresponding to the overall code implementation goals and themes, and obtain the principal component likelihood value corresponding to the module.

[0075] The mean of the similarities between the one-hot encoding vectors corresponding to all graphical nodes in each module and the one-hot encoding vectors corresponding to the overall implementation goals and themes of the code can reflect the similarity between the overall functions implemented by all graphical nodes in each module and the overall implementation goals and themes of the code. The larger the mean, the greater the logical closeness between the functions implemented by the module and the overall implementation goals and themes of the code. Therefore, the mean is used as the principal component possibility value corresponding to the module.

[0076] In some embodiments, step 1024 is implemented according to the following formula:

[0077]

[0078] in, Indicates The principal component likelihood value corresponding to the module reflects the The similarity between the overall functionality of all graphical nodes in a module and the overall goals and themes of the code, Indicates The total number of graphical nodes in the modules, Indicates of the modules The similarity between the one-hot encoding vectors corresponding to the graphical nodes and the one-hot encoding vectors corresponding to the overall implementation goals and themes of the code, Indicates the number of modules. Indicates The number of graphical nodes in a module, Indicates The total number of graphical nodes in the module and this value is not zero. The larger the The larger the The bigger, the The more similar the overall functions implemented by all graphical nodes in a module are to the overall goals and themes of the code.

[0079] In some embodiments, when the principal component possibility value is closer to 1, the possibility of it being a principal component is higher, which means that the priority of the module corresponding to the principal component possibility value is higher.

[0080] Step 103, determining the module synchronization priority according to the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules.

[0081] The accuracy of module synchronization priority can be improved by comprehensively considering the hierarchical relationship of modules, the movement frequency of modules and the principal component possibility value corresponding to modules. The module synchronization priority can reflect the priority of module data transmission. The higher the module synchronization priority, the more data needs to be transmitted first.

[0082] In some embodiments, step 103 may specifically include:

[0083] Step 1031, analyzing the coding position of the module in the overall coding to obtain the hierarchical relationship of the module.

[0084] The hierarchical relationship of modules can reflect the importance of the module in the functions implemented by the complete coding project.

[0085] For example, the complete programming project is to write a hardware sensor to obtain real-time data. 2 The functions implemented by the I C communication module are relatively important, and the overall code contains information such as the functional purpose of defining, analyzing, obtaining addresses, and reading address data, that is, it is in an important position in the overall code. 2 The higher the hierarchical relationship value corresponding to the C communication module.

[0086] In some embodiments, step 1031 may specifically include:

[0087] Step 10311, sort the modules using a topological sorting algorithm so that each module is located after the module it depends on, thereby obtaining a sorted module order.

[0088] It should be noted that the modules can be sorted so that each module is positioned after the modules it depends on, that is, the implementation of a module's function needs to rely on the functions of the modules sorted before it. The order of the sorted modules can reflect the position of each module in the overall code (that is, the overall code composed of the modules).

[0089] In some embodiments, the topological sorting algorithm may be a Kahn algorithm or a DFS-based algorithm.

[0090] Step 10312, according to the sorted module sequence, determine the coding position of the module in the overall coding, and obtain the hierarchical relationship of the modules to reflect the importance of the module in the function realized by the complete coding project.

[0091] It should be noted that the order and depth of the sorted modules indicate the importance and hierarchical structure of the modules in the complete coding project. The modules that are ranked higher are usually the "upstream" modules or "core" modules in the complete coding project, and the modules that are ranked lower are usually the "downstream" modules or auxiliary modules in the complete coding project. According to the sorted module order, the coding position of the module in the overall coding can be determined, that is, the hierarchical relationship of the modules, that is, the hierarchical level of the functions implemented by each module in the functions implemented by the complete project.

[0092] In some embodiments, the sorted modules can be numbered in descending order, so as to assign each module a hierarchical relationship value to reflect the importance of the module in the functions implemented by the complete coding project, wherein the hierarchical relationship value of the module ranked higher is larger, indicating that the module is highly important in the functions implemented by the complete coding project, and the hierarchical relationship value of the module ranked lower is smaller, indicating that the module is less important in the functions implemented by the complete coding project.

[0093] Step 1032, determining the movement frequency of the module according to the movement frequency of the graphical nodes in the module data.

[0094] The movement frequency of graphical nodes refers to the frequency of user interaction with graphical nodes, which can be quantified by tracking user clicks, drags, inputs, and other operations. The movement frequency of a module can reflect the overall movement frequency of all graphical nodes in the module in the entire code. The higher the movement frequency of a module, the higher the priority of the module.

[0095] In some embodiments, step 1032 is implemented according to the following formula:

[0096]

[0097] In the formula, Indicates The movement frequency value of a module reflects the overall movement frequency of all graphical nodes in the module in the entire code. Indicates of the modules The moving frequency of the graphical nodes reflects the of the modules The frequency with which a graphical node moves in the overall code, Indicates the number of modules. Indicates The number of graphical nodes in a module, Indicates The total number of graphical nodes in the module and this value is not zero. The larger the of the modules The more frequently a graphical node moves in the overall code, the The larger the The larger the value, the higher the overall movement frequency of all graphical nodes in the module in the entire code.

[0098] Step 1033, determining the module synchronization priority based on the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules.

[0099] The module synchronization priority can reflect the priority of the module's need for data transmission.

[0100] In some embodiments, step 1033 is implemented according to the following formula:

[0101]

[0102] in, Indicates The synchronization priority corresponding to each module reflects the The priority of each module for data transmission is as follows: Indicates The principal component likelihood value corresponding to each module is Indicates The moving frequency value of each module, Indicates The hierarchical relationship value of each module, Represents the normalization function. The bigger, The bigger, The bigger, The larger the The bigger, the The more modules need to be given priority for data transmission.

[0103] Step 104: Perform real-time synchronous transmission of different modules based on module synchronization priorities.

[0104] Real-time synchronous transmission of different modules is performed based on the module synchronization priority. Modules with high synchronization priority are transmitted first. When multiple users jointly edit, develop or configure modules, it can ensure that the data, status, configuration or code between each user maintains real-time or near real-time synchronization consistency, thereby ensuring the coordination of module deployment, improving programming efficiency, and eliminating the impact of conflicts caused by asynchronous data transmission.

[0105] In summary, the present invention provides a low-code platform data transmission method, which can ensure the coordination of module deployment, improve programming efficiency, and eliminate the impact of conflicts caused by asynchrony in data transmission.

[0106] In the second aspect, the present invention provides a low-code platform data transmission system, see Figure 2 The system comprises:

[0107] The acquisition module 201 is used to acquire module data corresponding to the real-time collaboration platform to be synchronized, where the module data includes a plurality of graphical nodes, and the graphical nodes include description texts.

[0108] The static analysis module 202 is used to perform static analysis on the module data to obtain the principal component possibility value corresponding to the module.

[0109] The determination module 203 is used to determine the module synchronization priority according to the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules.

[0110] The synchronous transmission module 204 is used to perform real-time synchronous transmission of different modules based on module synchronization priorities.

[0111] In some embodiments, the static analysis module 202 includes:

[0112] A processing unit is used to perform word frequency statistics on the description text of the graphical nodes in the module data to obtain the text feature vectors corresponding to the graphical nodes in each module and the text feature vectors corresponding to the overall code implementation goals and themes, wherein the description text of the graphical nodes in the module data includes text feature information and the overall code implementation goals and themes;

[0113] A conversion unit, used to convert the text feature vector into a one-hot encoding vector, wherein the one-hot encoding vector includes the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall implementation goal and theme of the code;

[0114] A determination unit, for determining the similarity between the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall implementation goal and theme of the code;

[0115] The calculation unit is used to calculate the mean of the similarity between the one-hot encoding vectors corresponding to all graphical nodes in each module and the one-hot encoding vectors corresponding to the overall implementation goals and themes of the code, and obtain the principal component possibility value corresponding to the module.

[0116] In some embodiments, the similarity between the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall code implementation goal and theme is determined according to the following formula:

[0117]

[0118] in, Indicates of the modules The similarity between the one-hot encoding vectors corresponding to the graphical nodes and the one-hot encoding vectors corresponding to the overall implementation goals and themes of the code, Indicates of the modules The one-hot encoding vector corresponding to the graphical nodes, The one-hot encoding vector representing the overall code implementation goals and themes. express and The cosine similarity of Indicates the position number of the one-hot encoded vector in the one-hot encoded vector sequence corresponding to the overall implementation goal and theme of the code, The total number of one-hot encoded vectors in the one-hot encoded vector sequence corresponding to the overall implementation goals and themes of the code, Indicates the number of modules. Indicates The number of graphical nodes in a module.

[0119] In some embodiments, the mean of the similarities between the one-hot encoding vectors corresponding to all graphical nodes in each module and the one-hot encoding vectors corresponding to the overall code implementation goals and themes is calculated according to the following formula to obtain the principal component likelihood value corresponding to the module:

[0120]

[0121] in, Indicates The principal component likelihood value corresponding to each module is Indicates The total number of graphical nodes in the modules, Indicates of the modules The similarity between the one-hot encoding vectors corresponding to the graphical nodes and the one-hot encoding vectors corresponding to the overall implementation goals and themes of the code, Indicates the number of modules. Indicates The number of graphical nodes in a module, Indicates The total number of graphical nodes in the module.

[0122] In some embodiments, the determination module 203 includes:

[0123] Hierarchical relationship unit, used to analyze the coding position of the module in the overall coding and obtain the hierarchical relationship of the module;

[0124] A moving frequency unit, used to determine the moving frequency of the module according to the moving frequency of the graphical node in the module data;

[0125] The module synchronization priority unit is used to determine the module synchronization priority based on the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules.

[0126] In some embodiments, the hierarchical relationship unit includes:

[0127] The sorting subunit is used to sort the modules by a topological sorting algorithm so that each module is located after the module it depends on, thereby obtaining a sorted module order;

[0128] The sub-unit is determined to determine the coding position of the module in the overall coding according to the sorted module sequence, so as to obtain the hierarchical relationship of the modules.

[0129] In some embodiments, the movement frequency of the module is determined according to the following formula:

[0130]

[0131] In the formula, Indicates The moving frequency value of each module, Indicates of the modules The movement frequency of graphical nodes, Indicates the number of modules. Indicates The number of graphical nodes in a module, Indicates The total number of graphical nodes in the module.

[0132] In some embodiments, the module synchronization priority is determined based on the hierarchical relationship of the modules, the movement frequency of the modules, and the principal component possibility value corresponding to the modules according to the following formula:

[0133]

[0134] in, Indicates The synchronization priority corresponding to each module, Indicates The principal component likelihood value corresponding to each module is Indicates The moving frequency value of each module, Indicates The hierarchical relationship value of each module, Represents the normalization function.

[0135] In some embodiments, the system also includes a configuration unit for configuring a low-code synchronization platform, building a synchronization communication transmission protocol, and modularizing synchronization data.

[0136] In summary, the present invention provides a low-code platform data transmission system, which can ensure the coordination of module deployment, improve programming efficiency, and eliminate the impact of conflicts caused by asynchronous data transmission.

[0137] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0138] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A low-code platform data transmission method, characterized in that: The method comprises: Acquire module data corresponding to the real-time collaboration platform to be synchronized, wherein the module data includes a plurality of graphical nodes, and the graphical nodes include description text; Performing static analysis on the module data to obtain the principal component possibility value corresponding to the module; Determine the module synchronization priority according to the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules; Performing real-time synchronous transmission of different modules based on the module synchronization priority; The static analysis of the module data to obtain the principal component possibility value corresponding to the module includes: Performing word frequency statistics on the description text of the graphical nodes in the module data to obtain text feature vectors corresponding to the graphical nodes in each module and text feature vectors corresponding to the overall code implementation goals and themes, wherein the description text of the graphical nodes in the module data includes text feature information and the overall code implementation goals and themes; Convert the text feature vector into a one-hot encoding vector, wherein the one-hot encoding vector includes the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall code implementation goal and theme; Determine the similarity between the one-hot encoded vectors corresponding to the graphical nodes in each module and the one-hot encoded vectors corresponding to the overall implementation goals and themes of the code; Calculate the mean of the similarity between the one-hot encoding vectors corresponding to all graphical nodes in each module and the one-hot encoding vectors corresponding to the overall code implementation goals and themes to obtain the principal component likelihood values ​​corresponding to the modules.

2. The low-code platform data transmission method according to claim 1 is characterized in that: Determine the similarity between the one-hot encoding vectors corresponding to the graphical nodes in each module and the one-hot encoding vectors corresponding to the overall code implementation goals and themes according to the following formula: in, Indicates of the modules The similarity between the one-hot encoding vectors corresponding to the graphical nodes and the one-hot encoding vectors corresponding to the overall implementation goals and themes of the code, Indicates of the modules The one-hot encoding vector corresponding to the graphical nodes, The one-hot encoding vector representing the overall code implementation goals and themes. express and The cosine similarity of Indicates the position number of the one-hot encoded vector in the one-hot encoded vector sequence corresponding to the overall implementation goal and theme of the code, The total number of one-hot encoded vectors in the one-hot encoded vector sequence corresponding to the overall implementation goals and themes of the code, Indicates the number of modules. Indicates The number of graphical nodes in a module.

3. The low-code platform data transmission method according to claim 1 is characterized in that: According to the following formula, the mean of the similarity between the one-hot encoding vectors corresponding to all graphical nodes in each module and the one-hot encoding vectors corresponding to the overall code implementation goals and themes is calculated to obtain the principal component probability value corresponding to the module: in, Indicates The principal component likelihood value corresponding to each module is Indicates The total number of graphical nodes in the modules, Indicates of the modules The similarity between the one-hot encoding vectors corresponding to the graphical nodes and the one-hot encoding vectors corresponding to the overall implementation goals and themes of the code, Indicates the number of modules. Indicates The number of graphical nodes in a module, Indicates The total number of graphical nodes in the module.

4. The low-code platform data transmission method according to claim 1 is characterized in that: The step of determining the module synchronization priority according to the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules includes: Analyze the coding position of the module in the overall coding to obtain the hierarchical relationship of the module; Determine the movement frequency of the module according to the movement frequency of the graphical nodes in the module data; The module synchronization priority is determined based on the hierarchical relationship of the modules, the movement frequency of the modules and the principal component possibility value corresponding to the modules.

5. The low-code platform data transmission method according to claim 4 is characterized in that: Analyze the coding position of the module in the overall coding and obtain the hierarchical relationship of the module, including: The modules are sorted by a topological sorting algorithm so that each module is located after the module it depends on, and the sorted module order is obtained; According to the sorted module sequence, the coding position of the module in the overall coding is determined to obtain the hierarchical relationship of the modules.

6. The low-code platform data transmission method according to claim 4 is characterized in that: Determine the module's movement frequency according to the following formula: In the formula, Indicates The moving frequency value of each module, Indicates of the modules The movement frequency of graphical nodes, Indicates the number of modules. Indicates The number of graphical nodes in a module, Indicates The total number of graphical nodes in the module.

7. The low-code platform data transmission method according to claim 6 is characterized in that: According to the following formula, the module synchronization priority is determined based on the hierarchical relationship of the modules, the movement frequency of the modules, and the principal component possibility value corresponding to the modules: in, Indicates The synchronization priority corresponding to each module, Indicates The principal component likelihood value corresponding to each module is Indicates The moving frequency value of each module, Indicates The hierarchical relationship value of each module, Represents the normalization function.

8. The low-code platform data transmission method according to claim 1 is characterized in that: Before obtaining the module data corresponding to the real-time collaboration platform to be synchronized, the method also includes: configuring a low-code synchronization platform, building a synchronization communication transmission protocol, and modularizing the synchronization data.

9. A low-code platform data transmission system, characterized in that: The system comprises: An acquisition module, used to acquire module data corresponding to the real-time collaboration platform to be synchronized, wherein the module data includes a plurality of graphical nodes, and the graphical nodes include description texts; A static analysis module, used to perform static analysis on the module data to obtain a principal component possibility value corresponding to the module; Determine the module, which is used to determine the module synchronization priority according to the hierarchical relationship of the module, the movement frequency of the module and the possibility value of the main component corresponding to the module; A synchronous transmission module, used for performing real-time synchronous transmission of different modules based on the module synchronization priority; The static analysis of the module data to obtain the principal component possibility value corresponding to the module includes: Performing word frequency statistics on the description text of the graphical nodes in the module data to obtain text feature vectors corresponding to the graphical nodes in each module and text feature vectors corresponding to the overall code implementation goals and themes, wherein the description text of the graphical nodes in the module data includes text feature information and the overall code implementation goals and themes; Convert the text feature vector into a one-hot encoding vector, wherein the one-hot encoding vector includes the one-hot encoding vector corresponding to the graphical node in each module and the one-hot encoding vector corresponding to the overall code implementation goal and theme; Determine the similarity between the one-hot encoded vectors corresponding to the graphical nodes in each module and the one-hot encoded vectors corresponding to the overall implementation goals and themes of the code; Calculate the mean of the similarity between the one-hot encoding vectors corresponding to all graphical nodes in each module and the one-hot encoding vectors corresponding to the overall code implementation goals and themes to obtain the principal component likelihood values ​​corresponding to the modules.

Citation Information

Patent Citations

  • Digital twin XR low-code development platform method

    CN118093047A

  • Low-code management system and method based on AIot Internet of Things

    CN119440513A