Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Constraint configuration method and device and electronic equipment

A configuration method and a configuration device technology, applied in the computer field, can solve problems such as troublesome configuration process, high labor cost, and cumbersome configuration of constraint conditions, and achieve the effect of ensuring compliance and accuracy

Inactive Publication Date: 2019-06-21
WUXI CHINAC DATA TECH SERVICE
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiment of the present application is to provide a constraint configuration method, device and electronic equipment, which are used to solve the problem that the configuration of constraint conditions in related technologies is very cumbersome and requires the cooperation of the front-end page of the upper layer and the back-end service process to realize the constraints. The configuration of conditions, the configuration process is very troublesome, and the problem of high labor costs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Constraint configuration method and device and electronic equipment
  • Constraint configuration method and device and electronic equipment
  • Constraint configuration method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Please see figure 1 , figure 1 A schematic flowchart of a constraint configuration method provided in the embodiment of this application, including:

[0052] S101: Generate a bottom-level constraint item configuration file;

[0053] It should be understood that the underlying constraint item configuration file generated in the embodiment of the present application is a type of system configuration file, and is used to configure constraint conditions. In the embodiment of the present application, constraints are recorded in the bottom-level constraint configuration file, that is, at least one constraint and the constraints that should be satisfied are recorded in the bottom-level constraint configuration file. For example: in the underlying constraint item configuration file, it can be recorded that the number of control nodes is greater than or equal to 3, the number of network nodes is greater than or equal to 2, the number of computing nodes is greater than or equal...

Embodiment 2

[0076] On the basis of the first embodiment, this embodiment takes a more specific constraint generation and modification process as an example to further illustrate the application.

[0077] see figure 2 As shown, this embodiment includes the front-end page 01, which can map the constraint conditions on the page according to the constraint item information in the 03 file; the background process service 02 can read the constraint item conditions in the 03 file, format conversion and grammar correction After verification, it is transmitted to the front-end page 01. The underlying configuration file 03 allows editing, modification, and adjustment. By editing, modifying, and adjusting the underlying configuration file 03, the writing and modification of constraints can be completed.

[0078] For the underlying configuration file, you can use custom custom syntax to complete the relevant design, providing users with a simple syntax editing capability, so that they can complete t...

Embodiment 3

[0113] see Figure 4 as shown, Figure 4 It is a basic block diagram of a constraint configuration device provided by the embodiment of the present application. The constraint configuration device 4 includes: a file generation module 41 and a mapping processing module 42 . in:

[0114] A file generation module 41, configured to generate a configuration file for underlying constraint items; wherein,

[0115] The mapping processing module 42 is configured to map the underlying constraint item configuration file to the front-end page, so that the front-end page has a constraint function corresponding to the constraint conditions recorded in the layer constraint item configuration file.

[0116] It should be understood that the underlying constraint item configuration file generated in the embodiment of the present application is a type of system configuration file, and is used to configure constraint conditions. In the embodiment of the present application, constraints are rec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a constraint configuration method and device and electronic equipment, and the method comprises the steps: generating a bottom constraint item configuration file in which constraint conditions are recorded, and mapping the bottom constraint item configuration file to a front-end page, thereby enabling the front-end page to be associated with the bottom constraint item configuration file. Therefore, when the front-end page is managed and controlled, management and control can be carried out according to constraint conditions in the bottom-layer constraint item configuration file, that is, the front-end page has a constraint function corresponding to the bottom-layer constraint item configuration file. Through the implementation process, the constraint condition can be configured only by writing the constraint condition into the form of the bottom constraint item configuration file and mapping the bottom constraint item configuration file to the front-end page, the whole process is very simple, meanwhile, the investment of front-end personnel and rear-end personnel is not needed, and the labor cost is reduced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular, to a constraint configuration method, device and electronic equipment. Background technique [0002] At present, in large-scale deployment and delivery scenarios, from single-node service deployment to large-scale cluster deployment, from single business deployment scenarios to complex application scenarios, enterprises have increasingly urgent needs for cluster rapid deployment and configuration functions. Among the configuration functions, a particularly important function is to configure constraints. At present, the configuration of constraint conditions is very cumbersome. It is necessary to write the corresponding constraint code in the front-end page of the upper layer and match the corresponding back-end service process to realize the configuration of constraint conditions. The configuration process is very troublesome; It requires the joint input of front-end p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/71H04L29/08
Inventor 许广彬黄显宗张娟李晓明任冲冲谭瑞忠郝峻青
Owner WUXI CHINAC DATA TECH SERVICE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products