CN113656139B - Interface rule adding method and device - Google Patents
Interface rule adding method and device Download PDFInfo
- Publication number
- CN113656139B CN113656139B CN202110997497.9A CN202110997497A CN113656139B CN 113656139 B CN113656139 B CN 113656139B CN 202110997497 A CN202110997497 A CN 202110997497A CN 113656139 B CN113656139 B CN 113656139B
- Authority
- CN
- China
- Prior art keywords
- rule
- added
- information
- template
- sub
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000003993 interaction Effects 0.000 abstract description 8
- 230000000007 visual effect Effects 0.000 abstract description 6
- 230000015654 memory Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000006798 recombination Effects 0.000 description 2
- 238000005215 recombination Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application aims to provide a rule adding method and equipment for an interface, and the method and equipment judge whether a rule to be added belongs to a new type resource or a similar type resource; if the rule to be added belongs to similar type resources, after a target rule template corresponding to the rule to be added is determined, calling the target rule template and modifying the content of one or more rule items in the target rule template so as to finish adding the rule to be added corresponding to the similar type resources; if the rule to be added belongs to the new type resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to finish adding the rule to be added corresponding to the new type resource; and finally, displaying the added rules to be added on an interface, so that visual display of a large number of rules is realized, and meanwhile, interaction of quick input and one-key template adding is provided, the use cost of a user is reduced, and the user operation is convenient and quick.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for adding rules of an interface.
Background
The existing rule adding interfaces basically adopt a tiling display mode, each rule item is tiling displayed, each new item is added, and each interface tiling is added, so that no obvious difference exists; if a multi-level relation exists, a current common processing mode adds groups on an interface, increases module dividing dimension, and gives a larger grouping perception to a user on the interface, so that the purpose of classifying according to a certain rule is achieved; with more and more rule entries and more sorting and summarizing, the method also causes that the user can hardly position the required rule entries in the homogeneous class information, increases the use cost of the user, and even has a plurality of important rules which cannot be intuitively displayed. Secondly, when the user is rapidly deployed in the same type of resource, the user still needs to operate in a new rule adding mode, and the repeatability operation is high.
Disclosure of Invention
The application aims to provide the rule adding method and the device for the interface, which not only realize the visual display of a large number of rules, but also provide the interaction of quick input and one-key template adding, reduce the use cost of a user and ensure that the user is convenient and quick to operate.
According to an aspect of the present application, there is provided a rule adding method of an interface, wherein the method includes:
Judging whether the rule to be added belongs to a new type resource or a similar type resource;
if the rule to be added belongs to similar type resources, after a target rule template corresponding to the rule to be added is determined, calling the target rule template and modifying the content of one or more rule items in the target rule template so as to finish adding the rule to be added corresponding to the similar type resources;
If the rule to be added belongs to the new type resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to finish adding the rule to be added corresponding to the new type resource;
and displaying the rule to be added which is added in the interface.
Further, in the above method, the determining a target rule template corresponding to the rule to be added includes:
Calculating the similarity between the rule to be added and at least one similar rule template corresponding to the similar type resource respectively;
and determining the similarity rule template corresponding to the highest similarity as the target rule template corresponding to the rule to be added.
Further, in the above method, adding the basic information, the key information, and the sub-rule information corresponding to the rule to be added to complete the addition of the rule to be added corresponding to the new type of resource includes:
grouping at least three rule items in the rule to be added to obtain basic information, key information and sub-rule information corresponding to the rule to be added;
And respectively adding the basic information, the key information and the sub-rule information to finish the addition of the rule to be added corresponding to the new type of resource.
Further, in the above method, if the sub-rule information includes an existing sub-rule template, the adding the basic information, the key information, and the sub-rule information to complete the adding of the rule to be added corresponding to the new type of resource includes:
respectively adding the basic information and the key information;
and calling the sub-rule template corresponding to the sub-rule information to finish adding the rule to be added corresponding to the new type of resource.
Further, in the above method, the method further includes:
and storing the rule to be added corresponding to the added new type resource as a new rule template.
Further, in the above method, the basic information corresponding to the rule to be added includes a rule name and/or a rule profile corresponding to the rule to be added.
Further, in the above method, the key information corresponding to the rule to be added includes one or more of priority, behavior, message state and protocol of the rule to be added.
Further, in the above method, the sub-rule information corresponding to the rule to be added includes a port and/or an IP address of the rule to be added.
According to another aspect of the present application, there is also provided a non-volatile storage medium having stored thereon computer readable instructions which, when executed by a processor, cause the processor to implement a rule adding method as in the interface described above.
According to another aspect of the present application, there is also provided a rule adding apparatus of an interface, wherein the apparatus includes:
One or more processors;
a computer readable medium for storing one or more computer readable instructions,
The one or more computer-readable instructions, when executed by the one or more processors, cause the one or more processors to implement a rule addition method as the interface described above.
Compared with the prior art, the method and the device have the advantages that whether the rule to be added belongs to the new type of resource or the similar type of resource is judged; if the rule to be added belongs to similar type resources, after a target rule template corresponding to the rule to be added is determined, calling the target rule template and modifying the content of one or more rule items in the target rule template so as to finish adding the rule to be added corresponding to the similar type resources; if the rule to be added belongs to the new type resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to finish adding the rule to be added corresponding to the new type resource; and finally, displaying the added rules to be added on an interface, so that visual display of a large number of rules is realized, and meanwhile, interaction of quick input and one-key template adding is provided, the use cost of a user is reduced, and the user operation is convenient and quick.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow diagram of a method of rule addition for an interface in accordance with an aspect of the present application;
FIG. 2 illustrates a schematic diagram of a grouping result of a plurality of rule items in a rule addition method of an interface in accordance with an aspect of the present application;
FIG. 3 is a flow chart of a rule adding method of an interface in a practical application scenario according to an aspect of the present application;
FIG. 4 is a schematic diagram of key information in a rule adding method of an interface in a default state according to an aspect of the present application;
FIG. 5 is a schematic diagram of key information in a rule addition method of an interface in a river state according to an aspect of the present application;
FIG. 6 illustrates an interface schematic diagram of adding a new rule template in a rule addition method of an interface in accordance with an aspect of the subject application.
The same or similar reference numbers in the drawings refer to the same or similar parts.
Detailed Description
The application is described in further detail below with reference to the accompanying drawings.
In one exemplary configuration of the application, the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer readable media, as defined herein, does not include non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
As shown in fig. 1, one aspect of the present application proposes a flow chart of a rule adding method of an interface. The method comprises the steps of S11, S12, S13 and S14, and specifically comprises the following steps:
step S11, judging whether the rule to be added belongs to a new type resource or a similar type resource;
Step S12, if the rule to be added belongs to similar type resources, after a target rule template corresponding to the rule to be added is determined, calling the target rule template and modifying the content of one or more rule items in the target rule template so as to finish adding the rule to be added corresponding to the similar type resources;
Step S13, if the rule to be added belongs to a new type resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to finish adding the rule to be added corresponding to the new type resource;
and S14, displaying the rule to be added after finishing adding at an interface.
Through the steps S11 to S14, the visual display of a large number of rules is realized, and meanwhile, the interaction of quick input and one-key template adding is provided, so that the use cost of a user is reduced, and the user operation is convenient and quick.
Here, analysis and disassembly are required for the rule to be added, so as to help the user understand the component parts of the rule to be added currently, so that corresponding checking or editing operation can be quickly performed, a plurality of rule items tiled in the prior art are divided into the following 3 parts, and the rule to be added can be divided into basic information, key information and sub-rule information as shown in fig. 2. The basic information corresponding to the rule to be added is basic introduction aiming at the current rule to be added, so that a user is helped to quickly know a current rule application module, for example, the basic information corresponding to the rule to be added includes, but is not limited to, a rule name and/or a rule profile corresponding to the rule to be added; the key information corresponding to the rule to be added is the main content of the current rule to be added, is a key point of constraint resources, and is located at a main display position in an interface, for example, the key information corresponding to the rule to be added includes, but is not limited to, one or more of priority, behavior, message state and protocol of the rule to be added; the sub-rule information corresponding to the rule to be added is rule information with higher repeatability or higher use rate in the use of filling rules by a user in an actual operation and maintenance scene, wherein the sub-rule information corresponding to the rule to be added comprises, but is not limited to, ports and/or IP addresses of the rule to be added, so that optimization, classification and recombination of a plurality of rule items in the rule to be added are realized, the use experience of the user is improved, and the rule to be added is faster and more convenient.
In this embodiment, as shown in fig. 3, an operation flow diagram of a rule adding method of an interface provided in an aspect of the present application is shown, when a rule needs to be added, it is first determined whether a rule to be added belongs to a similar type resource or a new type resource, if the rule to be added belongs to a similar type resource, if the rule to be added belongs to an existing similar type resource, a corresponding rule template may be directly invoked, then a target rule template corresponding to the rule to be added needs to be determined first, and then a target rule template corresponding to the rule to be added is invoked, that is, a rule corresponding to a similar type resource is used as a template, because rule items in the rule corresponding to the similar type resource are approximately the same, and only the invoked target rule template corresponding to the rule to be added needs to be modified, and the specific operation flow is shown in fig. 3, in which a rule adding-rule template area-search target template-one-key application template-modification partial rule may be completed for adding the rule corresponding to the rule to be added corresponding to the similar type resource; of course, the rule template can be judged according to the key attribute provided by the target rule template, such as displaying the tiling result of the key information in the default state shown in fig. 4, and supporting the complete view result display of the key information in the template area in the state shown in fig. 5. If the rule to be added is specific to the new type resource, adding basic information, key information and sub-rule information corresponding to the rule to be added is needed to complete the addition of the rule to be added corresponding to the new type resource; finally, the rule of completing the addition is displayed on the interface. The embodiment of the application solves the problems that the user can not directly perceive the key rule information and the auxiliary rule information on the interface when the user uses the rule because the number of parameter items is excessive and the content is complex during the rule addition, the readability is low, the key rule information is easy to miss, the filling cost of the user is high, the use efficiency of the user is reduced and the like, so that the basic information, the key information, the sub-rule information (or other auxiliary rule information and the like) and the like can be directly perceived when the rule to be added is added and used, and the readability of the interface for adding the rule is improved; meanwhile, the problems of repeated labor and low utilization rate of users caused by repeated filling of similar rules aiming at similar type resources when the users add the rules are solved, visual display of a large number of rules is realized, and meanwhile, interaction of quick input and one-key template addition is provided, so that the use cost of the users is reduced, and the users are convenient and quick to operate.
Next to the above embodiment of the present application, the determining, in step S12, the target rule template corresponding to the rule to be added includes:
Calculating the similarity between the rule to be added and at least one similar rule template corresponding to the similar type resource respectively;
and determining the similarity rule template corresponding to the highest similarity as the target rule template corresponding to the rule to be added.
For example, in determining the target rule templates corresponding to the rule to be added, if the rule to be added belongs to the similar type resource a, first, one or more similar rule templates corresponding to the similar type resource a to which the rule to be added belongs are obtained, and in a preferred embodiment of the present application, if N similar rule templates corresponding to the similar type resource a to which the rule to be added belongs are respectively similar rule templates ModelA1, modelA, modelA, … …, modelA (N-1) and Modela (N); then calculating the similarity between the rule to be added and each of the similarity rule templates ModelA, modelA, modelA, … …, modelA (N-1) and ModelA (N); and finally, determining the similarity rule template corresponding to the N similarities which are obtained through calculation as the target rule template corresponding to the rule to be added, for example, if the similarity rule template corresponding to the N similarities which are the highest is ModelA (N-4), determining the similarity rule template which is ModelA (N-4) as the target rule template corresponding to the rule to be added, and determining the similarity rule template corresponding to the highest similarity as the target rule template to be called by the rule to be added, so that the subsequent rule item modification can be reduced as much as possible when the rule to be added is added based on the target rule template, and the rule adding efficiency is improved.
By the embodiment, one-key application interaction of the existing rule templates is provided, for example, if the content of the current rule to be added is similar or similar to the rule templates added before, only one or more modification points of the rule items exist, the rule templates of similar type resources corresponding to one-key application can be used, and therefore quick addition interaction is achieved; of course, the rule templates support a search function, support users to search target rule templates corresponding to the rules to be added aiming at keywords, and realize quick query and locking of the target rule templates.
Next, in the above embodiment of the present application, adding the basic information, the key information, and the sub-rule information corresponding to the rule to be added in the step S13 to complete the addition of the rule to be added corresponding to the new type of resource includes:
grouping at least three rule items in the rule to be added to obtain basic information, key information and sub-rule information corresponding to the rule to be added;
And respectively adding the basic information, the key information and the sub-rule information to finish the addition of the rule to be added corresponding to the new type of resource.
For example, when a new type of resource is added, at least three rule items in a rule to be added need to be analyzed and grouped to obtain basic information, key information and sub-rule information corresponding to the rule to be added, wherein the basic information of the rule to be added comprises but is not limited to rule names and/or rule introduction corresponding to the rule to be added, the key information of the rule to be added comprises but is not limited to one or more of priority, behavior, message state and protocol of the rule to be added, the sub-rule information corresponding to the rule to be added comprises but is not limited to a port and/or IP address of the rule to be added, so that optimization, classification and recombination of multiple rule items in the rule to be added are realized, the use experience of a user is improved, and the rule to be added is faster and more convenient; and then, when the rule to be added is added, the basic information, the key information and the sub-rule information corresponding to the rule to be added are respectively added to finish the addition of the rule to be added corresponding to the new type of resources, so that the grouping classification of a plurality of rule items in the rule which is tiled and displayed in the prior art is realized, the rule with uniform attribute is divided into the same group, for example, different groups such as the basic information, the key information and the sub-rule information, the problem that important and concerned rule content is perceived as low by a user due to excessive and complicated rule items in the rule is solved, and the simple operability of an interface for adding the rule is improved.
Next, in this embodiment, if the sub-rule information includes an existing sub-rule template, the adding the basic information, the key information, and the sub-rule information to complete the adding of the rule to be added corresponding to the new type of resource includes:
respectively adding the basic information and the key information;
and calling the sub-rule template corresponding to the sub-rule information to finish adding the rule to be added corresponding to the new type of resource.
For example, when the sub-rule information corresponding to the rule to be added exists in the existing sub-rule templates, when the rule to be added is added, the basic information and the key information corresponding to the rule to be added are added first, then the sub-rule templates corresponding to the sub-rule information in the existing sub-rule information set are called, wherein the sub-rule information set comprises one or more templates corresponding to the added sub-rule information, namely, the operation of directly calling and adding the sub-rule templates corresponding to the sub-rule information in the existing sub-rule information set is carried out, so that the sub-rule templates can be multiplexed through the introduction of the existing sub-rule templates, the operation steps of a user are reduced, the efficiency of adding rules and the expansibility of the sub-rule information are improved, and the correction of verification change caused by the correction of the service system requirement is supported when the rule is added.
Next to the above embodiment of the present application, a rule adding method for an interface provided by an embodiment of one aspect of the present application further includes: and storing the rule to be added corresponding to the added new type resource as a new rule template. For example, after the addition of the rule to be added corresponding to the new type resource is completed, the rule which is successfully added at present needs to be stored as a new rule template, as shown in fig. 6, so that when the rule which needs to be added for the same type resource appears later, the rule template can be quickly applied by one key, or when the rule which needs to be added for the similar type resource appears, the rule template can be quickly applied by one key to be invoked and partially modified on the invoked rule template, the closed loop flow of forming the addition rule by applying the added rule by one key and storing the added rule as the rule template is realized, and the use efficiency of the addition rule is improved. That is, in this embodiment, after each rule corresponding to a new type of resource is added, the rule template may be selected and stored, so as to form a closed loop flow for adding the rule, so that the efficiency of subsequent rule addition is further improved.
Through all the embodiments of the application, the rapid addition of a large number of complex rules is realized, and through the specific attributes (such as basic information, key information and the like) and application scenes (such as sub-rule information and the like) of the rules, the application can group rules with similar functions and/or types, and meanwhile, the rules with excessive filling quantity and frequent use can be as follows: the IP address and the port support the operations of storing the template and importing the template, and are convenient for users to fill in rules; meanwhile, the rule which is successfully added currently is saved as a template, so that the user can conveniently apply one key when the rule is added to the same type of resource or call and modify the rule when the rule is added to the similar type of resource, the operation path of the user when the rule is added is shortened, and the use experience of the user is improved.
According to another aspect of the present application, there is also provided a non-volatile storage medium having stored thereon computer readable instructions which, when executed by a processor, cause the processor to implement a rule adding method as in the interface described above.
According to another aspect of the present application, there is also provided a rule adding apparatus of an interface, wherein the apparatus includes:
One or more processors;
a computer readable medium for storing one or more computer readable instructions,
The one or more computer-readable instructions, when executed by the one or more processors, cause the one or more processors to implement a rule addition method as the interface described above.
The details of each embodiment in the rule adding device of the interface can be specifically referred to the corresponding parts of the embodiments of the rule adding method of the interface, which are not described herein.
In summary, the method judges whether the rule to be added belongs to a new type resource or a similar type resource; if the rule to be added belongs to similar type resources, after a target rule template corresponding to the rule to be added is determined, calling the target rule template and modifying the content of one or more rule items in the target rule template so as to finish adding the rule to be added corresponding to the similar type resources; if the rule to be added belongs to the new type resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to finish adding the rule to be added corresponding to the new type resource; and finally, displaying the added rules to be added on an interface, so that visual display of a large number of rules is realized, and meanwhile, interaction of quick input and one-key template adding is provided, the use cost of a user is reduced, and the user operation is convenient and quick.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, e.g., using Application Specific Integrated Circuits (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application may be executed by a processor to perform the steps or functions described above. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
Furthermore, portions of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application by way of operation of the computer. Program instructions for invoking the inventive methods may be stored in fixed or removable recording media and/or transmitted via a data stream in a broadcast or other signal bearing medium and/or stored within a working memory of a computer device operating according to the program instructions. An embodiment according to the application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to operate a method and/or a solution according to the embodiments of the application as described above.
It will be evident to those skilled in the art that the application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Claims (9)
1. A rule adding method of an interface, wherein,
The method comprises the following steps:
Judging whether the rule to be added belongs to a new type resource or a similar type resource;
If the rule to be added belongs to similar type resources, after a target rule template corresponding to the rule to be added is determined, calling the target rule template and modifying the content of one or more rule items in the target rule template so as to finish adding the rule to be added corresponding to the similar type resources; wherein the determining a target rule template corresponding to the rule to be added includes: calculating the similarity between the rule to be added and at least one similar rule template corresponding to the similar rule template resource respectively, and determining the similar rule template corresponding to the highest similarity as the target rule template corresponding to the rule to be added;
If the rule to be added belongs to the new type resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to finish adding the rule to be added corresponding to the new type resource;
and displaying the rule to be added which is added in the interface.
2. The method of claim 1, wherein,
The adding of the basic information, the key information and the sub-rule information corresponding to the to-be-added rule to complete the adding of the to-be-added rule corresponding to the new type of resource comprises the following steps:
grouping at least three rule items in the rule to be added to obtain basic information, key information and sub-rule information corresponding to the rule to be added;
And respectively adding the basic information, the key information and the sub-rule information to finish the addition of the rule to be added corresponding to the new type of resource.
3. The method of claim 2, wherein,
If the sub-rule information has the existing sub-rule template, the adding the basic information, the key information and the sub-rule information respectively to complete the adding of the rule to be added corresponding to the new type of resource includes:
respectively adding the basic information and the key information;
and calling the sub-rule template corresponding to the sub-rule information to finish adding the rule to be added corresponding to the new type of resource.
4. A method according to any one of claim 1 to 3, wherein,
The method further comprises the steps of:
and storing the rule to be added corresponding to the added new type resource as a new rule template.
5. A method according to any one of claim 1 to 3, wherein,
The basic information corresponding to the rule to be added comprises a rule name and/or a rule brief corresponding to the rule to be added.
6. A method according to any one of claim 1 to 3, wherein,
The key information corresponding to the rule to be added comprises one or more of priority, behavior, message state and protocol of the rule to be added.
7. A method according to any one of claim 1 to 3, wherein,
The sub-rule information corresponding to the rule to be added comprises a port and/or an IP address of the rule to be added.
8. A non-volatile storage medium having stored thereon computer readable instructions which, when executed by a processor, cause the processor to implement the method of any of claims 1 to 7.
9. A rule adding device of an interface, wherein,
The apparatus includes:
One or more processors;
a computer readable medium for storing one or more computer readable instructions,
When executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110997497.9A CN113656139B (en) | 2021-08-27 | 2021-08-27 | Interface rule adding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110997497.9A CN113656139B (en) | 2021-08-27 | 2021-08-27 | Interface rule adding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113656139A CN113656139A (en) | 2021-11-16 |
CN113656139B true CN113656139B (en) | 2024-06-04 |
Family
ID=78482257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110997497.9A Active CN113656139B (en) | 2021-08-27 | 2021-08-27 | Interface rule adding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113656139B (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571403A (en) * | 2010-12-31 | 2012-07-11 | 北京亿阳信通软件研究院有限公司 | Realization method and device for general data quality control adapter |
CN103793223A (en) * | 2013-12-27 | 2014-05-14 | 远光软件股份有限公司 | Rule creating method and system |
CN104020997A (en) * | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | Extensible graphical rule application system |
CN107273548A (en) * | 2017-07-20 | 2017-10-20 | 阿里巴巴集团控股有限公司 | The implementation method and device of dynamic page |
CN107832446A (en) * | 2017-11-22 | 2018-03-23 | 联动优势科技有限公司 | A kind of searching method and computing device of configuration item information |
CN107886295A (en) * | 2017-10-23 | 2018-04-06 | 东软集团股份有限公司 | Flow template changing process method, device, readable storage medium storing program for executing and electronic equipment |
CN108399164A (en) * | 2018-03-27 | 2018-08-14 | 国网黑龙江省电力有限公司电力科学研究院 | Electronic government documents classification hierarchy system based on template |
CN108769028A (en) * | 2018-05-31 | 2018-11-06 | 阿里巴巴集团控股有限公司 | Assemble the method and device of message |
CN109445842A (en) * | 2018-09-26 | 2019-03-08 | 中国平安人寿保险股份有限公司 | Rule generating method, device, computer equipment and storage medium |
CN109977120A (en) * | 2019-03-25 | 2019-07-05 | 北京三快在线科技有限公司 | Resource information methods of exhibiting, device and storage medium |
CN110781323A (en) * | 2019-10-25 | 2020-02-11 | 北京达佳互联信息技术有限公司 | Method and device for determining label of multimedia resource, electronic equipment and storage medium |
CN111355681A (en) * | 2018-12-04 | 2020-06-30 | 中兴通讯股份有限公司 | Address book-based authentication method, terminal device, server and storage medium |
CN111782262A (en) * | 2020-06-30 | 2020-10-16 | 平安国际智慧城市科技股份有限公司 | Data dynamic publishing method, device, system, equipment and storage medium |
CN111880837A (en) * | 2020-07-21 | 2020-11-03 | 上海伯俊软件科技有限公司 | Business process engine system supporting dynamic expansion and visual configuration |
CN112148263A (en) * | 2020-09-28 | 2020-12-29 | 建信金融科技有限责任公司 | Front-end standard frame and generation method, device, equipment and storage medium thereof |
CN112651619A (en) * | 2020-12-22 | 2021-04-13 | 上海哔哩哔哩科技有限公司 | Business-oriented wind control method and device |
CN113010573A (en) * | 2021-03-19 | 2021-06-22 | 支付宝(杭州)信息技术有限公司 | Incidence relation extraction method and device and electronic equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8788931B1 (en) * | 2000-11-28 | 2014-07-22 | International Business Machines Corporation | Creating mapping rules from meta data for data transformation utilizing visual editing |
US7483869B2 (en) * | 2004-04-14 | 2009-01-27 | Sap Aktiengesellschaft | Rule templates |
-
2021
- 2021-08-27 CN CN202110997497.9A patent/CN113656139B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571403A (en) * | 2010-12-31 | 2012-07-11 | 北京亿阳信通软件研究院有限公司 | Realization method and device for general data quality control adapter |
CN103793223A (en) * | 2013-12-27 | 2014-05-14 | 远光软件股份有限公司 | Rule creating method and system |
CN104020997A (en) * | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | Extensible graphical rule application system |
CN107273548A (en) * | 2017-07-20 | 2017-10-20 | 阿里巴巴集团控股有限公司 | The implementation method and device of dynamic page |
CN107886295A (en) * | 2017-10-23 | 2018-04-06 | 东软集团股份有限公司 | Flow template changing process method, device, readable storage medium storing program for executing and electronic equipment |
CN107832446A (en) * | 2017-11-22 | 2018-03-23 | 联动优势科技有限公司 | A kind of searching method and computing device of configuration item information |
CN108399164A (en) * | 2018-03-27 | 2018-08-14 | 国网黑龙江省电力有限公司电力科学研究院 | Electronic government documents classification hierarchy system based on template |
CN108769028A (en) * | 2018-05-31 | 2018-11-06 | 阿里巴巴集团控股有限公司 | Assemble the method and device of message |
CN109445842A (en) * | 2018-09-26 | 2019-03-08 | 中国平安人寿保险股份有限公司 | Rule generating method, device, computer equipment and storage medium |
CN111355681A (en) * | 2018-12-04 | 2020-06-30 | 中兴通讯股份有限公司 | Address book-based authentication method, terminal device, server and storage medium |
CN109977120A (en) * | 2019-03-25 | 2019-07-05 | 北京三快在线科技有限公司 | Resource information methods of exhibiting, device and storage medium |
CN110781323A (en) * | 2019-10-25 | 2020-02-11 | 北京达佳互联信息技术有限公司 | Method and device for determining label of multimedia resource, electronic equipment and storage medium |
CN111782262A (en) * | 2020-06-30 | 2020-10-16 | 平安国际智慧城市科技股份有限公司 | Data dynamic publishing method, device, system, equipment and storage medium |
CN111880837A (en) * | 2020-07-21 | 2020-11-03 | 上海伯俊软件科技有限公司 | Business process engine system supporting dynamic expansion and visual configuration |
CN112148263A (en) * | 2020-09-28 | 2020-12-29 | 建信金融科技有限责任公司 | Front-end standard frame and generation method, device, equipment and storage medium thereof |
CN112651619A (en) * | 2020-12-22 | 2021-04-13 | 上海哔哩哔哩科技有限公司 | Business-oriented wind control method and device |
CN113010573A (en) * | 2021-03-19 | 2021-06-22 | 支付宝(杭州)信息技术有限公司 | Incidence relation extraction method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113656139A (en) | 2021-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107122296B (en) | Method and apparatus for data assertion for test interface | |
KR102099544B1 (en) | Method and device for processing distribution of streaming data | |
CN110162512B (en) | Log retrieval method, device and storage medium | |
US9800689B2 (en) | Distributed application integration auto-adjustment | |
CN107092535B (en) | Method and apparatus for data storage of test interface | |
CN106547646B (en) | Data backup and recovery method and data backup and recovery device | |
CN115729951B (en) | Data query method, system, device and computer readable storage medium | |
CN114816377A (en) | Script obtaining method and device | |
CN106886545A (en) | The caching method and device of page display method, page resource | |
CN112861182A (en) | Database query method and system, computer equipment and storage medium | |
CN110609686A (en) | Data system generation method and device, computer equipment and storage medium | |
CN115391356A (en) | Data processing method, device, equipment, medium and computer program product | |
CN113868698A (en) | File desensitization method and equipment | |
US20200294057A1 (en) | Business processing method, apparatus, and equipment | |
CN113254819A (en) | Page rendering method, system, equipment and storage medium | |
CN113656139B (en) | Interface rule adding method and device | |
CN117492670A (en) | Log printing sequence determining method and device and electronic equipment | |
CN112491943A (en) | Data request method, device, storage medium and electronic equipment | |
CN115730012A (en) | Database desensitization method and system | |
US11860889B2 (en) | Cascading data impact visualization tool | |
CN113449042B (en) | Automatic data warehouse separation method and device | |
CN112434233B (en) | Method and device for accelerating first screen rendering of secondary page | |
CN110532248B (en) | CMDB-based server application information acquisition and adjustment method | |
CN114281461A (en) | Management method, equipment and medium for configurable data source attributes | |
CN112632211A (en) | Semantic information processing method and equipment for mobile robot |
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 |