CN111949247A - A module packaging method and packaging system - Google Patents
A module packaging method and packaging system Download PDFInfo
- Publication number
- CN111949247A CN111949247A CN202010826467.7A CN202010826467A CN111949247A CN 111949247 A CN111949247 A CN 111949247A CN 202010826467 A CN202010826467 A CN 202010826467A CN 111949247 A CN111949247 A CN 111949247A
- Authority
- CN
- China
- Prior art keywords
- data
- module
- packaging
- interface
- terminal
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000004806 packaging method and process Methods 0.000 title claims abstract description 43
- 230000003993 interaction Effects 0.000 claims abstract description 38
- 230000009471 action Effects 0.000 claims abstract description 37
- 238000005538 encapsulation Methods 0.000 claims abstract description 20
- 238000013507 mapping Methods 0.000 claims abstract description 15
- 230000006870 function Effects 0.000 claims abstract description 10
- 238000009434 installation Methods 0.000 claims abstract description 5
- 238000004590 computer program Methods 0.000 claims description 5
- 230000010354 integration Effects 0.000 claims description 5
- 238000011161 development Methods 0.000 abstract description 6
- 230000008569 process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000008521 reorganization Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
本发明提供了一种模块封装方法以及封装系统,所述模块封装方法包括:打包前后端的功能模块形成整体模块;抽取所述整体模块的数据层接口以及交互层接口,以形成位于所述数据层的数据类端子,以及位于所述交互层的动作类端子;封装所述数据类端子以及所述动作类端子,对所述数据层接口、交互层接口、数据类端子、动作类端子做属性映射。本发明的模块封装方法可对模块进行无关开发语言及功能的黑盒子封装,能够把模块的前后端进行统一的全栈封装,在模块独立安装部署和组合集成部署中对模块的统一管理和维护。
The present invention provides a module encapsulation method and encapsulation system. The module encapsulation method includes: packaging the front and rear function modules to form an integral module; extracting the data layer interface and the interaction layer interface of the integral module to form an integrated module in the data layer The data type terminal and the action type terminal located in the interaction layer; encapsulate the data type terminal and the action type terminal, and do attribute mapping for the data layer interface, interaction layer interface, data type terminal, and action type terminal . The module encapsulation method of the present invention can encapsulate the modules in a black box irrespective of development language and functions, and can encapsulate the front and back ends of the modules in a unified full stack, and can manage and maintain the modules in the independent installation and deployment of the modules and the integrated deployment of the modules. .
Description
技术领域technical field
本发明涉及模块封装技术领域,具体而言,涉及一种模块封装方法以及封装系统。The present invention relates to the technical field of module packaging, and in particular, to a module packaging method and packaging system.
背景技术Background technique
现有的模块封装方式主要存在于单一语言或技术体系的封装,如java中的package机制,nodejs中的npm包机制等。从前后端分层角度来看,现有的封装技术主要是对前端模块或后端模块的单独封装,往往封装方法和思路是完全不同的。Existing module encapsulation methods mainly exist in the encapsulation of a single language or technical system, such as the package mechanism in java and the npm package mechanism in nodejs. From the perspective of front-end and back-end layering, the existing encapsulation technologies are mainly separate encapsulation of front-end modules or back-end modules, often with completely different encapsulation methods and ideas.
现有的模块封装技术都是以代码为维度的封装,开发前需要约定模块的代码开发规范以便封装;对于已开发完成的模块,如果需要按规范进行封装,则需要重构,工作量很大。尤其是对前后端模块各自封装后,模块复用过程中的联调成本也很高。Existing module encapsulation technologies are all encapsulation in the dimension of code. Before development, it is necessary to agree on the code development specification of the module for encapsulation; for the developed module, if it needs to be encapsulated according to the specification, it needs to be refactored, and the workload is very large. . Especially after the front-end and back-end modules are encapsulated separately, the cost of joint debugging in the process of module reuse is also very high.
有鉴于此,特提出本发明。In view of this, the present invention is proposed.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明公开了一种模块封装方法,以及用于实现上述模块封装方法的封装系统,以实现模块更为便捷的管理与维护。In view of this, the present invention discloses a module packaging method and a packaging system for implementing the above-mentioned module packaging method, so as to realize more convenient management and maintenance of modules.
具体地,本发明是通过以下技术方案实现的:Specifically, the present invention is achieved through the following technical solutions:
第一方面,本发明公开了一种模块封装方法,所述方法包括:In a first aspect, the present invention discloses a module packaging method, the method comprising:
打包前后端的功能模块形成整体模块;The functional modules of the front and back ends of the packaging form an overall module;
抽取所述整体模块的数据层接口以及交互层接口,以形成位于所述数据层的数据类端子,以及位于所述交互层的动作类端子;Extracting the data layer interface and the interaction layer interface of the overall module to form a data type terminal located in the data layer and an action type terminal located in the interaction layer;
封装所述数据类端子以及所述动作类端子,对所述数据层接口、交互层接口、数据类端子、动作类端子做属性映射。The data type terminal and the action type terminal are encapsulated, and attribute mapping is performed on the data layer interface, the interaction layer interface, the data type terminal, and the action type terminal.
第二方面,本发明公开了一种模块封装系统,包括:组装单元,用于打包前后端的功能模块形成整体模块;In a second aspect, the present invention discloses a module packaging system, comprising: an assembly unit for packaging the front and rear functional modules to form an integral module;
功能形成单元,用于抽取所述整体模块的数据层接口以及交互层接口,以形成位于所述数据层的数据类端子,以及位于所述交互层的动作类端子;a function forming unit for extracting the data layer interface and the interaction layer interface of the overall module to form a data class terminal located in the data layer and an action class terminal located in the interaction layer;
封装映射单元,用于封装所述数据类端子以及所述动作类端子,对所述数据层接口、交互层接口、数据类端子、动作类端子做属性映射。The encapsulation and mapping unit is configured to encapsulate the data type terminal and the action type terminal, and perform attribute mapping for the data layer interface, interaction layer interface, data type terminal and action type terminal.
第三方面,本发明公开了一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如第一方面所述方法的步骤。In a third aspect, the present invention discloses a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the method according to the first aspect.
第四方面,本发明公开了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如第一方面所述方法的步骤。In a fourth aspect, the present invention discloses a computer device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implements the program described in the first aspect when the processor executes the program steps of the method.
本发明实施例提供的一种模块封装方法以及封装系统,可实现对模块进行无关开发语言及功能的黑盒子封装,能够把模块的前后端进行统一的全栈封装,以实现后续在模块独立安装部署和组合集成部署中对模块的统一管理和维护,该方法便捷,操作简单易实现,封装后的整体模块可作为单独的系统进行操作使用,也可以进一步与其他模块组合部署形成具有多功能模块化的系统,降低人力和时间成本,该封装方法为后续实现分布式架构应用和系统的无代码式重组奠定了良好的基础。The module packaging method and packaging system provided by the embodiments of the present invention can realize black box packaging of modules irrespective of development language and functions, and can perform unified full-stack packaging of the front and rear ends of the modules, so as to realize subsequent independent installation of the modules. The unified management and maintenance of modules in deployment and combination integration deployment is convenient, easy to operate, and easy to implement. The packaged overall module can be used as a separate system, or it can be further deployed in combination with other modules to form a multi-functional module. This encapsulation method lays a good foundation for the subsequent realization of code-free reorganization of distributed architecture applications and systems.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1为本发明实施例示出的一种模块封装方法的流程示意图;1 is a schematic flowchart of a module packaging method according to an embodiment of the present invention;
图2为本发明实施例示出的另一种模块封装方法的流程示意图;2 is a schematic flowchart of another module packaging method according to an embodiment of the present invention;
图3为本发明实施例示出的模块封装系统的结构示意图;3 is a schematic structural diagram of a module packaging system according to an embodiment of the present invention;
图4为图2的流程中S1步骤的具体操作示意图;Fig. 4 is the concrete operation schematic diagram of S1 step in the process flow of Fig. 2;
图5为图2的流程中S21步骤的具体操作示意图;Fig. 5 is the concrete operation schematic diagram of step S21 in the process flow of Fig. 2;
图6为图2的流程中S31步骤的具体操作示意图;Fig. 6 is the concrete operation schematic diagram of step S31 in the process flow of Fig. 2;
图7为图2的流程中S22步骤的具体操作示意图;Fig. 7 is the concrete operation schematic diagram of step S22 in the process flow of Fig. 2;
图8为图2的流程中S32步骤的具体操作示意图;Fig. 8 is the concrete operation schematic diagram of step S32 in the flow chart of Fig. 2;
图9为图2的流程中S4步骤的具体操作示意图;Fig. 9 is the concrete operation schematic diagram of S4 step in the process flow of Fig. 2;
图10为本发明实施例提供的一种计算机设备的结构示意图。FIG. 10 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various pieces of information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information, without departing from the scope of the present disclosure. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."
本发明公开了一种模块的封装方法,所述方法包括:The invention discloses a method for encapsulating a module, the method comprising:
打包前后端的功能模块形成整体模块;The functional modules of the front and back ends of the packaging form an overall module;
抽取所述整体模块的数据层接口以及交互层接口,以形成位于所述数据层的数据类端子,以及位于所述交互层的动作类端子;Extracting the data layer interface and the interaction layer interface of the overall module to form a data type terminal located in the data layer and an action type terminal located in the interaction layer;
封装所述数据类端子以及所述动作类端子,对所述数据层接口、交互层接口、数据类端子、动作类端子做属性映射。The data type terminal and the action type terminal are encapsulated, and attribute mapping is performed on the data layer interface, the interaction layer interface, the data type terminal, and the action type terminal.
正是因为现有技术中软件的封装均是基于同种语言进行封装,那么后续在进行开发过程中需要对源代码进行大量的开发工作才能实现,工作量大,容易出错,本发明正是为了解决上述技术问题,提供了一种模块的封装方法,通过采用该封装方法,可直接组装成前后端统一的全栈模块,节约了大量的工作量,也降低了调用的出错率。It is precisely because the encapsulation of the software in the prior art is based on the same language, so in the subsequent development process, a large amount of development work on the source code can be implemented, the workload is large, and it is easy to make mistakes. To solve the above technical problems, a module packaging method is provided. By adopting the packaging method, a full-stack module with unified front and back ends can be directly assembled, which saves a lot of work and reduces the error rate of calls.
图1为本发明实施例公开的一种模块的封装方法的流程示意图,参照图1所示,所述方法包括如下步骤:FIG. 1 is a schematic flowchart of a method for packaging a module disclosed in an embodiment of the present invention. Referring to FIG. 1 , the method includes the following steps:
S1、打包前后端的功能模块形成整体模块。S1. The functional modules of the front and back ends of the packaging form an integral module.
先定义封装的模块,然后通过打包前后端代码,形成一个整体模块,整体模块里面包含了用户所需的各种功能模块的集合。First define the encapsulated module, and then package the front-end and back-end codes to form an overall module, which contains a collection of various functional modules required by the user.
S2、抽取所述整体模块的数据层接口以及交互层接口,以形成位于所述数据层的数据类端子,以及位于所述交互层的动作类端子。S2. Extract the data layer interface and the interaction layer interface of the overall module to form a data type terminal located in the data layer and an action type terminal located in the interaction layer.
该S2步骤中,定义了数据层接口以及可暴露的交互,抽取后以形成位于数据层的数据类端子,以及位于交互层的动作类端子。In the S2 step, the interface of the data layer and the exposed interactions are defined, and after extraction, a data class terminal located in the data layer and an action class terminal located in the interaction layer are formed.
其实该步骤可以按照如下两个子步骤进行:In fact, this step can be carried out according to the following two sub-steps:
S21,抽取所述整体模块的数据类接口,形成位于所述数据层的数据类端子。S21. Extract the data class interface of the overall module to form a data class terminal located in the data layer.
S22,抽取所述整体模块的交互层接口,形成位于所述交互层的动作类端子。S22: Extract the interaction layer interface of the overall module to form an action class terminal located in the interaction layer.
S21与S22两个步骤的操作过程并没有先后顺序之分。The operation process of the two steps S21 and S22 is not divided into sequence.
优选地,所述数据类端子包括接收数据的端子和输出数据的端子两类端子。Preferably, the data-type terminals include two types of terminals: terminals for receiving data and terminals for outputting data.
优选地,所述动作类端子包括方法提供端子和方法触发端子两类端子。Preferably, the action terminals include two types of terminals: method providing terminals and method triggering terminals.
S3、封装所述数据类端子以及所述动作类端子,对所述数据层接口、交互层接口、数据类端子、动作类端子做属性映射。S3. Encapsulate the data type terminal and the action type terminal, and perform attribute mapping on the data layer interface, interaction layer interface, data type terminal, and action type terminal.
该S3步骤中,按照两个子步骤进行:In this S3 step, follow two sub-steps:
S31,封装模块的数据类端子,对数据层接口和数据类端子做映射。S31 , encapsulate the data type terminal of the module, and map the data layer interface and the data type terminal.
S32,封装动作类端子,将交互方式、路径等交互映射到动作类端子。S32 , encapsulate the action terminal, and map interactions such as interaction mode and path to the action terminal.
S31与S32两个步骤的操作过程并没有先后顺序之分。The operation process of the two steps S31 and S32 is not divided into sequence.
最优的操作方式按照如下步骤进行,如图2所示:The optimal way of operation is as follows, as shown in Figure 2:
S1、打包前后端的功能模块形成整体模块。S1. The functional modules of the front and back ends of the packaging form an integral module.
S21,抽取所述整体模块的数据类接口,形成位于所述数据层的数据类端子。S21. Extract the data class interface of the overall module to form a data class terminal located in the data layer.
S31,封装模块的数据类端子,对数据层接口和数据类端子做映射。S31 , encapsulate the data type terminal of the module, and map the data layer interface and the data type terminal.
S22,抽取所述整体模块的交互层接口,形成位于所述交互层的动作类端子。S22: Extract the interaction layer interface of the overall module to form an action class terminal located in the interaction layer.
S32,封装动作类端子,将交互方式、路径等交互映射到动作类端子。S32 , encapsulate the action terminal, and map interactions such as interaction mode and path to the action terminal.
该方法中,数据层端子只能连接数据层端子,动作类端子只能连接动作类端子。In this method, data layer terminals can only be connected to data layer terminals, and action terminals can only be connected to action terminals.
进一步地,后续还包括如下操作步骤:Further, the follow-up also includes the following operation steps:
S4、模块的独立安装部署。S4. Independent installation and deployment of modules.
其实该封装方法是集成出客户所需系统的其中一个环节,具体地制作系统的整个过程包括:In fact, the packaging method is one of the links in integrating the system required by the customer. Specifically, the entire process of making the system includes:
1)定义最小修改原始模块源代码的通用封装方式,统一封装功能模块的前端和后端,让功能模块以统一的接口方式可以互相拼接,完成封装后的模块利用容器编排技术以镜像和资源描述文件的形式,存储在包管理工具中,封装好的模块发布到可视化的系统设计工具中;1) Define a general encapsulation method that minimally modifies the source code of the original module, uniformly encapsulate the front-end and back-end of the functional module, so that the functional modules can be spliced with each other in a unified interface, and the encapsulated module uses the container orchestration technology to describe the image and resources The form of file is stored in the package management tool, and the packaged module is released to the visual system design tool;
2)在系统设计工具中,以可视化的方式拼接关联功能模块,最终将多个模块集成为新的应用系统;2) In the system design tool, splicing related functional modules in a visual way, and finally integrating multiple modules into a new application system;
3)设置新系统整体框架内容,如系统LOGO,菜单、用户模式等,形成一个完整可用的系统;3) Set the overall framework content of the new system, such as system LOGO, menu, user mode, etc., to form a complete and usable system;
4)对系统设计工具中的模块及系统框架源数据进行编译,生成运维系统中部署所需要的配置文件,并发布到DevOps运维自动化平台上,利用容器技术体系中的资源编排技术和依赖管理工具,在编译过程中实现前后端的重新水平分层,并对重复的服务依赖做排重处理;4) Compile the modules in the system design tool and the source data of the system framework, generate the configuration files required for deployment in the operation and maintenance system, and publish them on the DevOps operation and maintenance automation platform, using the resource orchestration technology and dependencies in the container technology system Management tool, realizes the re-level layering of front and back ends during the compilation process, and performs re-arrangement and re-processing of repeated service dependencies;
5)在DevOps平台进行自动部署,最终得到一个可运行的系统。5) Automatic deployment on the DevOps platform, and finally get a runnable system.
该集成步骤已经在之前的专利文件中有涉及,在此不做过多赘述,本发明的封装方法主要是对步骤1)中模块封装的方法进行详细介绍。This integration step has already been involved in the previous patent documents, and will not be repeated here. The packaging method of the present invention mainly introduces the module packaging method in step 1) in detail.
图3是本发明公开的一种封装系统的结构示意图,参照图3所示,该系统包括:FIG. 3 is a schematic structural diagram of a packaging system disclosed in the present invention. Referring to FIG. 3 , the system includes:
组装单元101,用于打包前后端的功能模块形成整体模块;The
功能形成单元102,用于抽取所述整体模块的数据层接口以及交互层接口,以形成位于所述数据层的数据类端子,以及位于所述交互层的动作类端子;A
封装映射单元103,用于封装所述数据类端子以及所述动作类端子,对所述数据层接口、交互层接口、数据类端子、动作类端子做属性映射。The
优选地,还包括整合单元104,所述整合单元用于对所述整体模块进行安装部署以实现作为单独的系统进行应用。Preferably, an
图4-图9的具体操作过程分别对图2的整个封装方法进行了详细的分解。The specific operation process of FIG. 4 to FIG. 9 respectively decomposes the entire packaging method of FIG. 2 in detail.
图10是本发明公开的一种计算机设备的结构示意图。参考图10所示,该计算机设备包括:输入装置63、输出装置64、存储器62和处理器61;所述存储器62,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器61执行,使得所述一个或多个处理器61实现如上述实施例提供的一种模块的封装方法;其中输入装置63、输出装置64、存储器62和处理器61可以通过总线或者其他方式连接,图10中以通过总线连接为例。FIG. 10 is a schematic structural diagram of a computer device disclosed in the present invention. 10, the computer device includes: an
存储器62作为一种计算设备可读写存储介质,可用于存储软件程序、计算机可执行程序,如本申请实施例所述的一种封装方法对应的程序指令;存储器62可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等;此外,存储器62可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件;在一些实例中,存储器62可进一步包括相对于处理器61远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
输入装置63可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入;输出装置64可包括显示屏等显示设备。The
处理器61通过运行存储在存储器62中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理。The
上述提供的计算机设备可用于执行上述实施例提供的一种封装方法,具备相应的功能和有益效果。The computer device provided above can be used to execute the packaging method provided by the above embodiment, and has corresponding functions and beneficial effects.
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如上述实施例提供的一种模块的封装方法,存储介质是任何的各种类型的存储器设备或存储设备,存储介质包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等;存储介质可以还包括其它类型的存储器或其组合;另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统;第二计算机系统可以提供程序指令给第一计算机用于执行。存储介质包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。Embodiments of the present application further provide a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor to execute a method for encapsulating a module provided by the foregoing embodiments, the storage medium is any Various types of memory devices or storage devices, including: installation media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lamba Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (eg, hard disk or optical storage); registers or other similar types of memory elements, etc.; storage media may also include other types of memory or combinations thereof; , the storage medium may be located in the first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network (such as the Internet); the second computer system may The program instructions are provided to the first computer for execution. A storage medium includes two or more storage media that may reside in different locations (eg, in different computer systems connected by a network). The storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上实施例所述的一种模块的封装方法,还可以执行本申请任意实施例所提供的一种模块封装方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by the embodiments of the present application, the computer-executable instructions of which are not limited to the method for encapsulating a module as described in the above embodiments, and can also execute the methods provided by any of the embodiments of the present application. A related operation in a module encapsulation method of .
最后应说明的是:虽然本说明书包含许多具体实施细节,但是这些不应被解释为限制任何发明的范围或所要求保护的范围,而是主要用于描述特定发明的具体实施例的特征。本说明书内在多个实施例中描述的某些特征也可以在单个实施例中被组合实施。另一方面,在单个实施例中描述的各种特征也可以在多个实施例中分开实施或以任何合适的子组合来实施。此外,虽然特征可以如上所述在某些组合中起作用并且甚至最初如此要求保护,但是来自所要求保护的组合中的一个或多个特征在一些情况下可以从该组合中去除,并且所要求保护的组合可以指向子组合或子组合的变型。Finally, it should be noted that although this specification contains many specific implementation details, these should not be construed as limiting the scope of any invention or what may be claimed, but rather are used primarily to describe features of specific embodiments of particular inventions. Certain features that are described in this specification in multiple embodiments can also be implemented in combination in a single embodiment. On the other hand, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may function as described above in certain combinations and even be originally claimed as such, one or more features from a claimed combination may in some cases be removed from the combination and the claimed A protected combination may point to a subcombination or a variation of a subcombination.
类似地,虽然在附图中以特定顺序描绘了操作,但是这不应被理解为要求这些操作以所示的特定顺序执行或顺次执行、或者要求所有例示的操作被执行,以实现期望的结果。在某些情况下,多任务和并行处理可能是有利的。此外,上述实施例中的各种系统模块和组件的分离不应被理解为在所有实施例中均需要这样的分离,并且应当理解,所描述的程序组件和系统通常可以一起集成在单个软件产品中,或者封装成多个软件产品。Similarly, although operations in the figures are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or sequentially, or that all illustrated operations be performed, to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the above-described embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems may generally be integrated together in a single software product , or packaged into multiple software products.
由此,主题的特定实施例已被描述。其他实施例在所附权利要求书的范围以内。在某些情况下,权利要求书中记载的动作可以以不同的顺序执行并且仍实现期望的结果。此外,附图中描绘的处理并非必需所示的特定顺序或顺次顺序,以实现期望的结果。在某些实现中,多任务和并行处理可能是有利的。Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. Furthermore, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous.
以上所述仅为本公开的较佳实施例而已,并不用以限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开保护的范围之内。The above descriptions are only preferred embodiments of the present disclosure, and are not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the present disclosure. within the scope of protection.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010826467.7A CN111949247A (en) | 2020-08-17 | 2020-08-17 | A module packaging method and packaging system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010826467.7A CN111949247A (en) | 2020-08-17 | 2020-08-17 | A module packaging method and packaging system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111949247A true CN111949247A (en) | 2020-11-17 |
Family
ID=73342595
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010826467.7A Pending CN111949247A (en) | 2020-08-17 | 2020-08-17 | A module packaging method and packaging system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111949247A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739484A (en) * | 2008-11-07 | 2010-06-16 | 北京索为高科系统技术有限公司 | Knowledge component-based engineering design method |
CN104778033A (en) * | 2014-01-09 | 2015-07-15 | 大唐电信科技股份有限公司 | Construction method and device of building block type software |
CN107291523A (en) * | 2017-08-01 | 2017-10-24 | 北京亚鸿世纪科技发展有限公司 | A kind of web front end message bus system |
CN108363564A (en) * | 2018-01-23 | 2018-08-03 | 平安普惠企业管理有限公司 | Entry modularization implementation method, device, terminal device and storage medium |
CN109558202A (en) * | 2018-12-14 | 2019-04-02 | 平安城市建设科技(深圳)有限公司 | Original list development approach, device, equipment and storage medium based on small routine |
CN109597610A (en) * | 2018-12-10 | 2019-04-09 | 南京华苏科技有限公司 | A kind of application structure modularization construction method based on micro services framework |
-
2020
- 2020-08-17 CN CN202010826467.7A patent/CN111949247A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739484A (en) * | 2008-11-07 | 2010-06-16 | 北京索为高科系统技术有限公司 | Knowledge component-based engineering design method |
CN104778033A (en) * | 2014-01-09 | 2015-07-15 | 大唐电信科技股份有限公司 | Construction method and device of building block type software |
CN107291523A (en) * | 2017-08-01 | 2017-10-24 | 北京亚鸿世纪科技发展有限公司 | A kind of web front end message bus system |
CN108363564A (en) * | 2018-01-23 | 2018-08-03 | 平安普惠企业管理有限公司 | Entry modularization implementation method, device, terminal device and storage medium |
CN109597610A (en) * | 2018-12-10 | 2019-04-09 | 南京华苏科技有限公司 | A kind of application structure modularization construction method based on micro services framework |
CN109558202A (en) * | 2018-12-14 | 2019-04-02 | 平安城市建设科技(深圳)有限公司 | Original list development approach, device, equipment and storage medium based on small routine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110928529B (en) | Method and system for assisting operator development | |
CN109933522B (en) | A test method, test system and storage medium for an automated use case | |
WO2018036342A1 (en) | Csar-based template design visualization method and device | |
CN112748908B (en) | Method and device for developing Restful service based on SSM framework | |
US20210004642A1 (en) | Ai capability research and development platform and data processing method | |
WO2022016848A1 (en) | Method and apparatus for performing application deployment according to service role | |
US8799319B2 (en) | System and method for meta-data driven, semi-automated generation of web services based on existing applications | |
US11667033B2 (en) | Systems and methods for robotic process automation | |
US20100281463A1 (en) | XML based scripting framework, and methods of providing automated interactions with remote systems | |
US20200285451A1 (en) | Decoupling microservices from a monolithic application | |
CN106775744B (en) | Method and device for generating static library | |
CN110187902B (en) | Project transformation method, device, equipment and storage medium based on spring boot | |
US20110185339A1 (en) | Automating the creation of an application provisioning model | |
CN108196915A (en) | Code process method, equipment and storage medium based on application container engine | |
CN101645009A (en) | Web service integrated development system and method | |
CN102314358A (en) | Method for deploying conventional applications on cloud platform in SOA (service oriented architecture) way | |
CN110321131A (en) | Service Component packaging method, system and server | |
CN113778445A (en) | Cross-platform component generation method and device, electronic equipment and storage medium | |
CN112052000A (en) | Component multiplexing and rendering method and device | |
CN114510233B (en) | A page generation method, platform, device and medium based on VUE | |
CN106610845B (en) | Information management method, device, server and system | |
CN118502992A (en) | Service orchestration method and related equipment | |
CN111949247A (en) | A module packaging method and packaging system | |
US10802810B2 (en) | Consuming persistent library bundles | |
CN112199085B (en) | Application program development method, operation method and device based on flowsheet drawing |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201117 |
|
RJ01 | Rejection of invention patent application after publication |