CN106933889A - For regular collocation method, display methods and the client screened - Google Patents

For regular collocation method, display methods and the client screened Download PDF

Info

Publication number
CN106933889A
CN106933889A CN201511030224.8A CN201511030224A CN106933889A CN 106933889 A CN106933889 A CN 106933889A CN 201511030224 A CN201511030224 A CN 201511030224A CN 106933889 A CN106933889 A CN 106933889A
Authority
CN
China
Prior art keywords
condition entry
node
tree structure
logical
condition
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
CN201511030224.8A
Other languages
Chinese (zh)
Other versions
CN106933889B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201511030224.8A priority Critical patent/CN106933889B/en
Publication of CN106933889A publication Critical patent/CN106933889A/en
Application granted granted Critical
Publication of CN106933889B publication Critical patent/CN106933889B/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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries
    • 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/24Querying
    • G06F16/242Query formulation
    • G06F16/2428Query predicate definition using graphical user interfaces, including menus and forms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0255Targeted advertisements based on user history

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a kind of regular collocation method, display methods and client for screening.The collocation method includes:The first input according to user determines operation object, and operation object is attribute or label;The metadata of operation object is obtained, metadata includes the type of operation object;Type according to operation object determines the condition entry for configuration rule;By the condition entry of this determination and already present condition entry composition tree structure, the father node of the condition entry of this determination described in tree structure is logical operation node, and logical operation node is used to represent the logical relation between the condition entry in the child node of logical operation node;According to tree structure create-rule expression formula.The embodiment of the present invention determines corresponding condition entry by operation object, and the condition entry of this determination and already present condition entry are constituted into tree structure, make it possible to flexibly set the logical relation of multistage nested condition such that it is able to be configured flexibly the rule for screening.

Description

For regular collocation method, display methods and the client screened
Technical field
The present invention relates to the communications field, regular collocation method, the display methods more particularly, to screened And client.
Background technology
Telecom operators are directed to service needed and are gone forward side by side, it is necessary to extract particular customer group during service operation Field headquarters pin recommends, and realizes that service product is promoted and client maintains and possesses.Here particular customer group is extracted Service operation personnel are needed according to business experience knowledge, by the primary attribute and communication behavior of analyzing user Attribute and business preference information, carry out screening the target customer for extracting matched rule according to label rule, And enter row label mark to target customer, this process is exactly the process of establishing label, while the mark for creating Signing can use as the rule for screening other labels.Wherein, label rule is the mistake for being applied to establishing label A kind of rule for screening in journey, the rule for screening refers to the attribute bar for screening user The set of part.
Fig. 1 show the configuration interface of label rule in the prior art, as shown in figure 1, in the prior art Composition simple relation expression formula is connected into by by property value, relational operator, fiducial value, then by relation Expression formula describes priority to represent label rule by logical operator and bracket.As shown in figure 1, bar The nested series of part is limited by configuration interface, when the nested series of the condition for needing to set is higher than configuration , it is necessary to passing through coding remodifies configuration interface when interface allows the series for setting, and condition logic The left and right parenthesis matching configuration of combination is complicated, causes the logic of the condition that can not flexibly set multistage nesting to be closed System, i.e., can not be configured flexibly the rule for screening.
The content of the invention
The embodiment of the invention provides a kind of regular collocation method, display methods and client for screening End, can flexibly set the logical relation of the condition of multistage nesting such that it is able to be configured flexibly rule.
A kind of first aspect, there is provided regular collocation method for screening, the regular collocation method Including:The first input according to user determines operation object, and the operation object is attribute or label;Obtain The metadata of the operation object is taken, the metadata includes the type of the operation object;According to described The type of operation object determines the condition entry for configuration rule;By the condition entry of this determination and The condition entry composition tree structure of presence, father's section of the condition entry of this determination described in the tree structure Point is the logical operation node, and the logical operation node is used to represent the son of the logical operation node The logical relation between condition entry on node;According to the tree structure create-rule expression formula.
Wherein, the already present condition entry can be the condition entry determined before this operation.
Alternatively, the metadata of the operation object can also include the title of the operation object and described The data origin information of operation object.
Determine corresponding condition entry by according to operation object, and by the condition entry of this determination and existing Condition entry composition tree structure, enabling the logical relation of multistage nested condition is flexibly set, from And the rule for screening can be configured flexibly.
It is described according to the operation object with reference in a first aspect, in the first possible implementation Type determines the condition entry for configuration rule, including:Type selecting matching according to the operation object Template file;Receive the content of template file described in the user input, formation condition.
Alternatively, the type according to the operation object selects the template file of matching from condition model. The template file is by the operation object in the condition model, obtaining value method, relational operator and compares Value connection composition.
Alternatively, default value constraint is may also include in the template file.
With reference to the first possible implementation, in second possible implementation, the operation is right As being attribute, the template file includes title, obtaining value method, relational operator and the fiducial value of attribute.
When operation object is attribute, because the corresponding template file of attribute includes obtaining value method so that energy It is enough the value calculated such as to support to seek summation to single attribute, be averaging be compared.
Attribute can include numerical value generic attribute, enumerate generic attribute, text generic attribute, date generic attribute and meter Calculate generic attribute.
Alternatively, the type of the operation object for it is following any one:Numerical value generic attribute, enumerate generic Property, text generic attribute, date generic attribute, calculate generic attribute and label.
With reference to first aspect or the first or second possible implementation, in the third possible realization In mode, the type of the operation object is calculating generic attribute, first number of the acquisition operation object According to including:Define the metadata for calculating generic attribute, the metadata of the calculating generic attribute include title, Unit and arithmetic expression formula.Wherein, the template file includes calculating title, the value of generic attribute Method, relational calculus symbol and fiducial value.
The metadata of generic attribute is calculated by defining, enabling multiple attribute arithmetics are supported in generation Condition such that it is able to be configured flexibly rule.
With reference in a first aspect, in the 4th kind of possible implementation, the operation object is label, institute Stating template file includes tag identifier and relational operator.
With reference to first aspect or the first to any one the possible reality in the 4th kind of possible implementation Existing mode, in the 5th kind of possible implementation, it is described by the condition entry of this determination and After the condition entry composition tree structure of presence, the collocation method also includes:According to the of the user Logical relation in the two input adjustment tree structures between multiple condition entries;It is described according to described tree-like Structural generation regular expression includes:According to the tree structure create-rule expression formula after adjustment.
By to the logical relation between adjustment tree structure conditional, can more flexibly configure rule Then.
With reference to the 5th kind of possible implementation, in the 6th kind of possible implementation, the user's Second input includes for M condition entry in the tree structure carrying out conditional combination, and M is more than 1 Integer, it is described according to patrolling between multiple condition entries in the second of user the input adjustment tree structure The relation of collecting, including:
In the case where the M condition entry is located at the same level of the tree structure, in current layer Level increases a first logical operation node newly, using the M condition entry as first logical operation The child node of node;Or,
In the case where the M condition entry is located at the different levels of the tree structure, it is determined that described The minimum first condition of level where in M condition entry, the father of the minimum condition entry of the place level Node is the second logical operation node, using the M condition entry as the second logical operation node Child node;Or,
In the case where the M condition entry includes at least one condition entry and at least one logical groups, Determine place level highest logical groups at least one logical groups, the place level highest is patrolled The father node for collecting group is the 3rd logical operation node, using the M condition entry as the 3rd logic The child node of computing node.
With reference to the 5th kind of possible implementation, in the 7th kind of possible implementation, the user's Second input includes splitting the logic that the N number of condition entry in the tree structure is constituted by conditional combination Group, the father node of N number of condition entry described in the logical groups be the 4th logical operation node, N be more than 1 integer, in the tree structure according to the operation adjustment of the user between multiple condition entries Logical relation, including:Delete the 4th logical operation node, and using N number of condition entry as institute State the child node of the father node of the 4th logical operation node.
A kind of second aspect, there is provided regular display methods for screening, including:It is in display screen First predeterminable area of existing rule configuration interface, includes multiple operation objects in first predeterminable area; First input of detection user, described first is input into for from the first predeterminable area selection operation pair As;The corresponding condition entry of the operation object of selection is put into the second preset areas of the regular allocation window Domain;The corresponding condition entry of operation object that is selected by this and existing is presented in second predeterminable area The tree structure of condition entry composition, the operation object of this selection in the tree structure is corresponding The father node of condition entry is logical operation node, and the logical operation node is used to represent the logical operation The logical relation between condition entry in the child node of node.
Constituted by the way that the corresponding condition entry of operation object that is selected by this and already present condition entry is presented Tree structure so that user can intuitively set the logical relation of the condition of multistage nesting, so as to Enough it is configured flexibly the rule for screening.
With reference to second aspect, in the first possible implementation of second aspect, also include:Detection Second input of user, described second is input into for selecting M condition entry in the tree structure to enter Row conditional combination, M is the integer more than 1;According to the described second input, it is in second preset areas The tree structure after conditional combination is now carried out to the M condition entry.
With reference to the first possible implementation of second aspect or second aspect, the second of second aspect Plant in possible implementation, also include:3rd input of detection user, the described 3rd is input into for tearing open The logical groups that the N number of condition entry divided in the tree structure is constituted by conditional combination, N is more than 1 Integer;According to the described 3rd input, presented in second preset areas and the logical groups are split Tree structure afterwards.
A kind of third aspect, there is provided client, above-mentioned for performing first aspect or first aspect A kind of collocation method described in possible implementation.Specifically, the client includes:Processing unit, For determining operation object according to the first of user the input, the operation object is attribute or label;Obtain Unit, the metadata for obtaining the operation object, the metadata includes the class of the operation object Type;The processing unit is additionally operable to, and the type of the operation object obtained according to the acquiring unit is true Surely it is used for the condition entry of configuration rule;The processing unit is additionally operable to, by the condition entry of this determination Tree structure, the condition entry of this determination described in the tree structure are constituted with already present condition entry Father node is the logical operation node, and the logical operation node is used to represent the logical operation node Child node on condition entry between logical relation;The processing unit is also used, according to the tree-like knot Structure create-rule expression formula.
In the embodiment of the present invention, client determines corresponding condition entry by according to operation object, and incite somebody to action this The condition entry of secondary determination and already present condition entry composition tree structure, enabling flexibly set multistage embedding The logical relation of the condition of set such that it is able to be configured flexibly the rule for screening.
With reference to the third aspect, in the first possible implementation of the third aspect, the processing unit Specifically for:The condition mould that the type selecting of the operation object obtained according to the acquiring unit is matched Plate;Receive the content of template file described in the user input, formation condition.
With reference to the first possible implementation of the third aspect, in second possible reality of the third aspect In existing mode, the operation object is attribute, the template file include the title of attribute, obtaining value method, Relational operator and fiducial value.
With reference to the first or second possible implementation of the third aspect or the third aspect, in third party In the third possible implementation in face, the type of the operation object is described to obtain to calculate generic attribute Unit is taken specifically for defining the metadata for calculating generic attribute, the metadata of the calculating generic attribute Including title, unit and arithmetic expression formula.
With reference to the third aspect or any of the above-described kind of possible implementation of the third aspect, in the third aspect In 4th kind of possible implementation, the processing unit is additionally operable to, by the condition of this determination Item and already present condition entry are constituted after the tree structure, the second input adjustment according to the user Logical relation in the tree structure between multiple condition entries;The processing unit specifically for, according to Tree structure create-rule expression formula after adjustment.
With reference to the 4th kind of possible implementation of the third aspect, in the 5th kind of possible reality of the third aspect In existing mode, second input of the user includes carrying out M condition entry in the tree structure Conditional combination, M is the integer more than 1, the processing unit specifically for:
In the case where the M condition entry is located at the same level of the tree structure, in current layer Level increases a first logical operation node newly, using the M condition entry as first logical operation The child node of node;Or,
In the case where the M condition entry is located at the different levels of the tree structure, it is determined that described The minimum condition entry of level where in M condition entry, the father node of the minimum condition entry of the place level Be the second logical operation node, using the M condition entry as the second logical operation node son Node;Or,
In the case where the M condition entry includes at least one condition entry and at least one logical groups, Determine place level highest logical groups at least one logical groups, the place level highest is patrolled The father node for collecting group is the 3rd logical operation node, using the M condition entry as the 3rd logic The child node of computing node.
With reference to the 4th kind of possible implementation of the third aspect, in the 6th kind of possible reality of the third aspect In existing mode, N number of condition entry that second input of the user includes splitting in the tree structure passes through The logical groups of conditional combination composition, the father node of N number of condition entry described in the logical groups is the 4th logic Computing node, N is the integer more than 1, and the processing unit is specifically for deleting the 4th logic Computing node, and saved N number of condition entry as the son of the father node of the 4th logical operation node Point.
A kind of fourth aspect, there is provided client, above-mentioned for performing second aspect or second aspect A kind of display methods described in possible implementation.Specifically, the client includes:Display unit, The first predeterminable area for regular configuration interface to be presented in display screen, includes in first predeterminable area Multiple operation objects;Detection unit, for detect user first input, described first be input into for from The first predeterminable area selection operation object;Processing unit, for detect the detection unit The described first corresponding condition entry of operation object for being input into selection is put into the second of the regular allocation window Predeterminable area;The display unit is additionally operable to, and the behaviour selected by this is presented in second predeterminable area Make the tree structure of the corresponding condition entry of object and existing condition entry composition, the institute in the tree structure The father node for stating the corresponding condition entry of operation object of this selection is the logical operation node, described to patrol Collecting computing node is used to represent that the logic between the condition entry in the child node of the logical operation node to be closed System.
In the embodiment of the present invention, client is by being presented the corresponding condition entry of operation object selected by this The tree structure constituted with existing condition entry so that user can intuitively set the condition of multistage nesting Logical relation such that it is able to be configured flexibly for screen rule.
With reference to fourth aspect, in the first possible implementation of fourth aspect, the detection unit It is additionally operable to, detects second input of the user, during described second is input into for selecting the tree structure M condition entry carry out conditional combination, M is the integer more than 1;The display unit is additionally operable to, According to second input that the detection unit is detected, presented to the M in second preset areas Individual condition entry carries out the tree structure after conditional combination.
With reference to the first possible implementation of fourth aspect or fourth aspect, the second of fourth aspect Plant in possible implementation, the detection unit is additionally operable to, detect the 3rd input of the user, institute The 3rd is stated to be input into for splitting the N number of condition entry in the tree structure by patrolling that conditional combination is constituted Group is collected, N is the integer more than 1;The display unit is additionally operable to, and is detected according to the detection unit It is described 3rd input, second preset areas present the logical groups are split after tree-like knot Structure.
A kind of 5th aspect, there is provided client, including:Processor, memory, bus system and defeated Enter equipment, the processor, the memory are connected with the input equipment by the bus system, The memory is used for store instruction, and the processor is used to perform the instruction of the memory storage so that The client executing as first aspect or first aspect any one possible implementation described in Method.
A kind of 6th aspect, there is provided client, including:It is processor, memory, bus system, defeated Enter equipment and display device, the processor, the memory, the input equipment and the display set Standby to be connected by the bus system, the memory is used for store instruction, and the processor is used to perform The instruction of the memory storage so that any one of the client executing such as second aspect or second aspect Method described in possible implementation.
7th aspect, there is provided a kind of computer-readable recording medium, including computer executed instructions, when the place of client When reason device performs the computer executed instructions, for example above-mentioned first aspect of the client executing or first Method described in the possible implementation of any one of aspect.
Eighth aspect, there is provided a kind of computer-readable recording medium, including computer executed instructions, when the place of client When reason device performs the computer executed instructions, for example above-mentioned second aspect of the client executing or second Method described in the possible implementation of any one of aspect.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be in the embodiment of the present invention The required accompanying drawing for using is briefly described, it should be apparent that, drawings described below is only this Some embodiments of invention, for those of ordinary skill in the art, are not paying creative work Under the premise of, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the configuration interface of label rule of the prior art;
Fig. 2 is the system logic architecture schematic diagram of establishing label in the prior art;
Fig. 3 is the structural representation of client according to embodiments of the present invention;
Fig. 4 is the schematic flow of the regular collocation method for screening according to embodiments of the present invention Figure;
Fig. 5 is the schematic diagram of regular configuration interface according to embodiments of the present invention;
Fig. 6 is the schematic diagram of computing formula editing machine according to embodiments of the present invention;
Fig. 7 is the schematic diagram of the template file of calculating generic attribute according to embodiments of the present invention;
Fig. 8 is the schematic diagram of template file according to embodiments of the present invention;
Fig. 9 is another schematic diagram of template file according to embodiments of the present invention;
Figure 10 is another schematic diagram of regular configuration interface according to embodiments of the present invention;
Figure 11 is according to embodiments of the present invention the schematic diagram before conditional combination to be carried out to condition entry;
Figure 12 is according to embodiments of the present invention the schematic diagram after conditional combination to be carried out to condition entry;
Figure 13 is according to another embodiment of the present invention the schematic diagram before conditional combination to be carried out to condition entry;
Figure 14 is according to another embodiment of the present invention the schematic diagram after conditional combination to be carried out to condition entry;
Figure 15 is according to another embodiment of the present invention the schematic diagram before conditional combination to be carried out to condition entry;
Figure 16 is according to another embodiment of the present invention the schematic diagram after conditional combination to be carried out to condition entry;
Figure 17 is the schematic diagram of tree structure according to another embodiment of the present invention;
Figure 18 is the schematic diagram of tree structure according to another embodiment of the present invention;
Figure 19 is the schematic diagram of the data structure of tree structure according to embodiments of the present invention;
Figure 20 is the schematic flow of the regular display methods for screening according to embodiments of the present invention Figure;
Figure 21 is the structural representation of client according to another embodiment of the present invention;
Figure 22 is the structural representation of client according to another embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is a part of embodiment of the invention, without It is whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound The every other embodiment that the property made is obtained on the premise of working, should all belong to the scope of protection of the invention.
The embodiment of the present invention is understood for convenience, and the art that can be introduced in embodiment of the present invention description is introduced first Language.
Attribute:Attribute is minimum particle size and cannot decompose, not intersect each other and repeat, cover number comprehensively According to client's basic index in source, for stating the quantizating index of client's feature in a certain respect.
Condition:The expression formula being compared using property value and other constants or variable, it is specific for describing The feature of business.
Rule:The combination of the service logic relation described by one or more conditions.
Label:Label is the description by rule certain relatively stable feature to client.Client's label is The client characteristics that a kind of use natural language mode is described.
Fig. 2 show the system logic architecture schematic diagram of establishing label in the prior art.Client includes unit Data-interface and regular configuration device, service end include that meta data server, regular transfer interpreter and rule are held Row engine.Client is connected by metadata interface with the meta data server of service end.
Client can provide configuration interface (such as Fig. 1), receive the category that user selects in the configuration interface Property, and first number of the selected attribute of user is got by metadata interface dependence meta data server According to;
The metadata of the attribute that regular configuration device gets according to metadata interface provides a user with the category Property comparison operators, and receive user be the Attributions selection comparison operators and fiducial value so as to be configured to attribute Condition, and the logical relation of each attribute conditions of user input is received, obtain patrolling for each attribute conditions Combination is collected, and according to logical combination create-rule expression formula (RULE-EXPRESSION), client Regular expression is submitted to the regular transfer interpreter of background server;
The regular expression that regular transfer interpreter submits client to carries out translation create-rule enforcement engine can The sentence of understanding;
The sentence of regular enforcement engine executing rule transfer interpreter generation, generates user list matching, preservation Enter row label mark with result and by the user of matching.
The regular configuration device of client of the prior art in the logical relation of configuration condition, condition Nested series is limited by configuration interface, when the nested series of the condition for needing to set is higher than configuration interface Allow set series when, it is necessary to passing through coding remodifies configuration interface, and each condition for obtaining Logical combination logical relation is configured by left and right bracket, cause the logical relation of condition of multistage nesting not Can flexibly set.
The embodiment of the present invention is improved the client in system shown in Figure 2 logical architecture, it is proposed that A kind of regular collocation method, display methods and client for screening, can flexibly set multistage embedding The logical relation of the condition of set such that it is able to flexible configuration rule.
It should be understood that in the embodiment of the present invention, client and service end can be separate entity devices, But the embodiment of the present invention is not limited this, client and service end can also correspond to same entity device.
The client of the embodiment of the present invention can for common computer, PC (Personal Computer), Kneetop computer (Laptop Computer), panel computer (Tablet Computer), net book (Netbook), intelligent terminal etc..
Fig. 3 show the structural representation of client 300 according to embodiments of the present invention.As shown in figure 3, Client 300 may include processor 301, memory 302, input equipment 303 and bus system 304.
Memory 302 can include read-only storage and random access memory, and be carried to processor 301 For instruction and data.The a part of of memory 302 can also include nonvolatile RAM (NVRAM)。
Processor 301 controls the operation of client 300, and it is single that processor 301 can also be referred to as center treatment First (Central Processing Unit, abbreviation CPU).Memory 302 can include read-only storage and Random access memory, and to the provide instruction and data of processor 301.A part for memory 302 is also Nonvolatile RAM (NVRAM) can be included.In specific application, client 300 Each component be coupled by bus system 304, wherein bus system 304 is except including that data are total Outside line, can also be including power bus, controlling bus and status signal bus in addition etc..But in order to clear For the sake of explanation, various buses are all designated as bus system 304 in figure.
In embodiments of the present invention, processor 301 by call memory 302 store operational order, So that the respective streams of the client executing regular collocation method for screening according to embodiments of the present invention Journey, specifically refers to the regular configuration for screening according to embodiments of the present invention shown in FIG. 4 below The associated description of method 400, to avoid repeating, will not be repeated here.
The regular collocation method 400 for screening that hereinafter embodiment of the present invention is disclosed can apply to In processor 301, or realized by processor 301.Processor 301 is probably a kind of ic core Piece, the disposal ability with signal.In implementation process, each step of the above method can be by treatment The instruction of the integrated logic circuit or software form of the hardware in device 301 is completed.Above-mentioned processor 301 can be general processor, digital signal processor (DSP), application specific integrated circuit (ASIC), Ready-made programmable gate array (FPGA) or other PLDs, discrete gate or transistor Logical device, discrete hardware components.Can realize or perform the disclosed each side in the embodiment of the present invention Method, step and logic diagram.General processor can be microprocessor or the processor can also be appointed What conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in Hardware decoding processor performs completion, or combines execution with the hardware in decoding processor and software module Complete.Software module may be located at random access memory, and flash memory, read-only storage may be programmed read-only storage In the ripe storage medium in this area such as device or electrically erasable programmable memory, register.The storage Medium is located at memory 302, and processor 301 reads the information in memory 302, complete with reference to its hardware The step of method disclosed in the embodiment of the present invention.
Alternatively, client 300 can also include display device 305, and display device 305 can include Liquid crystal display, projection etc..Correspondingly, client 300 can also be used to perform according to embodiments of the present invention For screen regular display methods corresponding flow, specifically refer to the root shown in FIG. 20 below According to the associated description of the regular display methods 2000 for screening of the embodiment of the present invention, to avoid weight It is multiple, will not be repeated here.
Alternatively, client 300 can also include network interface, client can by network interface with Service end is communicated.
Fig. 4 show the regular collocation method 400 for screening according to embodiments of the present invention, configuration Method 400 can apply to client.Regular collocation method 400 includes following content.
401st, client determines operation object according to the input of user.
Wherein, operation object can be attribute or label.
For example, what the processor 301 in client shown in Fig. 3 can be detected according to input equipment 303 The input of user determines operation object.
Fig. 5 show the schematic diagram of the regular configuration interface of client according to embodiments of the present invention, Ying Li Solution, the example shown in Fig. 5 is intended merely to help those skilled in the art to more fully understand the embodiment of the present invention, The scope of the embodiment that is not intended to limit the present invention.
For example, user can select attribute/label from the Attributions selection area of the configuration interface left side shown in Fig. 5, Attribute/the label of selection is added to regular configuring area by adding button or driving style.
402nd, metadata of the client from service end acquisition request operation object.The metadata of operation object Title, the type of operation object, the data source of operation object of operation object can be included.
For example, client can be by metadata interface from first number of service end acquisition request operation object According to.
If it should be noted that the attribute of user's addition calculates the unit of generic attribute to calculate generic attribute Data are by being locally defined generation.As shown in fig. 6, user can be defined by computing formula editing machine calculating The metadata of generic attribute, such as:Title, unit and arithmetic expression formula.
For calculating generic attribute, unified calculating generic attribute template, the meter that user defines can be pre-defined Calculating generic attribute can use calculating generic attribute structure of transvers plate condition UI (such as Fig. 7).
403rd, client obtains the metadata of the operation object that service end is returned.
For example, the processor 303 in client 300 can be obtained from service end by network interface and operated The metadata of object.
404th, client is according to the type selecting template file of operation object, and structural environment template is defeated Enter interface.
Main each key element (such as operation object, obtaining value method, the relational operator by condition model of template file And fiducial value) connection composition.Alternatively, can also include that (such as value is write from memory for value constraint in template file Recognize constraint and value extends constraint).The various combination of the value of each key element in condition model, can correspond to
Different template files.The example of the condition model for the embodiment of the present invention as shown in table 1 below.
Table 1
Wherein, fiducial value can be default value, or the value of user input, the embodiment of the present invention This is not limited.
Table 2 below is shown by taking Numeric Attributes as an example, by the template file that different obtaining value methods is enumerated.
Table 2
Specifically, the metadata of operation object includes the type of operation object, and condition constructor is according to the category The template file of the type selecting acquiescence of operation object, by the Information application of operation object to the template file Display interface of the middle generation for user input.As shown in table 1, the type of operation object can be following Meaning is a kind of:Numerical value generic attribute, enumerate generic attribute, text generic attribute, date generic attribute, calculate generic attribute And label.
For example, it is assumed that the implied terms template of the numerical value generic attribute for pre-setting is to work as time value for obtaining value method Template, when user-selected number value generic attribute " 4G uses flow ", the implied terms template of generation Display interface it is as shown in Figure 8.As shown in figure 8, can include in the template file of attribute changeable Obtaining value method, changeable relational operator, the fiducial value that can be input into.Alternatively, template file can be with Including constraints.After user's switching obtaining value method, template file accordingly switches therewith.In display interface The middle corresponding icon of click can switch obtaining value method, be able to can also be input into handoff relation operator Fiducial value.
Due to including obtaining value method in the template file of the attribute of the embodiment of the present invention, therefore, the present invention The regular collocation method of embodiment such as supports to seek summation to single attribute, be averaging carry out at the value calculated Compare.
It should be noted that the template file of label includes tag identifier and changeable relational operator.
405th, inputting interface is returned to user by display device.
For example, the processor 301 in client shown in Fig. 3 can control display device 305 to show input Interface.
User can be input into fiducial value and/or comparison operators in inputting interface.For example, user can be with switch attribute Obtaining value method and/or comparison operators, can also be input into fiducial value, as shown in Figure 8.
For example, when user switches obtaining value method, matching respective conditions template, updated by previous step Inputting interface and corresponding changeable operation.It is illustrated in figure 9 the value in template file shown in Fig. 8 Method by switching to history value when time value after inputting interface.
406th, client receives the content of user input template file.
407th, content formation condition of the client according to user input.
Content preservation condition information according to user input, including the relevant factor in condition model, for example: Property ID, obtaining value method, value constraint, complete condition construction, obtain condition entry.
For example, user is after display interface is input into fiducial value and/or relational operator, formation condition.
According to business need, if user repeats to add multiple attributes, according to above-mentioned iterative process 401~407 can generate multiple condition entries with repetitive construct.
408th, multiple condition entries are carried out logical combination composition tree structure, and create-rule table by client Up to formula.
Specifically, multiple condition entries are added to one with logic by client in the multiple condition entries of generation During computing node is the tree structure of root, as shown in Figure 10.The plurality of condition entry and logic can be transported The tree structure of operator node composition is referred to as logical description object.
It should be noted that if user with the addition of an operation object again, and according to above-mentioned interaction at When reason process 401~407 generates a condition entry, when the condition entry is added in existing tree structure, Can using the condition entry as the root node of the tree structure child node.But the embodiment of the present invention to this simultaneously Do not limit, it is also possible to using the condition entry as other logical operation nodes child node.For example, in addition User can choose at least one condition entry before new condition entry, then when adding the condition entry, the condition At least one condition entry that item can be chosen with user carries out conditional combination automatically.The specific reality of conditional combination Existing method may be referred to following description.
Alternatively, the condition entry in tree structure can be entered according to the input of user in the embodiment of the present invention The child node that row combination operation, i.e. client can choose user carries out conditional combination, realizes that logic is closed System's adjustment.
For example, combination operation can generate a logical operation node, the condition that will be checked in current level Item is added to the logical operation node next stage as child node;While logical operation node and next stage institute There is the entirety of child node, logical groups can be turned into, the logical groups can be joined as the condition entry of bigger granularity With new conditional combination, so finally realize that multilevel logic relation is configured, flexibly can set more than two-stage Nested logical condition.
Alternatively, client can also split the multiple condition entries warp in tree structure according to the input of user The logical groups of conditional combination composition are crossed, realizes that logical relation is adjusted.
It should be understood that step 404~407 are alternative step.The formation condition of step 404~407 description The method of item can also be replaced by:Step 404 ' and step 405 '.
404 ', client returns to the operation object by display device according to the type of operation object to user Relational operator;
405 ', the relational operator of user's selection and/or the fiducial value of input, formation condition are received. That is, the regular collocation method for screening of the embodiment of the present invention can be compatible with prior art.
Describe the method for adjustment of the logical relation of tree structure in detail with reference to Figure 11 to Figure 18.
Select to need the condition entry of combination from the tree structure being made up of multiple condition entries, carry out condition group Close.The logical groups constituted through the multiple condition entries after conditional combination can participate in new conditional combination.Example Such as, two condition entries that will have been chosen shown in Figure 11 carry out obtaining the tree shown in Figure 12 after conditional combination Shape structure.Part in Figure 12 in square frame is carries out what is obtained after conditional combination by two condition entries Logical groups.
The process that multiple condition entries are carried out with conditional combination is processed by following three kinds of principles.
In the case where multiple condition entries are located at the same level (such as Figure 11) of tree structure, in current layer Level increase newly a first logical operation node, using multiple condition entries as the first logical operation node son Node (such as Figure 12);Or,
In the case where multiple condition entries are located at the different levels (such as Figure 13) of tree structure, it is determined that multiple The minimum condition entry of level where in condition entry, the father node of the minimum condition entry of the place level is second Logical operation node, using multiple condition entries as the second logical operation node child node (such as Figure 14); Or,
Include at least one condition entry and at least one logical groups in M condition entry (such as Figure 15) In the case of, determine place level highest logical groups, the place level highest at least one logical groups The father node of logical groups is the 3rd logical operation node, using M condition entry as the 3rd logical operation The child node (such as Figure 16) of node.
The process split by the logical groups that conditional combination is constituted to multiple condition entries is by following principle Treatment:
Assuming that the father node of multiple condition entries is the 4th logical operation node in the logical groups, then delete this Four logical operation nodes, and using the plurality of condition entry as the father node of the 4th logical operation node son Node.In other words, using the plurality of condition entry as the 4th logical operation node the brotgher of node, and Delete the 4th logical operation node.
It should be noted that in the embodiment of the present invention, the logic on logical operation node in tree structure Operation relation (i.e. logical operator) can be switched over.As shown in figure 17, logical operation section is clicked on Point, you can switch logic relation, obtains the tree structure shown in Figure 18.
Specifically, the logical relation of tree structure can realize by increasing or safeguarding the data of node newly, The description of the logical relation of multi-layer is realized by the data of node.
It is as shown in figure 19 the schematic diagram of the data structure of tree structure.Each unit in the data structure The description of element refer to the content of table 3 below.
Table 3
For example, the data structure of tree structure can be expressed as:
[{id:“c-0001”,pid:“root”,level:“1”,type:“logic”,data:{value:“and”}},
{id:“c-0004”,pid:“c-0001”,level:“2”,type:“attr”,data:{…}},
{id:“c-0005”,pid:“c-0001”,level:“2”,type:“attr”,data:{…}},…]
A logical operation node can be increased when carrying out conditional combination to condition entry newly, by data structure filler The value of pid, level of structure is moved down and updated the data according to, the condition entry node being combined.
Conversely, Splitting Logic group can delete logical operation node, structure is moved and updated the data on downstream site The value of pid, level of body.
Figure 20 is showing for the regular display methods 2000 for screening according to another embodiment of the present invention Meaning property flow chart.As shown in figure 20, display methods 2000 includes following content.
2010th, the first predeterminable area of regular configuration interface, the first preset areas are presented in display screen for client Include multiple operation objects in domain.
Regular configuration interface can as figure 5 illustrates, but the embodiment of the present invention is not limited this.
Wherein the first predeterminable area may correspond to the Attributions selection area shown in Fig. 5, multiple operation object correspondences With the multiple attributes in Attributions selection area shown in Fig. 5.
2020th, first input of client detection user, first is input into for being selected from the first predeterminable area Operation object.
The 2030th, the corresponding condition entry of the operation object of selection is put into the second preset areas of regular allocation window Domain.
For example, when display screen is touch-screen, client can detect user's input on a display screen. Or, client can detect the input operation that user is performed by mouse.
Wherein the second predeterminable area may correspond to the regular configuring area shown in Fig. 5.For example, user can lead to The corresponding condition entry of the operation object of selection is put into regular configuration by the mode for crossing addition button or dragging Area.It should be understood that the operation object that client is selected according to user, it may be determined that the operation object is corresponding Condition entry, the associated description of step 401~407 in the method 400 that detailed process may be referred to shown in Fig. 4, To avoid repeating, will not be repeated here.
2040th, the corresponding condition entry of operation object selected by this is presented in the second predeterminable area for client The tree structure constituted with existing condition entry, the father node of the condition entry in tree structure is logical operation Node, logic is closed between logical operation node is used to represent the condition entry in the child node of logical operation node System.
The tree structure of the embodiment of the present invention may be referred to the associated description in above collocation method 400.
In the embodiment of the present invention, by the corresponding condition entry of operation object that is selected by this being presented and having deposited Condition entry composition tree structure so that user can intuitively set patrolling for the condition of multilayer nest The relation of collecting such that it is able to be configured flexibly the rule for screening.
Alternatively, the tree-like knot after logical relation adjustment can also be correspondingly presented according to the input of user Structure.For example, client can detect user for the multiple condition entries in tree structure to be carried out into condition group The input of conjunction, and in the second preset areas, accordingly presentation carries out condition group to the plurality of condition entry according to the input Tree structure after conjunction.Client can also detect that user is used for the multiple condition entries split in tree structure The input of the logical groups constituted by conditional combination, and presented to logic in the second preset areas according to the input Group split after tree structure.
According to the input of user, or the method for conditional combination Splitting Logic group is carried out to condition entry can join The associated description in previous methods 400 is examined, to avoid repeating, be will not be repeated here.
Figure 21 is the structural representation of client according to embodiments of the present invention.Client shown in Figure 21 2100 include acquiring unit 2110 and processing unit 2120.
Processing unit 2110, for determining operation object according to the first of user the input, operation object is category Property or label.
Acquiring unit 2120, the metadata for obtaining operation object, metadata includes the class of operation object Type.
Processing unit 2110 is additionally operable to, and the type of the operation object obtained according to acquiring unit 2120 determines For the condition entry of configuration rule.
Processing unit 2110 is additionally operable to, by the condition entry of this determination and already present condition entry composition tree Shape structure, the father node of tree structure conditional is logical operation node, and logical operation node is used for table Show the logical relation between the condition entry in the child node to logical operation node.
Processing unit 2110 is additionally operable to, according to tree structure create-rule expression formula.
In the embodiment of the present invention, corresponding condition entry is determined by according to operation object, and by this determination Condition entry and already present condition entry composition tree structure, enabling multistage nested bar is flexibly set The logical relation of part such that it is able to be configured flexibly the rule for screening.
Alternatively, processing unit 2110 specifically for:
The template file that the type selecting of the operation object obtained according to acquiring unit 2120 is matched;
According to the content of user input template file, formation condition.
Alternatively, operation object is attribute, and template file includes title, obtaining value method, the relation of attribute Operator and fiducial value.
Alternatively, to calculate generic attribute, acquiring unit 2120 is specifically for fixed for the type of operation object Justice calculates the metadata of generic attribute, and the metadata for calculating generic attribute includes title, unit and arithmetic table Up to formula.
Alternatively, processing unit 2110 specifically for:
The logical relation between the second input adjustment tree structure conditional according to user;
According to the tree structure create-rule expression formula after adjustment.
Alternatively, second input of user includes for M condition entry in tree structure carrying out condition group Close, M is the integer more than 1.
Correspondingly, processing unit 2110 specifically for:
In the case where M condition entry is located at the same level of tree structure, in current level newly-increased Individual first logical operation node, using M condition entry as the first logical operation node child node;Or Person,
In the case where M condition entry is located at the different levels of tree structure, in determining M condition entry The minimum condition entry of place level, the father node of the minimum condition entry of place level is the second logical operation section Point, using M condition entry as the second logical operation node child node;Or,
In the case where M condition entry includes at least one condition entry and at least one logical groups, really Level highest logical groups where in fixed at least one logical groups, father's section of place level highest logical groups Point be the 3rd logical operation node, using M condition entry as the 3rd logical operation node child node.
Alternatively, the second of user is input into the N number of condition entry included splitting in tree structure by condition group The logical groups being combined into, the father node of N number of condition entry is the 4th logical operation node in logical groups, and N is Integer more than 1.Correspondingly, processing unit 2110 specifically for, delete the 4th logical operation node, And using N number of condition entry as the father node of the 4th logical operation node child node.
Client 2100 according to embodiments of the present invention may correspond to according to embodiments of the present invention for sieving The client and client 300 according to embodiments of the present invention of the regular collocation method 400 of choosing, and And above and other operation and/or function of the unit in client 2100 is respectively in order to realize Fig. 4 Method 400 corresponding flow, for sake of simplicity, will not be repeated here.
It should be noted that in the embodiment of the present invention, processing unit 2110 can as shown in Figure 3 in client Processor 301 realizes that acquiring unit 2120 can also be realized by processor 301.
It should be noted that when client and service end are separate entity devices, and operate it is right The metadata of elephant is stored when in service end, and acquiring unit 2120 can be by the processor 301 in client Realized by network interface.When client and service end are same entity device, first number of operation object During according to storage on local memory, acquiring unit 2120 can be realized by processor 301.
In the embodiment of the present invention, corresponding condition entry is determined by according to operation object, and by this determination Condition entry and already present condition entry composition tree structure, enabling multistage nested bar is flexibly set The logical relation of part such that it is able to be configured flexibly the rule for screening.
Figure 22 is the structural representation of client according to another embodiment of the present invention.As shown in figure 22, Client 2200 can include display unit 2210, detection unit 2220 and processing unit 2230.
Display unit 2210, the first predeterminable area for regular configuration interface to be presented in display screen, first Include multiple operation objects in predeterminable area.
Detection unit 2220, the first input for detecting user, first is input into for from the first preset areas Domain selection operation object.
Processing unit 2230, for detection unit 2220 to be detected first be input into selection operation it is right The second predeterminable area of regular allocation window is put into as corresponding condition entry.
It should be understood that processing unit 2230 can also determine the corresponding condition entry of the operation object, specific mistake The associated description of step 401~407 in the method 400 that journey may be referred to shown in Fig. 4, to avoid repeating, Will not be repeated here.
Display unit 2210 is additionally operable to, and the operation object pair selected by this is presented in the second predeterminable area The tree structure of the condition entry answered and existing condition entry composition, the father node of the condition entry in tree structure It is logical operation node, logical operation node is used to represent the condition entry in the child node of logical operation node Between logical relation.
In the embodiment of the present invention, by the corresponding condition entry of operation object that is selected by this being presented and having deposited In the tree structure of condition entry composition so that user can intuitively set the logic of the condition of multistage nesting Relation such that it is able to be configured flexibly the rule for screening.
Alternatively, detection unit 2220 is additionally operable to, second input of detection user, and second is input into and is used for M condition entry in selection tree structure carries out conditional combination, and M is the integer more than 1;Display is single Unit 2210 is additionally operable to, and according to the second input that detection unit 2210 is detected, is presented in the second preset areas Tree structure after conditional combination is carried out to M condition entry.
Alternatively, detection unit 2210 is additionally operable to, the 3rd input of detection user, and the 3rd is input into and is used for The logical groups that the N number of condition entry in tree structure is constituted by conditional combination are split, N is whole more than 1 Number;Display unit 2220 is additionally operable to, according to the 3rd input that detection unit 2210 is detected, second Preset areas are presented the tree structure after being split to logical groups.
Client 2200 according to embodiments of the present invention may correspond to according to embodiments of the present invention for sieving The client and client 300 according to embodiments of the present invention of the regular display methods 2000 of choosing, and And above and other operation and/or function of the unit in client 2200 is respectively in order to realize Figure 20 Method 2000 corresponding flow, for sake of simplicity, will not be repeated here.
It should be noted that in the embodiment of the present invention, detection unit 2210 can as shown in Figure 3 in client Input equipment 303 realizes that display unit 2220 can be realized by display device 305, processing unit 2230 Can be realized by processor 301.
Those of ordinary skill in the art are it is to be appreciated that with reference to each of the embodiments described herein description The unit and algorithm steps of example, can be with electronic hardware or the knot of computer software and electronic hardware Close to realize.These functions are performed with hardware or software mode actually, depending on the spy of technical scheme Fixed application and design constraint.Professional and technical personnel can use not Tongfang to each specific application Method realizes described function, but this realization it is not considered that beyond the scope of this invention.
It is apparent to those skilled in the art that, it is for convenience and simplicity of description, above-mentioned to retouch The specific work process of system, device and the unit stated, may be referred to the correspondence in preceding method embodiment Process, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, device and Method, can realize by another way.For example, device embodiment described above is only to show Meaning property, for example, the division of the unit, only a kind of division of logic function can when actually realizing To there is other dividing mode, such as multiple units or component can be combined or be desirably integrated into another System, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING of device or unit by some interfaces Or communication connection, can be electrical, mechanical or other forms.
It is described as separating component illustrate unit can be or may not be it is physically separate, make For the part that unit shows can be or may not be physical location, you can with positioned at a place, Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or Person whole units realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit In, or unit be individually physically present, it is also possible to two or more units are integrated in one In individual unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or make Used time, can store in a computer read/write memory medium.Based on such understanding, the present invention The part that is substantially contributed to prior art in other words of technical scheme or the technical scheme portion Dividing can be embodied in the form of software product, and the computer software product is stored in a storage medium In, including some instructions are used to so that computer equipment (can be personal computer, server, Or the network equipment etc.) perform all or part of step of each embodiment methods described of the invention.And it is preceding The storage medium stated includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can With the medium of store program codes.
The above, specific embodiment only of the invention, but protection scope of the present invention do not limit to In this, any one skilled in the art the invention discloses technical scope in, can be easily Expect change or replacement, should all be included within the scope of the present invention.Therefore, protection of the invention Scope should be based on the protection scope of the described claims.

Claims (20)

1. it is a kind of for screen regular collocation method, it is characterised in that including:
The first input according to user determines operation object, and the operation object is attribute or label;
The metadata of the operation object is obtained, the metadata includes the type of the operation object;
Type according to the operation object determines the condition entry for configuration rule;
By the condition entry of this determination and already present condition entry composition tree structure, the tree-like knot The father node of the condition entry of this determination described in structure is logical operation node, and the logical operation node is used Logical relation between the condition entry in the child node for representing the logical operation node;
According to the tree structure create-rule expression formula.
2. collocation method according to claim 1, it is characterised in that described according to the operation The type of object determines the condition entry for configuration rule, including:
The template file of the type selecting matching according to the operation object;
The content of template file described in the user input is received, the condition entry is generated.
3. collocation method according to claim 2, it is characterised in that the operation object is category Property, the template file includes title, obtaining value method, relational operator and the fiducial value of attribute.
4. collocation method according to any one of claim 1 to 3, it is characterised in that described To calculate generic attribute, the metadata of the acquisition operation object includes the type of operation object:
The metadata for calculating generic attribute is defined, the metadata of the calculating generic attribute includes title, list Position and arithmetic expression formula.
5. collocation method according to any one of claim 1 to 4, it is characterised in that in institute State by the condition entry of this determination and already present condition entry composition tree structure after, the configuration Method also includes:
Logic in the second input adjustment tree structure according to the user between multiple condition entries Relation;
It is described according to the tree structure create-rule expression formula, including:
According to the tree structure create-rule expression formula after adjustment.
6. collocation method according to claim 5, it is characterised in that the second of the user is defeated Enter including M condition entry in the tree structure is carried out into conditional combination, M is the integer more than 1,
It is described to be input into the adjustment tree structure between multiple condition entries according to the second of the user Logical relation, including:
In the case where the M condition entry is located at the same level of the tree structure, in current layer Level increases a first logical operation node newly, using the M condition entry as first logical operation The child node of node;Or,
In the case where the M condition entry is located at the different levels of the tree structure, it is determined that described The minimum condition entry of level where in M condition entry, the father node of the minimum condition entry of the place level Be the second logical operation node, using the M condition entry as the second logical operation node son Node;Or,
In the case where the M condition entry includes at least one condition entry and at least one logical groups, Determine place level highest logical groups at least one logical groups, the place level highest is patrolled The father node for collecting group is the 3rd logical operation node, using the M condition entry as the 3rd logic The child node of computing node.
7. collocation method according to claim 5, it is characterised in that the second of the user is defeated Enter including splitting the logical groups that the N number of condition entry in the tree structure is constituted by conditional combination, it is described The father node of N number of condition entry described in logical groups is the 4th logical operation node, and N is the integer more than 1,
It is described to be input into the adjustment tree structure between multiple condition entries according to the second of the user Logical relation, including:
The 4th logical operation node is deleted, and is transported N number of condition entry as the 4th logic The child node of the father node of operator node.
8. it is a kind of for screen regular display methods, it is characterised in that including:
The first predeterminable area of regular configuration interface is presented in display screen, includes in first predeterminable area Multiple operation objects;
First input of detection user, described first is input into for from the first predeterminable area selection operation Object;
The corresponding condition entry of the operation object of selection is put into the second preset areas of the regular allocation window Domain;
The corresponding condition entry of operation object that is selected by this is presented in second predeterminable area and has deposited In the tree structure of condition entry composition, the operation object of this selection is corresponding described in the tree structure The father node of condition entry is logical operation node, and the logical operation node is used to represent the logical operation The logical relation between condition entry in the child node of node.
9. display methods according to claim 8, it is characterised in that also include:
Second input of the user is detected, described second is input into for by the M in the tree structure Individual condition entry carries out conditional combination, and M is the integer more than 1;
According to the described second input, presented in second preset areas carries out bar to the M condition entry Tree structure after part combination.
10. display methods according to claim 8 or claim 9, it is characterised in that also include:
The 3rd input of the user is detected, the described 3rd is input into the N for splitting in the tree structure The logical groups that individual condition entry is constituted by conditional combination, N is the integer more than 1;
According to the described 3rd input, after second preset areas present and the logical groups are split Tree structure.
A kind of 11. clients, it is characterised in that including:
Processing unit, for determining operation object according to the first of user the input, the operation object is category Property or label;
Acquiring unit, the metadata for obtaining the operation object, the metadata includes the operation The type of object;
The processing unit is additionally operable to, and the type of the operation object obtained according to the acquiring unit is true Surely it is used for the condition entry of configuration rule;
The processing unit is additionally operable to, and the condition entry of this determination and already present condition entry are constituted Tree structure, the father node of the condition entry of this determination described in the tree structure is logical operation section Point, the logical operation node is used between the condition entry for representing in the child node of the logical operation node Logical relation;
The processing unit is additionally operable to, according to the tree structure create-rule expression formula.
12. clients according to claim 11, it is characterised in that the processing unit is specific For:
The template file that the type selecting of the operation object obtained according to the acquiring unit is matched;
The content of template file described in the user input is received, the condition entry is generated.
13. clients according to claim 12, it is characterised in that the operation object is category Property, the template file includes title, obtaining value method, relational operator and the fiducial value of attribute.
14. client according to any one of claim 11 to 13, it is characterised in that described , to calculate generic attribute, the acquiring unit is specifically for defining the calculating generic for the type of operation object Property metadata, the metadata of the calculating generic attribute includes title, unit and arithmetic expression formula.
15. client according to any one of claim 11 to 14, it is characterised in that described Processing unit is additionally operable to, and the condition entry of this determination and already present condition entry are being constituted into the tree After shape structure, in the second input adjustment tree structure according to the user between multiple condition entries Logical relation;
The processing unit is specifically for according to the tree structure create-rule expression formula after adjustment.
16. clients according to claim 15, it is characterised in that the second of the user is defeated Enter including M condition entry in the tree structure is carried out into conditional combination, M is the integer more than 1,
The processing unit specifically for:
In the case where the M condition entry is located at the same level of the tree structure, in current layer Level increases a first logical operation node newly, using the M condition entry as first logical operation The child node of node;Or,
In the case where the M condition entry is located at the different levels of the tree structure, it is determined that described The minimum condition entry of level where in M condition entry, the father node of the minimum condition entry of the place level Be the second logical operation node, using the M condition entry as the second logical operation node son Node;Or,
In the case where the M condition entry includes at least one condition entry and at least one logical groups, Determine place level highest logical groups at least one logical groups, the place level highest is patrolled The father node for collecting group is the 3rd logical operation node, using the M condition entry as the 3rd logic The child node of computing node.
17. clients according to claim 15, it is characterised in that the second of the user is defeated Enter including splitting the logical groups that the N number of condition entry in the tree structure is constituted by conditional combination, it is described The father node of N number of condition entry described in logical groups is the 4th logical operation node, and N is the integer more than 1,
The processing unit is specifically for deleting the 4th logical operation node, and by described N number of Part as the father node of the 4th logical operation node child node.
A kind of 18. clients, it is characterised in that including:
Display unit, the first predeterminable area for regular configuration interface to be presented in display screen, described first Include multiple operation objects in predeterminable area;
Detection unit, the first input for detecting user, described first is input into for pre- from described first If regional choice operation object;
Processing unit, for the detection unit to be detected described first is input into the operation object of selection Corresponding condition entry is put into the second predeterminable area of the regular allocation window;
The display unit is additionally operable to, and the operation object selected by this is presented in second predeterminable area Corresponding condition entry and existing condition entry composition tree structure, in the tree structure it is described this The father node of the corresponding condition entry of operation object of selection is the logical operation node, the logical operation Node is used to represent the logical relation between the condition entry in the child node of the logical operation node.
19. clients according to claim 18, it is characterised in that the detection unit is also used In, detect second input of the user, described second is input into for by the M in the tree structure Individual condition entry carries out conditional combination, and M is the integer more than 1;
The display unit is additionally operable to, according to second input that the detection unit is detected, in institute Stating the presentation of the second preset areas carries out the tree structure after conditional combination to the M condition entry.
20. client according to claim 18 or 19, it is characterised in that the detection unit It is additionally operable to, detects the 3rd input of the user, during the described 3rd is input into for splitting the tree structure The logical groups that are constituted by conditional combination of N number of condition entry, N is the integer more than 1;
The display unit is additionally operable to, according to the 3rd input that the detection unit is detected, in institute State the second preset areas and the tree structure after being split to the logical groups is presented.
CN201511030224.8A 2015-12-31 2015-12-31 Configuration method, display method and client for screened rules Active CN106933889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511030224.8A CN106933889B (en) 2015-12-31 2015-12-31 Configuration method, display method and client for screened rules

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511030224.8A CN106933889B (en) 2015-12-31 2015-12-31 Configuration method, display method and client for screened rules

Publications (2)

Publication Number Publication Date
CN106933889A true CN106933889A (en) 2017-07-07
CN106933889B CN106933889B (en) 2020-07-14

Family

ID=59444338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511030224.8A Active CN106933889B (en) 2015-12-31 2015-12-31 Configuration method, display method and client for screened rules

Country Status (1)

Country Link
CN (1) CN106933889B (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491484A (en) * 2017-07-17 2017-12-19 阿里巴巴集团控股有限公司 A kind of data matching method, device and equipment
CN107729396A (en) * 2017-09-20 2018-02-23 上海精数信息科技有限公司 Data Dynamic Query method and device
CN107767922A (en) * 2017-10-25 2018-03-06 医渡云(北京)技术有限公司 Medical data receives discharge method and device, electronic equipment, storage medium
CN107862510A (en) * 2017-11-16 2018-03-30 郑州云海信息技术有限公司 A kind of method and system that multifrequency nature quantity statistics is realized in PLM
CN107943467A (en) * 2017-11-15 2018-04-20 阿里巴巴集团控股有限公司 Conditional statement creation method and device
CN108648017A (en) * 2018-05-14 2018-10-12 广东因特利信息科技股份有限公司 It is easy to user demand matching process, device, equipment and the storage medium of extension
CN109460543A (en) * 2018-10-18 2019-03-12 北京字节跳动网络技术有限公司 A kind of input method of logical expression, device, electronic equipment and readable medium
CN109710811A (en) * 2018-11-28 2019-05-03 北京摩拜科技有限公司 Detection method, equipment and the application system of user's portrait
CN109741087A (en) * 2018-12-11 2019-05-10 中国联合网络通信集团有限公司 The management method and device of electronic coupons
CN109977009A (en) * 2019-02-27 2019-07-05 深圳云步互娱网络科技有限公司 A kind of the switch state control method and system of rule-based engine
CN110187874A (en) * 2019-05-13 2019-08-30 第四范式(北京)技术有限公司 A kind of regular configuration method executed in computer equipment and device
CN110197383A (en) * 2018-02-27 2019-09-03 华为软件技术有限公司 The method and apparatus for obtaining user's collection of customers
CN110287219A (en) * 2019-06-28 2019-09-27 北京九章云极科技有限公司 A kind of data processing method and system
CN110750192A (en) * 2019-09-23 2020-02-04 紫光云(南京)数字技术有限公司 Filtering model method based on visual editing system
CN110968742A (en) * 2018-09-30 2020-04-07 北京国双科技有限公司 Data filtering method and device
CN111382187A (en) * 2018-12-30 2020-07-07 贝壳技术有限公司 Data extraction method and device
CN111931064A (en) * 2020-08-28 2020-11-13 张坚伟 Information analysis method based on big data and artificial intelligence and cloud service information platform
CN111932076A (en) * 2020-07-09 2020-11-13 车智互联(北京)科技有限公司 Rule configuration and release method and device and computing equipment
CN111985740A (en) * 2019-05-21 2020-11-24 北京京东振世信息技术有限公司 Task processing method and device
CN112395268A (en) * 2020-11-12 2021-02-23 中国人寿保险股份有限公司 Visual configuration method and device for complex condition rules
CN113569337A (en) * 2021-07-26 2021-10-29 中船重工鹏力(南京)大气海洋信息系统有限公司 Software design method based on VTS coding extensible condition screening
CN113656663A (en) * 2021-09-01 2021-11-16 广州游星弈科技有限公司 Data linkage analysis system and method applied to digital enterprise
CN113986241A (en) * 2021-10-25 2022-01-28 北京元年科技股份有限公司 Configuration method and device of business rules based on knowledge graph
CN115032901A (en) * 2021-12-22 2022-09-09 荣耀终端有限公司 Equipment control method and electronic equipment
CN115129188A (en) * 2022-06-29 2022-09-30 北京达佳互联信息技术有限公司 Interactive method, device and equipment based on conditional statement and storage medium
CN115563385A (en) * 2022-10-12 2023-01-03 中电金信软件有限公司 Generation method and generation device of combined label
CN116074190A (en) * 2021-10-29 2023-05-05 华为技术有限公司 Network configuration feature extraction method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform
CN101453475A (en) * 2009-01-06 2009-06-10 中国人民解放军信息工程大学 Authentication management system and method
US8239406B2 (en) * 2008-12-31 2012-08-07 International Business Machines Corporation Expression tree data structure for representing a database query
CN104978837A (en) * 2015-05-27 2015-10-14 苏文电能科技有限公司 Alarm system orienting user-side transformer station and realization method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform
US8239406B2 (en) * 2008-12-31 2012-08-07 International Business Machines Corporation Expression tree data structure for representing a database query
CN101453475A (en) * 2009-01-06 2009-06-10 中国人民解放军信息工程大学 Authentication management system and method
CN104978837A (en) * 2015-05-27 2015-10-14 苏文电能科技有限公司 Alarm system orienting user-side transformer station and realization method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋文燕: "面向客户需求的产品服务方案设计方法与技术研究", 《万方学位论文数据库 上海交通大学博士论文》 *

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491484A (en) * 2017-07-17 2017-12-19 阿里巴巴集团控股有限公司 A kind of data matching method, device and equipment
CN107491484B (en) * 2017-07-17 2020-08-28 阿里巴巴集团控股有限公司 Data matching method, device and equipment
CN107729396A (en) * 2017-09-20 2018-02-23 上海精数信息科技有限公司 Data Dynamic Query method and device
CN107729396B (en) * 2017-09-20 2020-01-31 上海精数信息科技有限公司 Data dynamic query method and device
CN107767922A (en) * 2017-10-25 2018-03-06 医渡云(北京)技术有限公司 Medical data receives discharge method and device, electronic equipment, storage medium
CN107943467A (en) * 2017-11-15 2018-04-20 阿里巴巴集团控股有限公司 Conditional statement creation method and device
CN107862510A (en) * 2017-11-16 2018-03-30 郑州云海信息技术有限公司 A kind of method and system that multifrequency nature quantity statistics is realized in PLM
CN110197383A (en) * 2018-02-27 2019-09-03 华为软件技术有限公司 The method and apparatus for obtaining user's collection of customers
CN108648017A (en) * 2018-05-14 2018-10-12 广东因特利信息科技股份有限公司 It is easy to user demand matching process, device, equipment and the storage medium of extension
CN108648017B (en) * 2018-05-14 2022-04-08 广东因特利信息科技股份有限公司 User requirement matching method, device, equipment and storage medium easy to expand
CN110968742A (en) * 2018-09-30 2020-04-07 北京国双科技有限公司 Data filtering method and device
CN109460543A (en) * 2018-10-18 2019-03-12 北京字节跳动网络技术有限公司 A kind of input method of logical expression, device, electronic equipment and readable medium
CN109710811A (en) * 2018-11-28 2019-05-03 北京摩拜科技有限公司 Detection method, equipment and the application system of user's portrait
CN109741087A (en) * 2018-12-11 2019-05-10 中国联合网络通信集团有限公司 The management method and device of electronic coupons
CN111382187A (en) * 2018-12-30 2020-07-07 贝壳技术有限公司 Data extraction method and device
CN111382187B (en) * 2018-12-30 2023-12-08 贝壳技术有限公司 Data extraction method and device
CN109977009A (en) * 2019-02-27 2019-07-05 深圳云步互娱网络科技有限公司 A kind of the switch state control method and system of rule-based engine
CN110187874B (en) * 2019-05-13 2023-12-15 第四范式(北京)技术有限公司 Rule configuration method and device executed in computer equipment
CN110187874A (en) * 2019-05-13 2019-08-30 第四范式(北京)技术有限公司 A kind of regular configuration method executed in computer equipment and device
CN111985740A (en) * 2019-05-21 2020-11-24 北京京东振世信息技术有限公司 Task processing method and device
CN111985740B (en) * 2019-05-21 2024-05-24 北京京东振世信息技术有限公司 Task processing method and device
CN110287219A (en) * 2019-06-28 2019-09-27 北京九章云极科技有限公司 A kind of data processing method and system
CN110750192A (en) * 2019-09-23 2020-02-04 紫光云(南京)数字技术有限公司 Filtering model method based on visual editing system
CN111932076A (en) * 2020-07-09 2020-11-13 车智互联(北京)科技有限公司 Rule configuration and release method and device and computing equipment
CN111932076B (en) * 2020-07-09 2023-12-12 车智互联(北京)科技有限公司 Rule configuration and release method and device and computing equipment
CN111931064A (en) * 2020-08-28 2020-11-13 张坚伟 Information analysis method based on big data and artificial intelligence and cloud service information platform
CN111931064B (en) * 2020-08-28 2021-07-06 南京硅基智能科技有限公司 Information analysis method based on big data and artificial intelligence and cloud service information platform
CN112395268A (en) * 2020-11-12 2021-02-23 中国人寿保险股份有限公司 Visual configuration method and device for complex condition rules
CN113569337A (en) * 2021-07-26 2021-10-29 中船重工鹏力(南京)大气海洋信息系统有限公司 Software design method based on VTS coding extensible condition screening
CN113656663A (en) * 2021-09-01 2021-11-16 广州游星弈科技有限公司 Data linkage analysis system and method applied to digital enterprise
CN113986241A (en) * 2021-10-25 2022-01-28 北京元年科技股份有限公司 Configuration method and device of business rules based on knowledge graph
CN116074190A (en) * 2021-10-29 2023-05-05 华为技术有限公司 Network configuration feature extraction method and related device
CN115032901A (en) * 2021-12-22 2022-09-09 荣耀终端有限公司 Equipment control method and electronic equipment
CN115032901B (en) * 2021-12-22 2023-03-28 荣耀终端有限公司 Equipment control method and electronic equipment
CN115129188A (en) * 2022-06-29 2022-09-30 北京达佳互联信息技术有限公司 Interactive method, device and equipment based on conditional statement and storage medium
CN115563385A (en) * 2022-10-12 2023-01-03 中电金信软件有限公司 Generation method and generation device of combined label

Also Published As

Publication number Publication date
CN106933889B (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN106933889A (en) For regular collocation method, display methods and the client screened
US11645246B2 (en) Managing and classifying assets in an information technology environment using tags
US10762142B2 (en) User-defined automated document feature extraction and optimization
US11281846B2 (en) Inheritance of rules across hierarchical levels
CN106250100B (en) Analyzing logic control method and device
CN110442336A (en) A kind of web development methods and device, storage medium and electronic equipment
US11048762B2 (en) User-defined automated document feature modeling, extraction and optimization
US20160004759A1 (en) Platform for Managing and Visualizing Data on a Computer
US9430458B2 (en) List-based interactivity features as part of modifying list data and structure
CN104737163A (en) Specifying and applying rules to data
CN109471694A (en) Drop-down list management method and drop-down list
US11648621B2 (en) Systems and methods to design part weld processes using media libraries
US7802186B2 (en) Property independent in-place editing
US20140143736A1 (en) Navigable graph of a service level management document
CN111158666B (en) Entity normalization processing method, device, equipment and storage medium
US11681961B2 (en) Flexible work breakdown structure
CN110532159A (en) Data decryptor method, apparatus, equipment and computer readable storage medium
CN103354990B (en) The system and method for the virtual machine in process cloud platform
CN109634570A (en) Front and back end integrated development method, device, equipment and computer readable storage medium
CN112288397A (en) Flow template configuration method, flow execution method and device and electronic equipment
JPWO2013038556A1 (en) Sequence program creation device
US8434051B2 (en) Schematic wire annotation tool
CN105446952A (en) Method and system for processing semantic fragments
US8713152B2 (en) Managing distributed applications using structural diagrams
CN114564855B (en) Operation method based on incidence relation of FMEA data nodes and electronic equipment

Legal Events

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