CN112329415A - Java web based access and participation processing method and system - Google Patents
Java web based access and participation processing method and system Download PDFInfo
- Publication number
- CN112329415A CN112329415A CN202011162260.0A CN202011162260A CN112329415A CN 112329415 A CN112329415 A CN 112329415A CN 202011162260 A CN202011162260 A CN 202011162260A CN 112329415 A CN112329415 A CN 112329415A
- Authority
- CN
- China
- Prior art keywords
- parameter
- list
- template
- copy
- result
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 238000012545 processing Methods 0.000 claims abstract description 23
- 238000006243 chemical reaction Methods 0.000 claims description 37
- 238000000354 decomposition reaction Methods 0.000 claims description 22
- 238000001914 filtration Methods 0.000 claims description 8
- 238000012795 verification Methods 0.000 claims description 8
- 241000208340 Araliaceae Species 0.000 claims description 7
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 7
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 7
- 235000008434 ginseng Nutrition 0.000 claims description 7
- 238000013507 mapping Methods 0.000 claims description 6
- 238000007726 management method Methods 0.000 claims description 5
- 241000196324 Embryophyta Species 0.000 claims description 2
- 238000012550 audit Methods 0.000 claims 1
- 230000001066 destructive effect Effects 0.000 claims 1
- 238000000034 method Methods 0.000 abstract description 6
- 230000008569 process Effects 0.000 abstract description 4
- 238000011160 research Methods 0.000 abstract description 4
- 238000012827 research and development Methods 0.000 abstract description 4
- 230000000694 effects Effects 0.000 abstract description 3
- 238000012423 maintenance Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 abstract description 2
- 230000006872 improvement Effects 0.000 abstract description 2
- 230000003252 repetitive effect Effects 0.000 abstract description 2
- 230000009191 jumping Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 235000006719 Cassia obtusifolia Nutrition 0.000 description 1
- 244000201986 Cassia tora Species 0.000 description 1
- 235000014552 Cassia tora Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Images
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
- G06F40/157—Transformation using dictionaries or tables
-
- 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/174—Form filling; Merging
Abstract
The invention provides a java web-based access control processing method and system, which adopt a series of java web technologies such as java language, mysql database, spring frame, json Path plug-in and the like to realize the functions of predefining, checking, decomposing, converting and merging network request parameters, restrict the parameters by defining an access control template in advance, and process requests uniformly when the system really accepts the requests. The invention can reduce the repetitive work of research personnel, avoid the problem of system maintenance difficulty improvement caused by different research and development coding styles through establishing standards, and simultaneously modify the characteristic of immediate effect to ensure that the timeliness of the system for processing requests is higher, thereby having wide application scenes.
Description
Technical Field
The invention relates to the technical field of interfaces, in particular to a java web-based access control processing method and system.
Background
In general, the entry and exit processing in the system scheme is that research personnel manually perform each type of request targeted operation, and each time one type of request processing is newly added, the research personnel needs to perform hard coding in codes to verify, decompose and convert the parameters, write many codes of the same type depending on space, and have large repeated workload; and if the parameters are adjusted, the codes are manually maintained in research and development, and are released after being adapted, so that the correct operation of the system can be ensured in production.
Disclosure of Invention
The invention provides a java web-based access control processing method and system, which are used for solving the problem that the system maintenance difficulty is improved due to the fact that the code styles are not uniform due to different styles of different operators in the existing access control processing, and solving the problem that production parameter adjustment can be used only by re-releasing the access control.
The invention is realized by the following technical scheme:
a java web-based access control processing method comprises the following steps:
A. creating a mysql database example, and creating a reference table, a reference table and a dictionary table;
B. logging in a system management platform of the service, configuring parameter template information, and storing the configured parameter template information into a database;
C. performing parameter operation on the real request according to the bound access parameter through a calling interface;
wherein, the step A specifically comprises the following substeps:
A1. obtaining a parameter group number associated with a system service interface to obtain a parameter template list;
A2. copying the access list to obtain an access copy;
A3. matching a copy join list to be processed through the join template and the join copy;
A4. carrying out parameter verification;
A5. performing dictionary conversion;
A6. carrying out conversion of common general ginseng;
A7. performing parameter decomposition;
A8. and D, combining the converted result obtained in the step A6 with the decomposed result obtained in the step A7 in a list manner, and outputting the result.
Further, the configuration parameter template information includes parameter names, parameter aliases, parameter types, parameter numbers, parameter operations, parameter regularization, parameter splitting rules, parameter ordering numbers, and dictionary association numbers.
Further, the step a4 specifically includes the following sub-steps "
A41. Comparing the type defined in the parameter entering template with the copy parameter entering list;
A42. checking whether the type comparison is passed; if the matching result does not pass, the flow is exited, and if the matching result passes, the step A43 is executed;
A43. matching the regular expression defined in the parameter entering template with the copy parameter entering list;
A44. checking whether the value matching is passed; if the matching result does not pass, the flow is exited, and if the matching result passes, the step A45 is executed;
A45. checking whether parameter checking is completely finished; step A41 is performed when the result is not complete, and step A5 is performed when the result is complete.
Further, the step a5 specifically includes the following sub-steps:
A51. filtering the participating templates to obtain a duplicate participating list needing dictionary conversion;
A52. obtaining dictionary data according to the dictionary group number in the parameter template;
A53. converting the copy input parameter values into matched dictionary data;
A54. checking whether the dictionary conversion is finished or not; step A52 is performed when the result is not complete, and step A6 is performed when the result is complete.
Further, the step a6 specifically includes the following sub-steps:
A61. acquiring a parameter-entering template list without a jsonPath expression configuration as a common parameter-entering template;
A62. according to the common parameter-entering template in the step 113, converting the copy parameter-entering list; the conversion result is a Parameter structure;
A63. checking whether all the ordinary ginseng conversion is completed; step A61 is performed when the result is not complete, and step A7 is performed when the result is complete.
Further, the step a7 specifically includes the following sub-steps:
A71. acquiring a parameter-entering template configured with a json Path expression according to the parameter-entering template, and filtering the parameter-entering of the copy to obtain a parameter-entering list of the copy to be processed;
A72. carrying out parameter decomposition on the duplicate entry list;
A73. constructing the decomposed new parameters into a Parameter structure;
A74. checking whether all decomposition is finished; step S72 is executed when the result is not completed, and step S8 is executed when the result is completed.
A java web-based access control processing system, comprising:
the database is used for storing an input parameter table, an output parameter table and a dictionary mapping table;
the parameter pre-defining module is used for configuring parameter template information through a system console;
and the parameter processing module is used for verifying, decomposing, converting and combining the parameters.
Furthermore, the system performs information interaction with a parameter pre-defining module through a spring-jdbc framework to perform increasing, deleting, modifying and checking operations on the table created by the database.
Furthermore, the system console is a console page carried by the system of the access participating processing factory and is accessed through a specific address.
Further, the parameter processing module further includes:
the parameter checking module is used for comparing the type defined in the parameter entering template with the copy parameter entering list;
the dictionary conversion module is used for performing dictionary conversion on the copy input parameter values;
the common access parameter conversion module is used for converting the copy access parameter list through a common access parameter template which is not configured with a json Path expression;
the parameter decomposition module is used for carrying out parameter decomposition on the copy parameter entry list;
and the Parameter merging module is used for merging the Parameter structures of the common Parameter input conversion module and the Parameter decomposition module into a list to be output as a result.
The invention has the beneficial effects that:
(1) the invention can reduce the repetitive work of research personnel;
(2) the problem of difficulty improvement of system maintenance caused by inconsistency of different research and development coding styles is solved by formulating a standard;
(3) the characteristic of modification and effect is enabled to enable the timeliness of the system for processing the request to be higher, and the system has wide application scenes;
(4) the problem that the production parameter adjustment can be used only by re-releasing the production parameter on line is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a block flow diagram of the method of the present invention;
FIG. 2 is a block diagram of the system architecture of the present invention;
fig. 3 is a block diagram of the overall flow of parameter handling according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Example 1
As shown in fig. 1, a java web-based access control processing method includes the following steps:
A. creating a mysql database example, and creating a reference table, a reference table and a dictionary table;
B. logging in a system management platform of the service, configuring parameter template information, and storing the configured parameter template information into a database;
C. performing parameter operation on the real request according to the bound access parameter through a calling interface;
wherein, the step A specifically comprises the following substeps:
A1. obtaining a parameter group number associated with a system service interface to obtain a parameter template list;
A2. copying the access list to obtain an access copy;
A3. matching a copy join list to be processed through the join template and the join copy;
A4. carrying out parameter verification;
A5. performing dictionary conversion;
A6. carrying out conversion of common general ginseng;
A7. performing parameter decomposition;
A8. and D, combining the converted result obtained in the step A6 with the decomposed result obtained in the step A7 in a list manner, and outputting the result.
Further, the configuration parameter template information includes parameter names, parameter aliases, parameter types, parameter numbers, parameter operations, parameter regularization, parameter splitting rules, parameter ordering numbers, and dictionary association numbers.
Further, the step a4 specifically includes the following sub-steps "
A41. Comparing the type defined in the parameter entering template with the copy parameter entering list;
A42. checking whether the type comparison is passed; if the matching result does not pass, the flow is exited, and if the matching result passes, the step A43 is executed;
A43. matching the regular expression defined in the parameter entering template with the copy parameter entering list;
A44. checking whether the value matching is passed; if the matching result does not pass, the flow is exited, and if the matching result passes, the step A45 is executed;
A45. checking whether parameter checking is completely finished; step A41 is performed when the result is not complete, and step A5 is performed when the result is complete.
Further, the step a5 specifically includes the following sub-steps:
A51. filtering the participating templates to obtain a duplicate participating list needing dictionary conversion;
A52. obtaining dictionary data according to the dictionary group number in the parameter template;
A53. converting the copy input parameter values into matched dictionary data;
A54. checking whether the dictionary conversion is finished or not; step A52 is performed when the result is not complete, and step A6 is performed when the result is complete.
Further, the step a6 specifically includes the following sub-steps:
A61. acquiring a parameter-entering template list without a jsonPath expression configuration as a common parameter-entering template;
A62. according to the common parameter-entering template in the step 113, converting the copy parameter-entering list; the conversion result is a Parameter structure;
A63. checking whether all the ordinary ginseng conversion is completed; step A61 is performed when the result is not complete, and step A7 is performed when the result is complete.
Further, the step a7 specifically includes the following sub-steps:
A71. acquiring a parameter-entering template configured with a json Path expression according to the parameter-entering template, and filtering the parameter-entering of the copy to obtain a parameter-entering list of the copy to be processed;
A72. carrying out parameter decomposition on the duplicate entry list;
A73. constructing the decomposed new parameters into a Parameter structure;
A74. checking whether all decomposition is finished; step S72 is executed when the result is not completed, and step S8 is executed when the result is completed.
Example 2
As shown in fig. 2, this embodiment proposes a system of a java web-based access control processing method, including:
the database is used for storing an input parameter table, an output parameter table and a dictionary mapping table;
the parameter pre-defining module is used for configuring parameter template information through a system console;
and the parameter processing module is used for verifying, decomposing, converting and combining the parameters.
Furthermore, the system performs information interaction with a parameter pre-defining module through a spring-jdbc framework to perform increasing, deleting, modifying and checking operations on the table created by the database.
Furthermore, the system console is a console page carried by the system of the access participating processing factory and is accessed through a specific address.
Further, the parameter processing module further includes:
the parameter checking module is used for comparing the type defined in the parameter entering template with the copy parameter entering list;
the dictionary conversion module is used for performing dictionary conversion on the copy input parameter values;
the common access parameter conversion module is used for converting the copy access parameter list through a common access parameter template which is not configured with a json Path expression;
the parameter decomposition module is used for carrying out parameter decomposition on the copy parameter entry list;
and the Parameter merging module is used for merging the Parameter structures of the common Parameter input conversion module and the Parameter decomposition module into a list to be output as a result.
Example 3
The embodiment provides a java web-based access control processing factory system scheme, which comprises the following steps:
step 1: a mysql database instance is created and a join table, a join table and a dictionary table are created.
Step 2: and selecting a linux server, and deploying the service by using a tomcat application server.
And step 3: logging in a system management station of the service, compiling a reference template, and storing the data in the database in the step 1 by the system.
And 4, step 4: and calling the interface, and performing parameter operation on the real request according to the bound access parameter.
Further, the linux server selected in the step 2 has no version limitation, and the tomcat application server selects 8 based on the 8.x version and the jdk version.
Furthermore, because the scheme of the system only operates the parameters, the business logic still needs research and development personnel to carry out actual coding, and the step of manually operating the parameters can be omitted by matching the scheme.
Further, the 3 created access template is valid immediately after being saved, so that the parameter acceptance needs to be changed into a variable type data structure during service encoding, such as: map key-value pairs.
The working principle of the embodiment is as follows: parameters are constrained by defining access parameter templates in advance, and when the system really accepts the request, the request is processed uniformly.
Example 4
The embodiment provides a java web-based access control processing factory system scheme, which comprises the following steps:
step 1: establishing a table in a mysql database, inputting a parameter table, outputting the parameter table and a dictionary mapping table;
step 2: the system scheme adopts a spring-jdbc framework to connect to the mysql database, and can perform the operations of adding, deleting, modifying and checking the table created in the step 1;
and step 3: predefining parameters, namely configuring parameter template information on a system console, and storing information data in the table created in the step 1 in a step 2 mode;
and 4, step 4: based on the http protocol request system, the package request Parameter is of a Parameter structure, and the processing factory system can perform verification, decomposition, conversion and combination processing on the package request Parameter.
Further, the input parameter table of step 1 at least includes a list field as shown in table 1:
name of field | Means of |
id | Parameter numbering |
inputName | Parameter name |
inputNameAlias | Parameter aliasing |
inputType | Type of parameter |
inputOperator | Parameter operation |
inputRegex | Parameter regularization |
jsonPath | Parameter splitting rules |
inputOrder | Parameter ordering numbering |
dictionaryGroupId | Dictionary association number |
TABLE 1
Further, the output parameter table of step 1 at least includes a list field as shown in table 2:
name of field | Means of |
id | Parameter numbering |
outputName | Parameter name |
outputNameAlias | Parameter aliasing |
outputType | Type of parameter |
dictionaryGroupId | Dictionary association number |
outputOrder | Parameter ordering numbering |
TABLE 2
Further, the field mapping table of step 1 at least includes the fields as shown in table 3:
name of field | Means of |
id | Dictionary numbering |
dictionaryKey | Dictionary key |
dictionaryValue | Dictionary value |
dictionaryValueType | Dictionary value type |
TABLE 3
Furthermore, the system console in step 3 is a console page of the participating processing plant system, and can be accessed by a specific address.
Further, the Parameter structure of step 4 includes fields as shown in table 4:
name of field | Means of |
parameterName | Parameter name |
parameterType | Type of parameter |
parameterValue | Parameter value |
parameterOperator | Parameter operation |
TABLE 4
Further, the predefinition of the parameters in the step 3 comprises parameter names, parameter aliases, parameter types, parameter numbers, parameter operations, parameter regularization, parameter splitting rules, parameter sequencing numbers and dictionary association numbers; all parametric operations of said step 4 are performed based on a pre-definition of parameters.
Further, the 4-parameter verification comprises value verification and type verification, the decomposition of the parameters uses a json Path plug-in, the conversion of the parameters is divided into ordinary parameter conversion and enumerated parameter conversion, and the parameters are merged during the parameter-out operation.
The spring-jdbc framework is a set of frameworks which are commonly used in the industry and formed by fusing a java web technology spring framework and a database connection standard protocol jdbc, and can be used for connecting a database.
The Parameter structure is a self-defined structure, the constraint is defined by referring to the java bean, and field names, sets and get functions need to be defined.
The json Path plug-in is a set of framework for analyzing, extracting and decomposing json character strings according to a self-defined expression. The main effect is that partial target data can be obtained from a complex json character string according to an expression.
Example 5
Referring to fig. 3, the present embodiment provides an overall flow of a java web-based accessing and participating processing factory method, which is as follows:
1: deploying a mysql server, and creating a data table: inputting a parameter table, outputting the parameter table and mapping the dictionary;
2: locally (or any linux machine) starts the system by tomcat, and the default port number is 8080;
3: accessing localhost 8080 to enter a management platform homepage, and configuring a parameter template;
4: calling a system interface;
5: checking, decomposing, converting and combining the parameters;
106: and returning a calling result.
Further, the detailed flow of parameter processing in this embodiment is a core flow of the present invention, and includes the following steps:
101: acquiring a parameter group number associated with a system service interface to obtain a parameter template list;
102: copying the access list to obtain an access copy, wherein the reason for obtaining the copy is that other operations may be performed on the original access in the subsequent process;
103: matching a copy join list to be processed through the join template and the join copy;
104: comparing the type defined in the parameter entering template with the copy parameter entering list;
105: checking whether the type comparison is passed; if the matching is not passed, the process is exited;
106: 105, continuously matching the regular expression defined in the parameter entering template with the copy parameter entering list through matching;
107: checking whether the value matching is passed; if the matching is not passed, the process is exited;
108: step 107, if the matching is passed, checking whether the parameter verification is completed completely; jumping to step 104 if not finished;
109: filtering the participating templates to obtain a duplicate participating list needing dictionary conversion;
110: obtaining dictionary data according to the dictionary group number in the parameter template;
111: converting the copy input parameter values into matched dictionary data;
112: checking whether the dictionary conversion is finished or not; jumping to step 110 if not completed;
113: acquiring a parameter-entering template list without a jsonPath expression configuration as a common parameter-entering template;
114: according to the common Parameter-entering template in the step 113, converting the copy Parameter-entering list, and obtaining a Parameter structure as a constructed result;
115: checking whether all the ordinary ginseng conversion is completed; jumping to step 113 if not finished;
116: acquiring a parameter-entering template configured with a json Path expression according to the parameter-entering template, and filtering the parameter-entering of the copy to obtain a parameter-entering list of the copy to be processed;
117: carrying out parameter decomposition on the duplicate entry list;
118: constructing the decomposed new parameters into a Parameter structure;
119: checking whether all decomposition is finished; jumping to step 117 if not completed;
120: the Parameter structures of the 114 and 118 steps are merged into a list to be output as a result.
And finally obtaining a list of the Parameter structure, wherein the list can be used for performing all subsequent business operations, and the problem of unmatched types or values does not exist.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (10)
1. A java web-based access control processing method is characterized by comprising the following steps:
A. creating a mysql database example, and creating a reference table, a reference table and a dictionary table;
B. logging in a system management platform of the service, configuring parameter template information, and storing the configured parameter template information into a database;
C. performing parameter operation on the real request according to the bound access parameter through a calling interface;
wherein, the step A specifically comprises the following substeps:
A1. obtaining a parameter group number associated with a system service interface to obtain a parameter template list;
A2. copying the access list to obtain an access copy;
A3. matching a copy join list to be processed through the join template and the join copy;
A4. carrying out parameter verification;
A5. performing dictionary conversion;
A6. carrying out conversion of common general ginseng;
A7. performing parameter decomposition;
A8. and D, combining the converted result obtained in the step A6 with the decomposed result obtained in the step A7 in a list manner, and outputting the result.
2. The java web-based access control processing method as claimed in claim 1, wherein the configuration parameter template information includes parameter name, parameter alias, parameter type, parameter number, parameter operation, parameter regular, parameter splitting rule, parameter sorting number, and dictionary association number.
3. The java web-based attendance processing method as claimed in claim 1, wherein said step a4 specifically comprises the sub-step of "
A41. Comparing the type defined in the parameter entering template with the copy parameter entering list;
A42. checking whether the type comparison is passed; if the matching result does not pass, the flow is exited, and if the matching result passes, the step A43 is executed;
A43. matching the regular expression defined in the parameter entering template with the copy parameter entering list;
A44. checking whether the value matching is passed; if the matching result does not pass, the flow is exited, and if the matching result passes, the step A45 is executed;
A45. checking whether parameter checking is completely finished; step A41 is performed when the result is not complete, and step A5 is performed when the result is complete.
4. The java web-based access control processing method as claimed in claim 1, wherein the step a5 specifically comprises the following sub-steps:
A51. filtering the participating templates to obtain a duplicate participating list needing dictionary conversion;
A52. obtaining dictionary data according to the dictionary group number in the parameter template;
A53. converting the copy input parameter values into matched dictionary data;
A54. checking whether the dictionary conversion is finished or not; step A52 is performed when the result is not complete, and step A6 is performed when the result is complete.
5. The java web-based access control processing method as claimed in claim 1, wherein the step a6 specifically comprises the following sub-steps:
A61. acquiring a parameter-entering template list without a jsonPath expression configuration as a common parameter-entering template;
A62. according to the common parameter-entering template in the step 113, converting the copy parameter-entering list; the conversion result is a Parameter structure;
A63. checking whether all the ordinary ginseng conversion is completed; step A61 is performed when the result is not complete, and step A7 is performed when the result is complete.
6. The java web-based access control processing method as claimed in claim 1, wherein the step a7 specifically comprises the following sub-steps:
A71. acquiring a parameter-entering template configured with a json Path expression according to the parameter-entering template, and filtering the parameter-entering of the copy to obtain a parameter-entering list of the copy to be processed;
A72. carrying out parameter decomposition on the duplicate entry list;
A73. constructing the decomposed new parameters into a Parameter structure;
A74. checking whether all decomposition is finished; step S72 is executed when the result is not completed, and step S8 is executed when the result is completed.
7. A java web based access control system, comprising:
the database is used for storing an input parameter table, an output parameter table and a dictionary mapping table;
the parameter pre-defining module is used for configuring parameter template information through a system console;
and the parameter processing module is used for verifying, decomposing, converting and combining the parameters.
8. The java web-based attendance processing system as claimed in claim 7, wherein the system performs incremental and destructive audit operations on the tables created in the database by interacting with the parameter pre-defined module information through the spring-jdbc framework.
9. The java web based access control system as recited in claim 7, wherein the system console is accessible via a specific address for a console page of the access control plant system.
10. The java web-based access control processing system as recited in claim 7, wherein the parameter processing module further comprises:
the parameter checking module is used for comparing the type defined in the parameter entering template with the copy parameter entering list;
the dictionary conversion module is used for performing dictionary conversion on the copy input parameter values;
the common access parameter conversion module is used for converting the copy access parameter list through a common access parameter template which is not configured with a json Path expression;
the parameter decomposition module is used for carrying out parameter decomposition on the copy parameter entry list;
and the Parameter merging module is used for merging the Parameter structures of the common Parameter input conversion module and the Parameter decomposition module into a list to be output as a result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011162260.0A CN112329415A (en) | 2020-10-27 | 2020-10-27 | Java web based access and participation processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011162260.0A CN112329415A (en) | 2020-10-27 | 2020-10-27 | Java web based access and participation processing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112329415A true CN112329415A (en) | 2021-02-05 |
Family
ID=74312007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011162260.0A Pending CN112329415A (en) | 2020-10-27 | 2020-10-27 | Java web based access and participation processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112329415A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113138811A (en) * | 2021-04-23 | 2021-07-20 | 上海中通吉网络技术有限公司 | JsonPath-based unified service calling method |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008052389A1 (en) * | 2006-11-02 | 2008-05-08 | Zte Corporation | A method and system for realizing universal interfaces in the network management system |
US20080147675A1 (en) * | 2006-12-19 | 2008-06-19 | Jan Engehausen | Application server with automatic and autonomic application configuration validation |
WO2009065056A2 (en) * | 2007-11-15 | 2009-05-22 | Breach Security, Inc. | A method and apparatus for detection of information transmission abnormalities |
CN102801565A (en) * | 2012-08-24 | 2012-11-28 | 烽火通信科技股份有限公司 | Method for carrying out centralized management on service configuration in network management system |
CN106293688A (en) * | 2015-06-26 | 2017-01-04 | 阿里巴巴集团控股有限公司 | The processing method of a kind of web-page requests, device and system |
CN106878260A (en) * | 2016-12-14 | 2017-06-20 | 新华三技术有限公司 | Single sign-on realization method and device |
CN107766242A (en) * | 2017-10-09 | 2018-03-06 | 广州慧睿思通信息科技有限公司 | A kind of interface test method based on JMETER |
CN108021710A (en) * | 2017-12-28 | 2018-05-11 | 广东蜂助手网络技术股份有限公司 | A kind of dynamic socket conversion method, device, terminal device and storage medium |
CN108681448A (en) * | 2018-04-02 | 2018-10-19 | 武汉斗鱼网络科技有限公司 | Network request method, storage medium, electronic equipment and the system of IOS systems |
CN109165397A (en) * | 2018-06-29 | 2019-01-08 | 华南理工大学 | Automatic CAE analysis system and development approach based on UG and ANSA platform |
CN110389765A (en) * | 2019-07-24 | 2019-10-29 | 深圳市盟天科技有限公司 | A kind of parameter verification method and parameter verification system |
CN110471646A (en) * | 2019-08-08 | 2019-11-19 | 曹刚 | A method of complicated process logic is realized by human configuration |
CN110795709A (en) * | 2019-10-31 | 2020-02-14 | 北京达佳互联信息技术有限公司 | Method and device for performing business operation, electronic equipment and storage medium |
CN110825634A (en) * | 2019-11-04 | 2020-02-21 | 深圳前海微众银行股份有限公司 | Parameter quality checking method, device and equipment and computer readable storage medium |
-
2020
- 2020-10-27 CN CN202011162260.0A patent/CN112329415A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008052389A1 (en) * | 2006-11-02 | 2008-05-08 | Zte Corporation | A method and system for realizing universal interfaces in the network management system |
US20080147675A1 (en) * | 2006-12-19 | 2008-06-19 | Jan Engehausen | Application server with automatic and autonomic application configuration validation |
WO2009065056A2 (en) * | 2007-11-15 | 2009-05-22 | Breach Security, Inc. | A method and apparatus for detection of information transmission abnormalities |
CN102801565A (en) * | 2012-08-24 | 2012-11-28 | 烽火通信科技股份有限公司 | Method for carrying out centralized management on service configuration in network management system |
CN106293688A (en) * | 2015-06-26 | 2017-01-04 | 阿里巴巴集团控股有限公司 | The processing method of a kind of web-page requests, device and system |
CN106878260A (en) * | 2016-12-14 | 2017-06-20 | 新华三技术有限公司 | Single sign-on realization method and device |
CN107766242A (en) * | 2017-10-09 | 2018-03-06 | 广州慧睿思通信息科技有限公司 | A kind of interface test method based on JMETER |
CN108021710A (en) * | 2017-12-28 | 2018-05-11 | 广东蜂助手网络技术股份有限公司 | A kind of dynamic socket conversion method, device, terminal device and storage medium |
CN108681448A (en) * | 2018-04-02 | 2018-10-19 | 武汉斗鱼网络科技有限公司 | Network request method, storage medium, electronic equipment and the system of IOS systems |
CN109165397A (en) * | 2018-06-29 | 2019-01-08 | 华南理工大学 | Automatic CAE analysis system and development approach based on UG and ANSA platform |
CN110389765A (en) * | 2019-07-24 | 2019-10-29 | 深圳市盟天科技有限公司 | A kind of parameter verification method and parameter verification system |
CN110471646A (en) * | 2019-08-08 | 2019-11-19 | 曹刚 | A method of complicated process logic is realized by human configuration |
CN110795709A (en) * | 2019-10-31 | 2020-02-14 | 北京达佳互联信息技术有限公司 | Method and device for performing business operation, electronic equipment and storage medium |
CN110825634A (en) * | 2019-11-04 | 2020-02-21 | 深圳前海微众银行股份有限公司 | Parameter quality checking method, device and equipment and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
蜀山客E: "pytest+allure+jsonpath+requests+excel实现的接口自动化测试框架", pages 1 - 8, Retrieved from the Internet <URL:https://www.jianshu.com/p/d7ef08275609> * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113138811A (en) * | 2021-04-23 | 2021-07-20 | 上海中通吉网络技术有限公司 | JsonPath-based unified service calling method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104391934B (en) | Data verification method and device | |
US9037549B2 (en) | System and method for testing data at a data warehouse | |
CN108415826B (en) | Application testing method, terminal device and computer readable storage medium | |
CN104657274B (en) | software interface test method and device | |
CN111782517B (en) | Automatic file checking method | |
CN111897528B (en) | Low-code platform for enterprise online education | |
CN112506505A (en) | Method for producing program code by code template engine | |
CN112612813A (en) | Test data generation method and device | |
CN114372006A (en) | Method and system for automatically generating test case, computer equipment and storage medium | |
CN110442647B (en) | Data consistency synchronization method and device and computer readable storage medium | |
CN112329415A (en) | Java web based access and participation processing method and system | |
CN113377372A (en) | Business rule analysis method and device, computer equipment and storage medium | |
CN104765787B (en) | Salt file association relationship analysis method and system in software systems | |
CN110400101A (en) | Industry reports analysis system and method | |
CN108959574A (en) | A kind of test data analysis method and system | |
US20230044288A1 (en) | Computer implemented system and method of enrichment of data for digital product definition in a heterogenous environment | |
CN115048359A (en) | Universal data processing architecture design method for multi-type access data sources | |
CN115495362A (en) | Method, device, storage medium and computer equipment for generating test code | |
CN115309705A (en) | Data integration classification system and method for automatically identifying basic data elements of urban information model platform | |
CN114610803A (en) | Data processing method and device, electronic equipment and storage medium | |
TW202305613A (en) | Method for creating data warehouse, electronic device, and storage medium | |
CN113591448A (en) | Report generation method and device and storage medium | |
CN113505283A (en) | Test data screening method and system | |
CN113495831A (en) | Method, system, device and medium for generating test case based on keyword | |
CN113918211B (en) | Method, device and equipment for executing industrial equipment object data model |
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 |