CN113918198B - Model-code synchronization method - Google Patents

Model-code synchronization method Download PDF

Info

Publication number
CN113918198B
CN113918198B CN202111520418.1A CN202111520418A CN113918198B CN 113918198 B CN113918198 B CN 113918198B CN 202111520418 A CN202111520418 A CN 202111520418A CN 113918198 B CN113918198 B CN 113918198B
Authority
CN
China
Prior art keywords
code
model
metadata
element data
generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111520418.1A
Other languages
Chinese (zh)
Other versions
CN113918198A (en
Inventor
黄玮
王学文
晁成汗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Cloud Computing Ltd
Original Assignee
Alibaba Cloud Computing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Cloud Computing Ltd filed Critical Alibaba Cloud Computing Ltd
Priority to CN202111520418.1A priority Critical patent/CN113918198B/en
Publication of CN113918198A publication Critical patent/CN113918198A/en
Application granted granted Critical
Publication of CN113918198B publication Critical patent/CN113918198B/en
Priority to PCT/CN2022/137615 priority patent/WO2023109648A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a model-code synchronization method, which comprises the following steps: in response to the first code corresponding to the target model being updated to the second code, scanning the second code based on a preset mode to obtain second code element data of the second code; comparing the second generation code element data with the first generation code element data; in response to the second code element data being altered relative to the first code element data, the second code element data is sent to the modeling platform for the modeling platform to update the first model metadata to second model metadata corresponding to the second code element data. The method introduces code metadata, wherein the code metadata corresponds to the model metadata and can be used for establishing association between the model and the code, realizing linkage of code change and model change and realizing bidirectional mapping between the model and the code, namely, the code can be generated based on the model and correspondingly realizing model change based on the change of the code.

Description

Model-code synchronization method
Technical Field
The present application relates to the field of computer technologies, and in particular, to a model-code synchronization method, a model-code bidirectional synchronization system, a server for implementing model-code synchronization, and a computer-readable storage medium.
Background
The common problem and pain point in the middle platform construction are that the design of a service model and the realization of codes are disjointed, and the matching degree between the model and the codes cannot be well evaluated, tracked and iteratively updated. For example, in a business model service scenario based on a third party service provider (ISV), since a code implementation part of a business model cannot be perceived, when the third party service provider changes, the changed service provider has a long period of taking over the system and a high difficulty in service.
Disclosure of Invention
The application provides a model-code synchronization method, a model-code bidirectional synchronization system, a server for realizing model-code synchronization and a storage medium, which are used for solving the problem that bidirectional association synchronization between a model and a code cannot be realized in the prior art.
The embodiment of the application provides a model-code synchronization method, which is applied to a development platform and comprises the following steps: in response to a first code corresponding to a target model being updated to a second code, scanning the second code based on a preset mode, and acquiring second code element data of the second code, wherein the second code element data is used for describing attribute information of the second code;
comparing the second generation code element data with first generation code element data, wherein the first generation code element data is used for describing attribute information of the first code, and the first generation code element data corresponds to first model metadata of the target model on a modeling platform;
in response to a change in the second symbol data relative to the first symbol data, sending the second symbol data or a differential content of the second symbol data relative to the first symbol data to the modeling platform for the modeling platform to update the first model metadata to second model metadata corresponding to the second symbol data based on the second symbol data or the differential content.
Optionally, the first code is an initial code frame corresponding to the modeled target model, the first code element data is code metadata obtained by scanning the initial code frame, and the second code is a code developed based on the initial code frame; correspondingly, the first model metadata is initial model metadata corresponding to the target model after modeling.
Optionally, the first code is obtained by performing code update on an existing code corresponding to the target model, and the first model metadata is model metadata obtained by updating based on the first generation symbol data.
Optionally, the method further includes: in response to the second code symbol data being altered relative to the first code symbol data, differential content of the second code relative to the first model metadata is presented.
Optionally, the sending the second code element data or the difference content of the second code element data relative to the first code element data to the modeling platform includes:
in response to a validation instruction to alter the target model based on the difference content of the second code relative to the first model metadata, sending the second code-element data or the difference content of the second code-element data relative to the first code-element data to the modeling platform.
Optionally, the method further includes: and in response to a confirmation instruction for prohibiting the change of the target model based on the content of the difference of the second code with respect to the first model metadata, performing change processing on the second code so that the code metadata of the changed second code corresponds to the first model metadata.
Optionally, the scanning the second code based on a preset manner to obtain second code element data of the second code includes: scanning the second code for multiple times based on a preset mode to obtain multiple code metadata; combining the plurality of symbol data into the second symbol data.
The embodiment of the present application further provides a model-code synchronization method, applied to a development platform, including:
in response to that a first code corresponding to a target model is updated to a second code, scanning the second code based on a preset mode, and acquiring second code element data of the second code, wherein the second code element data is used for describing attribute information of the second code, and the first code is an initial code frame corresponding to the target model after modeling or a code obtained after updating the existing code corresponding to the target model;
sending the second generation code element data to a modeling platform, so that the modeling platform compares the second generation code element data with first model metadata, and determines whether to update the first model metadata into second model metadata corresponding to the second generation code element data based on a comparison result; wherein the first model metadata corresponds to first generation symbol data of the first code, the first generation symbol data describing attribute information of the first code.
The embodiment of the present application further provides a model-code synchronization method, which is applied to a modeling platform, and includes: acquiring second code element data of the second code or difference content of the second code element data relative to first code element data from the development platform in response to the first code corresponding to the target model being updated to the second code, wherein the second code element data is used for describing attribute information of the second code, the first code element data is used for describing attribute information of the first code, and the first code element data corresponds to the first model metadata; updating the first model metadata to second model metadata corresponding to the second generation metadata based on the second generation metadata or the difference content.
Optionally, the method further includes: obtaining first model metadata of a target model; and obtaining a first code corresponding to the target model, and providing the first code for a development platform.
Optionally, the obtaining the first model metadata of the target model includes: in response to a target model being created, obtaining first model metadata for the target model;
correspondingly, the obtaining of the first code corresponding to the target model includes: generating an initial code frame corresponding to the target model in response to the target model being created;
the first code is updated to a second code, comprising: and on the development platform, developing codes based on the initial code framework to obtain second codes.
Optionally, the obtaining the first model metadata of the target model includes: in response to the target model being updated, obtaining first model metadata corresponding to the updated target model;
correspondingly, the obtaining of the first code corresponding to the target model includes: obtaining a code frame corresponding to the updated target model;
the first code is updated to a second code, comprising: and on the development platform, developing codes based on the code frame corresponding to the updated target model to obtain second codes.
Optionally, the obtaining a code frame corresponding to the updated target model includes one of: generating a code frame corresponding to the updated target model;
obtaining a code frame corresponding to a difference part of the updated target model relative to the target model before updating, and determining the code frame corresponding to the difference part as the code frame corresponding to the updated target model;
and acquiring a code frame corresponding to a difference part of the updated target model relative to the target model before updating, copying the code frame corresponding to the target model before updating, and merging the copied code frame with the code frame corresponding to the difference part to acquire the code frame corresponding to the updated target model.
The embodiment of the present application further provides a model-code synchronization method, which is applied to a modeling platform, and includes: in response to the first code corresponding to the target model being updated to the second code, obtaining second code element data of the second code from the development platform, wherein the second code element data is used for describing attribute information of the second code; comparing the second code element data with the first model metadata, and determining whether to update the first model metadata to second model metadata corresponding to the second code element data based on a comparison result.
Optionally, the method further includes: obtaining first model metadata of a target model; and obtaining a first code corresponding to the target model, and providing the first code for a development platform.
An embodiment of the present application further provides a model-code bidirectional synchronization system, which includes: a modeling platform and a development platform; the modeling platform is to: in response to the target model being created, obtaining first model metadata for the target model; obtaining a first code corresponding to the target model according to the first model metadata, and providing the first code to the development platform; obtaining, from the development platform, second code symbol data of the second code or difference content of the second code symbol data with respect to first code symbol data in response to the first code being updated to the second code, the second code symbol data describing attribute information of the second code, the first code symbol data describing attribute information of the first code, the first code symbol data corresponding to the first model metadata; updating the first model metadata to second model metadata corresponding to the second symbol data based on the second symbol data or a differential content of the second symbol data with respect to the first symbol data;
the development platform is to: receiving the first code; scanning the first code based on a preset mode to obtain the first code element data corresponding to the first code; responding to the development operation of a user based on the first code, and acquiring a second code corresponding to the target model; scanning the second code based on the preset mode to obtain second code element data of the second code; comparing the second generation symbol data with the first generation symbol data; in response to a change in the second symbol data relative to the first symbol data, sending the second symbol data or a differential content of the second symbol data relative to the first symbol data to the modeling platform.
Optionally, the modeling platform is further configured to: obtaining updated third model metadata in response to the target model being updated; obtaining a third code corresponding to the updated target model based on the third model metadata, and providing the third code to the development platform; correspondingly, the development platform is further used for: receiving the third code; and scanning the third code based on a preset mode to obtain third generation code element data corresponding to the third code, wherein the third generation code element data is used for describing attribute information of the third code, and the third generation code element data corresponds to the third model metadata.
Optionally, the development platform is further configured to: responding to the development operation of the user based on the third code, and acquiring a fourth code corresponding to the target model; scanning the fourth code based on the preset mode, and acquiring fourth code metadata of the fourth code, wherein the fourth code metadata is used for describing attribute information of the fourth code; comparing the fourth code metadata with the third code metadata; in response to the fourth code metadata being altered relative to the third generation code metadata, sending the fourth code metadata or differential content of the fourth code metadata relative to the third generation code metadata to the modeling platform; correspondingly, the modeling platform is further configured to: updating the third model metadata to fourth model metadata corresponding to the fourth code metadata based on the fourth code metadata or a difference content of the fourth code metadata with respect to the third generation symbol data.
Optionally, the development platform is further configured to: responding to development operation of a user based on the second code, and acquiring a fifth code corresponding to the target model; scanning the fifth code based on the preset mode to acquire fifth code metadata of the fifth code; comparing the fifth code metadata to the second code metadata; in response to the fifth code metadata being altered relative to the second code metadata, sending the fifth code metadata or differential content of the fifth code metadata relative to the second code metadata to the modeling platform; correspondingly, the modeling platform is further configured to: updating the second model metadata to fifth model metadata corresponding to the fifth code metadata based on the fifth code metadata or a difference content of the fifth code metadata with respect to the second code metadata.
An embodiment of the present application further provides a model-code bidirectional synchronization system, which includes: a modeling platform and a development platform; the modeling platform is to: in response to the target model being created, obtaining first model metadata for the target model; obtaining a first code corresponding to the target model according to the first model metadata, and providing the first code to the development platform; acquiring second code element data of the second code from the development platform in response to the first code being updated to the second code, the second code element data being used to describe attribute information of the second code; comparing the second code element data with the first model metadata, and determining whether to update the first model metadata to second model metadata corresponding to the second code element data based on a comparison result;
the development platform is to: receiving the first code; responding to the development operation of a user based on the first code, and acquiring a second code corresponding to the target model; scanning the second code based on the preset mode to obtain second code element data; sending the second generation metadata to the modeling platform.
An embodiment of the present application further provides a server for implementing model-code synchronization, including: a processor; and a memory for storing a model-code synchronization program, the server executing the method as described above after being powered on and running the program through the processor.
Embodiments of the present application also provide a computer-readable storage medium storing a model-code synchronization program, which is executed by a processor to perform the method described above.
Compared with the prior art, the method has the following advantages:
the model-code synchronization method provided by the application is applied to a development platform and comprises the following steps: in response to the first code corresponding to the target model being updated to the second code, scanning the second code based on a preset mode to obtain second code element data of the second code, wherein the second code element data is used for describing attribute information of the second code; comparing the second generation code element data with the first generation code element data, wherein the first generation code element data is used for describing attribute information of a first code corresponding to the target model, and the first generation code element data corresponds to first model metadata of the target model on a modeling platform; in response to the second code element data being altered relative to the first code element data, the second code element data is sent to the modeling platform for the modeling platform to update the first model metadata to second model metadata corresponding to the second code element data. The method realizes linkage of code change and model change by introducing code metadata which corresponds to the model metadata and can be used for establishing association between a model and a code, particularly, after a first code is changed into a second code, scanning the second code to obtain second code element data, and since the first code element data of the first code before the code change corresponds to the first model metadata of a target model on a modeling platform, comparing the second code element data with the first code element data substantially to compare the second code element data with the first model metadata of the target model on the modeling platform so as to know whether and what difference exists between the changed second code and the unchanged target model, and then sending the difference content of the second code element data or the second code element data relative to the first code element data to the modeling platform, and the modeling platform updates the first model metadata into second model metadata corresponding to the second generation metadata, and then the target model is correspondingly changed, so that the synchronization of the code to the model is realized. In this way, a bidirectional mapping between the model and the code can be achieved, i.e. the code can be generated based on the model and a change of the model is correspondingly achieved based on the change of the code.
Drawings
Fig. 1 is a flowchart of a model-code synchronization method provided in a first embodiment of the present application.
Fig. 2 is a flowchart of a model-code synchronization method according to a second embodiment of the present application.
Fig. 3 is a schematic diagram of a model-code bidirectional synchronization system provided in an embodiment of the present application.
Fig. 4 is a schematic logical structure diagram of a server for implementing model-code bidirectional synchronization according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
It should be noted that the terms first, second and the like in the description and claims of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to the explicitly listed steps, elements, or modules, but may include other steps, elements, or modules not expressly listed or inherent to such process, method, article, or apparatus.
First, an implementation environment and a technical background of the embodiments of the present application will be described. The application is realized by relying on a model-code bidirectional synchronization system, the system comprises a modeling platform and a development platform, as shown in fig. 3, different types of users can realize different requirements based on different platforms, for example, business personnel can design a model on the modeling platform according to actual application requirements, the modeling platform divides the model by applications, each application can be associated with a corresponding model, and the development personnel can update and develop the code of the model designed in the modeling platform on the development platform; specifically, the modeling platform provides a visual model design capability, for example, a graphical operation interface is provided for a user, and the user performs model design in the forms of control dragging, combination, drawing, form building and the like through the graphical operation interface; on the development platform, a user can establish connection with the modeling platform through a parameter configuration mode and the like and interact with the modeling platform. After the development platform is connected to the modeling platform, the development platform provides a program development environment, a user of the development platform can be configured and connected with the metadata service in the modeling platform under the provided program development environment, the user of the development platform can generate codes according to the obtained model metadata, and the visualized model can be displayed on the development platform in the form of the codes, so that a developer can modify the codes on the development platform to modify the model. The model metadata is data file content corresponding to models for specifically realizing graphics, forms and the like, characterizes the data form of the models, and can describe key information of the models, such as code package names stored by entity codes, application codes to which the models belong, field codes of the models, model codes, field lists of the models, field data types and the like, and the modeling platform can generate corresponding models based on the model metadata.
In this embodiment, the Development platform may be a Development tool IDE (Integrated Development Environment), and includes tools such as a code editor, a compiler, a debugger, and a graphical user interface, which integrate services such as a code compiling function, an analyzing function, a compiling function, and a debugging function, and a developer can perform operations such as code editing on the IDE.
The model-code bidirectional synchronization refers to that in a model-code bidirectional system, a code is generated from a model in a forward direction, the model is analyzed from the code in a reverse direction, and through the forward generation and reverse analysis processes, the consistency of the model and the code expression design in the model-code bidirectional system is achieved. The common problems and pain points in the middle platform construction are that the design of a service model and the realization of codes are disjointed, and the matching degree between the model and the codes cannot be well evaluated, tracked and iteratively updated. For example, in a business model service scenario based on a third party service provider (ISV), since a business party cannot perceive a code implementation part of a business model, when the third party service provider changes, the changed service provider has a long time to take over the system and has a high service difficulty. In addition, the current modeling tools only focus on professional modeling graphical capabilities, and part of the modeling tools can generate a code frame, but the model and the code cannot be continuously subjected to iterative tracking evolution, and bidirectional linkage of the model and the code cannot be realized.
For a model-code synchronization scenario, in order to implement bidirectional association synchronization between a model side and a code side, the present application provides a model-code synchronization method, a server, a computer-readable storage medium, and a model-code bidirectional synchronization system corresponding to the method, and the following embodiments provide detailed descriptions of the method, the server, the computer-readable storage medium, and the system.
The first embodiment of the present application provides a model-code synchronization method, which is applied to a development platform, that is, an execution subject of the method may be a computing device application for implementing model-code synchronization, and the computing device application may run in the development platform of a model-code bidirectional system in the form of middleware, and may specifically be a plug-in a development tool IDE, which is described below with reference to fig. 1.
As shown in fig. 1, the model-code synchronization method provided in this embodiment includes the following steps:
and S101, in response to the first code corresponding to the target model being updated to the second code, scanning the second code based on a preset mode to obtain second code element data of the second code.
In the model-code synchronization framework provided by the application, there are two ways to obtain codes, the first is an application development initial stage, after modeling by the modeling platform, codes corresponding to a corresponding generated model (not codes written by developers on the development platform) and the other is a subsequent model-code iterative evolution process, developers update existing codes on the development platform, wherein the existing codes can be entity codes written by the developers based on a predetermined programming language (any type of programming languages such as JAVA, Python and the like) or codes generated correspondingly after modeling by the modeling platform. In this embodiment, the manner of obtaining the second code by the development platform is a second manner, that is, after a developer updates a code based on an existing first code, the updated second code is correspondingly obtained, the first code and the second code are respectively codes corresponding to the target model in different stages or at different time points, and the second code may be a code obtained by updating the first code for multiple times or a code obtained by updating the first code for a single time. Specifically, the first code may be an initial code frame corresponding to the target model after modeling (corresponding to the first way of obtaining the code mentioned above), where the target model is modeled as a generalized model, for example, the method is not limited to the business personnel creating the target model through control dragging, combining, drawing, form building and the like on the graphical operation interface of the modeling platform, the object model may also be an existing model from another platform or other interface, either model after associating the application, all correspond to a code frame, the code frame represents the extraction and summarization of important contents in the code text, the second code is a code obtained by developing based on the initial code frame, and can be used for representing information such as a structural frame, a component, a function and the like of the code corresponding to the model, so that a developer can develop the subsequent code based on the code frame.
In this case, the second code is a code obtained by updating a code based on the first code (which corresponds to the second method for acquiring a code).
The above-mentioned second code symbol data is used to describe attribute information of the second code. By introducing a code scanning mechanism, code metadata corresponding to a code can be obtained after the code is scanned in a preset mode, the code metadata is used for describing attribute information of the code, such as information of functions, code classes, functions, object attributes, object relationships, application service categories, service methods and the like corresponding to sub-directories of the code, the code metadata corresponds to model metadata and is used for establishing association between the model and the code, the preset mode comprises a scanning strategy aiming at the code, the scanning strategy can enable finally scanned code metadata to be in corresponding relationship with the model metadata, the scanning process is a process for refining and summarizing the attribute information of the code, and the code metadata and the model metadata correspond to each other and mean that: for the same model, the structure distribution of the model metadata and the code metadata, the components, and the corresponding meanings and functions of the components are uniformly corresponded, for example, the scanned code metadata may be a tree structure with the same shape as the model metadata, and the meanings and names of the branches at the positions of the tree structure corresponding to the model metadata are the same. The code metadata and the model metadata are set in correspondence, real-time comparison between the code side and the model side is realized, for example, for a developed model which is in a stable state, the code metadata completely corresponds to the model metadata, if a developer changes a code on a development platform (for example, a code segment representing a certain method is deleted), the code metadata corresponding to the code is correspondingly changed, so that the generation metadata and the model metadata cannot completely correspond to each other, in this case, the content of the code which is inconsistent with the model metadata can be known by comparing the code metadata of the changed code with the unchanged model metadata, and the model and the code can be synchronized by changing the model metadata to be consistent with the code metadata. For another example, a business person changes a model in a modeling platform (model metadata is changed with the model metadata), in which case, by comparing the changed model metadata with the unchanged code metadata, the content of the model metadata inconsistent with the code can be known, and by changing the code metadata to be consistent with the model metadata, the synchronization of the code and the model can be realized.
In this embodiment, in order to increase the accuracy of the second code element data, the second code may be scanned multiple times, and specifically, the second code may be scanned multiple times based on a preset manner, to obtain multiple code element data, and the multiple code element data may be merged into the second code element data.
S102, comparing the second generation code element data with the first generation code element data.
After the step scans the second code based on the preset mode to obtain the second code element data of the second code, the step is used for comparing the second code element data with the first code element data to determine whether the code element data is changed.
It should be noted that, before the second code corresponding to the target model is obtained in step S101, a first code and first code element data of the first code are also obtained, where the first code element data is used to describe attribute information of the first code corresponding to the target model, and the first code element data corresponds to first model metadata of the target model on the modeling platform (for details, please refer to the description about the code metadata in step S101, which is not described herein again). In this embodiment, as described in step S101, if the first code is an initial code frame corresponding to the modeled target model, the first-generation symbol data is code metadata obtained by scanning the initial code frame, that is, after the development platform obtains the initial code frame (first code) provided by the modeling platform, the development platform first scans the initial code frame to obtain first-generation symbol data, and stores the first-generation symbol data for comparison of the generation symbol data after a subsequent code is changed, in this case, the first-generation symbol data is initial model metadata correspondingly generated after the modeled target model; if the first code is obtained after the last code update is performed on the target model, the first model metadata is the model metadata obtained based on the update of the first generation code element data, that is, after the code update, the code metadata is updated accordingly, and in order to achieve the synchronization between the model side and the code side, the model metadata needs to be updated based on the update of the code metadata and correspondingly updated.
S103, responding to the change of the second code element data relative to the first code element data, and sending the second code element data or the difference content of the second code element data relative to the first code element data to a modeling platform.
After the second generation symbol data is compared with the first generation symbol data in the above step, the step is used for sending the second generation symbol data or the difference content of the second generation symbol data relative to the first generation symbol data to the modeling platform after determining that the second generation symbol data is changed relative to the first generation symbol data, so that the modeling platform updates the first model metadata into the second model metadata corresponding to the second generation symbol data based on the second generation symbol data or the difference content, thereby realizing model updating and realizing the synchronization of the model and the code. The difference content of the second code element data relative to the first code element data can represent the difference content of the second code element data and the first model metadata, and further represent the content of the first model metadata which substantially needs to be updated, and the modeling platform can correspondingly change the first model metadata based on the difference content to obtain the second model metadata corresponding to the second code element data.
In this embodiment, after determining that the second-generation symbol data is changed with respect to the first-generation symbol data, the difference content of the second code with respect to the first model metadata may be further output, where the difference content is used for a developer to know the code update condition and the difference condition between the code and the model, and to determine whether to update the model metadata based on the update of the code. For example, the output difference content may be: method B is either dropped in the first model metadata compared to the second code or added in the second code compared to the first model metadata. Correspondingly, the sending of the second code element data or the difference content of the second code element data relative to the first code element data to the modeling platform may specifically refer to: after receiving a confirmation instruction of a developer to change the target model, the second code element data or the difference content of the second code element data relative to the first code element data is sent to the modeling platform.
After receiving a confirmation instruction that the developer prohibits changing the object model, the developer may change the second code so that the code metadata of the changed second code corresponds to the first model metadata, that is, the developer may determine whether to update the object model or update the code based on the difference content of the displayed second code with respect to the first model metadata.
In the model-code synchronization method provided in the embodiment of the present application, after a developer performs code development (updating based on an existing first code) on a target model, a second code corresponding to the target model is obtained, the second code is scanned based on a preset scanning mechanism, second code element data used for describing attribute information of the second code is obtained, and the second code element data is compared with first code element data used for describing attribute information of the first code, where the first code element data corresponds to first model metadata of the target model on a modeling platform; and when the second code element data is determined to be changed relative to the first code element data, sending the second code element data or the difference content of the second code element data relative to the first code element data to a modeling platform, so that the modeling platform updates the first model metadata into second model metadata corresponding to the second code element data. The method realizes linkage of code change and model change by introducing code metadata which corresponds to the model metadata and can be used for establishing association between a model and a code, particularly, after a first code is changed into a second code, scanning the second code to obtain second code element data, and since the first code element data of the first code before the code change corresponds to the first model metadata of a target model on a modeling platform, comparing the second code element data with the first code element data substantially to compare the second code element data with the first model metadata of the target model on the modeling platform so as to know whether and what difference exists between the changed second code and the unchanged target model, and then sending the difference content of the second code element data or the second code element data relative to the first code element data to the modeling platform, and the modeling platform updates the first model metadata into second model metadata corresponding to the second generation metadata, and then the target model is correspondingly changed, so that the synchronization of the code to the model is realized. In this way, a two-way mapping between the model and the code can be achieved, i.e. the code can be generated based on the model (prior art) and the model change is implemented accordingly based on the change of the code.
In another embodiment of the present application, after the first code is updated to the second code element data in step S101, the second code element data may also be directly sent to the modeling platform, so that the modeling platform compares the second code element data with the first model metadata, and determines whether to update the first model metadata to the second model metadata corresponding to the second code element data based on the comparison result. This mode differs from the first embodiment described above in that: in the method, the comparison between the second generation code element data and the first model metadata is implemented through the modeling platform, and when the second generation code element data is determined not to correspond to the first model metadata, the first model metadata is changed based on the second generation code element data to obtain the second model metadata, so that the change of the target model is realized.
A second embodiment of the present application provides a model-code synchronization method, which is applied to a modeling platform, and the method corresponds to the model-code synchronization method provided in the first embodiment, and please refer to the first embodiment for details regarding implementation of the method. As shown in fig. 2, the method comprises the steps of:
s201, first model metadata of the target model is obtained.
S202, obtaining a first code corresponding to the target model, and providing the first code to a development platform, wherein the first code is an initial code frame corresponding to the modeled target model or a code obtained after updating a code for an existing code corresponding to the target model.
S203, responding to the update of the first code to the second code, acquiring second code element data of the second code or difference content of the second code element data relative to the first code element data from the development platform, wherein the first code element data is used for describing attribute information of the first code, and the first code element data corresponds to the first model metadata, and the second code element data is used for describing attribute information of the second code.
And S204, updating the first model metadata into second model metadata corresponding to the second generation symbol data based on the second generation symbol data or the difference content.
The obtaining of the first model metadata of the target model may be: in response to the target model being created, obtaining first model metadata for the target model; correspondingly, the obtaining of the first code corresponding to the target model may specifically refer to: in response to the target model being created, generating an initial code frame corresponding to the target model (i.e., a new code frame is generated corresponding to the creation of the new model); correspondingly, the updating of the first code to the second code may specifically refer to: and developing the codes on the development platform by a developer based on the initial code framework to obtain second codes. In this embodiment, after the target model is created, the target model needs to be associated with the target application, specifically, business personnel may create a model on a modeling platform according to actual application requirements, the modeling platform performs model division with the applications, and each application may be associated with a corresponding model.
The obtaining of the first model metadata of the target model may further include: in response to the target model being updated (e.g., a business person making a change to the target model), obtaining first model metadata corresponding to the updated target model; correspondingly, the obtaining of the first code corresponding to the target model may refer to: obtaining a code frame corresponding to the updated target model; correspondingly, the first code is updated to the second code, which may specifically be: and developing the codes on the development platform by the developer based on the code frame corresponding to the updated target model to obtain second codes.
In this embodiment, the obtaining of the code frame corresponding to the updated target model may specifically be one of the following manners:
the first method is as follows: generating a code frame corresponding to the updated target model, namely generating a new code frame as long as the target model of the modeling platform is changed, and providing the newly generated code frame to the development platform;
the second method comprises the following steps: and acquiring a code frame corresponding to a difference part of the updated target model relative to the target model before updating, namely, after the target model is changed, generating a corresponding local code frame only for the difference part of the updated model relative to the model before updating, and providing the newly generated local code frame to a development platform.
The third method comprises the following steps: and acquiring a code frame corresponding to a difference part of the updated target model relative to the target model before updating, copying the code frame corresponding to the target model before updating, and merging the copied code frame with the code frame corresponding to the difference part to acquire the code frame corresponding to the updated target model.
In another embodiment, after the second code metadata of the second code is obtained from the development platform in step S203, the modeling platform directly compares the second code metadata with the first model metadata, and determines whether to update the first model metadata to the second model metadata corresponding to the second code metadata based on the comparison result. This mode differs from the second embodiment described above in that: in the method, the comparison between the second generation code element data and the first model metadata is implemented through a modeling platform, and when the second generation code element data is determined not to correspond to the first model metadata, the first model metadata is changed based on the second generation code element data to obtain second model metadata, so that the change of the target model is realized; or when it is determined that the second generation metadata corresponds to the first model metadata, no change processing is performed on the first model metadata.
The model-code synchronization method provided by the present embodiment corresponds to the model-code synchronization method provided by the first embodiment described above, and can implement bidirectional mapping between models and codes, that is, codes can be generated based on models, and model changes are implemented accordingly based on changes in codes.
A third embodiment of the present application provides a model-code bidirectional synchronization system, an embodiment of which corresponds to the first and second embodiments described above, as shown in fig. 3, and the system includes: a modeling platform 301 and a development platform 302;
the modeling platform 301 is configured to: in response to the target model being created, obtaining first model metadata for the target model; obtaining a first code corresponding to the target model according to the first model metadata, and providing the first code to the development platform; obtaining, from the development platform, second code symbol data of the second code or difference content of the second code symbol data with respect to first code symbol data in response to the first code being updated to the second code, the second code symbol data describing attribute information of the second code, the first code symbol data describing attribute information of the first code, the first code symbol data corresponding to the first model metadata; updating the first model metadata to second model metadata corresponding to the second symbol data based on the second symbol data or a differential content of the second symbol data with respect to the first symbol data;
the development platform 302 is to: receiving the first code; scanning the first code based on a preset mode to obtain first code element data corresponding to the first code; responding to the development operation of a user based on the first code, and acquiring a second code corresponding to the target model; scanning the second code based on the preset mode to obtain second code element data of the second code; comparing the second generation symbol data with the first generation symbol data; in response to a change in the second symbol data relative to the first symbol data, sending the second symbol data or a differential content of the second symbol data relative to the first symbol data to the modeling platform.
In the subsequent iterative evolution process of the code side and the model side, the update of the model side can drive the code side to update, for example, business personnel change the target model, the modeling platform responds to the update of the target model, correspondingly obtains updated third model metadata, obtains a third code corresponding to the updated target model based on the third model metadata, and provides the third code to the development platform; correspondingly, after receiving the third code, the development platform scans the third code based on a preset mode to obtain third code element data corresponding to the third code, where the third code element data is used to describe attribute information of the third code, and the third code element data corresponds to the third model metadata. After a user develops a code on a development platform based on a third code and obtains a fourth code, the development platform can scan the fourth code based on the preset mode to obtain fourth code metadata of the fourth code, wherein the fourth code metadata is used for describing attribute information of the fourth code; comparing the fourth code metadata with the third code element data; in response to the fourth code metadata being altered relative to the third generation code metadata, sending the fourth code metadata or differential content of the fourth code metadata relative to the third generation code metadata to the modeling platform; correspondingly, the modeling platform is further configured to: updating the third model metadata to fourth model metadata corresponding to the fourth code metadata based on the fourth code metadata or a difference content of the fourth code metadata with respect to the third generation symbol data.
In the iterative evolution process of the subsequent code side and the model side, the model side may also be driven by the update of the code side to update, for example, after a developer performs development operation on the development platform based on the second code, the development platform correspondingly obtains a fifth code corresponding to the target model, scans the fifth code based on a preset mode, obtains fifth code metadata of the fifth code, compares the fifth code metadata with the second code element data, and sends the fifth code metadata or the difference content of the fifth code metadata relative to the second code element data to the modeling platform if the fifth code metadata is changed relative to the second code element data; correspondingly, the modeling platform updates the second model metadata to fifth model metadata corresponding to the fifth code metadata based on the fifth code metadata or the difference content of the fifth code metadata with respect to the second code metadata.
The model-code bidirectional synchronization system provided in another embodiment of the present application differs from the above-described system as follows: after the modeling platform acquires the second code element data of the second code from the development platform, the modeling platform compares the second code element data with the first model metadata, and determines whether to update the first model metadata to second model metadata corresponding to the second code element data based on a comparison result. Specifically, the modeling platform is used for: in response to the target model being created, obtaining first model metadata for the target model; obtaining a first code corresponding to the target model according to the first model metadata, and providing the first code to the development platform; obtaining second code element data of the second code from the development platform in response to the first code being updated to the second code, the second code element data describing attribute information of the second code; comparing the second code element data with the first model metadata, and determining whether to update the first model metadata to second model metadata corresponding to the second code element data based on a comparison result;
the development platform is used for: receiving the first code; responding to the development operation of a user based on the first code, and acquiring a second code corresponding to the target model; scanning the second code based on the preset mode to obtain second code element data; sending the second generation metadata to the modeling platform.
In correspondence with the model-code synchronization method provided in the first embodiment of the present application, a fourth embodiment of the present application provides a server for implementing model-code synchronization. As shown in fig. 4, the server includes: a processor 401; and a memory 402 for storing a program of a model-code synchronization method, the apparatus performing the following steps after being powered on and running the program of the model-code synchronization method by the processor:
in response to a first code corresponding to a target model being updated to a second code, scanning the second code based on a preset mode, and acquiring second code element data of the second code, wherein the second code element data is used for describing attribute information of the second code;
comparing the second generation code element data with first generation code element data, wherein the first generation code element data is used for describing attribute information of the first code, and the first generation code element data corresponds to first model metadata of the target model on a modeling platform;
in response to a change in the second symbol data relative to the first symbol data, sending the second symbol data or a differential content of the second symbol data relative to the first symbol data to the modeling platform for the modeling platform to update the first model metadata to second model metadata corresponding to the second symbol data based on the second symbol data or the differential content.
It should be noted that, for the detailed description of the server for implementing model-code synchronization provided in the fourth embodiment of the present application, reference may be made to the related description of the first embodiment of the present application, and details are not repeated here.
In correspondence with the model-code synchronization method provided in the first embodiment of the present application, a fifth embodiment of the present application provides a computer-readable storage medium storing a program of a data change response method, the program being executed by a processor to perform the steps of:
in response to a first code corresponding to a target model being updated to a second code, scanning the second code based on a preset mode, and acquiring second code element data of the second code, wherein the second code element data is used for describing attribute information of the second code;
comparing the second generation code element data with first generation code element data, wherein the first generation code element data is used for describing attribute information of the first code, and the first generation code element data corresponds to first model metadata of the target model on a modeling platform;
in response to a change in the second symbol data relative to the first symbol data, sending the second symbol data or a differential content of the second symbol data relative to the first symbol data to the modeling platform for the modeling platform to update the first model metadata to second model metadata corresponding to the second symbol data based on the second symbol data or the differential content.
It should be noted that, for the detailed description of the computer-readable storage medium provided in the fifth embodiment of the present application, reference may be made to the related description of the first embodiment of the present application, and details are not described here again.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the appended claims.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
1. Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage media, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the appended claims.

Claims (22)

1. A model-code synchronization method applied to a development platform comprises the following steps:
in response to a first code corresponding to a target model being updated to a second code, scanning the second code based on a preset mode to obtain second code element data of the second code, wherein the second code element data is used for describing attribute information of the second code;
comparing the second generation code element data with first generation code element data, wherein the first generation code element data is used for describing attribute information of the first code, and the first generation code element data corresponds to first model metadata of the target model on a modeling platform;
in response to a change in the second symbol data relative to the first symbol data, sending the second symbol data or a differential content of the second symbol data relative to the first symbol data to the modeling platform for the modeling platform to update the first model metadata to second model metadata corresponding to the second symbol data based on the second symbol data or the differential content.
2. The method of claim 1, wherein the first code is an initial code frame corresponding to the modeled target model, the first code metadata is code metadata obtained by scanning the initial code frame, and the second code is code developed based on the initial code frame; correspondingly, the first model metadata is initial model metadata corresponding to the target model after modeling.
3. The method according to claim 1, wherein the first code is a code obtained by updating a code for an existing code corresponding to the target model, and the first model metadata is model metadata obtained by updating based on the first generation symbol data.
4. The method of claim 1, further comprising: in response to the second code symbol data being altered relative to the first code symbol data, differential content of the second code relative to the first model metadata is presented.
5. The method of claim 4, wherein sending the second generation symbolic data or a difference content of the second generation symbolic data relative to the first generation symbolic data to the modeling platform comprises:
in response to a validation instruction to alter the target model based on the difference content of the second code relative to the first model metadata, sending the second code-element data or the difference content of the second code-element data relative to the first code-element data to the modeling platform.
6. The method of claim 4, further comprising:
and in response to a confirmation instruction for prohibiting the change of the target model based on the content of the difference of the second code with respect to the first model metadata, performing change processing on the second code so that the code metadata of the changed second code corresponds to the first model metadata.
7. The method of claim 1, wherein scanning the second code based on the predetermined pattern to obtain second symbol data of the second code comprises:
scanning the second code for multiple times based on a preset mode to obtain multiple code metadata;
combining the plurality of symbol data into the second symbol data.
8. A model-code synchronization method applied to a development platform comprises the following steps:
in response to that a first code corresponding to a target model is updated to a second code, scanning the second code based on a preset mode, and acquiring second code element data of the second code, wherein the second code element data is used for describing attribute information of the second code, and the first code is an initial code frame corresponding to the target model after modeling or a code obtained after updating the existing code corresponding to the target model;
sending the second generation code element data to a modeling platform, so that the modeling platform compares the second generation code element data with first model metadata, and determines whether to update the first model metadata into second model metadata corresponding to the second generation code element data based on a comparison result; wherein the first model metadata corresponds to first generation symbol data of the first code, the first generation symbol data describing attribute information of the first code.
9. A model-code synchronization method applied to a modeling platform comprises the following steps:
acquiring second code element data of the second code or difference content of the second code element data relative to first code element data from a development platform in response to updating of a first code corresponding to a target model into the second code, wherein the second code element data is used for describing attribute information of the second code, the first code element data is used for describing attribute information of the first code, and the first code element data corresponds to first model metadata;
updating the first model metadata to second model metadata corresponding to the second generation metadata based on the second generation metadata or the difference content.
10. The method of claim 9, further comprising:
obtaining first model metadata of a target model;
and obtaining a first code corresponding to the target model, and providing the first code for a development platform.
11. The method of claim 10, wherein obtaining first model metadata for the target model comprises: in response to a target model being created, obtaining first model metadata for the target model;
correspondingly, the obtaining of the first code corresponding to the target model includes: generating an initial code frame corresponding to the target model in response to the target model being created;
the first code is updated to a second code, comprising: and on the development platform, developing codes based on the initial code framework to obtain second codes.
12. The method of claim 10, wherein obtaining first model metadata for the target model comprises: in response to the target model being updated, obtaining first model metadata corresponding to the updated target model;
correspondingly, the obtaining of the first code corresponding to the target model includes: obtaining a code frame corresponding to the updated target model;
the first code is updated to a second code, comprising: and on the development platform, developing codes based on the code frame corresponding to the updated target model to obtain second codes.
13. The method of claim 12, wherein obtaining the code frame corresponding to the updated object model comprises one of:
generating a code frame corresponding to the updated target model;
obtaining a code frame corresponding to a difference part of the updated target model relative to the target model before updating, and determining the code frame corresponding to the difference part as the code frame corresponding to the updated target model;
and acquiring a code frame corresponding to a difference part of the updated target model relative to the target model before updating, copying the code frame corresponding to the target model before updating, and merging the copied code frame with the code frame corresponding to the difference part to acquire the code frame corresponding to the updated target model.
14. A model-code synchronization method applied to a modeling platform comprises the following steps:
acquiring second code element data of second code from a development platform in response to the first code corresponding to the target model being updated into the second code, wherein the second code element data is used for describing attribute information of the second code;
the second-generation metadata is compared with the first-model metadata, and it is determined whether to update the first-model metadata to second-model metadata corresponding to the second-generation metadata based on a result of the comparison.
15. The method of claim 14, further comprising:
obtaining first model metadata of a target model;
and obtaining a first code corresponding to the target model, and providing the first code for a development platform.
16. A model-code bi-directional synchronization system, comprising: a modeling platform and a development platform;
the modeling platform is to: in response to the target model being created, obtaining first model metadata for the target model; obtaining a first code corresponding to the target model according to the first model metadata, and providing the first code to the development platform; acquiring second code element data of the second code or difference content of the second code element data relative to first code element data from the development platform in response to the first code being updated to the second code, the second code element data being used to describe attribute information of the second code, the first code element data being used to describe attribute information of the first code, the first code element data corresponding to the first model metadata; updating the first model metadata to second model metadata corresponding to the second symbol data based on the second symbol data or a differential content of the second symbol data with respect to the first symbol data;
the development platform is to: receiving the first code; scanning the first code based on a preset mode to obtain the first code element data corresponding to the first code; responding to the development operation of a user based on the first code, and acquiring a second code corresponding to the target model; scanning the second code based on the preset mode to obtain second code element data of the second code; comparing the second generation symbol data with the first generation symbol data; in response to a change in the second-generation symbol data relative to the first-generation symbol data, transmitting the second-generation symbol data or a differential content of the second-generation symbol data relative to the first-generation symbol data to the modeling platform.
17. The model-code bi-directional synchronization system of claim 16, wherein the modeling platform is further configured to: obtaining updated third model metadata in response to the target model being updated; obtaining a third code corresponding to the updated target model based on the third model metadata, and providing the third code to the development platform;
correspondingly, the development platform is further used for: receiving the third code; and scanning the third code based on a preset mode to obtain third generation code element data corresponding to the third code, wherein the third generation code element data is used for describing attribute information of the third code, and the third generation code element data corresponds to the third model metadata.
18. The model-code bi-directional synchronization system of claim 17, wherein the development platform is further configured to: responding to the development operation of the user based on the third code, and acquiring a fourth code corresponding to the target model; scanning the fourth code based on the preset mode to obtain fourth code metadata of the fourth code, wherein the fourth code metadata is used for describing attribute information of the fourth code; comparing the fourth code metadata with the third code element data; in response to the fourth code metadata being altered relative to the third generation code metadata, sending the fourth code metadata or differential content of the fourth code metadata relative to the third generation code metadata to the modeling platform;
correspondingly, the modeling platform is further configured to: updating the third model metadata to fourth model metadata corresponding to the fourth code metadata based on the fourth code metadata or a difference content of the fourth code metadata with respect to the third generation symbol data.
19. The model-code bi-directional synchronization system of claim 16, wherein the development platform is further configured to: responding to development operation of a user based on the second code, and acquiring a fifth code corresponding to the target model; scanning the fifth code based on the preset mode to acquire fifth code metadata of the fifth code; comparing the fifth code metadata to the second code metadata; in response to the fifth code metadata being altered relative to the second code metadata, sending the fifth code metadata or differential content of the fifth code metadata relative to the second code metadata to the modeling platform;
correspondingly, the modeling platform is further configured to: updating the second model metadata to fifth model metadata corresponding to the fifth code metadata based on the fifth code metadata or a difference content of the fifth code metadata with respect to the second code metadata.
20. A model-code bi-directional synchronization system, comprising: a modeling platform and a development platform;
the modeling platform is to: in response to the target model being created, obtaining first model metadata for the target model; obtaining a first code corresponding to the target model according to the first model metadata, and providing the first code to the development platform; acquiring second code element data of the second code from the development platform in response to the first code being updated to the second code, the second code element data being used to describe attribute information of the second code; comparing the second-generation symbol data with the first model metadata, and determining whether to update the first model metadata to second model metadata corresponding to the second-generation symbol data based on a comparison result;
the development platform is to: receiving the first code; responding to the development operation of a user based on the first code, and acquiring a second code corresponding to the target model; scanning the second code based on a preset mode to obtain second code element data; transmitting the second generation symbol data to the modeling platform.
21. A server for implementing model-code synchronization, comprising:
a processor; and
a memory for storing a model-code synchronization program, the server performing the method of any one of claims 1-15 upon powering on and running the program by the processor.
22. A computer-readable storage medium, in which a model-code synchronization program is stored, which is executed by a processor to perform the method according to any one of claims 1 to 15.
CN202111520418.1A 2021-12-14 2021-12-14 Model-code synchronization method Active CN113918198B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111520418.1A CN113918198B (en) 2021-12-14 2021-12-14 Model-code synchronization method
PCT/CN2022/137615 WO2023109648A1 (en) 2021-12-14 2022-12-08 Model-code synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111520418.1A CN113918198B (en) 2021-12-14 2021-12-14 Model-code synchronization method

Publications (2)

Publication Number Publication Date
CN113918198A CN113918198A (en) 2022-01-11
CN113918198B true CN113918198B (en) 2022-06-14

Family

ID=79249153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111520418.1A Active CN113918198B (en) 2021-12-14 2021-12-14 Model-code synchronization method

Country Status (2)

Country Link
CN (1) CN113918198B (en)
WO (1) WO2023109648A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918198B (en) * 2021-12-14 2022-06-14 阿里云计算有限公司 Model-code synchronization method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2056560A1 (en) * 2007-11-05 2009-05-06 Research In Motion Limited Method and system for optimizing delivery of mobile content using differential metadata updates
CN101882073A (en) * 2009-05-04 2010-11-10 谭家辉 Service-oriented application system and communication method, creator and creating method thereof
EP2916246A1 (en) * 2014-03-06 2015-09-09 Tata Consultancy Services Limited Primary and foreign key relationship identification with metadata analysis
US20170300306A1 (en) * 2016-04-13 2017-10-19 Qualcomm Innovation Center, Inc. Accelerated parsing in a virtual machine for similar javascript codes in webpages
CN111752633A (en) * 2020-06-18 2020-10-09 支付宝(杭州)信息技术有限公司 Code loading method, device and equipment
CN113515278A (en) * 2021-06-16 2021-10-19 深圳奥哲网络科技有限公司 Low code model processing method, system, electronic device and storage medium
CN113918198B (en) * 2021-12-14 2022-06-14 阿里云计算有限公司 Model-code synchronization method

Also Published As

Publication number Publication date
WO2023109648A1 (en) 2023-06-22
CN113918198A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
EP1489496B1 (en) System and method for creating, managing and using code segments
US8813024B2 (en) System and a method for cross-platform porting of business application and making them contextually-aware on target platforms
US9524279B2 (en) Help document animated visualization
US20060168557A1 (en) Methods and apparatus for implementing model-based software solution development and integrated change management
US10055302B2 (en) Performing a closure merge operation
US8839186B2 (en) Entity morphing in metamodel-based tools
CN111090433A (en) Data processing method, device and storage medium
CN109408354B (en) Data processing method and device for application component
WO2023130933A1 (en) Model processing method and apparatus, code aquisition method and apparatus, and electronic device
CN113986741A (en) Component debugging method and device and computer equipment
CN111143204B (en) Applet code scanning method and device
CN113918198B (en) Model-code synchronization method
US9244706B2 (en) Command line shell command generation based on schema
CN110134434B (en) Application generation processing method and system and application generation system
CN115048083A (en) Visualization method and device for assembly, storage medium and electronic equipment
CN115016778A (en) WebIDE-based application development method, equipment and medium
CN114449063A (en) Message processing method, device and equipment
CN114518875A (en) Graphical programming system and programming method thereof
CN113918664B (en) Data processing method and device
Serrão SMART: Static and Dynamic Analysis to Reverse Engineer Android Applications
JPWO2020100081A5 (en)
Brisaboa et al. Creating web-based GIS applications using automatic code generation techniques
Pedreira Creating Web-Based GIS Applications Using Automatic Code Generation Techniques
CN115373656A (en) Page generation method and device, computer readable medium and electronic equipment
Santos et al. Increasing Quality in Scenario Modelling with Model-Driven Development

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40065681

Country of ref document: HK