[go: up one dir, main page]

CN118644371A - Digital government affairs operating system, service process construction method, equipment and media - Google Patents

Digital government affairs operating system, service process construction method, equipment and media Download PDF

Info

Publication number
CN118644371A
CN118644371A CN202411106410.4A CN202411106410A CN118644371A CN 118644371 A CN118644371 A CN 118644371A CN 202411106410 A CN202411106410 A CN 202411106410A CN 118644371 A CN118644371 A CN 118644371A
Authority
CN
China
Prior art keywords
service
business
service flow
flow
api
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
CN202411106410.4A
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 Electronics Data Industry Group Co ltd
Original Assignee
China Electronics Data Industry 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 Electronics Data Industry Group Co ltd filed Critical China Electronics Data Industry Group Co ltd
Priority to CN202411106410.4A priority Critical patent/CN118644371A/en
Publication of CN118644371A publication Critical patent/CN118644371A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a digital government operating system, a method, equipment and a medium for constructing a service flow, wherein the system comprises: the system comprises a resource management module and a task management module, wherein the resource management module is used for generating a business service flow and a service flow file and a parameter form corresponding to the business service flow according to a service resource API selected by a user, one service resource API is used as one service flow node in the business service flow, and the service flow file records the node information of each service flow node in the business service flow and the sequence relation between the service flow nodes; and the task management module is used for acquiring API call parameters filled in the parameter form by the user when the user calls the business service flow, and calling the service resource API based on the API call parameters and the service flow file. The scheme realizes cross-platform and cross-system data integration, breaks the data island and realizes information sharing.

Description

数字政务操作系统、服务流程的构建方法、设备及介质Digital government affairs operating system, service process construction method, equipment and media

技术领域Technical Field

本公开涉及计算机技术领域,尤其涉及一种数字政务操作系统、服务流程的构建方法、设备及介质。The present disclosure relates to the field of computer technology, and in particular to a digital government affairs operating system, a method for constructing a service process, a device and a medium.

背景技术Background Art

目前,各地政务服务大多采取线上线下相结合的方式,在使用线上平台进行服务时,需要通过编码的方式构建服务流程,流程构建难度大,并且构建好的服务流程固定,面对政策变更或流程调整时需要进行编码层面的修改,导致无法及时做出响应。另外,各部门都掌握一定的服务资源,但各部门的服务资源不互通,难以支撑跨部门的服务事项,存在“数据孤岛”现象。At present, most local government services adopt a combination of online and offline methods. When using online platforms for services, it is necessary to build service processes through coding. The process construction is difficult, and the built service process is fixed. When faced with policy changes or process adjustments, coding level modifications are required, resulting in an inability to respond in a timely manner. In addition, each department has certain service resources, but the service resources of each department are not interoperable, making it difficult to support cross-departmental service matters, and there is a "data island" phenomenon.

发明内容Summary of the invention

为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例提供了一种数字政务操作系统、服务流程的构建方法、设备及介质。In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide a method, device and medium for constructing a digital government affairs operating system and service process.

根据本公开的一方面,提供了一种数字政务操作系统,包括:资源管理模块和任务管理模块;According to one aspect of the present disclosure, there is provided a digital government affairs operating system, comprising: a resource management module and a task management module;

所述资源管理模块用于根据用户选择的服务资源API,生成业务服务流程及所述业务服务流程对应的服务流程文件和参数表单,一个服务资源API作为所述业务服务流程中的一个服务流程节点,所述服务流程文件记录所述业务服务流程中每个服务流程节点的节点信息和所述服务流程节点之间的顺序关系;The resource management module is used to generate a business service process and a service process file and parameter form corresponding to the business service process according to the service resource API selected by the user. A service resource API is used as a service process node in the business service process. The service process file records the node information of each service process node in the business service process and the sequential relationship between the service process nodes;

所述任务管理模块用于在所述用户调用所述业务服务流程时,获取所述用户在所述参数表单中填写的API调用参数,基于所述API调用参数和所述服务流程文件进行服务资源API的调用。The task management module is used to obtain the API call parameters filled in by the user in the parameter form when the user calls the business service process, and call the service resource API based on the API call parameters and the service process file.

根据本公开的另一方面,提供了一种服务流程的构建方法,应用于如前述一方面所述的数字政务操作系统,所述方法包括:According to another aspect of the present disclosure, a method for constructing a service process is provided, which is applied to the digital government affairs operating system as described in the above aspect, and the method includes:

接收用户通过所述数字政务操作系统的操作页面选择的服务资源API;Receiving a service resource API selected by a user through an operation page of the digital government affairs operating system;

将一个所述服务资源API作为一个服务流程节点,生成业务服务流程及所述业务服务流程对应的服务流程文件和参数表单,所述服务流程文件记录所述业务服务流程中每个服务流程节点的节点信息和所述服务流程节点之间的顺序关系;Taking one of the service resource APIs as a service process node, generating a business service process and a service process file and a parameter form corresponding to the business service process, wherein the service process file records the node information of each service process node in the business service process and the sequence relationship between the service process nodes;

在所述用户调用所述业务服务流程时,获取所述用户在所述参数表单中填写的API调用参数;When the user calls the business service process, obtaining the API call parameters filled in by the user in the parameter form;

基于所述API调用参数和所述服务流程文件进行服务资源API的调用。A service resource API is called based on the API call parameters and the service process file.

根据本公开的另一方面,提供了一种电子设备,包括:According to another aspect of the present disclosure, there is provided an electronic device, comprising:

处理器;以及Processor; and

存储程序的存储器,Memory for storing programs,

其中,所述程序包括指令,所述指令在由所述处理器执行时使所述处理器执行根据前述一方面所述的服务流程的构建方法。The program includes instructions, which, when executed by the processor, enable the processor to execute the method for constructing the service process according to the aforementioned aspect.

根据本公开的另一方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据前述一方面所述的服务流程的构建方法。According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method for constructing a service process according to the aforementioned aspect.

根据本公开的另一方面,提供了一种计算机程序产品,包括计算机程序,其中,所述计算机程序在被处理器执行时实现前述一方面所述的服务流程的构建方法。According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements the method for constructing a service process described in the aforementioned aspect when executed by a processor.

本公开实施例中提供的一个或多个技术方案,资源管理模块根据用户选择的服务资源API,生成业务服务流程及业务服务流程对应的服务流程文件和参数表单,一个服务资源API作为业务服务流程中的一个服务流程节点,服务流程文件记录业务服务流程中每个服务流程节点的节点信息和服务流程节点之间的顺序关系;任务管理模块在用户调用业务服务流程时,获取用户在参数表单中填写的API调用参数,基于API调用参数和服务流程文件进行服务资源API的调用。采用本公开的方案,通过将不同的政务服务资源统一封装成服务资源API,实现了跨平台、跨系统的数据整合,方便了不同服务系统之间的互联互通,打破了数据孤岛,实现了信息共享,并且,用户仅需选择所需的服务资源API即可构建业务服务流程,降低了流程构建难度,当需要修改服务流程时,仅需调整服务资源API即可,无需修改底层编码,降低了流程修改的难度和时间成本,有利于加快业务响应速度。One or more technical solutions provided in the embodiments of the present disclosure are as follows: the resource management module generates a business service process and a service process file and a parameter form corresponding to the business service process according to the service resource API selected by the user; a service resource API is used as a service process node in the business service process; the service process file records the node information of each service process node in the business service process and the sequential relationship between the service process nodes; when the user calls the business service process, the task management module obtains the API call parameters filled in by the user in the parameter form, and calls the service resource API based on the API call parameters and the service process file. By adopting the solution of the present disclosure, by uniformly encapsulating different government service resources into a service resource API, cross-platform and cross-system data integration is realized, the interconnection between different service systems is facilitated, the data island is broken, and information sharing is realized, and the user only needs to select the required service resource API to build the business service process, which reduces the difficulty of process construction. When the service process needs to be modified, only the service resource API needs to be adjusted, and there is no need to modify the underlying coding, which reduces the difficulty and time cost of process modification and is conducive to speeding up business response.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

在下面结合附图对于示例性实施例的描述中,本公开的更多细节、特征和优点被公开,在附图中:Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

图1示出了根据本公开一示例性实施例的数字政务操作系统的结构示意图;FIG1 shows a schematic diagram of the structure of a digital government affairs operating system according to an exemplary embodiment of the present disclosure;

图2示出了根据本公开另一示例性实施例的数字政务操作系统的结构示意图;FIG2 shows a schematic structural diagram of a digital government affairs operating system according to another exemplary embodiment of the present disclosure;

图3为本公开一具体实施例提供的数字政务操作系统的架构示意图;FIG3 is a schematic diagram of the architecture of a digital government affairs operating system provided by a specific embodiment of the present disclosure;

图4为本公开一示例性实施例提供的服务流程的构建方法的流程示意图。FIG. 4 is a flow chart of a method for constructing a service process provided by an exemplary embodiment of the present disclosure.

具体实施方式DETAILED DESCRIPTION

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and/or in parallel. In addition, the method embodiments may include additional steps and/or omit the steps shown. The scope of the present disclosure is not limited in this respect.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

在解释说明本公开的数字政务操作系统、服务流程的构建方法、设备及介质之前,先对本公开可能涉及的中英文名词进行解释说明如下:Before explaining the digital government affairs operating system, service process construction method, device and medium disclosed in the present invention, the Chinese and English terms that may be involved in the present invention are explained as follows:

API:应用程序编程接口,英文全称为Application Programming Interface,API作为软件组件之间的桥梁,允许不同的程序或服务之间进行交互。外部服务相关的应用资源需要通过封装成API的形式,接入到本公开方案的数字政务操作系统中,实现资源统一管理。API: Application Programming Interface, the full name in English is Application Programming Interface. API acts as a bridge between software components, allowing different programs or services to interact with each other. Application resources related to external services need to be encapsulated into APIs and connected to the digital government operating system of the disclosed solution to achieve unified resource management.

XML:可扩展标记语言,英文全称为Extensible Markup Language,是一种用于存储和传输数据的标记语言,类似于HTML。本公开的方案通过XML模式,定义业务服务流程和服务资源API节点的数据结构和API间的顺序关系,每个业务服务流程对应一个XML文件。XML: Extensible Markup Language, also known as Extensible Markup Language, is a markup language used to store and transmit data, similar to HTML. The disclosed solution defines the data structure of business service processes and service resource API nodes and the sequential relationship between APIs through XML mode, and each business service process corresponds to an XML file.

目前,各地政务服务大多采取线上线下相结合的方式,线上平台每个服务事项具有固定的服务流程,需要人工梳理事件清单,并且,面对政策变更或流程调整时需要进行编码层面的修改,系统流程无法迅速、及时地做出响应。另外,现有系统的流程编排智能化程度不高,需要大量人工干涉实现服务流程的构建和业务办理。各部门服务资源不互通,难以支撑跨部门服务事项,存在数据孤岛的现象,也存在数据和应用紧耦合,数据价值释放不充分,数据安全保障能力的发展有待创新突破等问题。At present, most local government services adopt a combination of online and offline methods. Each service item on the online platform has a fixed service process, which requires manual sorting of the event list. In addition, when faced with policy changes or process adjustments, coding-level modifications are required, and the system process cannot respond quickly and timely. In addition, the process arrangement of the existing system is not highly intelligent, and a large amount of manual intervention is required to realize the construction of service processes and business processing. The service resources of various departments are not interoperable, making it difficult to support cross-departmental service items. There is a phenomenon of data islands, tight coupling of data and applications, insufficient release of data value, and the development of data security capabilities needs innovative breakthroughs.

基于上述问题,本公开提供了一种数字政务操作系统及服务流程的构建方法,可以实现服务流程的自定义编排和智能化构建,减少人工参与,提高系统的响应能力。本公开实施例提供的数字政务操作系统将传统操作系统中的资源管理、信息管理、任务管理和资源调度能力映射到政务服务场景中,构建软件系统实现政务服务中底层的业务资源、数据资源、网络计算等基础资源以API或SDK的方式统一接入和纳管,实现全域资源调度和多任务协同。数字政务操作系统基于Spring Cloud微服务框架,使用SpringBoot、SpringCloudHoxton、MybatisPlus等框架和技术搭建,通过服务注册中心Nacos进行服务发现、配置和管理。数字政务操作系统的内核由任务管理、进程管理、资源管理三个主要功能模块组成,另外包含服务监控、服务分析等服务治理功能,构建政务服务的闭环路径。其中,Based on the above problems, the present disclosure provides a method for constructing a digital government affairs operating system and service process, which can realize the customized orchestration and intelligent construction of service processes, reduce manual participation, and improve the responsiveness of the system. The digital government affairs operating system provided by the embodiment of the present disclosure maps the resource management, information management, task management and resource scheduling capabilities in the traditional operating system to the government affairs service scenario, and constructs a software system to realize the unified access and management of the underlying business resources, data resources, network computing and other basic resources in government affairs services in the form of API or SDK, so as to realize global resource scheduling and multi-task collaboration. The digital government affairs operating system is based on the Spring Cloud microservice framework, and is built using frameworks and technologies such as SpringBoot, SpringCloudHoxton, and MybatisPlus, and performs service discovery, configuration and management through the service registration center Nacos. The kernel of the digital government affairs operating system consists of three main functional modules: task management, process management, and resource management. It also includes service governance functions such as service monitoring and service analysis to build a closed-loop path for government affairs services. Among them,

任务管理负责请求接收、任务判定和单个任务在各节点的流转,包括如何在用户的应用程序中建立任务、删除任务、改变任务的优先级、挂起和恢复任务,以及获得有关任务的信息;用户可通过任务管理模块发起指定业务流程场景的任务,完成对应流程和任务处理。任务管理中包括任务列表、任务调度器、切面处理器、任务健康管理器和任务安全审计,其中,任务列表用于多个任务来临时对任务进行初步判定,包括任务的优先级判定和常规/非常规请求判定,主要功能包括任务接收、任务优先级管理、队列策略配置、任务统计分析等;任务调度器用于统筹不同任务的执行过程,主要功能包括异步处理、同步处理、并发控制器、批处理器、中断处理、动态代理等;切面处理器负责对任务在调度服务时所需要的参数进行补全,主要功能包括前置处置、后置处置、异常处置、返回处置、环绕处置等;任务健康管理器负责对一个系统、应用程序或者服务的状态和性能进行实时监控、分析和报告,以便及时发现问题、快速定位和解决问题,确保系统的高可用性和稳定性。主要功能包括故障定位和监控报警等;任务安全审计用于进行日志记录实现安全性的审查和统计,主要功能包括日志管理、安全关联分析和数据采集解析等。Task management is responsible for request reception, task determination and the flow of a single task in each node, including how to create tasks, delete tasks, change task priorities, suspend and resume tasks in the user's application, and obtain information about tasks; users can initiate tasks for specified business process scenarios through the task management module to complete the corresponding process and task processing. Task management includes task lists, task schedulers, aspect processors, task health managers and task security audits. Among them, the task list is used to make preliminary judgments on tasks when multiple tasks arrive, including task priority determination and regular/unconventional request determination. The main functions include task reception, task priority management, queue strategy configuration, task statistics analysis, etc. The task scheduler is used to coordinate the execution process of different tasks. The main functions include asynchronous processing, synchronous processing, concurrent controllers, batch processors, interrupt processing, dynamic agents, etc. The aspect processor is responsible for completing the parameters required for tasks when scheduling services. The main functions include pre-processing, post-processing, exception processing, return processing, and surround processing. The task health manager is responsible for real-time monitoring, analysis and reporting of the status and performance of a system, application or service, so as to timely discover problems, quickly locate and solve problems, and ensure the high availability and stability of the system. The main functions include fault location and monitoring alarm; task safety audit is used to review and count log records for security, and its main functions include log management, security correlation analysis, and data collection and analysis.

进程管理负责多个子任务执行过程中的流转调度,主要包括进程干预器和进程纠错器,其中,进程干预器负责对多个子任务的执行顺序和状态进行干预,主要功能包括进程监控、进程暂停、进程终止和进程调控等;进程纠错器负责在子任务执行出现异常时进行处置,主要功能包括进程异常识别和进程异常处理等。用户通过进程管理可查看系统中的进程、判断服务器的健康状态,负责对多个子任务的执行顺序和状态进行干预。Process management is responsible for the flow scheduling during the execution of multiple subtasks, mainly including process intervention and process error correction. The process intervention is responsible for intervening in the execution order and status of multiple subtasks, and its main functions include process monitoring, process suspension, process termination and process regulation, etc. The process error correction is responsible for handling when abnormalities occur in the execution of subtasks, and its main functions include process abnormality identification and process abnormality handling, etc. Through process management, users can view the processes in the system, judge the health status of the server, and intervene in the execution order and status of multiple subtasks.

资源管理负责业务服务、数据服务以及资源服务的接入、适配、注册、管理和调度,主要包括备案服务中心、目录管理器、资源池虚拟器、动态装入器、服务驱动器和网络通信管理,其中,备案服务中心负责所有业务服务、数据服务、基础资源服务的注册、适配、接入、调度、监控、统计分析和绩效管理,主要功能包括服务备案、服务注册、服务限流、服务鉴权、服务绩效、服务标准、服务列表、服务审核、服务发布和服务监控等;目录管理器负责生成服务列表对应目录,同时对对应目录进行管理、修改、审核和发布,实现用户与各类服务事项的交互,主要功能包括目录梳理、下发管理、目录审核和已发布目录等;资源池虚拟器负责对服务所需资源进行动态创建和释放,主要功能包括资源池创建、资源池销毁、资源池配置和资源池自动扩缩等;动态装入器负责激活服务镜像,提供服务运行效率,主要功能包括全景镜像、镜像销毁、镜像恢复;服务驱动器负责各类服务接入备案服务中心时的适配,主要包括服务适配器和服务接口;网络通信管理负责实现数字政务操作系统的分布式部署;数据缓存盘负责生成各类常用数据的缓存资源,提高常用数据的访问效率。资源管理为服务供应商提供API配置入口,允许将接口名称、接口地址、接口描述、接口请求类型、接口协议类型、接口编码方式、请求参数、响应参数等信息作为输入将对应服务内容注册到该数字政务操作系统;同时支持进行服务流程编排,用户在页面中可查看已接入的各API节点,并通过拖拽的方式编辑节点间的先后顺序、串并联关系、参数设置等信息,配置完成后保存完成服务备案,已备案的服务通过管理员审核后,当前服务可被发布和用户调用。Resource management is responsible for the access, adaptation, registration, management and scheduling of business services, data services and resource services, mainly including filing service center, directory manager, resource pool virtualizer, dynamic loader, service driver and network communication management. Among them, the filing service center is responsible for the registration, adaptation, access, scheduling, monitoring, statistical analysis and performance management of all business services, data services and basic resource services. The main functions include service filing, service registration, service flow control, service authentication, service performance, service standards, service list, service review, service publishing and service monitoring, etc. The directory manager is responsible for generating the corresponding directory of the service list, and managing, modifying, reviewing and publishing the corresponding directory, so as to realize the user and The interaction of various service items, the main functions include catalog combing, distribution management, catalog review and published catalogs, etc.; the resource pool virtualizer is responsible for the dynamic creation and release of resources required for the service, the main functions include resource pool creation, resource pool destruction, resource pool configuration and resource pool automatic expansion and contraction, etc.; the dynamic loader is responsible for activating the service image and providing service operation efficiency, the main functions include panoramic image, image destruction and image recovery; the service driver is responsible for the adaptation of various services when they are connected to the filing service center, mainly including service adapters and service interfaces; network communication management is responsible for realizing the distributed deployment of the digital government operating system; the data cache disk is responsible for generating cache resources for various commonly used data and improving the access efficiency of commonly used data. Resource management provides an API configuration entry for service providers, allowing the interface name, interface address, interface description, interface request type, interface protocol type, interface encoding method, request parameters, response parameters and other information to be used as input to register the corresponding service content to the digital government operating system; it also supports service process orchestration, and users can view the connected API nodes on the page, and edit the sequence, series and parallel relationships, parameter settings and other information between nodes by dragging and dropping. After the configuration is completed, the service filing is saved. After the filed service is reviewed by the administrator, the current service can be published and called by users.

服务治理功能用于提供数据看板,从接口、服务等不同维度显示系统服务调用信息,提供不同时间段的统计数据,为数据分析提供支撑。The service governance function is used to provide a data dashboard, displaying system service call information from different dimensions such as interfaces and services, and providing statistical data for different time periods to support data analysis.

本方案通过制定统一的服务接口和协议,将不同的服务资源统一封装成API的形式,API服务资源标准化实现了跨平台、跨系统的数据整合,打破了数据孤岛,便于不同服务系统之间的互联互通,实现了信息共享。本方案提供自定义流程编排和服务资源管理,对于接入的API类型的服务资源,允许用户手动或通过智能化辅助的手段在页面端构建业务服务流程,增强了流程的规范性,减少了重复录入和手动处理,同时能够应对复杂的业务场景,提供套餐式的服务流程。This solution encapsulates different service resources into API form by formulating unified service interfaces and protocols. API service resource standardization realizes cross-platform and cross-system data integration, breaks down data silos, facilitates interconnection between different service systems, and realizes information sharing. This solution provides custom process orchestration and service resource management. For accessed API-type service resources, it allows users to build business service processes on the page manually or through intelligent assistance, which enhances the standardization of the process, reduces repeated entry and manual processing, and can cope with complex business scenarios and provide package-based service processes.

以下参照附图描述本公开提供的数字政务操作系统、服务流程的构建方法、设备及介质。图1示出了根据本公开一示例性实施例的数字政务操作系统的结构示意图,该数字政务操作系统可集成在电子设备中,所述电子设备包括电脑、手机、平板电脑等设备。The following describes the digital government affairs operating system, service process construction method, device and medium provided by the present disclosure with reference to the accompanying drawings. Figure 1 shows a schematic diagram of the structure of a digital government affairs operating system according to an exemplary embodiment of the present disclosure, which can be integrated in electronic devices, including computers, mobile phones, tablet computers and other devices.

如图1所示,该数字政务操作系统10包括资源管理模块110和任务管理模块120,其中,资源管理模块110用于根据用户选择的服务资源API,生成业务服务流程及业务服务流程对应的服务流程文件和参数表单,其中,一个服务资源API作为业务服务流程中的一个服务流程节点,服务流程文件记录业务服务流程中每个服务流程节点的节点信息和服务流程节点之间的顺序关系;任务管理模块120用于在用户调用业务服务流程时,获取用户在参数表单中填写的API调用参数,基于API调用参数和服务流程文件进行服务资源API的调用。As shown in Figure 1, the digital government operation system 10 includes a resource management module 110 and a task management module 120, wherein the resource management module 110 is used to generate a business service process and a service process file and parameter form corresponding to the business service process according to the service resource API selected by the user, wherein a service resource API serves as a service process node in the business service process, and the service process file records the node information of each service process node in the business service process and the sequential relationship between the service process nodes; the task management module 120 is used to obtain the API call parameters filled in by the user in the parameter form when the user calls the business service process, and call the service resource API based on the API call parameters and the service process file.

本实施例中,对于各类用户提供的政务服务资源(例如应用资源、数据资源、智能模型资源等),可以将这些政务服务资源基于Swagger规范统一封装成API的形式,实现服务资源的标准化,也就是说,一个服务资源被封装成一个服务资源API。通过将服务资源封装成API,为服务资源定义了清晰的接口规范,包括请求方式、统一资源定位符(UniformResource Locator,URL)、请求参数、请求头、请求体和响应格式。通过定义统一的服务资源标准,打通了部门间数据不互通的问题,以便服务接入系统后可以被正确调用。In this embodiment, for government service resources (such as application resources, data resources, intelligent model resources, etc.) provided by various types of users, these government service resources can be uniformly encapsulated into the form of APIs based on the Swagger specification to achieve standardization of service resources. In other words, one service resource is encapsulated into a service resource API. By encapsulating service resources into APIs, clear interface specifications are defined for service resources, including request methods, Uniform Resource Locators (URLs), request parameters, request headers, request bodies, and response formats. By defining a unified service resource standard, the problem of data non-interoperability between departments is solved so that services can be correctly called after being connected to the system.

对于封装好的服务资源API,本实施例中,可以通过资源管理模块110将服务资源API注册到数字政务操作系统中。资源管理模块110负责封装好的业务服务、数据服务以及资源服务的接入、适配、注册、管理和调度。数字政务操作系统10可以提供操作页面供用户进行操作,用户在操作页面中选择服务资源API进行服务流程的构建,资源管理模块110根据用户选择的服务资源API及各服务资源API之间的连接关系,确定服务资源API之间的关联关系和调用顺序,生成业务服务流程,并将编排好的业务服务流程以预设格式(例如XML格式)的形式进行存储,生成对应的服务流程文件,服务流程文件中记录了该业务服务流程中每个服务流程节点(即服务资源API)的节点信息和服务流程节点之间的顺序关系,节点信息例如包括服务流程节点的资源名称、节点ID、节点类型等,服务流程节点之间的顺序关系可以通过记录当前节点关联的下一节点ID的方式体现,也可以通过其他记录方式体现,本公开对此不作限制。另外,资源管理模块110根据每个服务资源API的相关信息,例如接口名称、接口地址、接口描述、接口请求类型、接口协议类型、接口编码方式、请求参数、响应参数等存入系统数据库的对应表中,生成对应的参数表单,一个业务服务流程对应一个参数表单,参数表单中记录了业务服务流程中每个服务流程节点(即服务资源API)的上述相关信息,在服务资源API被调用时,通过代码逻辑检索并自动填写上述参数表单中的信息发起接口调用请求,实现对服务资源API的调用。For the encapsulated service resource API, in this embodiment, the service resource API can be registered in the digital government operating system through the resource management module 110. The resource management module 110 is responsible for the access, adaptation, registration, management and scheduling of the encapsulated business services, data services and resource services. The digital government operating system 10 can provide an operation page for the user to operate. The user selects the service resource API in the operation page to build the service process. The resource management module 110 determines the association relationship and call sequence between the service resource APIs according to the service resource API selected by the user and the connection relationship between each service resource API, generates a business service process, and stores the arranged business service process in a preset format (such as XML format), and generates a corresponding service process file. The service process file records the node information of each service process node (i.e., service resource API) in the business service process and the sequential relationship between the service process nodes. The node information includes, for example, the resource name, node ID, node type, etc. of the service process node. The sequential relationship between the service process nodes can be reflected by recording the next node ID associated with the current node, or by other recording methods. The present disclosure does not limit this. In addition, the resource management module 110 generates a corresponding parameter form based on the relevant information of each service resource API, such as interface name, interface address, interface description, interface request type, interface protocol type, interface encoding method, request parameters, response parameters, etc., which are stored in the corresponding table of the system database. One business service process corresponds to one parameter form, and the parameter form records the above-mentioned relevant information of each service process node (i.e., service resource API) in the business service process. When the service resource API is called, the code logic is used to retrieve and automatically fill in the information in the above parameter form to initiate an interface call request, thereby realizing the call to the service resource API.

能够理解的是,参数表单中各服务资源API的一些已知信息(接口名称、接口地址等)可以在生成参数表单时即填写好,由于同一服务资源API在不同的业务中可能需要不同的参数,因此本实施例中,调用服务资源API所需的一些参数(如请求参数、响应参数等)可以在用户发起对业务服务流程的调用时由用户进行填写。It can be understood that some known information (interface name, interface address, etc.) of each service resource API in the parameter form can be filled in when the parameter form is generated. Since the same service resource API may require different parameters in different businesses, in this embodiment, some parameters required to call the service resource API (such as request parameters, response parameters, etc.) can be filled in by the user when the user initiates a call to the business service process.

本公开实施例中,任务管理模块120负责请求接收、任务判定和单个任务在各节点的流转。当用户(公众或政务服务人员)进行业务服务流程的调用时,需要在对应的参数表单中填写该业务服务流程中所有服务资源API所需的调用参数,填写完成后发起流程调用请求。数字政务操作系统10接收到流程调用请求后,通过任务管理模块120判断用户填写的服务资源API的参数是否满足流程运行条件,并在满足运行条件时,根据服务流程文件记录的服务资源API的节点顺序,填充用户填写的参数进行服务资源API的调用,推进服务流程。In the disclosed embodiment, the task management module 120 is responsible for request reception, task determination, and the flow of a single task at each node. When a user (the public or a government service personnel) calls a business service process, it is necessary to fill in the call parameters required for all service resource APIs in the business service process in the corresponding parameter form, and initiate a process call request after completing the form. After receiving the process call request, the digital government operating system 10 determines through the task management module 120 whether the parameters of the service resource API filled in by the user meet the process running conditions, and when the running conditions are met, fill in the parameters filled in by the user according to the node order of the service resource API recorded in the service process file to call the service resource API and advance the service process.

本公开实施例的数字政务操作系统,资源管理模块根据用户选择的服务资源API,生成业务服务流程及业务服务流程对应的服务流程文件和参数表单,一个服务资源API作为业务服务流程中的一个服务流程节点,服务流程文件记录业务服务流程中每个服务流程节点的节点信息和服务流程节点之间的顺序关系;任务管理模块在用户调用业务服务流程时,获取用户在参数表单中填写的API调用参数,基于API调用参数和服务流程文件进行服务资源API的调用。采用本公开的方案,通过将不同的政务服务资源统一封装成服务资源API,实现了跨平台、跨系统的数据整合,方便了不同服务系统之间的互联互通,打破了数据孤岛,实现了信息共享,并且,用户仅需选择所需的服务资源API即可构建业务服务流程,降低了流程构建难度,当需要修改服务流程时,仅需调整服务资源API即可,无需修改底层编码,降低了流程修改的难度和时间成本,有利于加快业务响应速度。In the digital government affairs operating system of the disclosed embodiment, the resource management module generates a business service process and a service process file and a parameter form corresponding to the business service process according to the service resource API selected by the user. A service resource API is used as a service process node in the business service process, and the service process file records the node information of each service process node in the business service process and the sequential relationship between the service process nodes; when the user calls the business service process, the task management module obtains the API call parameters filled in by the user in the parameter form, and calls the service resource API based on the API call parameters and the service process file. The scheme disclosed in the present invention is adopted to realize cross-platform and cross-system data integration by uniformly encapsulating different government service resources into service resource APIs, facilitate the interconnection between different service systems, break the data island, realize information sharing, and users only need to select the required service resource API to build a business service process, which reduces the difficulty of process construction. When the service process needs to be modified, only the service resource API needs to be adjusted, and there is no need to modify the underlying coding, which reduces the difficulty and time cost of process modification and is conducive to accelerating business response speed.

一个业务服务流程通常包括流程的开始和结束,为了避免因用户未选择服务开始节点和服务结束节点导致业务服务流程构建失败的情况,在本公开的一种可选实施方式中,可以在创建流程时,由资源管理模块110自动生成服务开始节点和服务结束节点,从而无需用户手动添加这两个节点。从而,本实施例中,资源管理模块110还用于在接收到流程创建请求后,将服务开始节点自动添加至画布中,并实时监控用户是否对展示的服务资源API执行了拖拽操作,当接收到用户将服务资源API拖拽至画布的添加操作时,资源管理模块110获取服务资源API的添加顺序,在接收到流程结束指令后,资源管理模块110根据服务开始节点、服务资源API的添加顺序和服务结束节点生成业务服务流程及对应的服务流程文件,以及根据服务资源API生成参数表单。A business service process usually includes the start and end of the process. In order to avoid the situation where the business service process fails to be constructed due to the user not selecting the service start node and the service end node, in an optional implementation of the present disclosure, the resource management module 110 can automatically generate the service start node and the service end node when creating the process, so that the user does not need to manually add these two nodes. Therefore, in this embodiment, the resource management module 110 is also used to automatically add the service start node to the canvas after receiving the process creation request, and monitor in real time whether the user has performed a drag operation on the displayed service resource API. When receiving the user's add operation of dragging the service resource API to the canvas, the resource management module 110 obtains the order of adding the service resource API. After receiving the process end instruction, the resource management module 110 generates the business service process and the corresponding service process file according to the service start node, the order of adding the service resource API, and the service end node, and generates a parameter form according to the service resource API.

资源管理模块110支持用户进行服务流程的自定义编排,对于已经录入系统的API资源,作为服务流程节点在操作页面中可被通过拖拽的形式添加至画布中并确定节点间的关联关系和调用顺序,编排好的流程以服务流程文件(例如XML格式的文件)的形式进行存储,服务流程文件保存了当前流程中每个节点的资源名称、节点ID、节点类型、下一节点ID,从而保存了节点间的顺序关系。在创建流程时自动生成服务开始节点,服务开始节点可以包括但不限于预设的身份验证、服务可用性检查和资源分配逻辑等,用户添加的服务资源API则作为服务流程节点添加在服务开始节点之后;在需要结束流程时,可以由用户手动添加或由资源管理模块110自动添加服务结束节点,服务结束节点可以包括但不限于结果返回、资源释放、日志记录逻辑等。The resource management module 110 supports users to customize the arrangement of service processes. For API resources that have been entered into the system, they can be added to the canvas as service process nodes by dragging and dropping in the operation page, and the association relationship and calling order between nodes can be determined. The arranged process is stored in the form of a service process file (such as a file in XML format). The service process file saves the resource name, node ID, node type, and next node ID of each node in the current process, thereby saving the order relationship between nodes. When creating a process, a service start node is automatically generated. The service start node may include but is not limited to preset identity authentication, service availability check, and resource allocation logic, etc. The service resource API added by the user is added as a service process node after the service start node; when the process needs to be ended, the user can manually add a service end node or the resource management module 110 can automatically add a service end node. The service end node may include but is not limited to result return, resource release, and logging logic, etc.

本公开实施例提供的数字政务操作系统,还支持基于大模型和知识图谱的智能化辅助编排,由大模型通过在知识图谱中进行搜索来生成业务参考流程模板并输出,政务服务人员等用户可以根据此模版根据实际情况进行后续调整得到所需的业务服务流程。从而,在本公开的一种可选实施方式中,资源管理模块110还用于接收用户输入的业务描述信息,将业务描述信息输入预先训练的流程预测大模型,由流程预测大模型根据业务描述信息和预设的知识图谱生成业务参考流程模板并输出,资源管理模块110可以通过操作页面将业务参考流程模板展示给用户,用户可以根据自身需求对业务参考流程模板进行调整,之后,资源管理模块110根据用户对业务参考流程模板的调整操作,生成业务服务流程及对应的服务流程文件和参数表单。The digital government affairs operating system provided by the embodiment of the present disclosure also supports intelligent auxiliary arrangement based on a big model and a knowledge graph. The big model generates and outputs a business reference process template by searching in the knowledge graph. Government service personnel and other users can make subsequent adjustments based on the template according to the actual situation to obtain the required business service process. Therefore, in an optional implementation of the present disclosure, the resource management module 110 is also used to receive the business description information input by the user, input the business description information into the pre-trained process prediction big model, and the process prediction big model generates and outputs a business reference process template based on the business description information and the preset knowledge graph. The resource management module 110 can display the business reference process template to the user through the operation page, and the user can adjust the business reference process template according to his own needs. After that, the resource management module 110 generates the business service process and the corresponding service process file and parameter form according to the user's adjustment operation on the business reference process template.

其中,知识图谱是预先构建好的,知识图谱中保存了每个服务资源API的相关信息以及各服务资源API与其他服务资源API之间的关联关系。知识图谱作为持久化存储中的一种,可以基于政务服务人员人工梳理的办事事件,预先由技术人员将办事流程按节点标准化成为API关联关系的形式,构建能够显示服务资源API间关联关系的数据库,形成知识图谱,并建立服务资源API和业务流程描述的映射关系。流程预测大模型是预先训练好的,流程预测大模型对输入的业务描述信息进行语义分析,通过语义分析获得对应的流程信息,进而根据流程信息查询服务资源API和业务流程描述的映射关系,确定流程信息匹配的所有服务资源API,进而在知识图谱中进行检索获得这些服务资源API之间的关联关系,得到与流程信息关联的服务资源API、每个服务资源API的相关信息和API之间的关联关系,通过进行流程重构与节点顺序调整,自动创建业务参考流程模版并输出,实现了大模型根据业务描述语义自动匹配流程,从而实现了API业务链条模版(即业务参考流程模版)的自动生成。Among them, the knowledge graph is pre-built, and the knowledge graph stores the relevant information of each service resource API and the relationship between each service resource API and other service resource APIs. As a kind of persistent storage, the knowledge graph can be based on the service events manually sorted out by government service personnel. The technical personnel can standardize the service process in the form of API relationship according to the nodes in advance, build a database that can display the relationship between service resource APIs, form a knowledge graph, and establish a mapping relationship between service resource APIs and business process descriptions. The process prediction big model is pre-trained. The process prediction big model performs semantic analysis on the input business description information, obtains the corresponding process information through semantic analysis, and then queries the mapping relationship between the service resource API and the business process description according to the process information, determines all service resource APIs matching the process information, and then retrieves the relationship between these service resource APIs in the knowledge graph, obtains the service resource API associated with the process information, the relevant information of each service resource API and the relationship between the APIs, and automatically creates and outputs the business reference process template by reconstructing the process and adjusting the node order, so as to realize the automatic matching of the big model according to the business description semantics, thereby realizing the automatic generation of the API business chain template (i.e., the business reference process template).

资源管理模块110可以将流程预测大模型生成的业务参考流程模板展示给用户,用户可以根据自身需求对业务参考流程模板进行调整,在用户调整完成后,即得到所需的业务服务流程,进而资源管理模块110根据调整完的业务服务流程生成对应的服务流程文件,并根据调整完的业务服务流程中所包含的服务流程节点的相关信息,生成参数表单。通过利用大模型和知识图谱生成业务参考流程模板来辅助用户构建业务服务流程,简化了服务流程编排的难度,减少了人工事件梳理的时间消耗,提高了流程构建效率。The resource management module 110 can display the business reference process template generated by the process prediction big model to the user, and the user can adjust the business reference process template according to his own needs. After the user completes the adjustment, the required business service process is obtained, and then the resource management module 110 generates the corresponding service process file according to the adjusted business service process, and generates a parameter form according to the relevant information of the service process node contained in the adjusted business service process. By using the big model and knowledge graph to generate the business reference process template to assist users in building business service processes, the difficulty of service process arrangement is simplified, the time consumption of manual event combing is reduced, and the efficiency of process construction is improved.

在本公开的一种可选实施方式中,编排好的业务服务流程在通过审核后可进行发布,处于发布状态的流程可被用户进行调用。从而,本实施例中,资源管理模块110还用于将业务服务流程进行发布,以供用户调用。任务管理模块120还用于响应于接收到用户对处于发布状态的目标业务服务流程的点击操作,获取目标业务服务流程对应的目标参数表单,并将目标参数表单展示给用户以由用户填写目标参数表单;响应于接收到目标业务服务流程的流程调用请求,基于目标参数表单中填写的API调用参数和目标业务服务流程对应的服务流程文件进行服务资源API的调用。In an optional implementation of the present disclosure, the arranged business service process can be published after passing the review, and the process in the published state can be called by the user. Therefore, in this embodiment, the resource management module 110 is also used to publish the business service process for user call. The task management module 120 is also used to respond to receiving a user's click operation on the target business service process in the published state, obtain the target parameter form corresponding to the target business service process, and display the target parameter form to the user so that the user can fill in the target parameter form; respond to receiving a process call request of the target business service process, based on the API call parameters filled in the target parameter form and the service process file corresponding to the target business service process, call the service resource API.

能够理解的是,本实施例中的用户可以是构建业务服务流程的人员,也可以是其他人员,构建好的业务服务流程经过发布后即处于发布状态,处于发布状态的业务服务流程可以有一个或多个。It can be understood that the user in this embodiment can be a person who builds a business service process or other person. The built business service process is in a published state after being published. There can be one or more business service processes in the published state.

示例性地,在发布业务服务流程时,可以由构建该业务服务流程的用户为其设置流程名称,处于发布状态的业务服务流程以流程名称进行命名,并对应一个流程入口,用户点击该流程入口时,即相当于对相应的业务服务流程进行了点击操作,之后,任务管理模块120获取用户所点击的业务服务流程(为便于描述和区分,称为目标业务服务流程)对应的参数表单(为便于描述和区分,称为目标参数表单),并将目标参数表单展示给用户,例如可以通过弹窗的形式展示目标参数表单的填写界面,供用户填写目标参数表单中的API调用参数。当用户填写完成后,例如用户点击了目标参数表单的填写界面中展示的“保存”按钮,则确定用户填写完成,此时触发流程调用请求并发送给数字政务操作系统10。任务管理模块120接收到流程调用请求后,则根据目标业务服务流程对应的服务流程文件所记录的服务流程节点及对应的调用顺序,从目标参数表单中获取对应的API调用参数发起服务资源API的调用。Exemplarily, when publishing a business service process, the user who builds the business service process can set a process name for it. The business service process in the publishing state is named with the process name and corresponds to a process entrance. When the user clicks on the process entrance, it is equivalent to clicking on the corresponding business service process. After that, the task management module 120 obtains the parameter form (for the convenience of description and distinction, referred to as the target business service process) corresponding to the business service process clicked by the user (for the convenience of description and distinction, referred to as the target parameter form), and displays the target parameter form to the user, for example, the filling interface of the target parameter form can be displayed in the form of a pop-up window, so that the user can fill in the API call parameters in the target parameter form. When the user has completed the filling, for example, the user clicks the "Save" button displayed in the filling interface of the target parameter form, it is determined that the user has completed the filling, and the process call request is triggered and sent to the digital government operation system 10. After receiving the process call request, the task management module 120 obtains the corresponding API call parameters from the target parameter form according to the service process node and the corresponding call sequence recorded in the service process file corresponding to the target business service process, and initiates the call of the service resource API.

在本公开的一种可选实施方式中,如图2所示,在如图1所示实施例的基础上,本公开的数字政务操作系统10还可以包括进程管理模块130,用于在业务服务流程的调用过程中,追踪业务服务流程中每个服务资源API的调用信息,以及在业务服务流程调用结束后,根据每个服务资源API的调用信息生成业务调用日志,将业务调用日志发送至集中式日志关联系统。由此,实现了业务服务流程的调用状态监控,从而保证政务场景下业务服务流程的完整调用。In an optional implementation of the present disclosure, as shown in FIG2, based on the embodiment shown in FIG1, the digital government affairs operating system 10 of the present disclosure may also include a process management module 130, which is used to track the call information of each service resource API in the business service process during the call process of the business service process, and after the business service process call is completed, generate a business call log according to the call information of each service resource API, and send the business call log to the centralized log association system. In this way, the call status monitoring of the business service process is realized, thereby ensuring the complete call of the business service process in the government affairs scenario.

图3为本公开一具体实施例提供的数字政务操作系统的架构示意图,如图3所示,该数字政务操作系统包括:由任务进程微服务构成的任务、进程管理模块,由资源管理微服务构成的资源管理模块,以及由扩展微服务构成的扩展服务模块,其中,资源管理模块实现上述资源管理模块的功能,允许用户使用已接入系统的接口资源进行流程编排和任务创建;任务、进程管理模块实现上述任务管理模块和进程管理模块的功能,扩展服务模块作为备用,以便于后续扩展新的功能。用户(例如政务服务人员)利用自己的电脑,通过超文本传输安全协议(Hypertext Transfer Protocol Secure,HTTPS)经网关集群中的网关向数字政务操作系统发送请求(例如流程创建请求、流程调用请求)至数字政务操作系统,网关集群中的网关还用于提供访问认证服务,以保证访问数字政务操作系统的用户是合法的,保证数字政务操作系统的安全性。数字政务操作系统向服务注册中心(例如Nacos)进行服务注册,由服务注册中心进行服务发现后返回给数字政务操作系统。数字政务操作系统将发现的服务资源API的相关信息如接口名称、接口地址、接口描述、接口请求类型、接口协议类型、接口编码方式、请求参数、响应参数等存入数据库的对应表中。数字政务操作系统接收到网关发送的流程调用请求后,任务进程微服务判断用户填写的API调用参数是否满足流程运行条件,若满足,则任务进程微服务根据XML文件(服务流程文件)记录的API节点调用顺序,填充用户填写的参数进行API调用,推进服务流程。任务进程微服务的功能还包括服务状态监控,具体包括进程监控、进程暂停、进程终止和进程调控和进程异常纠错等。对于流程中每个API的调用情况,包括请求的详细信息、响应结果、调用时间等,将调用日志发送到集中式日志管理系统,如EFK(Elasticsearch,Filebeat,Kibana),并使用如Zipkin、Jaeger等工具实现链路追踪,为每个服务流程生成唯一的追踪ID,追踪整个调用链。用户可以通过进程管理模块对发起的流程进行状态查看和干预,以便更好的了解服务调用和系统性能情况。FIG3 is a schematic diagram of the architecture of a digital government operating system provided by a specific embodiment of the present disclosure. As shown in FIG3, the digital government operating system includes: a task and process management module composed of a task process microservice, a resource management module composed of a resource management microservice, and an extended service module composed of an extended microservice, wherein the resource management module implements the functions of the above resource management module, allowing users to use the interface resources that have been connected to the system to perform process orchestration and task creation; the task and process management module implements the functions of the above task management module and process management module, and the extended service module is used as a backup to facilitate subsequent expansion of new functions. Users (such as government service personnel) use their own computers to send requests (such as process creation requests, process call requests) to the digital government operating system through the Hypertext Transfer Protocol Secure (HTTPS) through the gateway in the gateway cluster. The gateway in the gateway cluster is also used to provide access authentication services to ensure that users accessing the digital government operating system are legal and to ensure the security of the digital government operating system. The digital government operating system registers services with a service registration center (such as Nacos), and the service registration center returns the service to the digital government operating system after service discovery. The digital government operating system stores the relevant information of the service resource API discovered, such as interface name, interface address, interface description, interface request type, interface protocol type, interface encoding method, request parameters, response parameters, etc., in the corresponding table of the database. After the digital government operating system receives the process call request sent by the gateway, the task process microservice determines whether the API call parameters filled in by the user meet the process running conditions. If they meet, the task process microservice fills in the parameters filled in by the user according to the API node call sequence recorded in the XML file (service process file) to make an API call and advance the service process. The function of the task process microservice also includes service status monitoring, including process monitoring, process suspension, process termination, process regulation, and process exception correction. For each API call in the process, including detailed information of the request, response result, call time, etc., the call log is sent to a centralized log management system, such as EFK (Elasticsearch, Filebeat, Kibana), and link tracking is implemented using tools such as Zipkin and Jaeger, generating a unique tracking ID for each service process to track the entire call chain. Users can view and intervene in the status of the initiated process through the process management module to better understand the service call and system performance.

总而言之,本公开提供的数字政务操作系统,通过将各种资源封装成统一的API形式,对于接入的API类型的服务资源,政务服务人员可通过页面以拖拽的形式将API服务流程节点添加到画布中,并确定节点间的顺序和并发关系,并生成参数表单。用户发起流程时只需填写API参数表单即可发起已创建流程的调用;同时利用大模型在政务知识图谱的支撑下实现流程的智能化辅助构建,用户只需在大模型生成的模板的基础上,根据业务需求调整节点并确定顺序关系即可,减少了流程构建的工作量。本公开的方案可以应用于政务服务场景,为政务服务人员提供流程编排方式,面对大量第三方服务资源的场景,加快了业务响应速度。In summary, the digital government operating system provided by the present disclosure, by encapsulating various resources into a unified API form, for the service resources of the connected API type, government service personnel can add API service process nodes to the canvas by dragging and dropping through the page, and determine the order and concurrency relationship between the nodes, and generate a parameter form. When a user initiates a process, he only needs to fill in the API parameter form to initiate a call to the created process; at the same time, the big model is used to realize the intelligent auxiliary construction of the process under the support of the government knowledge graph. The user only needs to adjust the nodes and determine the order relationship according to business needs based on the template generated by the big model, thereby reducing the workload of process construction. The solution disclosed in the present disclosure can be applied to government service scenarios, providing government service personnel with a process orchestration method, and accelerating the business response speed in the face of a large number of third-party service resources.

本公开还提供了一种服务流程的构建方法,应用于如前述实施例所述的数字政务操作系统。The present disclosure also provides a method for constructing a service process, which is applied to the digital government affairs operating system as described in the aforementioned embodiment.

图4为本公开一示例性实施例提供的服务流程的构建方法的流程示意图,如图4所示,该服务流程的构建方法可以包括以下步骤:FIG4 is a flow chart of a method for constructing a service process provided by an exemplary embodiment of the present disclosure. As shown in FIG4 , the method for constructing a service process may include the following steps:

步骤201,获取用户通过数字政务操作系统的操作页面选择的服务资源API,将一个服务资源API作为一个服务流程节点,生成业务服务流程及业务服务流程对应的服务流程文件和参数表单,服务流程文件记录业务服务流程中每个服务流程节点的节点信息和服务流程节点之间的顺序关系。Step 201, obtain the service resource API selected by the user through the operation page of the digital government operating system, take a service resource API as a service process node, generate a business service process and the service process file and parameter form corresponding to the business service process, and the service process file records the node information of each service process node in the business service process and the sequential relationship between the service process nodes.

本公开实施例中,当用户进入数字政务操作系统时,对于已录入数字政务操作系统的服务资源API,会展示在数字系统操作系统的操作页面中,操作页面即供用户进行操作的页面,用户可以通过操作页面与数字政务操作系统进行交互。用户在构建服务流程时,可以根据自身需求,通过操作页面选择所需的服务资源API,对于用户每次选择的服务资源API,数字政务操作系统可以获得用户选择的服务资源API,并将一个服务资源API作为一个服务流程节点,生成业务服务流程,并生成业务服务流程对应的服务流程文件和参数表单,服务流程文件记录了业务服务流程中每个服务流程节点(即服务资源API)的节点信息和服务流程节点之间的顺序关系,节点信息例如包括服务流程节点的资源名称、节点ID、节点类型等,服务流程节点之间的顺序关系可以通过记录当前节点关联的下一节点ID的方式体现,也可以通过其他记录方式体现,本公开对此不作限制。参数表单中记录了业务服务流程中每个服务资源API的相关信息,包括但不限于接口名称、接口地址、接口描述、接口请求类型、接口协议类型、接口编码方式、请求参数、响应参数等。In the embodiment of the present disclosure, when a user enters the digital government operation system, the service resource API that has been entered into the digital government operation system will be displayed in the operation page of the digital system operation system. The operation page is a page for users to operate, and users can interact with the digital government operation system through the operation page. When building a service process, the user can select the required service resource API through the operation page according to their own needs. For each service resource API selected by the user, the digital government operation system can obtain the service resource API selected by the user, and use a service resource API as a service process node to generate a business service process, and generate a service process file and parameter form corresponding to the business service process. The service process file records the node information of each service process node (i.e., service resource API) in the business service process and the sequential relationship between the service process nodes. The node information includes, for example, the resource name, node ID, node type, etc. of the service process node. The sequential relationship between the service process nodes can be reflected by recording the next node ID associated with the current node, or by other recording methods. The present disclosure does not limit this. The parameter form records the relevant information of each service resource API in the business service process, including but not limited to the interface name, interface address, interface description, interface request type, interface protocol type, interface encoding method, request parameters, response parameters, etc.

需要说明的是,本实施例中,数字政务操作系统可以根据用户选择服务资源API的顺序确定节点间的顺序,还可以根据用户对已选择的各服务资源API配置的连接关系确定各节点间的调用顺序和关联关系,进而根据调用顺序和关联关系生成业务服务流程。It should be noted that in this embodiment, the digital government affairs operating system can determine the order between nodes according to the order in which users select service resource APIs, and can also determine the calling order and association relationship between nodes according to the connection relationship configured by users for the selected service resource APIs, and then generate a business service process based on the calling order and association relationship.

在本公开的一种可选实施方式中,数字政务操作系统提供的操作页面中可以包括两个区域,一个区域用于展示已录入的所有服务资源API供用户选择,另一个区域为画布,用于接收用户当前所选择的服务资源API,用户可以通过拖拽的方式将服务资源API拖拽至画布中。用户通过操作页面发起流程创建请求,当数字政务操作系统接收到用户发起的流程创建请求后,在画布中自动添加服务开始节点,之后用户可以将所需的服务资源API拖拽至画布中,数字政务操作系统响应于接收到用户拖拽服务资源API至画布的添加操作,获取用户拖拽的服务资源API及服务资源API的添加顺序,并在接收到流程结束指令时,根据服务开始节点、用户选择的服务资源API及其添加顺序和服务结束节点,生成业务服务流程及对应的服务流程文件,以及根据服务资源API生成参数表单。In an optional implementation of the present disclosure, the operation page provided by the digital government operating system may include two areas, one area is used to display all the service resource APIs that have been entered for user selection, and the other area is a canvas for receiving the service resource API currently selected by the user, and the user can drag the service resource API to the canvas by dragging. The user initiates a process creation request through the operation page. When the digital government operating system receives the process creation request initiated by the user, it automatically adds a service start node to the canvas, and then the user can drag the required service resource API to the canvas. In response to receiving the user's adding operation of dragging the service resource API to the canvas, the digital government operating system obtains the service resource API dragged by the user and the order of adding the service resource API, and when receiving the process end instruction, generates a business service process and a corresponding service process file according to the service start node, the service resource API selected by the user and its order of adding, and the service end node, and generates a parameter form according to the service resource API.

步骤202,在用户调用业务服务流程时,获取用户在参数表单中填写的API调用参数。Step 202: When a user calls a business service process, obtain the API call parameters filled in by the user in the parameter form.

对于已构建完成的业务服务流程,在通过审核后可以进行发布,处于发布状态的业务服务流程可以被用户调用。例如,已发布的业务服务流程可以展示在流程的展示页面中,展示页面中展示有可用的所有业务服务流程,用户可以通过点击某个业务服务流程的方式发起对该业务服务流程的调用,之后,数字政务操作系统获取该业务服务流程对应的参数表单中各服务资源API的API调用参数。For the completed business service process, it can be published after passing the review, and the business service process in the published state can be called by the user. For example, the published business service process can be displayed in the process display page, which displays all available business service processes. The user can initiate a call to the business service process by clicking on a business service process. After that, the digital government operating system obtains the API call parameters of each service resource API in the parameter form corresponding to the business service process.

作为一种示例,当用户点击某个业务服务流程时,数字政务操作系统将该业务服务流程对应的参数表单展示给用户,用户在参数表单中填写各服务资源API的API调用参数,在用户填写完成后,数字政务操作系统即可获得该业务服务流程中每个服务资源API的API调用参数。As an example, when a user clicks on a business service process, the digital government operating system displays the parameter form corresponding to the business service process to the user. The user fills in the API call parameters of each service resource API in the parameter form. After the user completes the filling, the digital government operating system can obtain the API call parameters of each service resource API in the business service process.

步骤203,基于API调用参数和服务流程文件进行服务资源API的调用。Step 203: Call the service resource API based on the API call parameters and the service process file.

本公开实施例中,数字政务操作系统获取到用户在参数表单中填写的API调用参数之后,即可根据该API调用参数和服务流程文件进行服务资源API的调用。In the disclosed embodiment, after the digital government affairs operating system obtains the API call parameters filled in by the user in the parameter form, it can call the service resource API according to the API call parameters and the service process file.

示例性地,数字政务操作系统可以根据服务流程文件中记录的服务流程节点的调用顺序,依次发起对各服务资源API的调用,在调用时,从参数表单中获取对应的API调用参数并填充以进行服务资源API的调用,推进业务服务流程。Exemplarily, the digital government affairs operating system can initiate calls to each service resource API in sequence according to the calling order of the service process nodes recorded in the service process file. When calling, it obtains the corresponding API call parameters from the parameter form and fills them in to call the service resource API, thereby advancing the business service process.

本公开实施例的服务流程的构建方法,通过接收用户通过数字政务操作系统的操作页面选择的服务资源API,将一个服务资源API作为一个服务流程节点,生成业务服务流程及业务服务流程对应的服务流程文件和参数表单,在用户调用业务服务流程时,获取用户在参数表单中填写的API调用参数,进而基于API调用参数和服务流程文件进行服务资源API的调用,由此,通过服务资源标准化成API的形式打通了部门间的数据壁垒,为政务服务人员提供了高效的流程编排方式,面对大量第三方服务资源的场景,加快了业务响应速度。The service process construction method of the disclosed embodiment receives the service resource API selected by the user through the operation page of the digital government operating system, takes a service resource API as a service process node, generates a business service process and a service process file and parameter form corresponding to the business service process, and when the user calls the business service process, obtains the API call parameters filled in by the user in the parameter form, and then calls the service resource API based on the API call parameters and the service process file. In this way, the data barriers between departments are broken through by standardizing the service resources into the form of API, providing government service personnel with an efficient process orchestration method, and accelerating the business response speed in the face of a large number of third-party service resources.

在本公开的一种可选实施方式中,本公开的服务流程的构建方法还包括:接收用户输入的业务描述信息,将业务描述信息输入预先训练的流程预测大模型,由流程预测大模型根据业务描述信息和预设的知识图谱生成业务参考流程模板并输出,进而根据用户对业务参考流程模板的调整操作,生成业务服务流程及对应的服务流程文件和参数表单。In an optional embodiment of the present disclosure, the service process construction method of the present disclosure also includes: receiving business description information input by a user, inputting the business description information into a pre-trained process prediction model, and having the process prediction model generate and output a business reference process template based on the business description information and a preset knowledge graph, and then generating a business service process and corresponding service process files and parameter forms based on the user's adjustment operations on the business reference process template.

其中,知识图谱是预先构建好的,知识图谱中保存了每个服务资源API的相关信息以及各服务资源API与其他服务资源API之间的关联关系。知识图谱作为持久化存储中的一种,可以基于政务服务人员人工梳理的办事事件,预先由技术人员将办事流程按节点标准化成为API关联关系的形式,构建能够显示服务资源API间关联关系的数据库,形成知识图谱,并建立服务资源API和业务流程描述的映射关系。流程预测大模型是预先训练好的,流程预测大模型对输入的业务描述信息进行语义分析,通过语义分析获得对应的流程信息,进而根据流程信息查询服务资源API和业务流程描述的映射关系,确定流程信息匹配的所有服务资源API,进而在知识图谱中进行检索获得这些服务资源API之间的关联关系,得到与流程信息关联的服务资源API、每个服务资源API的相关信息和API之间的关联关系,通过进行流程重构与节点顺序调整,自动创建业务参考流程模版并输出,实现了大模型根据业务描述语义自动匹配流程,从而实现了API业务链条模版(即业务参考流程模版)的自动生成。Among them, the knowledge graph is pre-built, and the knowledge graph stores the relevant information of each service resource API and the relationship between each service resource API and other service resource APIs. As a kind of persistent storage, the knowledge graph can be based on the service events manually sorted out by government service personnel. The technical personnel can standardize the service process in the form of API relationship according to the nodes in advance, build a database that can display the relationship between service resource APIs, form a knowledge graph, and establish a mapping relationship between service resource APIs and business process descriptions. The process prediction big model is pre-trained. The process prediction big model performs semantic analysis on the input business description information, obtains the corresponding process information through semantic analysis, and then queries the mapping relationship between the service resource API and the business process description according to the process information, determines all service resource APIs matching the process information, and then retrieves the relationship between these service resource APIs in the knowledge graph, obtains the service resource API associated with the process information, the relevant information of each service resource API and the relationship between the APIs, and automatically creates and outputs the business reference process template by reconstructing the process and adjusting the node order, so as to realize the automatic matching of the big model according to the business description semantics, thereby realizing the automatic generation of the API business chain template (i.e., the business reference process template).

本实施例中,还可以基于预先训练好的大模型和构建的知识图谱来辅助流程构建,这种场景下,需要用户输入业务描述信息,业务描述信息用于指示业务需求、需要构建的流程所要实现的功能等信息,数字政务操作系统将用户输入的业务描述信息输入至流程预测大模型中,由流程预测大模型通过对业务描述信息进行语义分析,并搜索知识图谱,生成业务参考流程模板并输出,数字政务操作系统将流程预测大模型输出的业务参考流程模板展示给用户,用户检查该业务参考流程模板是否能满足自身需求,并在不能满足时可以对业务参考流程模板进行调整,数字政务操作系统根据用户调整后的业务参考流程模板生成业务服务流程及对应的服务流程文件和参数表单。In this embodiment, the process construction can also be assisted based on the pre-trained big model and the constructed knowledge graph. In this scenario, the user is required to input the business description information. The business description information is used to indicate the business requirements, the functions to be implemented by the process to be built, and other information. The digital government operating system inputs the business description information entered by the user into the process prediction big model. The process prediction big model performs semantic analysis on the business description information and searches the knowledge graph to generate and output a business reference process template. The digital government operating system displays the business reference process template output by the process prediction big model to the user. The user checks whether the business reference process template can meet his or her own needs, and can adjust the business reference process template if it cannot. The digital government operating system generates a business service process and corresponding service process files and parameter forms based on the business reference process template adjusted by the user.

在本实施例中,通过利用大模型和知识图谱生成业务参考流程模板来辅助用户构建业务服务流程,简化了服务流程编排的难度,减少了人工事件梳理的时间消耗,提高了流程构建效率。In this embodiment, by using a large model and knowledge graph to generate a business reference process template to assist users in building business service processes, the difficulty of service process orchestration is simplified, the time consumption of manual event sorting is reduced, and the efficiency of process construction is improved.

本公开示例性实施例还提供一种电子设备,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器。所述存储器存储有能够被所述至少一个处理器执行的计算机程序,所述计算机程序在被所述至少一个处理器执行时用于使所述电子设备执行根据本公开实施例的服务流程的构建方法。The exemplary embodiment of the present disclosure also provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and when the computer program is executed by the at least one processor, the electronic device executes the method for constructing a service flow according to the embodiment of the present disclosure.

本公开示例性实施例还提供一种存储有计算机程序的非瞬时计算机可读存储介质,其中,所述计算机程序在被计算机的处理器执行时用于使所述计算机执行根据本公开实施例的服务流程的构建方法。The exemplary embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute a method for constructing a service flow according to an embodiment of the present disclosure.

本公开示例性实施例还提供一种计算机程序产品,包括计算机程序,其中,所述计算机程序在被计算机的处理器执行时用于使所述计算机执行根据本公开实施例的服务流程的构建方法。The exemplary embodiments of the present disclosure further provide a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, the computer is used to enable the computer to execute the method for constructing a service flow according to the embodiment of the present disclosure.

用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions/operations specified in the flow chart and/or block diagram. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

如本公开使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and/or data to a programmable processor.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

Claims (10)

1. A digital government operating system, comprising: a resource management module and a task management module;
The resource management module is used for generating a business service flow and a service flow file and a parameter form corresponding to the business service flow according to a service resource API selected by a user, wherein one service resource API is used as one service flow node in the business service flow, and the service flow file records the node information of each service flow node in the business service flow and the sequence relation between the service flow nodes;
And the task management module is used for acquiring API calling parameters filled in the parameter form by the user when the user calls the business service flow, and calling a service resource API based on the API calling parameters and the service flow file.
2. The digital government operating system of claim 1 wherein said resource management module is further operative to:
After receiving the flow creation request, adding a service start node into the canvas;
Acquiring an adding sequence of the service resource API in response to receiving an adding operation of the user dragging the service resource API to the canvas;
After receiving the flow ending instruction, generating the business service flow and the corresponding service flow file according to the service starting node, the adding sequence of the service resource API and the service ending node, and generating a parameter form according to the service resource API.
3. The digital government operating system of claim 1 wherein said resource management module is further operative to:
Receiving the service description information input by the user;
inputting the service description information into a pre-trained flow prediction large model, generating a service reference flow template by the flow prediction large model according to the service description information and a preset knowledge graph, and outputting the service reference flow template;
and generating a business service flow and a corresponding service flow file and a parameter form according to the adjustment operation of the user on the business reference flow template.
4. The digital government operating system of claim 1 wherein,
The resource management module is further configured to: releasing the business service flow for the user to call;
The task management module is further configured to: responding to the click operation of a user on a target business service flow in a release state, acquiring a target parameter form corresponding to the target business service flow, and displaying the target parameter form to the user so as to fill in the target parameter form by the user; and responding to the received flow call request of the target business service flow, and calling a service resource API based on the API call parameters filled in the target parameter list and the service flow file corresponding to the target business service flow.
5. The digital government operating system of any of claims 1-4, further comprising: a process management module;
the process management module is used for tracking the calling information of each service resource API in the business service flow in the calling process of the business service flow, generating a business calling log according to the calling information of each service resource API after the business service flow is called, and sending the business calling log to the centralized log correlation system.
6. A method for constructing a service flow, applied to the digital government operating system according to any one of claims 1-5, the method comprising:
Acquiring a service resource API selected by a user through an operation page of the digital government operation system, taking one service resource API as a service flow node, and generating a business service flow, a service flow file and a parameter form corresponding to the business service flow, wherein the service flow file records the node information of each service flow node in the business service flow and the sequence relation between the service flow nodes;
When the user calls the business service flow, acquiring API call parameters filled in the parameter form by the user;
and calling a service resource API based on the API calling parameter and the service flow file.
7. The method for constructing a service flow according to claim 6, wherein the method further comprises:
Receiving the service description information input by the user;
inputting the service description information into a pre-trained flow prediction large model, generating a service reference flow template by the flow prediction large model according to the service description information and a preset knowledge graph, and outputting the service reference flow template;
and generating a business service flow and a corresponding service flow file and a parameter form according to the adjustment operation of the user on the business reference flow template.
8. The method for constructing a service flow according to claim 6, wherein the step of obtaining the service resource API selected by the user through the operation page of the digital government operating system, using one of the service resource APIs as a service flow node, and generating a business service flow and a service flow file and a parameter form corresponding to the business service flow includes:
After receiving the flow creation request, adding a service start node into the canvas;
Acquiring an adding sequence of the service resource API in response to receiving an adding operation of the user dragging the service resource API to the canvas;
After receiving the flow ending instruction, generating the business service flow and the corresponding service flow file according to the service starting node, the adding sequence of the service resource API and the service ending node, and generating a parameter form according to the service resource API.
9. An electronic device, comprising:
a processor; and
A memory in which a program is stored,
Wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method of constructing a service flow according to any one of claims 6-8.
10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the construction method of the service flow according to any one of claims 6 to 8.
CN202411106410.4A 2024-08-13 2024-08-13 Digital government affairs operating system, service process construction method, equipment and media Pending CN118644371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411106410.4A CN118644371A (en) 2024-08-13 2024-08-13 Digital government affairs operating system, service process construction method, equipment and media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411106410.4A CN118644371A (en) 2024-08-13 2024-08-13 Digital government affairs operating system, service process construction method, equipment and media

Publications (1)

Publication Number Publication Date
CN118644371A true CN118644371A (en) 2024-09-13

Family

ID=92664924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411106410.4A Pending CN118644371A (en) 2024-08-13 2024-08-13 Digital government affairs operating system, service process construction method, equipment and media

Country Status (1)

Country Link
CN (1) CN118644371A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912724A (en) * 2018-09-18 2020-03-24 亿阳信通股份有限公司 Parameter-driven automatic service arrangement method and device
CN112801464A (en) * 2021-01-07 2021-05-14 北京创仕科锐信息技术有限公司 Process management method and system
CN113298503A (en) * 2021-06-15 2021-08-24 中国建设银行股份有限公司 Government affair-oriented workflow management system and database and table dividing method thereof
CN117472552A (en) * 2023-12-28 2024-01-30 中电数据产业有限公司 Service scene intelligent arrangement and dynamic scheduling method, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912724A (en) * 2018-09-18 2020-03-24 亿阳信通股份有限公司 Parameter-driven automatic service arrangement method and device
CN112801464A (en) * 2021-01-07 2021-05-14 北京创仕科锐信息技术有限公司 Process management method and system
CN113298503A (en) * 2021-06-15 2021-08-24 中国建设银行股份有限公司 Government affair-oriented workflow management system and database and table dividing method thereof
CN117472552A (en) * 2023-12-28 2024-01-30 中电数据产业有限公司 Service scene intelligent arrangement and dynamic scheduling method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US20220156540A1 (en) Long running workflows for document processing using robotic process automation
US7673029B2 (en) Grid automation bus to integrate management frameworks for dynamic grid management
CN107729139B (en) Method and device for concurrently acquiring resources
US7536697B2 (en) Integrating enterprise support systems
US7886296B2 (en) System and method for providing alerts for heterogeneous jobs
US6237005B1 (en) Web server mechanism for processing multiple transactions in an interpreted language execution environment
CN101694709B (en) A Service-Oriented Distributed Workflow Management System
US20080177564A1 (en) Method and apparatus of supporting business performance management with active shared data spaces
CN104317591B (en) A kind of web interface frame system and web method for processing business based on OSGi
US10079865B2 (en) Method and system for an ontology based request/reply service
US20140019379A1 (en) Business process change controller
CN110083455B (en) Graph calculation processing method, graph calculation processing device, graph calculation processing medium and electronic equipment
US11231967B2 (en) Dynamically allocating and managing cloud workers
CN109783562B (en) Service processing method and device
CN113703997A (en) Bidirectional asynchronous communication middleware system integrating multiple message agents and implementation method
WO2021022714A1 (en) Message processing method for cross-block chain node, device, apparatus and medium
CN110413822A (en) Offline image structural workflow net, device, system and storage medium
CN111343239B (en) Communication request processing method, communication request processing device and transaction system
CN110083457A (en) A kind of data capture method, device and data analysing method, device
CN111694620A (en) Interaction method, device and equipment of third-party service and computer storage medium
CN114880321A (en) A business early warning method and device
CN118055158A (en) Large model request scheduling method, large model gateway system and electronic equipment
CN118259880A (en) Rule chain-based service combination interface design method
CN118644371A (en) Digital government affairs operating system, service process construction method, equipment and media
CN116149272A (en) A cloud-edge collaborative production line monitoring method, device and system

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