WO2020006910A1 - Business componentization development method and apparatus, computer device, and storage medium - Google Patents

Business componentization development method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2020006910A1
WO2020006910A1 PCT/CN2018/108777 CN2018108777W WO2020006910A1 WO 2020006910 A1 WO2020006910 A1 WO 2020006910A1 CN 2018108777 W CN2018108777 W CN 2018108777W WO 2020006910 A1 WO2020006910 A1 WO 2020006910A1
Authority
WO
WIPO (PCT)
Prior art keywords
business
component
style
processes
preset
Prior art date
Application number
PCT/CN2018/108777
Other languages
French (fr)
Chinese (zh)
Inventor
吴俊强
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020006910A1 publication Critical patent/WO2020006910A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Definitions

  • the present application relates to the field of computer technology, and in particular, to a business component development method, device, computer equipment, and storage medium.
  • it can be as small as an ID card, driving license verification, or as large as the entire process node, such as H5 signature authorization and other specific business scenarios.
  • this simple copying method can complete the code quickly, the later maintenance is also quite difficult, and the code of all product lines needs to be changed simultaneously. There are many changes and wide coverage, resulting in large development and test costs.
  • the purpose of this application is to provide a service component development method, device, computer equipment and storage medium, which are used to solve the problems existing in the prior art.
  • the present application provides a business component type development method, including the following steps: receiving a selection command for selecting a prepackaged business component, wherein each business component encapsulates a corresponding component style structure and business processing logic Structure, each said business component is used to implement a business process; selecting a business component according to said selection command; and receiving an operation command for modifying a component style structure and a business processing logic structure of the selected business component, wherein, The operation command is input based on the requirements of a specific business scenario to be developed; and based on the operation command, a component style structure and a business processing logic structure of the selected business component are modified to obtain a business component of the specific business scenario.
  • the present application further provides a service component development device, which includes: a first receiving module for receiving a selection command for selecting a prepackaged service component, wherein each service component is encapsulated with a corresponding A component style structure and a business processing logic structure, each of the business components is used to implement a business process; an acquisition module is used to select a business component according to the selection command; a second receiving module is used to receive Operation commands for modifying the component style structure and business processing logic structure of the selected business component, wherein the operation command is input based on the requirements of the specific business scenario to be developed; and a modification module is used to modify the operation command based on the operation command.
  • the component style structure and business processing logic structure of the selected business component are used to obtain the business component of the specific business scenario.
  • the present application further provides a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor implements service component development when the processor executes the computer program.
  • the following steps of the method receiving a selection command for selecting a pre-packaged business component, wherein each business component is encapsulated with a corresponding component style structure and business processing logic structure, and each said business component is used to implement a business process Selecting a business component according to the selection command; receiving an operation command for modifying a component style structure and a business processing logic structure of the selected business component, wherein the operation command is input based on a specific business scenario requirement to be developed Modifying a component style structure and a business processing logic structure of the selected business component based on the operation command to obtain a business component of the specific business scenario.
  • the present application also provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps of a business component development method: receiving a method for selecting a prepackaged business component Selection command, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each of the business components is used to implement a business process; a business component is selected according to the selection command; An operation command for modifying a component style structure and a business processing logic structure of a selected business component, wherein the operation command is input based on requirements of a specific business scenario to be developed; and modifying the selected business component based on the operation command Component style structure and business processing logic structure to obtain the business components of the specific business scenario.
  • the business process is encapsulated in advance to form the corresponding business component.
  • the business component with the same business process can be selected for a specific business process without writing all the source code.
  • the business process of the scenario can be modified by inputting operation commands to the business components, which improves the development efficiency and reduces the redundancy of the code. At the same time, it maintains the consistency of the system style and logical rules, which facilitates future maintenance. , Only need to change one other will change simultaneously, while reducing the stress of testing.
  • FIG. 1 is a flowchart of Embodiment 1 of a business component development method of the present application
  • FIG. 2 is a schematic diagram of a program module of a first embodiment of a service component development device of the present application
  • FIG. 3 is a schematic diagram of a hardware structure of a first embodiment of a service component development device of the present application
  • Embodiment 4 is a flowchart of Embodiment 2 of a business component development method of the present application.
  • FIG. 5 is a schematic diagram of a program module of a second embodiment of a service component development device of the present application.
  • the business component development method, device, computer equipment, and storage medium provided in this application are applicable to the field of computer technology.
  • specific business processes can be implemented. Select business components with the same business process without writing all the source code; for business processes in specific scenarios, you can modify the way of inputting operation commands to business components, which improves the efficiency of development, reduces code redundancy, and Maintain the consistency of the system style and logical rules, which is convenient for later maintenance.
  • the business changes only one place needs to be changed, and the changes will be synchronized, which reduces the stress of testing.
  • a business component development method in this embodiment includes the following steps:
  • step S1 a selection command for selecting a pre-packaged business component is received, wherein each business component is encapsulated with a corresponding component style structure and business processing logic structure, and each business component is used to implement a business process.
  • different software products can be O2O loans, car life loans, supplementary loans, etc., which all include the same process, that is, the process of applying for a loan, and the process of applying for a loan can be used as a business component and belongs to the process of different product lines.
  • qualification verification is required in different business scenarios.
  • qualification verification requires customer's ID information, name, city information, mobile phone number, etc., among which identity verification rules, city query rules, etc.
  • Component encapsulation is the same rule in different business scenarios and belongs to the smallest granularity in different business scenarios.
  • Customized business components include component style structures and business logic structures, and provide corresponding API structures for R & D personnel to adaptively modify component styles or business logic.
  • the packaged components can be displayed in a list or graphic. During the business development process, you can click and select the required business component name from the displayed business component list and component graphics to complete the input of the selection command, and then Double-click the business component name to call up the reserved API interface.
  • step S2 a service component is selected according to a selection command.
  • the selection command may determine the selected service component, and determine the name or corresponding identifier of the service component. Then selecting the corresponding business component can be obtaining the business module corresponding to the business component, that is, the code sequence encapsulated into the business component, and deriving the code of the business component. Since the business component is obtained by encapsulating a code sequence of specific functional logic, the business module defined in this embodiment is a code sequence, that is, a business component formed by encapsulating a business module having functional logic.
  • the received selection command carries the selected business component identifier, which can be obtained by obtaining the business component identifier in the selection command; querying the business module corresponding to the selected business component from the memory based on the business component identifier;
  • the business module of the business component is exported to the development platform.
  • the business module corresponding to the business component is stored in the memory. After the selected business component is determined, the location of the corresponding business module is queried based on the identifier of the business component, and the location is exported to the development platform for subsequent use. Development work.
  • Step S3 Receive an operation command for modifying a component style structure and a business processing logic structure of the selected business component, where the operation command is input based on a specific business scenario requirement to be developed.
  • qualification verification requires customer ID information, name, city information, and mobile phone number information.
  • Required including ID verification rules, city fuzzy query, specific city requirements, etc. are all consistent rules; for O-credit, in some scenarios, the mobile phone number can be modified again.
  • the identity of the city after the customer has done card authentication The ID and name are provided by the backend and are not editable.
  • the business component can be modified by modifying the component style structure and business processing logic structure, thereby completing the development of the corresponding business process on the basis of minimal effort.
  • the operation command may include: double-clicking a business component to call a preset API interface, a specific modification command, and a code containing a modifiable component style and a code for modifying business logic.
  • Step S4 Modify the component style structure and business processing logic structure of the selected business component based on the operation command to obtain a business component of a specific business scenario.
  • the component style structure and business processing logic structure of the business component can be modified through the called API structure to complete the customization of the corresponding business process.
  • the business process is encapsulated in advance to form the corresponding business component.
  • the business component with the same business process can be selected for a specific business process without writing all the source code.
  • the business process of the scenario can be modified by inputting operation commands to the business components, which improves the development efficiency and reduces the redundancy of the code. At the same time, it maintains the consistency of the system style and logical rules, which facilitates future maintenance.
  • business changes Only need to change one other will change simultaneously, while reducing the stress of testing.
  • the method of the embodiment of the present application further includes: obtaining the completed development Decomposing the software program according to a preset granularity to obtain a plurality of business processes; and encapsulating the plurality of business processes to obtain a plurality of one-to-one corresponding business components.
  • the preset granularity is preferably a minimum granularity of a business process that can be disassembled by the software program.
  • the business program that has been developed is disassembled to obtain a business process that can be encapsulated, and then packaged into corresponding business components for use, making full use of the business program that has been developed.
  • this embodiment provides a further optimization solution, specifically:
  • Step 1 Disassemble the business programs corresponding to multiple business scenarios according to the first sub-granularity to obtain multiple first business processes.
  • step 2 the first business processes belonging to different business scenarios are compared, and the first business process whose similarity exceeds the first preset value is calculated.
  • the similarity can be obtained by calculating the coverage of the code, the same below.
  • step 3 the plurality of first sub-business processes are disassembled according to a second sub-granularity to obtain a plurality of second business processes, wherein the second sub-granularity is smaller than the first sub-granularity.
  • step 4 the second business processes belonging to different first sub-business processes are compared, and the second business process whose similarity exceeds the second preset value is calculated.
  • step 5 the plurality of business processes are used as the plurality of business processes when the similarity exceeds the first preset worthy first business process and the similarity exceeds the second preset worthy second business process, and is used to encapsulate into corresponding business components.
  • a preliminary disassembly of the business program is adopted by adopting a large granularity to ensure that in the process of subsequent program development, when a large granularity business process is similar, a small granularity business component does not need to be used, and the development workload is reduced; After the disassembly of the large granularity is completed, further disassembly is performed with the small granularity, so that the business components can be fully utilized.
  • the business component development device 10 may include or be divided into one or more program modules, and one or more program modules are stored. It is stored in a storage medium and executed by one or more processors to complete the application and implement the above-mentioned business component development method.
  • the program module referred to in the present application refers to a series of computer program instruction segments capable of performing specific functions, and is more suitable for describing the execution process of the business component development device 10 in a storage medium than the program itself. The following description will specifically introduce the functions of the program modules of this embodiment:
  • the first receiving module 11 is configured to receive a selection command for selecting a pre-packaged business component, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each of the business components is configured to implement a Business processes.
  • the obtaining module 12 is configured to select a service component according to the selection command.
  • the second receiving module 13 is configured to receive an operation command for modifying a component style structure and a business processing logic structure of the selected business component, where the operation command is input based on a specific business scenario requirement to be developed.
  • the modification module 14 is configured to modify a component style structure and a business processing logic structure of the selected business component based on an operation command to obtain a business component of a specific business scenario.
  • the business process is encapsulated in advance to form the corresponding business component.
  • the business component with the same business process can be selected for a specific business process without writing all the source code.
  • the business process of the scenario can be modified by inputting operation commands to the business components, which improves the development efficiency and reduces the redundancy of the code. At the same time, it maintains the consistency of the system style and logical rules, which facilitates future maintenance.
  • business changes Only need to change one other will change simultaneously, while reducing the stress of testing.
  • This embodiment also provides a computer device, such as a smart phone, tablet computer, notebook computer, desktop computer, rack server, blade server, tower server, or rack server (including a stand-alone server, or Server cluster consisting of multiple servers) and so on.
  • the computer device 20 of this embodiment includes, but is not limited to, a memory 21 and a processor 22 that can be communicatively connected to each other through a system bus, as shown in FIG. 3. It should be noted that FIG. 3 only shows the computer device 20 with components 21-22, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
  • the memory 21 includes a readable storage medium, specifically including a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc.
  • the memory 21 may be an internal storage unit of the computer device 20, such as a hard disk or a memory of the computer device 20.
  • the memory 21 may also be an external storage device of the computer device 20, for example, a plug-in hard disk, a smart memory card (SMC), and a secure digital (Secure Digital, SD) card, Flash card, etc.
  • the memory 21 may also include both the internal storage unit of the computer device 20 and its external storage device.
  • the memory 21 is generally used to store an operating system and various application software installed on the computer device 20, such as program codes of the business component development device 10 of the first embodiment.
  • the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments.
  • the processor 22 is generally used to control the overall operation of the computer device 20.
  • the processor 22 is configured to run program code or process data stored in the memory 21, for example, to run a service component development device 10 to implement the business component development method of the first embodiment.
  • This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), Read memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, servers, App application stores, etc., which have computer programs stored on them, When the program is executed by the processor, the corresponding function is realized.
  • the computer-readable storage medium of this embodiment is used to store a service component development device 10, and when executed by a processor, implements the business component development method of the first embodiment.
  • the business component development method of this embodiment is based on the first embodiment and includes the following steps:
  • Step S41 A selection command for selecting a pre-packaged business component is received, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each business component is used to implement a business process.
  • Step S42 Select a service component according to the selection command.
  • Step S43 Receive an operation command for modifying a component style structure and a business processing logic structure of the selected business component, where the operation command is input based on a specific business scenario requirement to be developed;
  • Step S44 Obtain a component style modification code carried by the operation command, and the component style modification code is used to modify the component style of the selected business component.
  • Step S45 Obtain a service logic modification code carried by the operation command, and the service logic modification code is used to modify the service processing logic of the selected service component.
  • step S46 a preset API interface of the selected business component is invoked, and a component style modification code and a business logic modification code are used to modify a business module corresponding to the selected business component to obtain a business component of a specific business scenario.
  • step S46 may include:
  • the component style modification code and business logic modification code are replaced with corresponding codes in the source code of the business module corresponding to the selected business component, to obtain a business component of a specific business scenario.
  • the modification code described in the embodiment of the present application may refer to a code edited by a developer to replace a part of code in a business module corresponding to a business component, so as to implement a function modification of the business module, and then repackage it into a business component for use.
  • the business component development device 30 of this embodiment is based on the first embodiment, and is used to implement the business component development method of the second embodiment.
  • the functions of the program modules include:
  • the first receiving module 31 is configured to receive a selection command for selecting a pre-packaged business component, wherein each business component is encapsulated with a corresponding component style structure and business processing logic structure, and each said business component is used to implement a Business processes.
  • the obtaining module 32 is configured to select a service component according to the selection command.
  • the second receiving module 33 is configured to receive an operation command for modifying a component style structure and a business processing logic structure of the selected business component, where the operation command is input based on a specific business scenario requirement to be developed.
  • the first obtaining submodule 34 is configured to obtain a component style modification code carried by the operation command, and the component style modification code is used to modify the component style of the selected business component according to a specific business scenario.
  • the second acquisition submodule 35 is configured to acquire a service logic modification code carried by the operation command, and the service logic modification code is used to modify the service processing logic of the selected service component according to a specific service scenario.
  • a modification sub-module 36 is configured to call a preset API interface of the selected service component, and use a component style modification code and a service logic modification code to modify a service module corresponding to the selected service component to obtain a service of a specific service scenario.

Landscapes

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

Abstract

The present application provides a business componentization development method and apparatus, a computer device, and a storage medium. The method comprises: receiving a selection command for selecting pre-packaged business components, wherein each business component is packaged with a corresponding component style structure and business processing logic structure; selecting a business component according to the selection command; receiving an operation command for modifying the component style structure and the business processing logic structure of the selected business component, wherein the operation command is input on the basis of the requirement of a specific business scene to be developed; and modifying, on the basis of the operation command, the component style structure and the business processing logic structure of the selected business component to obtain a business component of the specific business scene. The present application improves the development efficiency, reduces code redundancy, maintains the consistency of system styles and logic rules to facilitate subsequent maintenance, implements the synchronous modification of remaining businesses by only changing one business during business modification, and reduces test pressure.

Description

业务组件式开发方法、装置、计算机设备及存储介质Business component type development method, device, computer equipment and storage medium
本申请申明享有2018年7月2日递交的申请号为CN 201810705502.2、名称为“业务组件式开发方法、装置、计算机设备及存储介质”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application claims the priority of a Chinese patent application filed on July 2, 2018 with an application number of CN201810705502.2 and a name of "Business Component Development Method, Device, Computer Equipment, and Storage Medium", the entire content of the Chinese patent application This application is incorporated by reference.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种业务组件式开发方法、装置、计算机设备及存储介质。The present application relates to the field of computer technology, and in particular, to a business component development method, device, computer equipment, and storage medium.
背景技术Background technique
对于软件程序的开发,如果将业务***做成整块应用,其往往存在开发效率低以及维护成本高的问题,而且往往随着业务的增长或者变更,***的复杂度会呈现指数级的增长,经常出现的情况就是一个小小的改动或者一个小功能的增加可能会引起整体逻辑的修改,造成牵一发而动全身。For software program development, if the business system is made into a single application, it often has the problems of low development efficiency and high maintenance costs, and often with the growth or change of the business, the complexity of the system will increase exponentially. It is often the case that a small change or the addition of a small function may cause a change in the overall logic, causing the whole body to be affected.
针对此弊端,业界已经有了一些探索,人们希望一个大且复杂的场景能够被分解成几个小的部分,这些小的部分彼此之间互不干扰,可以单独开发,单独维护,而且他们之间可以随意的进行组合。他们彼此之间根据一套标准分别生产,最后组装在一起。当某个部件出现问题时,不需要将整台主机都进行维修,只需要将坏的部件拿下来,维修之后再将其组合上就可以了。这种化繁为简的思想在后端开发中的体现是微服务,而在前端开发中的体现就是组件化。In response to this drawback, the industry has made some explorations. People hope that a large and complex scene can be broken down into several small parts. These small parts do not interfere with each other. They can be developed and maintained separately. Can be combined at will. They are produced separately from each other according to a set of standards and finally assembled together. When there is a problem with a certain part, the entire host does not need to be repaired. It is only necessary to take down the bad part, and then combine it after the repair. This simplified idea is reflected in microservices in the back-end development, and componentized in the front-end development.
然而,发明人发现,在软件程序开发过程中,针对同一业务不同产品类型,其流程在很多场景下相似的,而目前的做法通常是通过拷贝代码将之前的业务逻辑复制到新的产品线,例如小到身份证,行驶证验证,大到整个流程节点如H5签字授权等特定业务场景。这种简单的拷贝方式虽然可以快速地 完成代码,但是后期的维护也是相当的困难,需要同步的去变更所有产品线的代码。改动点多,覆盖面广,造成的开发测试成本都较大。However, the inventors found that during the software program development process, for different product types of the same business, the process is similar in many scenarios, and the current practice is usually to copy the previous business logic to the new product line by copying the code. For example, it can be as small as an ID card, driving license verification, or as large as the entire process node, such as H5 signature authorization and other specific business scenarios. Although this simple copying method can complete the code quickly, the later maintenance is also quite difficult, and the code of all product lines needs to be changed simultaneously. There are many changes and wide coverage, resulting in large development and test costs.
发明内容Summary of the invention
本申请的目的是提供一种业务组件式开发方法、装置、计算机设备及存储介质,用于解决现有技术存在的问题。The purpose of this application is to provide a service component development method, device, computer equipment and storage medium, which are used to solve the problems existing in the prior art.
为实现上述目的,本申请提供一种业务组件式开发方法,包括以下步骤:接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程;根据所述选择命令选择业务组件;接收用于对选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,所述操作命令是基于待开发的特定业务场景需求输入的;基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述特定业务场景的业务组件。In order to achieve the above purpose, the present application provides a business component type development method, including the following steps: receiving a selection command for selecting a prepackaged business component, wherein each business component encapsulates a corresponding component style structure and business processing logic Structure, each said business component is used to implement a business process; selecting a business component according to said selection command; and receiving an operation command for modifying a component style structure and a business processing logic structure of the selected business component, wherein, The operation command is input based on the requirements of a specific business scenario to be developed; and based on the operation command, a component style structure and a business processing logic structure of the selected business component are modified to obtain a business component of the specific business scenario.
为实现上述目的,本申请还提供一种业务组件式开发装置,其包括:第一接收模块,用于接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程;获取模块,用于根据所述选择命令选择业务组件;第二接收模块,用于接收用于对所述选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,所述操作命令是基于待开发的特定业务场景需求输入的;修改模块,用于基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述特定业务场景的业务组件。In order to achieve the above purpose, the present application further provides a service component development device, which includes: a first receiving module for receiving a selection command for selecting a prepackaged service component, wherein each service component is encapsulated with a corresponding A component style structure and a business processing logic structure, each of the business components is used to implement a business process; an acquisition module is used to select a business component according to the selection command; a second receiving module is used to receive Operation commands for modifying the component style structure and business processing logic structure of the selected business component, wherein the operation command is input based on the requirements of the specific business scenario to be developed; and a modification module is used to modify the operation command based on the operation command. The component style structure and business processing logic structure of the selected business component are used to obtain the business component of the specific business scenario.
为实现上述目的,本申请还提供一种计算机设备,包括存储器、处理器 以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现业务组件式开发方法的以下步骤:接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程;根据所述选择命令选择业务组件;接收用于对选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,所述操作命令是基于待开发的特定业务场景需求输入的;基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述特定业务场景的业务组件。To achieve the above object, the present application further provides a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor implements service component development when the processor executes the computer program. The following steps of the method: receiving a selection command for selecting a pre-packaged business component, wherein each business component is encapsulated with a corresponding component style structure and business processing logic structure, and each said business component is used to implement a business process Selecting a business component according to the selection command; receiving an operation command for modifying a component style structure and a business processing logic structure of the selected business component, wherein the operation command is input based on a specific business scenario requirement to be developed Modifying a component style structure and a business processing logic structure of the selected business component based on the operation command to obtain a business component of the specific business scenario.
为实现上述目的,本申请还提供计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现业务组件式开发方法的以下步骤:接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程;根据所述选择命令选择业务组件;接收用于对选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,所述操作命令是基于待开发的特定业务场景需求输入的;基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述特定业务场景的业务组件。In order to achieve the above purpose, the present application also provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps of a business component development method: receiving a method for selecting a prepackaged business component Selection command, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each of the business components is used to implement a business process; a business component is selected according to the selection command; An operation command for modifying a component style structure and a business processing logic structure of a selected business component, wherein the operation command is input based on requirements of a specific business scenario to be developed; and modifying the selected business component based on the operation command Component style structure and business processing logic structure to obtain the business components of the specific business scenario.
根据本申请实施例,通过预先对业务流程进行封装,形成对应的业务组件,在进行代码开发时,对于特定的业务流程可以选择具有相同业务流程的业务组件,无需编写所有的源代码;对于特定场景的业务流程,可以通过对业务组件输入操作命令的方式进行修改,提高了开发的效率,减少了代码的冗余,同时保持***样式,逻辑规则的一致性,便于后期进行维护,业务变更时,只需改动一处其他会同步变更,同时减少了测试的压力。According to the embodiment of the present application, the business process is encapsulated in advance to form the corresponding business component. When the code is developed, the business component with the same business process can be selected for a specific business process without writing all the source code. The business process of the scenario can be modified by inputting operation commands to the business components, which improves the development efficiency and reduces the redundancy of the code. At the same time, it maintains the consistency of the system style and logical rules, which facilitates future maintenance. , Only need to change one other will change simultaneously, while reducing the stress of testing.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请业务组件式开发方法实施例一的流程图;FIG. 1 is a flowchart of Embodiment 1 of a business component development method of the present application;
图2为本申请业务组件式开发装置实施例一的程序模块示意图;2 is a schematic diagram of a program module of a first embodiment of a service component development device of the present application;
图3为本申请业务组件式开发装置实施例一的硬件结构示意图;3 is a schematic diagram of a hardware structure of a first embodiment of a service component development device of the present application;
图4为本申请业务组件式开发方法实施例二的流程图;4 is a flowchart of Embodiment 2 of a business component development method of the present application;
图5为本申请业务组件式开发装置实施例二的程序模块示意图。FIG. 5 is a schematic diagram of a program module of a second embodiment of a service component development device of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution, and advantages of the present application clearer, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
本申请提供的业务组件式开发方法、装置、计算机设备及存储介质,适用于计算机技术领域,通过预先对业务流程进行封装,形成对应的业务组件,在进行代码开发时,对于特定的业务流程可以选择具有相同业务流程的业务组件,无需编写所有的源代码;对于特定场景的业务流程,可以通过对业务组件输入操作命令的方式进行修改,提高了开发的效率,减少了代码的冗余,同时保持***样式,逻辑规则的一致性,便于后期进行维护,业务变更时,只需改动一处其他会同步变更,同时减少了测试的压力。The business component development method, device, computer equipment, and storage medium provided in this application are applicable to the field of computer technology. By encapsulating business processes in advance, corresponding business components are formed. When developing code, specific business processes can be implemented. Select business components with the same business process without writing all the source code; for business processes in specific scenarios, you can modify the way of inputting operation commands to business components, which improves the efficiency of development, reduces code redundancy, and Maintain the consistency of the system style and logical rules, which is convenient for later maintenance. When the business changes, only one place needs to be changed, and the changes will be synchronized, which reduces the stress of testing.
实施例一Example one
请参阅图1,本实施例的一种业务组件式开发方法中,包括以下步骤:Referring to FIG. 1, a business component development method in this embodiment includes the following steps:
步骤S1,接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个业务组件用于实现一种业务流程。In step S1, a selection command for selecting a pre-packaged business component is received, wherein each business component is encapsulated with a corresponding component style structure and business processing logic structure, and each business component is used to implement a business process.
在不同的软件产品中经常会有相同的流程,在不同的业务场景中经常会有相同的规则。将这些相同的规则或相同的流程,进行分类、整理,对其进行组件封装,可以得到多个业务组件。There are often the same processes in different software products, and often the same rules in different business scenarios. By sorting and organizing these same rules or the same processes, and encapsulating them, multiple business components can be obtained.
具体地,不同的软件产品可以为O2O贷款、车寿贷款、追加贷等,其中均包括相同的流程,即申请贷款的流程,则申请贷款的流程可以作为一个业务组件,属于不同产品线的流程中最小的颗粒度,对其进行组件封装。Specifically, different software products can be O2O loans, car life loans, supplementary loans, etc., which all include the same process, that is, the process of applying for a loan, and the process of applying for a loan can be used as a business component and belongs to the process of different product lines. The smallest particle size in the package.
在另一具体的实施例中,不同的业务场景都需要进行资质校验,资质校验需要客户的身份证信息、姓名、城市信息、手机号等,其中身份校验规则、城市查询规则等均为不同业务场景中相同的规则,属于不同业务场景中最小的颗粒度,对其进行组件封装。In another specific embodiment, qualification verification is required in different business scenarios. Qualification verification requires customer's ID information, name, city information, mobile phone number, etc., among which identity verification rules, city query rules, etc. Component encapsulation is the same rule in different business scenarios and belongs to the smallest granularity in different business scenarios.
自定义的业务组件包括组件样式结构和业务逻辑结构,并提供相应的API结构,用于供研发人员进行组件样式或者业务逻辑的适应性修改。Customized business components include component style structures and business logic structures, and provide corresponding API structures for R & D personnel to adaptively modify component styles or business logic.
封装成的组件可以以列表形式或者图形显示,在进行业务开发过程中,可以通过从显示的业务组件列表和组件图形中点击选择所需要的业务组件名称,以完成所述选择命令的输入,然后双击业务组件名称调出预留的API接口。The packaged components can be displayed in a list or graphic. During the business development process, you can click and select the required business component name from the displayed business component list and component graphics to complete the input of the selection command, and then Double-click the business component name to call up the reserved API interface.
步骤S2,根据选择命令选择业务组件。In step S2, a service component is selected according to a selection command.
具体地,选择命令可以确定选择的业务组件,确定了业务组件的名称或者对应的标识。然后选择对应的业务组件可以是获取业务组件对应的业务模块,也即是封装成业务组件的代码序列,导出业务组件的代码。由于业务组件是需要将特定功能逻辑的代码序列封装得到,本实施例中所限定的业务模块是代码序列,也即是说需要将具有功能逻辑的业务模块封装之后形成的业务组件。Specifically, the selection command may determine the selected service component, and determine the name or corresponding identifier of the service component. Then selecting the corresponding business component can be obtaining the business module corresponding to the business component, that is, the code sequence encapsulated into the business component, and deriving the code of the business component. Since the business component is obtained by encapsulating a code sequence of specific functional logic, the business module defined in this embodiment is a code sequence, that is, a business component formed by encapsulating a business module having functional logic.
接收到的选择命令中携带有所述选择的业务组件标识,可以通过获取选择命令中的业务组件标识;基于业务组件标识从存储器中查询所述选择的业务组件对应的业务模块;将查询到的业务组件的业务模块导出到开发平台上。The received selection command carries the selected business component identifier, which can be obtained by obtaining the business component identifier in the selection command; querying the business module corresponding to the selected business component from the memory based on the business component identifier; The business module of the business component is exported to the development platform.
具体地,业务组件对应的业务模块存储在存储器中,在确定出所述选择的业务组件之后,基于该业务组件的标识查询对应的业务模块所在的位置,导出到开发平台上,用于进行后续的开发工作。Specifically, the business module corresponding to the business component is stored in the memory. After the selected business component is determined, the location of the corresponding business module is queried based on the identifier of the business component, and the location is exported to the development platform for subsequent use. Development work.
步骤S3,接收用于对所述选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,操作命令是基于待开发的特定业务场景需求输入的。Step S3: Receive an operation command for modifying a component style structure and a business processing logic structure of the selected business component, where the operation command is input based on a specific business scenario requirement to be developed.
由于不同的业务场景虽然具有基本相同的业务流程,但是对于特定场景的业务流程仍存在细微差别,例如,做资质校验都需要客户的身份证信息,姓名,城市信息,手机号信息且都为必填,其中身份证校验规则,城市模糊查询,特定城市要求等都是一致的规则;对于O贷在某些场景下可以重新修改手机号,城市,客户在做过绑卡鉴权后身份证和姓名是由后端的提供数据并且不可编辑。在此情况下,对于封装的同一个业务组件,可以通过修改组件样式结构和业务处理逻辑结构来进行业务组件的修改,从而在付出最少得劳动的基础上完成相应业务流程的开发工作。具体地,操作命令可以包括:双击业务组件调出预先设置的API接口、具体的修改命令以及包含有可修改组件样式的代码和修改业务逻辑的代码。Although different business scenarios have basically the same business processes, there are still slight differences in the business processes of specific scenarios. For example, qualification verification requires customer ID information, name, city information, and mobile phone number information. Required, including ID verification rules, city fuzzy query, specific city requirements, etc. are all consistent rules; for O-credit, in some scenarios, the mobile phone number can be modified again. The identity of the city after the customer has done card authentication The ID and name are provided by the backend and are not editable. In this case, for the same business component encapsulated, the business component can be modified by modifying the component style structure and business processing logic structure, thereby completing the development of the corresponding business process on the basis of minimal effort. Specifically, the operation command may include: double-clicking a business component to call a preset API interface, a specific modification command, and a code containing a modifiable component style and a code for modifying business logic.
步骤S4,基于操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到特定业务场景的业务组件。具体地,可以通过调出的API结构,对业务组件的组件样式结构和业务处理逻辑结构进行修改,完成相应业务流程的定制工作。Step S4: Modify the component style structure and business processing logic structure of the selected business component based on the operation command to obtain a business component of a specific business scenario. Specifically, the component style structure and business processing logic structure of the business component can be modified through the called API structure to complete the customization of the corresponding business process.
根据本申请实施例,通过预先对业务流程进行封装,形成对应的业务组件,在进行代码开发时,对于特定的业务流程可以选择具有相同业务流程的业务组件,无需编写所有的源代码;对于特定场景的业务流程,可以通过对业务组件输入操作命令的方式进行修改,提高了开发的效率,减少了代码的冗余,同时保持***样式,逻辑规则的一致性,便于后期进行维护,业务变更时,只需改动一处其他会同步变更,同时减少了测试的压力。According to the embodiment of the present application, the business process is encapsulated in advance to form the corresponding business component. When the code is developed, the business component with the same business process can be selected for a specific business process without writing all the source code. The business process of the scenario can be modified by inputting operation commands to the business components, which improves the development efficiency and reduces the redundancy of the code. At the same time, it maintains the consistency of the system style and logical rules, which facilitates future maintenance. When business changes , Only need to change one other will change simultaneously, while reducing the stress of testing.
本申请实施例中,由于在业务组件使用之前,需要对已有的相关业务流程进行封装,可选地,在接收业务逻辑的选择命令之前,本申请实施例的方法还包括:获取已经开发完成的业务程序;按照预设粒度对所述软件程序进行分解,得到多个业务流程;对所述多个业务流程进行封装,得到一一对应的多个业务组件。所述预设粒度优选为所述软件程序能够拆解的业务流程的最小粒度。In the embodiment of the present application, prior to using the service component, an existing related business process needs to be encapsulated. Optionally, before receiving a selection command of the business logic, the method of the embodiment of the present application further includes: obtaining the completed development Decomposing the software program according to a preset granularity to obtain a plurality of business processes; and encapsulating the plurality of business processes to obtain a plurality of one-to-one corresponding business components. The preset granularity is preferably a minimum granularity of a business process that can be disassembled by the software program.
本申请实施例中,通过对已经开发完成的业务程序进行拆解,用以获得可以进行封装的业务流程,然后封装成对应的业务组件进行使用,充分利用已经开发完成的业务程序。In the embodiment of the present application, the business program that has been developed is disassembled to obtain a business process that can be encapsulated, and then packaged into corresponding business components for use, making full use of the business program that has been developed.
作为一种优选的实施方式,由于已经开发完成的业务程序中往往存在一些后续不再使用或者使用频率极小的业务流程,为此,本实施例提供进一步的优化方案,具体为:As a preferred implementation manner, since there are often some business processes that are no longer used or have a very low frequency of use in the business processes that have been developed, this embodiment provides a further optimization solution, specifically:
获取多个业务场景对应的业务程序,具体拆解得到多个业务流程的步骤替换为:Obtain the business programs corresponding to multiple business scenarios. The specific steps to disassemble multiple business processes are replaced with:
步骤1,按照第一子粒度对多个业务场景对应的业务程序进行拆解,得到多个第一业务流程。Step 1: Disassemble the business programs corresponding to multiple business scenarios according to the first sub-granularity to obtain multiple first business processes.
步骤2,将从属于不同业务场景的第一业务流程进行比对,计算出相似度超过第一预设值得第一业务流程。相似度可以通过计算代码的覆盖率得,下同。In step 2, the first business processes belonging to different business scenarios are compared, and the first business process whose similarity exceeds the first preset value is calculated. The similarity can be obtained by calculating the coverage of the code, the same below.
步骤3,按照第二子粒度对所述多个第一子业务流程进行拆解,得到多个第二业务流程,其中,所述第二子粒度小于所述第一子粒度。In step 3, the plurality of first sub-business processes are disassembled according to a second sub-granularity to obtain a plurality of second business processes, wherein the second sub-granularity is smaller than the first sub-granularity.
步骤4,将从属于不同第一子业务流程的第二业务流程进行比对,计算出相似度超过第二预设值得第二业务流程。In step 4, the second business processes belonging to different first sub-business processes are compared, and the second business process whose similarity exceeds the second preset value is calculated.
步骤5,将相似度超过第一预设值得第一业务流程和相似度超过第二预设值得第二业务流程作为所述多个业务流程,用以封装成对应的业务组件。In step 5, the plurality of business processes are used as the plurality of business processes when the similarity exceeds the first preset worthy first business process and the similarity exceeds the second preset worthy second business process, and is used to encapsulate into corresponding business components.
本实施例中,通过采用大粒度对业务程序进行初步拆解,以保证在后续 程序开发的过程中,大粒度的业务流程相似时,无需采用小粒度的业务组件,较少开发工作量;在大粒度拆解完成之后,再采用小粒度做进一步拆解,这样可以保证业务组件的充分利用。In this embodiment, a preliminary disassembly of the business program is adopted by adopting a large granularity to ensure that in the process of subsequent program development, when a large granularity business process is similar, a small granularity business component does not need to be used, and the development workload is reduced; After the disassembly of the large granularity is completed, further disassembly is performed with the small granularity, so that the business components can be fully utilized.
请继续参阅图2,示出了一种业务组件式开发装置,在本实施例中,业务组件式开发装置10可以包括或被分割成一个或多个程序模块,一个或者多个程序模块被存储于存储介质中,并由一个或多个处理器所执行,以完成本申请,并可实现上述业务组件式开发方法。本申请所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序本身更适合于描述业务组件式开发装置10在存储介质中的执行过程。以下描述将具体介绍本实施例各程序模块的功能:Please continue to refer to FIG. 2, which illustrates a business component development device. In this embodiment, the business component development device 10 may include or be divided into one or more program modules, and one or more program modules are stored. It is stored in a storage medium and executed by one or more processors to complete the application and implement the above-mentioned business component development method. The program module referred to in the present application refers to a series of computer program instruction segments capable of performing specific functions, and is more suitable for describing the execution process of the business component development device 10 in a storage medium than the program itself. The following description will specifically introduce the functions of the program modules of this embodiment:
第一接收模块11,用于接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程。The first receiving module 11 is configured to receive a selection command for selecting a pre-packaged business component, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each of the business components is configured to implement a Business processes.
获取模块12,用于根据所述选择命令选择业务组件。The obtaining module 12 is configured to select a service component according to the selection command.
第二接收模块13,用于接收用于对所述选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,操作命令是基于待开发的特定业务场景需求输入的。The second receiving module 13 is configured to receive an operation command for modifying a component style structure and a business processing logic structure of the selected business component, where the operation command is input based on a specific business scenario requirement to be developed.
修改模块14,用于基于操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到特定业务场景的业务组件。The modification module 14 is configured to modify a component style structure and a business processing logic structure of the selected business component based on an operation command to obtain a business component of a specific business scenario.
具体模块功能可以参见上述方法实施例的步骤,这里不再赘述。For specific module functions, reference may be made to the steps of the foregoing method embodiments, and details are not described herein again.
根据本申请实施例,通过预先对业务流程进行封装,形成对应的业务组件,在进行代码开发时,对于特定的业务流程可以选择具有相同业务流程的业务组件,无需编写所有的源代码;对于特定场景的业务流程,可以通过对业务组件输入操作命令的方式进行修改,提高了开发的效率,减少了代码的冗余,同时保持***样式,逻辑规则的一致性,便于后期进行维护,业务变 更时,只需改动一处其他会同步变更,同时减少了测试的压力。According to the embodiment of the present application, the business process is encapsulated in advance to form the corresponding business component. When the code is developed, the business component with the same business process can be selected for a specific business process without writing all the source code. The business process of the scenario can be modified by inputting operation commands to the business components, which improves the development efficiency and reduces the redundancy of the code. At the same time, it maintains the consistency of the system style and logical rules, which facilitates future maintenance. When business changes , Only need to change one other will change simultaneously, while reducing the stress of testing.
本实施例还提供一种计算机设备,如可以执行程序的智能手机、平板电脑、笔记本电脑、台式计算机、机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个服务器所组成的服务器集群)等。本实施例的计算机设备20至少包括但不限于:可通过***总线相互通信连接的存储器21、处理器22,如图3所示。需要指出的是,图3仅示出了具有组件21-22的计算机设备20,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。This embodiment also provides a computer device, such as a smart phone, tablet computer, notebook computer, desktop computer, rack server, blade server, tower server, or rack server (including a stand-alone server, or Server cluster consisting of multiple servers) and so on. The computer device 20 of this embodiment includes, but is not limited to, a memory 21 and a processor 22 that can be communicatively connected to each other through a system bus, as shown in FIG. 3. It should be noted that FIG. 3 only shows the computer device 20 with components 21-22, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
本实施例中,存储器21包括可读存储介质,具体包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器21可以是计算机设备20的内部存储单元,例如该计算机设备20的硬盘或内存。在另一些实施例中,存储器21也可以是计算机设备20的外部存储设备,例如该计算机设备20上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,存储器21还可以既包括计算机设备20的内部存储单元也包括其外部存储设备。本实施例中,存储器21通常用于存储安装于计算机设备20的操作***和各类应用软件,例如实施例一的业务组件式开发装置10的程序代码等。此外,存储器21还可以用于暂时地存储已经输出或者将要输出的各类数据。In this embodiment, the memory 21 includes a readable storage medium, specifically including a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 21 may be an internal storage unit of the computer device 20, such as a hard disk or a memory of the computer device 20. In other embodiments, the memory 21 may also be an external storage device of the computer device 20, for example, a plug-in hard disk, a smart memory card (SMC), and a secure digital (Secure Digital, SD) card, Flash card, etc. Of course, the memory 21 may also include both the internal storage unit of the computer device 20 and its external storage device. In this embodiment, the memory 21 is generally used to store an operating system and various application software installed on the computer device 20, such as program codes of the business component development device 10 of the first embodiment. In addition, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
处理器22在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器22通常用于控制计算机设备20的总体操作。本实施例中,处理器22用于运行存储器21中存储的程序代码或者处理数据,例如运行业务组件式开发装置10, 以实现实施例一的业务组件式开发方法。The processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 22 is generally used to control the overall operation of the computer device 20. In this embodiment, the processor 22 is configured to run program code or process data stored in the memory 21, for example, to run a service component development device 10 to implement the business component development method of the first embodiment.
本实施例还提供一种计算机可读存储介质,如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘、服务器、App应用商城等等,其上存储有计算机程序,程序被处理器执行时实现相应功能。本实施例的计算机可读存储介质用于存储业务组件式开发装置10,被处理器执行时实现实施例一的业务组件式开发方法。This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), Read memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, servers, App application stores, etc., which have computer programs stored on them, When the program is executed by the processor, the corresponding function is realized. The computer-readable storage medium of this embodiment is used to store a service component development device 10, and when executed by a processor, implements the business component development method of the first embodiment.
实施例二Example two
请参阅图4,本实施例的业务组件式开发方法以实施例一为基础,包括以下步骤:Referring to FIG. 4, the business component development method of this embodiment is based on the first embodiment and includes the following steps:
步骤S41,接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个业务组件用于实现一种业务流程。Step S41: A selection command for selecting a pre-packaged business component is received, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each business component is used to implement a business process.
步骤S42,根据选择命令选择业务组件。Step S42: Select a service component according to the selection command.
步骤S43,接收用于对所述选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,操作命令是基于待开发的特定业务场景需求输入的;Step S43: Receive an operation command for modifying a component style structure and a business processing logic structure of the selected business component, where the operation command is input based on a specific business scenario requirement to be developed;
步骤S44,获取操作命令所携带的组件样式修改码,组件样式修改码用于修改所述选择的业务组件的组件样式。Step S44: Obtain a component style modification code carried by the operation command, and the component style modification code is used to modify the component style of the selected business component.
步骤S45,获取操作命令所携带的业务逻辑修改码,业务逻辑修改码用于修改所述选择的业务组件的业务处理逻辑。Step S45: Obtain a service logic modification code carried by the operation command, and the service logic modification code is used to modify the service processing logic of the selected service component.
步骤S46,调用所述选择的业务组件预设的API接口,利用组件样式修改码和业务逻辑修改码对所述选择的业务组件对应的业务模块进行修改,得 到特定业务场景的业务组件。In step S46, a preset API interface of the selected business component is invoked, and a component style modification code and a business logic modification code are used to modify a business module corresponding to the selected business component to obtain a business component of a specific business scenario.
进一步可选地,上述步骤S46可以包括:Further optionally, the above step S46 may include:
调用API接口以获取所述选择的业务组件对应的业务模块的源代码;Calling an API interface to obtain source code of a business module corresponding to the selected business component;
将组件样式修改码和业务逻辑修改码替换掉所述选择的业务组件对应的业务模块的源代码中相应的代码,得到特定业务场景的业务组件。The component style modification code and business logic modification code are replaced with corresponding codes in the source code of the business module corresponding to the selected business component, to obtain a business component of a specific business scenario.
本申请实施例的中所述的修改码可以是指开发人员编辑的用于替换业务组件对应的业务模块中部分代码的代码,从而实现业务模块的功能修改,然后重新封装成业务组件进行使用。The modification code described in the embodiment of the present application may refer to a code edited by a developer to replace a part of code in a business module corresponding to a business component, so as to implement a function modification of the business module, and then repackage it into a business component for use.
请继续参阅图5,本实施例的业务组件式开发装置30以实施例一为基础,用以实现实施例二的业务组件式开发方法,其包括的各程序模块的功能:Please continue to refer to FIG. 5. The business component development device 30 of this embodiment is based on the first embodiment, and is used to implement the business component development method of the second embodiment. The functions of the program modules include:
第一接收模块31,用于接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程。The first receiving module 31 is configured to receive a selection command for selecting a pre-packaged business component, wherein each business component is encapsulated with a corresponding component style structure and business processing logic structure, and each said business component is used to implement a Business processes.
获取模块32,用于根据所述选择命令选择业务组件。The obtaining module 32 is configured to select a service component according to the selection command.
第二接收模块33,用于接收用于对所述选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,操作命令是基于待开发的特定业务场景需求输入的。The second receiving module 33 is configured to receive an operation command for modifying a component style structure and a business processing logic structure of the selected business component, where the operation command is input based on a specific business scenario requirement to be developed.
第一获取子模块34,用于获取操作命令所携带的组件样式修改码,组件样式修改码用于按照特定业务场景修改所述选择的业务组件的组件样式。The first obtaining submodule 34 is configured to obtain a component style modification code carried by the operation command, and the component style modification code is used to modify the component style of the selected business component according to a specific business scenario.
第二获取子模块35,用于获取操作命令所携带的业务逻辑修改码,业务逻辑修改码用于按照特定业务场景修改所述选择的业务组件的业务处理逻辑。The second acquisition submodule 35 is configured to acquire a service logic modification code carried by the operation command, and the service logic modification code is used to modify the service processing logic of the selected service component according to a specific service scenario.
修改子模块36,用于调用所述选择的业务组件预设的API接口,利用组件样式修改码和业务逻辑修改码对所述选择的业务组件对应的业务模块进行修改,得到特定业务场景的业务组件。A modification sub-module 36 is configured to call a preset API interface of the selected service component, and use a component style modification code and a service logic modification code to modify a service module corresponding to the selected service component to obtain a service of a specific service scenario. Components.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better Implementation.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of the application, or directly or indirectly used in other related technical fields Are included in the scope of patent protection of this application.

Claims (20)

  1. 一种业务组件式开发方法,其特征在于,包括以下步骤:A business component development method is characterized in that it includes the following steps:
    接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程;Receiving a selection command for selecting a pre-packaged business component, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each said business component is used to implement a business process;
    根据所述选择命令选择业务组件;Selecting a business component according to the selection command;
    接收用于对选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,所述操作命令是基于待开发的特定业务场景需求输入的;Receiving an operation command for modifying a component style structure and a business processing logic structure of a selected business component, wherein the operation command is input based on a specific business scenario requirement to be developed;
    基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述特定业务场景的业务组件。Modifying a component style structure and a business processing logic structure of the selected business component based on the operation command to obtain a business component of the specific business scenario.
  2. 根据权利要求1所述的业务组件式开发方法,其特征在于,基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述待开发的特定业务场景的业务组件包括:The business component type development method according to claim 1, wherein the component style structure and business processing logic structure of the selected business component are modified based on the operation command to obtain the business of the specific business scenario to be developed The components include:
    获取所述操作命令所携带的组件样式修改码,所述组件样式修改码用于修改所述选择的业务组件的组件样式;Obtaining a component style modification code carried by the operation command, where the component style modification code is used to modify a component style of the selected business component;
    获取所述操作命令所携带的业务逻辑修改码,所述业务逻辑修改码用于修改所述选择的业务组件的业务处理逻辑;Obtaining a business logic modification code carried by the operation command, where the business logic modification code is used to modify the business processing logic of the selected service component;
    调用所述选择的业务组件预设的API接口,利用所述组件样式修改码和所述业务逻辑修改码对所述选择的业务组件对应的业务模块进行修改。The preset API interface of the selected business component is called, and the business module corresponding to the selected business component is modified by using the component style modification code and the business logic modification code.
  3. 根据权利要求2所述的业务组件式开发方法,其特征在于,调用所述选择的业务组件预设的API接口,利用所述组件样式修改码和所述业务逻辑修改码对所述选择的业务组件对应的业务模块进行修改包括:The service component development method according to claim 2, characterized in that the preset service API of the selected service component is called, and the selected service component modification code and the business logic modification code are used to the selected service. The business module corresponding to the component is modified to include:
    调用所述API接口以获取所述选择的业务组件对应的业务模块的源代码;Calling the API interface to obtain the source code of a business module corresponding to the selected business component;
    将所述组件样式修改码和所述业务逻辑修改码替换掉所述选择的业务组件对应的业务模块的源代码中相应的代码,得到所述特定业务场景的业务组件。Replace the component style modification code and the business logic modification code with the corresponding codes in the source code of the business module corresponding to the selected business component to obtain the business component of the specific business scenario.
  4. 根据权利要求1所述的业务组件式开发方法,其特征在于,根据所述选择命令选择业务组件包括:The method for developing a business component according to claim 1, wherein selecting a business component according to the selection command comprises:
    获取所述选择命令中的业务组件标识;Obtaining a service component identifier in the selection command;
    基于所述业务组件标识从存储器中查询所述选择的业务组件对应的业务模块;Querying a service module corresponding to the selected service component from a memory based on the service component identifier;
    将查询到的所述业务组件对应的业务模块导出到开发平台上。The business module corresponding to the queried business component is exported to a development platform.
  5. 根据权利要求1所述的业务组件式开发方法,其特征在于,在接收用于选择预先封装的业务组件的选择命令之前,还包括:The method for developing a business component according to claim 1, before receiving a selection command for selecting a pre-packaged business component, further comprising:
    获取已经开发完成的业务程序;Obtain business processes that have been developed;
    按照预设粒度对所述软件程序进行分解,得到多个业务流程;Decomposing the software program according to a preset granularity to obtain multiple business processes;
    对所述多个业务流程进行封装,得到一一对应的多个业务组件。The plurality of business processes are encapsulated to obtain a plurality of one-to-one corresponding business components.
  6. 根据权利要求5所述的业务组件式开发方法,其特征在于,所述预设粒度为所述软件程序能够拆解的业务流程的最小粒度。The business component development method according to claim 5, wherein the preset granularity is a minimum granularity of a business process that can be disassembled by the software program.
  7. 根据权利要求5所述的业务组件式开发方法,其特征在于,所述业务程序为多个业务场景对应的业务程序,按照预设粒度对所述软件程序进行分解,得到多个业务流程包括:The business component development method according to claim 5, wherein the business program is a business program corresponding to multiple business scenarios, and the software program is decomposed according to a preset granularity to obtain multiple business processes including:
    按照第一子粒度对多个业务场景对应的业务程序进行拆解,得到多个第一业务流程;Disassemble the business programs corresponding to multiple business scenarios according to the first sub-granularity to obtain multiple first business processes;
    将从属于不同业务场景的第一业务流程进行比对,计算出相似度超过第一预设值得第一业务流程;Compare the first business processes belonging to different business scenarios, and calculate that the similarity exceeds the first preset is worthy of the first business process;
    按照第二子粒度对所述多个第一子业务流程进行拆解,得到多个第二业务流程,其中,所述第二子粒度小于所述第一子粒度;Disassembling the plurality of first sub-business processes according to a second sub-granularity to obtain a plurality of second business processes, wherein the second sub-granularity is smaller than the first sub-granularity;
    将从属于不同第一子业务流程的第二业务流程进行比对,计算出相似度 超过第二预设值得第二业务流程;Compare the second business processes belonging to different first sub-business processes, and calculate the similarity exceeding the second preset is worthy of the second business process;
    将相似度超过第一预设值得第一业务流程和相似度超过第二预设值得第二业务流程作为所述多个业务流程,用以封装成对应的业务组件。The plurality of business processes are used as the plurality of business processes, where the similarity exceeds the first preset worthy first business process and the similarity exceeds the second preset worthy business process, and is used to package into corresponding business components.
  8. 一种业务组件式开发装置,其特征在于,其包括:A business component type development device is characterized in that it includes:
    第一接收模块,用于接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程;A first receiving module is configured to receive a selection command for selecting a pre-packaged business component, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each said business component is used to implement a kind of Business Process;
    获取模块,用于根据所述选择命令选择业务组件;An acquisition module, configured to select a business component according to the selection command;
    第二接收模块,用于接收用于对选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,所述操作命令是基于待开发的特定业务场景需求输入的;A second receiving module, configured to receive an operation command for modifying a component style structure and a business processing logic structure of a selected business component, wherein the operation command is input based on a specific business scenario requirement to be developed;
    修改模块,用于基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述特定业务场景的业务组件。The modification module is configured to modify a component style structure and a business processing logic structure of the selected business component based on the operation command to obtain a business component of the specific business scenario.
  9. 一种计算机设备,其特征在于,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现业务组件式开发方法的以下步骤:A computer device is characterized by including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps of a business component development method are implemented:
    接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程;Receiving a selection command for selecting a pre-packaged business component, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each said business component is used to implement a business process;
    根据所述选择命令选择业务组件;Selecting a business component according to the selection command;
    接收用于对选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,所述操作命令是基于待开发的特定业务场景需求输入的;Receiving an operation command for modifying a component style structure and a business processing logic structure of a selected business component, wherein the operation command is input based on a specific business scenario requirement to be developed;
    基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述特定业务场景的业务组件。Modifying a component style structure and a business processing logic structure of the selected business component based on the operation command to obtain a business component of the specific business scenario.
  10. 根据权利要求9所述的计算机设备,其特征在于,基于所述操作命 令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述待开发的特定业务场景的业务组件包括:获取所述操作命令所携带的组件样式修改码,所述组件样式修改码用于修改所述选择的业务组件的组件样式;获取所述操作命令所携带的业务逻辑修改码,所述业务逻辑修改码用于修改所述选择的业务组件的业务处理逻辑;调用所述选择的业务组件预设的API接口,利用所述组件样式修改码和所述业务逻辑修改码对所述选择的业务组件对应的业务模块进行修改。The computer device according to claim 9, wherein modifying a component style structure and a business processing logic structure of the selected business component based on the operation command to obtain the business component of the specific business scenario to be developed comprises: Obtaining a component style modification code carried by the operation command, the component style modification code being used to modify the component style of the selected business component; obtaining a business logic modification code carried by the operation command, and the business logic modification The code is used to modify the business processing logic of the selected business component; call the preset API interface of the selected business component, and use the component style modification code and the business logic modification code to correspond to the selected business component Business module.
  11. 根据权利要求10所述的计算机设备,其特征在于,调用所述选择的业务组件预设的API接口,利用所述组件样式修改码和所述业务逻辑修改码对所述选择的业务组件对应的业务模块进行修改包括:调用所述API接口以获取所述选择的业务组件对应的业务模块的源代码;将所述组件样式修改码和所述业务逻辑修改码替换掉所述选择的业务组件对应的业务模块的源代码中相应的代码,得到所述特定业务场景的业务组件。The computer device according to claim 10, wherein an API interface preset by the selected business component is called, and the component style modification code and the business logic modification code are used to correspond to the selected business component. The modification of the business module includes: calling the API interface to obtain the source code of the business module corresponding to the selected business component; replacing the component style modification code and the business logic modification code with the selected business component corresponding code Corresponding code in the source code of the business module to obtain the business component of the specific business scenario.
  12. 根据权利要求9所述的计算机设备,其特征在于,根据所述选择命令选择业务组件包括:获取所述选择命令中的业务组件标识;基于所述业务组件标识从存储器中查询所述选择的业务组件对应的业务模块;将查询到的所述业务组件对应的业务模块导出到开发平台上。The computer device according to claim 9, wherein selecting a service component according to the selection command comprises: obtaining a service component identifier in the selection command; and querying the selected service from a memory based on the service component identifier. The business module corresponding to the component; the business module corresponding to the queried business component is exported to the development platform.
  13. 根据权利要求9所述的计算机设备,其特征在于,在接收用于选择预先封装的业务组件的选择命令之前,还包括:获取已经开发完成的业务程序;按照预设粒度对所述软件程序进行分解,得到多个业务流程;对所述多个业务流程进行封装,得到一一对应的多个业务组件。The computer device according to claim 9, before receiving a selection command for selecting a pre-packaged business component, further comprising: acquiring a business program that has been developed; and performing the software program according to a preset granularity Decompose to obtain multiple business processes; package the multiple business processes to obtain multiple business components that correspond one-to-one.
  14. 根据权利要求13所述的计算机设备,其特征在于,所述业务程序为多个业务场景对应的业务程序,按照预设粒度对所述软件程序进行分解,得到多个业务流程包括:按照第一子粒度对多个业务场景对应的业务程序进行拆解,得到多个第一业务流程;将从属于不同业务场景的第一业务流程进行比对,计算出相似度超过第一预设值得第一业务流程;按照第二子粒度对所 述多个第一子业务流程进行拆解,得到多个第二业务流程,其中,所述第二子粒度小于所述第一子粒度;将从属于不同第一子业务流程的第二业务流程进行比对,计算出相似度超过第二预设值得第二业务流程;将相似度超过第一预设值得第一业务流程和相似度超过第二预设值得第二业务流程作为所述多个业务流程,用以封装成对应的业务组件。The computer device according to claim 13, wherein the business program is a business program corresponding to multiple business scenarios, and the software program is decomposed according to a preset granularity to obtain multiple business processes, including: The sub-granularity disassembles the business programs corresponding to multiple business scenarios to obtain multiple first business processes; compares the first business processes belonging to different business scenarios, and calculates that the similarity exceeds the first preset and is worth the first Business process; disassembling the plurality of first sub-business processes according to a second sub-granularity to obtain a plurality of second business processes, wherein the second sub-granularity is smaller than the first sub-granularity; will belong to different The second business process of the first sub-business process is compared, and the similarity exceeding the second preset is worth the second business process; the similarity exceeding the first preset is worth the first business process and the similarity exceeds the second preset It is worthwhile that the second business process is used as the multiple business processes for packaging into corresponding business components.
  15. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于:所述计算机程序被处理器执行时实现业务组件式开发方法的以下步骤:A computer-readable storage medium on which a computer program is stored is characterized in that the computer program is executed by a processor to implement the following steps of a business component development method:
    接收用于选择预先封装的业务组件的选择命令,其中,每个业务组件封装有对应的组件样式结构和业务处理逻辑结构,每个所述业务组件用于实现一种业务流程;Receiving a selection command for selecting a pre-packaged business component, wherein each business component encapsulates a corresponding component style structure and business processing logic structure, and each said business component is used to implement a business process;
    根据所述选择命令选择业务组件;Selecting a business component according to the selection command;
    接收用于对选择的业务组件的组件样式结构和业务处理逻辑结构进行修改的操作命令,其中,所述操作命令是基于待开发的特定业务场景需求输入的;Receiving an operation command for modifying a component style structure and a business processing logic structure of a selected business component, wherein the operation command is input based on a specific business scenario requirement to be developed;
    基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述特定业务场景的业务组件。Modifying a component style structure and a business processing logic structure of the selected business component based on the operation command to obtain a business component of the specific business scenario.
  16. 根据权利要求15所述的计算机可读存储介质,其特征在于,基于所述操作命令修改所述选择的业务组件的组件样式结构和业务处理逻辑结构,得到所述待开发的特定业务场景的业务组件包括:获取所述操作命令所携带的组件样式修改码,所述组件样式修改码用于修改所述选择的业务组件的组件样式;获取所述操作命令所携带的业务逻辑修改码,所述业务逻辑修改码用于修改所述选择的业务组件的业务处理逻辑;调用所述选择的业务组件预设的API接口,利用所述组件样式修改码和所述业务逻辑修改码对所述选择的业务组件对应的业务模块进行修改。The computer-readable storage medium according to claim 15, wherein a component style structure and a business processing logic structure of the selected business component are modified based on the operation command to obtain a service of the specific business scenario to be developed The components include: obtaining a component style modification code carried by the operation command, the component style modification code being used to modify the component style of the selected business component; obtaining a business logic modification code carried by the operation command, the The business logic modification code is used to modify the business processing logic of the selected business component; calling an API interface preset by the selected business component, and using the component style modification code and the business logic modification code to select the selected business component. The business module corresponding to the business component is modified.
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,调用所述选择的业务组件预设的API接口,利用所述组件样式修改码和所述业务逻 辑修改码对所述选择的业务组件对应的业务模块进行修改包括:调用所述API接口以获取所述选择的业务组件对应的业务模块的源代码;将所述组件样式修改码和所述业务逻辑修改码替换掉所述选择的业务组件对应的业务模块的源代码中相应的代码,得到所述特定业务场景的业务组件。The computer-readable storage medium according to claim 16, wherein an API interface preset by the selected service component is invoked, and the selected service component modification code and the service logic modification code are used for the selected service. The modification of the business module corresponding to the component includes: calling the API interface to obtain the source code of the business module corresponding to the selected business component; replacing the component style modification code and the business logic modification code with the selected one The corresponding code in the source code of the business module corresponding to the business component to obtain the business component of the specific business scenario.
  18. 根据权利要求15所述的计算机可读存储介质,其特征在于,根据所述选择命令选择业务组件包括:获取所述选择命令中的业务组件标识;基于所述业务组件标识从存储器中查询所述选择的业务组件对应的业务模块;将查询到的所述业务组件对应的业务模块导出到开发平台上。The computer-readable storage medium according to claim 15, wherein selecting a service component according to the selection command comprises: obtaining a service component identifier in the selection command; and querying the service component from the memory based on the service component identifier. The business module corresponding to the selected business component; the business module corresponding to the queried business component is exported to the development platform.
  19. 根据权利要求15所述的计算机可读存储介质,其特征在于,在接收用于选择预先封装的业务组件的选择命令之前,还包括:获取已经开发完成的业务程序;按照预设粒度对所述软件程序进行分解,得到多个业务流程;对所述多个业务流程进行封装,得到一一对应的多个业务组件。The computer-readable storage medium according to claim 15, before receiving a selection command for selecting a pre-packaged business component, further comprising: acquiring a business program that has been developed; The software program is decomposed to obtain a plurality of business processes; the plurality of business processes are encapsulated to obtain a plurality of one-to-one corresponding business components.
  20. 根据权利要求19所述的计算机可读存储介质,其特征在于,所述业务程序为多个业务场景对应的业务程序,按照预设粒度对所述软件程序进行分解,得到多个业务流程包括:按照第一子粒度对多个业务场景对应的业务程序进行拆解,得到多个第一业务流程;将从属于不同业务场景的第一业务流程进行比对,计算出相似度超过第一预设值得第一业务流程;按照第二子粒度对所述多个第一子业务流程进行拆解,得到多个第二业务流程,其中,所述第二子粒度小于所述第一子粒度;将从属于不同第一子业务流程的第二业务流程进行比对,计算出相似度超过第二预设值得第二业务流程;将相似度超过第一预设值得第一业务流程和相似度超过第二预设值得第二业务流程作为所述多个业务流程,用以封装成对应的业务组件。The computer-readable storage medium according to claim 19, wherein the business program is a business program corresponding to multiple business scenarios, and the software program is decomposed according to a preset granularity to obtain multiple business processes including: Disassemble the business programs corresponding to multiple business scenarios according to the first sub-granularity to obtain multiple first business processes; compare the first business processes that belong to different business scenarios, and calculate that the similarity exceeds the first preset It is worthy of the first business process; disassembling the plurality of first sub-business processes according to a second sub-granularity to obtain a plurality of second business processes, wherein the second sub-granularity is smaller than the first sub-granularity; The second business processes belonging to different first sub-business processes are compared, and the similarity exceeding the second preset is worth the second business process; the similarity exceeding the first preset is worth the first business process and the similarity exceeds the first The second preset is worthy of the second business process as the plurality of business processes for packaging into corresponding business components.
PCT/CN2018/108777 2018-07-02 2018-09-29 Business componentization development method and apparatus, computer device, and storage medium WO2020006910A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810705502.2 2018-07-02
CN201810705502.2A CN108958714B (en) 2018-07-02 2018-07-02 Business component type development method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2020006910A1 true WO2020006910A1 (en) 2020-01-09

Family

ID=64484754

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108777 WO2020006910A1 (en) 2018-07-02 2018-09-29 Business componentization development method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN108958714B (en)
WO (1) WO2020006910A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467774A (en) * 2021-07-30 2021-10-01 北京鼎普科技股份有限公司 WEB terminal business software development framework and method

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213078A (en) * 2019-04-26 2019-09-06 深圳市珍爱云信息技术有限公司 Business platform building method, device, computer equipment and storage medium
CN110308904B (en) * 2019-05-30 2024-02-02 杭州微时信息技术有限公司 Aggregation method and device for multi-type front-end frames and computer equipment
CN112416983B (en) * 2019-08-21 2022-12-06 中移(苏州)软件技术有限公司 Data processing method and device and computer readable storage medium
CN110737426B (en) * 2019-09-06 2022-05-06 未鲲(上海)科技服务有限公司 Program block creating method, program block creating device, computer equipment and storage medium
CN110780868A (en) * 2019-10-10 2020-02-11 北大方正集团有限公司 Website development method, device, equipment and storage medium based on componentized template
CN110851114A (en) * 2019-10-24 2020-02-28 山东中创软件工程股份有限公司 Business system development method and device, electronic equipment and storage medium
CN111190578B (en) * 2019-12-20 2023-03-21 天阳宏业科技股份有限公司 Customizable flow operation development system
CN111459493A (en) * 2020-03-26 2020-07-28 杭州指令集智能科技有限公司 Programming method, device and equipment based on component arrangement
CN113590087A (en) * 2020-04-30 2021-11-02 深圳中砼物联网科技有限公司 Method for quickly developing software, computer equipment and storage medium
CN111625220A (en) * 2020-05-26 2020-09-04 北京思特奇信息技术股份有限公司 Automatic assembly method, system, device and storage medium of page assembly
CN112416318B (en) * 2020-11-03 2021-10-08 前海飞算云智软件科技(深圳)有限公司 Micro-service development method and device, storage medium and electronic equipment
CN113205304B (en) * 2021-04-23 2023-06-23 平安科技(深圳)有限公司 Business process configuration method, device, equipment and storage medium
CN113110963A (en) * 2021-04-28 2021-07-13 北京京东拓先科技有限公司 Service processing method, service processing device, electronic equipment and readable storage medium
CN113256180B (en) * 2021-07-07 2022-05-27 杭州实在智能科技有限公司 Customer service work order information intelligent dynamic loading method and system based on machine learning
CN113703753B (en) * 2021-07-19 2023-06-09 青岛海尔科技有限公司 Method and device for product development and product development system
CN113792093A (en) * 2021-08-25 2021-12-14 通号城市轨道交通技术有限公司 Signal system interface service creating and executing method, device and electronic equipment
CN113742615A (en) * 2021-09-13 2021-12-03 国泰君安证券股份有限公司 System, method and device for realizing dynamic data component application, processor and computer readable storage medium thereof
CN115857935A (en) * 2023-02-15 2023-03-28 北京微吼时代科技有限公司 Front-end development method and device independent of framework

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090125553A1 (en) * 2007-11-14 2009-05-14 Microsoft Corporation Asynchronous processing and function shipping in ssis
CN104899015A (en) * 2014-03-07 2015-09-09 上海高达星软件***有限公司 Service component management system and method thereof
CN107563714A (en) * 2017-07-17 2018-01-09 北京慧点科技有限公司 The method and device of business process map generation
CN107678740A (en) * 2017-10-26 2018-02-09 福建星瑞格软件有限公司 A kind of method for packing and computer equipment of UI Service Component

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407783A (en) * 2014-10-30 2015-03-11 北京思特奇信息技术股份有限公司 Interface information modularization display method and system
CN106775617A (en) * 2016-11-09 2017-05-31 深圳市中润四方信息技术有限公司 The service logic collocation method and configuration system of a kind of application software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090125553A1 (en) * 2007-11-14 2009-05-14 Microsoft Corporation Asynchronous processing and function shipping in ssis
CN104899015A (en) * 2014-03-07 2015-09-09 上海高达星软件***有限公司 Service component management system and method thereof
CN107563714A (en) * 2017-07-17 2018-01-09 北京慧点科技有限公司 The method and device of business process map generation
CN107678740A (en) * 2017-10-26 2018-02-09 福建星瑞格软件有限公司 A kind of method for packing and computer equipment of UI Service Component

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467774A (en) * 2021-07-30 2021-10-01 北京鼎普科技股份有限公司 WEB terminal business software development framework and method
CN113467774B (en) * 2021-07-30 2024-01-30 北京鼎普科技股份有限公司 WEB terminal business software development framework and method

Also Published As

Publication number Publication date
CN108958714A (en) 2018-12-07
CN108958714B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
WO2020006910A1 (en) Business componentization development method and apparatus, computer device, and storage medium
US10481884B2 (en) Systems and methods for dynamically replacing code objects for code pushdown
CN107016029B (en) Method, device and system for processing service data
CN111061475B (en) Software code generating method, device, computer equipment and storage medium
CN110716714B (en) Component creation method, device, computer system and computer readable storage medium
CN113127050B (en) Application resource packaging process monitoring method, device, equipment and medium
CN113805882A (en) Method and device for developing application program, electronic equipment and storage medium
CN112015404A (en) Ultrasonic image diagnosis system, construction method thereof, ultrasonic device and storage medium
CN115952758A (en) Chip verification method and device, electronic equipment and storage medium
CN114416056A (en) Page generation method, system, computer equipment and readable storage medium
CN112052000A (en) Component multiplexing and rendering method and device
JP2023553220A (en) Process mining for multi-instance processes
CN110908644B (en) Configuration method and device of state node, computer equipment and storage medium
CN112486807A (en) Pressure testing method and device, electronic equipment and readable storage medium
CN114816772B (en) Debugging method, debugging system and computing device for application running based on compatible layer
CN116226078A (en) Data migration method, device, equipment and storage medium
US10649743B2 (en) Application developing method and system
CN109582411A (en) Graphical user interface creating method, device, computer equipment and storage medium
CN113032256B (en) Automated testing method, apparatus, computer system, and readable storage medium
CN115248680A (en) Software construction method, system, device, medium, and program product
CN114356379A (en) Backup-based service upgrading method, device, equipment and storage medium
CN114911541A (en) Configuration information processing method and device, electronic equipment and storage medium
CN110083469B (en) Method and system for organizing and running unified kernel by heterogeneous hardware
CN112083952A (en) Spring architecture-based exception handling method and system
CN111880803A (en) Software construction method and device applied to multiple platforms

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18925183

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18925183

Country of ref document: EP

Kind code of ref document: A1