CN110532559A - The processing method and processing device of rule - Google Patents

The processing method and processing device of rule Download PDF

Info

Publication number
CN110532559A
CN110532559A CN201910810146.5A CN201910810146A CN110532559A CN 110532559 A CN110532559 A CN 110532559A CN 201910810146 A CN201910810146 A CN 201910810146A CN 110532559 A CN110532559 A CN 110532559A
Authority
CN
China
Prior art keywords
rule
data
rule configuration
subset
command information
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
Application number
CN201910810146.5A
Other languages
Chinese (zh)
Other versions
CN110532559B (en
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.)
Beijing Mininglamp Software System Co ltd
Original Assignee
Beijing Mininglamp Software System 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 Beijing Mininglamp Software System Co ltd filed Critical Beijing Mininglamp Software System Co ltd
Priority to CN201910810146.5A priority Critical patent/CN110532559B/en
Publication of CN110532559A publication Critical patent/CN110532559A/en
Application granted granted Critical
Publication of CN110532559B publication Critical patent/CN110532559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of processing method and processing devices of rule.Specifically, this method comprises: receiving the first command information to obtain the corresponding rule configuration of the subset chosen in data acquisition system, wherein first command information is used to indicate the subset type of user's selection;The data in the subset are handled according to the rule configuration, and the rule configuration and corresponding data processed result in the display device that the user specifies.Through the invention, solve due to rule configuration inaccuracy, cause data again and again the problem of doing over again, consume a large amount of resource, time and manpower, reached the regular allocative efficiency of raising, reduced the effect of human cost.

Description

The processing method and processing device of rule
Technical field
The present invention relates to the communications fields, in particular to a kind of processing method and processing device of rule.
Background technique
In big data era, the working process of data is always a cumbersome and rigorous job, in data mart modeling processing Engineering in, regular configuration is a most key ring, if rule is arranged to work as, by rule process convert after Data, will reach the standard of improvement, improve governance efficiency, conversely, as rule configuration inaccuracy, lead to data once again Primary does over again, and consumes a large amount of resource, time and manpower.
Summary of the invention
The embodiment of the invention provides a kind of processing method and processing devices of rule, at least to solve in the related technology due to rule Then configure inaccuracy, cause data again and again the problem of doing over again, consume a large amount of resource, time and manpower.
According to one embodiment of present invention, a kind of processing method of rule is provided, comprising: receive the first command information To obtain the corresponding rule configuration of the subset chosen in data acquisition system, wherein first command information is used to indicate user's choosing The subset type taken;The data in the subset are handled according to the rule configuration, and are shown what the user specified The rule configuration and corresponding data processed result on showing device.
Optionally, the first command information is received to obtain the corresponding rule configuration of the subset chosen in data acquisition system, comprising: The multiple rules for obtaining the subset described in the first command information configure corresponding precedence information;According to the precedence information Multiple rule configurations are ranked up to obtain rule configuration processing queue.
Optionally, when according to the rule configuration to handling the data in the subset, the method is also wrapped It including: receiving the second command information, wherein second command information is used to be adjusted the rule configuration processing queue, Wherein, adjustment mode includes at least one of: the first rule configuration in the multiple rule configuration is adjusted to rule Then configure the designated position of processing queue;It increases the third rule configuration carried in second command information newly, and adjusts to finger Positioning is set;The 4th rule configuration in the rule configuration processing queue is deleted from the rule configuration processing queue.
It optionally, is to increase the third rule configuration carried in second command information newly, and adjust in the adjustment mode It is whole to designated position when, the method also includes: stop the data processing of the 5th rule configuration, and the processing result carried out Caching;The data in the subset are handled according to the rule configuration increased newly in the second command information;According to new After the regular configuration data increased is disposed, according to the processing result of caching continue to configure the 5th rule into Row data processing.
Optionally, the data in the subset are handled according to the rule configuration, and specified in the user Display device on it is described rule configuration and corresponding data processed result after, the method also includes: receive third refer to Enable information, wherein the third command information is used to be adjusted the rule configuration.
Optionally, the data in the subset are handled according to the rule configuration, and specified in the user Display device on it is described rule configuration and corresponding data processed result after, the method also includes: described in judgement In the case where data processed result exception, the rule configuration is adjusted according to preset adjustment rule.
Optionally, the data type of the data includes at least one of: preconfigured sample data, user The data of input.
According to another embodiment of the invention, a kind of processing unit of rule is provided, comprising: receiving module is used for The first command information is received to obtain the corresponding rule configuration of the subset chosen in data acquisition system, wherein the first instruction letter Breath is used to indicate the subset type of user's selection;Display module, for being configured according to the rule to the data in the subset It is handled, and the rule configuration and corresponding data processed result in the display device that the user specifies.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described Step in embodiment of the method.
Through the invention, by carrying out visualization processing to according to the corresponding data processed result of rule of rule configuration, Therefore, it can solve due to rule configuration inaccuracy, lead to data doing over again again and again, consume a large amount of resource, time And the problem of manpower, reach the regular allocative efficiency of raising, reduces the effect of human cost.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the processing method of rule according to an embodiment of the present invention;
Fig. 2 is a kind of structural block diagram of the processing unit of rule according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
A kind of processing method of rule is provided in the present embodiment, and Fig. 1 is a kind of rule according to an embodiment of the present invention Processing method flow chart, as shown in Figure 1, the process includes the following steps:
Step S102, the first command information of reception are configured with obtaining the corresponding rule of the subset chosen in data acquisition system, In, first command information is used to indicate the subset type of user's selection;
Step S104 is handled the data in the subset according to the rule configuration, and specified in the user Display device on it is described rule configuration and corresponding data processed result.
It should be pointed out that data acquisition system described in this embodiment can be realized by forms such as tables.And subset It is then the various fields in table.
Optionally, the first command information is received to obtain the corresponding rule configuration of the subset chosen in data acquisition system, comprising: The multiple rules for obtaining the subset described in the first command information configure corresponding precedence information;According to the precedence information Multiple rule configurations are ranked up to obtain rule configuration processing queue.
Specifically, it is contemplated that in actual application, it may be necessary to while regular configuration is carried out to multiple rules.Cause This, in order to preferably obtain data processed result.Corresponding priority is arranged to the rule configuration of pending detection.
It should be pointed out that the rule may include at least one of.It is certainly not limited to citing here.
(1) time transformation rule:
By the data of a time type, for example " 2019-07-31 12:00:00 " is converted to timestamp format, is equivalent to The time of character string type is converted to timestamp;
However sample data is inputted and formulates position, conversion is clicked, exports result " 1564545600 " after operation.
(2) joint major key rule:
This rule is one field of synthesis that the data of two fields are stitched together, for example the data of field A are " Shanxi Save ", the data of field B are " Taiyuan City ", then field A and field B merging can be converted to field C after configuring this rule;
Sample data is inputted and formulates position, clicks conversion, exports result " Shanxi province Taiyuan city " after operation.
Optionally, when according to the rule configuration to handling the data in the subset, the method is also wrapped It including: receiving the second command information, wherein second command information is used to be adjusted the rule configuration processing queue, Wherein, adjustment mode includes at least one of: the first rule configuration in the multiple rule configuration is adjusted to rule Then configure the designated position of processing queue;It increases the third rule configuration carried in second command information newly, and adjusts to finger Positioning is set;The 4th rule configuration in the rule configuration processing queue is deleted from the rule configuration processing queue.
It optionally, is to increase the third rule configuration carried in second command information newly, and adjust in the adjustment mode It is whole to designated position when, the method also includes: stop the data processing of the 5th rule configuration, and the processing result carried out Caching;The data in the subset are handled according to the rule configuration increased newly in the second command information;According to new After the regular configuration data increased is disposed, according to the processing result of caching continue to configure the 5th rule into Row data processing.
Optionally, the data in the subset are handled according to the rule configuration, and specified in the user Display device on it is described rule configuration and corresponding data processed result after, the method also includes: receive third refer to Enable information, wherein the third command information is used to be adjusted the rule configuration.
Optionally, the data in the subset are handled according to the rule configuration, and specified in the user Display device on it is described rule configuration and corresponding data processed result after, the method also includes: described in judgement In the case where data processed result exception, the rule configuration is adjusted according to preset adjustment rule.
Optionally, the data type of the data includes at least one of: preconfigured sample data, user The data of input.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
A kind of processing unit of rule is additionally provided in the present embodiment, and the device is for realizing above-described embodiment and preferably Embodiment, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module " The combination of software and/or hardware.Although device described in following embodiment is preferably realized with software, hardware, or The realization of the combination of person's software and hardware is also that may and be contemplated.
Fig. 2 is a kind of structural block diagram of the processing unit of rule according to an embodiment of the present invention, as shown in Fig. 2, the device Include:
Receiving module 22 is matched for receiving the first command information with obtaining the corresponding rule of the subset chosen in data acquisition system It sets, wherein first command information is used to indicate the subset type of user's selection;
Display module 24, for being handled according to the rule configuration the data in the subset, and in the use The rule configuration and corresponding data processed result in the specified display device in family.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 receives the first command information to obtain the corresponding rule configuration of the subset chosen in data acquisition system, wherein described First command information is used to indicate the subset type of user's selection;
S2, the display that the data in the subset are handled, and specified in the user according to the rule configuration The rule configuration and corresponding data processed result on device.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 receives the first command information to obtain the corresponding rule configuration of the subset chosen in data acquisition system, wherein described First command information is used to indicate the subset type of user's selection;
S2, the display that the data in the subset are handled, and specified in the user according to the rule configuration The rule configuration and corresponding data processed result on device.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of processing method of rule characterized by comprising
The first command information is received to obtain the corresponding rule configuration of the subset chosen in data acquisition system, wherein described first refers to Information is enabled to be used to indicate the subset type of user's selection;
The data in the subset are handled according to the rule configuration, and the institute in the display device that the user specifies State rule configuration and corresponding data processed result.
2. being chosen the method according to claim 1, wherein receiving the first command information with obtaining in data acquisition system Subset it is corresponding rule configuration, comprising:
The multiple rules for obtaining the subset described in the first command information configure corresponding precedence information;
Multiple rule configurations are ranked up according to the precedence information to obtain rule configuration processing queue.
3. according to the method described in claim 2, it is characterized in that, configuring according to the rule to the number in the subset When according to being handled, the method also includes:
Receiving the second command information, wherein second command information is used to be adjusted the rule configuration processing queue, Wherein, adjustment mode includes at least one of:
The first rule configuration in the multiple rule configuration is adjusted to rule to the designated position for configuring processing queue;
It increases the third rule configuration carried in second command information newly, and adjusts to designated position;
The 4th rule configuration in the rule configuration processing queue is deleted from the rule configuration processing queue.
4. according to the method described in claim 2, it is characterized in that, being to increase second command information newly in the adjustment mode The third rule of middle carrying configures, and when adjusting to designated position, the method also includes:
Stop the data processing of the 5th rule configuration, and the processing result is cached;
The data in the subset are handled according to the rule configuration increased newly in the second command information;
After being disposed according to the newly-increased regular configuration data, continued according to the processing result of caching to described the Five rule configurations carry out data processing.
5. the method according to claim 1, wherein configuring according to the rule to the data in the subset Handled, and in the display device that the user specifies it is described rule configuration and corresponding data processed result after, The method also includes:
Receive third command information, wherein the third command information is used to be adjusted the rule configuration.
6. the method according to claim 1, wherein configuring according to the rule to the data in the subset Handled, and in the display device that the user specifies it is described rule configuration and corresponding data processed result after, The method also includes:
In the case where judging the data processed result exception, the rule configuration is adjusted according to preset adjustment rule It is whole.
7. method according to claim 1-6, which is characterized in that further include that the data type of the data is extremely Less include one of:
Preconfigured sample data, the data of user's input.
8. a kind of processing unit of rule characterized by comprising
Receiving module, for receiving the first command information to obtain the corresponding rule configuration of the subset chosen in data acquisition system, In, first command information is used to indicate the subset type of user's selection;
Display module, for being handled according to the rule configuration the data in the subset, and it is specified in the user Display device on it is described rule configuration and corresponding data processed result.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to execute method described in any one of claim 1 to 7 when operation.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to run the computer program to execute side described in any one of claim 1 to 7 Method.
CN201910810146.5A 2019-08-29 2019-08-29 Rule processing method and device Active CN110532559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910810146.5A CN110532559B (en) 2019-08-29 2019-08-29 Rule processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910810146.5A CN110532559B (en) 2019-08-29 2019-08-29 Rule processing method and device

Publications (2)

Publication Number Publication Date
CN110532559A true CN110532559A (en) 2019-12-03
CN110532559B CN110532559B (en) 2022-12-06

Family

ID=68665157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910810146.5A Active CN110532559B (en) 2019-08-29 2019-08-29 Rule processing method and device

Country Status (1)

Country Link
CN (1) CN110532559B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885180A (en) * 2020-07-28 2020-11-03 海尔优家智能科技(北京)有限公司 Message issuing method and device
CN112163413A (en) * 2020-10-26 2021-01-01 北京明略软件系统有限公司 Method and device for analyzing alarm event rules, electronic equipment and storage medium
CN112835645A (en) * 2021-02-05 2021-05-25 杭州迪普科技股份有限公司 Rule configuration method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2328315A1 (en) * 2009-11-30 2011-06-01 BAE Systems PLC Processing network traffic
CN108563490A (en) * 2018-04-13 2018-09-21 中国民航信息网络股份有限公司 Explanation type rules process method, device, equipment and medium
CN109981719A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Information processing method and its system, computer system and computer readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2328315A1 (en) * 2009-11-30 2011-06-01 BAE Systems PLC Processing network traffic
CN109981719A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 Information processing method and its system, computer system and computer readable medium
CN108563490A (en) * 2018-04-13 2018-09-21 中国民航信息网络股份有限公司 Explanation type rules process method, device, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘晨帆: "基于规则引擎的军事地理信息自定义查询技术研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885180A (en) * 2020-07-28 2020-11-03 海尔优家智能科技(北京)有限公司 Message issuing method and device
CN111885180B (en) * 2020-07-28 2023-06-20 海尔优家智能科技(北京)有限公司 Message issuing method and device
CN112163413A (en) * 2020-10-26 2021-01-01 北京明略软件系统有限公司 Method and device for analyzing alarm event rules, electronic equipment and storage medium
CN112163413B (en) * 2020-10-26 2024-02-02 青岛明略软件技术开发有限公司 Analysis method and device of alarm event rule, electronic equipment and storage medium
CN112835645A (en) * 2021-02-05 2021-05-25 杭州迪普科技股份有限公司 Rule configuration method and device
CN112835645B (en) * 2021-02-05 2022-09-30 杭州迪普科技股份有限公司 Rule configuration method and device

Also Published As

Publication number Publication date
CN110532559B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN110532559A (en) The processing method and processing device of rule
CN107360536A (en) Control method, terminal device and the computer-readable recording medium of terminal device
US9218177B2 (en) Techniques to optimize upgrade tasks
CN107844324A (en) Customer terminal webpage redirects treating method and apparatus
CN110928739B (en) Process monitoring method and device and computing equipment
CN110427252A (en) Method for scheduling task, device and the storage medium of task based access control dependence
CN109408205A (en) Method for scheduling task and device based on hadoop cluster
CN110019503A (en) The dilatation of Redis cluster and/or the method and device of capacity reducing
CN111191777B (en) Neural network processor and control method thereof
CN103118140A (en) Method, system and device for sharing file with other users out of relationship circle
CN109634724A (en) Collecting method, device, equipment and computer storage medium
CN110443531A (en) The method and apparatus for determining the bit information of article in order
CN108334411A (en) Resource transfer method and device based on Redfish in a kind of BMC
CN110309065B (en) Concurrent execution method, device and equipment of test tasks and storage medium
CN108924440A (en) Paster display methods, device, terminal and computer readable storage medium
CN110535679A (en) Management method, framework, network slice sales platform and the management system of slice
CN109471893A (en) Querying method, equipment and the computer readable storage medium of network data
CN109960212A (en) Task sending method and device
CN108537291A (en) A kind of sample classification method and apparatus
CN109597912A (en) Method for handling picture
CN110941634A (en) Data processing method and device, storage medium and electronic device
Akingbesote et al. Performance modeling of proposed GUISET middleware for mobile healthcare services in E-marketplaces
CN109656988A (en) Business O&M method, apparatus, equipment and readable storage medium storing program for executing based on cloud computing
CN108959294A (en) A kind of method and apparatus accessing search engine
CN107391361A (en) A kind of POS terminal automatic test approach 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