CN103903084A - Authentication method and system - Google Patents
Authentication method and system Download PDFInfo
- Publication number
- CN103903084A CN103903084A CN201210587282.0A CN201210587282A CN103903084A CN 103903084 A CN103903084 A CN 103903084A CN 201210587282 A CN201210587282 A CN 201210587282A CN 103903084 A CN103903084 A CN 103903084A
- Authority
- CN
- China
- Prior art keywords
- authentication
- node
- configuration file
- configuration
- module
- 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
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an authentication method. The method comprises the steps that authentication processes are initialized according to configuration files, wherein the configuration files comprise basic information configuration and process trend configuration; authentication requests of users are obtained, and the authentication processes are executed according to the authentication requests. The invention further discloses an authentication system. Due to the fact that different authentication processes are initialized according to the corresponding configuration files, configuration and modification simply need to be carried out on the configuration files, the authentication processes can be achieved, system codes do not need to be modified, system maintenance cost is low, and system transportability and reusability are high. In addition, according to the authentication method and system, configuration is simplified greatly, the difficulty for learning and mastering work when codes are reused is low, and user experience can be improved.
Description
Technical field
The present invention relates to media-planning system (Planning) technology, relate in particular to a kind of authentication method and system.
Background technology
In life, there is the certification of a lot of forms, littlely handle the certification to sales discount to brand shop, the large certification to engineering to central authorities.If these verification process are all collected voluntarily information, judgement and court verdict are reported to upper level certification by related personnel, to waste time and energy, authentication efficiency is low.
At present, also there is utilizing the correlation technique of computer realization identifying procedure, but, these technology are general direct to be mixed in identifying procedure in system code, and authentication object is of a great variety, different authentication object (certification is single) correspondence identifying procedure independently separately, therefore, prior art is mixed in identifying procedure that mode maintenance cost in system code is higher, transplantability is poor; In addition, relate to a large amount of configuration informations in identifying procedure, based on prior art, the difficulty that work when code reuse is understood and grasped is larger, is unfavorable for that user experiences.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of authentication method and system, can reduce system maintenance cost, raising system portability and reusability, and improve user and experience.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of authentication method, comprising:
According to configuration file authentication initialization flow process, described configuration file comprises that essential information configures and flow process is moved towards configuration;
Obtain user's authentication request, and carry out identifying procedure according to described authentication request.
Described essential information comprises: authentication name, certification odd numbers field, authenticate single type,
Described flow process is moved towards configuration and is comprised: node serial number, at least one previous step node serial number and/or at least one next step node serial number, the algorithm of each this node of node determination authentication result and the operation that each node need to be carried out according to this node authentication result that each node is corresponding.
Describedly according to configuration file authentication initialization flow process be: according to the procedure information structure flow nodes in configuration information and database in described configuration file.
Carrying out in identifying procedure process, each node is obtaining after this node authentication result, according to more historical authentication state table and the current authentication state table in new database of the authentication state of this node.
A kind of Verification System, comprising: configuration file stores module, initialization module, authentication request acquisition module and execution module; Wherein,
Described configuration file stores module, for store configuration files, described configuration file comprises that essential information configures and flow process is moved towards configuration;
Described initialization module, for according to the configuration file authentication initialization flow process of described configuration file stores module stores;
Described authentication request acquisition module, for obtaining user's authentication request;
Described execution module, carries out identifying procedure for the authentication request of obtaining according to described authentication request acquisition module.
Essential information in the configuration file of described configuration file stores module stores comprises: authentication name, certification odd numbers field, authenticate single type,
Flow process in the configuration file of described configuration file stores module stores is moved towards configuration and is comprised: node serial number, at least one previous step node serial number and/or at least one next step node serial number, the algorithm of each this node of node determination authentication result and the operation that each node need to be carried out according to this node authentication result that each node is corresponding.
This system also comprises database,
Described initialization module, specifically for constructing flow nodes according to the procedure information in configuration information and database in described configuration file.
Described execution module, also in identifying procedure process, according to more historical authentication state table and the current authentication state table in new database of the authentication state of each node.
Authentication method of the present invention and system, according to configuration file authentication initialization flow process, described configuration file comprises that essential information configures and flow process is moved towards configuration; Obtain user's authentication request, and carry out identifying procedure according to described authentication request.Because different identifying procedures is according to relevant configuration file initialization, so, only need be configured configuration file, revise, just can realize identifying procedure, not need to revise system code, thereby system maintenance cost is lower, system portability and reusability are higher, and in addition, the present invention has simplified configuration greatly, thereby the difficulty that work when code reuse is understood and grasped is lower, can improves user and experience.
Brief description of the drawings
Fig. 1 is a kind of authentication method schematic flow sheet of the embodiment of the present invention;
Fig. 2 is a kind of Verification System structural representation of the embodiment of the present invention;
Fig. 3 is the authentication method schematic flow sheet described in the embodiment of the present invention 1;
Fig. 4 is that the embodiment of the present invention 1 is according to the initialized identifying procedure schematic diagram of configuration file;
Fig. 5 is the Verification System structural representation described in the embodiment of the present invention 2.
Embodiment
Basic thought of the present invention is: according to configuration file authentication initialization flow process, described configuration file comprises that essential information configures and flow process is moved towards configuration; Obtain user's authentication request, and carry out identifying procedure according to described authentication request.
The embodiment of the present invention has proposed a kind of authentication method, and as shown in Figure 1, the method comprises:
Step 101: according to configuration file authentication initialization flow process, described configuration file comprises that essential information configures and flow process is moved towards configuration;
Step 102: obtain user's authentication request, and carry out identifying procedure according to described authentication request.
Optionally, described essential information comprises: authentication name, certification odd numbers field, authenticate single type,
Described flow process is moved towards configuration and is comprised: node serial number, at least one previous step node serial number and/or at least one next step node serial number, the algorithm of each this node of node determination authentication result and the operation that each node need to be carried out according to this node authentication result that each node is corresponding.
Optionally, describedly according to configuration file authentication initialization flow process be: according to the procedure information structure flow nodes in configuration information and database in described configuration file.
Optionally, carrying out in identifying procedure process, each node is obtaining after this node authentication result, according to more historical authentication state table and the current authentication state table in new database of the authentication state of this node.
The present invention has also correspondingly proposed a kind of Verification System, and as shown in Figure 2, this Verification System comprises: configuration file stores module, initialization module, authentication request acquisition module and execution module; Wherein,
Described configuration file stores module, for store configuration files, described configuration file comprises that essential information configures and flow process is moved towards configuration;
Described initialization module, for according to the configuration file authentication initialization flow process of described configuration file stores module stores;
Described authentication request acquisition module, for obtaining user's authentication request;
Described execution module, carries out identifying procedure for the authentication request of obtaining according to described authentication request acquisition module.
Optionally, the essential information in the configuration file of described configuration file stores module stores comprises: authentication name, certification odd numbers field, authenticate single type,
Flow process in the configuration file of described configuration file stores module stores is moved towards configuration and is comprised: node serial number, at least one previous step node serial number and/or at least one next step node serial number, the algorithm of each this node of node determination authentication result and the operation that each node need to be carried out according to this node authentication result that each node is corresponding.
Optionally, this system also comprises database,
Described initialization module, specifically for constructing flow nodes according to the procedure information in configuration information and database in described configuration file.
Optionally, described execution module, also in identifying procedure process, according to more historical authentication state table and the current authentication state table in new database of the authentication state of each node.
Taking concrete approval process as example, the present invention is described in further detail below.
The present embodiment relates to a kind of measures and procedures for the examination and approval, and as shown in Figure 3, the method comprises:
Step 301: according to configuration file initialization approval process, described configuration file comprises that essential information configures and flow process is moved towards configuration;
Step 302: obtain user's examination & approval request, and carry out approval process according to described examination & approval request.
Optionally, the essential information described in step 301 comprises: field, the examination and approval document type etc. of examination & approval title, examination & approval odd numbers, and these essential informations all exist in every suit flow process, specifically can be configured to:
<FlowName>: examination & approval title, such as carrying out contract approval, the examination & approval of waiting list, give special approval to single examination & approval.This title can show in prompting mail;
<CodeKey>: the field of corresponding table t_workflow_control storage examination & approval odd numbers, such as ' Fpro_id ', ' Fbill_code ' etc.According to actual conditions, some waiting lists need to be by the associated flow table data of id, give special approval to that a little list need to be by the associated flow table data of code.
<Type>: examination and approval document type, such as waiting, fill order, special anthorization list etc.
Described flow process is moved towards configuration and is comprised: the algorithm of at least one previous step node serial number that node serial number, each node are corresponding and/or at least one next step node serial number, each this node of node determination examination & approval result and the operation that each node need to be carried out according to this node examination & approval result etc.
Optionally, described in step 301, according to configuration file initialization approval process be: according to the procedure information structure flow nodes in configuration information and database in described configuration file.For example, according to the initialized approval process of configuration file as shown in Figure 4, this approval process comprises 5 examination & approval nodes, and each node has a flow nodes numbering, also has one or more ' previous step ' node serial numbers and/or one or more ' next step ' node serial numbers.In the time that a node has multiple ' next step ', calculate and flow to which node according to the algorithm of parameter at that time and configuration.Concrete, examination & approval node 1 comprises ' a next step ' node serial number, examination & approval node 2 comprises ' previous step ' node serial number and two ' next step ' node serial numbers, and specifically jumping to which node needs to judge according to parameter at that time and the algorithm of configuration.
It should be noted that, can also be to information such as each node configuration approver, alerting pattern, prompting people.
For example, configuration mode can be:
Wherein, <ActivityRowBase> represents a state in examination & approval process; <Name> represents flow state name; <ID> represents flow nodes or status number; <RemindType> represents communication, the alerting pattern between flow process, such as Email; <RemindPerson> represents to remind people, addressee; <ApprovePerson> represents to examine node processing people, approver; <Destination> represents the ID of next or multiple trends of flow process, in the situation that having multiple trends to select, ' func ' attribute-bit select next trend by calling which method; <Source> represents the ID of a upper node of flow process.
Optionally, carrying out in approval process process, each node is obtaining after this node examination & approval result, according to more historical approval status table and the current approval status table in new database of the approval status of this node.
The present embodiment relates to a kind of approval system, and as shown in Figure 5, this approval system comprises: configuration file stores module, initialization module, examination & approval acquisition request module and execution module; Wherein,
Described configuration file stores module, for store configuration files, described configuration file comprises that essential information configures and flow process is moved towards configuration;
Described initialization module, for according to the configuration file initialization approval process of described configuration file stores module stores;
Described examination & approval acquisition request module, for obtaining user's examination & approval request;
Described execution module, carries out approval process for the examination & approval request of obtaining according to described examination & approval acquisition request module.
Optionally, the essential information in the configuration file of described configuration file stores module stores comprises: field, the examination and approval document type of examination & approval title, examination & approval odd numbers,
Flow process in the configuration file of described configuration file stores module stores is moved towards configuration and is comprised: node serial number, at least one previous step node serial number and/or at least one next step node serial number, the algorithm of each this node of node determination examination & approval result and the operation that each node need to be carried out according to this node examination & approval result that each node is corresponding.
Optionally, this system also comprises database,
Described initialization module, specifically for constructing flow nodes according to the procedure information in configuration information and database in described configuration file.
Optionally, described execution module, also in approval process process, according to more historical approval status table and the current approval status table in new database of the approval status of each node.
It should be noted that, based on approval process of the present invention, can embed mail, rtx, the functions such as note prompting, only need the alternate current operation of configuration in just can realization flow.
Embodiment 3
The present embodiment relates to the concrete method of calling of an approval process, comprising:
(1) initialization
$ engine=new Engine ($ code, $ xml); // initialization flow engine, confirms flow process xml and process code (field also can be different for code, the numbering possibility form difference of different flow processs).
$ engine->init (); // by the procedure information structure Node node in configuration information and the DB of xml.
(2) submit the state variation such as examination & approval, examination & approval to
$ msg=$ engine->transfer ($ decision, $ union, $ decision_reason); // examination & approval are changed examination & approval stream mode according to the different information such as examination & approval result, suggestions made after examination in carrying out.Can be to examine by entering next link, or examine not by returning to initial link, or conutersign, add new several approvers in these examination & approval link.
$ decision represents to examine type: can be that S(submits to), Y(examination & approval are passed through), N(examination & approval are not passed through), W(recalls), L(countersign) these are several.
According to different parameters, flow engine $ engine carries out the operations such as flow process submission, examination & approval, countersign.
And more new historical approval status table t_workflow_control and current approval status table t_workflow_state table.Here it should be noted that t_workflow_state only has data, the current approval status of depositing.And t_workflow_control table can be deposited many records, reflect whole examination & approval course.
The historical approval status table relating in the present embodiment is as shown in table 1, and current approval status table is as shown in table 2:
Table 1
Table 2
(3) subsequent operation
After flow process related content end of operation, (comprise the variation of flow state, the amendment of flow table and insertion, flow process related personnel's prompting), do some other operations according to actual conditions, such as operating waiting table, operate and give special approval to related service.
It should be noted that, the configuration mode in the present invention mainly adopts the form of XML, but also can adopt in actual applications the file of extended formatting to be configured.
The scheme that the present invention proposes, only need be configured configuration file, revise, just can realize approval process, do not need to revise system code, thereby system maintenance cost is lower, system portability and reusability are higher, in addition, the present invention has simplified configuration greatly, thereby the difficulty that work when code reuse is understood and grasped is lower, can improve user and experience.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.
Claims (8)
1. an authentication method, is characterized in that, the method comprises:
According to configuration file authentication initialization flow process, described configuration file comprises that essential information configures and flow process is moved towards configuration;
Obtain user's authentication request, and carry out identifying procedure according to described authentication request.
2. authentication method according to claim 1, is characterized in that,
Described essential information comprises: authentication name, certification odd numbers field, authenticate single type,
Described flow process is moved towards configuration and is comprised: node serial number, at least one previous step node serial number and/or at least one next step node serial number, the algorithm of each this node of node determination authentication result and the operation that each node need to be carried out according to this node authentication result that each node is corresponding.
3. authentication method according to claim 2, is characterized in that, describedly according to configuration file authentication initialization flow process is: according to the procedure information structure flow nodes in configuration information and database in described configuration file.
4. according to the authentication method described in claims 1 to 3 any one, it is characterized in that, carrying out in identifying procedure process, each node is obtaining after this node authentication result, according to more historical authentication state table and the current authentication state table in new database of the authentication state of this node.
5. a Verification System, is characterized in that, this Verification System comprises: configuration file stores module, initialization module, authentication request acquisition module and execution module; Wherein,
Described configuration file stores module, for store configuration files, described configuration file comprises that essential information configures and flow process is moved towards configuration;
Described initialization module, for according to the configuration file authentication initialization flow process of described configuration file stores module stores;
Described authentication request acquisition module, for obtaining user's authentication request;
Described execution module, carries out identifying procedure for the authentication request of obtaining according to described authentication request acquisition module.
6. Verification System according to claim 5, is characterized in that,
Essential information in the configuration file of described configuration file stores module stores comprises: authentication name, certification odd numbers field, authenticate single type,
Flow process in the configuration file of described configuration file stores module stores is moved towards configuration and is comprised: node serial number, at least one previous step node serial number and/or at least one next step node serial number, the algorithm of each this node of node determination authentication result and the operation that each node need to be carried out according to this node authentication result that each node is corresponding.
7. Verification System according to claim 6, is characterized in that, this system also comprises database,
Described initialization module, specifically for constructing flow nodes according to the procedure information in configuration information and database in described configuration file.
8. according to the Verification System described in claim 5 to 7 any one, it is characterized in that, described execution module, also in identifying procedure process, according to more historical authentication state table and the current authentication state table in new database of the authentication state of each node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210587282.0A CN103903084A (en) | 2012-12-28 | 2012-12-28 | Authentication method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210587282.0A CN103903084A (en) | 2012-12-28 | 2012-12-28 | Authentication method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103903084A true CN103903084A (en) | 2014-07-02 |
Family
ID=50994394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210587282.0A Pending CN103903084A (en) | 2012-12-28 | 2012-12-28 | Authentication method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103903084A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047609A (en) * | 2007-05-08 | 2007-10-03 | 中国移动通信集团福建有限公司 | Working flow route control device |
CN101082970A (en) * | 2007-07-05 | 2007-12-05 | 山东浪潮齐鲁软件产业股份有限公司 | Method for realizing government affairs examination and approval workflow engines system |
CN101145217A (en) * | 2006-09-13 | 2008-03-19 | 鸿富锦精密工业(深圳)有限公司 | Flow process form processing system and method |
CN101599145A (en) * | 2009-06-30 | 2009-12-09 | 中兴通讯股份有限公司 | A kind of Workflow management method and system |
CN101848238A (en) * | 2010-05-10 | 2010-09-29 | 杭州世导通讯有限公司 | Method for approving workflow |
CN102298740A (en) * | 2011-09-23 | 2011-12-28 | 深圳市华波美通信技术有限公司 | Business process management supporting method |
CN102486730A (en) * | 2010-12-06 | 2012-06-06 | 上海协讯软件有限公司 | Workflow realization method and workflow system capable of customizing flow in user-defined manner |
CN102496088A (en) * | 2011-12-14 | 2012-06-13 | 河北省电力公司通信中心 | Method for improving executive force of power communication overhaul core flow |
-
2012
- 2012-12-28 CN CN201210587282.0A patent/CN103903084A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145217A (en) * | 2006-09-13 | 2008-03-19 | 鸿富锦精密工业(深圳)有限公司 | Flow process form processing system and method |
CN101047609A (en) * | 2007-05-08 | 2007-10-03 | 中国移动通信集团福建有限公司 | Working flow route control device |
CN101082970A (en) * | 2007-07-05 | 2007-12-05 | 山东浪潮齐鲁软件产业股份有限公司 | Method for realizing government affairs examination and approval workflow engines system |
CN101599145A (en) * | 2009-06-30 | 2009-12-09 | 中兴通讯股份有限公司 | A kind of Workflow management method and system |
CN101848238A (en) * | 2010-05-10 | 2010-09-29 | 杭州世导通讯有限公司 | Method for approving workflow |
CN102486730A (en) * | 2010-12-06 | 2012-06-06 | 上海协讯软件有限公司 | Workflow realization method and workflow system capable of customizing flow in user-defined manner |
CN102298740A (en) * | 2011-09-23 | 2011-12-28 | 深圳市华波美通信技术有限公司 | Business process management supporting method |
CN102496088A (en) * | 2011-12-14 | 2012-06-13 | 河北省电力公司通信中心 | Method for improving executive force of power communication overhaul core flow |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10325270B2 (en) | Methods and systems for environmental credit scoring | |
Xia et al. | Green star points obtained by Australian building projects | |
CN106250568A (en) | Service area determines that method, logistics service provider recommend method and related device | |
CN107341646A (en) | Configuration software coordination management system and method | |
CN110083722A (en) | A kind of electronic drawing lookup method, device, equipment and readable storage medium storing program for executing | |
CN102208057A (en) | Method, platform and system for processing audit information | |
CN106155769A (en) | A kind of workflow processing method, device and workflow engine | |
CN106097060A (en) | A kind of university students is left unused Cycle Hire software screening method system and its implementation | |
CN107316094A (en) | One kind commuting circuit method for digging and device | |
Pitts et al. | An assessment technique for the evaluation and promotion of sustainable Olympic design and urban development | |
CN107526817A (en) | A kind of business personnel intellectual coded generation method, equipment and storage medium | |
CN105787010B (en) | Acquisition process and method for pushing and system based on personal data | |
CN107067354A (en) | Based on the task of supervision treating method and apparatus for controlling grid altogether | |
Li et al. | Methodology for assessing the sustainability of metro systems based on emergy analysis | |
CN107730146A (en) | A kind of material information management and material information recognition methods and device | |
CN103903084A (en) | Authentication method and system | |
CN101877032A (en) | Data updating method, device and system | |
CN106203966A (en) | Customer-oriented industry expands service platform | |
Cheng et al. | Decarbonization of Cities in Asia: A Polycentric Approach to Policy, Business and Technology | |
CN107798603A (en) | Transaction data processing method and device | |
CN111949670B (en) | Data processing method and device | |
CN105930331A (en) | Method and apparatus for processing card number data | |
CN101751460A (en) | Data binding method, device and system | |
CN110535916A (en) | A kind of supply guarantee management method based on block chain | |
CN102508915A (en) | Production information inquiring device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140702 |