CN117251139A - Business process configuration management method, device, equipment and storage medium - Google Patents

Business process configuration management method, device, equipment and storage medium Download PDF

Info

Publication number
CN117251139A
CN117251139A CN202311125521.5A CN202311125521A CN117251139A CN 117251139 A CN117251139 A CN 117251139A CN 202311125521 A CN202311125521 A CN 202311125521A CN 117251139 A CN117251139 A CN 117251139A
Authority
CN
China
Prior art keywords
configuration
operation object
service
business
identification text
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
CN202311125521.5A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202311125521.5A priority Critical patent/CN117251139A/en
Publication of CN117251139A publication Critical patent/CN117251139A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a business process configuration management method, a device, equipment and a storage medium, wherein the business process is stored in a distributed configuration center by combining distributed configuration and pipeline framework design, management is carried out in the distributed configuration center, the business process is disassembled into a plurality of business steps which are arranged in sequence, and step configuration of each business step is obtained based on a monitoring mechanism; analyzing the step configuration, and judging whether each step configuration contains an identification text or not; for step configuration containing an identification text, a target operation object corresponding to the identification text is obtained from a preset object library by utilizing a reflection technology, the calling relation between a service step and the target operation object is obtained, the calling relation between the service step and the target operation object is stored in a first cache, and specific service operation and service configuration are called according to service requirements based on a pipeline framework, so that flexible management is realized.

Description

Business process configuration management method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for managing business process configuration.
Background
With the development of computer technology, different users will have different service requirements, and different service requirements will require different functional code development. In the prior art, heterogeneous systems, distributed systems and other non-monomer architectures are used for coping with multiple demands, so that the development efficiency is improved, but the complexity of the development system is increased.
When the existing business process is developed mainly based on a Spring Boot frame, new software or software versions need to be manually developed according to each business requirement, so that similar functional codes can be repeatedly developed, configuration is repeated and can not be communicated, and once the business process is complex, a call chain of business configuration becomes complex and difficult to comb; moreover, the configuration of the development project generally adopts the yml or properties files, after the files are written into the project, the files can not be changed when the container is deployed, the code is required to be submitted again for changing the configuration, then the configuration is reconstructed and deployed to the container, and the management of the configuration is inflexible, so that the development efficiency is low.
Disclosure of Invention
The application provides a business process configuration management method, a device, equipment and a storage medium, which are used for solving the problems that in the prior art, configuration calling can not be carried out on a reusable process in business and development efficiency is low.
In a first aspect, the present application provides a method for managing service flow configuration, including:
storing the business process into a distributed configuration center, disassembling the business process into a plurality of business steps which are arranged in sequence, and obtaining step configuration of each business step based on a monitoring mechanism;
analyzing the step configuration, and judging whether each step configuration contains an identification text or not;
for step configuration containing an identification text, acquiring a target operation object corresponding to the identification text from a preset object library by utilizing a reflection technology, acquiring a calling relation between a service step and the target operation object based on a mapping relation chain of the service step-step configuration-the identification text-the target operation object, and storing the calling relation between the service step and the target operation object in a first cache, wherein the first cache is used for calling the target operation object according to the service step when software is developed;
and for the business step without the identification text, receiving the manually added newly added identification text, the newly added operation object and the configuration corresponding to the newly added operation object, constructing and storing the mapping relation between the newly added operation object and the newly added identification text into an object library.
Optionally, in the method as described above, the parsing the step configuration, determining whether each step configuration contains the identification text includes:
analyzing the step configuration according to a preset grammar rule to obtain an analysis text of the step configuration;
judging whether the analysis text comprises an identification text in a preset identification library or not, wherein the preset identification library is used for storing identification texts customized by users.
Optionally, the method as described above, the service flow includes a plurality of functional modules, and the disassembling the service flow into a plurality of service steps arranged in sequence includes:
and decoupling the service flow according to each functional module by adopting a message queue to obtain the service steps of each functional module sequenced according to the service flow.
Optionally, the method as described above further includes, after the step of obtaining the service of each functional module ordered by service flow:
and adding an abnormality judgment business step between every two adjacent functional modules, wherein the abnormality judgment business step is also associated with an abnormality log.
Optionally, before the storing the target operation object and the call relation corresponding to the target operation object in the first cache, the method further includes:
and responding to a modification instruction of the client, and modifying the target operation object, wherein the modification comprises deleting, adding and adjusting the sequence.
Optionally, the method as described above, the method further comprises:
generating a call log of a configuration call chain of the service flow by adopting a section-oriented programming AOP, wherein the configuration call chain is constructed according to the sequence of the service steps based on the call relation between the service steps and the target operation object;
and managing the format and the storage position of the call log by adopting log.
Optionally, the method, as described above, wherein the generating the call log of each configuration call of the distributed configuration center by using the tangent plane oriented programming AOP includes:
defining a tangent point through a custom annotation, wherein the tangent point is a set of a plurality of connecting points arranged in the configuration call chain and is used for detecting call operation and generating a call log;
and based on the tangent point, performing call log organization in the call chain.
In a second aspect, the present application provides a business process configuration management apparatus, including:
the disassembly module is used for storing the business process into a distributed configuration center, disassembling the business process into a plurality of business steps which are arranged in sequence, and obtaining the step configuration of each business step based on a monitoring mechanism;
the analysis module is used for analyzing the step configuration and judging whether each step configuration contains an identification text or not;
the reflection module is used for obtaining a target operation object corresponding to the identification text from a preset object library by utilizing a reflection technology for step configuration containing the identification text, obtaining a calling relation between a service step and the target operation object based on a mapping relation chain of the service step-step configuration-identification text-the target operation object, and storing the calling relation between the service step and the target operation object in a first cache, wherein the first cache is used for calling the target operation object according to the service step when software is developed;
and the newly added operation object module is used for receiving the manually added newly added identification text, the newly added operation object and the configuration corresponding to the newly added operation object for the service step without the identification text, constructing and storing the mapping relation between the newly added operation object and the newly added identification text into an object library.
In a third aspect, the present application provides an electronic device, including a memory, a processor, and computer-executable instructions stored in the memory and executable on the processor, where the processor implements the business process configuration management method of any one of the first aspects when executing the computer-executable instructions.
In a fourth aspect, the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the business process configuration management method of any one of the first aspects above.
According to the business process configuration management method, the business process configuration management device, the business process configuration management equipment and the storage medium, the business process is stored in the distributed configuration center, the business process is disassembled into a plurality of business steps which are arranged in sequence, and step configuration of each business step is obtained based on a monitoring mechanism; analyzing the step configuration, and judging whether each step configuration contains an identification text or not; for step configuration containing an identification text, acquiring a target operation object corresponding to the identification text from a preset object library by utilizing a reflection technology, acquiring a calling relation between a service step and the target operation object based on a mapping relation chain of the service step-step configuration-the identification text-the target operation object, and storing the calling relation between the service step and the target operation object in a first cache, wherein the first cache is used for calling the target operation object according to the service step when software is developed; for the business step without the identification text, receiving the manually added newly added identification text, the newly added operation object and the configuration corresponding to the newly added operation object, constructing and storing the mapping relation between the newly added operation object and the newly added identification text into an object library; by combining distributed configuration and pipeline framework design, a business process is split into a plurality of steps, management is performed in a distributed configuration center, specific business operation and business configuration are called according to business requirements based on the pipeline framework, and therefore flexible management is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is an application scenario schematic diagram of a business process configuration management method provided in an embodiment of the present application.
Fig. 2 is a flowchart of a business process configuration management method provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of a business process configuration management apparatus according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device of the business process configuration management apparatus according to the embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
In order to better understand the scheme of the embodiment of the present application, an application scenario related to the embodiment of the present application is first described below.
Referring to fig. 1, fig. 1 is a schematic application scenario of a business process configuration management method provided in an embodiment of the present application, as shown in fig. 1, including a client 100 and a server 200, where the client 100 may be configured to issue a business process according to a business requirement, adjust a configuration according to configuration information fed back by the server 200, and send related operation instructions to the server 200, and the client 100 may include a personal computer, a tablet computer, an intelligent panel, etc., which is not limited herein.
The server 200 may be used to perform corresponding operations in response to instructions of the client 100. In particular, the server 200 may include a distributed configuration center, an object library, and a first cache; specifically, the server 200 may store the service flow in a distributed configuration center, disassemble the service flow into a plurality of service steps arranged in sequence, obtain step configurations of each service step based on a monitoring mechanism, parse the step configurations, determine whether each step configuration contains an identification text, obtain, for the step configuration containing the identification text, a target operation object corresponding to the identification text from a preset object library by using a reflection technology, store a call relationship between the service step and the target operation object in a first cache, where the first cache is used for calling the target operation object according to the service step when software is developed, and receive, for the service step not containing the identification text, manually added new identification text, new operation object and configuration corresponding to the new operation object sent by the client 100, construct and store a mapping relationship between the new operation object and the new identification text in an object library.
The following describes the technical solution of the present application and how the technical solution of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a business process configuration management method provided in an embodiment of the present application. As shown in fig. 2, the method of the present embodiment includes:
s201: and storing the business process into a distributed configuration center, disassembling the business process into a plurality of business steps which are arranged in sequence, and obtaining the step configuration of each business step based on a monitoring mechanism.
The execution main body of the embodiment of the application can be a server or a business process configuration management system in the server, wherein the business process configuration management system can be realized through software.
For example, as Apollo can centrally manage the configuration of different environments and different clusters of the application, the configuration can be pushed to the application end in real time after being modified, and the Apollo has the characteristics of normative authority, flow management and the like. The distributed configuration center mentioned in this embodiment may be Apollo. The developer can split the business process into different business steps according to different functional modules in the business process, and pull the step configuration of each business step based on the back-end monitoring mechanism of Apollo.
S202: analyzing the step configuration, and judging whether each step configuration contains an identification text.
It can be understood that, before the business configuration of the business process is managed by using Apollo, a developer sets a grammar rule in advance, and in this step, the step configuration can be parsed based on the preset grammar rule to determine whether the configurations contain the prestored identification text.
S203: for step configuration containing an identification text, acquiring a target operation object corresponding to the identification text from a preset object library by utilizing a reflection technology, acquiring a calling relation between a service step and the target operation object based on a mapping relation chain of the service step-step configuration-the identification text-the target operation object, and storing the calling relation between the service step and the target operation object in a first cache, wherein the first cache is used for calling the target operation object according to the service step during software development.
In the step, if the step configuration contains the identification text, the target operation object can be obtained from the preset object library through the reflection technology according to the identification text, so that the target operation object has a calling relationship with the service step, and when the software development of the service flow is carried out, the target operation object in the first cache can be directly called when the service step is carried out, the quick calling of the reusable operation object is realized, and the development efficiency is improved.
S204: and for the business step without the identification text, receiving the manually added newly added identification text, the newly added operation object and the configuration corresponding to the newly added operation object, constructing and storing the mapping relation between the newly added operation object and the newly added identification text into an object library.
In this step, if the step configuration does not contain the identification text, this means that the developer needs to develop the operation object according to the business step. The developer can input a new identification text, a new operation object and configuration corresponding to the new operation object in the client, and store the mapping relation between the new operation object and the new identification text into an object library, so that a reusable operation object is formed, and the next call is facilitated.
According to the business process configuration management method provided by the embodiment, the business process is stored in the distributed configuration center, the business process is disassembled into a plurality of business steps which are arranged in sequence, and step configuration of each business step is obtained based on a monitoring mechanism; analyzing the step configuration, and judging whether each step configuration contains an identification text or not; for step configuration containing an identification text, acquiring a target operation object corresponding to the identification text from a preset object library by utilizing a reflection technology, acquiring a calling relation between a service step and the target operation object based on a mapping relation chain of the service step-step configuration-the identification text-the target operation object, and storing the calling relation between the service step and the target operation object in a first cache, wherein the first cache is used for calling the target operation object according to the service step when software is developed; for the business step without the identification text, receiving the manually added newly added identification text, the newly added operation object and the configuration corresponding to the newly added operation object, constructing and storing the mapping relation between the newly added operation object and the newly added identification text into an object library; by combining distributed configuration and pipeline framework design, a business process is split into a plurality of steps, management is performed in a distributed configuration center, specific business operation and business configuration are called according to business requirements based on the pipeline framework, and therefore flexible management is achieved.
The technical scheme of the business process configuration management method is described in detail below.
In a possible implementation manner, the business process configuration management method provided in this embodiment parses the step configurations based on preset grammar rules, and determines whether the configurations contain pre-stored identification text.
Specifically, the step configuration is analyzed, and whether each step configuration contains an identification text is judged, which comprises the following steps: analyzing the step configuration according to a preset grammar rule to obtain an analysis text of the step configuration; judging whether the analysis text comprises an identification text in a preset identification library or not, wherein the preset identification library is used for storing identification texts customized by users.
For example, since Protocol Buffer is an extensible data serialization mechanism supporting multiple platforms and multiple languages, the preset grammar rule may be a Protocol Buffer grammar rule, so that the step configuration is parsed according to the grammar rule, and thus a parsed text is obtained.
The identification text can be annotation text adopted by a developer when packaging some reusable modules, and is used for classifying and distinguishing the reusable modules.
In this embodiment, by analyzing the step configurations based on the preset grammar rules and judging whether the configurations contain the prestored identification text, whether the development tasks same as the step configurations exist or not and whether the reusable modules exist or not can be quickly found, so that the call is performed, and the development efficiency is improved.
In a possible implementation manner, the service flow configuration management method provided in this embodiment obtains each service step by decoupling the service flow according to each functional module, and adds an abnormality judgment service step between every two adjacent functional modules.
Specifically, the business process includes a plurality of functional modules, and the step of disassembling the business process into a plurality of business steps arranged in sequence includes: and decoupling the service flow according to each functional module by adopting a message queue to obtain the service steps of each functional module sequenced according to the service flow.
It can be understood that the message queue is adopted to disassemble the business flow, so as to ensure the integral order; although the distributed configuration center is adopted to manage and develop each service step, the plurality of service steps which are arranged in sequence can form a whole development chain, namely a pipline framework is adopted, so that each node on the development chain can be independently edited and managed.
In order to better ensure the correctness of the development chain, an abnormality judgment business step can be added between every two adjacent functional modules, and the abnormality judgment business step is also associated with an abnormality log. Therefore, if the connection of two adjacent business steps is wrong when the development chain is tested or executed, the business steps are judged to be abnormal in time, an abnormal log is generated, and a developer can adjust the development of the two business steps according to the abnormal log.
In this embodiment, the service process is decoupled according to each functional module to obtain each service step, and an anomaly judgment service step is added between every two adjacent functional modules, so that a pipeline development framework and a distributed configuration center are combined, a certain regular service requirement can be flexibly adapted, development efficiency is improved, and a development process is standardized.
In a possible implementation manner, considering that the operation objects stored in the preset object library do not necessarily completely meet the requirement of the current business process development, the business process configuration management method provided in this embodiment modifies the target operation object by responding to the modification instruction of the client, and specifically, the modification includes deleting, adding and adjusting the sequence.
It can be understood that when the target operation object in the stored object library cannot fully meet the development requirement, the developer can adjust the target operation object according to the actual requirement, including but not limited to sequentially adjusting, deleting or adding part of the content in the target operation object, and generating a corresponding service configuration instruction, so that the target operation object better meets the development requirement.
For example, if the object library stores a target operation object a (e.g., a user registration module without a gender attribute), a target operation object B (e.g., a user login module), and a target operation object C (e.g., a main interface display module), the user needs are an operation object A1 (e.g., a user registration module with a gender attribute), an operation object B (e.g., a user login module), and an operation object C (e.g., a main interface display module), where the operation object A1 is a configuration operation of adding or deleting a part of the functions on the basis of the target operation object a, the target operation object a is obtained, and the target operation object a is added or deleted with the part of the functions, for example: the gender attribute is added in the user registration module.
In this embodiment, the modification is performed on the target operation object by responding to the modification instruction of the client, so that the existing target operation object can better meet the service requirement.
In one possible implementation manner, in view of better scheduling relationship management, the business process configuration management method provided in this embodiment may further include: generating a call log of a configuration call chain of the service flow by adopting a section-oriented programming AOP, wherein the configuration call chain is constructed according to the sequence of the service steps based on the call relation between the service steps and the target operation object; and managing the format and the storage position of the call log by adopting log.
In this embodiment, the generating the call log of the configuration call chain of the service flow by adopting the section-oriented programming AOP specifically includes: defining a tangent point through a custom annotation, wherein the tangent point is a set of a plurality of connecting points arranged in the configuration call chain and is used for detecting call operation and generating a call log; and based on the tangent point, performing call log organization in the call chain.
It is understood that AOP is an abstraction of different things laterally, and attributes, methods and methods, objects and objects can all form a slice, and the way to design programming with this thought is called slice-oriented programming. The AOP section programming is characterized in that unified section processing can be performed on a certain function, business codes are not invaded, and the coupling degree is reduced. Thus, a call log of the configuration call chain in the entire business process can be generated by AOP.
In this embodiment, a call log of a configuration call chain of the service flow is generated by adopting a tangent plane oriented programming AOP, where the configuration call chain is constructed according to the sequence of the service steps based on the call relationship between the service steps and the target operation object; the log back is adopted to manage the format and the storage position of the call log, so that the related log of the method call can be checked in more detail, partial log and business are well stripped, and a developer can concentrate on the business development.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required in the present application.
It should be further noted that, although the steps in the flowchart are sequentially shown as indicated by arrows, the steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in the flowcharts may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order in which the sub-steps or stages are performed is not necessarily sequential, and may be performed in turn or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Fig. 3 is a schematic diagram of a business process configuration management apparatus according to an embodiment of the present application. As shown in fig. 3, the business process configuration management apparatus includes:
the disassembly module 31 is configured to store the service flow in a distributed configuration center, disassemble the service flow into a plurality of service steps arranged in sequence, and obtain a step configuration of each service step based on a monitoring mechanism;
the parsing module 32 is configured to parse the step configuration and determine whether each step configuration contains an identification text;
the reflection module 33 is configured to obtain, for a step configuration including an identification text, a target operation object corresponding to the identification text from a preset object library by using a reflection technology, obtain a calling relationship between a service step and the target operation object based on a mapping relationship chain of the service step-step configuration-identification text-the target operation object, and store the calling relationship between the service step and the target operation object in a first cache, where the first cache is used for calling the target operation object according to the service step during software development;
and the new operation object module 34 is configured to receive the manually added new identification text, the new operation object and the configuration corresponding to the new operation object for the service step without the identification text, construct and store the mapping relationship between the new operation object and the new identification text into an object library.
In one possible design, parsing module 32 is specifically configured to:
analyzing the step configuration according to a preset grammar rule to obtain an analysis text of the step configuration;
judging whether the analysis text comprises an identification text in a preset identification library or not, wherein the preset identification library is used for storing identification texts customized by users.
In one possible design, the business process includes several functional modules, and the disassembly module 31 is specifically configured to:
and decoupling the service flow according to each functional module by adopting a message queue to obtain the service steps of each functional module sequenced according to the service flow.
In one possible design, the disassembly module 31 is also specifically for:
and adding an abnormality judgment business step between every two adjacent functional modules, wherein the abnormality judgment business step is also associated with an abnormality log.
In one possible design, the reflection module 33 is specifically configured to:
and responding to a modification instruction of the client, and modifying the target operation object, wherein the modification comprises deleting, adding and adjusting the sequence.
In one possible design, the reflection module 33 is also specifically configured to:
generating a call log of a configuration call chain of the service flow by adopting a section-oriented programming AOP, wherein the configuration call chain is constructed according to the sequence of the service steps based on the call relation between the service steps and the target operation object;
and managing the format and the storage position of the call log by adopting log.
In one possible design, a tangent point is defined through a custom annotation, the tangent point is a set of a plurality of connection points arranged in the configuration call chain, and the tangent point is used for detecting a call operation and generating a call log;
and based on the tangent point, performing call log organization in the call chain. The method is particularly used for:
defining a tangent point through a custom annotation, wherein the tangent point is a set of a plurality of connecting points arranged in the configuration call chain and is used for detecting call operation and generating a call log;
and based on the tangent point, performing call log organization in the call chain.
It should be understood that the above-described device embodiments are merely illustrative, and that the device of the present application may be implemented in other ways. For example, the division of the units/modules in the above embodiments is merely a logic function division, and there may be another division manner in actual implementation. For example, multiple units, modules, or components may be combined, or may be integrated into another system, or some features may be omitted or not performed.
In addition, each functional unit/module in each embodiment of the present application may be integrated into one unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated together, unless otherwise specified. The integrated units/modules described above may be implemented either in hardware or in software program modules.
Fig. 4 is a schematic structural diagram of an electronic device of the business process configuration management apparatus according to the embodiment of the present application. As shown in fig. 4, the electronic device of this embodiment includes: at least one processor 40 (only one shown in fig. 4), a memory 41, and a computer program stored in the memory 41 and executable on the at least one processor 40, the processor 40 implementing the steps in any of the various method embodiments described above when executing the computer program.
The electronic device may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of an electronic device and is not meant to be limiting, and may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input-output devices, network access devices, etc.
The processor 40 may be a central processing unit (Central Processing Unit, CPU), the processor 40 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The specific implementation process of the processor 401 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
The memory 41 may in some embodiments be an internal storage unit of the electronic device, such as a memory of the electronic device. The memory 41 may in other embodiments also be an external storage device of the electronic device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the electronic device. Further, the memory 41 may also include both an internal storage unit and an external storage device of the electronic device. The memory 41 is used to store an operating system, application programs, boot loader (BootLoader), data, and other programs and the like, such as program codes of computer programs and the like. The memory 41 may also be used to temporarily store data that has been output or is to be output.
The embodiments of the present application also provide a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements steps of the foregoing method embodiments.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). The processor and the readable storage medium may reside as discrete components in the electronic device described above.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments. The technical features of the above embodiments may be combined in any way, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, but should be considered as the scope of the description
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A business process configuration management method, comprising:
storing the business process into a distributed configuration center, disassembling the business process into a plurality of business steps which are arranged in sequence, and obtaining step configuration of each business step based on a monitoring mechanism;
analyzing the step configuration, and judging whether each step configuration contains an identification text or not;
for step configuration containing an identification text, acquiring a target operation object corresponding to the identification text from a preset object library by utilizing a reflection technology, acquiring a calling relation between a service step and the target operation object based on a mapping relation chain of the service step-step configuration-the identification text-the target operation object, and storing the calling relation between the service step and the target operation object in a first cache, wherein the first cache is used for calling the target operation object according to the service step when software is developed;
and for the business step without the identification text, receiving the manually added newly added identification text, the newly added operation object and the configuration corresponding to the newly added operation object, constructing and storing the mapping relation between the newly added operation object and the newly added identification text into an object library.
2. The method of claim 1, wherein parsing the step configuration to determine whether each step configuration contains an identification text comprises:
analyzing the step configuration according to a preset grammar rule to obtain an analysis text of the step configuration;
judging whether the analysis text comprises an identification text in a preset identification library or not, wherein the preset identification library is used for storing identification texts customized by users.
3. The method of claim 1, wherein the business process includes a plurality of functional modules, and the disassembling the business process into a plurality of business steps arranged in sequence includes:
and decoupling the service flow according to each functional module by adopting a message queue to obtain the service steps of each functional module sequenced according to the service flow.
4. A method according to claim 3, further comprising, after said step of obtaining business for each functional module ordered by business flow:
and adding an abnormality judgment business step between every two adjacent functional modules, wherein the abnormality judgment business step is also associated with an abnormality log.
5. The method of claim 1, further comprising, prior to storing the target operand and the call relationship corresponding to the target operand in a first cache:
and responding to a modification instruction of the client, and modifying the target operation object, wherein the modification comprises deleting, adding and adjusting the sequence.
6. The method according to claim 1, characterized in that the method further comprises:
generating a call log of a configuration call chain of the service flow by adopting a section-oriented programming AOP, wherein the configuration call chain is constructed according to the sequence of the service steps based on the call relation between the service steps and the target operation object;
and managing the format and the storage position of the call log by adopting log.
7. The method of claim 6, wherein generating a call log for each configuration call of the distributed configuration center using a tangent plane oriented programming AOP comprises:
defining a tangent point through a custom annotation, wherein the tangent point is a set of a plurality of connecting points arranged in the configuration call chain and is used for detecting call operation and generating a call log;
and based on the tangent point, performing call log organization in the call chain.
8. A business process configuration management apparatus, comprising:
the disassembly module is used for storing the business process into a distributed configuration center, disassembling the business process into a plurality of business steps which are arranged in sequence, and obtaining the step configuration of each business step based on a monitoring mechanism;
the analysis module is used for analyzing the step configuration and judging whether each step configuration contains an identification text or not;
the reflection module is used for obtaining a target operation object corresponding to the identification text from a preset object library by utilizing a reflection technology for step configuration containing the identification text, obtaining a calling relation between a service step and the target operation object based on a mapping relation chain of the service step-step configuration-identification text-the target operation object, and storing the calling relation between the service step and the target operation object in a first cache, wherein the first cache is used for calling the target operation object according to the service step when software is developed;
and the newly added operation object module is used for receiving the manually added newly added identification text, the newly added operation object and the configuration corresponding to the newly added operation object for the service step without the identification text, constructing and storing the mapping relation between the newly added operation object and the newly added identification text into an object library.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 7.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 7.
CN202311125521.5A 2023-09-01 2023-09-01 Business process configuration management method, device, equipment and storage medium Pending CN117251139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311125521.5A CN117251139A (en) 2023-09-01 2023-09-01 Business process configuration management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311125521.5A CN117251139A (en) 2023-09-01 2023-09-01 Business process configuration management method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117251139A true CN117251139A (en) 2023-12-19

Family

ID=89136010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311125521.5A Pending CN117251139A (en) 2023-09-01 2023-09-01 Business process configuration management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117251139A (en)

Similar Documents

Publication Publication Date Title
US8812911B2 (en) Distributed testing of a software platform
US10055274B2 (en) Automated diagnosis of software crashes
US10795654B2 (en) Mechanisms for declarative expression of data types for data storage
KR20180122019A (en) Tools and methods for real-time data flow programming languages
CN106557470B (en) Data extraction method and device
CN111061643B (en) SDK cluster compatibility detection method and device, electronic equipment and storage medium
US10642863B2 (en) Management of structured, non-structured, and semi-structured data in a multi-tenant environment
US11481200B1 (en) Checking source code validity at time of code update
CN111026568B (en) Data and task relation construction method and device, computer equipment and storage medium
US10452433B2 (en) Event-driven multi-tenant computer-management platform
US11966773B2 (en) Automated pipeline for generating rules for a migration engine
US11698825B2 (en) Application programming interface compatibility
CN110716714A (en) Component creation method, device, computer system, and computer-readable storage medium
US11422917B2 (en) Deriving software application dependency trees for white-box testing
US8332335B2 (en) Systems and methods for decision pattern identification and application
CN111240772A (en) Data processing method and device based on block chain and storage medium
US20230409295A1 (en) Building base applications with user interface micro frontends
CN117251139A (en) Business process configuration management method, device, equipment and storage medium
CN111159226A (en) Index query method and system
US11709936B2 (en) Automatic integrity vulnerability detection in an integrated development environment
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
US20180204130A1 (en) Message choice model trainer
CN113721916B (en) Compiling method, device and equipment of operating system and readable storage medium
US20230393815A1 (en) Generation of service-level objective specifications using java annotation
CN115454494A (en) Method, system and medium for implementing content management system based on event stream mechanism

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