CA3182208A1 - Business data processing method and device, computer equipment and storage medium - Google Patents

Business data processing method and device, computer equipment and storage medium

Info

Publication number
CA3182208A1
CA3182208A1 CA3182208A CA3182208A CA3182208A1 CA 3182208 A1 CA3182208 A1 CA 3182208A1 CA 3182208 A CA3182208 A CA 3182208A CA 3182208 A CA3182208 A CA 3182208A CA 3182208 A1 CA3182208 A1 CA 3182208A1
Authority
CA
Canada
Prior art keywords
service
rule
compiling
service rule
data
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
CA3182208A
Other languages
French (fr)
Inventor
Chunlai Li
Jianyong Zhu
Xiaoqiang Dong
Xin Liang
Jiajia Dong
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.)
10353744 Canada Ltd
Original Assignee
10353744 Canada 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 10353744 Canada Ltd filed Critical 10353744 Canada Ltd
Publication of CA3182208A1 publication Critical patent/CA3182208A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
    • G06F11/3079Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting the data filtering being achieved by reporting only the changes of the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/48Incremental compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Mathematical Physics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present application discloses a service data processing method, apparatus, computer device and storage medium, the method comprises: obtaining a target service rule;
wherein, the targe service rule is a service rule configured and generated based on rule configuration items of a terminal; precompiling the target service rule to generate a first compiling object; obtaining service data, compiling the service data and generating a second compiling object; and matching processing the second compiling object with the first compiling object. The method can improve the efficiency of service data matching service rule when the service rule is changed.

Description

BUSINESS DATA PROCESSING METHOD AND DEVICE, COMPUTER
EQUIPMENT AND STORAGE MEDIUM
Technical Field [0001] The present disclosure relates to data processing technical field, particularly to a service data processing method, apparatus, computer device and storage medium_ Background
[0002] With rapid updates and adjustments of company service, comprehensive and complex service interactions of plural service statuses, plural service types, and plural scenarios appeared. During data processing of plural service statuses, plural service types, and plural scenarios, when the original service is adjusted or a new service is connected, the service rule changes more or less, and the technical depai __________________________ talent has to make synchronous adjustments to the service rule to meet the service requirements, even a small adjustment, every adjustment requires both recoding and releasing for development depat anent.
[0003] After service adjustment, in order to adapt to the service after adjustment, traditional method is rewriting and publishing service rule by hard coding, and storing new business rule in database, when processing service data, calling and executing the program file of the service rule to filter or process service data. However, the traditional processing method requires rewriting hard code every time when service adjustment occurs, with rapid service adjustments, the number of hard-coded service rules stored in database is also increasing, when processing different service or service data in different periods, calling and executing program files of different service rules are required, on one hand, the pressure on service processing of database side is high, on the other hand, using hard coding to rewrite service rules requires heavy workload and poor timeliness, and leading to low service data processing efficiency.
Summary
[0004] Based on this, it is necessary to provide a service data processing method, apparatus, computer device and storage medium, the method improves service data processing efficiency.
[0005] A service data processing method comprises: obtaining a target service rule; wherein, the targe service rule is a service rule configured and generated based on rule configuration Date Recue/Date Received 2023-01-17 items of a tenuinal; precompiling the target service rule to generate a first compiling object;
obtaining service data, compiling the service data and generating a second compiling object;
and matching processing the second compiling object with the first compiling object.
[0006] In an embodiment, before invoking rule engine precompiles the service rule, the method further comprises: loading the target service rule into memory.
[0007] In an embodiment, the rule configuration items comprise at least one of values among service attribute type, service operator and service attribute.
[0008] In an embodiment, wherein obtaining the target service rule, comprising: listening message middleware; wherein, the message middleware includes a to-be-updated service rule based on the terminal configuration and sent to the message middleware through terminal; and if a message update in the message middleware is listened, obtaining the to-be-updated service rule from the message middleware as the target service rule.
[0009] In an embodiment, the method also comprises: the terminal groups a plurality of configuration rules according to different service links, generates a plurality of service rules to be updated, and sends each to-be-updated service rule to the message middleware.
[0010] In an embodiment, before obtaining service data, the method also comprises:
verifying target service rule; and if verification of the target service rule is successful, executing the step of obtaining service data.
[0011] In an embodiment, verifying target service rule, comprising: obtaining verification data; matching the verification data with a first compiling object; and if matching result of the verification data and the first compiling object meets a preset condition, determining of the verification of the targe service rule is successful.
[0012] A service data processing apparatus, wherein, the apparatus comprises:
[0013] A rule obtaining module configured to obtain a target service rule;
wherein, the targe service rule is a service rule configured and generated based on rule configuration items of a teiiiiinal;
[0014] A rule compiling module configured to precompile the target service rule to generate a first compiling object;
[0015] A data compiling module configured to obtain service data, compile the service data and generate a second compiling object;

Date Regue/Date Received 2023-01-17
[0016] An object matching module configured to the process of matching the second compiling object with the first compiling object.
[0017] A computer device, including a memory, a processor and a computer program stored in the memory and run on the processor configured to achieve the above-mentioned steps when the processor executes the computer program.
[0018] A computer readable storage medium stored with a computer program configured to achieve the above-mentioned steps when the processor executes the computer program.
[0019] The above-mentioned service data processing method, apparatus, computer device and storage medium, obtaining service rule configured based on rule configuration items of a tenninal, precompiling service rule and when obtaining service data, compiling service data and matching the compiled service data with precompiled service rule, so as to achieve the purpose of quickly processing service data based on configurable service rule.
By adopting this solution, on one hand, even when service is adjusted, service rule can be quickly configured based on terminal, there is no need for hard coding and publishing service rule on server side, on the other hand, the server can pre-compile according to service rule based on the terminal configuration, when processing service data, the pre-compiled service rule is matched with the service data, there is no need for server to call and execute the program files of hard-coded service rule in database for data processing , thereby alleviating the pressure on the server and improving the processing efficiency of service data matching service rule.
Drawing Description
[0020] Figure 1 is an application environment diagram of a service data processing method in an embodiment;
[0021] Figure 2 is a process diagram of a service data processing method in an embodiment;
[0022] Figure 3 is a schematic diagram of configuring service rule based on rule configuration items of a terminal in an embodiment;
[0023] Figure 4 is a schematic diagram of matching service data with service rule through rule engine in an embodiment;
[0024] Figure 5 is a schematic diagram of rule user subscribes to service rule from rule configuration side through message middleware in an embodiment;

Date Regue/Date Received 2023-01-17
[0025] Figure 6 is a schematic diagram of grouping rules by service link in an embodiment;
[0026] Figure 7 is a schematic diagram of validating service rule based on rule engine in an embodiment;
[0027] Figure 8 is a structural diagram of service data processing apparatus in an embodiment;
[0028] Figure 9 is an internal structural diagram of a computer device in an embodiment.
Detailed Description
[0029] In order to make clearer application purposes, technical solutions, and advantages, the present disclosure is further explained in detail with a particular embodiment thereof, and with reference to the drawings. It shall be appreciated that these descriptions are only intended to be illustrative, but not to limit the scope of the disclosure thereto.
[0030] The present application provides a service data processing method, the application process is as shown in Figure 1. For example, terminal 102 communicates with server 104 through network. Specifically, server 104 obtains a target service rule;
wherein, the targe service rule is a service rule configured and generated based on configuration of the preset rule configuration items of terminal 102; server 104 precompiles the target service rule to generate a first compiling object; server 104 obtains service data, compiles the service data and generates a second compiling object; server 104 performs matching processing of the second compiling object with the first compiling object. Wherein, the terminal 102 can be but not limited to various personal computers, laptops, smartphones, tablet computers and portable wearable equipment, the server 104 can be implemented by an independent server or a server cluster composed of a plurality of servers.
[0031] In an embodiment, as shown in Figure 2, a service data processing method is provided to be applied in the server of Figure 1 as an example, comprising following steps:
[0032] Step S202: obtaining a target service rule; wherein, the targe service rule is a service rule configured and generated based on rule configuration items of a terminal.
[0033] Wherein, the target service rule can be a service rule configured and generated based on rule configuration items of a terminal. Rule configuration items can be encapsulated and generated by service developer after abstracting and refining attributes in advance according to different service status, different service type and / or different scenario. Wherein, each rule Date Regue/Date Received 2023-01-17 configuration item can include but not limited to service attribute type, service operator, and service attribute value. A rule configuration item can be configured to obtain a rule, a plurality of rule configuration items can be set corresponding to each service status, each service type or each scenario, a plurality of rules generated by configuration of a plurality of rule configuration items can constitute service rules corresponding to the service status, the service type or the scenario, service rule can be stored in json string format, or transmitted in the form of files.
[0034] Exemplarily, referring to Figure 3, Figure 3 shows a schematic diagram of configuring service rule by terminal-based rule configuration items in an embodiment. For example, for service type of personal store, service attribute type can include: document orientation, order source, sales platform, order type, item type in each row, sales before purchase, sales organization, etc. Service operator can include: greater than, less than, not equal to, equal to, greater than or equal to, less than or equal to, include, not include, conditionally include or conditionally exclude, etc. Service attribute values can be customized according to requirements.
[0035] Exemplarily, the method for generating service rule according to the configuration items of rule configuration specifically can be: developers can abstract and refine service attribute types in advance according to different service status, different service type and different scenario requirements, taking each service attribute type as a dimension, establishing a data model and encapsulating the to be configured rule configuration items.
Furthermore, according to the service status, service type or scenario selected by user, the terminal can display the to be configured rule configuration items under the corresponding service status, service type or scenario. According to the to be configured rule configuration items displayed on the telininal, user selects the to be configured rule configuration items corresponding to the to be configured service attribute type, configures the service operator and the service attribute value for the corresponding service attribute type through the selected to be configured rule configuration items, generates service rule based on configured rule configuration items.
[0036] Specifically, server can obtain a terminal-based service rule by communicating with the terminal and use the obtained service rule as a target service rule. The communication Date Regue/Date Received 2023-01-17 method between the server and the terminal is not limited. The server can communicate with the terminal in real time to receive service rule sent by the terminal or use the form of message subscription to obtain the service rule sent by the terminal in a subscription mode.
[0037] Step S204: precompiling the target service rule to generate a first compiling object.
[0038] Specifically, after the server obtains the target service rule, by calling rule compiling engine, the targe service rule is precompiled by using rule compiling engine, and the compiled object generated after precompiling is used as the first compiled object, furthermore, storing the first compiled object generated after precompiling in memory, so that when there is real-time service data flowing in, the first compiled object that has been precompiled can be called in time to quickly filter the service data, real-time compiling is no longer required, so the compiling time of service rules can be further reduced, and the efficiency and timeliness oof data processing can be improved.
[0039] Step S206: obtaining service data, compiling the service data and generating a second compiling object. Wherein, service data refers to service-related data generated by the service system when processing various services. Specifically, the server can receive the service data generated in real time and can call the rule engine to compile the service data, compile the service data into compiled object to meet the identifiable standards of rule engine, use the compiled object to meet the identifiable standards of rule engine as second compiling object.
[0040] Step S208: matching processing the second compiling object with the first compiling object.
[0041] Specifically, the server can match the first compiling object precompiled and generated based on the target service rule with the second compiling object compiled and generated based on the service data, in this way, service data and service rule can be quickly matched, so that service data that meets the target service rule can be quickly filtered from a large amount of service data generated by the service system.
[0042] Exemplarily, referring to Figure 4, showing a schematic diagram of matching service data with service rule through rule engine in an embodiment. More specifically, the matching can be performed by calling rule engine based on the server memory, firstly, the service data obtained in real time can be compiled, binding the identifiable object of corresponding engine to the service data, the engine-identifiable object is set as the second compiling object.

Date Recue/Date Received 2023-01-17 Precompiling the service rule, generating rule engine precompiled object and set the object as the first compiling object. The rule engine is used to execute the matching processing between the second compiling object and the first compiling object, the matching result can be output after the matching processing is completed.
[0043] The above-mentioned service data processing method, obtaining the service rule based on the rule configuration items of the terminal, precompiling the target service rule and when the service data is obtained, compiling the service data and matching the compiled service data with the precompiled service rule, so as to achieve the purpose of quickly processing service data based on configurable service rule. By adopting this solution, on one hand, even when service is adjusted, service rule can be quickly configured based on terminal, there is no need for hard coding and publishing service rule on server side, on the other hand, the server can pre-compile according to service rule based on the terminal configuration, when processing service data, the pre-compiled service rule is matched with the service data, there is no need for server to call and execute the program files of hard-coded service rule in database for data processing , thereby alleviating the pressure on the server and improving the processing efficiency of service data matching service rule.
[0044] In an embodiment, before invoking rule engine precompiles the service rule, the method further comprises: loading the target service rule into memory.
[0045] In the present embodiment, after server obtains the target service rule, the server can load the target service rule into memory, by loading the target service rule into the memory and precompiling the target service rule, the target service rule can be initialized on the server to avoid calling the target service rule from database, thereby reducing the database access pressure, when processing service data, it is also possible to directly perform matching processing based on the precompiled first compiling object stored in the memory, thereby achieving the decoupling of the database and the server, improving service data processing efficiency.
[0046] In an embodiment, obtaining the target service rule, comprising:
listening message middleware; wherein, the message middleware includes a to-be-updated service rule based on the terminal configuration and sent to the message middleware through terminal; if a message update in the message middleware is listened, obtaining the to-be-updated service rule from Date Recue/Date Received 2023-01-17 the message middleware as the target service rule.
[0047] In the present embodiment, the terminal (rule configuration end) can be decoupled from the server or server cluster (rule use end) in the form of message middleware. For example, as shown in Figure 5, showing a schematic diagram of rule user subscribes to service rule from rule configuration side through message middleware in an embodiment.
Specifically, user can abstract rule configuration items through the rule configuration terminal and customize new service rule or modify old service rule based on the rule configuration items.
The terminal pushes newly configured or modified service rule to the message middleware as to-be-updated service rule, each application server in the server cluster obtains the to-be-updated service rule in the message middleware as the target service rule by listing to the message middleware and calls the corresponding rule engine to precompile the target service rule for subsequent matching processing of service data.
[0048] Furthermore, the terminal can also store the to-be-updated service rule in the database, on one hand, storing theto-be-updated service rule is for recording service rule modifications and is convenient for follow-up tracking, on the other hand, storing to-be-updated service rule can also be used as a data backup of service rule. Furthermore, the terminal can also store the to-be-updated service rule in the cache and the use of cache is conducive to the deployment of full load configuration of service rule.
[0049] In an embodiment, the method also comprises: the terminal groups a plurality of configuration rules according to different service links, generates a plurality of service rules to be updated , and sends each to-be-updated service rule to the message middleware.
[0050] In the present embodiment, as service increases, the quantity of rules becomes larger, the memory space occupied by the files of service rules generated by the configuration continues to increase. For example, when user configures rules based on teiminal, user could configure rules of plural service types at the same time, if a to-be-updated service rule is generated based on rules of plural service types, the memory occupied by the file of the to-be-updated service rule can be large and the execution efficiency of the server can be reduced.
Therefore, the terminal can group plural rules of plural service types configured by the user according to the service link of each rule, and using the service link as a dimension to generate to-be-updated service rule corresponding to each service link, so that the server can obtain the Date Regue/Date Received 2023-01-17 to-be-updated service rule corresponding to each business link, load and precompile the to-be-updated service rule respectively, the execution pressure of server is reduced, and the service rule precompiling efficiency is improved.
[0051] Furthermore, different switches can also be set for the rule of each service link, achieving the control of whether the rule of each service link is loaded by the switch, if turning switch on, the file of to-be-updated service rule generated by the rule of service link under the switch is sent to the message middleware. For details, reference can be made to Figure 6, showing a schematic diagram of grouping rules by service link in an embodiment.
[0052] In an embodiment, before obtaining service data, the method also comprises:
verifying target service rule; if verification of the target service rule is successful, executing the step of obtaining service data.
[0053] Before enabling the target service rule to process service data, verifying the obtained target service rule. When the verification of target service rule succeeds, the target service rule is enabled. There is no limit to the method of verifying the target service rule, the target service rule can be automatically verified by inputting verification data, or the rule creator can be notified by message, and the verification is determined to be successful after the rule creator confirms. Furthermore, if the verification of target service rule fails, an alarm message can also be generated to notify relevant person to perform manual repair.
[0054] In an embodiment, the verifying target service rule, comprising:
obtaining verification data; matching the verification data with a first compiling object; if matching result of the verification data and the first compiling object meets a preset condition, determining of the verification of the targe service rule is successful.
[0055] In the present embodiment, reference can be made to Figure 7, showing a schematic diagram of validating service rule based on rule engine in an embodiment.
Specifically, loading the corresponding json string according to the configured target service rule, loading the j son string of the target service rule into the rule engine, the rule parser parses the json string of the target service rule and precompiles the rule to generate a precompiled first compiling object.
Receiving the input verification data, matching verification data with the preloaded and precompiled first compiling object through the rule engine, and finally judge whether the matching result meets expectations, if yes, determining the verification of the target service Date Regue/Date Received 2023-01-17 rule is successful, and target service rule can be enabled.
[0056] What should be noted is although the steps of the process diagram of figure are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly provided instruction in this article, there is no strict order in which these steps can be perfomied, and they can be performed in any other orders. In addition, at least partial steps of figure can include more sub steps or multiple stages, these sub steps or stages are not necessarily completed at the same time but can be executed in different time, the execution order of these sub steps or stages is also not necessarily in sequence order but can be performed alternately with the other steps or sub steps of other steps or at least one part of the other stages.
[0057] In an embodiment, as shown in Figure 8, a service data processing apparatus is provided, comprising: a rule obtaining module 810, a rule compiling module 820, a data compiling module 830 and an object matching module 840, wherein:
[0058] A rule obtaining module 810 configured to obtain a target service rule;
wherein, the targe service rule is a service rule configured and generated based on a terminal rule configuration item;
[0059] A rule compiling module 820 configured to precompile the target service rule to generate a first compiling object;
[0060] A data compiling module 830 configured to obtain service data, compile the service data and generate a second compiling object;
[0061] An object matching module 840 configured to the process of matching the second compiling object with the first compiling object.
[0062] In an embodiment, the rule obtaining module 810 is also configured to load the target service rule into memory.
[0063] In an embodiment, the rule obtaining module 810 is also configured to listen message middleware; wherein, the message middleware includes to-be-updated service rule based on the terminal configuration and sent to the message middleware through terminal; if a message update in the message middleware is listened, obtaining the to-be-updated service rule from the message middleware as the target service rule.
[0064] In an embodiment, the rule obtaining module 810 is also configured to receive the to-Date Regue/Date Received 2023-01-17 be-updated service rule sent from the terminal to the message middleware, wherein, the terminal groups a plurality of configuration rules according to different service links, generates a plurality of service rules to-be-updated , and sends each to-be-updated service rule to the message middleware.
[0065] In an embodiment, the rule compiling module 820 is also configured to verify target service rule; if verification of the target service rule is successful, executing the step of obtaining service data.
[0066] In an embodiment, the rule compiling module 820 obtains verification data and matches the verification data with a first compiling object; if matching result of the verification data and the first compiling object meets a preset condition, determining of the verification of the targe service rule is successful.
[0067] For the specific limitation of service data processing apparatus can refer to the above-mentioned intention recognition model training method, for the specific limitation of service data processing apparatus can refer to the above-mentioned service data processing method, which will not be repeated here. Each module of the above service data processing apparatus can be achieved fully or partly by software, hardware, and their combinations.
The above modules can be embedded in the processor or independent of the processor in computer device and can store in the memory of computer device in form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0068] In an embodiment, a computer device is provided, the computer device can be a server and whose internal structure diagram is shown in Figure 9. The computer device includes a processor, a memory and a network interface connected through a system bus.
The processor of the computer device is configured to provide calculation and control capabilities. The memory of the computer device includes non-volatile storage medium and internal memory.
The memory of non-volatile storage medium has an operation system and computer programs.
The internal memory provides an environment for the operation system and computer program running in a non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection.
The computer program is executed by the processor to implement a service data processing method.
[0069] The skilled in the art can understand that the structure of Figure 9 is only a block Date Regue/Date Received 2023-01-17 diagram of a partial structure related to the solution of this application, and the diagram does not constitute a limitation of the computer device to the solution of this application, the specific computer device can include more or less components than those shown in Figure 9, or is combination of certain components, or has different components arrangement.
[0070] In an embodiment, a computer device is provided, including a memory, a processor and a computer program stored in the memory and ran on the processor configured to achieve the following steps when the processor executes the computer program:
obtaining a target service rule; wherein, the targe service rule is a service rule configured and generated based on rule configuration items of a terminal; precompiling the target service rule to generate a first compiling object; obtaining service data, compiling the service data and generating a second compiling object; and matching processing the second compiling object with the first compiling object. In an embodiment, additionally, the processer executes computer program to achieve following steps: loading the target service rule into memory.
[0071] In an embodiment, the processor performs the following steps when executing the computer program: listening message middleware; wherein, the message middleware includes to-be-updated service rule based on the terminal configuration and sent to the message middleware through terminal; and if a message update in the message middleware is listened, obtaining the to-be-updated service rule from the message middleware as the target service rule.
[0072] In an embodiment, the processor performs the following steps when executing the computer program: the terminal groups a plurality of configuration rules according to different service links, generates a plurality of service rules to-be-updated, and sends each to-be-updated service rule to the message middleware.
[0073] In an embodiment, the processor performs the following steps when executing the computer program: before obtaining service data, verifying target service rule; and if verification of the target service rule is successful, executing the step of obtaining service data.
[0074] In an embodiment, the processor performs the following steps when executing the computer program: obtaining verification data; matching the verification data with a first compiling object; and if matching result of the verification data and the first compiling object meets a preset condition, determining of the verification of the targe service rule is successful.
[0075] In an embodiment, a computer readable medium is provided, a computer program Date Regue/Date Received 2023-01-17 stored in the memory and ran on the processor configured to achieve the following steps when the processor executes the computer program: obtaining a target service rule;
wherein, the targe service rule is a service rule configured and generated based on rule configuration items of a terminal; precompiling the target service rule to generate a first compiling object; obtaining service data, compiling the service data and generating a second compiling object; and matching processing the second compiling object with the first compiling object.
[0076] In an embodiment, the processor performs the following steps when executing the computer program: loading the target service rule into memory.
[0077] In an embodiment, the processor performs the following steps when executing the computer program: listening message middleware; wherein, the message middleware includes to-be-updated service rule based on the terminal configuration and sent to the message middleware through terminal; and if a message update in the message middleware is listened, obtaining the to-be-updated service rule from the message middleware as the target service rule.
[0078] In an embodiment, the processor performs the following steps when executing the computer program: the teiminal groups a plurality of configuration rules according to different service links, generates a plurality of service rules to-be-updated, and sends each to-be-updated service rule to the message middleware.
[0079] In an embodiment, the processor performs the following steps when executing the computer program: before obtaining service data, verifying target service rule; and if verification of the target service rule is successful, executing the step of obtaining service data.
[0080] In an embodiment, the processor performs the following steps when executing the computer program: obtaining verification data; matching the verification data with a first compiling object; and if matching result of the verification data and the first compiling object meets a preset condition, determining of the verification of the targe service rule is successful.
[0081] The skilled in the art can understand that all or partial of procedures from the above-mentioned methods can be performed by computer program instructions through related hardware, the mentioned computer program can be stored in a non-volatile material computer readable storage medium, this computer can include various embodiment procedures from the abovementioned methods when execution. Any reference to the memory, the storage, the database, or the other media used in each embodiment provided in current application can Date Regue/Date Received 2023-01-17 include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programable ROM (PROM), electrically programmable ROM (EPRPMD), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an instruction but not limited to, RAM is available in many forms such as static RAM (SRAM), dynamic RAM
(DRAMD), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SRAM (ESDRAM), synchronal link (Synchlink) DRAM (SLDRAM), memory bus (Rambus), direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0082] The technical features of the above-mentioned embodiments can be randomly combined, for concisely statement, not all possible combinations of technical feature in the abovementioned embodiments are described. However, if there are no conflicts in the combinations of these technical features, it shall be within the scope of this description.
[0083] The above-mentioned embodiments are only several embodiments in this disclosure and the description is more specific and detailed but cannot be understood as the limitation of the scope of the invention patent. Evidently those ordinary skilled in the art can make various modifications and variations to the disclosure without departing from the spirit and scope of the disclosure. Therefore, the appended claims are intended to be construed as encompassing the described embodiment and all the modifications and variations coming into the scope of the disclosure.

Date Regue/Date Received 2023-01-17

Claims (10)

Claims:
1. A service data processing method comprises:
obtaining a target service rule; wherein, the targe service rule is a service rule configured and generated based on rule configuration items of a terminal;
precompiling the target service rule to generate a first compiling object;
obtaining service data, compiling the service data and generating a second compiling object; and matching processing the second compiling object with the first compiling object.
2. The method according to claim 1, wherein, before invoking rule engine precompiles the service rule, the method further comprises:
loading the target service rule into memory.
3. The method according to claim 1, wherein, the rule configuration items comprise at least one of values among service attribute type, service operator and service attribute.
4. The method according to claim 1, wherein obtaining the target service rule, comprising:
listening message middleware; wherein, the message middleware includes to-be-updated service rule based on the terminal configuration and sent to the message middleware through terminal; and if a message update in the message middleware is listened, obtaining the to-be-updated service rule from the message middleware as the target service rule.
5. The method according to claim 4, wherein, the method also comprises:
the terminal groups a plurality of configuration rules according to different service links, generates a plurality of service rules to-be-updated , and sends each to-be-updated service rule to the message middleware.
6. The method according to claim 1, wherein, before obtaining service data, the method also comprises:
verifying target service rule; and if verification of the target service rule is successful, executing the step of obtaining service data.
7. The method according to claim 6, wherein the verifying target service rule, comprising:
obtaining verification data;
matching the verification data with a first compiling object; and if matching result of the verification data and the first compiling object meets a preset condition, determining of the verification of the targe service rule is successful.
8. A service data processing apparatus, wherein, the apparatus comprises:
a rule obtaining module configured to obtain a target service rule; wherein, the targe service rule is a service rule configured and generated based on rule configuration items of a terminal;
a rule compiling module configured to precompile the target service rule to generate a first compiling object;
a data compiling module configured to obtain service data, compile the service data and generate a second compiling object; and an object matching module configured to the process of matching the second compiling object with the first compiling object.
9. A computer device, including a memory, a processor and a computer program stored in the memory and run on the processor configured to achieve the steps of any methods in claim 1 to 7 when the processor executes the computer program.
10. A computer readable storage medium stored with a computer program configured to achieve the steps of any methods in claim 1 to 7 when the processor executes the computer program.
CA3182208A 2021-11-17 2022-11-17 Business data processing method and device, computer equipment and storage medium Pending CA3182208A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111360879.7A CN114115967A (en) 2021-11-17 2021-11-17 Service data processing method and device, computer equipment and storage medium
CN202111360879.7 2021-11-17

Publications (1)

Publication Number Publication Date
CA3182208A1 true CA3182208A1 (en) 2023-05-17

Family

ID=80397515

Family Applications (1)

Application Number Title Priority Date Filing Date
CA3182208A Pending CA3182208A1 (en) 2021-11-17 2022-11-17 Business data processing method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114115967A (en)
CA (1) CA3182208A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117453278A (en) * 2023-11-01 2024-01-26 国任财产保险股份有限公司 Rule management system based on business rule

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115795185B (en) * 2023-01-28 2023-07-18 北京白龙马云行科技有限公司 Risk trip screening method, risk trip screening device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117453278A (en) * 2023-11-01 2024-01-26 国任财产保险股份有限公司 Rule management system based on business rule
CN117453278B (en) * 2023-11-01 2024-05-14 国任财产保险股份有限公司 Rule management system based on business rule

Also Published As

Publication number Publication date
CN114115967A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CA3182208A1 (en) Business data processing method and device, computer equipment and storage medium
CN108958714B (en) Business component type development method and device, computer equipment and storage medium
CN107590186B (en) Method for managing and executing data processing policy and policy engine system
CN112488855B (en) Business verification method and device based on rule template
CN104699508A (en) System and method for quickly arranging and updating virtual environment in cloud computing platform
CN107632827B (en) Method and device for generating installation package of application
CN110633160A (en) Interface calling method and device, computer equipment and storage medium
CN108255708B (en) Method, device, storage medium and equipment for accessing production file in test environment
CN114531477B (en) Method and device for configuring functional components, computer equipment and storage medium
CN111475553A (en) Data query display method and device, electronic equipment and storage medium
CN111400246B (en) Asynchronous file import method, device, computer equipment and storage medium
CN112615759B (en) Full link voltage measurement assembly, full link voltage measurement method and device
CN111708586A (en) Application starting configuration item loading method and device, computer equipment and storage medium
CN112631686A (en) Data processing method, data processing device, computer equipment and storage medium
CN113157345A (en) Automatic starting method and device for front-end engineering
CN110532279A (en) Big data platform authority control method, device, computer equipment and storage medium
CN114327374A (en) Business process generation method and device and computer equipment
CN114003432A (en) Parameter checking method and device, computer equipment and storage medium
CN113297153A (en) Data export method, device, equipment and storage medium
US11704150B2 (en) Systems and methods for dynamic job performance in secure multiparty computation
CN110018831B (en) Program processing method, program processing apparatus, and computer-readable storage medium
CN115757172A (en) Test execution method and device, storage medium and computer equipment
CN114237736A (en) Page resource loading method, system, device, computer equipment and storage medium
CN111597240A (en) Data export method, data export device, computer equipment and storage medium
CN117234512B (en) Method, system, electronic equipment and storage medium for rapidly developing business

Legal Events

Date Code Title Description
EEER Examination request

Effective date: 20230929

EEER Examination request

Effective date: 20230929

EEER Examination request

Effective date: 20230929

EEER Examination request

Effective date: 20230929

EEER Examination request

Effective date: 20230929