Business processing method and device based on microkernel architecture and related product

By adopting a microkernel-based business processing method and utilizing the Service Discovery Mechanism (SPI) to call functional plug-in modules, the challenges of scalability and flexibility in the Yinbaotong system were resolved, enabling efficient system expansion and flexible adjustment.

CN121364901AActive Publication Date: 2026-01-20CPIC ALLIANZ HEALTH INSURANCE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202511542782.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-27
Publication Date
2026-01-20
Estimated Expiration
2045-10-27

AI Technical Summary

Technical Problem

The existing bank-insurance linkage system faces challenges in terms of scalability and flexibility due to its architecture, making it difficult to adapt to diverse business needs.

Method used

The system adopts a microkernel-based business processing approach, using the Service Discovery System (SPI) mechanism to call functional plugin modules and dynamically load plugin modules to meet different business needs. The system core is responsible for executing basic logic, while the plugin modules provide customized functions.

Benefits of technology

The system has improved the scalability and flexibility of the bank-insurance linkage system, supporting multiple protocols and business types, and enhancing the system's adaptability and flexible adjustment capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121364901A_ABST
    Figure CN121364901A_ABST
Patent Text Reader

Abstract

The invention discloses a service processing method and device based on a microkernel architecture and a related product. The method comprises the following steps: receiving a service request sent by a client; analyzing the service request, and obtaining a service execution template matched with the service request; wherein the service execution template comprises a service process node corresponding to the service; and for any business process node, under the condition that the business process node lacks the corresponding target function processing slot, calling a function plug-in module corresponding to the target function through a service discovery mechanism SPI until the business is completed. In the embodiment of the invention, the system core is separated from the plug-in module, the system core is responsible for executing the most basic general service logic, and the plug-in module provides a customization function of specific service requirements, so that the system can be expanded and flexibly adjusted according to different service requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a business processing method, apparatus and related products based on a microkernel architecture. Background Technology

[0002] The Bank-Insurance Link system, a comprehensive business processing platform jointly developed by banks and insurance companies, involves multiple protocols (HTTP, Socket, etc.), encryption and decryption, rate limiting and degradation, logging, premium calculation, insurance application, and underwriting. With the changing and diversified business needs, the existing Bank-Insurance Link system faces challenges in terms of scalability and flexibility due to its architecture. Summary of the Invention

[0003] To address the aforementioned issues, this application provides a business processing method, apparatus, and related products based on a microkernel architecture, thereby improving the scalability and flexibility of the banking and insurance system.

[0004] The embodiments of this application disclose the following technical solutions:

[0005] In a first aspect, embodiments of this application provide a business processing method based on a microkernel architecture, the method comprising:

[0006] Receive business requests sent by the client;

[0007] Parse the business request and obtain the business execution template that matches the business request; the business execution template includes the business process nodes corresponding to the business.

[0008] For any business process node, if the business process node lacks a corresponding target function processing slot, the corresponding function plug-in module is called through the Service Discovery Mechanism (SPI) until the business is completed.

[0009] In one possible implementation, for any business process node, if the business process node lacks a corresponding target function processing slot, the corresponding function plugin module is invoked through the Service Discovery Mechanism (SPI), specifically including:

[0010] For any business process node, determine the target function corresponding to the business process node, and the target function processing slot corresponding to the target function.

[0011] If the target function lacks a corresponding target function slot, the corresponding function plugin module and its identification information are determined based on the Service Discovery Mechanism (SPI).

[0012] The functional plugin module is loaded based on its identification information and the corresponding configuration file.

[0013] In a possible implementation, after the task is completed, the method further includes:

[0014] Converting, by the data conversion plug-in, the execution result of the service into a preset format;

[0015] Recording, by the log plug-in, request full-link information; wherein the full-link information includes an identifier of the service request, parameters of the service request, an execution time of the service, and a row state of the service;

[0016] Returning the execution result in the preset format and the full-link information to the client.

[0017] In a possible implementation, the functional plug-in module includes at least one of a message parsing plug-in module, an encryption plug-in module, a decryption plug-in module, and a signature verification plug-in module.

[0018] In a possible implementation, the target function processing slot includes at least one of a flow control processing slot, a data conversion processing slot, a flow limiting and degradation processing slot, a log reporting processing slot, and an alarm processing slot.

[0019] In a second aspect, an embodiment of the present application provides a service processing apparatus based on a microkernel architecture, the apparatus including a receiving module, an analyzing module, and an executing module;

[0020] The receiving module is configured to receive a service request sent by a client.

[0021] The analyzing module is configured to analyze the service request and obtain a service execution template matched with the service request; wherein the service execution template includes service flow nodes corresponding to the service.

[0022] The executing module is configured to, for any service flow node, call a functional plug-in module corresponding to a target function through a service discovery mechanism SPI in a case where the service flow node lacks a corresponding target function processing slot, until the service is completed.

[0023] In a possible implementation, the executing module is specifically configured to, for any service flow node, determine a target function corresponding to the service flow node and a target function processing slot corresponding to the target function; in a case where the target function lacks a corresponding target function slot, determine a functional plug-in module corresponding to the target function and identification information of the functional plug-in module according to the service discovery mechanism SPI; and load the functional plug-in module according to the identification information of the functional plug-in module and a configuration file corresponding to the functional plug-in module.

[0024] In a possible implementation, the apparatus further includes a returning module.

[0025] The returning module is configured to convert the execution result of the service into a preset format through a data conversion plug-in, record request full-link information through a log plug-in, wherein the full-link information comprises an identifier of the service request, parameters of the service request, an execution time of the service, and a row state of the service, and return the execution result in the preset format and the full-link information to the client.

[0026] In a third aspect, an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the computer program implements the service processing method based on the microkernel architecture according to any one of the embodiments of the first aspect.

[0027] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the service processing method based on the microkernel architecture according to any one of the embodiments of the first aspect.

[0028] To improve the scalability and flexibility of the silver insurance system, an embodiment of the present application provides a microkernel architecture, based on which a service request sent by a client is received; the service request is parsed to obtain a service execution template matched with the service request; wherein the service execution template comprises a service flow node corresponding to the service; for any service flow node, in the case that the service flow node lacks a corresponding target function processing slot, a function plug-in module corresponding to the target function is called through a service discovery mechanism SPI until the service is completed. In the embodiment of the present application, by separating the system core from the plug-in module, the system core is responsible for executing the most basic general service logic, and the plug-in module provides customized functions for specific service requirements, ensuring that the system can be extended and flexibly adjusted according to different service requirements. BRIEF DESCRIPTION OF DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0030] Figure 1 A flowchart of a service processing method based on a microkernel architecture provided by an embodiment of the present application;

[0031] Figure 2 A schematic diagram of a service processing device based on a microkernel architecture provided by an embodiment of the present application;

[0032] Figure 3A schematic diagram of a functional plug-in module provided in an embodiment of the present application;

[0033] Figure 4 A schematic diagram of a core function module provided in an embodiment of the present application;

[0034] Figure 5 A schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to enable persons skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by persons skilled in the art without creative work fall within the scope of protection of the present application.

[0036] The terms "first" and "second" and the like in the specification and claims of the present application are used to distinguish different objects, and are not used to describe a specific order of the objects. For example, the first resistor and the second resistor are used to distinguish different resistors, and are not used to describe a specific order of the resistors.

[0037] In the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design presented as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or advantageous than other embodiments or designs. Rather, the use of "exemplary" or "for example" is merely intended to present concepts in a concrete manner. Therefore, it is to be understood that the embodiments or designs presented as "exemplary" or "for example" should not be interpreted as being more preferred or advantageous than other embodiments or designs.

[0038] In the description of the embodiments of the present application, unless otherwise specified, "a plurality of" means two or more, for example, a plurality of processing units means two or more processing units, and the like; a plurality of elements means two or more elements, and the like.

[0039] For the convenience of subsequent understanding, the business processing method based on the microkernel architecture will be introduced below with reference to the drawings of the specification.

[0040] Referring to Figure 1 , the figure is a flowchart of a business processing method based on a microkernel architecture provided in an embodiment of the present application.

[0041] As Figure 1 shown, the business processing method based on the microkernel architecture includes the following steps:

[0042] S1000: receiving a service request sent by a client.

[0043] In the embodiments of the present application, the type of the client is not specifically limited. For example, the client can be a computer, a tablet computer, or a server device.

[0044] In the embodiments of the present application, the protocol type of the service request is not specifically limited. For example, the client can interact with data through an HTTP protocol, an Sftp protocol, and a Socket protocol. The HTTP is supported by a Controller module, and the Socket is implemented to listen through Netty, to ensure efficient connection with external systems.

[0045] In the embodiments of the present application, the system supports multiple protocols (HTTP, Sftp, and Socket), provides diversified service access modes, and enhances the adaptability of the system.

[0046] S2000: Analyzing the service request, and obtaining a service execution template matched with the service request; wherein the service execution template comprises a service flow node corresponding to the service.

[0047] In the embodiments of the present application, the type of the service is not specifically limited. For example, the service can be at least one of multiple services such as a multi-protocol (HTTP, Socket, etc.) service, an encryption and decryption service, a flow limiting and degradation service, a log recording service, a premium trial service, an insurance application service, and an insurance underwriting service.

[0048] For example, the premium trial service corresponds to a premium trial execution template, the insurance application service corresponds to an insurance application execution template, the insurance underwriting service corresponds to an insurance underwriting execution template, and so on, which will not be repeatedly illustrated.

[0049] Taking the premium trial service as an example, the premium trial execution template corresponding to the premium trial service comprises the following flow nodes: a data verification node (used to verify mandatory fields, field formats, and service rules, etc.), a premium calculation node (used to calculate a premium according to insurance product rules and insurance application information), a discount application node (used to apply a discount according to a promotion activity or a customer level), and a result packaging node (used to package a calculation result into a response message).

[0050] It should be noted that each service flow node in the embodiments of the present application can be defined as a configurable plug-in, and each node can be added or adjusted according to actual needs, to flexibly configure a service flow.

[0051] S3000: For any service flow node, in a case where the service flow node lacks a corresponding target function processing slot, a function plug-in module corresponding to the target function is called through a service discovery mechanism SPI, until the service is completed.

[0052] In a possible implementation, for any service flow node, a target function corresponding to the service flow node is determined, and the target function processing slot corresponding to the target function is determined; in a case where the target function lacks a corresponding target function slot, a function plug-in module corresponding to the target function and identification information of the function plug-in module are determined according to a service discovery mechanism SPI; and the function plug-in module is loaded according to the identification information of the function plug-in module and a configuration file corresponding to the function plug-in module.

[0053] In the embodiments of the present application, the function plug-in module includes at least one of a message analysis plug-in module, an encryption plug-in module, a decryption plug-in module, and a signature verification plug-in module.

[0054] In the embodiments of the present application, the target function processing slot includes at least one of a flow control processing slot, a data conversion processing slot, a flow limiting and degradation processing slot, a log reporting processing slot, and an alarm processing slot.

[0055] To better understand this step, the data verification node, the premium calculation node, the discount application node, and the result packaging node in the premium trial calculation service described in the foregoing embodiments will be taken as examples for corresponding introduction.

[0056] For the data verification node, in the embodiments of the present application, it is first checked whether a corresponding data verification processing slot exists; in a case where the data verification processing slot exists, the data is directly verified through the data verification processing slot, and in a case where the data verification processing slot does not exist, the data is verified through a data verification plug-in module by using SPI.

[0057] For the premium calculation node, in the embodiments of the present application, it is first checked whether a corresponding premium calculation processing slot exists; in a case where the premium calculation processing slot exists, the premium is directly calculated through the premium calculation processing slot, and in a case where the premium calculation processing slot does not exist, the premium is calculated through a premium calculation plug-in module by using SPI.

[0058] For the discount application node, in the embodiments of the present application, it is first checked whether a corresponding discount application processing slot exists; in a case where the discount application processing slot exists, the discount amount is directly calculated through the discount application processing slot, and in a case where the discount application processing slot does not exist, the discount amount is calculated through a discount application plug-in module by using SPI.

[0059] For the result packaging node, in the embodiments of the present application, it is first checked whether a corresponding result packaging processing slot exists; in a case where the result packaging processing slot exists, the premium trial calculation result is directly packaged through the result packaging processing slot, and in a case where the result packaging processing slot does not exist, the premium trial calculation result is packaged through a result packaging plug-in module by using SPI.

[0060] In the embodiment of the present application, first, a service request sent by a client is received based on the architecture; then, the service request is parsed to obtain a service execution template matched with the service request; wherein, the service execution template comprises a service process node corresponding to the service; finally, for any service process node, in the case that the service process node lacks a target function processing slot corresponding thereto, a function plug-in module corresponding to the target function is invoked through a service discovery mechanism SPI until the service is completed. In the embodiment of the present application, the architecture separates the system core from the plug-in module, the system core is responsible for executing the most basic general service logic, and the plug-in module provides customized functions for specific service requirements, thereby ensuring that the system can be extended and flexibly adjusted according to different service requirements.

[0061] In addition, in the embodiment of the present application, the plug-in is dynamically loaded through the SPI mechanism to meet different service requirements, avoid hard coding and system redundancy, each node in the link can be dynamically configured, flexible service process customization and adjustment are supported, and the service processing process is simplified.

[0062] In the embodiment of the present application, after the service is completed, the execution result of the service can be converted into a preset format through a data conversion plug-in, request full-link information can be recorded through a log plug-in, wherein, the full-link information comprises an identifier of the service request, a parameter of the service request, an execution time of the service and a state of the service, and the execution result in the preset format and the full-link information are returned to the client.

[0063] The embodiment of the present application also provides a service processing device based on a microkernel architecture, the device comprises a receiving module 100, an analyzing module 200 and an executing module 300.

[0064] The receiving module 100 is used for receiving a service request sent by a client.

[0065] The analyzing module 200 is used for parsing the service request to obtain a service execution template matched with the service request; wherein, the service execution template comprises a service process node corresponding to the service.

[0066] The executing module 300 is used for, for any service process node, in the case that the service process node lacks a target function processing slot corresponding thereto, invoking a function plug-in module corresponding to the target function through a service discovery mechanism SPI until the service is completed.

[0067] In the embodiment of the present application, the architecture separates the system core from the plug-in module, the system core is responsible for executing the most basic general service logic, and the plug-in module provides customized functions for specific service requirements, thereby ensuring that the system can be extended and flexibly adjusted according to different service requirements.

[0068] In a possible implementation, the execution module 300 is specifically configured to determine, for any service process node, a target function corresponding to the service process node, and a target function processing slot corresponding to the target function; in a case where the target function lacks a corresponding target function slot, determine, according to a service discovery mechanism SPI, a function plug-in module corresponding to the target function and identification information of the function plug-in module; and load the function plug-in module according to the identification information of the function plug-in module and a configuration file corresponding to the function plug-in module.

[0069] In a possible implementation, the apparatus further includes a returning module.

[0070] The returning module is configured to convert, by a data conversion plug-in, an execution result of the service into a preset format; record, by a log plug-in, request full-link information; the full-link information includes identification of the service request, parameters of the service request, execution time of the service, and a state of the service; and return the execution result in the preset format and the full-link information to the client.

[0071] In a possible implementation, the function plug-in module includes at least one of a message analysis plug-in module, an encryption plug-in module, a decryption plug-in module, and a signature verification plug-in module.

[0072] As shown in FIG. 6, the function plug-in module includes a traffic statistic module (TrafficStatisticSlot), a fuse degradation module (FuseDegradationSlot), an encryption / decryption / verification module (SecuritySlot), a data conversion module (DataConvertSlot), an alarm module (AlarmSlot), and a service processing module (BusinessHandleSlot). Figure 3

[0073] It should be understood that, in the embodiments of the present application, any module can be added or deleted, for example, a custom implementation slot (MyCustomSlot) is inserted in front of the alarm module.

[0074] In a possible implementation, the target function processing slot includes at least one of a process control processing slot, a data conversion processing slot, a fuse degradation processing slot, a log reporting processing slot, and an alarm processing slot.

[0075] In addition, the embodiments of the present application provide a core function module schematic diagram, as shown in FIG. 6. Figure 4 ​The external request is input to an execution context module (Contex) by Sftp, HTTP or Socket, the output end of the execution context module is connected to the input end of a processing slot chain module (ProcessorSlotChain), the output end of the processing slot chain module is connected to the input end of a parameter verification module (Validator), the output end of the parameter verification module is connected to the input end of an execution template module (TemplateExecute), and the execution template outputs a service flow node.

[0076] The embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the program is executed by a processor to implement the service processing method based on the microkernel architecture.

[0077] In actual application, the computer readable storage medium can adopt any combination of one or more computer readable media. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, device or component.

[0078] The computer readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, in which a computer readable program code is borne. Such a propagated data signal can take multiple forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium that is not a computer readable storage medium and that can transmit, propagate or transport a program for use by or in connection with an instruction execution system, device or component.

[0079] The program code contained in the computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0080] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0081] As shown in Figure 5 FIG. 1 is a schematic diagram of a computer device according to an embodiment of the present application. Figure 5 The computer device 12 shown is but one example of a computer device that should not limit the scope of functionality or use of the embodiments of the present application.

[0082] As shown in Figure 5 The computer device 12 is representative of a general-purpose computer device. Components of computer device 12 can include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 that couples various system components including system memory 28 and processing unit 16.

[0083] Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration bus, a processor or local bus using any of a variety of bus architectures. By way of example, these architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

[0084] Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and non-volatile media, removable and non-removable media.

[0085] System memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 can further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a "hard drive"). Figure 5 Although not shown, computer device 12 can employ other, different or Figure 5 additional hardware and / or software modules that can be used in conjunction with the computer device 12, including but not limited to a microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.

[0086] Program / utility 40, having a set (at least one) of program modules 42, can be stored in memory 28 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data, each or some combination thereof, can include implementation of a network environment. Program modules 42 generally carry out the functions and / or methodologies of embodiments of the application as described herein.

[0087] Computer device 12 can also communicate with one or more external devices 14 such as a keyboard or a pointing device, displays 24, etc.; one or more devices that enable a user to interact with computer device 12; and / or one or more devices that enable computer device 12 to communicate with one or more other computing devices. Such communication can be via input / output (I / O) interfaces 22. Still yet, computer device 12 can communicate with one or more networks, such as a local area network (LAN), a wide area network (WAN), and / or the Internet, through network adapter 20. As Figure 5 illustrated, network adapter 20 can communicate with the other components of computer device 12 through bus 18. It should be understood that although not shown, other hardware and / or software components could be used in conjunction with computer device 12. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc. Figure 5

[0088] ​The processor unit 16 performs various function applications and data processing by running programs stored in the system memory 28, such as implementing the microkernel architecture-based service processing method provided in the embodiments of the present application.

[0089] The above merely provides a specific implementation of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A service processing method based on a microkernel architecture, characterized by, The method comprises: receiving a service request sent by a client; parsing the service request to obtain a service execution template matched with the service request; wherein the service execution template comprises a service flow node corresponding to the service; for any service flow node, in a case where the service flow node lacks a corresponding target function processing slot, invoking a function plug-in module corresponding to the target function through a service discovery mechanism SPI until the service is completed.

2. The service processing method according to claim 1, characterized by, The method of invoking the function plug-in module corresponding to the target function through the service discovery mechanism SPI in the case where the service flow node lacks the corresponding target function processing slot comprises: for any service flow node, determining a target function corresponding to the service flow node and the target function processing slot corresponding to the target function; in a case where the target function lacks the corresponding target function slot, determining the function plug-in module corresponding to the target function and identification information of the function plug-in module according to the service discovery mechanism SPI; loading the function plug-in module according to the identification information of the function plug-in module and a configuration file corresponding to the function plug-in module.

3. The service processing method according to claim 1, characterized by, After the task is completed, the method further comprises: converting an execution result of the service into a preset format through a data conversion plug-in; recording request full-link information through a log plug-in; wherein the full-link information comprises identification of the service request, parameters of the service request, execution time of the service, and a state of the service; returning the execution result in the preset format and the full-link information to the client.

4. The transaction processing method according to any one of claims 1 to 3, characterized by, The function plug-in module comprises at least one of a message parsing plug-in module, an encryption plug-in module, a decryption plug-in module, and a signature verification plug-in module.

5. The transaction processing method according to any one of claims 1 to 3, characterized by, The target function processing slot comprises at least one of a flow control processing slot, a data conversion processing slot, a flow limiting and degradation processing slot, a log reporting processing slot, and an alarm processing slot.

6. A service processing apparatus based on a microkernel architecture, characterized by comprising: The device comprises a receiving module, a parsing module, and an execution module; the receiving module is configured to receive a service request sent by a client; the parsing module is configured to parse the service request to obtain a service execution template matched with the service request; wherein the service execution template comprises a service flow node corresponding to the service; the execution module is configured to, for any service flow node, in a case where the service flow node lacks a corresponding target function processing slot, invoke a function plug-in module corresponding to the target function through a service discovery mechanism SPI until the service is completed.

7. The service processing device according to claim 6, characterized by The execution module is specifically configured to, for any service flow node, determine a target function corresponding to the service flow node and the target function processing slot corresponding to the target function; in a case where the target function lacks the corresponding target function slot, determine the function plug-in module corresponding to the target function and identification information of the function plug-in module according to the service discovery mechanism SPI; and load the function plug-in module according to the identification information of the function plug-in module and a configuration file corresponding to the function plug-in module. According to the identification information of the function plug-in module and the configuration file corresponding to the function plug-in module, the function plug-in module is loaded.

8. The service processing device of claim 6, wherein, The device further comprises a returning module. The returning module is configured to convert the execution result of the service into a preset format through a data conversion plug-in, record request full-link information through a log plug-in, wherein the full-link information comprises an identifier of the service request, parameters of the service request, an execution time of the service, and a row state of the service, and return the execution result in the preset format and the full-link information to the client.

9. A computer device, comprising: Comprise: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the microkernel architecture-based service processing method according to any one of claims 1-5.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores instructions, and when the instructions run on the terminal device, the terminal device executes the microkernel architecture-based service processing method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Service customization method and related equipment

    CN115914344A

  • Business processing method and device and computer readable storage medium

    CN116204239A

  • Payment information processing method, system and equipment

    CN117808477A

  • Event driving method and device based on microkernel architecture

    CN118295830A

  • Method for publishing mobile applications and electronic apparatus

    WO2019029451A1