CN111159391A - Service scene data screening device and method - Google Patents
Service scene data screening device and method Download PDFInfo
- Publication number
- CN111159391A CN111159391A CN202010002356.4A CN202010002356A CN111159391A CN 111159391 A CN111159391 A CN 111159391A CN 202010002356 A CN202010002356 A CN 202010002356A CN 111159391 A CN111159391 A CN 111159391A
- Authority
- CN
- China
- Prior art keywords
- service
- filtering
- scene data
- screening
- rule
- 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.)
- Granted
Links
- 238000012216 screening Methods 0.000 title claims abstract description 106
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000001914 filtration Methods 0.000 claims abstract description 132
- 230000014509 gene expression Effects 0.000 claims abstract description 24
- 238000004590 computer program Methods 0.000 claims description 13
- 230000002085 persistent effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/335—Filtering based on additional data, e.g. user or group profiles
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a business scene data screening device and a method, which are used for realizing the screening of business scene data and have high efficiency, and the device comprises: the rule configuration module is used for configuring the service filtering rule by adopting a rule expression; the filtering and screening module is used for inquiring the scene data of the service scene according to the service scene identification in the service scene data screening request after receiving the service scene data screening request; determining a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request; and filtering and screening the scene data of the inquired service scene according to the service filtering rule.
Description
Technical Field
The invention relates to the field of data processing, in particular to a device and a method for screening service scene data.
Background
With the development of banking business, more and more business subdivision fields emerge, so that data of each business scene is often required to be filtered and screened, and the traditional method generally realizes the data filtering process in the code and needs to be stopped, restarted and effective, so that the program development process is long in time and low in efficiency.
Disclosure of Invention
The embodiment of the invention provides a service scene data screening device, which is used for realizing the screening of service scene data and has high efficiency, and the device comprises:
the rule configuration module is used for configuring the service filtering rule by adopting a rule expression;
the filtering and screening module is used for inquiring the scene data of the service scene according to the service scene identification in the service scene data screening request after receiving the service scene data screening request; determining a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request; and filtering and screening the scene data of the inquired service scene according to the service filtering rule.
The embodiment of the invention provides a method for screening service scene data, which is used for realizing the screening of the service scene data and has high efficiency, and the method comprises the following steps:
after receiving a service scene data screening request, inquiring scene data of a service scene according to a service scene identifier in the service scene data screening request;
determining a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request, wherein the service filtering rule is pre-configured by adopting a rule expression;
according to the business filtering rule, the scene data of the inquired business scene is filtered and screened
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the service scene data screening method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the service scene data screening method.
In the embodiment of the invention, the rule configuration module is used for configuring the service filtering rule by adopting a rule expression; the filtering and screening module is used for inquiring the scene data of the service scene according to the service scene identification in the service scene data screening request after receiving the service scene data screening request; determining a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request; and filtering and screening the scene data of the inquired service scene according to the service filtering rule. In the process, the rule configuration module can flexibly realize the configuration of the service filtering rule through the rule expression, and program codes do not need to be modified when the service filtering rule is configured each time; and subsequently, the scene data of the inquired service scene can be filtered and screened according to the service filtering rule, so that the efficiency of screening the service scene data is obviously improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a service scene data screening apparatus in an embodiment of the present invention;
fig. 2 is a logic diagram of an implementation of a service scene data screening apparatus according to an embodiment of the present invention;
fig. 3 is a flowchart of a service scenario data screening method in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are used in an open-ended fashion, i.e., to mean including, but not limited to. Reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is for illustrative purposes to illustrate the implementation of the present application, and the sequence of steps is not limited and can be adjusted as needed.
Fig. 1 is a schematic diagram of a service scenario data screening apparatus in an embodiment of the present invention, as shown in fig. 1, the apparatus includes:
and the rule configuration module is used for configuring the service filtering rule by adopting the rule expression.
The filtering and screening module is used for inquiring the scene data of the service scene according to the service scene identification in the service scene data screening request after receiving the service scene data screening request; determining a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request; and filtering and screening the scene data of the inquired service scene according to the service filtering rule.
In the embodiment of the invention, the rule configuration module can flexibly realize the configuration of the service filtering rule through the rule expression, and the program code does not need to be modified when the service filtering rule is configured each time; and subsequently, the scene data of the inquired service scene can be filtered and screened according to the service filtering rule, so that the efficiency of screening the service scene data is obviously improved.
During specific implementation, the service functions of the bank are numerous, the service scenarios include various types such as private transfer, public transfer, generation and the like, and the attribute types of the scenario data of the service scenarios also can include various types such as roles (clients and operators), identifications, time and the like, so that the corresponding service filtering rules also have various types, and the service scenario data screening device can provide an interface to receive the service scenario data screening request. The scene data of the service scene can be stored in a plurality of service scene data models, and when the service scene data is realized, the obtained scene data can be returned after the inquired scene data of the service scene is filtered and screened.
In an embodiment, the rule configuration module is specifically configured to: and based on the object graph navigation language, expressing the business filtering rule by adopting a rule expression.
The Object Graph Navigation Language (OGNL) is a powerful expression Language, and by its simple and consistent expression syntax, it can access any attribute of an Object, call a method of the Object, traverse the structure diagram of the whole Object, and implement functions such as field type conversion. Based on the object graph navigation language, the rule expression is adopted to express the service filtering rule, so that the user can rapidly and conveniently configure the service filtering rule. During specific configuration, the device can provide an interactive interface for interaction with a user, so that the user can input, modify and delete the service filtering rules, the service filtering rules are maintained in real time, and the operation of the service filtering rules is not realized by modifying bottom program codes. In specific configuration, the service filtering rules support division according to the attribute types of the scene data, and identifiers (such as bank identifiers and/or service scene identifiers) can also be used for dividing the service filtering rules, so that the most accurate service filtering rules can be found when the service filtering rules are determined, the service filtering data rules for limiting the service scene are met to the greatest extent, and the efficiency of data filtering and screening is improved. When the business filtering rules are expressed by adopting rule expressions based on the object graph navigation language, the method is realized based on the OgnlFilter core class.
In an embodiment, the rule configuration module is further configured to store the configured business filtering rule in a database in a persistent manner.
In the above embodiment, the configured service filtering rules are stored in the database in a persistent manner, so that the persistence of the service filtering rules can be realized.
In an embodiment, the filtering and screening module is specifically configured to:
calling a query microservice, and querying scene data of a service scene according to a service scene identifier in the service scene data screening request;
and calling a filtering microservice, loading a business filtering rule corresponding to the attribute type of the filtering scene data, and filtering and screening the scene data of the inquired business scene according to the business filtering rule.
In the embodiment, the query microservice and the filter microservice are implemented in advance and can be directly called, so that the screening efficiency of data query and filtering is high.
In a specific implementation, the received service scenario data filtering request may further include a bank identifier, so as to specifically define which bank filters the filtering data from.
A specific embodiment is given below to illustrate a specific application of the service scenario data screening apparatus provided in the embodiment of the present invention. Fig. 2 is a logic diagram implemented by a service scene data screening apparatus according to an embodiment of the present invention, in fig. 2, a service server sends a service scene data screening request, including a service scene identifier and an attribute type of scene data, to a filtering and screening module of the service scene data screening apparatus, and then the filtering and screening module invokes a query microservice to query the scene data of a service scene according to the service scene identifier in the service scene data screening request; the filtering and screening module determines a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request; and the filtering and screening module calls a filtering micro-service to load a service filtering rule corresponding to the attribute type of the filtering scene data, and filters and screens the scene data of the inquired service scene according to the service filtering rule, wherein the scene data in the limited range is obtained after filtering and screening.
In summary, in the embodiment of the present invention, the rule configuration module is configured to configure the service filtering rule by using the rule expression; the filtering and screening module is used for inquiring the scene data of the service scene according to the service scene identification in the service scene data screening request after receiving the service scene data screening request; determining a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request; and filtering and screening the scene data of the inquired service scene according to the service filtering rule. In the process, the rule configuration module can flexibly realize the configuration of the service filtering rule through the rule expression, and program codes do not need to be modified when the service filtering rule is configured each time; and subsequently, the scene data of the inquired service scene can be filtered and screened according to the service filtering rule, so that the efficiency of screening the service scene data is obviously improved. In addition, based on the object graph navigation language, the business filtering rules are expressed by adopting the rule expression, the division according to the attribute types of the scene data is supported, and the division can be carried out on the business filtering rules by adopting the identifiers (such as bank identifiers and/or business scene identifiers), so that the most accurate business filtering rules can be found when the business filtering rules are determined, the business filtering data rules for limiting the business scenes are met to the greatest extent, and the efficiency of filtering and screening the data is improved.
Based on the same inventive concept, the embodiment of the present invention further provides a method for screening service scenario data, as described in the following embodiments. Because the principles of solving the problems are similar to those of the service scene data screening device, the implementation of the method can be referred to the implementation of the device, and repeated parts are not repeated.
Fig. 3 is a flowchart of a service scenario data screening method in an embodiment of the present invention, and as shown in fig. 3, the method includes:
In one embodiment, the business filtering rules are expressed by rule expressions based on an object graph navigation language.
In one embodiment, the business filtering rules are persisted in a database.
In an embodiment, querying the scene data of the service scene according to the service scene identifier in the service scene data screening request includes:
calling a query microservice, and querying scene data of a service scene according to a service scene identifier in the service scene data screening request;
according to the service filtering rule, filtering and screening the scene data of the inquired service scene, comprising the following steps:
and calling a filtering microservice, loading a business filtering rule corresponding to the attribute type of the filtering scene data, and filtering and screening the scene data of the inquired business scene according to the business filtering rule.
In summary, in the embodiment of the present invention, after receiving the service scene data screening request, the scene data of the service scene is queried according to the service scene identifier in the service scene data screening request; determining a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request, wherein the service filtering rule is pre-configured by adopting a rule expression; and filtering and screening the scene data of the inquired service scene according to the service filtering rule. In the process, the rule configuration module can flexibly realize the configuration of the service filtering rule through the rule expression, and program codes do not need to be modified when the service filtering rule is configured each time; and subsequently, the scene data of the inquired service scene can be filtered and screened according to the service filtering rule, so that the efficiency of screening the service scene data is obviously improved. In addition, based on the object graph navigation language, the business filtering rules are expressed by adopting the rule expression, the division according to the attribute types of the scene data is supported, and the division can be carried out on the business filtering rules by adopting the identifiers (such as bank identifiers and/or business scene identifiers), so that the most accurate business filtering rules can be found when the business filtering rules are determined, the business filtering data rules for limiting the business scenes are met to the greatest extent, and the efficiency of filtering and screening the data is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A service scene data screening device is characterized by comprising:
the rule configuration module is used for configuring the service filtering rule by adopting a rule expression;
the filtering and screening module is used for inquiring the scene data of the service scene according to the service scene identification in the service scene data screening request after receiving the service scene data screening request; determining a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request; and filtering and screening the scene data of the inquired service scene according to the service filtering rule.
2. The traffic scenario data screening apparatus according to claim 1, wherein the rule configuration module is specifically configured to: and based on the object graph navigation language, expressing the business filtering rule by adopting a rule expression.
3. The traffic scenario data screening apparatus of claim 1, wherein the rule configuration module is further configured to store the configured traffic filtering rule in a database in a persistent manner.
4. The service scene data screening apparatus of claim 1, wherein the filtering and screening module is specifically configured to:
calling a query microservice, and querying scene data of a service scene according to a service scene identifier in the service scene data screening request;
and calling a filtering microservice, loading a business filtering rule corresponding to the attribute type of the filtering scene data, and filtering and screening the scene data of the inquired business scene according to the business filtering rule.
5. A method for screening service scene data is characterized by comprising the following steps:
after receiving a service scene data screening request, inquiring scene data of a service scene according to a service scene identifier in the service scene data screening request;
determining a corresponding service filtering rule according to the attribute type of the scene data in the service scene data screening request, wherein the service filtering rule is pre-configured by adopting a rule expression;
and filtering and screening the scene data of the inquired service scene according to the service filtering rule.
6. The method for screening service context data of claim 5, wherein said service filtering rule is expressed by a rule expression based on an object graph navigation language.
7. The business scenario data screening method of claim 5, wherein the business filtering rules are persistently stored in a database.
8. The method for screening service scene data according to claim 5, wherein querying the scene data of the service scene according to the service scene identifier in the service scene data screening request comprises:
calling a query microservice, and querying scene data of a service scene according to a service scene identifier in the service scene data screening request;
according to the service filtering rule, filtering and screening the scene data of the inquired service scene, comprising the following steps:
and calling a filtering microservice, loading a business filtering rule corresponding to the attribute type of the filtering scene data, and filtering and screening the scene data of the inquired business scene according to the business filtering rule.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 5 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010002356.4A CN111159391B (en) | 2020-01-02 | 2020-01-02 | Business scene data screening device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010002356.4A CN111159391B (en) | 2020-01-02 | 2020-01-02 | Business scene data screening device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111159391A true CN111159391A (en) | 2020-05-15 |
CN111159391B CN111159391B (en) | 2024-02-23 |
Family
ID=70561232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010002356.4A Active CN111159391B (en) | 2020-01-02 | 2020-01-02 | Business scene data screening device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111159391B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095479A (en) * | 2011-11-04 | 2013-05-08 | 华为技术有限公司 | Method and device of business configuration |
CN103927174A (en) * | 2014-04-17 | 2014-07-16 | 北京视博数字电视科技有限公司 | Service processing method and device |
CN104866567A (en) * | 2015-05-22 | 2015-08-26 | 国家计算机网络与信息安全管理中心 | Method and apparatus for presenting business data |
CN106296399A (en) * | 2015-06-11 | 2017-01-04 | 交通银行股份有限公司 | The data processing method of business rule formulation and system |
WO2017107826A1 (en) * | 2015-12-23 | 2017-06-29 | 阿里巴巴集团控股有限公司 | Service information pushing method and device |
CN108628947A (en) * | 2018-04-02 | 2018-10-09 | 阿里巴巴集团控股有限公司 | A kind of business rule matched processing method, device and processing equipment |
CN109858607A (en) * | 2019-03-08 | 2019-06-07 | 网宿科技股份有限公司 | A kind of application method, management method, system and server |
-
2020
- 2020-01-02 CN CN202010002356.4A patent/CN111159391B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095479A (en) * | 2011-11-04 | 2013-05-08 | 华为技术有限公司 | Method and device of business configuration |
CN103927174A (en) * | 2014-04-17 | 2014-07-16 | 北京视博数字电视科技有限公司 | Service processing method and device |
CN104866567A (en) * | 2015-05-22 | 2015-08-26 | 国家计算机网络与信息安全管理中心 | Method and apparatus for presenting business data |
CN106296399A (en) * | 2015-06-11 | 2017-01-04 | 交通银行股份有限公司 | The data processing method of business rule formulation and system |
WO2017107826A1 (en) * | 2015-12-23 | 2017-06-29 | 阿里巴巴集团控股有限公司 | Service information pushing method and device |
CN108628947A (en) * | 2018-04-02 | 2018-10-09 | 阿里巴巴集团控股有限公司 | A kind of business rule matched processing method, device and processing equipment |
CN109858607A (en) * | 2019-03-08 | 2019-06-07 | 网宿科技股份有限公司 | A kind of application method, management method, system and server |
Also Published As
Publication number | Publication date |
---|---|
CN111159391B (en) | 2024-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107015853B (en) | Method and device for realizing multi-stage task | |
AU2015247639B2 (en) | Processing data from multiple sources | |
CN106033439B (en) | A kind of distributed transaction processing method and system | |
CN111538605B (en) | Distributed data access layer middleware and command execution method and device | |
CN109656688B (en) | Method, system and server for realizing distributed business rules | |
CN109753573B (en) | Processing method and device for constructing preset model based on graph database | |
CN111930770A (en) | Data query method and device and electronic equipment | |
CN107391622B (en) | Data access method and equipment | |
CN106790489B (en) | Parallel data loading method and system | |
CN111159391A (en) | Service scene data screening device and method | |
CN114640657A (en) | Multi-registration center fusion method and device | |
CN112035183A (en) | Access method and device for micro application | |
CN111078728A (en) | Cross-database query method and device in database filing mode | |
CN109450798A (en) | The management method and computer readable storage medium of routing table information | |
CN112527792A (en) | Data storage method, device, equipment and storage medium | |
CN112579877A (en) | Information source system control method, device, storage medium and equipment | |
CN113641678A (en) | Dynamic service configuration method and system based on multi-dimensional form | |
CN110019296B (en) | Database query script generation method and device, storage medium and processor | |
CN112749189A (en) | Data query method and device | |
CN114826919B (en) | SDN-based load balancing software nanotube method, device, equipment and medium | |
CN112632113B (en) | Operator management method and operator management system | |
CN112632078B (en) | Method, system, equipment and readable storage medium for adding field to form | |
CN110968599B (en) | Inquiry method and device based on Impala | |
CN110175845B (en) | Cross-contract data calling method, device and storage medium | |
CN118170425A (en) | Multi-application parameter configuration method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |