Summary of the invention
The present invention, just based on the problems referred to above, proposes a kind of new technical scheme, can remove the strong dependence between different system and different field, be supported between different system and different field, realizes working in coordination with between different business.
In view of this, an aspect of of the present present invention proposes a kind of data collaborative method, comprising: when arbitrary system performs specified services operation, that monitors the operation of described specified services works as pre-treatment event; According to the described message configuration information when pre-treatment event, determine the downstream recipient of the described upstream data when the generation of pre-treatment event; The data conversion information corresponding with described downstream recipients according to storing in described arbitrary system processes described upstream data, to obtain downstream data; Described downstream data is sent to described downstream recipient.
In this technical scheme, when system performs specified services, monitor current processing time, according to the recipient of the upstream data that message configuration information determination current event generates, thus generation downstream data sends to downstream recipient automatically, thus realize automation collaborative propelling movement.Such as, when user performs specific activity, when such as examining data object, the event that this activity sends intercepted by running gear, by message arrangement during collaborative configuration and Data Conversion Protocol, determine downstream recipients, automatically generate the data in downstream according to translation-protocol in real time, and notify downstream recipients, thus the automation collaborative completing real meaning pushes.
In technique scheme, preferably, also comprise: according to the setting command received, described message configuration information and described data conversion information are set.
In this technical scheme, user can arrange message configuration information and data conversion information according to individual demand, when design and running, reading message arrangement and Data Conversion Protocol configuration are packaged in event expansion monitoring, monitor inherently easily extensible, what read again is the agreement that dynamic configures simultaneously, greatly strengthen the extensibility that automation collaborative pushes, though be design time or operationally, the message arrangement of data object activity and Data Conversion Protocol configuration have completely low coupled relation, concurrent development when also making design, during operation, dynamic expansion and replacement cooperation service can easily realize.
In technique scheme, preferably, described message configuration information comprises upstream caller information and downstream recipient information, and described data conversion information comprises contrast relationship information and/or the data transfer device information of the attribute information of upstream transmit leg, the attribute information of downstream recipient, upstream data and downstream data.
In technique scheme, preferably, also comprise: receive the feedback information sent from described downstream recipient; When receiving described feedback information, judge that described downstream recipient receives described downstream data; When not receiving described feedback information, judge that described downstream recipient does not receive described downstream data.
In this technical scheme, in order to ensure that transmit leg can understand the accepting state of recipient, recipient can give transmit leg feedback information, according to this information, transmit leg can judge whether recipient successfully receives downstream data.
In technique scheme, preferably, also comprising: when judging that described downstream recipient does not receive described downstream data, resending described downstream data to described downstream recipient.
In this technical scheme, when downstream recipient does not receive downstream data, transmit leg resends, thus ensures that downstream recipient can receive downstream data.
According to a further aspect in the invention, additionally provide a kind of data collaborative device, comprising: monitoring unit, when arbitrary system performs specified services operation, that monitors the operation of described specified services works as pre-treatment event; Determining unit, according to the described message configuration information when pre-treatment event, determines the downstream recipient of the described upstream data when the generation of pre-treatment event; Date Conversion Unit, the data conversion information corresponding with described downstream recipients according to storing in described arbitrary system processes described upstream data, to obtain downstream data; Transmitting element, is sent to described downstream recipient by described downstream data.
In this technical scheme, when system performs specified services, monitor current processing time, according to the recipient of the upstream data that message configuration information determination current event generates, thus generation downstream data sends to downstream recipient automatically, thus realize automation collaborative propelling movement.Such as, when user performs specific activity, when such as examining data object, the event that this activity sends intercepted by running gear, by message arrangement during collaborative configuration and Data Conversion Protocol, determine downstream recipients, automatically generate the data in downstream according to translation-protocol in real time, and notify downstream recipients, thus the automation collaborative completing real meaning pushes.
In technique scheme, preferably, also comprise: setting unit, according to the setting command received, described message configuration information and described data conversion information are set.
In this technical scheme, user can arrange message configuration information and data conversion information according to individual demand, when design and running, reading message arrangement and Data Conversion Protocol configuration are packaged in event expansion monitoring, monitor inherently easily extensible, what read again is the agreement that dynamic configures simultaneously, greatly strengthen the extensibility that automation collaborative pushes, though be design time or operationally, the message arrangement of data object activity and Data Conversion Protocol configuration have completely low coupled relation, concurrent development when also making design, during operation, dynamic expansion and replacement cooperation service can easily realize.
In technique scheme, preferably, described message configuration information comprises upstream caller information and downstream recipient information, and described data conversion information comprises contrast relationship information and/or the data transfer device information of the attribute information of upstream transmit leg, the attribute information of downstream recipient, upstream data and downstream data.
In technique scheme, preferably, also comprise: receiving element, receive the feedback information sent from described downstream recipient; Identifying unit, when receiving described feedback information, judges that described downstream recipient receives described downstream data, when not receiving described feedback information, judges that described downstream recipient does not receive described downstream data.
In this technical scheme, in order to ensure that transmit leg can understand the accepting state of recipient, recipient can give transmit leg feedback information, according to this information, transmit leg can judge whether recipient successfully receives downstream data.
In technique scheme, preferably, described transmitting element also for: when judging that described downstream recipient does not receive described downstream data, resend described downstream data to described downstream recipient.
In this technical scheme, when downstream recipient does not receive downstream data, transmit leg resends, thus ensures that downstream recipient can receive downstream data.
By technical scheme of the present invention, message arrangement, Data Conversion Protocol, action listener technology has been used all to split when designing and when running between module and module, dependence coupled relation between system and system, be supported in design state and run mode expand according to actual needs, the amendment of amendment Business Initiator and recipient and data protocol, and do not need the logic revising collaborative automation propelling movement.Thus larger flexibility and efficiency improvement is brought when designing and when running, also substantially increase the operating efficiency of information-based client.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description and understand the present invention so that fill son; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 shows the flow chart of data collaborative method according to an embodiment of the invention.
As shown in Figure 1, data collaborative method according to an embodiment of the invention, comprising: step 102, and when arbitrary system performs specified services operation, that monitors the operation of described specified services works as pre-treatment event; Step 104, according to the described message configuration information when pre-treatment event, determines the downstream recipient of the described upstream data when the generation of pre-treatment event; Step 106, the data conversion information corresponding with described downstream recipients according to storing in described arbitrary system processes described upstream data, to obtain downstream data; Step 108, is sent to described downstream recipient by described downstream data.
In this technical scheme, when system performs specified services, monitor current processing time, according to the recipient of the upstream data that message configuration information determination current event generates, thus generation downstream data sends to downstream recipient automatically, thus realize automation collaborative propelling movement.Such as, when user performs specific activity, when such as examining data object, the event that this activity sends intercepted by running gear, by message arrangement during collaborative configuration and Data Conversion Protocol, determine downstream recipients, automatically generate the data in downstream according to translation-protocol in real time, and notify downstream recipients, thus the automation collaborative completing real meaning pushes.
In technique scheme, preferably, also comprise: according to the setting command received, described message configuration information and described data conversion information are set.
In this technical scheme, user can arrange message configuration information and data conversion information according to individual demand, when design and running, reading message arrangement and Data Conversion Protocol configuration are packaged in event expansion monitoring, monitor inherently easily extensible, what read again is the agreement that dynamic configures simultaneously, greatly strengthen the extensibility that automation collaborative pushes, though be design time or operationally, the message arrangement of data object activity and Data Conversion Protocol configuration have completely low coupled relation, concurrent development when also making design, during operation, dynamic expansion and replacement cooperation service can easily realize.
In technique scheme, preferably, described message configuration information comprises upstream caller information and downstream recipient information, and described data conversion information comprises contrast relationship information and/or the data transfer device information of the attribute information of upstream transmit leg, the attribute information of downstream recipient, upstream data and downstream data.
In technique scheme, preferably, also comprise: receive the feedback information sent from described downstream recipient; When receiving described feedback information, judge that described downstream recipient receives described downstream data; When not receiving described feedback information, judge that described downstream recipient does not receive described downstream data.
In this technical scheme, in order to ensure that transmit leg can understand the accepting state of recipient, recipient can give transmit leg feedback information, according to this information, transmit leg can judge whether recipient successfully receives downstream data.
In technique scheme, preferably, also comprising: when judging that described downstream recipient does not receive described downstream data, resending described downstream data to described downstream recipient.
In this technical scheme, when downstream recipient does not receive downstream data, transmit leg resends, thus ensures that downstream recipient can receive downstream data.
Fig. 2 shows the schematic block diagram of data collaborative device according to an embodiment of the invention.
As shown in Figure 2, data collaborative device 200 according to an embodiment of the invention, comprising: monitoring unit 202, and when arbitrary system performs specified services operation, that monitors the operation of described specified services works as pre-treatment event; Determining unit 204, according to the described message configuration information when pre-treatment event, determines the downstream recipient of the described upstream data when the generation of pre-treatment event; Date Conversion Unit 206, the data conversion information corresponding with described downstream recipients according to storing in described arbitrary system processes described upstream data, to obtain downstream data; Transmitting element 208, is sent to described downstream recipient by described downstream data.
In this technical scheme, when system performs specified services, monitor current processing time, according to the recipient of the upstream data that message configuration information determination current event generates, thus generation downstream data sends to downstream recipient automatically, thus realize automation collaborative propelling movement.Such as, when user performs specific activity, when such as examining data object, the event that this activity sends intercepted by running gear, by message arrangement during collaborative configuration and Data Conversion Protocol, determine downstream recipients, automatically generate the data in downstream according to translation-protocol in real time, and notify downstream recipients, thus the automation collaborative completing real meaning pushes.
In technique scheme, preferably, also comprise: setting unit 210, according to the setting command received, described message configuration information and described data conversion information are set.
In this technical scheme, user can arrange message configuration information and data conversion information according to individual demand, when design and running, reading message arrangement and Data Conversion Protocol configuration are packaged in event expansion monitoring, monitor inherently easily extensible, what read again is the agreement that dynamic configures simultaneously, greatly strengthen the extensibility that automation collaborative pushes, though be design time or operationally, the message arrangement of data object activity and Data Conversion Protocol configuration have completely low coupled relation, concurrent development when also making design, during operation, dynamic expansion and replacement cooperation service can easily realize.
In technique scheme, preferably, described message configuration information comprises upstream caller information and downstream recipient information, and described data conversion information comprises contrast relationship information and/or the data transfer device information of the attribute information of upstream transmit leg, the attribute information of downstream recipient, upstream data and downstream data.
In technique scheme, preferably, also comprise: receiving element 212, receive the feedback information sent from described downstream recipient; Identifying unit 214, when receiving described feedback information, judges that described downstream recipient receives described downstream data, when not receiving described feedback information, judges that described downstream recipient does not receive described downstream data.
In this technical scheme, in order to ensure that transmit leg can understand the accepting state of recipient, recipient can give transmit leg feedback information, according to this information, transmit leg can judge whether recipient successfully receives downstream data.
In technique scheme, preferably, described transmitting element 208 also for: when judging that described downstream recipient does not receive described downstream data, resend described downstream data to described downstream recipient.
In this technical scheme, when downstream recipient does not receive downstream data, transmit leg resends, thus ensures that downstream recipient can receive downstream data.
Below in conjunction with instantiation, describe technical scheme of the present invention in detail.
In order to realize the automatically real-time associated treatment between upstream and downstream, the invention provides unified collaborative configuration device and running gear.
The upstream and downstream that collaborative configuration device allows configuration collaborative, comprise: upstream and downstream data system, module, sender, recipient, the trigger action that upstream is collaborative, the receiving device in downstream, the contrast relationship of upstream and downstream data, the querying method in the upper stream queries downstream that downstream provides, the write-back method of the down-stream system write-back up-stream system that upstream provides and opportunity.
The data object of collaborative configuration device comprises:
Upstream and downstream definition is as shown in table 1.
Table 1
Upstream and downstream Data Conversion Protocol is as table 2
Table 2
Running gear realizes the data collaborative of automation.When user performs specific activity, when such as examining data object, the event that this activity sends intercepted by running gear, by message arrangement during collaborative configuration and Data Conversion Protocol, determine downstream recipients, automatically generate the data in downstream according to translation-protocol in real time, and notify downstream recipients, thus the automation collaborative completing real meaning pushes.
When design and running, reading message arrangement and Data Conversion Protocol configuration are packaged in event expansion monitoring, monitor inherently easily extensible, what read again is the agreement that dynamic configures simultaneously, greatly strengthen the extensibility that automation collaborative pushes, though be design time or operationally, the message arrangement of data object activity and Data Conversion Protocol configuration have completely low coupled relation, concurrent development when also making design, dynamic expansion and replace cooperation service and can easily realize when running.
Such as, lease management in assets and rent in management two modules, in the process that equipment is leased in inside, needed simple flow can from lease automatically be pushed to rent into administration module complete rent into operation.
Message configuration information is as shown in table 3.
Table 3
| Initiator | Recipient |
| A leases company | B Zu Ru company |
Data Conversion Protocol information is as shown in table 4.
Table 4
| Lease document | Rent into document |
| Assets lease tissue | Assets lease tissue |
| Assets are rented into tissue | Assets are rented into tissue |
| Equipment | Equipment |
| Lease the date | Rent into the date |
| Zero date | Zero date |
By event extension mechanism, when leasing single A and leasing Inc.'s list, after leasing single leader's examination & approval, monitor auditing events, by reading Data Conversion Protocol in snoop procedure, generating one rents into document, read message arrangement more simultaneously, after renting single generation, automatic notice has had cooperation service to push wait acknowledge of coming to B Zu Ru company, B rents and just can see that pushing the rent of coming enters document into corporate assets keeper by opening message, whether meet with comformed information, collaborative confirmation is directly clicked if met, so far collaborative automation pushes and just completes.
Cross-system described in the invention and cross-cutting automation collaborative method for pushing, bringing larger flexibility and efficiency improvement, also substantially increasing the operating efficiency of information-based client when designing and when running.
In the development and Design stage, configuration registry personnel and programming in logic personnel can parallel expansion code developments separately, can't interact, as long as both are in accordance with calling specification.
Operationally, existing configuration can be revised and expand accordingly, but cooperation service pushes logic can not make an amendment.
Client was first by phone or mail agreement business tine in similar this cooperation service process in the past, after then being completed by a side, was completed again by phone or mail notification the other side, then other side content list processed more according to a preconcerted arrangement again.Such working method efficiency is very low, if employ after mode described herein can be examined by side's list completely and be pushed directly to an other side, receive message over there and directly can open the collaborative document generated, if agreeing to just work in coordination with confirms, otherwise can not confirm.Such ability really reaches informationalized object.
More than be described with reference to the accompanying drawings technical scheme of the present invention, by the technical program, the sorting time of tree structure data can be shortened widely, decrease the application of recursive program simultaneously, greatly accelerate sequencing production, and the sequence effectively improving user is experienced.
Term " connection " etc. all should be interpreted broadly, and such as, can be fixedly connected with, also can be removably connect, or connect integratedly; Can be directly be connected, also indirectly can be connected by intermediary.For the ordinary skill in the art, above-mentioned term concrete meaning in the present invention can be understood as the case may be.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.