CN117527561A - Function arrangement method, device, computer equipment and storage medium - Google Patents

Function arrangement method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN117527561A
CN117527561A CN202311353652.9A CN202311353652A CN117527561A CN 117527561 A CN117527561 A CN 117527561A CN 202311353652 A CN202311353652 A CN 202311353652A CN 117527561 A CN117527561 A CN 117527561A
Authority
CN
China
Prior art keywords
target
function
rule
arrangement
visualization component
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
CN202311353652.9A
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.)
Yuanguang Software Co Ltd
Original Assignee
Yuanguang Software 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 Yuanguang Software Co Ltd filed Critical Yuanguang Software Co Ltd
Priority to CN202311353652.9A priority Critical patent/CN117527561A/en
Publication of CN117527561A publication Critical patent/CN117527561A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Abstract

The embodiment of the application belongs to the technical field of communication and relates to a function arrangement method which comprises the steps of obtaining preset configuration information, and configuring a branching rule and a visualization component corresponding to each atomic service according to the preset configuration information; when an arranging instruction carrying a function parameter is received, determining a target branch rule corresponding to the arranging instruction in the branch rule according to the function parameter, and determining a target visualization component corresponding to the arranging instruction in the visualization component; and performing function arrangement according to the target branch rule and the target visualization component, generating a target function main body, and displaying the target function main body at a user end corresponding to the arrangement instruction. The application also provides a function arrangement device, computer equipment and a storage medium. According to the method and the device, one-key arrangement and visual display of the new function are realized in the customization process of the informatization system, so that the development efficiency of the new function is improved.

Description

Function arrangement method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a function scheduling method, a device, a computer device, and a storage medium.
Background
In the construction of business services for enterprises, it is often desirable to provide for the concatenation and orchestration of numerous atomic services using an informatization system, so that the business requirements can be customized efficiently.
However, in the process of customizing an information system, it is difficult for a configuration post or a person associated with the post to develop new functions by assembling the configuration by independently utilizing existing functions, services, functions, api, and the like.
Therefore, the informatization system must be returned to a factory for secondary research and development by research personnel when customization is implemented, so that the development efficiency of new functions is greatly reduced, the research and development threshold is improved, and the product quality cannot be ensured.
Disclosure of Invention
An object of the embodiments of the present application is to provide a function arrangement method, apparatus, computer device, and storage medium, so as to solve a technical problem that development efficiency of new functions is low when an informatization system is customized.
In order to solve the above technical problems, the embodiments of the present application provide a function arrangement method, which adopts the following technical schemes:
a method of functionally orchestrating comprising the steps of:
acquiring preset configuration information, and configuring a branching rule and a visualization component corresponding to each atomic service according to the preset configuration information;
When an arranging instruction carrying a function parameter is received, determining a target branch rule corresponding to the arranging instruction in the branch rule according to the function parameter, and determining a target visualization component corresponding to the arranging instruction in the visualization component;
and performing function arrangement according to the target branch rule and the target visualization component, generating a target function main body, and displaying the target function main body at a user end corresponding to the arrangement instruction.
Further, the target branch rule includes a target connection rule and a target expression rule, the target visualization component includes a target gateway and a target node, and the steps of performing function arrangement according to the target branch rule and the target visualization component, generating a target function main body, and displaying the target function main body at a user end corresponding to the arrangement instruction specifically include:
performing metadata export on the target gateway and the target node to obtain target metadata;
compiling and concatenating according to the target connection rule, the target expression rule and the target metadata to establish a visual function model;
And displaying the visual function model at the user side as the target function main body.
Further, the step of compiling and concatenating according to the target connection rule, the target expression rule and the target metadata to build a visual function model specifically includes:
compiling and concatenating according to the target expression rule, the target expression rule and the target metadata to obtain a target arranging workflow;
and performing visual modeling on the target arrangement workflow to obtain the visual functional model.
Further, the branching rules comprise connection rules and expression rules, the visualization component comprises a gateway and nodes, the gateway comprises a single gateway, a multi-path gateway, a parallel gateway, a cyclic gateway and a transaction gateway, and the nodes comprise a start node, an end node, an abnormal node, a scene node, a function node, a service node, an action node, a child arrangement node and a custom script node.
Further, after the step of obtaining the preset configuration information and configuring the branching rule and the visualization component corresponding to each atomic service according to the preset configuration information, the method further includes:
Generating each function arrangement template according to the branching rules and the visualization component;
and constructing an arrangement template library according to each function arrangement template.
Further, after the step of generating the target function body by performing function arrangement according to the target branching rule and the target visualization component, the method further includes:
performing anomaly detection on the target functional main body to determine whether an anomaly point exists;
if the abnormal point exists, marking the abnormal point to obtain abnormal prompt information, and displaying the abnormal prompt information at the user side;
and if the abnormal point does not exist, displaying prompt information that no abnormality exists at the user side.
Further, the step of detecting the abnormality of the target functional body to determine whether an abnormal point exists specifically includes:
and performing storage check and simulation operation on the target functional main body, and determining whether the abnormal point exists or not through an abnormal capturing and retry mechanism.
In order to solve the above technical problems, the embodiments of the present application further provide a function arrangement device, which adopts the following technical scheme:
a function orchestration device, comprising:
The configuration module is used for acquiring preset configuration information, and configuring a branching rule and a visualization component corresponding to each atomic service according to the preset configuration information;
the determining module is used for determining a target branch rule corresponding to the arranging instruction in the branch rule according to the functional parameter when the arranging instruction carrying the functional parameter is received, and determining a target visualization component corresponding to the arranging instruction in the visualization component;
and the arrangement module is used for carrying out function arrangement according to the target branch rule and the target visualization component, generating a target function main body and displaying the target function main body at a user end corresponding to the arrangement instruction.
In order to solve the above technical problems, the embodiments of the present application further provide a computer device, which adopts the following technical schemes:
a computer device comprising a memory in which a computer program is stored and a processor which, when executing the computer program, performs the steps of the method of orchestration of functions as described above.
In order to solve the above technical problems, embodiments of the present application further provide a computer readable storage medium, which adopts the following technical solutions:
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of a method of orchestration of functions as described above.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
according to the function arranging method, preset configuration information is obtained, and a branching rule and a visualization component corresponding to each atomic service are configured according to the preset configuration information; when an arranging instruction carrying a function parameter is received, determining a target branch rule corresponding to the arranging instruction in the branch rule according to the function parameter, and determining a target visualization component corresponding to the arranging instruction in the visualization component; and the target function main body is generated according to the target branch rule and the target visualization component, and the target function main body is displayed at the user end corresponding to the arrangement instruction. According to the method and the system, the distribution rules and the corresponding visual components of each atomic service are configured in advance in a standardized manner, one-key arrangement and visual display of the new function are realized in the process of customizing the informatization system, so that the development efficiency of the new function is greatly improved, the research and development threshold is reduced, and the product quality is guaranteed.
Drawings
For a clearer description of the solution in the present application, a brief description will be given below of the drawings that are needed in the description of the embodiments of the present application, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a method of orchestration according to the present application;
FIG. 3 is a schematic diagram of one embodiment of a functional orchestration device according to the present application;
FIG. 4 is a schematic structural diagram of one embodiment of a computer device according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to better understand the technical solutions of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the function scheduling method provided in the embodiments of the present application is generally executed by a server, and accordingly, the function scheduling device is generally disposed in the server.
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.
With continued reference to FIG. 2, a flow chart of one embodiment of a method of functional orchestration according to the present application is shown. The function arrangement method comprises the following steps:
Step S201, obtaining preset configuration information, and configuring a branching rule and a visualization component corresponding to each atomic service according to the preset configuration information;
it should be noted that the electronic device (e.g., the server shown in fig. 1) on which the function scheduling method operates may receive or transmit data through a wired connection or a wireless connection. The wireless connection may include, but is not limited to, 3G/4G connections, wiFi connections, bluetooth connections, wiMAX connections, zigbee connections, UWB (ultra wideband) connections, and other now known or later developed wireless connection means.
In this embodiment, in order to perform the arrangement of the new function, first, preset configuration information needs to be acquired, and a branching rule and a visualization component corresponding to each atomic service are configured according to the preset configuration information. Specifically, the informatization system often needs to meet the service requirement of a user on a new function in the process of implementing customization, so that visual arrangement can be performed on the basis of numerous atomic services to obtain the new function, for this purpose, firstly, preset configuration information is acquired, the preset configuration information can be input by a manager, the preset configuration information can also be obtained by actively acquiring and analyzing related files, and then, branching rules and visual components corresponding to each atomic service can be configured according to the preset configuration information, for example, connection rules and expression rules are configured according to the preset configuration information to serve as branching rules, and gateways and nodes corresponding to each atomic service are configured according to the preset configuration information to serve as visual components. And forming a workflow corresponding to the function arrangement by utilizing the branching rules and the visual components, and finally obtaining a visual function main body corresponding to the new function.
Step S202, when an arranging instruction carrying a function parameter is received, determining a target branch rule corresponding to the arranging instruction in the branch rules according to the function parameter, and determining a target visualization component corresponding to the arranging instruction in the visualization component;
in this embodiment, after configuring the branching rule and the visualization component corresponding to each atomic service, when receiving the arrangement instruction carrying the function parameter, the target branching rule corresponding to the arrangement instruction is determined in the branching rule according to the function parameter, and the target visualization component corresponding to the arrangement instruction is determined in the visualization component. Specifically, when the manager needs to perform the arrangement of the new function, an arrangement instruction can be sent through the user side, the arrangement instruction carries the function parameter corresponding to the new function, after the arrangement instruction is received, the target branch rule for the function arrangement can be determined in the branch rule according to the function parameter, and the target visual component for the function arrangement is determined in the visual component.
Optionally, after configuring the branch rule and the visualization component corresponding to each atomic service according to the preset configuration information, a layout template library may be constructed according to the branch rule and the visualization component, so that when a layout instruction is received, a corresponding layout template may be directly read for the layout of a new function, and the efficiency of function layout is improved.
Step S203, performing function arrangement according to the target branching rule and the target visualization component, generating a target function main body, and displaying the target function main body at a user end corresponding to the arrangement instruction.
In this embodiment, after determining the target branch rule and the target visualization component corresponding to the arrangement instruction, the function arrangement may be performed according to the target branch rule and the target visualization component, so as to generate a target function main body, and the target function main body is displayed at the user end corresponding to the arrangement instruction. Specifically, since the configured branching rule may include, for example, a connection rule, an expression rule, and the like, the configured visualization component may include, for example, a gateway and a node corresponding to each atomic service, so that the target branching rule may include a target connection rule and a target expression rule, and the target visualization component may include a target gateway and a target node, after determining the target branching rule and the target visualization component, metadata export may be performed on the target gateway and the target node to obtain target metadata, and then, through compiling and concatenating the target connection rule, the target expression rule, and the target metadata, a workflow of function arrangement may be obtained, and accordingly, a visual function model may be established, and finally, the visual function model may be displayed as a target function body at a user end corresponding to the compiling instruction, to implement visualization of function arrangement.
Optionally, after the target functional main body is obtained, abnormality detection can be performed on the target functional main body to determine whether an abnormality problem exists, and if the abnormality problem exists, prompt needs to be performed at the user end, so that the manager can process in time.
According to the method and the system, the distribution rules and the corresponding visual components of each atomic service are configured in advance in a standardized manner, one-key arrangement and visual display of the new function are realized in the process of customizing the informatization system, so that the development efficiency of the new function is greatly improved, the research and development threshold is reduced, and the product quality is guaranteed.
In some optional implementations of this embodiment, the target branching rule includes a target connection rule and a target expression rule, the target visualization component includes a target gateway and a target node, the step of performing function arrangement according to the target branching rule and the target visualization component, generating a target function body, and displaying the target function body at a user end corresponding to the arrangement instruction includes:
performing metadata export on the target gateway and the target node to obtain target metadata;
compiling and concatenating according to the target connection rule, the target expression rule and the target metadata to establish a visual function model;
And displaying the visual function model at the user side as the target function main body.
In this embodiment, the target branch rule includes a target connection rule and a target expression rule, the target visualization component includes a target gateway and a target node, after determining the target branch rule and the target visualization component according to the function parameters carried by the scheduling instruction, metadata export can be performed on the target gateway and the target node to obtain target metadata, and then compiling and concatenating are performed according to the target connection rule, the target expression rule and the target metadata to build a visual function model, so that the visual function model is displayed as a target function main body at a user end corresponding to the scheduling instruction. Specifically, in the configured branching rule and the visualization component, the configured branching rule may include a connection rule and an expression rule, in the configured visualization component may include a gateway and a node corresponding to each atomic service, and each gateway and node may be connected in series by using the connection rule, and expressions between different gateways and nodes are determined by using the expression rule, so as to form different functionally-arranged workflows, so after determining the target connection rule, the target expression rule, the target gateway and the target node, metadata of the target gateway and the target node may be derived as target metadata, and then compiling and concatenating are performed according to the target expression rule, the target expression rule and the target metadata to obtain a target-arranged workflow, and then performing visual modeling on the target-arranged workflow to obtain a visual functional model, and displaying the visual functional model as a target functional body at a user end corresponding to the compiling instruction.
According to the method and the device, the specific branching rules and the visual components are compiled and connected in series, so that the functional main body of the new function meeting the demand of the arrangement instruction is obtained, one-key arrangement and visual display of the new function are realized in the customization process of the informatization system, and the development efficiency of the new function is greatly improved.
In some optional implementations, the step of compiling and concatenating according to the target connection rule, the target expression rule, and the target metadata to build the visual function model includes:
compiling and concatenating according to the target expression rule, the target expression rule and the target metadata to obtain a target arranging workflow;
and performing visual modeling on the target arrangement workflow to obtain the visual functional model.
In this embodiment, metadata is derived from the target gateway and the target node, and after target metadata is obtained, compiling and concatenating may be performed according to the target expression rule, and the target metadata to obtain a target orchestration workflow, and then visual modeling is performed on the target orchestration workflow to obtain a visual functional model. Specifically, the object orchestration workflow may be an ASW (Application Service Workflow, application and service orchestration workflow), and the object orchestration workflow obtained by compiling and concatenating the object expression rule, and the object metadata may represent a front-end framework and a back-end framework of a new function to be orchestrated, and in the compiling and concatenating process, parameters may be obtained from: a. system variables: current time, current user and current organization, etc.; b. orchestration context: metadata information such as current arrangement definition, node definition, rule definition and the like; c. the orchestration variables: variable in the whole arranging service flow is penetrated, and each link can be dynamically adjusted; d. business function: invoking a function set, characteristics, actions, scenes, functions and the like in the platform to perform conversion; e. custom coding: the custom function is bound, and then the function is called for conversion. After the target arranging workflow is obtained, the target arranging workflow is subjected to visual modeling, and a visual functional model can be obtained, and then the visual functional model can be used as a target functional main body and displayed.
According to the method, the workflow corresponding to the function arrangement is obtained through compiling and connecting in series of the specific connection rules, the expression rules and the metadata, and then the workflow is subjected to visual modeling, so that one-key arrangement and visual display of the new function are realized in the customization implementation process of the informatization system, the development efficiency of the new function is improved, the research and development threshold is reduced, and the product quality is guaranteed.
In some alternative implementations, the branching rules include connection rules and expression rules, the visualization component includes a gateway and a node, the gateway includes a single gateway, a multi-path gateway, a parallel gateway, a loop gateway, and a transaction gateway, and the node includes a start node, an end node, an anomaly node, a scene node, a function node, a service node, an action node, a child orchestration node, and a custom script node.
In this embodiment, the configured branching rule includes a connection rule and an expression rule, the configured visualization component includes a gateway and a node corresponding to each atomic service, and the gateway includes a single gateway, a multi-path gateway, a parallel gateway, a loop gateway, and a transaction gateway, and the node includes a start node, an end node, an anomaly node, a scene node, a function node, a service node, an action node, a child orchestration node, and a custom script node. Specifically, after the target arranging workflow obtained by compiling and concatenating the target expression rule, the target expression rule and the target metadata is subjected to visual modeling to obtain a visual function model, the model comprises all target gateways and target nodes, the target gateways and the target nodes are connected according to the target connecting rule, and expressions executed between the target gateways and the target nodes are determined according to the expression rule.
According to the method and the device, the diversified branch rules and the visualization components are preconfigured, so that non-research personnel can obtain different new functions through arrangement in the customization process of the informatization system, the diversity of function arrangement is improved, the research and development threshold is reduced, and the product quality is guaranteed.
In some optional implementations, after the step of obtaining the preset configuration information and configuring the branching rule and the visualization component corresponding to each atomic service according to the preset configuration information, the method further includes:
generating each function arrangement template according to the branching rules and the visualization component;
and constructing an arrangement template library according to each function arrangement template.
In this embodiment, after configuring the branching rule and the visualization component corresponding to each atomic service, each function layout template may be generated according to the branching rule and the visualization component, and then a layout template library may be constructed according to each function layout template, for example, the visualization component includes a gateway and a node corresponding to each atomic service, and the branching rule includes a connection rule and an expression rule, and then different gateways and nodes may be connected in series through the connection rule, and different expressions may be set through the expression rule, so as to obtain each function layout template, and then a layout template library may be constructed according to each function layout template, so that when the function is laid out later, a specific function layout template may be extracted from the layout template library through a layout instruction, and modified on the basis, so as to obtain the target function main body.
The method and the system construct the arrangement template library by using the configured branching rules and the visualization components corresponding to the atomic services, so that the new functions can be arranged by one key in the customization implementation process of the informatization system, the development efficiency of the new functions is greatly improved, the research and development threshold is reduced, and the product quality is ensured.
In some optional implementations, after the step of generating the target function body according to the target branching rule and the target visualization component, the method further includes:
performing anomaly detection on the target functional main body to determine whether an anomaly point exists;
if the abnormal point exists, marking the abnormal point to obtain abnormal prompt information, and displaying the abnormal prompt information at the user side;
and if the abnormal point does not exist, displaying prompt information that no abnormality exists at the user side.
In this embodiment, after the target function main body is generated, abnormality detection is further required for the target function main body to determine whether an abnormal point exists; if the abnormal points exist, marking the abnormal points to obtain abnormal prompt information, and displaying the abnormal prompt information at a user end corresponding to the compiling instruction; if the abnormal point does not exist, displaying the prompt information that the abnormality does not exist at the user side corresponding to the compiling instruction. Specifically, after the target function main body is obtained through function arrangement, whether an abnormality exists is detected, whether an abnormality point exists or not can be determined through an abnormality capturing and retrying mechanism by keeping a mode of verifying and simulating operation, and because the target function main body is visual, if the abnormality point exists, the abnormality point can be marked directly, corresponding abnormality prompt information is generated, the abnormality prompt information is displayed at a user end corresponding to the compiling instruction, and if the abnormality point does not exist, the abnormality prompt information is displayed at the user end corresponding to the compiling instruction.
According to the method and the device, through the abnormality detection after the function arrangement, the new function is arranged by one key and the visual display is realized, so that the abnormal problem is avoided, the error is avoided, the product quality is ensured, and the function arrangement efficiency is improved.
In some optional implementations, the step of detecting the abnormality of the target functional body, and determining whether the abnormal point exists includes:
and performing storage check and simulation operation on the target functional main body, and determining whether the abnormal point exists or not through an abnormal capturing and retry mechanism.
In this embodiment, after the target function main body is generated, it is further required to perform anomaly detection on the target function main body, and may perform save check and simulation operation on the target function main body, and determine whether an anomaly exists through an anomaly capturing and retry mechanism. Specifically, the target function main body comprises a complete front end frame and a complete back end frame, after the target function main body is obtained, the target function main body can be stored and backed up, then verification and simulation operation are carried out on the target function main body, whether any gateway or node in the front end frame and the back end frame has abnormal points or not is determined through an abnormal capturing and retrying mechanism, if the abnormal points exist, the abnormal points are captured and retried, and when the abnormal points are captured, corresponding abnormal prompt information can be generated and displayed at a user end corresponding to the compiling instruction.
According to the method and the device, through reasonable anomaly capturing and retry mechanisms, in the process of realizing one-key arrangement and visual display of new functions, the mechanism is ensured to find anomalies and prompt, so that error leakage is avoided, the product quality is ensured, and the function arrangement efficiency is improved.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures 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 of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to fig. 3, as an implementation of the method shown in fig. 2, the present application provides an embodiment of a function scheduling apparatus, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 3, the function scheduling apparatus 300 according to the present embodiment includes: configuration module 301, determination module 302, and orchestration module 303. Wherein:
the configuration module 301 is configured to obtain preset configuration information, and configure a branching rule and a visualization component corresponding to each atomic service according to the preset configuration information;
the determining module 302 is configured to determine, when a layout instruction carrying a function parameter is received, a target branch rule corresponding to the layout instruction in the branch rules according to the function parameter, and determine, in the visualization component, a target visualization component corresponding to the layout instruction;
and the arrangement module 303 is configured to perform function arrangement according to the target branching rule and the target visualization component, generate a target function main body, and display the target function main body at a user end corresponding to the arrangement instruction.
According to the function arrangement device, the visual components corresponding to the distribution rules and the atomic services are preconfigured in a standardized manner, so that one-key arrangement and visual display of a new function are realized in the process of customizing the informatization system, the development efficiency of the new function is greatly improved, the research and development threshold is reduced, and the product quality is guaranteed.
In some optional implementations of this embodiment, the target branching rule includes a target connection rule and a target expression rule, the target visualization component includes a target gateway and a target node, and the orchestration module 303 is further configured to:
performing metadata export on the target gateway and the target node to obtain target metadata;
compiling and concatenating according to the target connection rule, the target expression rule and the target metadata to establish a visual function model;
and displaying the visual function model at the user side as the target function main body.
According to the function arrangement device, the function main body of the new function meeting the arrangement instruction requirement is obtained by compiling and connecting the specific branch rules and the visual components in series, one-key arrangement and visual display of the new function are realized in the customization process of the informatization system, and therefore the development efficiency of the new function is greatly improved.
In some optional implementations of this embodiment, the aforementioned orchestration module 303 is further configured to:
compiling and concatenating according to the target expression rule, the target expression rule and the target metadata to obtain a target arranging workflow;
And performing visual modeling on the target arrangement workflow to obtain the visual functional model.
According to the function arrangement device, the workflow corresponding to the function arrangement is obtained through compiling and connecting the specific connection rules, the expression rules and the metadata in series, and then the workflow is subjected to visual modeling, so that one-key arrangement and visual display of a new function are realized in the process of customizing the informatization system, the development efficiency of the new function is improved, the research and development threshold is reduced, and the product quality is guaranteed.
In some optional implementations of this embodiment, the branching rules include connection rules and expression rules, the visualization component includes a gateway and a node, the gateway includes a single gateway, a multi-path gateway, a parallel gateway, a loop gateway, and a transaction gateway, and the node includes a start node, an end node, an anomaly node, a scene node, a function node, a service node, an action node, a child orchestration node, and a custom script node.
According to the function arrangement device, through the pre-configured diversified branch rules and the visual components, non-research personnel can obtain different new functions through arrangement in the process of customizing the informatization system, so that the diversity of function arrangement is improved, the research and development threshold is reduced, and the product quality is guaranteed.
In some optional implementations of this embodiment, the function orchestration device 300 further serves to:
generating each function arrangement template according to the branching rules and the visualization component;
and constructing an arrangement template library according to each function arrangement template.
According to the function arranging device, the arranged branch rules and the visual components corresponding to the atomic services are utilized to construct an arranging template library, so that new functions can be arranged by one key in the customization process of the informatization system, the development efficiency of the new functions is greatly improved, the research and development threshold is reduced, and the product quality is guaranteed.
In some optional implementations of this embodiment, the function orchestration device 300 further serves to:
performing anomaly detection on the target functional main body to determine whether an anomaly point exists;
if the abnormal point exists, marking the abnormal point to obtain abnormal prompt information, and displaying the abnormal prompt information at the user side;
and if the abnormal point does not exist, displaying prompt information that no abnormality exists at the user side.
The utility model provides a function arrangement device through the anomaly detection after the function arrangement, guarantees that it does not appear unusual problem after realizing the one-key arrangement and the visual show of new function to avoid appearing the dislocation, ensured product quality, improved the efficiency of function arrangement.
In some optional implementations of this embodiment, the function orchestration device 300 further serves to:
and performing storage check and simulation operation on the target functional main body, and determining whether the abnormal point exists or not through an abnormal capturing and retry mechanism.
The function arrangement device provided by the application ensures that the mechanism can find abnormality and prompt in the process of realizing one-key arrangement and visual display of new functions through reasonable abnormality capturing and retry mechanisms, thereby avoiding error leakage, ensuring the product quality and improving the function arrangement efficiency.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 4 comprises a memory 41, a processor 42, a network interface 43 communicatively connected to each other via a system bus. It should be noted that only computer device 4 having components 41-43 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 41 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, 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 computer device 4. Of course, the memory 41 may also comprise both an internal memory unit of the computer device 4 and an external memory device. In this embodiment, the memory 41 is typically used for storing an operating system and various types of application software installed on the computer device 4, such as program codes of a function scheduling method. Further, the memory 41 may be used to temporarily store various types of data that have been output or are to be output.
The processor 42 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to execute the program code stored in the memory 41 or process data, such as the program code for executing the function scheduling method.
The network interface 43 may comprise a wireless network interface or a wired network interface, which network interface 43 is typically used for establishing a communication connection between the computer device 4 and other electronic devices.
The present application also provides another embodiment, namely, a computer-readable storage medium storing a function programming executable by at least one processor to cause the at least one processor to perform the steps of the function programming method as described above.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
It is apparent that the embodiments described above are only some embodiments of the present application, but not all embodiments, the preferred embodiments of the present application are given in the drawings, but not limiting the patent scope of the present application. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a more thorough understanding of the present disclosure. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing, or equivalents may be substituted for elements thereof. All equivalent structures made by the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the protection scope of the application.

Claims (10)

1. A method of functionally orchestrating comprising the steps of:
acquiring preset configuration information, and configuring a branching rule and a visualization component corresponding to each atomic service according to the preset configuration information;
when an arranging instruction carrying a function parameter is received, determining a target branch rule corresponding to the arranging instruction in the branch rule according to the function parameter, and determining a target visualization component corresponding to the arranging instruction in the visualization component;
And performing function arrangement according to the target branch rule and the target visualization component, generating a target function main body, and displaying the target function main body at a user end corresponding to the arrangement instruction.
2. The function arranging method according to claim 1, wherein the target branch rule includes a target connection rule and a target expression rule, the target visualization component includes a target gateway and a target node, the step of performing function arrangement according to the target branch rule and the target visualization component to generate a target function main body, and displaying the target function main body at a user end corresponding to the arrangement instruction specifically includes:
performing metadata export on the target gateway and the target node to obtain target metadata;
compiling and concatenating according to the target connection rule, the target expression rule and the target metadata to establish a visual function model;
and displaying the visual function model at the user side as the target function main body.
3. The function programming method according to claim 2, wherein the step of compiling and concatenating according to the target connection rule, the target expression rule, and the target metadata to build a visual function model specifically includes:
Compiling and concatenating according to the target expression rule, the target expression rule and the target metadata to obtain a target arranging workflow;
and performing visual modeling on the target arrangement workflow to obtain the visual functional model.
4. The method of claim 3, wherein the branching rules include connection rules and expression rules, the visualization component includes a gateway and a node, the gateway includes a single gateway, a multi-path gateway, a parallel gateway, a loop gateway, and a transaction gateway, and the node includes a start node, an end node, an anomaly node, a scene node, a function node, a service node, an action node, a child orchestration node, and a custom script node.
5. The function arranging method according to claim 1, wherein after the step of obtaining preset configuration information and configuring the branching rule and the visualization component corresponding to each atomic service according to the preset configuration information, the method further comprises:
generating each function arrangement template according to the branching rules and the visualization component;
and constructing an arrangement template library according to each function arrangement template.
6. The function scheduling method according to any one of claims 1 to 5, further comprising, after the step of generating a target function body by performing function scheduling according to the target branching rule and the target visualization component:
performing anomaly detection on the target functional main body to determine whether an anomaly point exists;
if the abnormal point exists, marking the abnormal point to obtain abnormal prompt information, and displaying the abnormal prompt information at the user side;
and if the abnormal point does not exist, displaying prompt information that no abnormality exists at the user side.
7. The function scheduling method according to claim 6, wherein the step of performing anomaly detection on the target function body to determine whether an anomaly exists, specifically comprises:
and performing storage check and simulation operation on the target functional main body, and determining whether the abnormal point exists or not through an abnormal capturing and retry mechanism.
8. A function scheduling apparatus, comprising:
the configuration module is used for acquiring preset configuration information, and configuring a branching rule and a visualization component corresponding to each atomic service according to the preset configuration information;
The determining module is used for determining a target branch rule corresponding to the arranging instruction in the branch rule according to the functional parameter when the arranging instruction carrying the functional parameter is received, and determining a target visualization component corresponding to the arranging instruction in the visualization component;
and the arrangement module is used for carrying out function arrangement according to the target branch rule and the target visualization component, generating a target function main body and displaying the target function main body at a user end corresponding to the arrangement instruction.
9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the functionally orchestration method according to any one of claims 1 to 7 when the computer program is executed.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the functionally orchestration method according to any one of claims 1 to 7.
CN202311353652.9A 2023-10-18 2023-10-18 Function arrangement method, device, computer equipment and storage medium Pending CN117527561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311353652.9A CN117527561A (en) 2023-10-18 2023-10-18 Function arrangement method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311353652.9A CN117527561A (en) 2023-10-18 2023-10-18 Function arrangement method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117527561A true CN117527561A (en) 2024-02-06

Family

ID=89759614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311353652.9A Pending CN117527561A (en) 2023-10-18 2023-10-18 Function arrangement method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117527561A (en)

Similar Documents

Publication Publication Date Title
CN113435846A (en) Business process arranging method and device, computer equipment and storage medium
CN111552633A (en) Interface abnormal call testing method and device, computer equipment and storage medium
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN111444171B (en) Method, device and storage medium for generating value-added tax payment statement
CN112860662B (en) Automatic production data blood relationship establishment method, device, computer equipment and storage medium
CN116974927A (en) Performance automatic test method, system, computer equipment and storage medium
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
CN114626352B (en) Report automatic generation method, device, computer equipment and storage medium
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
CN110765610B (en) PDM integration method, PDM integration device, computer equipment and storage medium
CN117527561A (en) Function arrangement method, device, computer equipment and storage medium
CN114625372A (en) Automatic component compiling method and device, computer equipment and storage medium
CN114328214B (en) Efficiency improving method and device for interface test case of reporting software and computer equipment
CN117271321A (en) Service automation test method, system, computer equipment and storage medium
CN115080045A (en) Link generation method and device, computer equipment and storage medium
CN116467145A (en) Page performance data acquisition method and device, computer equipment and storage medium
CN116860644A (en) Automatic test method, device, computer equipment and storage medium
CN117114618A (en) To-be-handled item follow-up method, system, computer equipment and storage medium
CN117395309A (en) Data reporting method, device, computer equipment and storage medium
CN117827661A (en) Code grammar checking method, system, computer device and storage medium
CN115544419A (en) Point burying information acquisition method and device, computer equipment and storage medium
CN116795882A (en) Data acquisition method, device, computer equipment and storage medium
CN117111957A (en) Code generation method, device, computer equipment and storage medium
CN113886240A (en) Visual regression testing method and device, computer equipment and storage medium
CN116643884A (en) Data computing method, device, equipment and storage medium based on rule engine

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