CN113656139A - Interface rule adding method and equipment - Google Patents

Interface rule adding method and equipment Download PDF

Info

Publication number
CN113656139A
CN113656139A CN202110997497.9A CN202110997497A CN113656139A CN 113656139 A CN113656139 A CN 113656139A CN 202110997497 A CN202110997497 A CN 202110997497A CN 113656139 A CN113656139 A CN 113656139A
Authority
CN
China
Prior art keywords
rule
added
information
template
resource
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
CN202110997497.9A
Other languages
Chinese (zh)
Other versions
CN113656139B (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.)
Shanghai Yunzhou Information Technology Co ltd
Original Assignee
Shanghai Yunzhou Information Technology 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 Shanghai Yunzhou Information Technology Co ltd filed Critical Shanghai Yunzhou Information Technology Co ltd
Priority to CN202110997497.9A priority Critical patent/CN113656139B/en
Publication of CN113656139A publication Critical patent/CN113656139A/en
Application granted granted Critical
Publication of CN113656139B publication Critical patent/CN113656139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

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 method and equipment for adding interface rules, and judges whether the rules to be added belong to new type resources or similar type resources; if the rules to be added belong to similar type resources, after a target rule template corresponding to the rules to be added is determined, the target rule template is called and the content of one or more rule items in the target rule template is modified so as to complete the addition of the rules to be added corresponding to the similar type resources; if the rule to be added belongs to the new type of resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to complete the addition of the rule to be added corresponding to the new type of resource; and finally, displaying the rule to be added on the interface, realizing the visual display of the large-batch rules, providing the interaction of quick input and template adding by one key, reducing the use cost of the user and enabling the user to operate conveniently and quickly.

Description

Interface rule adding method and equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for rule addition in an interface.
Background
The existing rule adding interfaces basically adopt a tiled display mode, each rule item is displayed in a tiled mode, and when one item is added, one item is added in the interface tiled mode, so that no obvious difference exists; if a multi-level relation exists, a common processing mode adds a new group on an interface, increases module division dimensionality, and gives a larger group perception to a user on the interface, so as to achieve the purpose of classifying according to a certain rule, but the rule adding mode has great trouble for the user in use, the user adds a new rule aiming at a target resource, and the new rule needs to be filled according to rule items on the interface one by one, so that the operation flow is long, and the problems of information and confusion inattention existing in the use process of the user can be caused; with more and more rule entries and more sorting and induction classifications, the method can also cause that the user can hardly position the needed rule entries in the homogeneous information, the use cost of the user is increased, and even a plurality of important rules can not be visually displayed. Secondly, when the user is rapidly deployed on the same type of resources, the operation is still required to be performed in a new rule adding mode, and the repetitive operation is high.
Disclosure of Invention
An object of the present application is to provide a method and an apparatus for adding interface rules, which not only achieve visual display of large quantities of rules, but also provide interaction of fast input and template adding by one key, reduce the use cost of users, and make the user operation convenient and fast.
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 rules to be added belong to similar type resources, after a target rule template corresponding to the rules to be added is determined, the target rule template is called and the content of one or more rule items in the target rule template is modified so as to complete the addition of the rules to be added corresponding to the similar type resources;
if the rule to be added belongs to the new type of resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to complete the addition of the rule to be added corresponding to the new type of resource;
and displaying the rule to be added after the addition is completed on an 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;
and determining the similar rule template corresponding to the highest similarity as the target rule template corresponding to the rule to be added.
Further, in the above method, the adding of the basic information, the key information, and the sub-rule information corresponding to the rule to be added to complete the adding 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 has 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:
adding the basic information and the key information respectively;
and calling the sub-rule template corresponding to the sub-rule information to complete the addition of 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 of 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 items of a priority, a behavior, a message state, and a 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 computer readable instructions stored thereon, which, when executed by a processor, cause the processor to implement the rule adding method of the interface as described above.
According to another aspect of the present application, there is also provided a rule adding device for an interface, wherein the device 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 a rule addition method as described above for the interface.
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 resource or the similar type resource is judged; if the rules to be added belong to similar type resources, after a target rule template corresponding to the rules to be added is determined, the target rule template is called and the content of one or more rule items in the target rule template is modified so as to complete the addition of the rules to be added corresponding to the similar type resources; if the rule to be added belongs to the new type of resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to complete the addition of the rule to be added corresponding to the new type of resource; and finally, displaying the rule to be added on the interface, realizing the visual display of the large-batch rules, providing the interaction of quick input and template adding by one key, reducing the use cost of the user and enabling the user to operate conveniently and quickly.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a flow diagram of a method for rule addition for an interface in accordance with an aspect of the subject application;
FIG. 2 is a schematic diagram illustrating a plurality of rule item grouping results in a rule addition method of an interface according to an aspect of the subject application;
FIG. 3 illustrates a flow diagram of a method for rule addition for an interface in a practical application scenario, according to an aspect of the present application;
FIG. 4 illustrates a diagram of key information in a rule addition method of an interface in a default state, according to an aspect of the subject application;
FIG. 5 is a schematic diagram illustrating key information in a rule adding method for an interface in a hover state according to an aspect of the subject application;
FIG. 6 illustrates an interface diagram of adding a new rule template in a rule adding method of an interface according to an aspect of the subject application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
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 computer storage media 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, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As shown in fig. 1, one aspect of the present application provides a flow chart diagram of a rule adding method for an interface. The method comprises a step S11, a step S12, a step S13 and a step 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, the target rule template is called and the content of one or more rule items in the target rule template is modified so as to complete the addition of the rule to be added corresponding to similar type resources;
step S13, if the rule to be added belongs to the new type of resource, adding the basic information, the key information and the sub-rule information corresponding to the rule to be added so as to complete the addition of the rule to be added corresponding to the new type of resource;
and step S14, displaying the rule to be added after the addition is completed on an interface.
Through the steps S11 to S14, the visual display of large batch of rules is realized, and meanwhile, the interaction of quick input and template adding through one key is provided, so that the use cost of a user is reduced, and the user operation is convenient and quick.
Here, the rules to be added need to be analyzed and disassembled so as to help the user understand the components of the current rules to be added, corresponding viewing or editing operations can be performed quickly, multiple rule items tiled in the prior art are divided into the following 3 parts, as shown in fig. 2, the rules to be added can be divided into basic information, key information and sub-rule information. The basic information corresponding to the to-be-added rule is a basic introduction performed on the current to-be-added rule, and helps a user to quickly know the current rule application module, for example, the basic information corresponding to the to-be-added rule includes but is not limited to a rule name and/or a rule profile and the like corresponding to the to-be-added rule; 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 for restricting 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 items 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 the rule information with higher repeatability or higher utilization rate in the actual operation and maintenance scene when a user fills in the rule, wherein the sub-rule information corresponding to the rule to be added includes but is not limited to a port and/or an 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 the user is promoted, and the rule addition is quicker and more convenient.
In this embodiment, as shown in fig. 3, in an operation flow diagram of an interface rule adding method provided in an aspect of the present application, when a rule needs to be added, it is first determined whether the 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, when the rule to be added belongs to an existing similar type resource, a corresponding rule template may be directly invoked, a target rule template corresponding to the rule to be added needs to be determined first, and then the target rule template corresponding to the rule to be added is invoked, that is, the rule corresponding to the similar type resource is used as a template, because rule items in the rule corresponding to the similar type resource are substantially the same, only the invoked target rule template corresponding to the rule to be added needs to be modified, and a specific operation flow is shown in fig. 3, adding rules, a rule template area, searching a target template, applying the template by one key, and modifying part of rules, namely adding the rules to be added corresponding to the resources with similar types; of course, the rule template may also be determined according to the key attribute provided by the target rule template, such as displaying the tiled result of the key information in the default state shown in fig. 4, and displaying the complete viewing result of the key information in the template region supported in the hover state shown in fig. 5. If the rule to be added of the new type of resource is aimed at, basic information, key information and sub-rule information corresponding to the rule to be added are required to be added so as to complete the addition of the rule to be added corresponding to the new type of resource; and finally, displaying the rule for completing the addition on the interface. By the method and the device, the problems that due to the fact that the number of parameter items is too large and the content is complex when the rule is added, a user cannot directly perceive key rule information and auxiliary rule information on an interface when the user uses the method and the device, readability is low, the key rule information is prone to being mistaken, filling cost of the user is high, use efficiency of the user is reduced, and the like are solved, so that when the rule to be added is added and used, basic information, key information, sub-rule information (or other auxiliary rule information and the like) and the like can be directly perceived, and readability of the interface where the rule is added is improved; meanwhile, the problems that when a user adds the rules, the user repeatedly fills the similar rules aiming at similar type resources, so that the user repeatedly works and the use rate is low are solved, the visual display of large-batch rules is realized, the interaction of quick input and template adding through one key is provided, the use cost of the user is reduced, and the user operation is convenient and quick.
Following the above embodiment of the present application, the determining the target rule template corresponding to the rule to be added in step S12 includes:
calculating the similarity between the rule to be added and at least one similar rule template corresponding to the similar type resource;
and determining the similar rule template corresponding to the highest similarity as the target rule template corresponding to the rule to be added.
For example, in the process of determining the target rule template corresponding to the rule to be added, if the addition rule belongs to the similar type resource a, first obtaining one or more similar rule templates corresponding to the similar type resource a to which the rule to be added belongs, in a preferred embodiment of the present application, if the number of the similar rule templates corresponding to the similar type resource a to which the rule to be added belongs is N, the similar rule templates are respectively a similar rule template model a1, a similar rule template model a2, similar rule templates model a3, … …, a similar rule template model a (N-1), and a similar rule template model a (N); then calculating the similarity between the rule to be added and each similar rule template in the similar rule template ModlA 1, the similar rule template ModlA 2, the similar rule templates ModlA 3 and … …, the similar rule template ModlA (N-1) and the similar rule template ModlA (N); and finally, determining the similarity rule template corresponding to the highest similarity among the N similarities as the target rule template corresponding to the rule to be added, for example, if the similarity rule template corresponding to the highest similarity among the N similarities is Model A (N-4), determining the similarity rule template as Model A (N-4) as the target rule template corresponding to the rule to be added, so that the similarity rule template corresponding to the highest similarity is determined as the target rule template to be called by the rule to be added, the rule items can be modified as little as possible when the rule to be added is added based on the target rule template, and the rule adding efficiency is improved.
Through the embodiment, one-key application interaction on the existing rule template is provided, for example, if the content of the current rule to be added is similar or similar to the rule template added before, only one or a few modification points of the rule item exist, and the rule template of the corresponding similar type resource can be applied by one key, so that the rapid addition interaction is realized; certainly, the rule template supports a search function, supports a user to search the target rule template corresponding to the rule to be added aiming at the keyword, and realizes quick query and locking of the target rule template.
Next to the above embodiment of the present application, the adding, in the step S13, the basic information, the key information, and the sub-rule information corresponding to the rule to be added to complete the adding 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 the rule to be added need to be analyzed and grouped and classified to obtain the basic information, the key information and the sub-rule information corresponding to the rule to be added, wherein, the basic information of the rule to be added includes but is not limited to the rule name and/or the rule profile corresponding to the rule to be added, the key information of the rule to be added includes but is not limited to one or more items of priority, behavior, message status 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 an 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 promoted, and the rule is added more quickly and conveniently; 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 complete the addition of the rule to be added corresponding to the new type of resource, so that the grouping and classification of a plurality of rule items in the rule which is displayed in a tiled mode in the prior art are realized, the rule with uniform attributes 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 the perception of the content of the important rule which needs to be concerned by a user is low due to the fact that the rule items in the rule are too many and cumbersome is solved, and the simple operability of an interface for adding the rule is improved.
Then, in this embodiment, if the sub-rule information has 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:
adding the basic information and the key information respectively;
and calling the sub-rule template corresponding to the sub-rule information to complete the addition of 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 has an existing sub-rule template in the added rule template, when the rule to be added is added, the basic information and the key information corresponding to the rule to be added are added respectively, and then the sub-rule template corresponding to the sub-rule information in the existing sub-rule information set is called, wherein the sub-rule information set comprises one or more templates corresponding to the added sub-rule information, that is, the sub-rule template corresponding to the sub-rule information in the existing sub-rule information set is directly called and added, so that by importing the existing sub-rule template, the sub-rule template can be reused, the operation steps of the user are reduced, the filling efficiency is improved, and the extensibility of adding the rule and the rule base is also improved, when the rules are added, the requirement modification according to the verification change caused by the requirement modification of the business system is supported.
Following the foregoing embodiment of the present application, an embodiment of an aspect of the present application provides a method for adding a rule to an interface, further including: and storing the rule to be added corresponding to the added new type of resource as a new rule template. For example, after the addition of the rule to be added corresponding to the new type of resource is completed, the rule that is successfully added currently needs to be stored as a new rule template, as shown in fig. 6, so that when the rule needs to be added for the same type of resource in the subsequent process, the rule template can be directly used by applying one key quickly, or when the rule needs to be added for the similar type of resource, the rule template can be called and partially modified on the called rule template by applying one key quickly, a closed-loop flow for forming the addition rule by applying the added rule by one key and storing 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 may be selected and stored as a rule template to form a closed-loop flow for adding the rule, so that subsequent one-key application, call modification, and the like are facilitated, and the efficiency of subsequent rule addition is further improved.
Through all the above embodiments of the present application, rapid addition of large-batch complex rules is realized, and through specific attributes (such as basic information, key information, and the like) and application scenarios (such as sub-rule information, and the like) of the rules themselves, the present application can group rules with similar actions and/or types, and meanwhile, for rules which are too many in filling quantity and are often used, the rules are as follows: the IP address and the port support the operation of storing the template and leading in the template, and are convenient for a user to fill in the rule for use; meanwhile, the rule which is successfully added at present is saved as the template, so that the user can conveniently call and modify the rule by one key when adding the rule aiming at the same type of resource or when adding the rule aiming at the similar type of resource, the operation path of the user in adding the rule 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 computer readable instructions stored thereon, which, when executed by a processor, cause the processor to implement the rule adding method of the interface as described above.
According to another aspect of the present application, there is also provided a rule adding device for an interface, wherein the device 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 a rule addition method as described above for the interface.
Here, the details of each embodiment in the interface rule adding device may specifically refer to the corresponding part of the embodiment of the interface rule adding method, and are not described herein again.
In summary, the present application judges whether the rule to be added belongs to a new type resource or a similar type resource; if the rules to be added belong to similar type resources, after a target rule template corresponding to the rules to be added is determined, the target rule template is called and the content of one or more rule items in the target rule template is modified so as to complete the addition of the rules to be added corresponding to the similar type resources; if the rule to be added belongs to the new type of resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to complete the addition of the rule to be added corresponding to the new type of resource; and finally, displaying the rule to be added on the interface, realizing the visual display of the large-batch rules, providing the interaction of quick input and template adding by one key, reducing the use cost of the user and enabling the user to operate conveniently and quickly.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the 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.
In addition, some 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 through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present 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 perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present 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 attributes 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 obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (10)

1. A method for rule addition of an interface, wherein the method comprises:
judging whether the rule to be added belongs to a new type resource or a similar type resource;
if the rules to be added belong to similar type resources, after a target rule template corresponding to the rules to be added is determined, the target rule template is called and the content of one or more rule items in the target rule template is modified so as to complete the addition of the rules to be added corresponding to the similar type resources;
if the rule to be added belongs to the new type of resource, adding basic information, key information and sub-rule information corresponding to the rule to be added so as to complete the addition of the rule to be added corresponding to the new type of resource;
and displaying the rule to be added after the addition is completed on an interface.
2. The method of claim 1, wherein the determining a target rule template corresponding to the to-be-added rule comprises:
calculating the similarity between the rule to be added and at least one similar rule template corresponding to the similar rule template resource;
and determining the similar rule template corresponding to the highest similarity as the target rule template corresponding to the rule to be added.
3. The method according to claim 1, wherein the adding of the basic information, the key information, and the sub-rule information corresponding to the rule to be added to complete the adding 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.
4. The method according to claim 3, wherein, if the sub-rule information has an 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:
adding the basic information and the key information respectively;
and calling the sub-rule template corresponding to the sub-rule information to complete the addition of the rule to be added corresponding to the new type of resource.
5. The method of any of claims 1-4, wherein the method further comprises:
and storing the rule to be added corresponding to the added new type of resource as a new rule template.
6. The method according to any one of claims 1 to 4, wherein the basic information corresponding to the rule to be added comprises a rule name and/or a rule profile corresponding to the rule to be added.
7. The method according to any one of claims 1 to 4, wherein the key information corresponding to the rule to be added comprises one or more of a priority, a behavior, a message state and a protocol of the rule to be added.
8. The method according to any one of claims 1 to 4, 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.
9. A non-transitory storage medium having stored thereon computer readable instructions which, when executed by a processor, cause the processor to implement the method of any one of claims 1 to 8.
10. An interface rule adding device, wherein the device comprises:
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 one of claims 1-8.
CN202110997497.9A 2021-08-27 2021-08-27 Interface rule adding method and device Active CN113656139B (en)

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 true CN113656139A (en) 2021-11-16
CN113656139B 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 (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050246303A1 (en) * 2004-04-14 2005-11-03 Kumar Janaki P Rule templates
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
US20140310320A1 (en) * 2000-11-28 2014-10-16 International Business Machines Corporation Creating mapping rules from meta data for data transformation utilizing visual editing
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

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140310320A1 (en) * 2000-11-28 2014-10-16 International Business Machines Corporation Creating mapping rules from meta data for data transformation utilizing visual editing
US20050246303A1 (en) * 2004-04-14 2005-11-03 Kumar Janaki P Rule templates
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
CN113656139B (en) 2024-06-04

Similar Documents

Publication Publication Date Title
CN107122296B (en) Method and apparatus for data assertion for test interface
CN110162512B (en) Log retrieval method, device and storage medium
WO2020185330A1 (en) Solution for implementing computing service based on structured query language statement
CN107092535B (en) Method and apparatus for data storage of test interface
CN110795756A (en) Data desensitization method and device, computer equipment and computer readable storage medium
CN112511580B (en) Message pushing method, device, storage medium and equipment
CN106547646B (en) Data backup and recovery method and data backup and recovery device
CN112861182A (en) Database query method and system, computer equipment and storage medium
CN114816377A (en) Script obtaining method and device
CN110609686A (en) Data system generation method and device, computer equipment and storage medium
CN113868698A (en) File desensitization method and equipment
CN112035555B (en) Information display method, device and equipment
CN110580212B (en) Data export method and device of application program, electronic equipment and storage medium
CN113656139A (en) Interface rule adding method and equipment
CN112491943A (en) Data request method, device, storage medium and electronic equipment
CN108241622B (en) Query script generation method and device
CN115730012A (en) Database desensitization method and system
CN113449042B (en) Automatic data warehouse separation method and device
US11868349B2 (en) Row secure table plan generation
CN115827589A (en) Authority verification method and device, electronic equipment and storage medium
CN112597185A (en) Big data query method and device
CN113254819A (en) Page rendering method, system, equipment and storage medium
CN113961272B (en) Personalized page display method and system
CN117130946B (en) Test scene generation method and device, electronic equipment and readable storage medium
US20210349902A1 (en) Database query processing

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