CN103902515B - Method and system for processing transformation process between different types of documents - Google Patents

Method and system for processing transformation process between different types of documents Download PDF

Info

Publication number
CN103902515B
CN103902515B CN201210573167.8A CN201210573167A CN103902515B CN 103902515 B CN103902515 B CN 103902515B CN 201210573167 A CN201210573167 A CN 201210573167A CN 103902515 B CN103902515 B CN 103902515B
Authority
CN
China
Prior art keywords
strategy
document
conversion
technology
type
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.)
Expired - Fee Related
Application number
CN201210573167.8A
Other languages
Chinese (zh)
Other versions
CN103902515A (en
Inventor
陈长刚
李骁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201210573167.8A priority Critical patent/CN103902515B/en
Publication of CN103902515A publication Critical patent/CN103902515A/en
Application granted granted Critical
Publication of CN103902515B publication Critical patent/CN103902515B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and system for processing a transformation process between different types of documents, and relates to the application field of transformation of the different types of documents. The system comprises a bottom-layer transformation device, a technology allocation device, a strategy analysis device and a strategy execution device. The bottom-layer transformation device is used for loading and achieving the bottom-layer transformation technology between the different types of documents, the technology allocation device is used for allocating bottom-layer transformation achieving technologies through allocation files, the strategy analysis device is used for analyzing transformational strategies between the different types of documents, and the strategy execution device is used for analyzing the strategies, executing document transformation and achieving transformation between the different types of documents by invoking the bottom-layer transformation device. By means of the method and system, the technical problem that in transformation of the different types of documents, the transformation process can not be effectively controlled is solved, an automatic transformation process is achieved, a uniform processing interface is used for transformation processing, and different procedure processes which are executed in the transformation between the different types of documents are effectively shielded.

Description

The method and system that between a kind of dissimilar document, flow path switch is processed
Technical field
The present invention relates between dissimilar document conversion application, more particularly, to all kinds document carries out online The application that browses is and in particular to a kind of method and system that between dissimilar document, flow path switch is processed.
Background technology
At present, in Web education, online testing and publishing area, different types of document again through type conversion after, Good effect can be obtained by online browse, such as WORD is converted into PDF, PPT and is converted into PDF, PDF being converted into the various conversion such as SWF, But existing document switch technology species is various, inefficiency, it is difficult to extend, accuracy is not high, very flexible.In each application neck In domain, the implementation that enterprise changes to document is different, and does not have unified solution, cause conversion efficiency low, Artificial participate in more, technology very flexible, be difficult the harmful effects such as extension.
Content of the invention
For the problem in the presence of prior art, object of the present invention is to provide a kind of efficiency high, automatic, clever The method and system that between the dissimilar document that activity by force, easily extends, flow path switch is processed.
Real realize foregoing invention purpose, the technical solution used in the present invention is as follows:
The system that between a kind of dissimilar document, flow path switch is processed, including following device:
Bottom conversion equipment, for loading the bottom switch technology realized between dissimilar document;
Technical configuration device, configures for realizing technology by configuration file to bottom conversion;
Analysis of strategies device, for being analyzed to the strategy changed between dissimilar document;
Policy enforcement means, for parsing strategy, execution document conversion, call bottom conversion equipment to realize dissimilar literary composition Change between shelves.
Further, system of the present invention also includes following device:
Automatic fault tolerant device, after making a mistake during implementation strategy, carries out strategy and analyzes, then execute.
The present invention passes through analysis of strategies device, carries out the analysis of switching strategy, then passes through policy enforcement means, to conversion Strategy is executed, and by automatic fault tolerant device, carries out respective handling to the mistake in policy enforcement procedure, and carries out strategy again Analyze, execute again.
Further, technical configuration device, is configured similarly to plug-in unit and installs, can be custom-configured, to meet individual character The demand changed.
Further, by XML definition, modification configuration file is very convenient, can automatically extend XML fixed for described configuration file Justice.
Further, technical configuration device, supports heat deployment mechanism, under technical configuration plant running state, can carry out Switch technology increases and changes.
Further, analysis of strategies device, according to the various switch technologies providing and consistent coefficient, analysis Source Type literary composition Optimum translation strategy between shelves and target type document, formulates conversion plan.
Further, policy enforcement means, parse switching strategy, analyze and obtain Floor layer Technology and realize, and determine that document is changed Calling technology.
Further, policy enforcement means, according to switching strategy, analysis bottom switch technology calls order, and generates and turn Change jobs stream, determines document conversion call flow.
Further, policy enforcement means, obtain document conversion calling technology, obtain document conversion call flow, monitoring And record conversion work stream practice condition.
Further, described automatic fault tolerant device, for carrying out error analysis, misregistration day to the conversion of the document of failure Will, and reduce the corresponding Floor layer Technology coefficient of stability of strategy;After error analysis finishes, call switching strategy analytical equipment again, turn Change policy enforcement means, carry out strategy and analyze again, execute again.
A kind of method that between dissimilar document, flow path switch is processed, comprises the following steps:
(1) load the Floor layer Technology realizing conversion between dissimilar document;
(2) XML configuration file of technical configuration device, configuration step are formulated(1)In technology realize;
(3) use technical configuration device, timing cycle is read configuration file XML, loaded by class, realize switch technology and join Put device heat deployment mechanism;
(4) use analysis of strategies device, the incoming Source Type document of analysis user and target type document, and formulate optimum Switching strategy;
(5) policy enforcement means, parsing execution step are used(4)The switching strategy of gained, realizes dissimilar document Between change.
Further, method as above, further comprising the steps of:
(6) after switching strategy runs succeeded, return to the path of target type document;
(7) use automatic fault tolerant device, after policy enforcement means make a mistake, this device carries out error analysis, strategy Analyze again, then execute;
(8) after executing unsuccessfully until All Policies, still fail successful document conversion, then give user and located manually Reason.
Further, step(1)In, when realizing switch technology between dissimilar document, palpus interface-oriented programming, carry upwards For unified interface standard, the shielding obstructed realization of bottom downwards, it is easy to switch technology extension.
Further, step(2)In, configuration bottom layer realization technology and consistent coefficient in XML configuration file, for strategy Analytical equipment, policy enforcement means use.
Further, step(4)In, analysis of strategies device, according to incoming source document type, destination document type, in technology In the range of the Floor layer Technology that configuration device is provided, analyze and formulate switching strategy.
Effect of the invention is that:Method and system of the present invention provides unified enterprise level solution, can Realize the analysis of strategies of conversion and execution between any two types document, and substantially increase to the process control of document flow path switch System, improves document flow path switch automation property.Bottom layer realization technology can get arbitrary extension, based on heat deployment mechanism, is turning It is possible to adding or updating existing bottom layer realization technology in the case of changing system operation;Automatic fault tolerant device, can enter stroke automatically Sequence error analysis, and carry out strategy and analyze again, execute again, improve success rate, the stability of document conversion.Using institute of the present invention The method and system stated, it is possible to achieve efficiency high, automatically, flexibility is strong, conversion stream between easily extension dissimilar document The method and system that journey is processed are processed for document flow path switch,
Brief description
Fig. 1 is a kind of flow chart of specific embodiment of the method for the invention;
Fig. 2 is technical configuration file schematic diagram in the method for the invention embodiment;
Fig. 3 is technical configuration device flow chart in the method for the invention embodiment;
Fig. 4 is tactful analytical equipment flow chart in the method for the invention embodiment;
Fig. 5 is policy enforcement means flow chart in the method for the invention embodiment;
Fig. 6 is automatic fault tolerant device flow chart in the method for the invention embodiment;
Fig. 7 is to change shelves design sketch above in the method for the invention embodiment(PPT);
Fig. 8 is to change shelves design sketch hereinafter in the embodiment of the present invention(PDF).
Specific embodiment
With reference to the accompanying drawings and detailed description the present invention is described in detail.
Embodiments provide a kind of method that between dissimilar document, flow path switch is processed, can by the method To improve to conversion efficiency between dissimilar document, reduce the time, improve the stability of program, improve the control to flow path switch System and the automation of flow path switch.
The system that between a kind of dissimilar document, flow path switch is processed, including following device:
Bottom conversion equipment, for loading the bottom switch technology realized between dissimilar document;
Technical configuration device, configures for realizing technology by configuration file to bottom conversion;
Analysis of strategies device, for being analyzed to the strategy changed between dissimilar document;
Policy enforcement means, for parsing strategy, execution document conversion, call bottom conversion equipment to realize dissimilar literary composition Change between shelves;
Automatic fault tolerant device, after making a mistake during implementation strategy, carries out strategy and analyzes, then execute.
The present invention passes through analysis of strategies device, carries out the analysis of switching strategy, then passes through policy enforcement means, to conversion Strategy is executed, and by automatic fault tolerant device, carries out respective handling to the mistake in policy enforcement procedure, and carries out strategy again Analyze, execute again.
As shown in figure 1, the side processing for flow path switch between a kind of dissimilar document in the specific embodiment of the invention The flow chart of method, comprises the following steps:
Step S11, loads the Floor layer Technology realizing conversion between dissimilar document;
Step S12, formulates the XML configuration file of technical configuration device, configuration step(1)In technology realize;
Step S13, using technical configuration device, timing cycle is read configuration file XML, is loaded by class, realizes conversion Technical configuration device heat deployment mechanism;
Step S14, using analysis of strategies device, analyzes the incoming Source Type document of user and target type document, and makes Determine optimum translation strategy;
Step S15, using policy enforcement means, the switching strategy of parsing execution step S14 gained, realizes dissimilar Change between document;
Step S16, whether determination strategy execution is successful, if it fails, proceeding to step S17, otherwise, proceeds to step S18;
Step S17, using automatic fault tolerant device, after policy enforcement means make a mistake, this device carries out error analysis, Strategy is analyzed again, then executes;
Step S18, returns to target type document path, and flow path switch terminates;
Step S19, after executing unsuccessfully until All Policies, still fails successful document conversion, then gives user and carry out Manual handle.
In the present invention, how to formulate switch technology XML configuration file under illustrating first and technical configuration device realize principle, As follows:
Switch technology XML configuration file is as shown in Figure 2;
1)Root node<services>Under can deposit 0 or N number of service node;
2)Each<service>The corresponding type switch technology configuration of node;
3)<service>Node, can only have 1<service-name>Child node, to specify present node type to turn Call by name title;
4)<service>Node, there may be N number of<service-impl>Child node, to specify the conversion of present node type Multiple technologies realize,<service-impl>Nodal community stability specifies stability coefficient, and value is bigger, consistent Property is stronger.
The workflow diagram of technical configuration device is as shown in Figure 3:
1)This technology XML configuration file is loaded onto technical configuration device, then XML loader device will read this automatically Configuration file, type is changed corresponding technology and realizes together being read in internal memory, and existed in key-value pair mode;
2)Technical configuration device can load XML configuration file by clocked flip, can judge whether to have identical key in internal memory Existing, if having, adopting update mode;If not existing, adopt new add mode;Can will read up-to-date technical configuration, more Newly in internal memory;
3)Technical configuration device automatic heating deployment mechanisms, by up-to-date technical configuration, after reading in internal memory, by from Define Classloader, reload configured Floor layer Technology and realize class, to keep the conversion skill of analytical equipment, performs device foundation Art is up-to-date.
Then it is described separately analysis of strategies device, policy enforcement means, the operation principle of automatic fault tolerant device.
The workflow diagram of analysis of strategies device is as shown in Figure 4:
Analysis of strategies device can according to the Floor layer Technology configuration of storage in internal memory, and the incoming Source Type document of user and Target type document, analyzes optimum translation strategy.
1)According to Source Type, target type, analyze the type conversion title;
As:Source Type:Docx, target type:Swf, the then entitled Docx2Swf of this conversion;
2)Search this conversion title Docx2Swf, if there is corresponding conversion and realize technology key-value pair;
3)If existing, by the stability coefficient realizing class, taking coefficient highest to realize class, being Docx2Swf type conversion skill Art realizes class, and is added in strategy set;
4)If not existing, parsing the type conversion title, search whether to exist and can be changed with the type of transition;Check gauge Then:
A) decomposing D ocx2Swf, with 2 as separator, obtains Docx, Swf character string;
B) search respectively with Docx beginning and technology key assignments is realized with the type conversion corresponding conversion of title of Swf ending Right, there is one kind not find if both is searched, the type conversion does not exist can transitional type be changed, and does not execute, must return Return;
If c) two kinds of lookups all have qualified type conversion, can take respectively and be turned with the type of Docx beginning Change, changed with the type of Swf ending, respectively transitional type conversion is analyzed;As:Type conversion with Docx beginning: Docx2Txt, Docx2Pdf, with the type conversion of Swf ending:Ppt2Swf、Pdf2Swf;
D) analysis Docx2Txt, Docx2Pdf and Ppt2Swf, Pdf2Swf, first judges with the type conversion of Docx beginning Whether target type is identical with the Source Type of the type conversion being ended up with Swf, if identical, the skill of this two corresponding types conversions Art is realized class and can be realized the conversion of Docx2Swf type, by the stability coefficient realizing class, takes coefficient highest to realize class, and adds To in strategy set;
As:Docx2Txt, Docx2Pdf and Ppt2Swf, Pdf2Swf, wherein Docx2Pdf are combined with Pdf2Swf, The type conversion of Docx2Swf just can be completed;
If differing, taking with the target type of Docx beginning with the Source Type of Swf ending, intersecting the new type of composition Conversion title, changes title, execution step 1 again to new type respectively)To step 4), you can;
As:Docx2Txt and Ppt2Swf, Pdf2Swf, then can intersect produce new type conversion title Txt2Ppt, Txt2Pdf, changes title Txt2Ppt, Txt2Pdf, execution step 1 again to new type respectively)To step 4), you can.
The workflow diagram of policy enforcement means is as shown in Figure 5:
The switching strategy that policy enforcement means draw according to analytical equipment, parses switching strategy, formulates Doctype conversion Workflow, executes and records execution information.
1)Switching strategy is actual to realize class string assemble for each technology;
2)Policy resolution device parses switching strategy, and resolution rules are as follows:
A) travel through switching strategy set, search corresponding technology and realize class, determine that correspondence realizes whether class can obtain example simultaneously Available, and obtain corresponding type conversion name set;
B) realize the type conversion name set of class according to correspondence, be ranked up;Ordering rule is as follows:
I. change title Xxx2Yyy according to type, with 2 separations, obtain Source Type Xxx, target type Yyy;
Ii.. traversal type conversion name set, searches whether there is the type that target type is Xxx according to Source Type Xxx Conversion title, if existing, Xxx2Yyy comes thereafter, obtains the type conversion title finding, continues executing with, two steps; If not existing, Xxx2Yyy ranked first position;
Iii. traversal type conversion name set, searches whether there is the type that Source Type is Yyy according to target type Yyy Conversion title, if existing, before Xxx2Yyy coming it, obtaining the type conversion title finding, continuing executing with, two steps; If not existing, Xxx2Yyy arranges rearmost position;
C) according to the type conversion name set that acquisition is orderly, switching strategy set of sorting, and it is packaged into work in order Flow object, workflow objects are returned;
3)Strategy execution device, executes the 2nd)The workflow objects that step returns;Executing rule is as follows:
A) iterative technique realizes class to workflow objects in order, uses for strategy execution device;
B) strategy execution device, realizes class, and executes and realize class;
C) strategy execution device again returns to execution information to workflow objects;
4)The execution information preserving according to workflow objects, judges whether switching strategy runs succeeded, failure, then trigger certainly Dynamic fault tolerance facility, and incoming workflow objects;Success, then return to target type document path.
The workflow diagram of automatic fault tolerant device is as shown in Figure 6:
Automatic fault tolerant device, analyzes incoming workflow objects, obtains and record the execution information of performs device, and reduces Correspondence realizes consistent property coefficient, then carries out strategy and analyzes, then executes, until All Policies all executeds, not yet Success, then return failure information to user, failure handling power is given user, failed by user's manual handle.
1)Policy enforcement means will fail workflow objects, incoming and trigger automatic fault tolerant device;
2)Automatic fault tolerant device analysis device, automatically analyzes workflow objects execution information;Analytical procedure is as follows:
A) analyze workflow objects, obtain each switch technology execution journal;
B) analyze execution journal, obtain the switch technology of failure;
C) analyze workflow objects, obtain the switching strategy set of executed;
3)Automatic fault tolerant de-vice processor, the switch technology stability coefficient of failure is reduced by 0.1;
4)Automatic fault tolerant de-vice processor, judges current implementation strategy, in the history strategy set of workflow objects, is No exist, if existing, failure information is returned to user, and by user, participation is processed manually;If not existing, execution step 5);
5)Automatic fault tolerant de-vice processor, current implementation strategy is deposited in the history strategy set of workflow objects, And by workflow objects together incoming analysis of strategies device, policy enforcement means, carry out strategy and analyze again, then execute.
As can be seen from the above description, the above embodiments of the present invention improve the efficiency of Doctype conversion, steady Qualitative, automation property, in terms of technology extension, is greatly enhanced.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Computing device realizing, they can concentrate on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the executable program code of computing device, such that it is able to be stored in To be executed by computing device in storage device, or they are fabricated to each integrated circuit modules respectively, or by them Multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention be not restricted to any specifically hard Part and software combine.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (16)

1. the system that between a kind of dissimilar document, flow path switch is processed, including following device:
Bottom conversion equipment, for loading the bottom switch technology realized between dissimilar document;
Technical configuration device, configures for realizing technology by configuration file to bottom conversion;Described configuration file is XML configuration file, configuration bottom layer realization technology and consistent coefficient in XML configuration file, for analysis of strategies device, strategy Performs device uses;
Analysis of strategies device, for being analyzed to the strategy changed between dissimilar document;Described analysis of strategies device According to the various switch technologies providing and consistent coefficient, optimum translation between analysis Source Type document and target type document Strategy, formulates conversion plan;
Policy enforcement means, for parsing strategy, execution document conversion, call bottom conversion equipment realize dissimilar document it Between change.
2. the system that between a kind of dissimilar document, flow path switch is processed as claimed in claim 1, is characterized in that:This system Also include automatic fault tolerant device, after making a mistake during implementation strategy, carry out strategy and analyze again, then execute.
3. the system that between a kind of dissimilar document, flow path switch is processed as claimed in claim 1, is characterized in that:Described Technical configuration device can need to be custom-configured according to user, and supports heat deployment mechanism, in technical configuration device fortune Under row state, switch technology increase and modification can be carried out.
4. the system that between a kind of dissimilar document, flow path switch is processed as claimed in claim 1, is characterized in that:Described Policy enforcement means, according to switching strategy, analysis bottom switch technology calls order, and generates conversion work stream, determines document Conversion call flow.
5. the system that between a kind of dissimilar document, flow path switch is processed as claimed in claim 4, is characterized in that:Described Policy enforcement means, change call flow according to document, obtain document conversion calling technology, monitor and record conversion work stream and hold Row situation.
6. the system that between a kind of dissimilar document, flow path switch is processed as claimed in claim 2, is characterized in that:Described Automatic fault tolerant device, for carrying out error analysis, misregistration daily record to the conversion of the document of failure, and reduces the corresponding bottom of strategy Consistent coefficient;After error analysis finishes, call switching strategy analytical equipment, switching strategy performs device again, carry out plan Slightly analyze again, execute again.
7. a kind of method that between dissimilar document, flow path switch is processed, comprises the following steps:
(1) load the Floor layer Technology realizing conversion between dissimilar document;
(2) formulate the XML configuration file of technical configuration device, the technology in configuration step (1) is realized;In XML configuration file Configuration bottom layer realization technology and consistent coefficient, use for analysis of strategies device, policy enforcement means;
(3) technical configuration device timing cycle reads configuration file XML, is loaded by class, realizes switch technology configuration device heat Deployment mechanisms;
(4) the incoming Source Type document of analysis of strategies device analysis user and target type document, and formulate optimum translation strategy; Described analysis of strategies device is according to the various switch technologies providing and consistent coefficient, analysis Source Type document and target class Optimum translation strategy between type document, formulates conversion plan;
(5) switching strategy of policy enforcement means parsing execution step (4) gained, realizes conversion between dissimilar document.
8. a kind of method that between dissimilar document, flow path switch is processed as claimed in claim 7, is characterized in that, the method Further comprising the steps of:
(6) after switching strategy runs succeeded, return to the path of target type document;
(7) after policy enforcement means make a mistake, this device carries out error analysis to automatic fault tolerant device, and strategy is analyzed again, then Execution;
(8) after executing unsuccessfully until All Policies, still fail successful document conversion, then give user and carry out manual handle.
9. a kind of method that between dissimilar document, flow path switch is processed as claimed in claim 7, is characterized in that:Step (1) in, when realizing switch technology between dissimilar document, palpus interface-oriented programming, provide unified interface standard upwards, downwards The shielding obstructed realization of bottom, is easy to switch technology extension.
10. a kind of method that between dissimilar document, flow path switch is processed as claimed in claim 7, is characterized in that:Step (2), in, the structure of switch technology XML configuration file is as follows:
1) root node<services>Under can deposit 0 or N number of service node, N be positive integer;
2) each<service>The corresponding type switch technology configuration of node;
3)<service>Node, can only have 1<service-name>Child node, to specify present node type conversion name Claim;
4)<service>Node, there may be N number of<service-impl>Child node, to specify the many of present node type conversion The technology of kind is realized,<service-impl>Nodal community stability specifies stability coefficient, and value is bigger, and technical stability is got over By force.
The 11. a kind of methods that flow path switch is processed between dissimilar document as claimed in claim 7, is characterized in that, step (3), in, described technical configuration device timing cycle reads configuration file XML, is loaded by class, realizes switch technology configuration device The concrete grammar of heat deployment mechanism is:
1) technology XML configuration file is loaded onto technical configuration device, then XML loader device will read this configuration literary composition automatically Part, type is changed corresponding technology and realizes together being read in internal memory, and existed in key-value pair mode;
2) whether technical configuration device can load XML configuration file by clocked flip, can judge with the presence of identical key in internal memory, If having, adopt update mode;If not existing, adopt new add mode;Can will read up-to-date technical configuration, update interior In depositing;
3) technical configuration device automatic heating deployment mechanisms, by up-to-date technical configuration, after reading in internal memory, by self-defined Classloader, reloads configured Floor layer Technology and realizes class, with the switch technology keeping analytical equipment, performs device foundation is Up-to-date.
The 12. a kind of methods that flow path switch is processed between dissimilar document as claimed in claim 11, is characterized in that, described The concrete grammar of step (4) is:
1) according to Source Type, target type, analysis the type conversion title;
2) search this conversion title, it is determined whether there is corresponding conversion and realize technology key-value pair;
3) if existing, by the stability coefficient realizing class, taking coefficient highest to realize class, and being added in strategy set;
4) if not existing, parsing the type conversion title, search whether to exist and can be changed with the type of transition.
The 13. a kind of methods that flow path switch is processed between dissimilar document as claimed in claim 8, is characterized in that, step (5) in, the switching strategy that policy enforcement means draw according to analytical equipment, parse switching strategy, formulate Doctype conversion work Flow, execute and record execution information, concrete grammar is:
1) switching strategy is actual realizes class string assemble for each technology;
2) policy resolution device parsing switching strategy;
3) strategy execution device, the workflow objects that execution the 2nd step returns;Executing rule is as follows:
A) iterative technique realizes class to workflow objects in order, uses for strategy execution device;
B) strategy execution device, realizes class, and executes and realize class;
C) strategy execution device again returns to execution information to workflow objects;
The execution information preserving according to workflow objects, judges whether switching strategy runs succeeded, failure, then trigger automatic fault tolerant Device, and incoming workflow objects;Success, then return to target type document path.
The 14. a kind of methods that flow path switch is processed between dissimilar document as claimed in claim 13, is characterized in that, step 2), in, the rule that policy resolution device parses switching strategy is as follows:
A) travel through switching strategy set, search corresponding technology and realize class, determine that correspondence realizes whether class can obtain example and can use, And obtain corresponding type conversion name set;
B) realize the type conversion name set of class according to correspondence, be ranked up;Ordering rule is as follows:
I. change title Xxx2Yyy according to type, with 2 separations, obtain Source Type Xxx, target type Yyy;
Ii.. traversal type conversion name set, searches whether there is the type conversion that target type is Xxx according to Source Type Xxx Title, if existing, Xxx2Yyy comes thereafter, obtains the type conversion title finding, continues executing with, two steps;If no Exist, then Xxx2Yyy ranked first position;
Iii. traversal type conversion name set, searches whether there is the type conversion that Source Type is Yyy according to target type Yyy Title, if existing, before Xxx2Yyy coming it, obtaining the type conversion title finding, continuing executing with, two steps;If no Exist, then Xxx2Yyy row rearmost position;
C) according to the type conversion name set that acquisition is orderly, switching strategy set of sorting, and it is packaged into workflow pair in order As workflow objects are returned.
The 15. a kind of methods that flow path switch is processed between dissimilar document as claimed in claim 13, is characterized in that, step (7) in, the incoming workflow objects of automatic fault tolerant device analysis, obtain and record the execution information of performs device, and reduction is right Consistent property coefficient should be realized, then carry out strategy and analyze again, then execute, until All Policies all executeds, become not yet Work(, then return failure information to user, failure handling power is given user, failed by user's manual handle, concrete grammar is as follows:
1) policy enforcement means will fail workflow objects, incoming and trigger automatic fault tolerant device;
2) automatic fault tolerant device analysis device, automatically analyzes workflow objects execution information;
3) automatic fault tolerant de-vice processor, the switch technology stability coefficient of failure is reduced by 0.1;
4) automatic fault tolerant de-vice processor, judges current implementation strategy, in the history strategy set of workflow objects, if Existing, if existing, failure information being returned to user, participation is processed manually by user;If not existing, execution step 5);
5) automatic fault tolerant de-vice processor, current implementation strategy is deposited in the history strategy set of workflow objects, and will Workflow objects together incoming analysis of strategies device, policy enforcement means, carry out strategy and analyze, then execute.
The 16. a kind of methods that flow path switch is processed between dissimilar document as claimed in claim 15, is characterized in that, step 2), in, the analytical procedure automatically analyzing workflow objects execution information is as follows:
A) analyze workflow objects, obtain each switch technology execution journal;
B) analyze execution journal, obtain the switch technology of failure;
C) analyze workflow objects, obtain the switching strategy set of executed.
CN201210573167.8A 2012-12-25 2012-12-25 Method and system for processing transformation process between different types of documents Expired - Fee Related CN103902515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210573167.8A CN103902515B (en) 2012-12-25 2012-12-25 Method and system for processing transformation process between different types of documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210573167.8A CN103902515B (en) 2012-12-25 2012-12-25 Method and system for processing transformation process between different types of documents

Publications (2)

Publication Number Publication Date
CN103902515A CN103902515A (en) 2014-07-02
CN103902515B true CN103902515B (en) 2017-02-08

Family

ID=50993845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210573167.8A Expired - Fee Related CN103902515B (en) 2012-12-25 2012-12-25 Method and system for processing transformation process between different types of documents

Country Status (1)

Country Link
CN (1) CN103902515B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109145268A (en) * 2018-08-22 2019-01-04 中国建设银行股份有限公司 A kind of document conversion method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289407A (en) * 2011-09-06 2011-12-21 北京信息科技大学 Method for automatically testing document format conversion and device thereof
CN102364457A (en) * 2011-11-02 2012-02-29 苏州阔地网络科技有限公司 Document transformation method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289407A (en) * 2011-09-06 2011-12-21 北京信息科技大学 Method for automatically testing document format conversion and device thereof
CN102364457A (en) * 2011-11-02 2012-02-29 苏州阔地网络科技有限公司 Document transformation method and system

Also Published As

Publication number Publication date
CN103902515A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103605764B (en) A kind of network crawler system and web crawlers multitask execution and dispatching method
CN110109681B (en) Method and system for converting codes between different platforms
CN103412742B (en) Application program can configure UI method and device
Yu From 3G to 4G: technology evolution and path dynamics in China's mobile telecommunication sector
CN105446799A (en) Method and system for performing rule management in computer system
CN104461531B (en) A kind of implementation method of reporting system SQL
CN110275831A (en) The mock data verification method and device of protocol interface
CN108334515A (en) The method, apparatus and system of stack address in file are collapsed in a kind of processing
CN109614106A (en) A kind of C++ program compiling method and device
CN107609061A (en) A kind of method and apparatus of data syn-chronization
CN106484821A (en) Hybrid cloud storage method under cloud computing architecture
Vaculín et al. Towards automatic mediation of OWL-S process models
Spillner et al. A versatile and scalable everything-as-a-service registry and discovery
CN107679141A (en) Data storage method, device, equipment and computer-readable recording medium
CN108804120A (en) A kind of page makeup method, apparatus, equipment and storage medium
CN103902515B (en) Method and system for processing transformation process between different types of documents
CN110134380A (en) A kind of code generating method based on template engine, device and electronic equipment
CN111191103B (en) Method, device and storage medium for identifying and analyzing enterprise subject information from internet
CN110019380A (en) A kind of data query method, apparatus, server and storage medium
Li et al. Full solution indexing using database for qos-aware web service composition
CN110471968A (en) Dissemination method, device, equipment and the storage medium of ETL task
CN113110982B (en) Data access layer verification method and device, storage medium and electronic device
CN109992293A (en) The assemble method and device of android system complement version information
CN103647687A (en) Method and device for verifying business parameters of application system
CN104408120B (en) The processing method and processing device of source code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170208

Termination date: 20171225

CF01 Termination of patent right due to non-payment of annual fee