Field assignment method and apparatus

By acquiring and parsing information from the assignment configuration file and using conversion functions to dynamically process field assignment logic, the problem of complex and error-prone field assignment logic in financial business systems has been solved, achieving flexible and efficient field assignment processing and improving the maintainability and accuracy of the system.

CN119211390BActive Publication Date: 2025-11-25CLP JINXIN TECH CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202411198050.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2025-11-25
Estimated Expiration
2044-08-28

AI Technical Summary

Technical Problem

In financial business systems, the field assignment logic in existing technologies is complex, prone to errors, and has high code quality risks, making it difficult to flexibly handle field assignment logic for different message types.

Method used

By obtaining the assignment configuration file, parsing the configuration items to obtain source configuration information, destination configuration information, and conversion functions, the field assignment logic is dynamically processed. The conversion functions are used to convert and assign field values, reducing code modifications and improving flexibility and accuracy.

Benefits of technology

This enables the handling of field assignments for different message types without frequent code modifications, reducing the possibility of errors, improving system maintainability and scalability, and enhancing the efficiency and accuracy of field assignments.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present disclosure provides a field assignment method and device, the method comprising: sequentially reading each configuration item in an assignment configuration file; parsing the currently read configuration item to obtain source configuration information, destination configuration information and configuration information of a conversion function in the currently read configuration item; determining a field value to be converted according to the source configuration information; calling the conversion function according to the configuration information of the conversion function to convert the field value to be converted to obtain a converted field value; and assigning a destination field according to the destination configuration information and the converted field value, thereby achieving dynamic processing of field assignment logic of different message types without modifying and recompiling code to adjust the field assignment rule each time, improving field assignment flexibility; in addition, when the message type increases, only the corresponding configuration item needs to be added in the assignment configuration file, without modifying and extending complex code logic, improving system maintainability and scalability.
Need to check novelty before this filing date? Find Prior Art