Development method and device of business system

By abstracting the business system development logic into configuration files and building a network topology, the problems of high skill requirements, unstable performance and poor logical reusability in distributed business system development are solved, and development efficiency and resource optimization are achieved.

CN119225694APending Publication Date: 2024-12-31BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310798279.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In the development of distributed business systems, the existing technology requires developers to have high skills and lack fixed patterns in the development process, resulting in unstable performance, long development time and poor logical reusability, resulting in large differences in application performance of different developers. Every application needs to be redeveloped.

Method used

By abstracting the development logic of the business system into a configuration file, building a network topology based on the component's association relationship, generating business system code, realizing a standardized and patterned development process, reducing requirements for developers, and improving development efficiency and performance stability sex.

Benefits of technology

It has achieved the reduction of developer requirements, improved the stability and development efficiency of business system performance, and can be shared among multiple business systems, reducing development resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225694A_ABST
    Figure CN119225694A_ABST
Patent Text Reader

Abstract

The invention discloses a business system development method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining a service system identifier in response to a service system development instruction, and obtaining a development configuration file according to the service system identifier; acquiring included components from the development configuration file, wherein the components comprise at least one data processing component; determining the association relationship between the components according to the component identifiers associated with the components defined in the components, and determining the connection relationship between the data processing components according to the connection mode between the operators; constructing a network topology corresponding to the service system according to the association relationship between the components and the connection relationship between the data processing components; and generating a service system code according to the network topology to perform service system development. According to the embodiment, the requirement for developers is reduced, the performance of the service system is more stable, the service system can be shared among multiple service systems, the development efficiency is improved, and the consumption of development resources is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for developing a business system. Background Art

[0002] At present, when developing distributed business systems, the system development framework flink is often used for development. There are currently two main ways to develop flink, one is based on the underlying data stream interface DataStream API development, and the other is based on the user-oriented interface layer FlinkSql development. Regardless of which method is used to develop the business system, it needs to be implemented through pure coding. First, configure the flink operating environment, then connect to various data sources involved in the business system, and then write various business logics. At the same time, the streams are associated, merged, and processed, and finally written to the storage medium through the data output instruction sink instruction.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] Currently, when developing business systems, since programming is required, the requirements for developers are relatively high, and the performance of applications developed by different developers varies greatly; there is no fixed pattern in the development process, and the development time is long; the logic reusability is poor, and each application needs to be redeveloped. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a method and device for developing a business system, which can abstract the processing logic of business system development into a development configuration file based on a configuration file, and build a network topology according to the association relationship between each component, thereby realizing the standardization of the underlying logic of the complex development framework and the patternization of the development process, thereby reducing the requirements for developers, making the business system performance more stable, and can be shared among multiple business systems, thereby improving development efficiency and reducing the consumption of development resources.

[0006] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for developing a business system is provided, comprising:

[0007] In response to a business system development instruction, obtaining a business system identifier, and obtaining a development configuration file according to the business system identifier;

[0008] Acquire the included components from the development configuration file, wherein the components include at least one data processing component, wherein each component defines a component identifier associated therewith, and the properties of the data processing component define a connection mode between operators;

[0009] Determine the association relationship between components according to the component identifiers associated with the components defined in the components, and determine the connection relationship between data processing components according to the connection mode between the operators;

[0010] Constructing a network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components;

[0011] Generate business system code according to the network topology to develop the business system.

[0012] Optionally, the data processing component includes at least one operator; the connection relationship between the data processing components is determined according to the connection mode between the operators, including: obtaining the previous data processing component of the current data processing component according to the association relationship between the components; determining the connection relationship between the current data processing component and the previous data processing component according to the connection relationship between the first operator of the current data processing component and the last operator of the previous data processing component, so as to obtain the connection relationship between the data processing components.

[0013] Optionally, the components also include a data source component and a process end component; and a network topology corresponding to the business system is constructed according to the association relationship between the components and the connection relationship between the data processing components, including: taking the data source component as the starting component and the process end component as the ending component, and constructing the network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components.

[0014] Optionally, before obtaining the included components from the development configuration file, the method further includes: configuring the operating environment of the development framework of the business system according to the operating environment parameter configuration information in the development configuration file.

[0015] Optionally, the method further includes: saving the intermediate result data generated by the data processing component into a database to share the intermediate result data.

[0016] According to another aspect of an embodiment of the present invention, there is provided a device for developing a business system, including:

[0017] A configuration acquisition module, used to obtain a business system identifier in response to a business system development instruction, and obtain a development configuration file according to the business system identifier;

[0018] A component acquisition module, used to acquire the included components from the development configuration file, wherein the components include at least one data processing component, wherein each component defines a component identifier associated therewith, and the properties of the data processing component define a connection mode between operators;

[0019] A component relationship determination module, used to determine the association relationship between components according to the component identifiers associated with the components defined in the components, and to determine the connection relationship between the data processing components according to the connection mode between the operators;

[0020] A network topology building module, used to build a network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components;

[0021] The system code generation module is used to generate business system code according to the network topology to develop the business system.

[0022] Optionally, the data processing component includes at least one operator; the component relationship determination module is also used to: obtain the previous data processing component of the current data processing component based on the association relationship between the components; determine the connection relationship between the current data processing component and the previous data processing component based on the connection relationship between the first operator of the current data processing component and the last operator of the previous data processing component, so as to obtain the connection relationship between the data processing components.

[0023] Optionally, the components also include a data source component and a process end component; the network topology construction module is also used to: use the data source component as the starting component and the process end component as the ending component, and build the network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components.

[0024] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for developing a business system provided by an embodiment of the present invention.

[0025] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method for developing a business system provided by an embodiment of the present invention is implemented.

[0026] An embodiment of the above invention has the following advantages or beneficial effects: by responding to a business system development instruction, obtaining a business system identifier, and obtaining a development configuration file based on the business system identifier; obtaining the included components from the development configuration file, the components including no less than one data processing component, wherein each component defines a component identifier associated therewith, and the properties of the data processing component define the connection mode between operators; determining the association relationship between components according to the component identifier associated therewith defined in the component, and determining the connection relationship between data processing components according to the connection mode between operators; constructing a network topology corresponding to the business system according to the association relationship between components and the connection relationship between data processing components; generating business system code based on the network topology to develop a technical solution for business system development, which can abstract the processing logic of business system development into a development configuration file based on the configuration file, and construct a network topology based on the association relationship between each component, thereby realizing the standardization of the underlying logic of the complex development framework and the modeling of the development process, thereby reducing the requirements for developers, making the business system performance more stable, and can be shared among multiple business systems, improving development efficiency, and reducing the consumption of development resources.

[0027] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific implementation examples. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0029] Figure 1 is a schematic diagram of the main steps of a method for developing a business system according to an embodiment of the present invention;

[0030] Figure 2 It is a schematic diagram of a process of constructing a network topology according to an embodiment of the present invention;

[0031] Figure 3 is a schematic diagram of main modules of a development device of a business system according to an embodiment of the present invention;

[0032] Figure 4 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0033] Figure 5 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0035] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution disclosed in the present invention are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.

[0036] In the introduction of the embodiments of the present invention, the professional terms and their definitions are as follows:

[0037] Flink: Apache Flink is an open source stream processing framework developed by the Apache Software Foundation. Its core is a distributed streaming data flow engine written in Java and Scala, i.e., the development framework in this invention.

[0038] redis: Remote Dictionary Service, an open source log-based, key-value database written in ANSI C, supporting the network, memory-based and persistent, and providing APIs in multiple languages;

[0039] Checkpoint: Checkpoint is the core function of Flink to implement fault tolerance. It can periodically generate snapshots based on the status of each Operator / task in the data stream according to the configuration, so as to store these status data regularly and persistently.

[0040] xml: refers to extensible markup language;

[0041] springboot: a Spring framework. The Spring framework is an open source J2EE application framework and a lightweight container for managing the life cycle of beans.

[0042] Bean: describes the Java software component model.

[0043] In order to solve the technical problems existing in the prior art, the present invention provides a method for developing a business system, which can achieve the following technical effects based on the configuration-based development of Flink:

[0044] 1. Configure data ETL (abbreviation of Extract-Transform-Load, which is used to describe the process of extracting, transforming, and loading data from the source to the destination) based on XML. The development process is abstracted into several parts: data source source, data processing process, data processing unit processUnit, process end unit builder actionBuilder, process end unit sink. Developers only need to understand the meaning of the corresponding XML configuration, and do not need to understand the complex principles of flink. They can focus on implementing business logic. The association between streams is uniformly replaced by databases such as redis, which reduces the state occupation and guarantees performance.

[0045] 2. Based on the XML configuration method, components can be reused in different applications, which can significantly reduce the development time. It is easy for newcomers to get started. With a simple understanding, they can develop high-performance Flink programs;

[0046] 3. Flink version upgrades are transparent to developers, and are uniformly upgraded and converted by the backend. During the update iteration, you only need to repackage and launch.

[0047] A business system development method of the present invention mainly constructs the association relationship of the processing logic of the data source, data processing unit, process end unit, etc. required to build the flink topology by configuring the bean component in XML, and obtains the specific bean component through the bean container management of springboot in the startup function, draws the entire flink network topology, and finally submits the network topology to complete the business system development.

[0048] Figure 1 FIG. 1 is a schematic diagram of the main steps of the method for developing a business system according to an embodiment of the present invention. Figure 1 As shown, the method for developing a business system according to an embodiment of the present invention mainly includes the following steps S101 to S105.

[0049] Step S101: In response to the business system development instruction, obtain the business system identifier, and obtain the development configuration file according to the business system identifier. In an embodiment of the present invention, in response to the business system development instruction, the execution of a pre-set startup function can be triggered, so that by executing the startup function, specific components are obtained through the bean container management of springboot, and the entire flink network topology is drawn. The startup function is used to draw the network topology in flink.

[0050] For each business system to be developed, a business system identifier is assigned to it, and a pre-configured development configuration file is associated with it, so as to facilitate business system development according to the development configuration file. In one embodiment of the present invention, the main processing components are shown in Table 1 below.

[0051] Table 1

[0052]

[0053]

[0054] In an embodiment of the present invention, the underlying code logic can be built, and the corresponding bean class can be output through the different bean component configurations in Table 1 above to generate the final business system development code.

[0055] In an embodiment of the present invention, the development configuration file shown is implemented based on the extensible markup language XML tag, and the default schemas such as XMLSchema-instance, beans, spring-beans-3.0 are used for XML construction. Among them, XmlSchema is a substitute for DTD (Document Type Definition, a set of grammatical rules about tags) based on XML. XML Schema can describe the structure of an XML document. XMLSchema-instance: XML schema instance name; Beans: XML schema instance name; Spring-beans-3.0: XML schema instance name. XML is a document format that configures complex development logic in XML to improve readability. When the Java application is started, it will automatically read and parse the specified XML, and then associate each XML through the startup function to form a complete flink topology construction, replacing the formal java code development. Developers can build the entire execution process like building blocks, improving development efficiency.

[0056] In one embodiment of the present invention, the configured XML tags are shown in Table 2 below, and the tag attribute information is shown in Table 3 below.

[0057] Table 2

[0058] Tag Name illustrate beans Represents a bean property The subtag of bean can embed some other logic ref Referencing beans

[0059] Table 3

[0060] Tag attribute name illustrate id Unique identifier of the bean class Bean implementation class p:componentNum Bean parallelism

[0061] The main component beans involved in the present invention include data source components, data processing components and process end components. The specific configuration file content is not described in detail here. Based on the characteristics of XML, basically an XML file represents a data source, and all corresponding data source processing can be configured through XML tags.

[0062] Step S102: Obtain the included components from the development configuration file, wherein the components include no less than one data processing component, wherein a component identifier associated with the component is defined in each component, and the connection mode between operators is defined in the attributes of the data processing component. In an embodiment of the present invention, in order to describe the association relationship between components, a component identifier associated with the component may be defined in each component, so that the next component associated with the current component may be obtained based on the current component. Generally, a business system may involve multiple data sources, and accordingly multiple development configuration files may be obtained, and then the included components may be obtained from each development configuration file to be used to construct a network topology corresponding to the business system.

[0063] According to one embodiment of the present invention, before obtaining the included components from the development configuration file, it may also include: configuring the operating environment of the development framework of the business system according to the operating environment parameter configuration information in the development configuration file. In an embodiment of the present invention, the development configuration file can be obtained through the WebApplicationUtils tool class embedded in the application framework, and flinkxmlbean can be obtained from the development configuration file to configure the operating environment StreamExecutionEnvironment of the business system development framework flink. The development framework flink requires a series of parameters to start, such as checkpoint timeout, checkpoint interval, number of checkpoints running at the same time, etc. After reading these parameter configurations from the XML development configuration file, the flink operating environment is initialized to complete the configuration of the operating environment.

[0064] Step S103: Determine the association relationship between components according to the component identifiers associated with the components defined in the components, and determine the connection relationship between data processing components according to the connection mode between the operators. In an embodiment of the present invention, the components also include a data source component and a process end component. Starting from the data source component, the associated components are obtained in turn according to the component identifiers associated with the components defined in the components, so as to obtain the association relationship between the components.

[0065] According to one embodiment of the present invention, the data processing component includes no less than one operator. The operator describes how to process data, and each data processing component may include one or more operators, which work together to complete data processing. Determining the connection relationship between the data processing components according to the connection mode between the operators may specifically include: obtaining the previous data processing component of the current data processing component according to the association relationship between the components; determining the connection relationship between the current data processing component and the previous data processing component according to the connection relationship between the first operator of the current data processing component and the last operator of the previous data processing component, so as to obtain the connection relationship between the data processing components. In the case where a data processing component includes multiple operators, the connection relationship between the current data processing component and the previous data processing component may be determined according to the connection relationship between the first operator of the current data processing component and the last operator of the previous data processing component.

[0066] In an embodiment of the present invention, the business system development framework is flink, and the connection modes between flink operators include forward, rebalance, keyby, etc. For example, there are two development configuration files xml, named A and B, each of which is configured with some properties, such as parallelism, connection mode, etc. After being parsed by the application framework springboot, two java instances are formed, and the flink topology is drawn according to the properties configured in the java instance. Taking the parallelism setParallelism as an example, if the connection mode of rebalance is set, .rebalance is added at the end, indicating that the data will be scattered and rebalanced when it is sent downward; taking keyby as an example, it means that hashing will be performed when sending data, and the same hash value will be sent to the same operator downstream, which requires adding .keyby (KeySelector construction class (incoming hash field)) after the instance.

[0067] Step S104: Construct the network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components. In an embodiment of the present invention, the components obtained include a data source component, a data processing component and a process end component, wherein the number of each component is not less than one. When constructing the network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components, specifically, it can include: taking the data source component as the starting component and the process end component as the ending component, and constructing the network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components. According to the association relationship between the components, the sequence between the components and the flow direction of the data between these components can be obtained; according to the connection relationship between the data processing components, the connection mode between the data processing components can be obtained.

[0068] In one embodiment of the present invention, each acquired data source component is traversed, and one or more data processing components associated with the data source component can be acquired according to the component identifier associated with each data source component defined therein. Since, in general, data acquired from the data source needs to be processed by ETL or other data processing, the component associated with the data source component should be a data processing component. After acquiring the data processing component, the data processing component or the process end component associated with the data processing component is acquired according to the component identifier associated with the data processing component defined therein. At the same time, the connection relationship between the data processing component and its previous data processing component is determined according to the connection mode between the operators defined in the attributes of the data processing component. If the data processing component does not have the previous data processing component, the connection relationship between the data processing components cannot be acquired. If the data processing component has the previous data processing component, the connection relationship between the data processing component and the previous data processing component is acquired according to the connection mode between the first operator of the data processing component and the last operator of the previous data processing component. If the component associated with the data processing component is a process end component, then the data source component is taken as the starting component and the process end component is taken as the ending component. According to the association relationship between components and the connection relationship between data processing components, the network topology corresponding to the business system can be constructed. If the component associated with the data processing component is a data processing component, then continue to obtain the associated components of the associated data processing component until the process end component is obtained, and then the network topology corresponding to the business system can be constructed.

[0069] Step S105: Generate business system code according to the network topology to develop the business system. According to the network topology generated in the above steps, the corresponding business system code can be generated to complete the business system development.

[0070] According to one embodiment of the present invention, the method for developing a business system further includes: saving the intermediate result data generated by the data processing component into a database to share the intermediate result data. In the development of flink, state processing is an important feature of flink. The state here refers to the intermediate result data generated during the data processing process.

[0071] In the original data stream, the association between streams may be applied to the state to process the intermediate result data, but the use of the state should be kept cautious enough. Improper use will cause many problems in the entire Flink cluster, which is a great test of the developer's ability. In order to circumvent this problem and not affect the performance of Flink, the technical solution of the embodiment of the present invention introduces the redis database as a global state replacement, and the intermediate data is stored in redis. Those skilled in the art should know that other databases are also possible, such as MySQL.

[0072] A processUnit component is a data processing unit. When performing specific business logic processing, if the result data processed by other processUnits is needed, it can be obtained from redis. If it does not exist in redis, the parameters related to the logic itself will be saved in redis. When other processUnits process the same business logic, they also obtain the data stored by the previous processUnit from redis. In this way, with the help of redis, as long as two processUnits process the same business logic, no matter which one comes first or later, it can be guaranteed that the business logic is processed at least once.

[0073] In the embodiment of the present invention, the association of tables is completed based on redis, and redis is a pure memory storage, which can also ensure that the performance is on par with the state of dataStream, while avoiding a series of problems caused by the abuse of state (such as back pressure, tilt, etc.). The global characteristics of redis are used to replace the state of flink, which reduces the difficulty of flink in maintaining the state and improves the effectiveness of checkpoint.

[0074] At this point, a complete set of XML-based configurations has transformed complex Flink network topology development into configurable, easy-to-use development, and has a very positive effect on standardized development and improving system performance. Moreover, standardized configuration can also reduce many problems caused by project handover. In addition, XML configurations can also be visualized, so that business system development can be completed by dragging and dropping on the interface, simplifying the development process.

[0075] Figure 2FIG. 1 is a schematic diagram of the process of constructing a network topology according to an embodiment of the present invention. Figure 2 As shown, in one embodiment of the present invention, the process of building a network topology is as follows: first, obtain a development configuration file; then, configure the operating environment of the development framework according to the operating environment parameter configuration information in the development configuration file; thereafter, obtain all data source components, data processing components, and process end components from the development configuration file; loop through the data source components to obtain associated data processing components and process end components, and establish associations between components, and at the same time, obtain the connection relationship between data processing components according to the connection method between operators defined in the properties of the data processing components; and build a network topology based on the associations between components and the connection relationships between data processing components.

[0076] Figure 3 Schematic diagram of the main modules of the development device of the business system according to the embodiment of the present invention. Figure 3 As shown, the business system development device 300 of the embodiment of the present invention mainly includes: a configuration acquisition module 301, a component acquisition module 302, a component relationship determination module 303, a network topology construction module 304 and a system code generation module 305.

[0077] Configuration acquisition module 301, used to obtain a business system identifier in response to a business system development instruction, and obtain a development configuration file according to the business system identifier;

[0078] A component acquisition module 302 is used to acquire the included components from the development configuration file, wherein the components include at least one data processing component, wherein each component defines a component identifier associated therewith, and the properties of the data processing component define a connection mode between operators;

[0079] A component relationship determination module 303, used to determine the association relationship between components according to the component identifiers associated with the components defined in the components, and to determine the connection relationship between the data processing components according to the connection mode between the operators;

[0080] A network topology building module 304 is used to build a network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components;

[0081] The system code generation module 305 is used to generate business system codes according to the network topology to develop business systems.

[0082] According to one embodiment of the present invention, the data processing component includes no less than one operator; the component relationship determination module 303 can also be used to: obtain the previous data processing component of the current data processing component based on the association relationship between the components; determine the connection relationship between the current data processing component and the previous data processing component based on the connection relationship between the first operator of the current data processing component and the last operator of the previous data processing component, so as to obtain the connection relationship between the data processing components.

[0083] According to another embodiment of the present invention, the components also include a data source component and a process end component; the network topology construction module 304 can also be used to: use the data source component as the starting component and the process end component as the ending component, and build the network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components.

[0084] According to another embodiment of the present invention, the development device 300 of the business system may further include an operating environment configuration module (not shown in the figure), which is used to: configure the operating environment of the development framework of the business system according to the operating environment parameter configuration information in the development configuration file before obtaining the included components from the development configuration file.

[0085] According to another embodiment of the present invention, the business system development device 300 may further include an intermediate data storage module (not shown in the figure) for storing the intermediate result data generated by the data processing component in a database for sharing the intermediate result data.

[0086] According to the technical solution of the embodiment of the present invention, by responding to the business system development instruction, the business system identifier is obtained, and the development configuration file is obtained according to the business system identifier; the components included in the development configuration file are obtained, and the components include no less than one data processing component, wherein each component defines the component identifier associated with it, and the connection mode between operators is defined in the attributes of the data processing component; the association relationship between components is determined according to the component identifier associated with it defined in the component, and the connection relationship between the data processing components is determined according to the connection mode between the operators; the network topology corresponding to the business system is constructed according to the association relationship between the components and the connection relationship between the data processing components; the business system code is generated according to the network topology to carry out the technical solution of business system development, which can abstract the processing logic of business system development into a development configuration file based on the configuration file, and construct the network topology according to the association relationship between each component, thereby realizing the standardization of the underlying logic of the complex development framework and the patternization of the development process, thereby reducing the requirements for developers, making the business system performance more stable, and can be shared among multiple business systems, improving development efficiency, and reducing the consumption of development resources.

[0087] Figure 4 An exemplary system architecture 400 is shown to which the method for developing a business system or the apparatus for developing a business system according to the embodiment of the present invention can be applied.

[0088] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, 403, network 404 and server 405. Network 404 is used to provide a medium for communication links between terminal devices 401, 402, 403 and server 405. Network 404 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0089] Users can use terminal devices 401, 402, 403 to interact with server 405 through network 404 to receive or send messages, etc. Various client applications can be installed on terminal devices 401, 402, 403, such as software development applications, network topology drawing applications, etc. (only examples).

[0090] The terminal devices 401 , 402 , and 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0091] Server 405 may be a server that provides various services, such as a background management server that provides support for websites browsed by users using terminal devices 401, 402, and 403 (for example only). The background management server may obtain a business system identifier for the received business system development request and other data, and obtain a development configuration file based on the business system identifier; obtain the included components from the development configuration file, wherein the components include no less than one data processing component, wherein each component defines a component identifier associated therewith, and the properties of the data processing component define the connection mode between operators; determine the association relationship between components based on the component identifier associated therewith defined in the component, and determine the connection relationship between the data processing components based on the connection mode between the operators; construct a network topology corresponding to the business system based on the association relationship between the components and the connection relationship between the data processing components; generate a business system code based on the network topology to perform business system development and other processing, and feed back the processing results (such as business system code - for example only) to the terminal device.

[0092] It should be noted that the method for developing a business system provided in the embodiment of the present invention is generally executed by the server 405 , and accordingly, the device for developing a business system is generally disposed in the server 405 .

[0093] It should be understood that Figure 4 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0094] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 of a terminal device or a server suitable for implementing an embodiment of the present invention. Figure 5 The terminal device or server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0095] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0096] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.

[0097] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.

[0098] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0099] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0100] The units or modules involved in the embodiments of the present invention may be implemented in software or hardware. The units or modules described may also be provided in a processor. For example, they may be described as follows: a processor includes a configuration acquisition module, a component acquisition module, a component relationship determination module, a network topology construction module, and a system code generation module. The names of these units or modules do not, in certain cases, constitute limitations on the units or modules themselves. For example, the system code generation module may also be described as "a module for generating business system code according to the network topology for business system development".

[0101] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: in response to a business system development instruction, obtaining a business system identifier, and obtaining a development configuration file according to the business system identifier; obtaining the included components from the development configuration file, the components including no less than one data processing component, wherein each component defines a component identifier associated with it, and the properties of the data processing component define the connection mode between operators; determining the association relationship between components according to the component identifier associated with it defined in the component, and determining the connection relationship between the data processing components according to the connection mode between the operators; constructing the network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components; generating business system code according to the network topology to develop the business system.

[0102] According to the technical solution of the embodiment of the present invention, by responding to the business system development instruction, the business system identifier is obtained, and the development configuration file is obtained according to the business system identifier; the components included in the development configuration file are obtained, and the components include no less than one data processing component, wherein each component defines the component identifier associated with it, and the connection mode between operators is defined in the attributes of the data processing component; the association relationship between components is determined according to the component identifier associated with it defined in the component, and the connection relationship between the data processing components is determined according to the connection mode between the operators; the network topology corresponding to the business system is constructed according to the association relationship between the components and the connection relationship between the data processing components; the business system code is generated according to the network topology to carry out the technical solution of business system development, which can abstract the processing logic of business system development into a development configuration file based on the configuration file, and construct the network topology according to the association relationship between each component, thereby realizing the standardization of the underlying logic of the complex development framework and the patternization of the development process, thereby reducing the requirements for developers, making the business system performance more stable, and can be shared among multiple business systems, improving development efficiency, and reducing the consumption of development resources.

[0103] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for developing a business system, characterized in that: include: In response to a business system development instruction, obtaining a business system identifier, and obtaining a development configuration file according to the business system identifier; Acquire the included components from the development configuration file, wherein the components include at least one data processing component, wherein each component defines a component identifier associated therewith, and the properties of the data processing component define a connection mode between operators; Determine the association relationship between components according to the component identifiers associated with the components defined in the components, and determine the connection relationship between data processing components according to the connection mode between the operators; Constructing a network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components; Generate business system code according to the network topology to develop the business system.

2. The method according to claim 1, characterized in that The data processing component includes at least one operator; Determining the connection relationship between the data processing components according to the connection mode between the operators includes: According to the association relationship between the components, obtaining the previous data processing component of the current data processing component; According to the connection relationship between the first operator of the current data processing component and the last operator of the previous data processing component, the connection relationship between the current data processing component and the previous data processing component is determined to obtain the connection relationship between the data processing components.

3. The method according to claim 1, characterized in that The components also include a data source component and a process end component; Constructing a network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components, including: The data source component is used as the starting component, the process ending component is used as the ending component, and the network topology corresponding to the business system is constructed according to the association relationship between the components and the connection relationship between the data processing components.

4. The method according to claim 1, characterized in that: Before getting the included components from said development profile, also include: The operating environment of the development framework of the business system is configured according to the operating environment parameter configuration information in the development configuration file.

5. The method according to claim 1, characterized in that The method further comprises: The intermediate result data generated by the data processing component is saved in a database to share the intermediate result data.

6. A device for developing a business system, characterized in that: include: A configuration acquisition module, used to obtain a business system identifier in response to a business system development instruction, and obtain a development configuration file according to the business system identifier; A component acquisition module, used to acquire the included components from the development configuration file, wherein the components include at least one data processing component, wherein each component defines a component identifier associated therewith, and the properties of the data processing component define a connection mode between operators; A component relationship determination module, used to determine the association relationship between components according to the component identifiers associated with the components defined in the components, and to determine the connection relationship between the data processing components according to the connection mode between the operators; A network topology building module, used to build a network topology corresponding to the business system according to the association relationship between the components and the connection relationship between the data processing components; The system code generation module is used to generate business system code according to the network topology to develop the business system.

7. The device according to claim 6, characterized in that The data processing component includes at least one operator; the component relationship determination module is also used for: According to the association relationship between the components, obtaining the previous data processing component of the current data processing component; According to the connection relationship between the first operator of the current data processing component and the last operator of the previous data processing component, the connection relationship between the current data processing component and the previous data processing component is determined to obtain the connection relationship between the data processing components.

8. The device according to claim 6, characterized in that The components also include a data source component and a process end component; the network topology building module is also used for: The data source component is used as the starting component, the process ending component is used as the ending component, and the network topology corresponding to the business system is constructed according to the association relationship between the components and the connection relationship between the data processing components.

9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.