Train Signal System Using LUA Framework for Dynamic Scripting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing train signal systems face challenges with poor functional flexibility, compatibility issues due to inherent code, and complexity in upgrades, as well as limitations in supporting multiple operating environments, making it difficult to compile stable and reliable programs for diverse communication modes and monitoring devices.

Innovation Solution

The implementation of a train signal system utilizing the LUA language, which allows for dynamic script instructions to be executed without modifying tool code, enabling flexible functional configuration on both PC and physical devices, and adapting to varying train requirements through an LUA framework that supports communication between subsystems via distinct interfaces.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If inherent code is written into the framework to realize a corresponding function, then the function can be implemented, but the functional flexibility deteriorates

Engineering Contradiction:
Improvefunction implementationVSAvoidfunctional flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent applies dynamics by making the framework code dynamic through LUA scripting capability. The system allows dynamic addition, modification, and deletion of code functions during runtime without requiring system restart or recompilation. This resolves the contradiction by enabling both reliable function implementation through structured framework and functional flexibility through dynamic script injection.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent introduces an intermediary mechanism - the LUA script engine - that bridges the fixed framework code and the need for functional flexibility. The script engine acts as a mediator that allows dynamic code execution within the stable framework structure, enabling function implementation while maintaining adaptability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If DLL is used to test the framework and dynamically add interface framework agent, then the test capability is improved, but the compatibility deteriorates and upgrade operations become complicated

Engineering Contradiction:
Improvetest capabilityVSAvoidupgrade operations
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies universality by creating a unified code management system that handles both testing and operational code through a single LUA scripting interface. This universal approach eliminates the need for separate DLL mechanisms, improving test capability while simplifying upgrade operations through a standardized script deployment process.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent replaces the mechanical DLL-based code loading system with a LUA script-based system. This substitution eliminates the compatibility and complexity issues inherent in DLL mechanisms, as scripts are platform-independent and can be deployed through simple file operations rather than complex binary linkage processes.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Device complexity

If the operating platform supports only one operating environment (PC or physical device), then the system simplicity is maintained, but the adaptability to diverse application scenarios deteriorates

Engineering Contradiction:
Improvesystem simplicityVSAvoidsupport for multiple operating environments
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent applies universality by designing the signal system to support multiple operating environments (PC and physical devices) through a unified LUA scripting interface. The same script can execute on different platforms without modification, achieving multi-environment support while maintaining system simplicity through consistent code structure and deployment mechanisms.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11958511B2Train signal system and linkage method therefor
Publication Date: 2024.04.16 BYD CO LTD
  • US11958511B2 patent drawing
  • US11958511B2 patent drawing
  • US11958511B2 patent drawing

AI summary

A train signal system includes a first subsystem, a second subsystem, built by an LUA framework, and a control platform configured to perform communication with the first subsystem by using a first interface, perform communication with the second subsystem by using a second interface, and transmit an LUA script instruction to the second subsystem by using the second interface, so that the second subsystem executes the LUA script instruction.