CN117667186A - Business rule configuration method, system and electronic equipment - Google Patents

Business rule configuration method, system and electronic equipment Download PDF

Info

Publication number
CN117667186A
CN117667186A CN202211052965.6A CN202211052965A CN117667186A CN 117667186 A CN117667186 A CN 117667186A CN 202211052965 A CN202211052965 A CN 202211052965A CN 117667186 A CN117667186 A CN 117667186A
Authority
CN
China
Prior art keywords
rule
service
information
accepted
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211052965.6A
Other languages
Chinese (zh)
Inventor
付克
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211052965.6A priority Critical patent/CN117667186A/en
Publication of CN117667186A publication Critical patent/CN117667186A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a business rule configuration method, a system and electronic equipment, which are used for solving the problems of complex business rule configuration process and long implementation period, wherein the method comprises the following steps: acquiring a rule program corresponding to a business rule to be accepted based on parameter information of the business rule to be accepted, wherein the parameter information comprises product information, province information and service providing information; performing rule verification on the service information of the service rule to be accepted based on the rule program; and responding to a first verification result passing the service information verification, and carrying out service rule configuration based on the service rule to be accepted. By the method, complicated operations such as hard coding and restarting the application server are not needed, the quick online service rule can be realized, the service period is effectively shortened, and the technical effect of service appeal is effectively realized.

Description

Business rule configuration method, system and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a business rule configuration method, a system, and an electronic device.
Background
As operators become more and more diverse in business dimensions and personalized, this also determines the functions that an application needs to perform adaptability verification and configuration for business rules in business online flows.
Taking telecommunication sales business rules as an example, the business rule checking process may be different for different products, provinces and services. The central server needs to support tens of thousands of products, wherein the business rules of different products are numerous, the business acceptance rules are frequently changed, and the problems of complex configuration process, long implementation period and the like are caused when the business rules are configured.
Therefore, it is needed to propose a service rule configuration scheme capable of effectively solving the problems of complex service rule configuration process and long implementation period.
Disclosure of Invention
In view of the above problems, the present application provides a service rule configuration method, system, and electronic device, which are used for solving the problems of complex service rule configuration process and long implementation period.
In order to achieve the above object, the present application provides the following technical solutions:
according to a first aspect of the present application, there is provided a business rule configuration method, including:
acquiring a rule program corresponding to a business rule to be accepted based on parameter information of the business rule to be accepted, wherein the parameter information comprises product information, province information and service providing information;
performing rule verification on the service information of the service rule to be accepted based on the rule program;
and responding to a first verification result passing the service information verification, and carrying out service rule configuration based on the service rule to be accepted.
In one embodiment, the method for obtaining the rule program corresponding to the business rule to be accepted based on the parameter information of the business rule to be accepted includes:
routing the business to be accepted to a corresponding rule program according to rule routing parameters based on parameter information of the business to be accepted rules;
the rule routing parameters comprise routing information after different types of parameter information and corresponding rule programs are bound.
In one embodiment, before routing the service to be accepted to the corresponding rule program according to the rule routing parameter based on the parameter information of the service rule to be accepted, the method further comprises:
and acquiring preconfigured rule routing parameters, wherein the rule routing parameters are preconfigured based on rule programs corresponding to different types of parameter information.
In one embodiment, the rule checking the service information of the service rule to be accepted based on the rule program includes:
checking whether the service information contains the necessary filling item information corresponding to the rule program based on the rule program under the condition that the service rule to be accepted is a telecommunication sales service rule;
and responding to a second check result containing the necessary filling item information corresponding to the rule program, and judging that the service information passes the check.
In one embodiment, the rule checking the service information of the service rule to be accepted based on the rule program includes:
checking whether the service information contains the necessary filling item information corresponding to the rule program based on the rule program under the condition that the service rule to be accepted is a telecommunication sales service rule;
responding to a second checking result containing the necessary item information corresponding to the rule program, and continuously checking whether the corresponding necessary item information in the service information meets a preset condition;
and responding to a third verification result meeting a preset condition, and judging that the service information passes the verification.
In one embodiment, the requisite fill information includes an entry tariff, and/or a bandwidth rate.
In one embodiment, before acquiring the rule program corresponding to the business rule to be accepted based on the parameter information of the business rule to be accepted, the method further includes:
and receiving a to-be-accepted service rule at the front end interface, wherein the to-be-accepted service rule carries corresponding parameter information and service information.
In one embodiment, after the rule verification is performed on the service information of the service rule to be accepted based on the rule program, the method further includes:
and responding to the first verification result of the service information verification, and displaying the information of the service information verification on a front-end interface.
According to a second aspect of the present application, there is provided a business rule configuration system, comprising:
the system comprises an acquisition module, a service providing module and a service processing module, wherein the acquisition module is used for acquiring a rule program corresponding to a to-be-accepted service rule based on parameter information of the to-be-accepted service rule, and the parameter information comprises product information, province information and service providing information;
the verification module is used for carrying out rule verification on the business information of the business rule to be accepted based on the rule program;
and the configuration module is used for responding to a first verification result of the service information verification and carrying out service rule configuration based on the service rule to be accepted.
According to a third aspect of the present application, there is provided an electronic device comprising: a memory and a processor;
the memory stores computer-executable instructions;
and the processor executes the computer-executed instructions stored in the memory, so that the electronic equipment executes the business rule configuration method.
It can be appreciated that, according to the service rule configuration method, system and electronic device provided by the application, the rule program corresponding to the service rule to be accepted is obtained based on the parameter information of the service rule to be accepted, the parameter information comprises product information, province information and service providing information, the rule program is used for carrying out rule verification on the service information of the service rule to be accepted, the service rule configuration is carried out based on the service rule to be accepted in response to the first verification result of the service information verification, and complicated operations such as hard coding and restarting of an application server are not needed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of one possible scenario provided in an embodiment of the present application;
fig. 2 is a flow chart of a business rule configuration method provided in an embodiment of the present application;
fig. 3 is one of flow diagrams of another business rule configuration method according to an embodiment of the present application;
FIG. 4 is a second flow chart of another business rule configuration method according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of a business rule configuration system according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described in more detail below with reference to the accompanying drawings in the embodiments of the present application. In the drawings, the same or similar reference numerals refer to the same or similar components or components having the same or similar functions throughout. The described embodiments are some, but not all, of the embodiments of the present application. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present application and are not to be construed as limiting the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Fig. 1 is a schematic diagram of one possible scenario provided in the embodiment of the present application, as shown in fig. 1, including a terminal device 110 and a server 120, where the terminal device 110 and the server 120 are connected to each other through a wired or wireless network. In some embodiments, the terminal 110 is configured to initiate a request for configuring a service rule to be accepted to the server 120, and the server 120 is configured to verify and configure the service rule to be accepted based on the request information provided by the terminal 110. Optionally, during the process of checking and configuring to accept business, the server 120 takes on primary computing work, and the terminal 110 takes on secondary computing work; alternatively, the server 120 takes on secondary computing work and the terminal 110 takes on primary computing work; alternatively, either the server 120 or the terminal 110, respectively, can solely undertake computing work.
The terminal device 110 may include, but is not limited to, a computer, a smart phone, a tablet computer, an e-book reader, a dynamic image expert compression standard audio layer 3 (Moving Picture experts group audio layer III, MP3 for short) player, a dynamic image expert compression standard audio layer 4 (Moving Picture experts group audio layer IV, MP4 for short) player, a portable computer, a car-mounted computer, a wearable device, a desktop computer, a set-top box, a smart television, and the like.
The server 120 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a content delivery network (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligence platform.
Alternatively, the number of the terminals 110 or the servers 120 may be more or less, which is not limited in the embodiment of the present application. In some embodiments, the terminal 110 and the server 120 may also act as nodes in a blockchain system.
The scenario schematic diagram of the present application is briefly described above, and the service rule configuration method provided in the embodiment of the present application is described in detail below by taking the server 120 applied in fig. 1 as an example.
Referring to fig. 2, fig. 2 is a flowchart of a business rule configuration method according to an embodiment of the present application, including steps S201 to S203.
Step 201, acquiring a rule program corresponding to a to-be-accepted business rule based on parameter information of the to-be-accepted business rule, wherein the parameter information comprises product information, province information and service providing information.
In this embodiment, a service rule to be accepted, that is, a service rule of a service to be online, taking a telecommunication sales service as an example, there are corresponding service rules for different telecommunication sales services, in order to implement the online of the telecommunication sales service rule, in the related art, service rule configuration of a telecommunication sales system is implemented by a hard coding manner, and in the process of configuring the service rule, a program needs to be issued, and an application server is restarted, so that service implementation period is long and a technical threshold is high.
It will be appreciated that hard coding is a software development practice that embeds data directly into the source code of a program or other executable object, as opposed to obtaining the data from outside or generating the data at runtime. Hard-coded data can typically only be modified by editing the source code and recompiling the executable, although changes can be made on memory or disk using a debugger or hexadecimal editor, the hard-coded data typically representing unchanged information such as physical constants, version numbers, and static text elements.
In this embodiment, after receiving a request for configuring a service rule to be accepted or a service online request, a corresponding rule program is first configured according to parameter information of the service rule to be accepted, and in a subsequent step, rule verification is performed on the service to be accepted by using the corresponding rule program, so that the service rule is configured in place of a hard coding mode, and the verification and configuration process is more flexible and efficient.
Wherein the parameter information includes product information, province information, and service providing information. In an example, the service acceptance step of the telecommunication sales system includes selecting a product, a province, and selecting a service provision (subscription, tariff change, etc.), and the embodiment performs flexible rule verification by providing a corresponding rule program for the product, the province, and the service provision corresponding to the service rule. For example, the tariff is a filling item when ordering the product A of the province A, the time rate of ordering the product B of the province B is a filling item, and the tariff and the time rate of changing the product C of the province C are both filling items, so that the rule of binding the tariff with the province A, the product A and the ordering scene is configured in the corresponding rule program; province B, product B, order scene binding rate and filling rule; province C, product C, change scene binding tariff and rate and fill the rule, can realize the above-mentioned business scene through the business rule of the corresponding configuration.
It should be noted that the rule program corresponding to the to-be-accepted service rule may be one or more, and the obtained rule program may be determined according to parameter information of the to-be-accepted service rule, for example, the to-be-accepted service rule includes a plurality of products, which may correspond to the plurality of rule programs.
And step S202, carrying out rule verification on the business information of the business rule to be accepted based on the rule program.
In this embodiment, the service information to be subjected to the service rule may include entering tariffs, bandwidth rates, and the like, and checking whether the service information meets the preset condition by using the rule program.
In an example, before determining the rule program, all rule programs may be defined first, for example, checking whether tariffs are necessary to be filled, whether rates are necessary to be filled, etc., where the content of the definition is different for different rule programs.
In this embodiment, a specific example is given for a verification process of a telecommunication sales service rule, where the rule verification process of step S202 includes the following manner one:
checking whether the service information contains the necessary filling item information corresponding to the rule program based on the rule program under the condition that the service rule to be accepted is a telecommunication sales service rule;
and responding to a second check result containing the necessary filling item information corresponding to the rule program, and judging that the service information passes the check.
In the above manner, the rule program checks whether the to-be-accepted service rule passes by checking whether the to-be-accepted service rule includes the necessary entry information, and in the actual checking process, the necessary entry information of the to-be-accepted service rule may be blank to-be-filled content or content that has been filled for the necessary entry information.
It will be appreciated that in response to conditions or states that may be used to represent the dependence of an operation being performed, one or more operations being performed may be in real-time or with a set delay when the dependent conditions or states are met; without being specifically described, there is no limitation in the execution sequence of the plurality of operations performed.
In one embodiment, the foregoing mandatory entry information may include an entry tariff, or a bandwidth rate, or an entry tariff and a bandwidth rate. In other embodiments, the mandatory information may be other information, which is not particularly limited in this application.
According to the first mode, the rule program is utilized to check the state of the necessary filling item information in the service information, so that the quick online of the sales service rule can be realized, and the service period is effectively shortened.
In this embodiment, a specific example is given for a verification process of a telecommunication sales service rule, where the rule verification process of step S202 includes the following two modes:
checking whether the service information contains the necessary filling item information corresponding to the rule program based on the rule program under the condition that the service rule to be accepted is a telecommunication sales service rule;
responding to a second checking result containing the necessary item information corresponding to the rule program, and continuously checking whether the corresponding necessary item information in the service information meets a preset condition;
and responding to a third verification result meeting a preset condition, and judging that the service information passes the verification.
Compared with the first mode, the checking process of the second mode not only checks whether the service information contains the filling-necessary information, but also performs further checking on the filling-necessary information in the service information, for example, checks the specific content of the filling-necessary information, thereby realizing diversification of the checking process.
It should be noted that, a person skilled in the art may adaptively set the preset conditions in combination with practical applications, and for example, if the necessary entry information includes an entry tariff, check whether the entry tariff is filled with a corresponding tariff, or whether the filled tariff is in a set tariff interval, where the tariff interval may be set according to parameter information, that is, set corresponding tariff intervals for different products, provinces and service offerings, and define in a corresponding rule program.
And step 203, responding to the first verification result of the service information verification, and configuring the service rule based on the service rule to be accepted.
Specifically, after the business rule to be accepted passes the verification, the business rule configuration can be online by carrying out the business rule configuration, wherein the business rule configuration can be business rule page configuration, format configuration, content configuration and the like.
Compared with the related art, the embodiment can realize the service rule configuration of the telecommunication sales system, does not need hard coding, restarting the application server and other complicated operations, rapidly selling the service rule on line, effectively shortening the service period and efficiently realizing the service appeal.
Referring to fig. 3, fig. 3 is a flow chart of another service rule configuration method provided in the embodiment of the present application, in order to further improve the obtaining efficiency of the rule program based on the above embodiment, in this embodiment, the service to be accepted is quickly routed to the corresponding rule program through the rule routing parameter, and specifically, the embodiment further divides step S201 into step S201a.
Step S201a, routing the business to be accepted to a corresponding rule program according to rule routing parameters based on parameter information of the business rule to be accepted;
the rule routing parameters comprise routing information after different types of parameter information and corresponding rule programs are bound.
Specifically, the routing information may be path information, and for each rule program, there is corresponding path information, and based on the path information, the corresponding rule program may be quickly located.
Further, the method further improves the online efficiency of the service rule by acquiring a rule routing parameter configured in advance, specifically, before routing the service to be accepted to a corresponding rule program according to the rule routing parameter based on the parameter information of the service rule to be accepted (step S201 a), the method further comprises the following steps:
and acquiring preconfigured rule routing parameters, wherein the rule routing parameters are preconfigured based on rule programs corresponding to different types of parameter information.
In an example, continuing to take a telecommunication sales service rule as an example, where the rule routing parameter is taken as an example in a table form, in combination with the following table 1, the rule routing parameter in table 1 includes rule program IDs corresponding to different parameter information, abbreviated as rule IDs, and program paths corresponding to each rule ID, and in some embodiments, in order to facilitate rule verification of a service to be accepted, the table may further carry contents such as filling information defined by the rule program.
Sequence number Product(s) Service provision Province and province Rule ID Program path
1 A Ordering of Province A 1 Com.rule.feecheck.java
2 B Ordering of Province B 2 Com.rule.speedcheck.java
3 C Modification Province C 1 Com.rule.feecheck.java
4 D Modification Province D 2 Com.rule.speedcheck.java
In one embodiment, considering that the business rule to be accepted may be input by the user at the front-end contact, the embodiment receives the business rule to be accepted through the front-end interface, and before acquiring the rule program corresponding to the business rule to be accepted based on the parameter information of the business rule to be accepted (step S201), the embodiment further includes the following steps:
and receiving a to-be-accepted service rule at the front end interface, wherein the to-be-accepted service rule carries corresponding parameter information and service information.
In one implementation, the front-end interface may include a plurality of front-end contacts, where a user triggers a front-end contact of a business rule to be accepted, i.e., the front-end contact may input a corresponding business rule to be accepted.
In one embodiment, in order to facilitate quick online of the business rule to be accepted, the embodiment displays the verification result on the front end interface after the verification is completed, specifically, after the rule verification is performed on the business information of the business rule to be accepted based on the rule program (step S202), the method further includes the following steps:
and responding to the first verification result of the service information verification, and displaying the information of the service information verification on a front-end interface.
In one implementation, if the service to be accepted is received through the front-end contact, the front-end contact may be returned directly after the verification is completed, and a corresponding verification result may be displayed on the front-end interface based on the front-end contact.
To facilitate understanding of the embodiments of the present application, this embodiment further describes the present scheme with reference to fig. 4:
a. firstly, a business rule checking request is initiated, wherein the business rule checking request carries business rules to be accepted, and the business rules to be accepted carry parameter information and business information.
In practical application, the process of initiating the service rule verification request may be initiated by a user at a front-end interface, where the server receives parameter information and service information of the service rule to be accepted by using the front-end interface, where the parameter information includes product information, province information and service providing information;
b. the server matches a rule verification procedure for the to-be-accepted service rule according to the parameter information, and specifically, the to-be-accepted service can be routed to the corresponding rule procedure based on the rule routing parameter.
c. And the rule program performs rule verification according to the corresponding parameter information and returns a verification result.
According to another aspect of the embodiments of the present application, there is further provided a business rule configuration system, as shown in fig. 5, which includes an obtaining module 51, a checking module 52, and a configuration module 53, where,
an obtaining module 51, configured to obtain a rule program corresponding to a to-be-accepted service rule based on parameter information of the to-be-accepted service rule, where the parameter information includes product information, province information, and service providing information;
a verification module 52 configured to perform rule verification on the service information of the service rule to be accepted based on the rule program;
and the configuration module 53 is configured to respond to the first verification result that the service information is verified, and perform service rule configuration based on the service rule to be accepted.
In one embodiment, the obtaining module 51 is specifically configured to route the service to be accepted to a corresponding rule program according to a rule routing parameter based on parameter information of the service to be accepted;
the rule routing parameters comprise routing information after different types of parameter information and corresponding rule programs are bound.
In one embodiment, the obtaining module 51 is further configured to obtain preconfigured rule routing parameters, where the rule routing parameters are preconfigured based on rule programs corresponding to different types of parameter information.
In one embodiment, the verification module 52 includes:
the first verification unit is used for verifying whether the service information contains the filling-in item information corresponding to the rule program based on the rule program when the service rule to be accepted is a telecommunication sales service rule;
a first determination unit configured to determine that the service information is verified in response to a second verification result including the padding necessary information corresponding to the rule program.
In one embodiment, the verification module 52 includes:
the first verification unit is used for verifying whether the service information contains the filling-in item information corresponding to the rule program based on the rule program when the service rule to be accepted is a telecommunication sales service rule;
a second checking unit configured to continuously check whether corresponding padding necessary item information in the service information satisfies a preset condition in response to a second check result including the padding necessary item information corresponding to the rule program;
and a second judging unit configured to judge that the service information is checked to pass in response to a third check result satisfying a preset condition.
In one embodiment, the requisite fill information includes an entry tariff, and/or a bandwidth rate.
In one embodiment, the system further comprises:
the receiving module is arranged to receive a to-be-accepted business rule at the front end interface, wherein the to-be-accepted business rule carries corresponding parameter information and business information.
In one embodiment, the system further comprises:
and the display module is used for responding to the first verification result of the service information verification, and displaying the information of the service information verification on the front-end interface.
It should be noted that, the above system provided in the present application can correspondingly implement all the method steps implemented by the server in the method embodiment, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those of the method embodiment in the present embodiment are omitted.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device, as shown in fig. 6, including: a memory 61 and a processor 62;
the memory 61 stores computer-executable instructions;
the processor 62 executes computer-executable instructions stored in the memory 61 to cause the electronic device to perform the business rule configuration method.
It should be noted that, the electronic device provided in the present application can correspondingly implement all the method steps implemented by the server in the method embodiment, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those of the method embodiment in the present embodiment are omitted.
According to still another aspect of the embodiments of the present application, there is provided a computer-readable storage medium having stored therein computer-executable instructions for implementing the business rule configuration method when executed by a processor.
It should be noted that, the computer readable storage medium provided in the present application can correspondingly implement all the method steps implemented by the server in the method embodiment, and can achieve the same technical effects, and specific details of the same parts and beneficial effects as those of the method embodiment in the present embodiment are not repeated herein.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
In the description of the embodiments of the present application, the term "and/or" merely represents an association relationship describing an association object, which means that three relationships may exist, for example, a and/or B may represent: a exists alone, A and B exist together, and B exists alone. In addition, the term "at least one" means any combination of any one or at least two of the plurality, e.g., including at least one of A, B, may mean any one or more elements selected from the set consisting of A, B and C communication. Furthermore, the term "plurality" means two or more, unless specifically stated otherwise.
In the description of embodiments of the present application, the terms "first," "second," "third," "fourth," and the like (if any) are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A business rule configuration method, comprising:
acquiring a rule program corresponding to a business rule to be accepted based on parameter information of the business rule to be accepted, wherein the parameter information comprises product information, province information and service providing information;
performing rule verification on the service information of the service rule to be accepted based on the rule program;
and responding to a first verification result passing the service information verification, and carrying out service rule configuration based on the service rule to be accepted.
2. The method according to claim 1, wherein acquiring a rule program corresponding to a business rule to be accepted based on parameter information of the business rule to be accepted includes:
routing the business to be accepted to a corresponding rule program according to rule routing parameters based on parameter information of the business to be accepted rules;
the rule routing parameters comprise routing information after different types of parameter information and corresponding rule programs are bound.
3. The method of claim 2, further comprising, before routing the traffic to be accepted to the corresponding rule program according to the rule routing parameters based on the parameter information of the traffic rule to be accepted,:
and acquiring preconfigured rule routing parameters, wherein the rule routing parameters are preconfigured based on rule programs corresponding to different types of parameter information.
4. The method according to claim 1, wherein the rule checking the service information of the service rule to be accepted based on the rule program comprises:
checking whether the service information contains the necessary filling item information corresponding to the rule program based on the rule program under the condition that the service rule to be accepted is a telecommunication sales service rule;
and responding to a second check result containing the necessary filling item information corresponding to the rule program, and judging that the service information passes the check.
5. The method according to claim 1, wherein the rule checking the service information of the service rule to be accepted based on the rule program comprises:
checking whether the service information contains the necessary filling item information corresponding to the rule program based on the rule program under the condition that the service rule to be accepted is a telecommunication sales service rule;
responding to a second checking result containing the necessary item information corresponding to the rule program, and continuously checking whether the corresponding necessary item information in the service information meets a preset condition;
and responding to a third verification result meeting a preset condition, and judging that the service information passes the verification.
6. The method according to claim 4 or 5, wherein the mandatory entry information comprises an entry tariff, and/or a bandwidth rate.
7. The method according to claim 1, further comprising, before acquiring a rule program corresponding to a business rule to be accepted based on parameter information of the business rule to be accepted:
and receiving a to-be-accepted service rule at the front end interface, wherein the to-be-accepted service rule carries corresponding parameter information and service information.
8. The method according to claim 1 or 7, further comprising, after the rule checking of the service information of the service rule to be accepted based on the rule program:
and responding to the first verification result of the service information verification, and displaying the information of the service information verification on a front-end interface.
9. A business rule configuration system, comprising:
the system comprises an acquisition module, a service providing module and a service processing module, wherein the acquisition module is used for acquiring a rule program corresponding to a to-be-accepted service rule based on parameter information of the to-be-accepted service rule, and the parameter information comprises product information, province information and service providing information;
the verification module is used for carrying out rule verification on the business information of the business rule to be accepted based on the rule program;
and the configuration module is used for responding to a first verification result of the service information verification and carrying out service rule configuration based on the service rule to be accepted.
10. An electronic device, comprising: a memory and a processor;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory to cause the electronic device to perform the business rule configuration method of any one of claims 1-8.
CN202211052965.6A 2022-08-31 2022-08-31 Business rule configuration method, system and electronic equipment Pending CN117667186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211052965.6A CN117667186A (en) 2022-08-31 2022-08-31 Business rule configuration method, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211052965.6A CN117667186A (en) 2022-08-31 2022-08-31 Business rule configuration method, system and electronic equipment

Publications (1)

Publication Number Publication Date
CN117667186A true CN117667186A (en) 2024-03-08

Family

ID=90068657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211052965.6A Pending CN117667186A (en) 2022-08-31 2022-08-31 Business rule configuration method, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN117667186A (en)

Similar Documents

Publication Publication Date Title
CN109711877B (en) Advertisement picture processing method and device, computer storage medium and electronic equipment
CN109995877A (en) Information-pushing method and device
CN105045602B (en) Method and device for constructing Hadoop application development framework and electronic device
CN107026832A (en) Account logon method, equipment and server
CN106899666A (en) A kind of data processing method and device for service identification
CN105786868A (en) Information sorting method and device
CN110019835A (en) Resource method of combination, device and electronic equipment
CN103747436A (en) Application program downloading method and device
CN106572146A (en) Message sending method and message sending device
CN110502732A (en) A kind of rule generating method of discount coupon, device and server
CN109684008A (en) Card rendering method, device, terminal and computer readable storage medium
CN111857712A (en) Form processing method, device, terminal and medium
CN107590682B (en) Advertisement putting method, server, hotspot device and system
CN112818654A (en) Message storage method, message generation method, message storage device, electronic equipment and computer readable medium
CN108600780A (en) Method for pushed information
CN111752834A (en) Automatic testing method and device
CN110188276A (en) Data sending device, method, electronic equipment and computer readable storage medium
CN104735041A (en) Method and device for having access to offline resources
CN111724206B (en) Advertisement processing method, responsibility chain object generating method, apparatus, device and medium
CN111176641B (en) Flow node execution method, device, medium and electronic equipment
CN109684033A (en) Cloud platform bare machine management method, storage medium, electronic equipment and system
CN110851343A (en) Test method and device based on decision tree
CN109542743B (en) Log checking method and device, electronic equipment and computer readable storage medium
CN104378393A (en) Resource sharing method and corresponding device
CN117667186A (en) Business rule configuration method, system and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination