Service Logic Chain for Decoupled Program Execution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing applications with coupled service processing logic face challenges such as unclear structure, difficult maintenance, and interference between different service processing logics, leading to processing errors and inefficiencies.

Innovation Solution

The method involves dividing logic blocks in a target program into service logic block sets based on the service they belong to, and then concatenating these sets into a service logic chain for sequential execution, thereby decoupling service processing logics and preventing interference.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If service processing logic is coupled in the production process of applications, then the application can execute multiple services, but the structure of processing logic becomes unclear and difficult to maintain

Engineering Contradiction:
Improveservice execution capabilityVSAvoidprocessing logic structure
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments service processing logic into independent service logic block sets, where each set contains logic blocks belonging to a specific service. This segmentation separates mixed service logics into distinct, manageable units, making the overall structure clearer and easier to maintain while preserving the ability to execute multiple services.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If service processing logic is coupled in the production process of applications, then the application can execute multiple services, but the processing logic of different services interferes with each other and causes processing errors

Engineering Contradiction:
Improveservice execution capabilityVSAvoidprocessing accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

By segmenting service processing logic into separate service logic block sets, the patent prevents different service logics from interfering with each other. Each service logic block set is executed independently according to its service type, ensuring processing accuracy and eliminating cross-service interference errors.

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If service processing logic is coupled in the production process of applications, then the application can execute multiple services, but it becomes difficult to distinguish and maintain the processing logics of different services

Engineering Contradiction:
Improveservice execution capabilityVSAvoidlogic maintenance convenience
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The patent segments service processing logic into distinct service logic block sets organized by service type. This segmentation makes it easy to distinguish which logic blocks belong to which service, significantly improving maintainability. Developers can easily locate, understand, and modify service-specific logic without being confused by mixed service logics.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a service logic chain as an intermediary structure that organizes and manages service logic block sets. This chain serves as a mediator between the execution system and the segmented service logics, providing a clear framework for maintaining and managing different service processing logics.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Adaptability or versatility

If service processing logic is coupled in the production process of applications, then the application can execute multiple services, but the addition or removal of service functions becomes difficult

Engineering Contradiction:
Improveservice execution capabilityVSAvoidservice function modification
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The patent segments service processing logic into independent service logic block sets, making service functions modular. This segmentation enables easy addition or removal of service functions by simply adding or removing corresponding service logic block sets from the service logic chain, without affecting other services.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a dynamic service logic chain that can be flexibly configured. Service logic block sets can be dynamically added, removed, or reordered in the chain according to service requirements, making the system adaptable to changing service needs without requiring extensive reconfiguration.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250077245A1Method and apparatus for executing program service logic, device and medium
Publication Date: 2025.03.06 LEMON INC(GB)
  • US20250077245A1 patent drawing
  • US20250077245A1 patent drawing
  • US20250077245A1 patent drawing

AI summary

Embodiments of the present disclosure provide a method and apparatus for executing program service logic, a device and a medium. The method includes: dividing a plurality of logic blocks included in a target program into a plurality of service logic block sets according to a service to which a logic block belongs; concatenating the plurality of the service logic block sets into a service logic chain which is used for executing respective service logic block set in sequence according to an order of the respective service logic block in the service logic chain. Through the method of the present disclosure, service processing logics of different services can be decoupled, which is convenient for distinguishing and maintaining the processing logics of different services and avoiding the mutual interference of the processing logics of different services during execution.