A method and device for data processing

By constructing software framework data, including the first element model and the second element model, product objects for the target model are generated, which solves the problem of model association and transformation in industrial software development, and realizes industrial software development of the whole life cycle and the whole value chain. Ability improvement.

CN112764742BActive Publication Date: 2024-09-06SHANGHAI GONGFANG SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110071276.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-19
Publication Date
2024-09-06
Estimated Expiration
2041-01-19

AI Technical Summary

Technical Problem

When traditional industrial software develops the full life cycle and full value chain of industrial products, there are problems with the correlation and transformation between industrial models and computer models, resulting in development limitations.

Method used

By constructing software framework data, including the first meta-model and the second meta-model, the second meta-model is the meta-model of the first meta-model, and generates product objects for the target model, solving the problem of association and transformation between computer models.

Benefits of technology

It realizes the generation of product objects for the target model, solves the problem of model association and transformation in industrial software development, and improves the industrial software development capabilities of the whole life cycle and the whole value chain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112764742B
    Figure CN112764742B
Patent Text Reader

Abstract

The embodiment of the present invention provides a method and device for data processing, the method comprising: determining the target product configuration data of the target model from a plurality of product configuration data by constructing software framework data, determining the target process configuration data of the target model from a plurality of process configuration data, determining the target product dictionary data of the target model from a plurality of product dictionary data, and determining the target behavior dictionary data of the target model from a plurality of behavior dictionary data according to the target product dictionary data, and generating a product object for the target model according to the target product configuration data, the target process configuration data, the target product dictionary data, and the target behavior dictionary data. Through the embodiment of the present invention, the generation of the product object for the target model is realized, and the association and transformation problems between computer models are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial technology, and in particular to a method and device for data processing. Background Art

[0002] With the rapid development of the industrial Internet, industrial software developed for industrial products in the industrial field has been widely used.

[0003] However, the development of traditional industrial software mostly focuses on one or some specific dimensions of a certain industrial product, which has certain limitations for the development of industrial software applied to the entire life cycle and entire value chain of a certain industrial product. In addition, when developing industrial software for the entire life cycle of a certain industrial product, there are problems of association and transformation between industrial models in the industrial field and computer models in the computer field. The entire life cycle and entire value chain of an industrial product include all aspects such as product design, manufacturing, use and maintenance. Summary of the invention

[0004] In view of the above problems, a method and device for data processing is proposed to overcome the above problems or at least partially solve the above problems, including:

[0005] A method for data processing, the method comprising:

[0006] Constructing software framework data; wherein the software framework data includes first model data of a first metamodel and second model data of a second metamodel, the second metamodel is a metamodel of the first metamodel, the first model data includes a plurality of product configuration data and a plurality of process configuration data, the second model data includes a plurality of product dictionary data, a plurality of behavior dictionary data, and associations between the plurality of product dictionary data and the plurality of behavior dictionary data;

[0007] Determine target product configuration data of a target model from the plurality of product configuration data, and determine target process configuration data of the target model from the plurality of process configuration data; wherein the first meta-model is a meta-model of the target model;

[0008] Determine target product dictionary data of the target model from the plurality of product dictionary data, and determine target behavior dictionary data of the target model from the plurality of behavior dictionary data according to the target product dictionary data;

[0009] A product object for the target model is generated according to the target product configuration data, the target process configuration data, the target product dictionary data, and the target behavior dictionary data.

[0010] Optionally, each product configuration data includes hierarchical structure information between one or more configuration products, and each process configuration data includes sequential structure information between one or more configuration behaviors.

[0011] Optionally, each product dictionary data includes any one or more of the following:

[0012] Product name information, product attribute information.

[0013] Optionally, each behavior dictionary data includes any one or more of the following:

[0014] Behavior name information, behavior input information, behavior attribute information, and behavior status information.

[0015] Optionally, it also includes:

[0016] The first model data also includes interface style data associated with the behavior object.

[0017] A data processing device, comprising:

[0018] A software framework data construction module, used to construct software framework data; wherein the software framework data includes first model data of a first metamodel and second model data of a second metamodel, the second metamodel is a metamodel of the first metamodel, the first model data includes a plurality of product configuration data and a plurality of process configuration data, the second model data includes a plurality of product dictionary data, a plurality of behavior dictionary data, and an association relationship between the plurality of product dictionary data and the plurality of behavior dictionary data;

[0019] a target product configuration data and target process configuration data determination module, used to determine the target product configuration data of the target model from the plurality of product configuration data, and to determine the target process configuration data of the target model from the plurality of process configuration data; wherein the first meta-model is a meta-model of the target model;

[0020] A target product dictionary data and target behavior dictionary data module, used to determine the target product dictionary data of the target model from the multiple product dictionary data, and determine the target behavior dictionary data of the target model from the multiple behavior dictionary data according to the target product dictionary data;

[0021] A product object generation module is used to generate a product object for the target model according to the target product configuration data, the target process configuration data, the target product dictionary data, and the target behavior dictionary data.

[0022] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the data processing method as described above when executed by the processor.

[0023] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the data processing method described above is implemented.

[0024] The embodiments of the present invention have the following advantages:

[0025] In an embodiment of the present invention, by constructing software framework data, wherein the software framework data includes first model data of a first metamodel and second model data of a second metamodel, the second metamodel is a metamodel of the first metamodel, the first model data includes multiple product configuration data and multiple process configuration data, the second model data includes multiple product dictionary data, multiple behavior dictionary data, and the association relationship between the multiple product dictionary data and the multiple behavior dictionary data, the target product configuration data of the target model is determined from the multiple product configuration data, and the target process configuration data of the target model is determined from the multiple process configuration data, wherein the first metamodel is a metamodel of the target model, the target product dictionary data of the target model is determined from the multiple product dictionary data, and according to the target product dictionary data, the target behavior dictionary data of the target model is determined from the multiple behavior dictionary data, and according to the target product configuration data, the target product dictionary data, and the target behavior dictionary data, a product object for the target model is generated, thereby realizing the generation of the product object for the target model and solving the association and transformation problems between computer models. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0027] Figure 1 is a flowchart of a data processing method provided by an embodiment of the present invention;

[0028] Figure 2a It is a schematic diagram of the association relationship between a configuration product and a behavior provided by an embodiment of the present invention;

[0029] Figure 2b is a schematic diagram of a hierarchical relationship between configuration products provided by an embodiment of the present invention;

[0030] Figure 3 is a schematic diagram of an example of data processing provided by an embodiment of the present invention;

[0031] Figure 4 It is a structural diagram of a data processing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all 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.

[0033] Reference Figure 1 , shows a flowchart of a data processing method provided by an embodiment of the present invention, which may specifically include the following steps:

[0034] Step 101, constructing software framework data;

[0035] Among them, the software framework data may be data used to develop industrial software for the entire life cycle of a certain industrial product. The software framework data may include first model data of a first metamodel and second model data of a second metamodel. The second metamodel may be a metamodel of the first metamodel. The first model data may include multiple product configuration data and multiple process configuration data. Each product configuration data may include hierarchical structure information between one or more configuration products. The configuration product may be a sub-product used to constitute a certain industrial product. Each process configuration data may include sequential structure information between one or more configuration behaviors. The configuration behavior may be a behavior associated with the configuration product. The second model data may include multiple product dictionary data, multiple behavior dictionary data, and an association relationship between multiple product dictionary data and multiple behavior dictionary data. Each product dictionary data may include any one or more of the following: product name information, product attribute information. The product name information may be a naming rule for the product name of the configuration product. The product attribute information may be a dictionary that describes the product attributes of the configuration product. Each behavior dictionary data may include any one or more of the following: behavior name information, behavior input information, behavior attribute information, and behavior status information. The behavior name information may be a naming rule for the behavior associated with the configuration product. The behavior input information may be the operation or calculation model required to execute a behavior associated with a configuration product. The behavior status information may be the state obtained after executing a behavior associated with a configuration product. The behavior attribute information may include common behavior attributes. The product dictionary data and the behavior dictionary data may be associated through the naming of one of the behaviors associated with a configuration product.

[0036] In the process of building software framework data, one or more general industrial products can be pre-defined, and the naming rules of the product names of each general industrial product in each behavior can be determined. For example, in the product design behavior, the naming rules of the product names can be defined as products, and in the product operation and maintenance behavior, the naming rules of the product names can be defined as a combination of products and environments. Then, product name information can be generated according to the product naming rules of each general industrial product in each process.

[0037] After generating the product name information, the general product attributes of each general industrial product can be determined, such as product name, product type, product manufacturer, product person in charge, product price and other attributes, and then product attribute information can be generated based on the defined general product attributes. Product dictionary data can be determined based on the product name information and product attribute information.

[0038] After determining the product dictionary data, the configuration products in the general industrial products can be determined, and the behaviors associated with the configuration products and the naming rules for each behavior can be determined. For example, for the design behavior of the product, the naming rules of the design behavior can be defined as the naming of the product design and analysis process. For the operation and maintenance behavior of the product, it can be defined as the naming of the product usage or operation process. Then, the behavior name information can be determined according to the naming rules of each behavior.

[0039] In practical applications, the naming rules for each behavior can be the rules for "certain products" to perform "certain behaviors", such as "product A" and "product B" performing "behavior A". Then, based on the naming rules of each behavior, the association between the configuration product and the behavior can be determined.

[0040] After determining the behavior name information, the general operation or general operation model required to execute the behavior associated with the configuration product can be determined, and then the behavior input information can be determined based on the general operation or general operation model corresponding to each configuration product. The state obtained after executing the behavior associated with the configuration product can be determined to obtain behavior state information. The general behavior attributes of the behavior associated with the configuration product can be determined, such as behavior operator, behavior type, behavior object and other attributes, and then the behavior attribute information can be determined based on the general behavior attributes.

[0041] like Figure 2a As shown, the association relationship between the configuration product and each behavior can be determined through the naming rule of each behavior, as well as the behavior input information, behavior state information and behavior attribute information corresponding to the configuration product.

[0042] After obtaining the behavior name information, behavior input information, behavior status information and behavior attribute information, the behavior dictionary data can be determined based on the behavior name information, behavior input information, behavior output information and behavior attribute information, and a second meta-model corresponding to the software framework data can be constructed based on the product dictionary data and the behavior dictionary data.

[0043] After obtaining the second metamodel, the association relationship between one or more configuration products can be determined based on the product attributes of one or more configuration products corresponding to a general industrial product in the second model data of the second metamodel, and the hierarchical relationship between one or more configuration products can be determined based on the association relationship between one or more configuration products.

[0044] like Figure 2b As shown, a general industrial product can be product A, such as a two-stage reducer, a pipe bending processing system, etc., and the product attributes can include the components of the product. For example, product A can be composed of a(1) configuration product, b(1) configuration product, and c(1) configuration product. The a(1) configuration product can be composed of a(1.1) configuration sub-product and a(1.2) configuration sub-product. Then, product A can be determined as the first-level product, a(1) configuration product, b(1) configuration product, and c(1) configuration product as the second-level products, and a(1.1) configuration sub-product and a(1.2) configuration sub-product as the third-level products, so as to determine the hierarchical relationship between one or more configuration products corresponding to a general industrial product.

[0045] In one embodiment of the present invention, after determining the hierarchical relationship between one or more configuration products corresponding to a general industrial product, the inheritance relationship of the values ​​of product attributes between the one or more configuration products can be determined based on the hierarchical relationship. For example, if product A is composed of a(1) configuration product, b(1) configuration product, and c(1) configuration product, then product A can inherit the values ​​of the product attributes in a(1) configuration product, b(1) configuration product, and c(1) configuration product.

[0046] After obtaining the hierarchical relationship between one or more configuration products corresponding to at least one general industrial product, a plurality of product configuration data may be determined according to the hierarchical relationship corresponding to each general industrial product.

[0047] After obtaining multiple product configuration data, the behavior associated with one or more configuration products in a general industrial product can be determined based on the behavior dictionary data in the second model data of the second metamodel, and the operation or calculation model required for the behavior input corresponding to the behavior, the behavior attributes, and the state obtained after the behavior output can be determined. According to the operation or calculation model required for the behavior input corresponding to the behavior, the behavior attributes, and the state obtained after the behavior output, the sequential structure between the behaviors associated with each configuration product can be determined, and the sequential structure of each general industrial product as a whole can be determined, so as to determine multiple process configuration data according to the sequential structure of each general industrial product as a whole, and construct a first metamodel corresponding to the software framework data based on the multiple product configuration data and the multiple process configuration data.

[0048] In practical applications, the sequential structure between the behaviors corresponding to each product may include a series structure, a parallel structure, or a combination of a series structure and a parallel structure.

[0049] For example, if behavior A is executed before behavior B, the sequence structure between behavior A and behavior B can be a series structure. If behavior A and behavior B are executed before behavior C can be executed, the sequence structure between behavior A, behavior B, and behavior C can be a parallel structure.

[0050] After the first metamodel and the second metamodel are constructed, software framework data may be constructed according to the first model data of the first metamodel and the second model data of the second metamodel.

[0051] In practical applications, UML tools can be used to convert the first model data of the first metamodel and the second model data of the second metamodel corresponding to a general industrial product into data of a model constructed for developing industrial software for the general industrial product, and establish a hierarchical relationship of data corresponding to the hierarchical relationship between the configuration products in the first model data, so as to construct software framework data based on the data of the model constructed for developing industrial software and the hierarchical relationship of the data.

[0052] In one embodiment of the present invention, the first model data may also include interface style data associated with the industrial product. One or more interface style data may be pre-defined. The interface style data may include table interface data, chart interface data, etc. The interface style data may be used to reflect the first model data of the first metamodel and the second model data of the second metamodel.

[0053] In one embodiment of the present invention, after constructing the software framework data, a target model for developing industrial software for a certain industrial product in practice can be constructed based on the constructed software framework data, so as to develop industrial software for a certain industrial product according to the target model.

[0054] Step 102, determining target product configuration data of a target model from the plurality of product configuration data, and determining target process configuration data of the target model from the plurality of process configuration data;

[0055] The first metamodel may be a metamodel of a target model, and the target model may be a model constructed for developing industrial software for the entire life cycle of a certain industrial product in practice.

[0056] After constructing the software framework data, we can receive user input of an industrial product that actually requires industrial software development, and determine the corresponding target model based on the user's description of the industrial product. Then, we can determine the product configuration data that matches the target model from the product configuration data in the software framework data, which is the target product configuration data.

[0057] In actual applications, users can choose to develop industrial software for a certain industrial product, and then can make a product description for the industrial product, such as describing the product attributes and the corresponding processes of the product. After receiving the product description of the industrial product from the user, the hierarchical relationship of the target model corresponding to the product attributes can be determined, and the product configuration data that matches the hierarchical structure of the target model can be determined from the multiple product configuration data in the software framework data, or the multiple product configuration data in the software framework data can be combined to obtain the combined product configuration data that matches the hierarchical structure of the target model.

[0058] After determining the target product configuration data, the sequential structure of the behavior corresponding to the target model can be determined according to the hierarchical relationship of the target model, and the target process configuration data matching the sequential structure corresponding to the target model can be determined from multiple process configuration data based on the sequential structure.

[0059] In practical applications, the sequential structure of the behavior corresponding to the target model can be determined based on the user's description of the process corresponding to the industrial product and the hierarchical relationship of the target model, and the process configuration data matching the sequential structure can be determined from the multiple process configuration data in the software framework data, or the multiple process configuration data in the software framework data can be combined to obtain the combined process configuration data matching the sequential structure.

[0060] Step 103, determining target product dictionary data of the target model from the plurality of product dictionary data, and determining target behavior dictionary data of the target model from the plurality of behavior dictionary data based on the target product dictionary data;

[0061] After determining the target process configuration data and the target product configuration data, the product attributes of one or more sub-products corresponding to the industrial product can be determined, and the target product dictionary data matching the product attributes of each sub-product can be determined from the product dictionary data of the target process configuration data.

[0062] In actual applications, according to the product attributes of one or more sub-products corresponding to the industrial product, the naming rules of the product name and the structure of the product attributes that match the sub-product can be determined from the product dictionary data, and then the target product dictionary data that matches the product attributes of each sub-product can be determined according to the naming rules of the matching product name and the structure of the product attributes.

[0063] The structure of the product attribute can be any attribute or a combination of multiple attributes in the product attribute dictionary. For example, the structure of the product attribute of the a(1) sub-product can be a combination of the product name and product sub-attribute 1, while the structure of the product attribute of the a(1.1) sub-product can be a combination of the product name, product sub-attribute 1, and product sub-attribute 2.

[0064] After determining the target product dictionary data, the target behavior dictionary data corresponding to the target product dictionary data can be determined from multiple behavior dictionary data in combination with the association relationship between one or more configuration products in the general industrial products in the target product dictionary data and each behavior.

[0065] In practical applications, the naming rules for each behavior can be determined based on the association between the target product dictionary data and each behavior, and the behavior attributes corresponding to each behavior can be determined from the behavior attribute information based on the product attributes of one or more products in the target product dictionary data. Based on the determined behavior attributes, the operation or calculation model required to execute each behavior and the state obtained after executing each behavior can be determined from the behavior input information and the behavior output information.

[0066] Step 104 , generating a product object for the target model according to the target product configuration data, the target process configuration data, the target product dictionary data, and the target behavior dictionary data.

[0067] Among them, the product object can be industrial software for a certain industrial product selected by the user.

[0068] After determining the target process configuration data, target product configuration data, target product dictionary data and target behavior dictionary data, a first metamodel can be constructed based on the target process configuration data and the target product configuration data, and a metamodel for the first metamodel, i.e., a second metamodel, can be constructed based on the target product dictionary data and the target behavior dictionary data. Furthermore, based on the first metamodel and the second metamodel, the target model can be determined and a product object for the target model can be generated.

[0069] In actual applications, the interface style data associated with the behavior object in the first model data can be determined, and the interface corresponding to the interface style data can be loaded, and then the first model data of the first metamodel and the second model data of the second metamodel can be displayed to the user through the interface, and one or more interfaces can be provided on the interface for the user to assign or edit the first model data of the first metamodel and the second model data of the second metamodel.

[0070] For example, the user can assign a value to the product name information in the second model data, that is, name the product, or edit the hierarchical structure information between the configuration products in the first model data, that is, modify the hierarchical structure between the configuration products.

[0071] In an embodiment of the present invention, by constructing software framework data, wherein the software framework data includes first model data of a first metamodel and second model data of a second metamodel, the second metamodel is a metamodel of the first metamodel, the first model data includes multiple product configuration data and multiple process configuration data, the second model data includes multiple product dictionary data, multiple behavior dictionary data, and the association relationship between the multiple product dictionary data and the multiple behavior dictionary data, the target product configuration data of the target model is determined from the multiple product configuration data, and the target process configuration data of the target model is determined from the multiple process configuration data, wherein the first metamodel is a metamodel of the target model, the target product dictionary data of the target model is determined from the multiple product dictionary data, and according to the target product dictionary data, the target behavior dictionary data of the target model is determined from the multiple behavior dictionary data, and according to the target product configuration data, the target product dictionary data, and the target behavior dictionary data, a product object for the target model is generated, thereby realizing the generation of the product object for the target model and solving the association and transformation problems between computer models.

[0072] The following combination Figure 3 An example of data processing provided by an embodiment of the present invention is exemplarily described as follows:

[0073] 1. In the process of building software framework data, the underlying attributes of the configuration products in the industrial products in the industrial field can be determined, such as product name, product type, product manufacturer, product manager, product price and other attributes, and the behaviors associated with the configuration products in the industrial products can be determined. Then, the UML tool can be used to convert the product attributes and behaviors of one or more configuration products in the industrial field into model data in the computer field to construct the second meta-model.

[0074] 2. After constructing the second meta-model, the hierarchical relationship between one or more configuration products in the industrial product in the industrial field can be determined, and the sequential structure between one or more behaviors associated with the configuration products in the industrial product can be determined. Then, the UML tool can be used to convert the hierarchical relationship between one or more configuration products in the industrial field and the sequential structure between one or more behaviors associated with the configuration products into model data in the computer field. One or more interface style data can be pre-defined to construct the first meta-model based on the model data and the interface style data.

[0075] After the first metamodel and the second metamodel are constructed, software framework data may be constructed according to the first model data of the first metamodel and the second model data of the second metamodel.

[0076] 3. After constructing the software framework data, the industrial products that need to be developed for industrial software can be determined, as well as the product attributes of the industrial products. Then, the hierarchical relationship between the configuration products that match the product attributes can be determined from the software framework data, as well as the sequential structure between one or more behaviors associated with the configuration products that match the product attributes. That is, the matching product attribute information, behavior attribute information, behavior input information, and behavior status information in the software framework data can be determined to determine the target model for the industrial product based on the matching product attribute information, behavior attribute information, behavior input information, and behavior status information.

[0077] 4. After obtaining the target model, the model data in the target model can be displayed through the interface style data in the software framework data, such as the first model data of the first metamodel and the second model data of the second metamodel in the target model, and in response to the user's assignment operation or editing operation on the first model data and the second model data, the first model data and the second model data are assigned or edited, that is, product attribute values, behavior attribute values, behavior input values, and behavior status values ​​are obtained, and then industrial software for the industrial product can be generated according to the product attribute values, behavior attribute values, behavior input values, and behavior status values.

[0078] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0079] Reference Figure 4 , shows a schematic diagram of the structure of a data processing device provided by an embodiment of the present invention, which may specifically include the following modules:

[0080] A software framework data construction module 401 is used to construct software framework data; wherein the software framework data includes first model data of a first metamodel and second model data of a second metamodel, the second metamodel is a metamodel of the first metamodel, the first model data includes a plurality of product configuration data and a plurality of process configuration data, the second model data includes a plurality of product dictionary data, a plurality of behavior dictionary data, and associations between the plurality of product dictionary data and the plurality of behavior dictionary data;

[0081] The target product configuration data and target process configuration data determination module 402 is used to determine the target product configuration data of the target model from the plurality of product configuration data, and to determine the target process configuration data of the target model from the plurality of process configuration data; wherein the first meta-model is a meta-model of the target model;

[0082] The target product dictionary data and target behavior dictionary data module 403 is used to determine the target product dictionary data of the target model from the multiple product dictionary data, and determine the target behavior dictionary data of the target model from the multiple behavior dictionary data according to the target product dictionary data;

[0083] The product object generation module 404 is used to generate a product object for the target model according to the target product configuration data, the target process configuration data, the target product dictionary data, and the target behavior dictionary data.

[0084] In one embodiment of the present invention, each product configuration data includes hierarchical structure information between one or more configuration products, and each process configuration data includes sequential structure information between one or more configuration behaviors.

[0085] In one embodiment of the present invention, each product dictionary data includes any one or more of the following:

[0086] Product name information, product attribute information.

[0087] In one embodiment of the present invention, each behavior dictionary data includes any one or more of the following:

[0088] Behavior name information, behavior input information, behavior attribute information, and behavior status information.

[0089] In one embodiment of the present invention, it also includes:

[0090] The first model data also includes interface style data associated with the behavior object.

[0091] In an embodiment of the present invention, by constructing software framework data, wherein the software framework data includes first model data of a first metamodel and second model data of a second metamodel, the second metamodel is a metamodel of the first metamodel, the first model data includes multiple product configuration data and multiple process configuration data, the second model data includes multiple product dictionary data, multiple behavior dictionary data, and the association relationship between the multiple product dictionary data and the multiple behavior dictionary data, the target product configuration data of the target model is determined from the multiple product configuration data, and the target process configuration data of the target model is determined from the multiple process configuration data, wherein the first metamodel is a metamodel of the target model, the target product dictionary data of the target model is determined from the multiple product dictionary data, and according to the target product dictionary data, the target behavior dictionary data of the target model is determined from the multiple behavior dictionary data, and according to the target product configuration data, the target product dictionary data, and the target behavior dictionary data, a product object for the target model is generated, thereby realizing the generation of the product object for the target model and solving the association and transformation problems between computer models.

[0092] An embodiment of the present invention further provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the above data processing method is implemented.

[0093] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above data processing method is implemented.

[0094] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

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

[0096] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0097] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0098] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0099] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0100] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0101] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0102] The above is a detailed introduction to a data processing method and device provided. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method of data processing, It is characterized in that The method comprises: Constructing software framework data; wherein the software framework data includes first model data of a first metamodel and second model data of a second metamodel, the second metamodel is a metamodel of the first metamodel, the first model data includes a plurality of product configuration data and a plurality of process configuration data, the second model data includes a plurality of product dictionary data, a plurality of behavior dictionary data, and associations between the plurality of product dictionary data and the plurality of behavior dictionary data, each product configuration data includes hierarchical structure information between one or more configuration products, and each process configuration data includes sequential structure information between one or more configuration behaviors; Determine target product configuration data of a target model from the plurality of product configuration data, and determine target process configuration data of the target model from the plurality of process configuration data; wherein the first meta-model is a meta-model of the target model; Determine the target product dictionary data of the target model from the multiple product dictionary data, and determine the target behavior dictionary data of the target model from the multiple behavior dictionary data according to the association relationship between the target product dictionary data, the multiple product dictionary data and the multiple behavior dictionary data; A product object for the target model is generated according to the target product configuration data, the target process configuration data, the target product dictionary data, and the target behavior dictionary data.

2. The method according to claim 1, It is characterized in that Each product dictionary data includes any one or more of the following: Product name information, product attribute information.

3. The method according to claim 1, It is characterized in that Each behavior dictionary data includes any one or more of the following: Behavior name information, behavior input information, behavior attribute information, and behavior status information.

4. The method according to claim 1, It is characterized in that Also includes: The first model data also includes interface style data associated with the behavior object.

5. A data processing device, It is characterized in that The device comprises: A software framework data construction module, used to construct software framework data; wherein the software framework data includes first model data of a first metamodel and second model data of a second metamodel, the second metamodel is a metamodel of the first metamodel, the first model data includes a plurality of product configuration data and a plurality of process configuration data, the second model data includes a plurality of product dictionary data, a plurality of behavior dictionary data, and associations between the plurality of product dictionary data and the plurality of behavior dictionary data, each product configuration data includes hierarchical structure information between one or more configuration products, and each process configuration data includes sequential structure information between one or more configuration behaviors; a target product configuration data and target process configuration data determination module, used to determine the target product configuration data of the target model from the plurality of product configuration data, and to determine the target process configuration data of the target model from the plurality of process configuration data; wherein the first meta-model is a meta-model of the target model; A target product dictionary data and target behavior dictionary data module, used to determine the target product dictionary data of the target model from the multiple product dictionary data, and determine the target behavior dictionary data of the target model from the multiple behavior dictionary data according to the association relationship between the target product dictionary data, the multiple product dictionary data and the multiple behavior dictionary data; A product object generation module is used to generate a product object for the target model according to the target product configuration data, the target process configuration data, the target product dictionary data, and the target behavior dictionary data.

6. An electronic device, It is characterized in that The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the data processing method according to any one of claims 1 to 4 when executed by the processor.

7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for data processing according to any one of claims 1 to 4 is implemented.