CN112783497B - New business generation method, device and computing equipment - Google Patents
New business generation method, device and computing equipment Download PDFInfo
- Publication number
- CN112783497B CN112783497B CN201911065353.9A CN201911065353A CN112783497B CN 112783497 B CN112783497 B CN 112783497B CN 201911065353 A CN201911065353 A CN 201911065353A CN 112783497 B CN112783497 B CN 112783497B
- Authority
- CN
- China
- Prior art keywords
- information
- basic
- new business
- service
- expansion unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 235
- 230000008569 process Effects 0.000 claims abstract description 181
- 238000002347 injection Methods 0.000 claims abstract description 22
- 239000007924 injection Substances 0.000 claims abstract description 22
- 238000004891 communication Methods 0.000 claims abstract description 13
- 230000006870 function Effects 0.000 claims description 98
- 239000003795 chemical substances by application Substances 0.000 claims description 15
- 238000011161 development Methods 0.000 claims description 15
- 238000001914 filtration Methods 0.000 claims description 15
- 230000004913 activation Effects 0.000 claims description 13
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 230000001502 supplementing effect Effects 0.000 claims 2
- 230000000694 effects Effects 0.000 abstract description 18
- 238000010586 diagram Methods 0.000 description 7
- 238000013461 design Methods 0.000 description 5
- 238000003780 insertion Methods 0.000 description 5
- 230000037431 insertion Effects 0.000 description 5
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 3
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 3
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
Classifications
-
- 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/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- Data Mining & Analysis (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域Technical Field
本发明实施例涉及通信技术领域,具体涉及一种新业务的生成方法、装置及计算设备。The embodiments of the present invention relate to the field of communication technology, and in particular to a method, device and computing equipment for generating a new service.
背景技术Background technique
现有业务系统中,承载的业务流程越来越多,当生成新业务时,需要经过设计、开发、测试、发布等步骤。例如,对于开卡业务,当需要开发新的开卡流程时,有的开卡流程需要前置预存金额,但有的开卡流程需要后置预存金额,有的开卡流程需要设置最低消费,但有的开卡流程不需要设置最低消费,针对这些不同的开卡流程,均需分别进行设计、开发。The existing business system carries more and more business processes. When a new business is generated, it needs to go through the steps of design, development, testing, and release. For example, for the card opening business, when a new card opening process needs to be developed, some card opening processes require a pre-deposit amount, but some card opening processes require a post-deposit amount, and some card opening processes require a minimum consumption, but some card opening processes do not require a minimum consumption. These different card opening processes need to be designed and developed separately.
目前新业务的生成方法需要针对不同的业务流程分别进行开发,操作繁琐,并且耗费时间。The current method of generating new services requires separate development for different business processes, which is cumbersome and time-consuming.
发明内容Summary of the invention
鉴于上述问题,本发明实施例提供了一种新业务的生成方法、装置及计算设备,能够达到操作简单并且节省时间的效果。In view of the above problems, the embodiments of the present invention provide a method, apparatus and computing device for generating a new service, which can achieve the effect of simple operation and time saving.
根据本发明实施例的一个方面,提供了一种新业务的生成方法,所述方法包括:根据基础业务信息,生成包括若干基础单元的基础流程;根据扩展功能信息,生成若干扩展单元;确定新业务流程编排信息;根据所述新业务流程编排信息,确定所述新业务流程编排信息中包括的所述扩展单元,并将确定的所述扩展单元通过运行时注入的方式插入至所述基础流程,从而生成新业务。According to one aspect of an embodiment of the present invention, a method for generating a new business is provided, the method comprising: generating a basic process including a plurality of basic units based on basic business information; generating a plurality of extended units based on extended function information; determining new business process orchestration information; determining the extended units included in the new business process orchestration information based on the new business process orchestration information, and inserting the determined extended units into the basic process by means of runtime injection, thereby generating a new business.
在一种可选的方式中,所述根据基础业务信息,生成包括若干基础单元的基础流程,进一步包括:根据所述基础业务信息,生成若干所述基础单元;在各个所述基础单元之间分别设置调用程序;生成包括若干所述基础单元和所述调用程序的所述基础流程;则,所述根据确定的扩展单元的接口信息将确定的所述扩展单元通过运行时注入的方式插入至所述基础流程,进一步包括:所述调用程序根据确定的所述扩展单元的接口信息动态调用确定的所述扩展单元。In an optional manner, generating a basic process including several basic units based on basic business information further includes: generating several basic units based on the basic business information; setting calling programs between each of the basic units; generating the basic process including several basic units and the calling programs; then, inserting the determined extension unit into the basic process by runtime injection based on the interface information of the determined extension unit, further includes: the calling program dynamically calling the determined extension unit based on the interface information of the determined extension unit.
在一种可选的方式中,所述方法还包括:将所述扩展单元储存至数据库中。In an optional manner, the method further includes: storing the extension unit in a database.
在一种可选的方式中,所述方法还包括:配置所述扩展单元的接口信息,使得所述扩展单元的接口与所述基础单元的接口适配。In an optional manner, the method further includes: configuring interface information of the extension unit so that the interface of the extension unit is adapted to the interface of the basic unit.
在一种可选的方式中,所述配置所述扩展单元的接口信息,进一步包括:根据电子渠道接口规范,配置所述扩展单元的接口信息。In an optional manner, configuring the interface information of the extension unit further includes: configuring the interface information of the extension unit according to an electronic channel interface specification.
在一种可选的方式中,所述根据确定的扩展单元的接口信息将确定的所述扩展单元通过运行时注入的方式插入至所述基础流程,进一步还包括:根据所述新业务流程编排信息,确定工作模式以及所述扩展单元,其中,所述工作模式包括顺序模式、并行分支模式、同步模式、排他选择模式、简单合并模式中的一种或者多种;根据所述工作模式,将确定的所述扩展单元通过运行时注入的方式插入至所述基础流程。In an optional manner, the method of inserting the determined extension unit into the basic process by injection at runtime based on the interface information of the determined extension unit further includes: determining a working mode and the extension unit based on the new business process orchestration information, wherein the working mode includes one or more of a sequential mode, a parallel branch mode, a synchronous mode, an exclusive selection mode, and a simple merge mode; and according to the working mode, inserting the determined extension unit into the basic process by injection at runtime.
在一种可选的方式中,所述确定新业务流程编排信息,进一步包括:获取业务用户的身份信息;根据所述业务用户的身份信息,基于集成开发环境进行新业务编排,以确定所述新业务流程编排信息。In an optional manner, the determining of the new business process orchestration information further includes: acquiring identity information of a business user; and performing new business orchestration based on an integrated development environment according to the identity information of the business user to determine the new business process orchestration information.
在一种可选的方式中,所述基础业务信息包括:开卡业务信息、补卡业务信息或者换卡业务信息;所述扩展功能信息包括:实名制功能信息、激活功能信息、过滤功能信息、支付功能信息中的一种或多种。In an optional manner, the basic business information includes: card opening business information, card replacement business information or card change business information; the extended function information includes: one or more of real-name function information, activation function information, filtering function information, and payment function information.
根据本发明实施例的另一方面,提供了一种新业务的生成装置,所述装置包括:基础流程生成模块,用于根据基础业务信息,生成包括若干基础单元的基础流程;扩展单元生成模块,用于根据扩展功能信息,生成若干扩展单元;编排确定模块,用于确定新业务流程编排信息;新业务生成模块,用于根据所述新业务流程编排信息,确定所述扩展单元,并将确定的所述扩展单元通过运行时注入的方式插入至所述基础流程,从而生成新业务。According to another aspect of an embodiment of the present invention, a device for generating a new business is provided, the device comprising: a basic process generation module, used to generate a basic process including a plurality of basic units according to basic business information; an extension unit generation module, used to generate a plurality of extension units according to extension function information; an orchestration determination module, used to determine the new business process orchestration information; a new business generation module, used to determine the extension unit according to the new business process orchestration information, and insert the determined extension unit into the basic process by means of runtime injection, so as to generate a new business.
根据本发明实施例的又一方面,提供了一种计算设备,包括:处理器、存储器和通信接口,所述处理器、所述存储器和所述通信接口相互通信;所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如上所述的新业务的生成方法的操作。According to another aspect of an embodiment of the present invention, there is provided a computing device, comprising: a processor, a memory and a communication interface, wherein the processor, the memory and the communication interface communicate with each other; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the method for generating a new business as described above.
根据本发明实施例的另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行如上所述的新业务的生成方法。According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a processor to execute the method for generating a new service as described above.
本发明实施例通过根据基础业务信息,生成包括若干基础单元的基础流程,根据扩展功能信息,生成若干扩展单元,配置扩展单元的接口信息,使得扩展单元的接口与基础单元的接口适,确定新业务流程编排信息,根据新业务流程编排信息,确定新业务流程编排信息中包括的扩展单元,并将确定的扩展单元通过运行时注入的方式插入至基础流程,从而生成新业务,能够在基础流程的运行期插入扩展功能,从而在运行时动态生成新的业务流程,从而达到操作简单并且节省时间的效果。The embodiment of the present invention generates a basic process including several basic units according to basic business information, generates several extension units according to extended function information, configures interface information of the extension units so that the interfaces of the extension units are adapted to the interfaces of the basic units, determines new business process orchestration information, determines the extension units included in the new business process orchestration information according to the new business process orchestration information, and inserts the determined extension units into the basic process by injection at runtime, thereby generating a new business. The extended functions can be inserted during the operation of the basic process, thereby dynamically generating a new business process at runtime, thereby achieving the effect of simple operation and saving time.
上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
图1示出了本发明其中一实施例提供的新业务的生成方法的流程图;FIG1 shows a flow chart of a method for generating a new service provided by one embodiment of the present invention;
图2示出了本发明另一实施例提供的新业务的生成方法的流程图;FIG2 shows a flow chart of a method for generating a new service according to another embodiment of the present invention;
图3示出了本发明实施例提供的在基础单元之间设置调用程序的示意图;FIG3 is a schematic diagram showing a method for setting a calling program between basic units according to an embodiment of the present invention;
图4示出了本发明实施例提供的在基础单元之间设置调用程序的示意图;FIG4 is a schematic diagram showing a method of setting a calling program between basic units according to an embodiment of the present invention;
图5示出了本发明实施例提供的新业务流程编排信息的示意图;FIG5 is a schematic diagram showing new business process arrangement information provided by an embodiment of the present invention;
图6示出了本发明实施例提供的新业务的生成装置的结构示意图;FIG6 shows a schematic diagram of the structure of a device for generating a new service provided by an embodiment of the present invention;
图7示出了本发明实施例提供的计算设备的结构示意图。FIG. 7 shows a schematic diagram of the structure of a computing device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
由于技术的发展和变革,需要针对新技术开发不同的新业务,又或者,为了提高用户体验,需要对业务进行优化。当生成新业务时,需要经过设计、开发、测试、发布等步骤。例如,对于开发新开卡业务,在原有业务的基础上增加新功能,并且针对不同的市场需求,根据新功能设置不同的流程,从而生成若干不同的新开卡业务。然而,每设计一个新的业务流程,均需要重新进行开发、测试,操作繁琐,并且耗费时间。Due to the development and change of technology, it is necessary to develop different new businesses for new technologies, or to optimize the business in order to improve the user experience. When generating a new business, it is necessary to go through the steps of design, development, testing, and release. For example, for the development of a new card opening business, new functions are added on the basis of the original business, and different processes are set according to the new functions based on different market needs, thereby generating several different new card opening businesses. However, each design of a new business process requires redevelopment and testing, which is cumbersome and time-consuming.
基于此,本发明实施例提供一种新业务的生成方法、装置及计算设备,能够达到操作简单并且节省时间的效果。Based on this, the embodiments of the present invention provide a method, apparatus and computing device for generating a new service, which can achieve the effect of simple operation and time saving.
具体地,下面结合附图,对本发明实施例作进一步阐述。Specifically, the embodiments of the present invention are further described below in conjunction with the accompanying drawings.
其中,应当理解的是,本发明提供的下述实施例之间,只要不冲突,均可相互结合以形成新的实施方式。It should be understood that the following embodiments provided by the present invention can be combined with each other to form a new implementation mode as long as there is no conflict.
图1示出了本发明其中一实施例提供的新业务的生成方法的流程图。该方法应用于计算设备中。如图1所示,该方法包括以下步骤:FIG1 shows a flow chart of a method for generating a new service provided by one embodiment of the present invention. The method is applied in a computing device. As shown in FIG1 , the method comprises the following steps:
步骤110、根据基础业务信息,生成包括若干基础单元的基础流程。Step 110: Generate a basic process including several basic units according to the basic business information.
其中,基础业务信息可以包括基础业务的编程信息等等。基础业务信息可以为旧业务信息,或者,业务的核心步骤信息。例如,某个旧业务包括步骤1、2、3、4,则基础业务信息为步骤1、2、3、4的编程信息;又例如,某个旧业务包括步骤1、2、3、4,其中,步骤2、4为核心步骤,则基础业务信息为步骤2、4的编程信息。The basic business information may include programming information of the basic business, etc. The basic business information may be old business information, or core step information of the business. For example, if an old business includes steps 1, 2, 3, and 4, the basic business information is the programming information of steps 1, 2, 3, and 4; for another example, if an old business includes steps 1, 2, 3, and 4, where steps 2 and 4 are core steps, the basic business information is the programming information of steps 2 and 4.
可选地,在步骤110之前,该方法还可以包括:获取基础业务信息。例如,从开发源代码中获取基础业务信息。Optionally, before step 110, the method may further include: obtaining basic business information, for example, obtaining the basic business information from development source code.
其中,根据基础业务信息生成包括若干基础单元的基础流程,可以为:对基础业务信息按照功能进行划分,并根据划分的结果,生成基础单元,根据基础单元的执行顺序进行排布,从而得到基础流程。Among them, generating a basic process including several basic units according to basic business information can be: dividing the basic business information according to functions, generating basic units according to the division results, and arranging them according to the execution order of the basic units to obtain the basic process.
步骤120、根据扩展功能信息,生成若干扩展单元。Step 120: Generate a number of extension units according to the extended function information.
其中,扩展功能信息可以包括扩展功能的编程信息等等。其中,扩展功能可以为针对旧业务增加的新功能,或者,在业务中除了核心步骤以外的其他功能。例如,某个旧业务包括步骤1、2、3、4,增加的新功能为步骤5,则扩展功能信息为步骤5的编程信息;又例如,某个旧业务包括步骤1、2、3、4,其中,步骤2、4为核心步骤,则扩展功能信息为步骤1、3的编程信息。The extended function information may include programming information of the extended function, etc. The extended function may be a new function added to the old service, or other functions in the service other than the core steps. For example, if an old service includes steps 1, 2, 3, and 4, and the new function added is step 5, the extended function information is the programming information of step 5; for another example, if an old service includes steps 1, 2, 3, and 4, and steps 2 and 4 are core steps, the extended function information is the programming information of steps 1 and 3.
可选地,在步骤120之前,该方法还可以包括:获取扩展功能信息。例如,开发人员对扩展功能进行编程,生成扩展功能的编程信息,并将扩展功能的编程信息上传,从而计算设备获取扩展功能信息。Optionally, before step 120, the method may further include: obtaining extended function information. For example, a developer programs the extended function, generates programming information of the extended function, and uploads the programming information of the extended function, so that the computing device obtains the extended function information.
其中,根据扩展功能信息,生成若干扩展单元,可以为:对扩展功能信息按照功能进行划分,并根据划分的结果,生成扩展单元。The generating of a plurality of extension units according to the extended function information may be: dividing the extended function information according to the functions, and generating the extension units according to the division results.
在一些实施例中,在步骤120之后,该方法还包括:配置扩展单元的接口信息,使得扩展单元的接口与基础单元的接口适配。具体可以为:根据基础单元的接口规范,配置扩展单元的接口信息。基础单元的接口规范可以为电子渠道接口规范。通过配置扩展单元的接口信息,在保持基础单元不变的情况下,使扩展单元适配基础单元。In some embodiments, after step 120, the method further includes: configuring the interface information of the extension unit so that the interface of the extension unit is adapted to the interface of the basic unit. Specifically, the interface information of the extension unit is configured according to the interface specification of the basic unit. The interface specification of the basic unit may be an electronic channel interface specification. By configuring the interface information of the extension unit, the extension unit is adapted to the basic unit while keeping the basic unit unchanged.
在一些实施例中,在步骤130之后,该方法还包括:将扩展单元储存至数据库中。当后续需要使用扩展单元时,从数据库中读取扩展单元的程序段。In some embodiments, after step 130, the method further includes: storing the extension unit in a database. When the extension unit is needed later, the program segment of the extension unit is read from the database.
步骤130、确定新业务流程编排信息。Step 130: Determine new business process orchestration information.
其中,新业务流程编排信息是指在新业务中基础单元和基础流程的编排信息。确定新业务流程编排信息,具体可以包括:在集成开发环境(Integrated DevelopmentEnvironment,IDE)中生成基础单元和扩展单元的标识信息,接收针对基础单元和扩展单元的标识信息的编排指令,根据编排指令,生成新业务流程编排信息。例如,在IDE中生成基础单元(包括步骤1、2、3、4)和扩展单元(包括步骤5、6)的标识,开发人员针对客户群体a、b分别设计了两种新业务流程,开发人员触发编排指令(即移动基础单元和扩展单元的标识以进行编排),系统根据编排指令生成新业务流程编排信息分别为:新业务a1:步骤1、5、2、3、4、6以及新业务a2:步骤1、2、3、4、5,则确定新业务流程编排信息。通过进行人工编排,从而生成新业务流程编排信息。Among them, the new business process orchestration information refers to the orchestration information of the basic unit and the basic process in the new business. Determining the new business process orchestration information may specifically include: generating identification information of the basic unit and the extension unit in an integrated development environment (IDE), receiving an orchestration instruction for the identification information of the basic unit and the extension unit, and generating the new business process orchestration information according to the orchestration instruction. For example, the identification of the basic unit (including steps 1, 2, 3, and 4) and the extension unit (including steps 5 and 6) are generated in the IDE, and the developer designs two new business processes for customer groups a and b respectively. The developer triggers the orchestration instruction (i.e., moves the identification of the basic unit and the extension unit for orchestration), and the system generates new business process orchestration information according to the orchestration instruction, which are: new business a1: steps 1, 5, 2, 3, 4, and 6 and new business a2: steps 1, 2, 3, 4, and 5, and then the new business process orchestration information is determined. The new business process orchestration information is generated by performing manual orchestration.
在一些其他实施例中,还可以进行自动编排,从而自动生成新业务流程编排信息。确定新业务流程编排信息,具体还可以包括:获取业务用户的身份信息;根据业务用户的身份信息,基于集成开发环境进行新业务编排,以确定新业务流程编排信息。其中,业务用户是指该业务针对的用户,业务用户的身份信息可以为业务用户的年龄、性别或业务使用历史记录等等。在获取业务的身份信息后,系统可以根据预设的业务流程,基于集成开发环境自动进行新业务编排,从而生成新业务流程编排信息,从而确定新业务流程编排信息。通过根据业务用户的身份信息进行自动编排,能够提高自动化程度。In some other embodiments, automatic orchestration can also be performed to automatically generate new business process orchestration information. Determining the new business process orchestration information can specifically include: obtaining the identity information of the business user; performing new business orchestration based on the integrated development environment according to the identity information of the business user to determine the new business process orchestration information. Among them, the business user refers to the user targeted by the business, and the identity information of the business user can be the age, gender or business usage history of the business user, etc. After obtaining the identity information of the business, the system can automatically perform new business orchestration based on the integrated development environment according to the preset business process, thereby generating new business process orchestration information, thereby determining the new business process orchestration information. By automatically performing orchestration based on the identity information of the business user, the degree of automation can be improved.
步骤140、根据新业务流程编排信息,确定新业务流程编排信息中包括的扩展单元,并将确定的扩展单元通过运行时注入的方式插入至基础流程,从而生成新业务。Step 140: Determine the extension unit included in the new business process arrangement information according to the new business process arrangement information, and insert the determined extension unit into the basic process by runtime injection, thereby generating a new business.
其中,根据新业务流程编排信息,确定新业务流程编排信息中包括的扩展单元,具体可以为:根据新业务流程编排信息中包括的扩展单元的标识,确定与包含的扩展单元的标识对应的扩展单元,则确定新业务流程编排信息中包括的扩展单元。例如,新业务流程编排信息中包括扩展单元步骤5、6的标识,则确定扩展单元为步骤5、6。Specifically, the extension unit included in the new business process arrangement information is determined according to the new business process arrangement information, which may be: according to the identifier of the extension unit included in the new business process arrangement information, an extension unit corresponding to the identifier of the included extension unit is determined, and then the extension unit included in the new business process arrangement information is determined. For example, if the new business process arrangement information includes the identifiers of the extension unit steps 5 and 6, then the extension unit is determined to be steps 5 and 6.
其中,将确定的扩展单元通过运行时注入的方式插入至基础流程,具体可以为:在基础流程中设置扩展单元的插入标识,在执行基础流程的过程中,当执行到插入标识时,根据插入标识获取并写入对应的扩展单元的程序段,执行该对应的扩展单元的程序段,执行完毕后再继续执行后续基础流程。由于扩展单元的接口与基础单元的接口适配,将扩展单元插入至基础流程之后,能够顺利执行。例如,假设基础单元为步骤1、2、3、4,新业务的流程编排信息为:步骤1、5、2、3、4,则根据流程编排信息确定扩展单元为步骤5、6,则在步骤1和步骤2之间设置步骤5的插入标识,在执行基础流程的过程中,当步骤1执行完毕后,遇到步骤5的插入标识,则获取扩展单元步骤5的程序段,步骤5的程序段执行完毕后,执行步骤2。通过以上方式,能够在运行时动态生成新的业务流程,快速响应业务需求。Among them, the determined extension unit is inserted into the basic process by injection at runtime, which can be specifically: setting the insertion mark of the extension unit in the basic process, in the process of executing the basic process, when the insertion mark is executed, the program segment of the corresponding extension unit is obtained and written according to the insertion mark, and the program segment of the corresponding extension unit is executed. After the execution is completed, the subsequent basic process is continued. Since the interface of the extension unit is adapted to the interface of the basic unit, the extension unit can be smoothly executed after being inserted into the basic process. For example, assuming that the basic unit is steps 1, 2, 3, and 4, and the process arrangement information of the new business is: steps 1, 5, 2, 3, and 4, then the extension unit is determined to be steps 5 and 6 according to the process arrangement information, and the insertion mark of step 5 is set between steps 1 and 2. In the process of executing the basic process, when step 1 is executed, the insertion mark of step 5 is encountered, and the program segment of step 5 of the extension unit is obtained. After the program segment of step 5 is executed, step 2 is executed. In the above manner, new business processes can be dynamically generated at runtime to quickly respond to business needs.
在一些其他实施例中,有些步骤可能并列执行,有些步骤可能选择执行,则新业务流程编排信息还包括工作模式信息。将确定的扩展单元插入至基础流程,进一步还包括:根据新业务流程编排信息,确定工作模式以及扩展单元;根据工作模式,将确定的扩展单元通过运行时注入的方式插入至基础流程。In some other embodiments, some steps may be executed in parallel, and some steps may be executed selectively, and the new business process arrangement information also includes work mode information. Inserting the determined extension unit into the basic process further includes: determining the work mode and the extension unit according to the new business process arrangement information; and inserting the determined extension unit into the basic process by runtime injection according to the work mode.
其中,工作模式可以包括顺序模式(Sequence)、并行分支模式(Parallel Split)、同步模式(Synchronization)、排他选择模式(Exclusive Choice)、简单合并模式(SimpleMerge)中的一种或者多种。顺序模式是指各个活动在同一进程中按顺序依次执行;并行分支模式是指一个线程的一个点拆分成多个多线程平行执行的多个活动,这些平行的活动之间没有关联,执行没有顺序关系;同步模式是指在流程中的某个点,多个并行的子流程或者活动,合并成一个流程,必须等待所有的分支都执行完以后,才能激活后续活动;排他选择模式是指当一个活动完成以后,可以有多个分支进行选择,但是只能选择其中的一个分支,即多选一;简单合并模式是指有两个或多个可选择的分支,在某一点处合并成一个分支,但并不是同步合并,一般采用“先进先出”原则,但是后续活动只产生一次。Among them, the working mode may include one or more of the following modes: Sequence, Parallel Split, Synchronization, Exclusive Choice, and Simple Merge. Sequence mode means that each activity is executed sequentially in the same process; Parallel Split means that a point in a thread is split into multiple activities executed in parallel by multiple threads, and there is no association between these parallel activities, and there is no order relationship in execution; Synchronization means that at a certain point in the process, multiple parallel sub-processes or activities are merged into one process, and subsequent activities can only be activated after all branches are executed; Exclusive Choice means that after an activity is completed, there can be multiple branches to choose from, but only one of them can be selected, that is, multiple-choice-one; Simple Merge means that there are two or more selectable branches, which are merged into one branch at a certain point, but it is not a synchronous merge, and generally adopts the "first in, first out" principle, but the subsequent activity is only generated once.
则根据新业务流程编排信息确定工作模式,具体可以为:根据新业务流程编排信息中包含的工作模式的标识,确定与包含的工作模式的标识对应的工作模式,则确定工作模式。例如,新业务流程编排信息中步骤1和步骤2之间包含顺序模式的标识,则确定步骤1和步骤2之间的工作模式为顺序模式。通过设置多种工作模式,丰富了业务流程的执行方式,能够适用于多种新业务生成。The working mode is determined according to the new business process arrangement information, which can be specifically: according to the identification of the working mode contained in the new business process arrangement information, the working mode corresponding to the identification of the included working mode is determined, and then the working mode is determined. For example, if the identification of the sequential mode is included between step 1 and step 2 in the new business process arrangement information, the working mode between step 1 and step 2 is determined to be the sequential mode. By setting a variety of working modes, the execution mode of the business process is enriched, which can be applicable to the generation of a variety of new businesses.
本发明实施例通过根据基础业务信息,生成包括若干基础单元的基础流程,根据扩展功能信息,生成若干扩展单元,确定新业务流程编排信息,根据新业务流程编排信息,确定新业务流程编排信息中包括的扩展单元,并将确定的扩展单元通过运行时注入的方式插入至基础流程,从而生成新业务,能够在基础流程的运行期插入扩展功能,从而在运行时动态生成新的业务流程,从而达到操作简单并且节省时间的效果。The embodiment of the present invention generates a basic process including several basic units according to basic business information, generates several extension units according to extended function information, determines new business process orchestration information, determines the extension units included in the new business process orchestration information according to the new business process orchestration information, and inserts the determined extension units into the basic process by runtime injection, thereby generating a new business. The extended function can be inserted during the operation of the basic process, thereby dynamically generating a new business process at runtime, thereby achieving the effect of simple operation and time saving.
图2示出了本发明另一实施例提供的新业务的生成方法的流程图。该方法应用于计算设备中。如图2所示,该方法包括以下步骤:FIG2 shows a flow chart of a method for generating a new service provided by another embodiment of the present invention. The method is applied in a computing device. As shown in FIG2 , the method includes the following steps:
步骤211、根据基础业务信息,生成若干基础单元。Step 211: Generate several basic units according to basic business information.
其中,根据基础业务信息,生成若干基础单元,具体可以为:对基础业务信息按照功能进行划分,并根据划分的结果,生成基础单元。Among them, a number of basic units are generated according to the basic business information, which may be specifically: the basic business information is divided according to the function, and the basic units are generated according to the result of the division.
步骤212、在各个基础单元之间分别设置调用程序。Step 212: Set up calling programs between each basic unit.
其中,调用程序可以为代理程序。代理程序用于代理扩展单元,并且一个代理程序可以代理一个或者多个扩展单元。在各个基础单元之间分别设置调用程序,具体可以为使得每个基础单元的前后均设置有调用程序。例如,如图3所示,基础单元包括步骤1、2、3、4,在基础单元之间分别设置代理程序1、2、3、4、5。The calling program may be a proxy program. The proxy program is used to proxy the extension unit, and one proxy program may proxy one or more extension units. The calling program is respectively set between each basic unit, and specifically, each basic unit may be provided with a calling program before and after. For example, as shown in FIG3 , the basic unit includes steps 1, 2, 3, and 4, and proxy programs 1, 2, 3, 4, and 5 are respectively set between the basic units.
步骤213、生成包括若干基础单元和调用程序的基础流程。Step 213: Generate a basic process including several basic units and calling programs.
步骤220、根据扩展功能信息,生成若干扩展单元。Step 220: Generate a number of extension units according to the extended function information.
步骤230、配置扩展单元的接口信息,使得扩展单元的接口与基础单元的接口适配。Step 230: Configure the interface information of the extension unit so that the interface of the extension unit is compatible with the interface of the basic unit.
步骤240、确定新业务流程编排信息。Step 240: Determine new business process orchestration information.
其中,步骤220至步骤240与上述实施例中的对应步骤相同,此处不再赘述。Among them, step 220 to step 240 are the same as the corresponding steps in the above embodiment and will not be repeated here.
步骤250、根据新业务流程编排信息,确定新业务流程编排信息中包含的扩展单元,并且,调用程序根据确定的扩展单元的接口信息动态调用确定的扩展单元,从而生成新业务。Step 250: Determine the extension unit included in the new business process arrangement information according to the new business process arrangement information, and the calling program dynamically calls the determined extension unit according to the interface information of the determined extension unit, thereby generating a new business.
其中,根据新业务流程编排信息,确定新业务流程编排信息中包含的扩展单元,调用程序根据确定的扩展单元的接口信息动态调用确定的扩展单元,具体可以为:根据新业务流程编排信息,确定新业务流程编排信息中包含的扩展单元的标识,确定与包含的扩展单元的标识对应的扩展单元,并确定该扩展单元的接口信息,在执行基础流程的过程中,当执行到扩展单元时,调用程序根据扩展单元的接口信息,通过动态代理的方式获取该扩展单元的执行结果,将扩展单元的执行结果写入后续基础流程。其中,动态代理具体可以为JAVA动态代理。通过使用动态代理,可以对所有代理类的方法进行统一处理,而不用逐一修改每个方法。Wherein, according to the new business process orchestration information, the extension unit included in the new business process orchestration information is determined, and the calling program dynamically calls the determined extension unit according to the interface information of the determined extension unit. Specifically, it can be: according to the new business process orchestration information, the identifier of the extension unit included in the new business process orchestration information is determined, the extension unit corresponding to the identifier of the included extension unit is determined, and the interface information of the extension unit is determined. In the process of executing the basic process, when the extension unit is executed, the calling program obtains the execution result of the extension unit through a dynamic proxy according to the interface information of the extension unit, and writes the execution result of the extension unit into the subsequent basic process. Wherein, the dynamic proxy can be specifically a JAVA dynamic proxy. By using a dynamic proxy, all methods of the proxy class can be processed uniformly without modifying each method one by one.
本发明实施例通过在若干基础单元之间分别设置调用程序,使得调用程序根据确定的扩展单元的接口信息动态调用确定的扩展单元,不仅能够在基础流程的运行期插入扩展功能,在运行时动态生成新的业务流程,还能够通过动态代理的方法实现业务流程的组建,使得在新功能增加时无需频繁地修改源代码,从而达到操作简单并且节省时间的效果。The embodiment of the present invention sets calling programs respectively between several basic units, so that the calling program dynamically calls the determined extension unit according to the interface information of the determined extension unit. It can not only insert extended functions during the operation period of the basic process and dynamically generate new business processes at runtime, but also realize the construction of business processes through dynamic proxy methods, so that there is no need to frequently modify the source code when new functions are added, thereby achieving the effect of simple operation and saving time.
在一些实施例中,该新业务的生成方法可以用于通信业务的生成。其中,基础业务信息可以包括:开卡业务信息、补卡业务信息或者换卡业务信息。当应用于开卡业务的生成时,基础业务信息包括开卡业务信息,扩展功能信息包括实名制功能信息、激活功能信息、过滤功能信息、支付功能信息中的一种或者多种。具体地,该方法包括以下步骤:In some embodiments, the method for generating a new service can be used for generating a communication service. The basic service information may include: card activation service information, card replacement service information, or card replacement service information. When applied to the generation of a card activation service, the basic service information includes the card activation service information, and the extended function information includes one or more of the real-name function information, activation function information, filtering function information, and payment function information. Specifically, the method includes the following steps:
步骤301、根据开卡业务信息,生成若干基础单元。Step 301: Generate several basic units according to the card activation service information.
其中,生成的基础单元包括步骤1、2、3、4,步骤1、2、3、4为开卡流程中不可缺少的步骤。The generated basic unit includes steps 1, 2, 3, and 4, and steps 1, 2, 3, and 4 are indispensable steps in the card opening process.
步骤302、在各个基础单元之间分别设置调用程序。Step 302: Set up calling programs between each basic unit.
其中,如图4所示,调用程序包括代理程序1、2、3、4、5。As shown in FIG4 , the calling program includes agent programs 1 , 2 , 3 , 4 , and 5 .
步骤303、生成包括若干基础单元和调用程序的基础流程。Step 303: Generate a basic process including several basic units and calling programs.
步骤304、根据扩展功能信息,生成若干扩展单元。Step 304: Generate several extension units according to the extended function information.
其中,根据扩展功能信息,生成的扩展单元包括:实名制功能单元、激活功能单元、号池过滤功能单元、渠道过滤功能单元、套餐过滤功能单元以及支付功能单元。实名制功能单元用于使用户输入姓名以及身份证件号信息;激活功能单元用于对号码进行激活;号池过滤功能单元用于将预设号码过滤,以提取靓号,例如,将包含4的号码过滤,得到不包含4的号码;渠道过滤功能单元用于针对用户进行号码过滤,以给不同类型的用户分配不同类型的号码,例如,对于私人用户分配普通号码,对于公司用户分配连号号码;套餐过滤功能单元用于根据用户筛选套餐,例如,针对年轻用户,筛选定向流量套餐,而针对老年用户,过滤定向流行套餐;支付功能单元设置支付信息,例如免付或者预付等。Among them, according to the extended function information, the generated extension unit includes: real-name system function unit, activation function unit, number pool filtering function unit, channel filtering function unit, package filtering function unit and payment function unit. The real-name system function unit is used to allow the user to enter the name and identity document number information; the activation function unit is used to activate the number; the number pool filtering function unit is used to filter the preset numbers to extract the good numbers, for example, filtering the numbers containing 4 to obtain the numbers that do not contain 4; the channel filtering function unit is used to filter the numbers for the user to assign different types of numbers to different types of users, for example, assigning ordinary numbers to private users and assigning serial numbers to corporate users; the package filtering function unit is used to filter the packages according to the users, for example, for young users, filter the targeted traffic packages, and for elderly users, filter the targeted popular packages; the payment function unit sets the payment information, such as free payment or prepayment.
并且,代理程序1用于代理实名制功能单元,代理程序2用于代理激活功能单元和套餐过滤功能单元,代理程序3用于代理号池过滤功能单元和渠道过滤功能单元,代理程序4用于代理支付功能单元,代理程序5用于代理激活功能单元和和支付功能单元。当然,在另一些实施例中,代理程序代理的扩展单元可以根据实际使用情况进行设置。Furthermore, agent 1 is used to act as an agent for the real-name system function unit, agent 2 is used to act as an agent for the activation function unit and the package filtering function unit, agent 3 is used to act as an agent for the number pool filtering function unit and the channel filtering function unit, agent 4 is used to act as an agent for the payment function unit, and agent 5 is used to act as an agent for the activation function unit and the payment function unit. Of course, in other embodiments, the extension unit of the agent agent can be set according to the actual usage.
步骤305、确定新业务流程编排信息。Step 305: Determine new business process arrangement information.
其中,如图5所示,从IDE中获取并确定新业务流程编排信息。As shown in FIG5 , new business process orchestration information is obtained and determined from the IDE.
步骤306、根据新业务流程编排信息,确定扩展单元,并且,调用程序根据确定的扩展单元的接口信息动态调用确定的扩展单元,从而生成新业务。Step 306: Determine the extension unit according to the new business process arrangement information, and the calling program dynamically calls the determined extension unit according to the interface information of the determined extension unit, thereby generating a new business.
本发明实施例通过根据基础业务信息,生成包括若干基础单元的基础流程,根据扩展功能信息,生成若干扩展单元,确定新业务流程编排信息,根据新业务流程编排信息,确定新业务流程编排信息中包括的扩展单元,并将确定的扩展单元通过运行时注入的方式插入至基础流程,从而生成新业务,能够在基础流程的运行期插入扩展功能,从而在运行时动态生成新的业务流程,从而达到操作简单并且节省时间的效果。The embodiment of the present invention generates a basic process including several basic units according to basic business information, generates several extension units according to extended function information, determines new business process orchestration information, determines the extension units included in the new business process orchestration information according to the new business process orchestration information, and inserts the determined extension units into the basic process by runtime injection, thereby generating a new business. The extended function can be inserted during the operation of the basic process, thereby dynamically generating a new business process at runtime, thereby achieving the effect of simple operation and time saving.
图6示出了本发明实施例提供的新业务的生成装置的结构示意图。如图6所示,该装置400包括:基础流程生成模块410、扩展单元生成模块420、编排确定模块430和新业务生成模块440。Fig. 6 shows a schematic diagram of the structure of a device for generating a new service provided by an embodiment of the present invention. As shown in Fig. 6 , the device 400 includes: a basic process generation module 410 , an extension unit generation module 420 , an arrangement determination module 430 and a new service generation module 440 .
其中,基础流程生成模块410用于根据基础业务信息,生成包括若干基础单元的基础流程;扩展单元生成模块420用于根据扩展功能信息,生成若干扩展单元;编排确定模块430用于确定新业务流程编排信息;新业务生成模块440用于根据所述新业务流程编排信息,确定所述新业务流程编排信息中包括的所述扩展单元,并将确定的所述扩展单元通过运行时注入的方式插入至所述基础流程,从而生成新业务。Among them, the basic process generation module 410 is used to generate a basic process including several basic units according to the basic business information; the extension unit generation module 420 is used to generate several extension units according to the extended function information; the orchestration determination module 430 is used to determine the new business process orchestration information; the new business generation module 440 is used to determine the extension unit included in the new business process orchestration information according to the new business process orchestration information, and insert the determined extension unit into the basic process by runtime injection, so as to generate a new business.
在一种可选的方式中,基础流程生成模块410具体用于:根据所述基础业务信息,生成若干所述基础单元;在各个所述基础单元之间分别设置调用程序;生成包括若干所述基础单元和所述调用程序的所述基础流程;则新业务生成模块440具体用于:所述调用程序根据确定的所述扩展单元的接口信息动态调用确定的所述扩展单元。In an optional manner, the basic process generation module 410 is specifically used to: generate a number of the basic units according to the basic business information; set up calling programs between each of the basic units; generate the basic process including the number of the basic units and the calling programs; then the new business generation module 440 is specifically used to: the calling program dynamically calls the determined extension unit according to the determined interface information of the extension unit.
在一种可选的方式中,该装置400还包括:存储模块。存储模块用于将所述扩展单元储存至数据库中。In an optional manner, the device 400 further includes: a storage module. The storage module is used to store the extension unit in a database.
在一种可选的方式中,该装置400还包括:接口配置模块。接口配置模块用于配置所述扩展单元的接口信息,使得所述扩展单元的接口与所述基础单元的接口适配。In an optional manner, the device 400 further includes: an interface configuration module. The interface configuration module is used to configure the interface information of the extension unit so that the interface of the extension unit is adapted to the interface of the basic unit.
在一种可选的方式中,接口配置模块具体用于:根据电子渠道接口规范,配置所述扩展单元的接口信息。In an optional manner, the interface configuration module is specifically used to configure the interface information of the extension unit according to the electronic channel interface specification.
在一种可选的方式中,新业务生成模块440具体用于:根据所述新业务流程编排信息,确定工作模式以及所述扩展单元,其中,所述工作模式包括顺序模式、并行分支模式、同步模式、排他选择模式、简单合并模式中的一种或者多种;根据所述工作模式,将确定的所述扩展单元通过运行时注入的方式插入至所述基础流程。In an optional manner, the new business generation module 440 is specifically used to: determine the working mode and the extension unit according to the new business process orchestration information, wherein the working mode includes one or more of a sequential mode, a parallel branch mode, a synchronous mode, an exclusive selection mode, and a simple merge mode; according to the working mode, insert the determined extension unit into the basic process by means of runtime injection.
在一种可选的方式中,编排确定模块430具体用于:获取业务用户的身份信息;根据所述业务用户的身份信息,基于集成开发环境进行新业务编排,以确定所述新业务流程编排信息。In an optional manner, the orchestration determination module 430 is specifically used to: obtain identity information of a business user; and perform new business orchestration based on an integrated development environment according to the identity information of the business user to determine the new business process orchestration information.
在一种可选的方式中,所述基础业务信息包括:开卡业务信息、补卡业务信息或者换卡业务信息;所述扩展功能信息包括:实名制功能信息、激活功能信息、过滤功能信息、支付功能信息中的一种或多种。In an optional manner, the basic business information includes: card opening business information, card replacement business information or card change business information; the extended function information includes: one or more of real-name function information, activation function information, filtering function information, and payment function information.
需要说明的是,本发明实施例提供的新业务的生成装置是能够执行上述新业务的生成方法的装置,则上述新业务的生成方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the new service generation device provided in the embodiment of the present invention is a device capable of executing the above-mentioned new service generation method, and all embodiments of the above-mentioned new service generation method are applicable to the device and can achieve the same or similar beneficial effects.
本发明实施例通过根据基础业务信息,生成包括若干基础单元的基础流程,根据扩展功能信息,生成若干扩展单元,配置扩展单元的接口信息,使得扩展单元的接口与基础单元的接口适,确定新业务流程编排信息,根据新业务流程编排信息,确定扩展单元,并根据确定的扩展单元的接口信息将确定的扩展单元通过运行时注入的方式插入至基础流程,从而生成新业务,能够在基础流程的运行期插入扩展功能,从而在运行时动态生成新的业务流程,从而达到操作简单并且节省时间的效果。The embodiment of the present invention generates a basic process including several basic units according to basic business information, generates several extension units according to extended function information, configures interface information of the extension units so that the interfaces of the extension units are adapted to the interfaces of the basic units, determines new business process orchestration information, determines the extension units according to the new business process orchestration information, and inserts the determined extension units into the basic process by runtime injection according to the interface information of the determined extension units, thereby generating a new business. The extended functions can be inserted during the operation of the basic process, thereby dynamically generating a new business process at runtime, thereby achieving the effect of simple operation and saving time.
本发明实施例提供了一种计算机可读存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行上述任意方法实施例中的新业务的生成方法。An embodiment of the present invention provides a computer-readable storage medium, in which at least one executable instruction is stored. The executable instruction enables a processor to execute the method for generating a new service in any of the above method embodiments.
本发明实施例通过根据基础业务信息,生成包括若干基础单元的基础流程,根据扩展功能信息,生成若干扩展单元,确定新业务流程编排信息,根据新业务流程编排信息,确定新业务流程编排信息中包括的扩展单元,并将确定的扩展单元通过运行时注入的方式插入至基础流程,从而生成新业务,能够在基础流程的运行期插入扩展功能,从而在运行时动态生成新的业务流程,从而达到操作简单并且节省时间的效果。The embodiment of the present invention generates a basic process including several basic units according to basic business information, generates several extension units according to extended function information, determines new business process orchestration information, determines the extension units included in the new business process orchestration information according to the new business process orchestration information, and inserts the determined extension units into the basic process by runtime injection, thereby generating a new business. The extended function can be inserted during the operation of the basic process, thereby dynamically generating a new business process at runtime, thereby achieving the effect of simple operation and time saving.
本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意方法实施例中的新业务的生成方法。An embodiment of the present invention provides a computer program product, which includes a computer program stored on a computer storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the method for generating a new business in any of the above method embodiments.
本发明实施例通过根据基础业务信息,生成包括若干基础单元的基础流程,根据扩展功能信息,生成若干扩展单元,确定新业务流程编排信息,根据新业务流程编排信息,确定新业务流程编排信息中包括的扩展单元,并将确定的扩展单元通过运行时注入的方式插入至基础流程,从而生成新业务,能够在基础流程的运行期插入扩展功能,从而在运行时动态生成新的业务流程,从而达到操作简单并且节省时间的效果。The embodiment of the present invention generates a basic process including several basic units according to basic business information, generates several extension units according to extended function information, determines new business process orchestration information, determines the extension units included in the new business process orchestration information according to the new business process orchestration information, and inserts the determined extension units into the basic process by runtime injection, thereby generating a new business. The extended function can be inserted during the operation of the basic process, thereby dynamically generating a new business process at runtime, thereby achieving the effect of simple operation and time saving.
图7示出了本发明实施例提供的计算设备的结构示意图,本发明具体实施例并不对计算设备的具体实现做限定。FIG. 7 shows a schematic diagram of the structure of a computing device provided in an embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the computing device.
如图7所示,该计算设备可以包括:处理器(processor)502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。As shown in FIG. 7 , the computing device may include: a processor (processor) 502 , a communications interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 .
其中:处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。通信接口504,用于与其它设备比如客户端或其它服务器等的网元通信。处理器502,用于执行程序510,具体可以执行上述任意方法实施例中的新业务的生成方法。The processor 502, the communication interface 504, and the memory 506 communicate with each other via the communication bus 508. The communication interface 504 is used to communicate with other devices such as a client or other server network elements. The processor 502 is used to execute the program 510, which can specifically execute the method for generating a new service in any of the above method embodiments.
具体地,程序510可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 510 may include program codes, which include computer operation instructions.
处理器502可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
存储器506,用于存放程序510。存储器506可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
本发明实施例通过根据基础业务信息,生成包括若干基础单元的基础流程,根据扩展功能信息,生成若干扩展单元,确定新业务流程编排信息,根据新业务流程编排信息,确定新业务流程编排信息中包括的扩展单元,并将确定的扩展单元通过运行时注入的方式插入至基础流程,从而生成新业务,能够在基础流程的运行期插入扩展功能,从而在运行时动态生成新的业务流程,从而达到操作简单并且节省时间的效果。The embodiment of the present invention generates a basic process including several basic units according to basic business information, generates several extension units according to extended function information, determines new business process orchestration information, determines the extension units included in the new business process orchestration information according to the new business process orchestration information, and inserts the determined extension units into the basic process by injection at runtime, thereby generating a new business. The extended function can be inserted during the operation of the basic process, thereby dynamically generating a new business process at runtime, thereby achieving the effect of simple operation and saving time.
在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithm or display provided here is not inherently related to any specific computer, virtual system or other equipment. Various general systems can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present invention described here, and the description of the above specific language is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
类似地,应当理解,为了精简本发明并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and/or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the following claims, any one of the claimed embodiments may be used in any combination.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim that lists a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911065353.9A CN112783497B (en) | 2019-11-04 | 2019-11-04 | New business generation method, device and computing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911065353.9A CN112783497B (en) | 2019-11-04 | 2019-11-04 | New business generation method, device and computing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112783497A CN112783497A (en) | 2021-05-11 |
CN112783497B true CN112783497B (en) | 2024-05-28 |
Family
ID=75748625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911065353.9A Active CN112783497B (en) | 2019-11-04 | 2019-11-04 | New business generation method, device and computing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112783497B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102473097A (en) * | 2010-01-13 | 2012-05-23 | 塔塔咨询服务有限公司 | A computationally efficient system for developing configurable, extensible business application product lines using model-driven techniques |
CN103513976A (en) * | 2012-06-29 | 2014-01-15 | 中兴通讯股份有限公司 | Service process modeling method and device |
CN103942055A (en) * | 2014-04-30 | 2014-07-23 | 北京邮电大学 | Development system and method for fusion network mixing service process programming language |
CN106293808A (en) * | 2016-07-26 | 2017-01-04 | 北京北森云计算股份有限公司 | The compiling of multilingual cloud realizes the method and system of systemic-function dynamic interception extension |
CN106775632A (en) * | 2016-11-21 | 2017-05-31 | 中国科学院遥感与数字地球研究所 | A kind of operation flow can flexible expansion high-performance geographic information processing method and system |
CN107015794A (en) * | 2015-12-18 | 2017-08-04 | Sap欧洲公司 | Software is service reference flow extensible authentication framework |
CN107577458A (en) * | 2017-08-18 | 2018-01-12 | 深圳怡化电脑股份有限公司 | A kind of finance self-help terminal traffic flow development approach and device |
CN109918151A (en) * | 2019-03-14 | 2019-06-21 | 佳都新太科技股份有限公司 | Workflow implementing method, device, equipment and storage medium |
CN110310034A (en) * | 2019-06-28 | 2019-10-08 | 京东数字科技控股有限公司 | A kind of service orchestration applied to SaaS, business flow processing method and apparatus |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9560037B2 (en) * | 2014-06-19 | 2017-01-31 | Microsoft Technology Licensing, Llc | Integrated APIs and UIs for consuming services across different distributed networks |
US10037431B2 (en) * | 2015-12-18 | 2018-07-31 | Sap Se | Software-as-a-service reference process extension verification framework |
-
2019
- 2019-11-04 CN CN201911065353.9A patent/CN112783497B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102473097A (en) * | 2010-01-13 | 2012-05-23 | 塔塔咨询服务有限公司 | A computationally efficient system for developing configurable, extensible business application product lines using model-driven techniques |
CN103513976A (en) * | 2012-06-29 | 2014-01-15 | 中兴通讯股份有限公司 | Service process modeling method and device |
CN103942055A (en) * | 2014-04-30 | 2014-07-23 | 北京邮电大学 | Development system and method for fusion network mixing service process programming language |
CN107015794A (en) * | 2015-12-18 | 2017-08-04 | Sap欧洲公司 | Software is service reference flow extensible authentication framework |
CN106293808A (en) * | 2016-07-26 | 2017-01-04 | 北京北森云计算股份有限公司 | The compiling of multilingual cloud realizes the method and system of systemic-function dynamic interception extension |
CN106775632A (en) * | 2016-11-21 | 2017-05-31 | 中国科学院遥感与数字地球研究所 | A kind of operation flow can flexible expansion high-performance geographic information processing method and system |
CN107577458A (en) * | 2017-08-18 | 2018-01-12 | 深圳怡化电脑股份有限公司 | A kind of finance self-help terminal traffic flow development approach and device |
CN109918151A (en) * | 2019-03-14 | 2019-06-21 | 佳都新太科技股份有限公司 | Workflow implementing method, device, equipment and storage medium |
CN110310034A (en) * | 2019-06-28 | 2019-10-08 | 京东数字科技控股有限公司 | A kind of service orchestration applied to SaaS, business flow processing method and apparatus |
Non-Patent Citations (3)
Title |
---|
a programmable interface for extending android security;Heuser S 等;《23rd USENIX Security Symposium (USENIX Security 14)》;20140822;1005-1019 * |
一种轻量级BPM引擎功能扩展模型的研究;王鹏;《中国优秀硕士学位论文全文数据库 经济与管理科学辑》;20180715(第7期);J152-442 * |
基于功能性需求的服务组合模型研究;叶世敏;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110715(第7期);I139-148 * |
Also Published As
Publication number | Publication date |
---|---|
CN112783497A (en) | 2021-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112214289B (en) | Task scheduling method and device, server and storage medium | |
US9645802B2 (en) | Technique for grouping instructions into independent strands | |
US9477497B2 (en) | Methods for determining resource dependency and systems thereof | |
CN112581018B (en) | Method, system, device and storage medium for managing process tasks | |
CN109947643B (en) | A/B test-based experimental scheme configuration method, device and equipment | |
CN111782207B (en) | Task stream code generation method, device, equipment and storage medium | |
CN112035230A (en) | Method and device for generating task scheduling file and storage medium | |
CN113495797A (en) | Message queue and consumer dynamic creation method and system | |
US10599556B2 (en) | Debugging a transaction in a replica execution environment | |
CN112783497B (en) | New business generation method, device and computing equipment | |
CN113296788B (en) | Instruction scheduling method, device, equipment and storage medium | |
CN113626333A (en) | Automatic interface testing method and device | |
CN111984241B (en) | Method, device, equipment and medium for dynamically taking effect of online codes | |
WO2019019957A1 (en) | Method and device for sending electronic coupon | |
Göhringer et al. | Operating system for runtime reconfigurable multiprocessor systems | |
CN100462923C (en) | Task management system | |
US20140013312A1 (en) | Source level debugging apparatus and method for a reconfigurable processor | |
US10248554B2 (en) | Embedding profile tests into profile driven feedback generated binaries | |
CN110471828A (en) | A kind of operating system testing method, apparatus and its equipment | |
CN114564507A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN114564250B (en) | Reading configuration method and device | |
CN117573359B (en) | Heterogeneous cluster-based computing framework management system and method | |
CN110737533A (en) | task scheduling method and device, electronic equipment and storage medium | |
EP4213018A1 (en) | Extending parallel software threads | |
CN113742052B (en) | Batch task processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |