Telecommunication industry service rule management method, system and device and storage medium
By abstracting telecommunications business rules into rule templates according to type, and configuring execution rules, generating and combining rules, the problems of rigid and risky rule management in the existing system are solved, flexible management and verification are achieved, and the efficiency and transparency of rule maintenance are improved.
Patent Information
- Application Number
- CN202411971023.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-25
AI Technical Summary
The existing telecommunications business rule management system has problems such as rigid rule management, high risk of new and modification, complex maintenance, and incomplete rule verification, which makes it difficult to maintain and expand rule management during business processing.
By abstracting business rules into different rule templates according to type, configuring execution rules, generating basic rules, combining them into business groups, publishing them into corresponding tariff business scenarios, and checking and feedback of basic rules.
It realizes flexible management and verification of business rules, reduces the risks of rule modification and release, improves the efficiency and transparency of rule maintenance, and can provide real-time feedback on the execution results of rule.
Smart Images

Figure CN119886096A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of telecommunication industry, and in particular to a method, system, device and storage medium for managing business rules in telecommunication industry. Background Art
[0002] With the development of the telecommunications industry market, the evolution and change of telecommunications services, the business acceptance system has been iterating and expanding with the continuous market demand, and the business rules have become more and more complex. The tariff package business has been carried out for many years. With the evolution and iteration of demand, the rules attached to it have become more and more difficult to maintain. In many cases, market personnel have to plan a new tariff and re-formulate rules, resulting in duplication of work. In addition, with the segmentation of the market, the scenarios of telecommunications business handling are segmented, and different business rules are gradually evolved, which leads to many scenarios in business handling, and the business rules in different scenarios have differences in details. The current system rules are implemented in the program development of each function, and there are problems: the rule management is rigid, and only the core program can be modified; there are risks in the launch of the core program of the rule addition and modification, and the start and stop system affects the business system. It is complicated to maintain, and the program must be modified every time it is modified, and professionals are required; even if some rules are configured, the configuration methods or models are not unified and scattered; it is impossible to count whether the rules work; how many rules there are in the business scenario, unless the personnel are transferred, they cannot know. When the rule verification fails, the prompt information is incomplete, and only the reason for the failure of the current rule can be returned, and it is unknown whether there are any subsequent rules that fail. Summary of the invention
[0003] In view of the shortcomings existing in the above problems, the present invention provides a telecommunication industry service rule management method, system, device and storage medium.
[0004] To achieve the above object, the present invention provides a telecommunications industry service rule management method, comprising:
[0005] Abstracting different rule templates according to business rule types, and configuring execution rules for different rule templates;
[0006] Generate basic rules based on the rule template;
[0007] Combining a plurality of the basic rules according to usage scenarios to form a business group;
[0008] Publishing the service group to the corresponding tariff service scenario;
[0009] At the same time, the basic rules in the business group are verified according to the corresponding execution rules, and all execution results are fed back.
[0010] Preferably, the execution rules include database execution rules and service call rules. The database execution rules obtain database link execution by configuring database SQL template and database source parameters; the service call rules configure service call template and service call parameters.
[0011] Preferably, the database source parameters include execution SQL, condition parameters, data source, and scenario parameters for specific business rule applications.
[0012] Preferably, the service call template includes a service name, an application name, service input and output parameters, and a parameter type.
[0013] The present invention also provides a telecommunications industry business rule management system, comprising:
[0014] The template module is used to abstract different rule templates according to the business rule type and configure execution rules for different rule templates;
[0015] A generating module, used for generating basic rules based on the rule template;
[0016] A forming module, used for combining a plurality of the basic rules according to usage scenarios to form a service group;
[0017] A publishing module, used to publish the service group to the corresponding tariff service scenario;
[0018] The execution module is used to simultaneously verify the basic rules in the business group according to the corresponding execution rules and feed back all the execution results.
[0019] Preferably, the execution rules include database execution rules and service call rules. The database execution rules obtain database link execution by configuring database SQL template and database source parameters; the service call rules configure service call template and service call parameters.
[0020] Preferably, the database source parameters include execution SQL, condition parameters, data source, and scenario parameters for specific business rule applications.
[0021] Preferably, the service call template includes a service name, an application name, service input and output parameters, and a parameter type.
[0022] The present invention also provides a device, comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit executes the above method.
[0023] The present invention also provides a storage medium storing a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device executes the above method.
[0024] Compared with the prior art, the present invention has the following beneficial effects:
[0025] The present invention publishes business rules to sales products and application scenarios, provides rule verification and execution capabilities to complete the use of business rules, and can reflect the use of business rules in the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flow chart of the telecommunication industry service rule management method of the present invention. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] Reference Figure 1 The present invention provides a telecommunications industry service rule management method, comprising:
[0029] Abstract different rule templates according to business rule types, and configure execution rules for different rule templates;
[0030] Generate basic rules based on rule templates;
[0031] Combine multiple basic rules together to form a business group according to usage scenarios;
[0032] Publish the business group to the corresponding tariff business scenario;
[0033] At the same time, the basic rules in the business group are verified according to the corresponding execution rules, and all execution results are fed back.
[0034] In this embodiment, business rules are classified, and different rule templates have different execution modes, such as execution according to the configuration database, execution according to the configuration application source scheduling service, etc. According to the use of the business system, the business rules are divided into database execution rules and service call rules according to the execution mode. The database execution rule is to obtain the database link execution by configuring the database SQL template and the database source parameters. The service call execution rule is to configure the template and service call parameters of the service call, and call the business system service through service discovery. The business rule template abstracts the business classification used in the system into a rule template, and the basic rules can be created through the rule template. The business rule template sets different abstract templates according to the type of business rules. The template parameters of the database execution rule include execution SQL, condition parameters, data source and other specific business rule application scenario parameters; the service call rule template includes service name, application name, service input and output parameters and parameter type, etc. The service rules in special scenarios have special usage configurations. Select to use the business rule template through the interface. After filling in the parameters in the interface, a new basic rule can be generated, for example: the user has been on the network for more than 3 years. A business rule with actual value is formed. After the basic business rules are generated, you can configure the prompt information when the rule execution fails. According to the needs of the business scenario, you can configure the prompt information in several different scenarios. The prompt information content supports dynamic replacement of parameters. Combine multiple basic rules according to the usage scenario to form a business group, and publish and manage the business. The business group contains multiple basic rules, for example: the user has been in the network for more than 3 years, the user level is above level 4, the monthly consumption is above 158, and there is a broadband service in effect. These 4 basic rules are combined into a business rule group, and the business group can be described for use and published for use. Rules can be published to specified tariffs and business scenarios. Business rule groups can be published to tariffs as conditions for tariff sales. Tariff sales rules are connected to the tariff management system, and rule verification is triggered when the tariff is sold. It can be published to a business scenario in a function or a step in a function, and verification is performed when the step is executed. When each step is executed, the business acceptance system framework collects the execution rule information of each step, and triggers rule verification when it is executed. In order to reduce the frequent access to business rules by the business acceptance system, the rules of the functional steps of the business rules are configured into the cache when the system starts. The business acceptance system can choose to load the cache content into the memory when the system starts, or directly access the cache. Provide rule query and rule verification service capabilities, provide fast query and verification capabilities, and return all rule execution results.After the business rules are published, the ability to query the rules and verify the execution of the rules is provided. After the business acceptance system initiates a rule query and rule execution request, the business rule management system must quickly respond and return the information of the business rule group. When executing the rules, the execution results of each basic rule contained in the business rules must be returned. If the rule execution fails, the reason for the failure must be returned according to the information configured in the business rules. Provide a business rule management operation dashboard function to query the number of business rules in each dimension and the release data. You can view the details of the business rules under the specified tariff, function, and business scenario. The business rule management dashboard can directly view the data volume of the business rule group, the number of scenarios applied to the business rule group, and the number of basic rules. You can search the business rule group list according to conditions, such as application scenarios, rule name keywords, etc. In the list, you can click to view rule details, rule modification records, rule release scenarios and other information. Provide a business rule execution operation dashboard function to query the business rule execution status, including key indicator data such as execution success rate, failure rate, and response time. Business rule execution operation is to enter the tracking point in the output log when the business rule is executed, and output key logs to the log center. After receiving the output logs, the log center will centrally manage and save the logs of specific embedding points and generate log records of the specified template. The business rule operation dashboard function summarizes and counts the execution log information queried through the query service to generate operation data.
[0035] The business rule execution operation dashboard can directly view the distribution ratio of each application scenario of the business rule, the business rule call response time curve, the business rule call pass rate curve, and the business rule failure rate curve. You can choose to view the business rule call details, view the specific execution data of the executed rules, view the execution data of the tariff relationship rules, and the execution data of the scenario rules.
[0036] The present invention also provides a telecommunications industry business rule management system, comprising:
[0037] The template module is used to abstract different rule templates according to the business rule type and configure execution rules for different rule templates;
[0038] A generation module, used to generate basic rules based on rule templates;
[0039] A formation module is used to combine multiple basic rules according to usage scenarios to form a business group;
[0040] The publishing module is used to publish the service group to the corresponding tariff service scenario;
[0041] The execution module is used to verify the basic rules in the business group according to the corresponding execution rules at the same time, and feedback all the execution results.
[0042] Preferably, the execution rules include database execution rules and service call rules. The database execution rules obtain database link execution by configuring the database SQL template and database source parameters; the service call rules configure the service call template and service call parameters.
[0043] Preferably, the database source parameters include execution SQL, condition parameters, data source, and scenario parameters for specific business rule applications.
[0044] Preferably, the template of the service call includes a service name, an application name, service input and output parameters, and a parameter type.
[0045] The present invention also provides a device, comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit executes the above method.
[0046] The present invention also provides a storage medium storing a computer program executable by an electronic device. When the program runs on the electronic device, the electronic device executes the above method.
[0047] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for managing business rules in the telecommunications industry, characterized in that: include: Abstracting different rule templates according to business rule types, and configuring execution rules for different rule templates; Generate basic rules based on the rule template; Combining a plurality of the basic rules according to usage scenarios to form a business group; Publishing the service group to the corresponding tariff service scenario; At the same time, the basic rules in the business group are verified according to the corresponding execution rules, and all execution results are fed back.
2. The telecommunications industry business rule management method according to claim 1, characterized in that: The execution rules include database execution rules and service call rules. The database execution rules obtain database link execution by configuring database SQL template and database source parameters; the service call rules configure service call template and service call parameters.
3. The telecommunications industry business rule management method according to claim 2, characterized in that: The database source parameters include execution SQL, condition parameters, data source, and scenario parameters for specific business rule applications.
4. The telecommunications industry business rule management method according to claim 3, characterized in that: The service call template includes a service name, an application name, service input and output parameters, and a parameter type.
5. A telecommunications industry business rule management system, characterized in that: include: The template module is used to abstract different rule templates according to the business rule type and configure execution rules for different rule templates; A generating module, used for generating basic rules based on the rule template; A forming module, used for combining a plurality of the basic rules according to usage scenarios to form a service group; A publishing module, used to publish the service group to the corresponding tariff service scenario; The execution module is used to simultaneously verify the basic rules in the business group according to the corresponding execution rules and feed back all the execution results.
6. The telecommunications industry business rule management system according to claim 5, characterized in that: The execution rules include database execution rules and service call rules. The database execution rules obtain database link execution by configuring database SQL template and database source parameters; the service call rules configure service call template and service call parameters.
7. The telecommunications industry business rule management system according to claim 6, characterized in that: The database source parameters include execution SQL, condition parameters, data source, and scenario parameters for specific business rule applications.
8. The telecommunications industry business rule management system according to claim 7, characterized in that: The service call template includes a service name, an application name, service input and output parameters, and a parameter type.
9. A device, characterized in that: The method comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit executes the method according to any one of claims 1 to 4.
10. A storage medium, characterized in that: It stores a computer program executable by an electronic device. When the program runs on the electronic device, the electronic device executes the method according to any one of claims 1 to 4.