CN107992537A - Service attribute transmission method, device, computer equipment and storage medium - Google Patents
Service attribute transmission method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN107992537A CN107992537A CN201711189687.8A CN201711189687A CN107992537A CN 107992537 A CN107992537 A CN 107992537A CN 201711189687 A CN201711189687 A CN 201711189687A CN 107992537 A CN107992537 A CN 107992537A
- Authority
- CN
- China
- Prior art keywords
- work order
- task
- flow
- shared
- service systems
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F16/273—Asynchronous replication or reconciliation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Abstract
The present invention relates to a kind of service attribute transmission method, device, computer equipment and storage medium.Method includes:Obtain and be provided with the shared flow of task that the heterogeneous service systems of coffret are initiated, coffret to include data acquisition interface and Data synchronization interface;When performing some task node of shared flow of task, if task node needs to obtain business information, the business information of work order in shared flow of task is obtained from heterogeneous service systems by data acquisition interface;When task node needs business transferring attribute, then the service attribute of present node work order is transferred to by heterogeneous service systems by Data synchronization interface.Method by adding self-defined coffret, also can be to flow variable when enabling to perform shared flow of task in shared platform, i.e. work order carries out acquisition and the readjustment of data, then the demand of business datum displaying and modification can be realized when task is handled, so as to improve operating efficiency.
Description
Technical field
The present invention relates to field of computer technology, is set more particularly to a kind of service attribute transmission method, device, computer
Standby and storage medium.
Background technology
EAS (Enterprise Application Suites, Enterprise Application Suite), is a fusion TOGAF standards
The business management software of SOA framework.The workflow module process for using variable of EAS carrys out bearer service data, is matched somebody with somebody by BOS instruments
Flow variable has been put with after the relation of document attribute, service attribute is saved in workflow by mapping when business paper is submitted
Used in flow variable for follow-up.
In conventional art, flow variable can only obtain once when flow creates, and service attribute is in the event of change, flow
Variable can't change again, and flow variable can only carry the business datum with workflow module with eas server, isomery
EAS business modules or the business of non-EAS system cannot all carry.
The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, there is provided a kind of flow variable can carry synchronous and more new function
A kind of service attribute transmission method, device, computer equipment and storage medium.
A kind of service attribute transmission method, the described method includes:
Obtain there is provided the shared flow of task that the heterogeneous service systems of coffret are initiated, the coffret includes counting
According to acquisition interface and Data synchronization interface;
When performing some task node of the shared flow of task, if the task node needs to obtain business information
When, then the business of work order in the shared flow of task is obtained from the heterogeneous service systems by the data acquisition interface
Information;
When the task node needs business transferring attribute, then by the Data synchronization interface by present node work order
Service attribute be transferred to the heterogeneous service systems.
In one of the embodiments, at shared of the heterogeneous service systems initiation for obtaining and being provided with coffret
Before flow of being engaged in, further include:
Obtain the work order that heterogeneous service systems create;
The work order that the heterogeneous service systems create is preserved to database;
The shared flow of task is created according to the work order of preservation.
In one of the embodiments, it is described to obtain the shared task that the heterogeneous service systems of coffret are initiated that is provided with
Flow, including:
When the shared flow of task of initiation needs to include work order, then whether correspondence is stored with Test database
Work order;
If it is not, corresponding work order is then obtained from the heterogeneous service systems;
Establishment work order interface is called to re-create the work order got according to interface rules;
Work order after re-creating is preserved to database;
Work order after being re-created described in being stored in database is added in the shared flow of task.
In one of the embodiments, it is described when performing some task node of the shared flow of task, if described
Task node need obtain business information when, then obtained by the data acquisition interface from the heterogeneous service systems described in
The business information of work order in shared flow of task, including:
When the metadata for the work order business information for detecting the task node in shared flow of task, which has, to be changed,
The newest industry of work order in flow of task is then obtained from the metadata in the heterogeneous service systems by the data acquisition interface
Business information.
In one of the embodiments, if the task node needs business transferring attribute, the number is passed through
The service attribute of present node work order is transferred to the heterogeneous service systems according to sync cap, including:
When the work order service attribute for detecting the task node in shared flow of task, which has, to be changed, then pass through institute
State Data synchronization interface and the service attribute of present node work order is transferred to the heterogeneous service systems.
A kind of service attribute transfer device, described device include:
Flow of task acquisition module, for obtaining, there is provided the shared task flow that the heterogeneous service systems of coffret are initiated
Journey, the coffret include data acquisition interface and Data synchronization interface;
Business information obtaining module, for when performing some task node of the shared flow of task, if described
When business node needs to obtain business information, then obtained by the data acquisition interface from the heterogeneous service systems described common
Enjoy the business information of work order in flow of task;
Service attribute transfer module, for when the task node needs business transferring attribute, then passing through the data
The service attribute of present node work order is transferred to the heterogeneous service systems by sync cap.
In one of the embodiments, described device further includes:
Work order acquisition module is created, for obtaining the work order of heterogeneous service systems establishment;
Work order memory module, the work order for the heterogeneous service systems to be created are preserved to database;
Flow of task creation module, for creating the shared flow of task according to the work order of preservation.
In one of the embodiments, the flow of task acquisition module includes:
Detection module, for when the shared flow of task of initiation needs to include work order, then in Test database
Whether corresponding work order is stored with;
Work order acquisition module, for when detection module detects and is not stored with corresponding work order in database, then from institute
State and corresponding work order is obtained in heterogeneous service systems;
Work order re-creates module, for calling establishment work order interface to create the work order got again according to interface rules
Build;
Work order memory module, for preserving the work order after re-creating to database;
Work order add module, is added to described shared appoint for the work order after re-creating described in being stored in database
In flow of being engaged in.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, the processor realize following steps when performing described program:
Obtain there is provided the shared flow of task that the heterogeneous service systems of coffret are initiated, the coffret includes counting
According to acquisition interface and Data synchronization interface;
When performing some task node of the shared flow of task, if the task node needs to obtain business information
When, then the business of work order in the shared flow of task is obtained from the heterogeneous service systems by the data acquisition interface
Information;
When the task node needs business transferring attribute, then by the Data synchronization interface by present node work order
Service attribute be transferred to the heterogeneous service systems.
A kind of computer-readable recording medium, is stored thereon with computer program, real when described program is executed by processor
Existing following steps:
Obtain there is provided the shared flow of task that the heterogeneous service systems of coffret are initiated, the coffret includes counting
According to acquisition interface and Data synchronization interface;
When performing some task node of the shared flow of task, if the task node needs to obtain business information
When, then the business of work order in the shared flow of task is obtained from the heterogeneous service systems by the data acquisition interface
Information;
When the task node needs business transferring attribute, then by the Data synchronization interface by present node work order
Service attribute be transferred to the heterogeneous service systems.
Above-mentioned service attribute transmission method, device, computer equipment and storage medium, by defining two coffrets,
Respectively obtain interface and sync cap;Obtain the shared task that the heterogeneous system of added described two coffrets is initiated
Flow;In the task node of shared flow of task, the business information of work order in flow of task is obtained by obtaining interface, is passed through
The service attribute of present node work order is transferred to heterogeneous system by sync cap.Method by adding self-defined coffret,
Also flow variable, i.e. work order can be carried out the acquisition of data when enabling to perform shared flow of task in shared platform and returned
Adjust, then the demand of business datum displaying and modification can be realized when task is handled, so as to improve operating efficiency.
Brief description of the drawings
Fig. 1 is the applied environment figure of service attribute transmission method in one embodiment;
Fig. 2 is the internal structure schematic diagram of one embodiment Computer equipment;
Fig. 3 is the flow diagram of service attribute transmission method in one embodiment;
Fig. 4 is the flow diagram that heterogeneous service systems initiate shared flow of task in one embodiment;
Fig. 5 is the flow diagram of service attribute transmission method in another embodiment;
Fig. 6 is heterogeneous service systems and the structure diagram of shared platform service transmission in one embodiment;
Fig. 7 is the structure diagram of service attribute transfer device in one embodiment;
Fig. 8 is the structure diagram of service attribute transfer device in another embodiment;
Fig. 9 is the structure diagram of flow of task acquisition module in one embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 shows the applied environment figure of service attribute transmission method in one embodiment.With reference to Fig. 1, the service attribute
Transmission method can be applied in service attribute transmission system, which includes heterogeneous service systems 110 and shared platform 120, different
Structure operation system 110 is connected by network with shared platform 120.Heterogeneous service systems 110 and shared platform 120 can be respectively
Realize the server of simple function or realize the server of multiple functions, can be specifically independent physical server,
It can also be physical server cluster.Heterogeneous service systems 110 there is provided coffret initiate to share in shared platform 120
After flow of task, when shared platform 120 is performing some task node of shared flow of task, if task node needs to obtain
During business information, shared platform 120 is then obtained altogether by the data acquisition interface in coffret from heterogeneous service systems 110
Enjoy the business information of work order in flow of task;When task node needs business transferring attribute, shared platform 120 then passes through transmission
The service attribute of present node work order is transferred to heterogeneous service systems 110 by the Data synchronization interface in interface.
Fig. 2 is the internal structure schematic diagram of one embodiment Computer equipment.The computer equipment can be specifically as
Shared platform 120 in Fig. 1.As shown in Fig. 2, computer equipment include by system bus connection processor, storage medium,
Built-in storage and network interface.Wherein, which is used to provide calculating and control ability, supports the operation of whole terminal.Meter
The storage medium for calculating machine equipment is stored with operating system and computer program, when which is executed by processor, makes
Obtain processor and realize a kind of service attribute transmission method.Built-in storage in computer equipment can also store computer program,
When the computer program is executed by processor, it may be such that processor performs a kind of service attribute transmission method.Computer equipment
Network interface is used to communicate with heterogeneous service systems 110, such as receives the shared flow of task that heterogeneous service systems 110 are initiated.
It will be understood by those skilled in the art that structure shown in Figure 2, only part knot relevant with the present invention program
The block diagram of structure, does not form the restriction for the terminal being applied thereon to the present invention program, and specific terminal can be included than figure
Shown in more or fewer components, either combine some components or arranged with different components.
As shown in figure 3, in one embodiment, there is provided a kind of service attribute transmission method, this method is with applied to such as
It is illustrated in shared platform shown in Fig. 1.Including:
Step 302, obtain and be provided with the shared flow of task that the heterogeneous service systems of coffret are initiated, coffret bag
Include data acquisition interface and Data synchronization interface.
Heterogeneous system, is the set of relevant multiple Database Systems, it is possible to achieve the shared and transparent access of data, often
A Database Systems have inherently existed before heterogeneous database system is added.Each part tool of heterogeneous database
There is the autonomy of itself, while realizing data sharing, each Database Systems still possess the application characteristic of oneself, integrality control
System and security control.And heterogeneous service systems are then one kind in heterogeneous system, it is mainly used for the system of storage service data.
And shared platform is then that can integrate and service as a shared service system external.
Two interfaces are defined for heterogeneous service systems in shared platform, are that data acquisition interface and data are synchronous respectively
Interface.Before heterogeneous service systems initiate shared flow of task in shared platform, which can be according to shared
The setting that platform defines in advance sets data acquisition interface and Data synchronization interface, is then initiated altogether in shared platform again
Enjoy flow of task.
Step 304, when performing some task node of shared flow of task, if task node needs to obtain business information
When, then the business information for sharing work order in flow of task is obtained from heterogeneous service systems by data acquisition interface.
Multiple tasks node is had in shared flow of task, the business information or have difference that each task node needs,
Business information generally refers to the specifying information included in work order, for example initiates the user of task, it is necessary to user of examination & verification etc..When
When the task node gone to needs to obtain business information, then it can be obtained by data acquisition interface from heterogeneous service systems
The business information of work order in shared flow of task.Work order business information in heterogeneous service systems is there occurs during renewal, when shared
When platform obtains the business information of work order by data acquisition interface from heterogeneous service systems, the newest of the work order can be got
Business information, then in the shared flow of task in shared platform, the business information of the work order can be also updated.
Step 306, when task node needs business transferring attribute, then by Data synchronization interface by present node work order
Service attribute be transferred to heterogeneous service systems.
, then can be by Data synchronization interface by present node when the task node gone to needs business transferring attribute
The service attribute of work order is transferred to heterogeneous service systems.When shared flow of task is performed in shared platform, some is gone to
During task node, the service attribute of work order subsidiary in flow of task may be modified, can pass through number after modification
The amended service attribute of the work order is transferred to heterogeneous service systems according to sync cap, will currently the service attribute of work order with
The data in heterogeneous service systems where the metadata of work order synchronize.
Method by adding self-defined coffret, when enabling to perform shared flow of task in shared platform
Flow variable, i.e. work order can be carried out acquisition and the readjustment of data, then business datum exhibition can be realized when task is handled
The demand shown and changed, so as to improve operating efficiency.
In one embodiment, obtain there is provided coffret heterogeneous service systems initiate shared flow of task it
Before, further include:Obtain the work order that heterogeneous service systems create;The work order that heterogeneous service systems create is preserved to database;Root
Shared flow of task is created according to the work order of preservation.
Before heterogeneous service systems initiate shared flow of task in shared platform, the interface wound for creating work order can be first called
Build a work order.Heterogeneous service systems all can first call this to create work order before entering shared platform and initiating shared flow of task
Interface work order is re-created, this way is the convenient management for the work order form in unified shared platform.When work order creates
After, it can be saved in database, when creating shared flow of task, it is necessary to then transfer this from database when using work order
Work order in the database is preserved, and work order is added in shared flow of task, which is in the shared flow of task
Flow variable.
The work order for being required for first calling shared platform pre-set into the work order of shared platform creates interface, by work order
Re-creating according to unified form, and be first saved in database, the work order after unified form can be more convenient management and call, therefore
Work order in shared flow of task is taken from database, that is, ensure that the form of the work order included in shared flow of task is
Unified, also allow for processing and operation to work order when performing flow of task.
In one embodiment, as shown in figure 4, heterogeneous service systems initiate shared flow of task, including:
Step 402, when the shared flow of task of initiation needs to include work order, then whether it is stored with Test database
Corresponding work order, if it is not, then performing step 404;If so, then perform step 412.
When heterogeneous service systems initiate shared flow of task in shared platform, work can be included in shared flow of task
It is single, work order can not also be included, if need the actual needs for including the shared flow of task that work order depends on initiation.Work as hair
When the shared flow of task risen needs to include work order, then whether there can be the work order that storage needs in Test database.Database
It can be the database in local data base or shared platform, when having higher requirements to processing speed, also may be used
Preferentially to be searched from local data base.
Step 404, corresponding work order is obtained from heterogeneous service systems.
Step 406, establishment work order interface is called to re-create the work order got according to interface rules.
Step 408, the work order after re-creating is preserved to database.
Step 410, the work order after being re-created what is stored in database is added in shared flow of task.
When searching the work order less than needs in database, shared platform then can be by the acquisition interface of standard from isomery industry
The work order of needs is obtained in business system.After getting work order, first can create interface according to the work order of shared platform Plays will obtain
The work order got re-creates, i.e., the work order got from heterogeneous service systems can exist according to the rule in shared platform again
It is subsequently supplied in shared platform.Work order after re-creating can't be immediately added in shared flow of task, but meeting
First the work order re-created is saved in database, work order can be just added to after preserving in shared flow of task.
Step 412, then the correspondence work order stored in database is added in shared flow of task.
When the shared flow of task of initiation needs to include work order, whether shared platform can have storage in Test database
The work order needed, when detecting in database there are during work order in need, then directly can get work order from database
And it is added in shared flow of task.
The shared flow of task initiated in shared platform, is not each to need to be added with work order, sometimes for
Simplify is also that can not add work order.And for needing the shared flow of task of addition work order, work order is obtained from database
Take, if obtaining less than can then be transferred from heterogeneous service systems.After being deployed into work order, work order can't be added immediately
Into shared flow of task, but need to call the work order of shared platform to create what interface defined work order according to shared platform
Form re-creates, and after being saved in database, then the work order is obtained from database, it is then added in shared flow of task.
Work order in i.e. shared flow of task is taken from database, can so be avoided work order form excessively diversified, be caused holding
There is the problems such as operating trouble when sharing flow of task in row, also allows for the management to work order.
In one embodiment, when performing some task node of shared flow of task, if task node needs to obtain
During business information, then the business letter of work order in shared flow of task is obtained from heterogeneous service systems by data acquisition interface
Breath, including:
When detect the metadata of work order business information of the task node in shared flow of task have changed when, then lead to
Cross the newest business information that data acquisition interface obtains work order in flow of task from the metadata in heterogeneous service systems.
Each shared flow of task can have multiple tasks node, when performing shared flow of task in shared platform,
Data Detection can be carried out to each task node.The subsidiary work order of shared flow of task is all derived from heterogeneous service systems,
Therefore the metadata of work order is present in heterogeneous service systems, and the work order stored in shared platform database is simply shared
Platform gets the work order backed up during work order.Therefore when the work order industry for detecting some task node in shared flow of task
The metadata of business information has when being changed, and shared platform is in order to get newest work order business information, it is necessary to call data to obtain
Interface is taken to be obtained from the metadata in heterogeneous service systems, after obtaining successfully, you can shared by what is be carrying out in shared platform
Work order business information renewal in flow of task.By calling data acquisition interface, enable to shared platform shared in execution
During flow of task, newest work order business information can be also obtained, work order metadata is avoided and have modified but share flow of task
In information do not update but, occur data inconsistent situation when causing to go to task node below, also ensure that data
Accuracy.
In one embodiment, will be current by Data synchronization interface if task node needs business transferring attribute
The service attribute of node work order is transferred to heterogeneous service systems, including:When detecting the task node in shared flow of task
Work order service attribute has when being changed, then the service attribute of present node work order is transferred to isomery industry by Data synchronization interface
Business system.
Work order service attribute referred to including the company of voucher, business date, by means of information such as credit accounts in the work order,
When some shared flow of task is performed in shared platform, the implementation status of each task node can be monitored.When shared task flow
When journey goes to the task node that some needs business transferring attribute, whether the work order service attribute that can detect the task node has
Changed.When detecting that the work order service attribute has that when being changed, shared platform will be by calling Data synchronization interface will be
Amended work order service attribute pulls back to heterogeneous service systems in shared platform so that heterogeneous service systems can obtain in time
Amended work order service attribute on to shared platform.
Work order on heterogeneous service systems is that the establishment for first passing through shared platform connects before shared flow of task is added to
Mouth, which re-creates, to be preserved in database, and taken out from database.Therefore, the work order added in shared flow of task with
The metadata preserved in heterogeneous service systems is distinguishing.Therefore when some task node in shared flow of task is to work order
After service attribute is modified, the work order metadata that is preserved in heterogeneous service systems can't be with changing.It is and present
Since shared platform defines Data synchronization interface so that with the addition of the heterogeneous service systems of Data synchronization interface in shared platform
After having initiated shared flow of task, shared platform can be by Data synchronization interface by the service attribute transmission of present node work order
To heterogeneous service systems, so then the service attribute of work order timely simply can be transferred to heterogeneous service systems.
In one embodiment, as shown in Figure 5, there is provided a kind of service attribute transmission method, this method is with applied to such as
It is illustrated in shared platform shown in Fig. 1.Including:
Step 502, obtaining heterogeneous system calls work order to create the work order that interface creates, and preserves to database.
Before shared platform is entered, heterogeneous service systems can be called first in shared platform work order in heterogeneous service systems
The work order pre-established creates interface and re-creates work order, i.e., according to the regular lattice by work order for creating interface of shared platform
Formula is unified.After work order is created again, it can preserve into database, this database can be the cloud storage in shared platform,
Can also be locally stored, the mode of storage can be depending on the consideration of developer.Heterogeneous service systems can be isomery
EAS operation systems.
Step 504, work order is submitted, creates shared flow of task.
When the work order on heterogeneous service systems is re-created according to the establishment interface in shared platform and is preserved to number
Behind storehouse, the shared flow of task that heterogeneous service systems are initiated can just succeed.After shared task creation success, you can perform shared
Each task node in flow of task.
Step 506, the task node of shared task examination & verification is performed.
Step 508, if need to obtain newest business information, if so, then performing step 510;If it is not, then perform step
512。
Step 510, data acquisition interface is called to obtain the newest business information of work order from heterogeneous service systems.
Task node in shared flow of task includes shared task examination & verification, is going to the task of shared task examination & verification
During node, it can judge whether current task node needs to obtain newest work order business information.When task node needs to obtain
During newest work order business information, shared platform can call data acquisition interface to obtain the newest of work order from heterogeneous service systems
Business information.
As shown in fig. 6, when performing the task node of intelligent checks, data acquisition interface can be called from heterogeneous service systems
The middle newest business information for obtaining work order.Intelligent checks are an advanced application scenarios of task processing, it can provide system
The intelligent judging results the such as whether comparison of automatic decision various businesses attribute, associated data consistent show.Intelligently examining
During core, the data that are carried according to work order, definable attribute compares during examination & verification, therefore needs to obtain most in the task node of examination & verification
New source service attribute.At this time, shared platform can call data acquisition interface to obtain the newest of work order from heterogeneous service systems
Business information.And in the conventional technology, flow variable only carries acquisition and the displaying characteristic of service attribute, can not carry same
Step and more new function, work order are the flow variable in shared flow of task.
Step 512, task is handled.
When the task node of shared task examination & verification need not obtain newest business information, or appointing when shared task examination & verification
Business node needs to obtain newest business information, and by calling data acquisition interface to get the newest business of work order
Information, after this, can all continue to execute task node, that is, carry out task processing.
Step 514, whether task examination & verification have modified service attribute, if so, then performing step 516;If it is not, then perform step
518。
Step 516, call Data synchronization interface that the service attribute of present node work order is transferred to heterogeneous service systems.
After task audits node, shared platform can be detected in the task node of task examination & verification, if having modification work order
Service attribute.When the service attribute for detecting work order, which has, to be changed, shared platform can then call Data synchronization interface ought
The amended service attribute of front nodal point work order is transferred to heterogeneous service systems so that heterogeneous service systems can upgrade in time
Business attribute information in shared flow of task.As shown in fig. 6, after detecting that work order information is modified, shared platform
It will call Data synchronization interface that amended work order service attribute is passed to heterogeneous service systems in time, make in time shared flat
Data between platform and heterogeneous service systems are synchronous.
Step 518, audit task to complete, business readjustment.
Shared platform then audits task when detecting the service attribute of the task node of task examination & verification and unmodified work order
Complete, shared platform can adjust back the result of this examination & verification to heterogeneous service systems.
Work order in shared flow of task is actually flow variable, and in the conventional technology, the workflow module of EAS makes
With flow variable come bearer service data, by BOS instruments, (Eclipse for aiming at exploitation EAS related service function packages is inserted
Part, Eclipse are the developing instruments based on java language) configured the relation of flow variable and document attribute after, business
Service attribute is saved in the flow variable of workflow by mapping when document is submitted and is used for follow-up.But flow variable storage
In workflow module table, it is impossible to which integration across database preserves, therefore isomery EAS and the service attribute of non-EAS system all cannot be direct
Preserve in this table.
After shared platform has formulated data acquisition interface with Data synchronization interface, then it can realize and be performed in shared platform
During shared flow of task, the work order business information that have updated in heterogeneous service systems can be timely obtained, and in time will be shared
Amended work order attribute passes to heterogeneous service systems on platform, and quick and easy realizes shared platform and heterogeneous service systems
Between data it is synchronous, also improve the execution efficiency of task in shared flow of task.
As shown in fig. 7, in one embodiment, there is provided a kind of service attribute transfer device, the device include:
Flow of task acquisition module 702, for obtaining, there is provided shared that the heterogeneous service systems of coffret are initiated
Business flow, coffret include data acquisition interface and Data synchronization interface;
Business information obtaining module 704, for when performing some task node of shared flow of task, if task node
When needing to obtain business information, then work order in shared flow of task is obtained from heterogeneous service systems by data acquisition interface
Business information;
Service attribute transfer module 706, for when task node needs business transferring attribute, then synchronously being connect by data
The service attribute of present node work order is transferred to heterogeneous service systems by mouth.
In one embodiment, as shown in figure 8, additionally providing a kind of service attribute transfer device, including:
Flow of task acquisition module 702, for obtaining, there is provided shared that the heterogeneous service systems of coffret are initiated
Business flow, coffret include data acquisition interface and Data synchronization interface;
Business information obtaining module 704, for when performing some task node of shared flow of task, if task node
When needing to obtain business information, then work order in shared flow of task is obtained from heterogeneous service systems by data acquisition interface
Business information;
Service attribute transfer module 706, for when task node needs business transferring attribute, then synchronously being connect by data
The service attribute of present node work order is transferred to heterogeneous service systems by mouth.
Work order acquisition module 708 is created, for obtaining the work order of heterogeneous service systems establishment;
Work order memory module 710, the work order for heterogeneous service systems to be created are preserved to database;
Flow of task creation module 712, for creating shared flow of task according to the work order of preservation.
In one embodiment, as shown in figure 9, flow of task acquisition module 702 includes:
Detection module 902, for when the shared flow of task of initiation needs to include work order, being in Test database then
It is no to be stored with corresponding work order;
Work order acquisition module 904, for when detection module detects and is not stored with corresponding work order in database, then from
Corresponding work order is obtained in heterogeneous service systems;
Work order re-creates module 906, and work order interface is created by the work order got according to interface rules weight for calling
It is new to create;
Work order memory module 908, for preserving the work order after re-creating to database;
Work order add module 910, is added to shared task flow for the work order after being re-created what is stored in database
Cheng Zhong.
In one embodiment, above-mentioned business information obtaining module 704 is additionally operable to, when detecting in shared flow of task
The metadata of the work order business information of task node has when being changed, then by data acquisition interface from heterogeneous service systems
Metadata obtains the newest business information of work order in flow of task.
In one embodiment, above-mentioned service attribute transfer module 706 is additionally operable to, when detecting in shared flow of task
The work order service attribute of task node has when being changed, then is passed the service attribute of present node work order by Data synchronization interface
It is handed to heterogeneous service systems.
In one embodiment, a kind of computer-readable recording medium is additionally provided, is stored thereon with computer program, should
Following steps are realized when program is executed by processor:Obtain the shared task that the heterogeneous service systems of coffret are initiated that is provided with
Flow, coffret include data acquisition interface and Data synchronization interface;When some task node for performing shared flow of task
When, if task node needs to obtain business information, shared appoint is obtained from heterogeneous service systems by data acquisition interface
The business information of work order in flow of being engaged in;, then will be current by Data synchronization interface when task node needs business transferring attribute
The service attribute of node work order is transferred to heterogeneous service systems.
In one embodiment, computer program is executed by processor the heterogeneous service that above-mentioned acquisition is provided with coffret
Before the step of shared flow of task that system is initiated, further include:Obtain the work order that heterogeneous service systems create;By heterogeneous service
The work order of system creation is preserved to database;Shared flow of task is created according to the work order of preservation.
In one embodiment, computer program is executed by processor the heterogeneous service systems obtained there is provided coffret
During the step for the shared flow of task initiated, including:When the shared flow of task of initiation needs to include work order, then testing number
According to whether being stored with corresponding work order in storehouse;If it is not, corresponding work order is then obtained from heterogeneous service systems;Establishment work order is called to connect
Mouth re-creates the work order got according to interface rules;Work order after re-creating is preserved to database;By database
Work order after the re-creating of middle storage is added in shared flow of task.
In one embodiment, computer program is executed by processor when some task node for performing shared flow of task
When, if task node needs to obtain business information, shared appoint is obtained from heterogeneous service systems by data acquisition interface
In flow of being engaged in during the step of the business information of work order, including:When the work order industry for detecting the task node in shared flow of task
The metadata of business information has when being changed, then obtains task flow from the metadata in heterogeneous service systems by data acquisition interface
The newest business information of work order in journey.
In one embodiment, if computer program is executed by processor task node when needing business transferring attribute,
When the service attribute of present node work order being transferred to the step of heterogeneous service systems by Data synchronization interface, including:Work as inspection
Measuring the work order service attribute of the task node in shared flow of task has when being changed, then will be current by Data synchronization interface
The service attribute of node work order is transferred to heterogeneous service systems.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, program can be stored in one and non-volatile computer-readable deposit
In storage media, in the embodiment of the present invention, which can be stored in the non-volatile memory medium of computer system, and by this
At least one processor in computer system performs, to realize the flow for including the embodiment such as above-mentioned each method.Wherein,
Storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory
(Random Access Memory, RAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to make description succinct, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, lance is not present in the combination of these technical characteristics
Shield, is all considered to be the scope of this specification record.
Above example only expresses the several embodiments of the present invention, its description is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art,
On the premise of not departing from present inventive concept, various modifications and improvements can be made, these belong to protection scope of the present invention.
Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of service attribute transmission method, the described method includes:
Obtain and be provided with the shared flow of task that the heterogeneous service systems of coffret are initiated, the coffret to be obtained including data
Take interface and Data synchronization interface;
When performing some task node of the shared flow of task, if the task node needs to obtain business information,
The business letter of work order in the shared flow of task is then obtained from the heterogeneous service systems by the data acquisition interface
Breath;
When the task node needs business transferring attribute, then by the Data synchronization interface by the industry of present node work order
Business attribute is transferred to the heterogeneous service systems.
2. method according to claim 1, it is characterised in that in the heterogeneous service systems obtained there is provided coffret
Before the shared flow of task initiated, further include:
Obtain the work order that heterogeneous service systems create;
The work order that the heterogeneous service systems create is preserved to database;
The shared flow of task is created according to the work order of preservation.
3. method according to claim 1, it is characterised in that described to obtain the heterogeneous service systems hair for being provided with coffret
The shared flow of task risen, including:
When the shared flow of task of initiation needs to include work order, then corresponding work whether is stored with Test database
It is single;
If it is not, corresponding work order is then obtained from the heterogeneous service systems;
Establishment work order interface is called to re-create the work order got according to interface rules;
Work order after re-creating is preserved to database;
Work order after being re-created described in being stored in database is added in the shared flow of task.
4. method according to claim 1, it is characterised in that described when some the task section for performing the shared flow of task
During point, if the task node needs to obtain business information, by the data acquisition interface from the heterogeneous service system
The business information of work order in the shared flow of task is obtained in system, including:
When the metadata for the work order business information for detecting the task node in shared flow of task, which has, to be changed, then lead to
Cross the newest business letter that the data acquisition interface obtains work order in flow of task from the metadata in the heterogeneous service systems
Breath.
5. method according to claim 1, it is characterised in that if the task node needs business transferring attribute,
The service attribute of present node work order is then transferred to by the heterogeneous service systems by the Data synchronization interface, including:
When the work order service attribute for detecting the task node in shared flow of task, which has, to be changed, then pass through the number
The service attribute of present node work order is transferred to the heterogeneous service systems according to sync cap.
6. a kind of service attribute transfer device, it is characterised in that described device includes:
Flow of task acquisition module, for obtaining there is provided the shared flow of task that the heterogeneous service systems of coffret are initiated,
The coffret includes data acquisition interface and Data synchronization interface;
Business information obtaining module, for when performing some task node of the shared flow of task, if the task section
When point needs to obtain business information, then described shared is obtained from the heterogeneous service systems by the data acquisition interface
The business information of work order in flow of being engaged in;
Service attribute transfer module, for when the task node needs business transferring attribute, then passing through data synchronization
The service attribute of present node work order is transferred to the heterogeneous service systems by interface.
7. device according to claim 6, it is characterised in that described device further includes:
Work order acquisition module is created, for obtaining the work order of heterogeneous service systems establishment;
Work order memory module, the work order for the heterogeneous service systems to be created are preserved to database;
Flow of task creation module, for creating the shared flow of task according to the work order of preservation.
8. device according to claim 6, it is characterised in that the flow of task acquisition module includes:
Detection module, for when the shared flow of task of initiation needs to include work order, then in Test database whether
It is stored with corresponding work order;
Work order acquisition module, for when detection module detects and is not stored with corresponding work order in database, then from described different
Corresponding work order is obtained in structure operation system;
Work order re-creates module, for calling establishment work order interface to re-create the work order got according to interface rules;
Work order memory module, for preserving the work order after re-creating to database;
Work order add module, is added to the shared task flow for the work order after re-creating described in being stored in database
Cheng Zhong.
9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, it is characterised in that the processor realizes business category described in claim 1-5 any one when performing described program
The step of property transmission method.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that described program is processed
The step of device realizes service attribute transmission method described in claim 1-5 any one when performing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711189687.8A CN107992537B (en) | 2017-11-24 | 2017-11-24 | Service attribute transmission method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711189687.8A CN107992537B (en) | 2017-11-24 | 2017-11-24 | Service attribute transmission method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107992537A true CN107992537A (en) | 2018-05-04 |
CN107992537B CN107992537B (en) | 2020-05-08 |
Family
ID=62032849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711189687.8A Active CN107992537B (en) | 2017-11-24 | 2017-11-24 | Service attribute transmission method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107992537B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753491A (en) * | 2018-12-29 | 2019-05-14 | 北京世纪互联宽带数据中心有限公司 | Data operational system and method, electronic equipment, storage medium |
CN110163554A (en) * | 2019-04-09 | 2019-08-23 | 北京奇艺世纪科技有限公司 | Operation method, device, server and the storage medium of workflow |
CN110955411A (en) * | 2019-10-25 | 2020-04-03 | 江西洪都航空工业集团有限责任公司 | Software integration interactive design method |
CN111626602A (en) * | 2020-05-25 | 2020-09-04 | 泰康保险集团股份有限公司 | Service processing method, service processing device, storage medium and electronic equipment |
CN112184411A (en) * | 2020-09-17 | 2021-01-05 | 京东数字科技控股股份有限公司 | Account processing method and device |
CN112465466A (en) * | 2020-12-10 | 2021-03-09 | 金蝶软件(中国)有限公司 | Flow task execution method and device, computer equipment and storage medium |
CN113553200A (en) * | 2021-07-26 | 2021-10-26 | 江苏数兑科技有限公司 | Information transmission method and system of cross-application system |
CN114661373A (en) * | 2022-03-10 | 2022-06-24 | 无线生活(杭州)信息科技有限公司 | Fusion method and device for multiple engineering tools |
CN112465466B (en) * | 2020-12-10 | 2024-05-03 | 金蝶软件(中国)有限公司 | Method, device, computer equipment and storage medium for executing flow task |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7676604B2 (en) * | 2005-11-22 | 2010-03-09 | Intel Corporation | Task context direct indexing in a protocol engine |
CN102082772A (en) * | 2009-11-30 | 2011-06-01 | 中国移动通信集团北京有限公司 | Method and system for realizing resource information access |
CN102521712A (en) * | 2011-12-27 | 2012-06-27 | 东软集团股份有限公司 | Process instance data processing method and device |
CN102571407A (en) * | 2010-12-30 | 2012-07-11 | 中国移动通信集团河北有限公司 | Alarm correlation analysis method and device |
CN103001962A (en) * | 2012-12-03 | 2013-03-27 | 中国联合网络通信集团有限公司 | Business support method and system |
CN104794609A (en) * | 2015-05-18 | 2015-07-22 | 北京北信源软件股份有限公司 | Instant communication system capable of supporting enterprise cooperative office |
CN104850665A (en) * | 2015-06-12 | 2015-08-19 | 江苏中威科技软件系统有限公司 | Method and system for realizing flow circulation based on flow embedding |
CN105302581A (en) * | 2015-12-02 | 2016-02-03 | 南京莱斯信息技术股份有限公司 | Workflow event mechanism implementation method based on script engine |
CN106408264A (en) * | 2016-09-29 | 2017-02-15 | 上海宝尊电子商务有限公司 | Pipeline based online sandbox environment method capable of realizing the business interaction with production environment |
CN107153950A (en) * | 2017-06-21 | 2017-09-12 | 广州智萃电子科技有限公司 | A kind of workform management system based on workflow |
-
2017
- 2017-11-24 CN CN201711189687.8A patent/CN107992537B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7676604B2 (en) * | 2005-11-22 | 2010-03-09 | Intel Corporation | Task context direct indexing in a protocol engine |
CN102082772A (en) * | 2009-11-30 | 2011-06-01 | 中国移动通信集团北京有限公司 | Method and system for realizing resource information access |
CN102571407A (en) * | 2010-12-30 | 2012-07-11 | 中国移动通信集团河北有限公司 | Alarm correlation analysis method and device |
CN102521712A (en) * | 2011-12-27 | 2012-06-27 | 东软集团股份有限公司 | Process instance data processing method and device |
CN103001962A (en) * | 2012-12-03 | 2013-03-27 | 中国联合网络通信集团有限公司 | Business support method and system |
CN104794609A (en) * | 2015-05-18 | 2015-07-22 | 北京北信源软件股份有限公司 | Instant communication system capable of supporting enterprise cooperative office |
CN104850665A (en) * | 2015-06-12 | 2015-08-19 | 江苏中威科技软件系统有限公司 | Method and system for realizing flow circulation based on flow embedding |
CN105302581A (en) * | 2015-12-02 | 2016-02-03 | 南京莱斯信息技术股份有限公司 | Workflow event mechanism implementation method based on script engine |
CN106408264A (en) * | 2016-09-29 | 2017-02-15 | 上海宝尊电子商务有限公司 | Pipeline based online sandbox environment method capable of realizing the business interaction with production environment |
CN107153950A (en) * | 2017-06-21 | 2017-09-12 | 广州智萃电子科技有限公司 | A kind of workform management system based on workflow |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753491A (en) * | 2018-12-29 | 2019-05-14 | 北京世纪互联宽带数据中心有限公司 | Data operational system and method, electronic equipment, storage medium |
CN109753491B (en) * | 2018-12-29 | 2021-03-26 | 北京世纪互联宽带数据中心有限公司 | Data operation and maintenance system and method, electronic equipment and storage medium |
CN110163554A (en) * | 2019-04-09 | 2019-08-23 | 北京奇艺世纪科技有限公司 | Operation method, device, server and the storage medium of workflow |
CN110955411A (en) * | 2019-10-25 | 2020-04-03 | 江西洪都航空工业集团有限责任公司 | Software integration interactive design method |
CN111626602A (en) * | 2020-05-25 | 2020-09-04 | 泰康保险集团股份有限公司 | Service processing method, service processing device, storage medium and electronic equipment |
CN111626602B (en) * | 2020-05-25 | 2023-08-01 | 泰康保险集团股份有限公司 | Service processing method, service processing device, storage medium and electronic equipment |
CN112184411A (en) * | 2020-09-17 | 2021-01-05 | 京东数字科技控股股份有限公司 | Account processing method and device |
CN112184411B (en) * | 2020-09-17 | 2024-04-09 | 京东科技控股股份有限公司 | Account processing method and device |
CN112465466A (en) * | 2020-12-10 | 2021-03-09 | 金蝶软件(中国)有限公司 | Flow task execution method and device, computer equipment and storage medium |
CN112465466B (en) * | 2020-12-10 | 2024-05-03 | 金蝶软件(中国)有限公司 | Method, device, computer equipment and storage medium for executing flow task |
CN113553200A (en) * | 2021-07-26 | 2021-10-26 | 江苏数兑科技有限公司 | Information transmission method and system of cross-application system |
CN114661373A (en) * | 2022-03-10 | 2022-06-24 | 无线生活(杭州)信息科技有限公司 | Fusion method and device for multiple engineering tools |
Also Published As
Publication number | Publication date |
---|---|
CN107992537B (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107992537A (en) | Service attribute transmission method, device, computer equipment and storage medium | |
US11593400B1 (en) | Automatic triage model execution in machine data driven monitoring automation apparatus | |
US10942960B2 (en) | Automatic triage model execution in machine data driven monitoring automation apparatus with visualization | |
US10572156B2 (en) | Capacity forecasting based on capacity policies and transactions | |
US20150363733A1 (en) | Project workspace prioritization | |
CN109614262B (en) | Service checking method, device and computer readable storage medium | |
CN110096424B (en) | Test processing method and device, electronic equipment and storage medium | |
CN106201861A (en) | The detection method of a kind of code quality and device | |
US9798576B2 (en) | Updating and redistributing process templates with configurable activity parameters | |
US10592312B2 (en) | Message oriented middleware with integrated rules engine | |
US20210191769A1 (en) | Performing runbook operations for an application based on a runbook definition | |
CN110659256A (en) | Multi-computer room synchronization method, computing device and computer storage medium | |
US20230267021A1 (en) | Information Management System Router | |
CN110290005A (en) | A kind of configuration variance detection method and device | |
US10901984B2 (en) | Enhanced batch updates on records and related records system and method | |
CN112308727A (en) | Insurance claim settlement service processing method and device | |
US20090198531A1 (en) | Method and system for discovering dependencies in project plans of distributed system | |
US20070185929A1 (en) | Method and apparatus for processing monitoring | |
EP2835774A1 (en) | A method and device for executing an enterprise process | |
CN109462507A (en) | Configure update method, device, system and electronic equipment | |
WO2023151397A1 (en) | Application program deployment method and apparatus, device, and medium | |
CN107832352A (en) | Daily record automatic processing method, device, storage medium and equipment | |
US10997057B2 (en) | Debugging asynchronous functions | |
CN114240392A (en) | Information processing method, task approval method, and information processing apparatus | |
US10896159B1 (en) | System, method, and computer program for configuration based coexistence routing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |