Shared code development framework platform

By introducing code sharing analysis unit and transmission processing unit into the code development framework platform, real-time sharing and efficient transmission of code are realized, and the problems of low efficiency of collaborative development and delay in code upload in the existing technology are solved.

CN119668622APending Publication Date: 2025-03-21ZHONGSHUI SANLI DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411779431.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

The existing code development framework platform cannot realize real-time sharing and transmission of code, resulting in inefficient collaborative development and easy congestion and delays when uploading code.

Method used

A shared code development framework platform is designed, including a code sharing analysis unit and a code sharing transmission processing unit. The code sharing analysis unit generates shared identification information to realize real-time sharing of the code by identifying and monitoring variables in the code. The code sharing transmission processing unit avoids congestion and delay in code transmission by segmented transmission and adjusting the transmission cycle.

Benefits of technology

Real-time sharing and transmission of code is realized, the efficiency of collaborative development is improved, and the problem of delays and congestion of code uploads is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668622A_ABST
    Figure CN119668622A_ABST
Patent Text Reader

Abstract

The invention discloses a shared code development framework platform, relates to the technical field of application program code sharing, and solves the technical problems that codes cannot be watched in real time, the code sharing collaboration is reduced, and the code uploading delay is caused by the situation of uploading congestion during code transmission. Different uploaded codes are analyzed, variables in the codes are extracted and monitored, the same code variable condition occurring in the code sharing process is analyzed by monitoring the variables, the code information is updated and checked in time, and the code sharing efficiency is improved. The method comprises the following steps of: firstly, analyzing uploaded code time, adjusting the uploading time, generating period information and transmitting codes according to an uploading period, so that the codes are uploaded in different time periods, the condition of code transmission blockage caused by collective uploading is avoided, and the code uploading efficiency is improved. And the whole time delay is caused.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of application code sharing, and in particular to a shared code development framework platform. Background Art

[0002] The code development framework platform is a technical tool that supports rapid application development, aiming to improve development efficiency, reduce R&D costs, and simplify the programming process. In the current technology environment, many companies and technical teams seek to accelerate the development process through low-code or no-code platforms, which enable non-professional programmers to easily build applications through visual programming interfaces and pre-built components.

[0003] Some existing products require users to install the platform when they are used, and users are required to actively or passively upgrade the products when the products are updated. When developers are collaboratively developing applications, such as developing an APP at the same time, multiple people are required to develop the system. In this case, different people may be assigned different tasks. When coding the tasks, the coders need to submit the codes in a timely manner after writing them. Other personnel can only see the development results after updating the codes, and they cannot know the work results of their partners in a timely manner. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides a shared code development framework platform, which solves the problem that the code cannot be viewed in real time, reduces the synergy of code sharing, and secondly, there is upload congestion during code transmission, causing code upload delays.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a shared code development framework platform, including: The code sharing analysis unit is used to analyze the acquired function code, identify the variables of different function codes, generate variable locks according to the variables, and perform shared repetition identification and positioning according to the variables to generate shared identification information, and the shared identification information includes: normal monitoring signal and variable lock signal, and then transmit the shared identification information to the information comprehensive output unit; The code sharing transmission processing unit is used to analyze the real-time transmission code, generate a transmission monitoring signal and a transmission processing signal by judging whether there are multiple codes being transmitted simultaneously, and for the transmission processing signal, transmit the real-time transmission code in segments, and perform a comprehensive analysis in combination with the corresponding transmission speed to generate transmission information, and transmit the transmission information to the information synthesis output unit at the same time.

[0006] As a further solution of the present invention: it also includes a code acquisition unit, which is used to acquire function codes written by different programmers, and transmit the acquired function codes to the code sharing analysis unit.

[0007] As a further solution of the present invention: the specific method of the code sharing analysis unit to generate the shared identification information is: Establish a code sharing platform, then label the programmers as i, and j = 1, 2, ..., j, where j represents the number of programmers, and obtain the function code written by programmer i, and take any programmer as the analysis object, obtain the function code of the analysis object, and obtain the variables in the function code, and transmit the obtained function code variables to the sharing platform; The shared platform receives the transmitted function code variables, and performs repeated identification and judgment based on the function code variables, and monitors the function codes written by different programmers i. If the function code variables of the analysis object appear during the monitoring process, a secondary identification signal is generated. Otherwise, if the function code variables of the analysis object do not appear during the monitoring process, a normal monitoring signal is generated.

[0008] As a further solution of the present invention: the specific manner in which the shared analysis unit analyzes and processes the secondary identification signal is: Get the same code variable and determine the specific situation of repeated occurrence. If the same function code variable is in use, a normal monitoring signal is generated. If the same function code variable is in coding, a variable locking signal is generated.

[0009] As a further solution of the present invention: the specific manner in which the code sharing transmission processing unit generates the transmission monitoring signal and the transmission processing signal is: The transmission code of programmer i is obtained, and the corresponding transmission code amount is recorded as Li, and the corresponding real-time transmission speed is recorded as V. Then the obtained parameters are substituted into the formula Calculate the corresponding transmission time T, and obtain the corresponding transmission time period according to the transmission time T; Then, whether there is other code transmission within the transmission time period, if yes, a transmission processing signal is generated, if not, a transmission monitoring signal is generated, and the generated transmission monitoring signal is transmitted to the information integration output unit.

[0010] As a further solution of the present invention: the specific manner in which the code sharing transmission processing unit analyzes the transmission processing signal is: Obtain other transmission codes corresponding to the transmission time period, and label them as n, where n=1, 2, ..., m, where m represents the number of transmission codes, and simultaneously obtain the code quantity Ln corresponding to the transmission code n, and calculate the transmission time Tn of the transmission code n based on the real-time transmission speed V; Taking the transmission time point of the transmission code n as the starting point, the corresponding transmission time period is obtained, and the corresponding transmission fluctuation within the transmission time period is judged. The judgment is made by calculating the transmission speed difference within the transmission time period. When the transmission speed difference is greater than the preset value, it means that the transmission fluctuation is unstable within the transmission time period, and the unstable transmission fluctuation duration is obtained and recorded as Ta. When the transmission speed difference is less than the preset value, it means that the transmission fluctuation is stable within the transmission time period, and the stable transmission fluctuation duration is obtained and recorded as Tb. Then, the transmission period is generated based on the stable duration Tb of the transmission fluctuation, and the period interval is generated based on the unstable duration Ta of the transmission fluctuation. At the same time, the code variable corresponding to the transmission code n is obtained, and the transmission code n is divided using the code variable as the dividing point to obtain the divided code package. Then, the divided code package is transmitted to generate transmission information.

[0011] As a further solution of the present invention: it also includes an information integration output unit, which is used to display the acquired shared identification information to the corresponding operator, and transmit the code according to the acquired transmission information.

[0012] The present invention provides a shared code development framework platform. Compared with the prior art, it has the following beneficial effects: The present invention analyzes different uploaded codes, extracts and monitors variables in the codes, and analyzes the same code variables that appear in the code sharing process through variable monitoring, thereby realizing timely updating and viewing of code information, and avoiding subsequent program errors caused by repeated variable definitions. Secondly, the uploaded code time is analyzed, and the upload time is adjusted and cycle information is generated. The code is transmitted according to the upload cycle, and the code is uploaded in different time periods, thereby avoiding the blockage of code transmission caused by collective uploading and causing overall delay. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 This is a system block diagram of the present invention. DETAILED DESCRIPTION

[0014] 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 only 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.

[0015] See also Figure 1 The present application provides a shared code development framework platform, including a code acquisition unit, a code sharing analysis unit, a code sharing transmission processing unit and an information synthesis output unit.

[0016] The code acquisition unit is used to acquire the function codes written by different programmers and transmit the acquired function codes to the code sharing analysis unit.

[0017] The code sharing analysis unit is used to analyze the acquired function code, identify the variables of different function codes, generate variable locks according to the variables, and generate shared identification information by sharing repeated identification and positioning according to the variables. The shared identification information includes: normal monitoring signal and variable lock signal. Then, the shared identification information is transmitted to the information comprehensive output unit. The specific method of generating the shared identification information is: The system first establishes a code sharing platform, which will receive the function codes written by different programmers in real time. Then the programmers are labeled as i, and = 1, 2, ..., j, where j represents the number of programmers. At the same time, the function code written by programmer i is obtained, and any one of the programmers is used as the analysis object to obtain the function code of the analysis object. At the same time, the variables in the function code are obtained, and the variables here represent a convenient placeholder for referencing the computer memory address, which can store program information that can be changed when the Script is running. The variable name must start with a letter or an underscore, and the name can only be composed of letters, numbers and underscores "_"; the last character can be a type specifier, for example: suppose you are writing a software for selling apples for a fruit shop. We need two variables to store the price and sales volume of apples. At this time, you can define two variables named Apple_Price and Apple_Sold, and transfer the obtained function code variables to the sharing platform; The shared platform receives the transmitted function code variables, and performs repeated identification and judgment according to the function code variables, and monitors the function codes written by different programmers i. If the function code variables of the analysis object appear in the subsequent monitoring process, it is necessary to further analyze the same function code variables that appear, and generate a secondary identification signal. On the contrary, if the function code variables of the analysis object do not appear in the subsequent monitoring, a normal monitoring signal is generated; Then analyze the generated secondary identification signal, obtain the same code variable, and judge the specific situation of repeated occurrence. If the same function code variable is in use, it means that the same function code variable is in reference, and a normal monitoring signal is generated. If the same function code variable is in coding, it means that there are other programmers who encode the same function code variable and generate a variable lock signal. Specifically, for example, when a programmer writes a function code, the function code variable used is a=1. The system will further obtain the corresponding function code variable and monitor it. If a code variable a= appears in the subsequent monitoring process, subsequent identification and judgment are required. If the subsequent complete code variable is a=1, it means that the corresponding function code variable is only referenced. In this case, the coding rules will not be violated, and a normal monitoring signal will be generated. On the contrary, if the subsequent complete code variable is a=2, it means that there is a code variable being written. In this case, the variable coding rules are violated, and a variable lock signal is generated, and the corresponding programmer is reminded to make modifications.

[0018] The code sharing transmission processing unit is used to analyze the real-time transmission code, generate a transmission monitoring signal and a transmission processing signal by judging whether there are multiple codes being transmitted simultaneously, and for the transmission processing signal, the real-time transmission code is transmitted in segments, and a comprehensive analysis is performed in combination with the corresponding transmission speed to generate transmission information, and the transmission information is transmitted to the information comprehensive output unit at the same time, and the specific method of generating the transmission information is: The transmission code of programmer i is obtained, and the one obtained here is the first programmer to upload the code. At the same time, the corresponding transmission code amount is obtained and recorded as Li, and the corresponding real-time transmission speed is obtained and recorded as V. The real-time transmission speed here is the transmission speed corresponding to the time point of uploading the code. Then substitute the obtained parameters into the formula Calculate the corresponding transmission time T, and obtain the corresponding transmission time period according to the transmission time T; Then, whether there are other code transmissions in the transmission time period, if yes, a transmission processing signal is generated, if not, a transmission monitoring signal is generated, and the generated transmission monitoring signal is transmitted to the information integrated output unit, and the generated transmission processing signal is further analyzed to obtain other corresponding transmission codes in the transmission time period, and the codes are labeled as n, and n=1, 2, ..., m, where m represents the number of transmission codes, and the number statistics here are calculated based on the code uploaded by the programmer as the standard, for example, if there are two programmers uploading codes, the number of transmission codes in the time period is 2, and the code amount Ln corresponding to the transmission code n is obtained, and the transmission time Tn of the transmission code n is calculated based on the real-time transmission speed V as the standard; Taking the transmission time point of the transmission code n as the starting point, the corresponding transmission time period is obtained, and the corresponding transmission fluctuation within the transmission time period is judged. The judgment is made by calculating the transmission speed difference within the transmission time period. When the transmission speed difference is greater than the preset value, it means that the transmission fluctuation is unstable within the transmission time period, and the unstable transmission fluctuation duration is obtained and recorded as Ta. When the transmission speed difference is less than the preset value, it means that the transmission fluctuation is stable within the transmission time period, and the stable transmission fluctuation duration is obtained and recorded as Tb. Then, the transmission period is generated based on the stable transmission fluctuation duration Tb, and the period interval is generated based on the unstable transmission fluctuation duration Ta. At the same time, the code variable corresponding to the transmission code n is obtained, and the transmission code n is segmented using the code variable as the segmentation point to obtain a segmented code package, and then the segmented code package is transmitted to generate transmission information. For example, if there are three code variables in the transmission code n, the code variable is used as the segmentation point, and the segmented code obtained by segmentation includes the corresponding code variable, and four segmented code packages are obtained after segmentation.

[0019] An information synthesis output unit is used to transmit the code according to the generated transmission information.

[0020] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.

[0021] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A shared code development framework platform, characterized in that: include: The code sharing analysis unit is used to analyze the acquired function code, identify the variables of different function codes, generate variable locks according to the variables, and perform shared repetition identification and positioning according to the variables to generate shared identification information, and the shared identification information includes: normal monitoring signal and variable lock signal, and then transmit the shared identification information to the information comprehensive output unit; The code sharing transmission processing unit is used to analyze the real-time transmission code, generate a transmission monitoring signal and a transmission processing signal by judging whether there are multiple codes being transmitted simultaneously, and for the transmission processing signal, transmit the real-time transmission code in segments, and perform a comprehensive analysis in combination with the corresponding transmission speed to generate transmission information, and transmit the transmission information to the information synthesis output unit at the same time.

2. A shared code development framework platform according to claim 1, characterized in that: It also includes a code acquisition unit, which is used to acquire function codes written by different programmers and transmit the acquired function codes to the code sharing analysis unit.

3. A shared code development framework platform according to claim 1, characterized in that: The specific method of the code sharing analysis unit generating the sharing identification information is as follows: Establish a code sharing platform, then label the programmers as i, and j = 1, 2, ..., j, where j represents the number of programmers, and obtain the function code written by programmer i, and take any programmer as the analysis object, obtain the function code of the analysis object, and obtain the variables in the function code, and transmit the obtained function code variables to the sharing platform; The shared platform receives the transmitted function code variables, and performs repeated identification and judgment based on the function code variables, and monitors the function codes written by different programmers i. If the function code variables of the analysis object appear during the monitoring process, a secondary identification signal is generated. Otherwise, if the function code variables of the analysis object do not appear during the monitoring process, a normal monitoring signal is generated.

4. A shared code development framework platform according to claim 3, characterized in that: The specific method in which the shared analysis unit analyzes and processes the secondary identification signal is as follows: Get the same code variable and determine the specific situation of repeated occurrence. If the same function code variable is in use, a normal monitoring signal is generated. If the same function code variable is in coding, a variable locking signal is generated.

5. A shared code development framework platform according to claim 1, characterized in that: The specific manner in which the code sharing transmission processing unit generates the transmission monitoring signal and the transmission processing signal is as follows: The transmission code of programmer i is obtained, and the corresponding transmission code amount is recorded as Li, and the corresponding real-time transmission speed is recorded as V. Then the obtained parameters are substituted into the formula Calculate the corresponding transmission time T, and obtain the corresponding transmission time period according to the transmission time T; Then, whether there is other code transmission within the transmission time period, if yes, a transmission processing signal is generated, if not, a transmission monitoring signal is generated, and the generated transmission monitoring signal is transmitted to the information integration output unit.

6. A shared code development framework platform according to claim 5, characterized in that: The specific method in which the code sharing transmission processing unit analyzes the transmission processing signal is as follows: Obtain other transmission codes corresponding to the transmission time period, and label them as n, where n=1, 2, ..., m, where m represents the number of transmission codes, and simultaneously obtain the code quantity Ln corresponding to the transmission code n, and calculate the transmission time Tn of the transmission code n based on the real-time transmission speed V; Taking the transmission time point of the transmission code n as the starting point, the corresponding transmission time period is obtained, and the corresponding transmission fluctuation within the transmission time period is judged. The judgment is made by calculating the transmission speed difference within the transmission time period. When the transmission speed difference is greater than the preset value, it means that the transmission fluctuation is unstable within the transmission time period, and the unstable transmission fluctuation duration is obtained and recorded as Ta. When the transmission speed difference is less than the preset value, it means that the transmission fluctuation is stable within the transmission time period, and the stable transmission fluctuation duration is obtained and recorded as Tb. Then, the transmission period is generated based on the stable duration Tb of the transmission fluctuation, and the period interval is generated based on the unstable duration Ta of the transmission fluctuation. At the same time, the code variable corresponding to the transmission code n is obtained, and the transmission code n is divided using the code variable as the dividing point to obtain the divided code package. Then, the divided code package is transmitted to generate transmission information.

7. A shared code development framework platform according to claim 1, characterized in that: It also includes an information comprehensive output unit, which is used to display the acquired shared identification information to the corresponding operator and transmit the code according to the acquired transmission information.