Component rapid development system for open platforms
Through the component development templates and management platform of the component rapid development system, the problem of code coupling in open platform component development is solved, decoupling between components is achieved and no platform upgrade is required, and development freedom and resource utilization efficiency are improved.
Patent Information
- Application Number
- CN202011636120.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-12-31
AI Technical Summary
The codes developed for open platform components in the existing technology are severely coupled, unable to meet the requirements of the open platform, and there are high risks of code conflicts and upgrades.
Provide a rapid component development system, including a component development template device and a component management platform device. It uses unified development tools to conduct component development and joint testing, ensuring that component files are dynamically loaded and run on the end platform of the open platform, and realizing inter-component integration. Decoupled and no platform upgrade required.
It standardizes the component development process, reduces the risk of code conflicts, improves development freedom, reduces development resource requirements, and realizes the functions of components not affecting each other and the platform not needing to be upgraded.
Smart Images

Figure CN112685034B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of software development, and in particular relates to a component rapid development system for an open platform. Background Art
[0002] Because the development of platform types currently on the market is a collaborative effort among multiple people, with simultaneous development and testing, operating on the same code. This leads to serious code coupling, which cannot meet the requirements of an open platform, and there is a high risk of code conflicts and upgrades. Summary of the invention
[0003] In view of this, the present invention provides a rapid component development system for an open platform to solve the problem in the prior art that the open platform component development codes are severely coupled and cannot meet the requirements of the open platform.
[0004] The present invention provides a component rapid development system for an open platform, which at least includes: a component development template device, which is used to provide a unified component development tool for component development to generate component files; a component management platform device, which is used to, when receiving the component files uploaded by the component development template device after development is completed, jointly test the component files with the open platform, and publish the component files to at least one end platform of the open platform for dynamic loading and operation after the joint test passes.
[0005] In some optional schemes, the component development template device includes: a component development module, which is used to provide a unified component template, and develop components according to the unified component template to generate components; a component self-test module, which is used to perform self-test on the generated components; a component packaging module, which is used to package the components after the self-test is completed into component files that can be used on an open platform, and upload the component files to the component management platform device.
[0006] In some optional schemes, the component management platform device includes: a component management module, which is used to receive the component file uploaded by the component development template device after the development is completed, and jointly test the component file with the open platform; a component publishing module, which is used to publish the component file to at least one end platform of the open platform for dynamic loading and operation after the component file passes the joint test.
[0007] In some optional schemes, it also includes: a development process management device for guiding and managing the process of component development using the component development template device and the component management platform device.
[0008] In some optional embodiments, the open platform includes one or more end platforms.
[0009] In some optional solutions, each end platform in the open platform includes a component management module and a component publishing module in the component management platform device.
[0010] In some optional solutions, the terminal platform includes at least one of application software, a computer and a large screen.
[0011] In some optional solutions, each end platform in the open platform includes at least: a project construction module, which is used to perform joint debugging and testing on component files in conjunction with the component management module.
[0012] In some optional solutions, the open platform includes at least: an APP-side display module, which is used to dynamically register and dynamically load and run component files released after passing the joint debugging test.
[0013] In some optional solutions, the open platform includes at least: a project management module for saving all published component files and arranging and displaying them in the form of a list on the APP side.
[0014] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: the present invention provides a unified development tool to standardize the component development process, and directly releases the developed components after testing through an open platform, so that the components do not affect each other and do not require platform upgrades. At the same time, it has open functions to facilitate self-development by customers, which increases the freedom of platform development and liberates the company's development resources, reducing costs and increasing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 It is a schematic diagram of a component rapid development system for an open platform according to the present invention.
[0017] Figure 2 yes Figure 1 A schematic diagram of the structure of the component development template device in Example 1;
[0018] Figure 3 yes Figure 1 A schematic diagram of the structure of the component management platform device in Example 2;
[0019] Figure 4 is a schematic diagram of the component rapid development system for an open platform in Example 3 of the present invention;
[0020] Figure 5 yes Figure 1 Schematic diagram of the structure of the open platform described in Example 4. DETAILED DESCRIPTION
[0021] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention. In order to illustrate the technical solutions described in the present invention, the following is described by specific embodiments.
[0022] Figure 1 The schematic diagram of the component rapid development system for an open platform according to the present invention.
[0023] like Figure 1 As shown, the component rapid development system for an open platform includes at least: a component development template device 01, which is used to provide a unified component development tool for component development to generate component files; a component management platform device 02, which is used to, when receiving the component files uploaded by the component development template device after the development is completed, jointly test the component files with the open platform, and publish the component files to at least one end platform of the open platform 03 for dynamic loading and operation after the joint test passes.
[0024] The above development system standardizes the component development process by providing unified development tools, and directly releases the developed components after testing through a joint open platform, so that components do not affect each other and do not require platform upgrades.
[0025] In one example, see Figure 2 ,for Figure 1 The schematic diagram of the structure of the component development template device in Example 1. Figure 2 As shown, the component development template device 01 may include: a component development module 11, used to provide a unified component template, and develop components according to the unified component template to generate components; a component self-test module 12, used to perform self-test on the generated components; a component packaging module 13, used to package the components after the self-test is completed into component files that can be used on the open platform, and upload the component files to the component management platform device.
[0026] It can be seen that the component development template device 01 includes all the processes of component development and provides various tool classes provided by the platform. Component developers can directly develop components by referring to the styles and can perform self-tests in the component development template device. After the self-test is completed, the packaging command of the component packaging module 13 can be used to directly package it into a component file that can be used on the platform.
[0027] Specifically, examples of development, self-testing, and packaging can also be provided in the component development template device, so that developers can directly develop components by referring to the styles.
[0028] In Example 2, see Figure 3 ,for Figure 1 The schematic diagram of the structure of the component management platform device in Example 2. Figure 3 As shown, the component management platform device 02 may specifically include: a component management module 21, for receiving the component file uploaded by the component development template device after the development is completed, and jointly testing the component file with the open platform; a component publishing module 22, for publishing the component file to at least one end platform of the open platform for dynamic loading and operation after the component file passes the joint test.
[0029] In the above example 2, the component file is tested during joint debugging. Therefore, after passing the test, it can be directly put online through the component release module without the need for platform upgrades, and the components do not affect each other.
[0030] In Example 3, see Figure 4 FIG. 1 is a schematic diagram of the component rapid development system for an open platform in Example 3 of the present invention. Figure 4 As shown, for the component development template device 01 and the component management platform device 02, the above-mentioned component rapid development system also includes: a development process management device 04, which is used to guide and manage the process of component development using the component development template device and the component management platform device.
[0031] Specifically, the development process management device 04 performs process management on the component development module 11, component self-test module 12, component packaging module 13 in the component development template device 01, and the component management module 21 and component release module 22 in the component management platform device 02, and generates corresponding process management tools. For example, the development process management device 04 stipulates that component development is carried out in the following order: component template download → component development → component self-test → component packaging → component testing → component release. Each process is associated with the modules of the aforementioned component development template device 01 and component management platform device 02, and tool files corresponding to the process are provided.
[0032] Specifically, the open platform refers to a specific application, such as energy management system software. Due to different operating environments, the open platform may include one or more terminal platforms, such as an APP terminal, a PC terminal, and a large-screen terminal.
[0033] In one example four, see Figure 5 ,for Figure 1 The schematic diagram of the structure of the open platform in Example 4 is shown in FIG. Figure 4 As shown, the open platform 03 includes at least one terminal platform of application software (i.e., APP), computer (PC) and large screen. Each terminal platform includes a project management module 31, a project construction module 32 and an APP terminal display module 33.
[0034] Specifically, the project management module 31 is used to save all published component files and arrange and display them in the form of a list in the APP display; the project construction module 32 is used to jointly perform joint debugging and testing on component files with the component management module; the APP display module 33 is used to dynamically register and dynamically load and run component files published after passing the joint debugging and testing.
[0035] In combination with Example 2, each end platform in the open platform includes a component management module and a component publishing module in the component management platform device. Figure 5 As shown, there are end platforms in the open platform: APP and PC, then there are also two component management platform devices corresponding to APP and PC in the component management platform device, and the structure in each component management platform device is the same, including a component management module and a component publishing module.
[0036] Among them, when the joint development platform tests the component, it can be sent to the environment of the project construction module 32 under any terminal platform for testing. After the test passes, the component publishing module 22 publishes the component to the online environment of the APP terminal display module 33 under any terminal platform for operation.
[0037] Specifically, when the APP-side display module 33 runs the components, it uses dynamic registration and dynamic loading to run the components. Therefore, each component and platform is decoupled for operation and development and does not affect each other.
[0038] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A component rapid development system for an open platform, characterized in that: At least: A component development template device is used to provide a unified component development tool to develop components and generate component files; A component management platform device, for, when receiving the component file uploaded by the component development template device after development is completed, jointly testing the component file with an open platform, and publishing the component file to at least one end platform of the open platform for dynamic loading and operation after the joint test passes, the open platform includes one or more end platforms, each end platform in the open platform includes a component management module and a component publishing module in the component management platform device, and the component management platform device includes a component management module for receiving the component file uploaded by the component development template device after development is completed, and jointly testing the component file with the open platform; A component publishing module, used for publishing the component file to at least one terminal platform of the open platform for dynamic loading and running after the component file passes the joint test; The development process management device is used to guide and manage the process of component development using the component development template device and the component management platform device.
2. The component rapid development system for an open platform according to claim 1, characterized in that: The component development template device comprises: A component development module, used to provide a unified component template, and to develop components according to the unified component template to generate components; A component self-test module is used to perform self-test on the generated components; The component packaging module is used to package the components after the self-test is completed into component files that can be used on the open platform, and upload the component files to the component management platform device.
3. The component rapid development system for an open platform according to claim 1, characterized in that: The terminal platform includes at least one of application software, a computer and a large screen.
4. The component rapid development system for an open platform according to claim 1, characterized in that: Each end platform in the open platform at least includes: a project construction module, which is used to perform joint debugging and testing on component files in conjunction with the component management module.
5. The component rapid development system for an open platform according to claim 4, characterized in that: The open platform at least includes: an APP-side display module, which is used to dynamically register and dynamically load and run component files released after passing the joint debugging test.
6. The component rapid development system for an open platform according to claim 5, characterized in that: The open platform at least includes: a project management module, which is used to save all published component files and arrange and display them in the form of a list on the APP side.
