CN104317590A - Embedded configuration system and embedded review process configuration method - Google Patents
Embedded configuration system and embedded review process configuration method Download PDFInfo
- Publication number
- CN104317590A CN104317590A CN201410569420.1A CN201410569420A CN104317590A CN 104317590 A CN104317590 A CN 104317590A CN 201410569420 A CN201410569420 A CN 201410569420A CN 104317590 A CN104317590 A CN 104317590A
- Authority
- CN
- China
- Prior art keywords
- examination
- nodal information
- verification
- logic
- class
- 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
Links
Abstract
An embodiment of the invention discloses an embedded configuration system and an embedded review process configuration method. The system is based on mutually-independent code frameworks and review code information of review codes, wherein the review codes are logic codes in the review process, and the review code information includes at least one of data manipulation logic and process execution logic; the code frameworks are used for executing content of the review node information. The system comprises a Sq1statement injection module, a class injection module and a review process execution module, wherein the Sq1statement injection module is used for injecting Sq1 statements into the review node information, the class injection module is used for injecting classes into the review node information, the classes include the data manipulation logic, the process execution logic or other user-defined logics, and the review process execution module is used for executing the content in the review node information through the code frameworks. The added data manipulation logic and the review process execution logic are injected through the Sq1statement injection module and the class injection module, so that flexibility and expandability of review process configuration can be improved.
Description
Technical field
The present invention relates to field of computer technology, more particularly, relate to the method for embedded configuration-system and embedded configuration audit flow process.
Background technology
In e-commerce platform, need the affairs of examination & verification a lot.Along with the expansion of business, examination & verification affairs increase fast, and data and the logic of process become increasingly complex.And existing ecommerce examination & verification configuration project (configuration item object content comprises data manipulation logic and flow performing logic) is relative fixing, cannot tackle some newly-increased data manipulation logic and auditing flow actuating logics, dirigibility and extensibility are not high.
Summary of the invention
In view of this, the object of the embodiment of the present invention is the method providing embedded configuration-system and embedded configuration audit flow process, relative fixing to solve existing ecommerce examination & verification configuration project (configuration item object content comprises data manipulation logic and flow performing logic), dirigibility and extensibility are not high.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
According to the first aspect of the embodiment of the present invention, a kind of embedded configuration-system is provided, based on separate code skeleton and the examination & verification nodal information auditing node, described examination & verification node is the logic node in auditing flow, and described examination & verification nodal information comprises at least one in data manipulation logic and flow performing logic; Described code skeleton is for performing the content of described examination & verification nodal information, and described system comprises:
Sql statement injection module, for injecting sql statement in described examination & verification nodal information, described sql statement characterizes data manipulation logic;
Class injection module, for injecting class in described examination & verification nodal information, described class comprises data manipulation logic, other self-defined logics of flow performing logical OR;
Auditing flow execution module, for performing content in described examination & verification nodal information by described code skeleton.
In conjunction with first aspect, in the implementation that the first is possible, described Sql statement injection module comprises: parameter name input frame, for inputting the parameter name called in sql; Sql input by sentence frame, for inputting sql statement.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, described auditing flow execution module is also for returning execution result.
In conjunction with first aspect, in the implementation that the third is possible, also comprise: conventional configuration module, for configuration audit interstitial content, and, the conventional item in examination & verification nodal information content.
In conjunction with first aspect, in the 4th kind of possible implementation, described class is java class.
According to the second aspect of the embodiment of the present invention, provide a kind of method of embedded configuration audit flow process, it is characterized in that, based on above-mentioned system, described method comprises:
Use Sql statement injection module to inject sql statement in examination & verification nodal information, described sql statement characterizes data manipulation logic;
Use class injection module to inject class in examination & verification nodal information, described class comprises data manipulation logic, other self-defined logics of flow performing logical OR;
Auditing flow execution module is used to perform content in described examination & verification nodal information by described code skeleton.
In conjunction with second aspect, in the implementation that the first is possible, also comprise: return execution result.
In conjunction with second aspect, in the implementation that the second is possible, also comprise: configuration audit interstitial content, and, the conventional item in examination & verification nodal information content.
Visible, in embodiments of the present invention, data manipulation logic and the injection of auditing flow actuating logic will be increased newly by Sql statement injection module and class injection module, thus dirigibility and the extensibility of auditing flow configuration can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The embedded configuration-system structural representation that Fig. 1 provides for the embodiment of the present invention;
The examination & verification node schematic diagram that Fig. 2 provides for the embodiment of the present invention;
Another structural representation of embedded configuration-system that Fig. 3 provides for the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In e-commerce platform, need the affairs of examination & verification a lot.Along with the expansion of business, examination & verification affairs increase fast, and data and the logic of process become increasingly complex.And existing ecommerce examination & verification configuration project (configuration item object content comprises data manipulation logic and flow performing logic) is relative fixing, cannot tackle some newly-increased data manipulation logic and auditing flow actuating logics, dirigibility and extensibility are not high.Such as:
Common configuration project is relatively fixing, along with carrying out of business cannot tackle personalized configuration needs, if newly-increased configuration project, needs to change code;
Common configuration project, cannot other SQL statement of individual cultivation code level dynamically to the operation underaction of data storehouse field, performs complicated data manipulation logic;
Some examination & verification configuration projects can only provide limited operation logic combination configuration, if operation logic itself is complicated, improve the complicacy of configuration greatly.When operation expanding adds new operation logic, then need to revise original code, cause the latent instability of system.
For solving the problem, embodiments provide embedded configuration-system.
Said system is based on separate code skeleton and the examination & verification nodal information auditing node, and above-mentioned examination & verification node is the logic node in auditing flow, and above-mentioned examination & verification nodal information comprises at least one in data manipulation logic and flow performing logic; Above-mentioned code skeleton is for performing the content of above-mentioned examination & verification nodal information.
Data Data operation logic or flow performing logic specifically can comprise following content:
Different Action Selection;
Different parameter required for action;
Next step action that action executing is complete.
Refer to Fig. 1, said system comprises:
Sql statement injection module 1, for injecting sql statement in above-mentioned examination & verification nodal information, above-mentioned sql statement characterizes data manipulation logic;
Class injection module 2, for injecting class in above-mentioned examination & verification nodal information.
Above-mentioned class comprises data manipulation logic, other self-defined logics of flow performing logical OR.
Above-mentioned class is java class.Java class can require to perform arbitrary demand according to user, comprises other self-defined logics of data manipulation logical OR, has agreed to perform send note operation, to the various operation comprising data and self-defined logic of prepaid mobile phone recharging etc. as clicked.
Auditing flow execution module 3, for performing content in above-mentioned examination & verification nodal information by above-mentioned code skeleton.
In other embodiments of the present invention, above-mentioned auditing flow execution module is also for returning execution result.
Refer to Fig. 2, examination & verification node can comprise multiple node, such as, can comprise first trial node and review node, certainly, also only can comprise a node, and its number is determined according to concrete auditing flow.At each intra-node, at least one in data operation logic and flow performing logic can be performed.
Examination & verification nodal information is logical OR logical combination for describing corresponding examination & verification intra-node.
It should be noted that, code skeleton is separate with examination & verification nodal information.Code skeleton, once develop, is generally no longer changed it.Expand or modify feature by change examination & verification nodal information.
For popular example, the suitable machine of code skeleton, examination & verification nodal information is equivalent to raw material.The raw material added is different, and the product that manufacture goes out is also by difference.
Or also code skeleton can be compared to computing machine (operating system), examination & verification nodal information is equivalent to application software.Application software can be changed, expand, and the basis of computing machine (operating system) is performed.
Or, also code skeleton can be considered as template, examination & verification node be combined with it, inserts template, can executable code be formed.
Visible, in embodiments of the present invention, data manipulation logic and the injection of auditing flow actuating logic will be increased newly by Sql statement injection module and class injection module, thus dirigibility and the extensibility of auditing flow configuration can be improved.
More specifically, above-mentioned Sql statement injection module can comprise:
Parameter name input frame, for inputting the parameter name called in sql;
Sql input by sentence frame, for inputting sql statement.
It should be noted that, what the sql statement that sql input by sentence frame inputs defined is operating process, and parameter name input frame defines object or condition, and the parameter that the sql statement of sql input by sentence frame input and parameter name input frame input combines, and just can perform.The concrete value of parameter is in commission dynamically input.
For example, the sql statement of sql input by sentence frame input characterizes " people of query name=X ", in the process of implementation, " Li Si " input is come in, then by the people of query name=Li Si.
In other embodiments of the present invention, refer to Fig. 3, above-mentioned system also can comprise:
Conventional configuration module 4, for configuration audit interstitial content, and, the conventional item in examination & verification nodal information content.
Also namely, aforementioned first trial node, the review node mentioned is pre-configured by conventional configuration module 4.
As for conventional item, the regular logical combination configuration of auditing flow can be comprised, such as, role-security.
In the present embodiment, conventional configuration module 4 specifies the structure of auditing flow, in this way first trial-review, and which option examination & verification node comprises, which operation corresponding.
Sql statement injection module 1 injects newly-increased data manipulation logic, and class injection module 2 will inject java class.
Auditing flow execution module 3 externally provides interface for calling.Auditing flow execution module 3 can be used as the execution carrier of above three modules, carries out operation perform and return execution result to operating personnel the combined result of three modules.
For example, conventional configuration module 4 is configured with examination & verification interstitial content, the newly-increased data manipulation logic that Sql statement injection module 1 injects, and the java class that class injection module 2 injects can be included in examination & verification nodal information.Auditing flow execution module 3 performs examination & verification nodal information corresponding to each node successively by code skeleton, then achieve and run the combined result of three modules.
The present embodiment solves following problem:
(1) allocation problem of complicated Database field operation logic.The configuration mode that the present embodiment provides contains the configuration of conventional data field, adds code level SQL Dynamic injection mode, can tackle various personalized complicated database manipulation.
(2) problem that new examination & verification actuating logic needs to revise operation code is increased.The configuration mode that the present embodiment provides directly can call newly-increased concrete JAVA class, provides dynamic extensibility, without the need to revising original code, can not affect the execution of other auditing flow.
Correspond, the method for the embodiment of the present invention also claimed embedded configuration audit flow process, the method is based on above-mentioned system, and said method can comprise the steps:
Use Sql statement injection module to inject sql statement in examination & verification nodal information, above-mentioned sql statement characterizes data manipulation logic;
Use class injection module to inject class in examination & verification nodal information, above-mentioned class comprises data manipulation logic, other self-defined logics of flow performing logical OR;
Auditing flow execution module is used to perform content in above-mentioned examination & verification nodal information by above-mentioned code skeleton.
In other embodiments of the present invention, the method in above-mentioned all embodiments also can comprise the steps: to return execution result.
In other embodiments of the present invention, the method in above-mentioned all embodiments also can comprise the steps: configuration audit interstitial content, and, the conventional item in examination & verification nodal information content.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (8)
1. an embedded configuration-system, it is characterized in that, based on separate code skeleton and the examination & verification nodal information auditing node, described examination & verification node is the logic node in auditing flow, and described examination & verification nodal information comprises at least one in data manipulation logic and flow performing logic; Described code skeleton is for performing the content of described examination & verification nodal information, and described system comprises:
Sql statement injection module, for injecting sql statement in described examination & verification nodal information, described sql statement characterizes data manipulation logic;
Class injection module, for injecting class in described examination & verification nodal information, described class comprises data manipulation logic, other self-defined logics of flow performing logical OR;
Auditing flow execution module, for performing content in described examination & verification nodal information by described code skeleton.
2. the system as claimed in claim 1, is characterized in that, described Sql statement injection module comprises:
Parameter name input frame, for inputting the parameter name called in sql;
Sql input by sentence frame, for inputting sql statement.
3. system as claimed in claim 2, it is characterized in that, described auditing flow execution module is also for returning execution result.
4. the system as claimed in claim 1, is characterized in that, also comprises:
Conventional configuration module, for configuration audit interstitial content, and, the conventional item in examination & verification nodal information content.
5. the method for claim 1, is characterized in that, described class is java class.
6. a method for embedded configuration audit flow process, is characterized in that, based on the system as claimed in claim 1, described method comprises:
Use Sql statement injection module to inject sql statement in examination & verification nodal information, described sql statement characterizes data manipulation logic;
Use class injection module to inject class in examination & verification nodal information, described class comprises data manipulation logic, other self-defined logics of flow performing logical OR;
Auditing flow execution module is used to perform content in described examination & verification nodal information by described code skeleton.
7. method as claimed in claim 6, is characterized in that, also comprise: return execution result.
8. method as claimed in claim 6, is characterized in that, also comprise: configuration audit interstitial content, and, the conventional item in examination & verification nodal information content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410569420.1A CN104317590B (en) | 2014-10-22 | 2014-10-22 | The method of embedded configuration system and embedded configuration audit flow |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410569420.1A CN104317590B (en) | 2014-10-22 | 2014-10-22 | The method of embedded configuration system and embedded configuration audit flow |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104317590A true CN104317590A (en) | 2015-01-28 |
CN104317590B CN104317590B (en) | 2017-12-12 |
Family
ID=52372825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410569420.1A Active CN104317590B (en) | 2014-10-22 | 2014-10-22 | The method of embedded configuration system and embedded configuration audit flow |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104317590B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107291438A (en) * | 2016-04-13 | 2017-10-24 | 阿里巴巴集团控股有限公司 | Generation method, device and the electronic equipment of automatized script |
CN114077714A (en) * | 2022-01-07 | 2022-02-22 | 湖南湘生网络信息有限公司 | Universal content auditing and configuring method and system |
CN116578281A (en) * | 2023-07-13 | 2023-08-11 | 江西汉辰信息技术股份有限公司 | Webpage development method, system, electronic equipment and storage medium based on code package |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030135384A1 (en) * | 2001-09-27 | 2003-07-17 | Huy Nguyen | Workflow process method and system for iterative and dynamic command generation and dynamic task execution sequencing including external command generator and dynamic task execution sequencer |
CN101256492A (en) * | 2008-03-31 | 2008-09-03 | 宋乃辉 | Software development method and system for executing model drive structure |
CN102156640A (en) * | 2011-04-19 | 2011-08-17 | 山东浪潮金融信息系统有限公司 | Method for generating data operation code |
CN102298740A (en) * | 2011-09-23 | 2011-12-28 | 深圳市华波美通信技术有限公司 | Business process management supporting method |
CN103617508A (en) * | 2013-12-12 | 2014-03-05 | 用友软件股份有限公司 | Configurable business rule plug-in extension apparatus and business rule plug-in extension method |
CN103838706A (en) * | 2012-11-22 | 2014-06-04 | 江苏现代造船技术有限公司 | Flexible management information system with process and form customization function |
CN104021460A (en) * | 2014-06-27 | 2014-09-03 | 北京太格时代自动化系统设备有限公司 | Work flow management system and work flow handling method |
-
2014
- 2014-10-22 CN CN201410569420.1A patent/CN104317590B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030135384A1 (en) * | 2001-09-27 | 2003-07-17 | Huy Nguyen | Workflow process method and system for iterative and dynamic command generation and dynamic task execution sequencing including external command generator and dynamic task execution sequencer |
CN101256492A (en) * | 2008-03-31 | 2008-09-03 | 宋乃辉 | Software development method and system for executing model drive structure |
CN102156640A (en) * | 2011-04-19 | 2011-08-17 | 山东浪潮金融信息系统有限公司 | Method for generating data operation code |
CN102298740A (en) * | 2011-09-23 | 2011-12-28 | 深圳市华波美通信技术有限公司 | Business process management supporting method |
CN103838706A (en) * | 2012-11-22 | 2014-06-04 | 江苏现代造船技术有限公司 | Flexible management information system with process and form customization function |
CN103617508A (en) * | 2013-12-12 | 2014-03-05 | 用友软件股份有限公司 | Configurable business rule plug-in extension apparatus and business rule plug-in extension method |
CN104021460A (en) * | 2014-06-27 | 2014-09-03 | 北京太格时代自动化系统设备有限公司 | Work flow management system and work flow handling method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107291438A (en) * | 2016-04-13 | 2017-10-24 | 阿里巴巴集团控股有限公司 | Generation method, device and the electronic equipment of automatized script |
CN114077714A (en) * | 2022-01-07 | 2022-02-22 | 湖南湘生网络信息有限公司 | Universal content auditing and configuring method and system |
CN116578281A (en) * | 2023-07-13 | 2023-08-11 | 江西汉辰信息技术股份有限公司 | Webpage development method, system, electronic equipment and storage medium based on code package |
CN116578281B (en) * | 2023-07-13 | 2023-11-24 | 江西金发金融信息服务有限公司 | Webpage development method, system, electronic equipment and storage medium based on code package |
Also Published As
Publication number | Publication date |
---|---|
CN104317590B (en) | 2017-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107688500B (en) | Distributed task processing method, device, system and equipment | |
CN105487864A (en) | Method and device for automatically generating code | |
CN106873949A (en) | Code generating method and its device | |
CN103631601A (en) | Code generation method and code generation device | |
CN105511873A (en) | User interface control display method and device | |
CN106557307B (en) | Service data processing method and system | |
CN102054217A (en) | Entity morphing in metamodel-based tools | |
US20200320216A1 (en) | Systems and methods for determining database permissions | |
CN102156640A (en) | Method for generating data operation code | |
US20180074793A1 (en) | Composable action flows | |
CN106250110B (en) | Method and device for establishing model | |
CN104317590A (en) | Embedded configuration system and embedded review process configuration method | |
CN109086126B (en) | Task scheduling processing method and device, server, client and electronic equipment | |
CN104516864A (en) | Report generating method and report generating device | |
CN103678396A (en) | Data backup method and device based on data models | |
CN104573112A (en) | Page query method and data processing node for OLTP cluster database | |
US9280361B2 (en) | Methods and systems for a real time transformation of declarative model and layout into interactive, digital, multi device forms | |
CN105975265A (en) | Device based on improved MVP mode | |
Schuler et al. | Rule-based generation of mobile user interfaces | |
CN104199675A (en) | System capable of quick system development based on database parameter utilization | |
CN104239072A (en) | Method and device for generating software procedure code | |
CN104063232B (en) | A kind of method of the system development utilizing based on database parameter | |
CN109885622B (en) | Data processing equipment, system and multi-node data processing method | |
CN108228708B (en) | Big data ETL system and scheduling method thereof | |
CN107544773A (en) | A kind of development approach based on computer software development technique |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |