一种业务规则的匹配方法及装置、电子设备、存储介质

By using binary machine code to store and match business rules in the memory model, the problems of long time consumption and high cost in the existing technology are solved, and more efficient business rule matching is achieved.

CN118012885BActive Publication Date: 2026-07-17TRAVELSKY TECHNOLOGY LIMITED

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TRAVELSKY TECHNOLOGY LIMITED
Filing Date
2024-03-18
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

The existing business rule matching method suffers from problems such as excessively long matching time and high cost.

Method used

Business rule data is stored in a memory model and matched using binary machine code. By parsing business requests, the system queries whether matching rule data exists in the memory model and performs the matching in memory, thus avoiding network and disk resource consumption.

Benefits of technology

It reduced the cost of matching business rules, shortened the matching time, and improved matching efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118012885B_ABST
    Figure CN118012885B_ABST
Patent Text Reader

Abstract

本发明提供一种业务规则的匹配方法及装置、电子设备、存储介质,解析业务请求得到规则匹配信息,查询是否有与规则匹配信息匹配的第一规则数据,若是,则调用第一规则数据对应的业务服务提供服务,若否,针对规则匹配信息中的每一属性的属性值,若满足通配符的替换条件则替换为通配符,得到替换后的规则匹配信息,若存在与替换后的规则匹配信息匹配的第二规则数据,则调用第二规则数据对应的业务服务提供服务。在本方案中,去掉第三方存储介质,利用内存存储规则数据,规避掉网络和磁盘的资源消耗问题,然后基于规则匹配信息在内存匹配到相应的规则数据,从而对应的业务服务为客户提供服务,以实现降低成本同时缩短业务规则的匹配耗时的目的。
Need to check novelty before this filing date? Find Prior Art