CN113094050A - Front-end interface generation method, device, system and medium based on business architecture - Google Patents

Front-end interface generation method, device, system and medium based on business architecture Download PDF

Info

Publication number
CN113094050A
CN113094050A CN202110508113.2A CN202110508113A CN113094050A CN 113094050 A CN113094050 A CN 113094050A CN 202110508113 A CN202110508113 A CN 202110508113A CN 113094050 A CN113094050 A CN 113094050A
Authority
CN
China
Prior art keywords
business
task
end component
architecture
end interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110508113.2A
Other languages
Chinese (zh)
Inventor
阮姗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110508113.2A priority Critical patent/CN113094050A/en
Publication of CN113094050A publication Critical patent/CN113094050A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

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

Abstract

The invention provides a front-end interface generation method based on a business architecture, which relates to the field of financial science and technology and comprises the following steps: the method comprises the steps of constructing a business architecture flow model, wherein the business architecture flow model comprises at least one business activity under the existing business architecture, each business activity comprises a plurality of tasks for realizing the business activity, selecting the business activity of a front-end interface to be generated from the business architecture flow model, selecting at least one task from the tasks for realizing the business activity, generating a new business flow of the business activity, and acquiring a corresponding front-end component from a preset front-end component library based on an attribute value and a technical stack of the front-end component associated with at least one task to generate the front-end interface. The method can realize loose coupling of the front end and the background, realize automatic generation of a front end interface, and improve the research and development efficiency. The disclosure also provides a device, a computer system and a computer readable storage medium corresponding to the method.

Description

Front-end interface generation method, device, system and medium based on business architecture
Technical Field
The present disclosure relates to the technical field of financial technology, and more particularly, to a method, an apparatus, a system, and a medium for generating a front-end interface based on a business architecture.
Background
With the advent of the internet plus era, large-scale enterprises are in the strategic transformation wave, and the epidemic situation further exposes the great advantages of online business compared with the traditional offline mode. The current front-end interface design and background business processing logic of the online business of the large-scale enterprise are basically in a tightly coupled state, the improvement of the foreground can relate to a large amount of background services and program improvement, and the research and development flexibility of design is greatly improved.
Disclosure of Invention
In view of this, the present disclosure provides a front-end interface generation method, apparatus, system and medium based on a service architecture.
One aspect of the present disclosure provides a front-end interface generating method based on a service architecture, including: constructing a business architecture flow model, wherein the business architecture flow model comprises at least one business activity under the existing business architecture, and each business activity comprises a plurality of tasks for realizing the business activity; selecting front-end interface business activities to be generated from the business architecture flow model, selecting at least one task from the front-end interface business activities to be generated, and generating a new business flow of the front-end interface business activities to be generated; and acquiring a corresponding front-end component from a preset front-end component library based on the attribute value and the technical stack of the front-end component associated with the at least one task, and generating a front-end interface.
According to the embodiment of the disclosure, each business activity comprises a plurality of tasks having a logical order therebetween; in the new business process, the original logic sequence of the at least one task in the business activity of the front-end interface to be generated is reserved; and adjusting and matching the input and the output between the at least one task according to the logic sequence.
According to an embodiment of the present disclosure, further comprising: in the new business process, adjusting the logic sequence of at least one task; and adjusting and matching the input and the output between the at least one task according to the logic sequence and the code logic for adjusting the communication between the tasks.
According to an embodiment of the present disclosure, further comprising: selecting at least one task from a plurality of business activities in the business architecture process model to add to the new business process; and adjusting the code logic among the tasks according to the logic sequence of the new business process to match the input and the output among the tasks.
According to an embodiment of the present disclosure, wherein: and when the new business process is generated, associating at least one task included in the new business process with a channel, a product, a client and a partner of a background one by one.
According to an embodiment of the present disclosure, wherein: and when the front-end interface is generated, associating the front-end component corresponding to the at least one task with the channel, the product, the client and the partner corresponding to the task one by one.
According to an embodiment of the present disclosure, further comprising: and establishing the connection between the front-end component and the network service.
According to an embodiment of the present disclosure, wherein: and automatically establishing the connection between the front-end component and the network service based on the connection relation between the background and the network service.
According to an embodiment of the present disclosure, wherein: the business architecture flow model comprises a page display system, all business activities in the business architecture flow model are displayed through a pull-down list, and each business activity corresponds to the pull-down list and is used for displaying the tasks for realizing the business activities for a user to select.
According to an embodiment of the present disclosure, further comprising: constructing the front-end component library, wherein: designing various front-end components, and configuring attribute values and technical stacks of each front-end component; clustering the front-end components based on the attribute values and a technology stack to form the front-end component library having a plurality of front-end component categories.
According to an embodiment of the present disclosure, the obtaining, based on the attribute value of the front-end component associated with the at least one task, a corresponding front-end component from a preset front-end component library, and generating the front-end interface includes: obtaining at least one front-end component having the attribute values and technology stack from the front-end component library; selecting a style from the at least one front-end component, and adjusting the style of the selected front-end component.
Another aspect of the present disclosure provides a front-end interface generating apparatus based on a service architecture, including: the business activity selection module is used for constructing a business architecture flow model, the business architecture flow model comprises at least one business activity under the existing business architecture, and each business activity comprises a plurality of tasks for realizing the business activity; the business process generation module is used for selecting front-end interface business activities to be generated from the business architecture process model, selecting at least one task from the front-end interface business activities to be generated, and generating a new business process of the front-end interface business activities to be generated; and the business interface generating module is used for acquiring the corresponding front-end component from a preset front-end component library based on the attribute value and the technical stack of the front-end component associated with the at least one task to generate a front-end interface. Another aspect of the present disclosure provides a computer system, including: one or more processors; memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of the first aspects.
Another aspect of the disclosure provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to implement the method of any one of the first aspects.
According to the embodiment of the disclosure, a developer is guided to generate a business process through a business architecture model, and a corresponding front-end interface is generated, and the front-end interface is in butt joint with a channel, a product, a client, a partner and a network service, namely, the butt joint with a background is automatically realized, so that the business can be helped to be on line quickly, and the research and development efficiency is improved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an exemplary system architecture to which the disclosed front-end interface generation method and apparatus for business-based architecture may be applied;
FIG. 2 is a flow chart schematically illustrating a method for generating a front-end interface based on a business architecture according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow chart of another business architecture-based front-end interface generation method according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of a front-end interface generation apparatus based on a business architecture according to an embodiment of the present disclosure;
FIG. 5 is a block diagram schematically illustrating another business architecture-based front-end interface generation apparatus according to an embodiment of the present disclosure; and
FIG. 6 schematically illustrates a block diagram of a computer system 600 suitable for implementing a business architecture-based front-end interface generation method in accordance with an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
The embodiment of the disclosure provides a front-end interface generation method based on a business architecture, which is characterized in that business activities are obtained based on a business architecture process model, tasks included in the business activities are selected, a new business process is formed, and corresponding front-end components are obtained from a preset front-end component library based on an attribute value and a technical stack of at least one front-end component associated with the tasks, so that a front-end interface is generated.
Fig. 1 schematically illustrates an exemplary system architecture 100 to which the business architecture based front end interface generation method and apparatus may be applied, according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired and/or wireless communication links, and so forth.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various development applications may be installed on the terminal devices 101, 102, and 103, and are used to implement the front-end interface generation method based on the service architecture provided by the embodiment of the present disclosure.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the front-end interface generating method based on the service architecture provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the device for generating the front-end interface based on the service architecture provided by the embodiment of the present disclosure may be generally disposed in the server 105. The front-end interface generation method based on the service architecture provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Correspondingly, the front-end interface generation method and apparatus based on the service architecture provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, and 103 and/or the server 105. Alternatively, the front-end interface generating method based on the service architecture provided by the embodiment of the present disclosure may also be executed by the terminal device 101, 102, or 103, or may also be executed by another terminal device different from the terminal device 101, 102, or 103. Correspondingly, the front-end interface generating device based on the service architecture provided by the embodiment of the present disclosure may also be disposed in the terminal device 101, 102, or 103, or in another terminal device different from the terminal device 101, 102, or 103.
For example, the business architecture flow model and front-end component library may be originally stored in any of the terminal devices 101, 102, or 103 (e.g., terminal device 101, but not limited to), or stored on an external storage device and may be imported into terminal device 101. Then, the terminal device 101 may locally execute the front-end interface generation method based on the service architecture provided by the embodiment of the present disclosure, or send the task of the activity to be processed to another terminal device, server, or server cluster, and execute the image processing method provided by the embodiment of the present disclosure by another terminal device, server, or server cluster that receives the task of the activity to be processed.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically shows a flowchart of a front-end interface generation method based on a business architecture according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S201 to S203.
In operation S201, a business architecture process model is constructed, where the business architecture process model includes at least one business activity under an existing business architecture, and each business activity includes a plurality of tasks for implementing the business activity.
In the embodiment of the disclosure, the business architecture comprises a process model, a product model and a market model, wherein the process model module realizes business activities of the whole business system and a plurality of tasks included in each business activity; the product model comprises products corresponding to the business activities; the market model includes channels, customers, and partners associated with each business activity.
In operation S202, a front-end interface business activity to be generated is selected from the business architecture flow model, and at least one task is selected from the front-end interface business activity to be generated, so as to generate a new business flow of the front-end interface business activity to be generated.
In the embodiment of the present disclosure, in order to implement automatic generation of the front-end interface, a service to be implemented may be generated according to a service activity included in a service architecture flow model, one or more tasks required for implementing the service are selected from the service activity, a service flow is generated, and then the front-end interface for implementing the service flow is generated.
It should be noted that the business activity in the business architecture flow model may be an already implemented activity, and when a new business flow is generated based on the business activity, in addition to selecting an existing task from the business activity, the new business flow may further include adding, deleting, and changing light operations on the included task, so that the new business flow meets the actual needs.
In operation S203, a corresponding front-end component is obtained from a preset front-end component library based on the attribute value and the technical stack of the front-end component associated with at least one task, and a front-end interface is generated.
According to the embodiment of the disclosure, when a business architecture flow model is constructed, an attribute value and a technical stack of a front-end component for realizing the task can be added to each task of business activities in advance, and after a business flow is generated, the corresponding front-end component can be automatically obtained from a front-end component library, so that a front-end interface capable of realizing the business flow is generated.
Based on the method provided by the disclosure, developers can automatically generate a new front-end interface only by selecting the business activities and tasks, so as to realize the business process formed by the tasks selected by the developers.
A description will be given below of a specific embodiment of the method described in operations S201 to S203.
Before operation S201 is executed, a page display system of the business architecture flow model is to be constructed, where the page display system is configured to display all business activities included in the business architecture flow model through a drop-down list, and each business activity corresponds to a drop-down list and is configured to display a plurality of tasks for implementing the business activities, so as to be selected by a user, and generate a business flow based on the selected tasks.
It can be understood that, in the process of selecting a business activity or a task in the business activity, operations such as adding, deleting, modifying and the like can be performed on the business activity and the task in the business architecture flow model according to actual needs, so that the business activity and the task of the business activity in the business architecture flow model can meet actual needs.
In operation S202, since each of the business activities includes a plurality of tasks having a logical order therebetween, in order to generate a business process with a correct logical relationship, the original logical order of the at least one task in the to-be-generated front-end interface business activity is maintained in a new business process without increasing the workload of a developer. If a certain task is deleted relative to the original business activity in the new business process, the input and the output of at least one task can be adjusted and matched according to the logic sequence of the new business process, so that the logic of the new business process is correct.
In addition, the new business process can also be formed by selecting part of tasks in the original business activity and readjusting the logic sequence, and comprises the following steps: in the new business process, adjusting the logic sequence of at least one task; and adjusting and matching the input and the output between the at least one task according to the logic sequence and the code logic for adjusting the communication between the tasks. This process requires developers to adaptively adjust the communication code between tasks according to the new logic order, making the code logic smooth. This process, while requiring a small amount of logic modification by the developer, still reduces the amount of work compared to the development of a new business process done by the developer himself.
Further, on the basis of selecting a task from the selected interface business activities to be generated to generate a new business process, at least one task from the rest multiple business activities in the business architecture process model can be selected to be added into the new business process, and the code logic between the tasks is adjusted according to the logic sequence of the new business process, so that the input and the output between the tasks are matched. The method can directly select the task from other business activities and add the task into a new business process when the task does not exist in the selected business activities and the other business activities, is similar to the copying and pasting process, but in the embodiment of the disclosure, the page display system provided by the business architecture process model provides a quick operation function for developers, and the establishment of the business process can be quickly realized by selecting the page display system, so that the development efficiency is improved.
Furthermore, the developer can also manually write and add new tasks to the new business process.
When a business process is generated, the tasks can be associated with channels, products, clients and partners of the background through a business architecture process model, namely, the tasks, steps and the channels, the products, the clients and the partners in the business process are interacted, so that after a front-end interface is generated, support can be provided for flexible research and development of channel services by means of relatively stable product services and internal management as well as a business basic service layer and a technology basic service layer.
In operation S203, the preset front-end component library provides the front-end components required for the front-end interface generation. Therefore, before implementing the method, a front-end component library should be constructed first. The operation of constructing the front-end component library comprises S2031 to S2032.
In operation S2031, various front-end components are designed, each of which is configured with its attribute values and technology stack.
The attribute value represents the type of front-end component, for example, the attribute value may include a popup, a button, an input box, a link, and the like. The technology stack represents the technology used to implement the front-end component functionality, e.g., the technology stack represents whether the front-end component is for a web page or an application, to a client or to a server, etc.
In operation S2032, front-end components are clustered based on the attribute values and the technology stack, forming a front-end component library having a plurality of front-end component categories.
For example, assuming that there are two front-end components whose attribute values are both "pops," but the technology stacks of the two front-end components are different, the two components are grouped into two sub-classes of the pops class.
In operation S203, acquiring the corresponding front-end component based on the business process includes the following operations.
In operation S2033, at least one front-end component having attribute values and a technology stack is obtained from a front-end component library.
In operation S2034, a style is selected from at least one front-end component, and the style of the selected front-end component is adjusted.
In the embodiment of the present disclosure, first, front-end components all having the same attribute values and technology stacks can be obtained from a front-end component library, and styles of different front-end components may be different, so that developers can select the front-end components as needed, and after selecting the front-end components, the styles of the front-end components can be further adapted by manually performing simple adjustment, for example, adjusting colors, shapes or sizes.
Fig. 3 schematically shows a flowchart of another business architecture-based front-end interface generation method according to an embodiment of the present disclosure.
As shown in fig. 3, the method includes operations S301 to S304.
In operation S301, a business architecture process model is constructed, where the business architecture process model includes at least one business activity under an existing business architecture, and each business activity includes a plurality of tasks for implementing the business activity.
In operation S302, a front-end interface business activity to be generated is selected from the business architecture flow model, and at least one task is selected from the front-end interface business activity to be generated, so as to generate a new business flow of the front-end interface business activity to be generated.
In operation S303, based on the attribute value and the technical stack of the front-end component associated with the at least one task, a corresponding front-end component is obtained from a preset front-end component library, and a front-end interface is generated.
In operation S304, a connection of the front-end component with the network service is established.
According to the embodiment of the present disclosure, the specific technical features of operations S301 to S303 are the same as those of operations S201 to S203 shown in fig. 2, and are not described herein again, except that after the front-end interface is generated, the front-end component is connected to the network service.
In the embodiment of the disclosure, on one hand, since each task has established an interactive relationship with a channel, a product, a client and a partner of the background, when the front-end interface is generated, the front-end component executing each task is automatically associated with the channel, the product, the client and the partner associated therewith, that is, the front-end component is automatically connected with the background, and based on the connection relationship between the background and the network service, the connection between the front-end component and the network service is automatically established, so that the front-end interface can be used online after being generated, and the development efficiency is improved. On the other hand, the connection between each front-end component and the background can be manually set according to actual needs, so that network service communication is realized.
According to the front-end interface generation method based on the business architecture, a developer is guided to generate a business process through the business architecture model, a corresponding front-end interface is generated, the front-end interface is in butt joint with a channel, a product, a client, a partner and network service, namely the front-end interface is automatically in butt joint with a background, the business can be helped to be rapidly on line, and the research and development efficiency is improved.
Fig. 4 schematically shows a block diagram of a business architecture based front end interface generating apparatus according to an embodiment of the present disclosure.
As shown in fig. 4, the front-end interface generating apparatus 400 based on business architecture includes a business activity selecting module 401, a business process generating module 402, and a business interface generating module 403.
The business activity selection module 401 is configured to construct a business architecture process model, where the business architecture process model includes at least one business activity under an existing business architecture, and each business activity includes a plurality of tasks for implementing the business activity.
A business process generating module 402, configured to select a front-end interface business activity to be generated from the business architecture process model, and select at least one task from the front-end interface business activity to be generated, so as to generate a new business process of the front-end interface business activity to be generated.
A service interface generating module 403, configured to obtain a corresponding front-end component from a preset front-end component library based on an attribute value and a technology stack of the front-end component associated with each of the at least one task, and generate a front-end interface.
When generating a business process, the business process generation module 402 is also used to associate front-end components that execute the task with the channel, product, client, and partner corresponding to the task.
In the embodiment of the present disclosure, each of the plurality of tasks included in each of the business activities has a logical order, and therefore, when a plurality of tasks are selected from a certain business activity to form a new business process, the original logical order of the at least one task in the to-be-generated front-end interface business activity may be retained in the new business process, so as to avoid performing logical coding on each task code again. However, the original tasks to be linked may be lost between the selected tasks, and the input and output between the at least one task are adjusted and matched according to the logic sequence, and the logic codes between the tasks are adjusted if necessary.
In addition, the new business process can also be formed by selecting part of tasks in the original business activity and readjusting the logic sequence, and comprises the following steps: in the new business process, adjusting the logic sequence of at least one task; and adjusting and matching the input and the output between the at least one task according to the logic sequence and the code logic for adjusting the communication between the tasks. This process requires developers to adaptively adjust the communication code between tasks according to the new logic order, making the code logic smooth. This process, while requiring a small amount of logic modification by the developer, still reduces the amount of work compared to the development of a new business process done by the developer himself.
Further, on the basis of selecting a task from the selected interface business activities to be generated to generate a new business process, at least one task from the rest multiple business activities in the business architecture process model can be selected to be added into the new business process, and the code logic between the tasks is adjusted according to the logic sequence of the new business process, so that the input and the output between the tasks are matched. The method can directly select the task from other business activities and add the task into a new business process when the task does not exist in the selected business activities and the other business activities, is similar to the copying and pasting process, but in the embodiment of the disclosure, the page display system provided by the business architecture process model provides a quick operation function for developers, and the establishment of the business process can be quickly realized by selecting the page display system, so that the development efficiency is improved.
Fig. 5 schematically illustrates a block diagram of another business architecture-based front-end interface generation apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the front-end interface generating apparatus 500 based on the service architecture includes a service activity selecting module 501, a service flow generating module 502, a service interface generating module 503, and a network connecting module 504.
The business activity selection module 501 is configured to construct a business architecture flow model, where the business architecture flow model includes a business activity, a plurality of tasks for implementing the business activity, and a step of executing the task.
The business process generating module 502 is configured to select a business activity of a front-end interface to be generated from the business architecture process model, select at least one task from the multiple tasks for implementing the business activity, and generate a business process for completing the business activity.
The service interface generating module 503 is configured to obtain a corresponding front-end component from a preset front-end component library based on an attribute value and a technology stack of the front-end component associated with at least one task, and generate a front-end interface.
A network connection module 504, configured to establish a connection between the front-end component and the network service.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the business activity selection module 501, the business process generation module 502, the business interface generation module 503, and the network connection module 504 may be combined and implemented in one module/unit/sub-unit, or any one of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Alternatively, at least part of the functionality of one or more of these modules/units/sub-units may be combined with at least part of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to the embodiment of the present disclosure, at least one of the business activity selection module 501, the business process generation module 502, the business interface generation module 503, and the network connection module 504 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementation manners of software, hardware, and firmware, or implemented by any suitable combination of any of the three implementation manners. Alternatively, at least one of the business activity selection module 501, the business process generation module 502, the business interface generation module 503, and the network connection module 504 may be at least partially implemented as a computer program module that, when executed, may perform a corresponding function.
It should be noted that, in the embodiment of the present disclosure, the front-end interface generating device part based on the service architecture corresponds to the front-end interface generating method part based on the service architecture in the embodiment of the present disclosure, and the description of the front-end interface generating device part based on the service architecture specifically refers to the front-end interface generating method part based on the service architecture, which is not described herein again.
Fig. 6 schematically shows a block diagram of a computer system suitable for implementing the above described method according to an embodiment of the present disclosure. The computer system illustrated in FIG. 6 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 6, a computer system 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 601 may also include onboard memory for caching purposes. Processor 601 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In the RAM 603, various programs and data necessary for the operation of the system 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 602 and/or RAM 603. It is to be noted that the programs may also be stored in one or more memories other than the ROM 602 and RAM 603. The processor 601 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, system 600 may also include an input/output (I/O) interface 605, input/output (I/O) interface 605 also connected to bus 604. The system 600 may also include one or more of the following components connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program, when executed by the processor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 602 and/or RAM 603 described above and/or one or more memories other than the ROM 602 and RAM 603.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (14)

1. A front-end interface generation method based on a business architecture comprises the following steps:
constructing a business architecture flow model, wherein the business architecture flow model comprises at least one business activity under the existing business architecture, and each business activity comprises a plurality of tasks for realizing the business activity;
selecting front-end interface business activities to be generated from the business architecture flow model, selecting at least one task from the front-end interface business activities to be generated, and generating a new business flow of the front-end interface business activities to be generated;
and acquiring a corresponding front-end component from a preset front-end component library based on the attribute value and the technical stack of the front-end component associated with the at least one task, and generating a front-end interface.
2. The method of claim 1, wherein each of the business activities comprises a plurality of tasks having a logical order therebetween;
in the new business process, the original logic sequence of the at least one task in the business activity of the front-end interface to be generated is reserved;
and adjusting and matching the input and the output between the at least one task according to the logic sequence.
3. The method of claim 2, further comprising:
in the new business process, adjusting the logic sequence of at least one task;
and adjusting and matching the input and the output between the at least one task according to the logic sequence and the code logic for adjusting the communication between the tasks.
4. The method of claim 1, further comprising:
selecting at least one task from a plurality of business activities in the business architecture process model to add to the new business process;
and adjusting the code logic among the tasks according to the logic sequence of the new business process to match the input and the output among the tasks.
5. The method of claim 1, wherein:
and when the new business process is generated, associating at least one task included in the new business process with a channel, a product, a client and a partner of a background one by one.
6. The method of claim 3, wherein:
and when the front-end interface is generated, associating the front-end component corresponding to the at least one task with the channel, the product, the client and the partner corresponding to the task one by one.
7. The method of claim 1, further comprising:
and establishing the connection between the front-end component and the network service.
8. The method of claim 5 or 6, wherein:
and automatically establishing the connection between the front-end component and the network service based on the connection relation between the background and the network service.
9. The method of claim 1, wherein:
the business architecture flow model comprises a page display system, all business activities in the business architecture flow model are displayed through a pull-down list, and each business activity corresponds to the pull-down list and is used for displaying the tasks for realizing the business activities so as to be selected by a user.
10. The method of claim 1, further comprising:
constructing the front-end component library, wherein:
designing various front-end components, and configuring attribute values and technical stacks of each front-end component;
clustering the front-end components based on the attribute values and a technology stack to form the front-end component library having a plurality of front-end component categories.
11. The method of claim 1, wherein the obtaining a corresponding front-end component from a pre-set library of front-end components based on attribute values of the front-end component associated with the at least one task, generating the front-end interface comprises:
obtaining at least one front-end component having the attribute values and technology stack from the front-end component library;
selecting a style from the at least one front-end component, and adjusting the style of the selected front-end component.
12. A front-end interface generating device based on business architecture comprises:
the business activity selection module is used for constructing a business architecture flow model, the business architecture flow model comprises at least one business activity under the existing business architecture, and each business activity comprises a plurality of tasks for realizing the business activity;
the business process generation module is used for selecting front-end interface business activities to be generated from the business architecture process model, selecting at least one task from the front-end interface business activities to be generated, and generating a new business process of the front-end interface business activities to be generated;
and the business interface generating module is used for acquiring the corresponding front-end component from a preset front-end component library based on the attribute value and the technical stack of the front-end component associated with the at least one task to generate a front-end interface.
13. A computer system, comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-11.
14. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 11.
CN202110508113.2A 2021-05-10 2021-05-10 Front-end interface generation method, device, system and medium based on business architecture Pending CN113094050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110508113.2A CN113094050A (en) 2021-05-10 2021-05-10 Front-end interface generation method, device, system and medium based on business architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110508113.2A CN113094050A (en) 2021-05-10 2021-05-10 Front-end interface generation method, device, system and medium based on business architecture

Publications (1)

Publication Number Publication Date
CN113094050A true CN113094050A (en) 2021-07-09

Family

ID=76664864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110508113.2A Pending CN113094050A (en) 2021-05-10 2021-05-10 Front-end interface generation method, device, system and medium based on business architecture

Country Status (1)

Country Link
CN (1) CN113094050A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506179A (en) * 2017-07-07 2017-12-22 中国建设银行股份有限公司 A kind of interface prototype data creation method and computer equipment
CN107704243A (en) * 2017-10-19 2018-02-16 用友网络科技股份有限公司 Construction method and device, the computer equipment and storage medium of front-end interface
CN110457020A (en) * 2019-07-05 2019-11-15 苏宁云计算有限公司 Generation method, device and the computer equipment of user interface Core Generator
CN110865807A (en) * 2018-08-27 2020-03-06 北京京东金融科技控股有限公司 Active page creation system, method, device and storage medium
CN111695827A (en) * 2020-06-17 2020-09-22 北京同邦卓益科技有限公司 Business process management method and device, electronic equipment and storage medium
CN111966350A (en) * 2020-07-20 2020-11-20 深圳市麦谷科技有限公司 Web front-end interface generation method and device
CN112337099A (en) * 2020-10-27 2021-02-09 腾讯科技(北京)有限公司 Service management method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506179A (en) * 2017-07-07 2017-12-22 中国建设银行股份有限公司 A kind of interface prototype data creation method and computer equipment
CN107704243A (en) * 2017-10-19 2018-02-16 用友网络科技股份有限公司 Construction method and device, the computer equipment and storage medium of front-end interface
CN110865807A (en) * 2018-08-27 2020-03-06 北京京东金融科技控股有限公司 Active page creation system, method, device and storage medium
CN110457020A (en) * 2019-07-05 2019-11-15 苏宁云计算有限公司 Generation method, device and the computer equipment of user interface Core Generator
CN111695827A (en) * 2020-06-17 2020-09-22 北京同邦卓益科技有限公司 Business process management method and device, electronic equipment and storage medium
CN111966350A (en) * 2020-07-20 2020-11-20 深圳市麦谷科技有限公司 Web front-end interface generation method and device
CN112337099A (en) * 2020-10-27 2021-02-09 腾讯科技(北京)有限公司 Service management method and device

Similar Documents

Publication Publication Date Title
US11936745B2 (en) Automated platform provisioning system
US20180373505A1 (en) Systems and methods for transforming service definitions in a multi-service containerized application
US8914804B2 (en) Handling queues associated with web services of business processes
US11019168B2 (en) System and method for integrating cloud applications into a cloud service broker platform using an automated, universal connector package
US11030079B2 (en) Service virtualization platform
US10353750B2 (en) Discovery and exposure of transactional middleware server-based applications as consumable service endpoints
US10924590B1 (en) Virtual workspace experience visualization and optimization
WO2019029451A1 (en) Method for publishing mobile applications and electronic apparatus
CN109492200A (en) Cooperated documents restoring method, device, storage medium and electronic equipment
CN116360918A (en) Modeling data processing method, modeling data processing device, computer equipment and storage medium
US20190140894A1 (en) System and method for enabling hybrid integration platform through runtime auto-scalable deployment model for varying integration
WO2022052563A1 (en) Service construction method, related device and computer readable storage medium
CN110807535A (en) Construction method and construction device of unified reservation platform and unified reservation platform system
US10725744B2 (en) Method for adapting to blockchain and device, terminal and medium performing the same
CN110427260B (en) Host job scheduling method, device and system
CN112732547B (en) Service testing method and device, storage medium and electronic equipment
CN111681026A (en) Resource allocation method and device, electronic equipment and computer readable storage medium
CN109005163B (en) HTTP dynamic request service calling method
CN112486482A (en) Page display method and device
CN113094050A (en) Front-end interface generation method, device, system and medium based on business architecture
US20210243088A1 (en) Infrastructure resource simulation mechanism
CN114238585A (en) Query method and device based on 5G message, computer equipment and storage medium
CN113656041A (en) Data processing method, device, equipment and storage medium
CN114116263A (en) System, method, apparatus, and medium for multi-page tag communication in a browser
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination