Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of data processing method and WebService assembly, under the prerequisite in guarantee information internet security, improves intranet and extranet communication convenience,Technical scheme is as follows:
First aspect, the embodiment of the present invention provides a kind of data processing method, is applicable to be associated with firstThe one WebService assembly of information system, described first information system by with the second information system phaseAssociated xegregating unit and described the second information system are carried out mathematical logic isolation; Described method comprises:
Obtain the first data transmission request of described first information system to described the second information system;
The first corresponding described first data transmission request data are converted to to meet described xegregating unit institute rightAnswer the second data of communication protocol;
Described the second data are write in database corresponding to described the second information system.
Accordingly, the embodiment of the present invention provides a kind of WebService assembly, is associated with first information systemSystem, described first information system is by the xegregating unit and described the second letter that are associated with the second information systemBreath system is carried out mathematical logic isolation; Described WebService assembly comprises:
The first request of data acquisition module, for obtaining described first information system to described the second information systemThe first data transmission request of system;
The second data determination module, for by the first corresponding described first data transmission request data transactionBy meeting the second data of the corresponding communication protocol of described xegregating unit;
The second data writing module is corresponding for described the second data are write to described the second information systemIn database.
Second aspect, the embodiment of the present invention provides a kind of data processing method, is applicable to be associated with secondThe 2nd WebService assembly of information system, described the second information system is by the xegregating unit being associatedCarry out mathematical logic isolation with first information system; Described method comprises:
Monitor and whether have the second data to be written in database corresponding to described the second information system, wherein,Described the second data are the first data transmission request of described first information system to described the second information systemCorresponding the first data be converted into meet described xegregating unit the data of corresponding communication protocol;
In the time listening to described the second data and be written in described database, right according to described xegregating unit instituteAnswer communication protocol, described the second data are reduced to corresponding the first data.
Accordingly, the embodiment of the present invention provides a kind of WebService assembly, is associated with the second information systemSystem, described the second information system is carried out mathematical logic by the xegregating unit and the first information system that are associatedIsolation; WebService assembly comprises:
Whether second monitors module, have the second data to be written into described the second information system correspondence for monitoringDatabase in, wherein, described the second data are described first information system to described the second information systemFirst data transmission request meeting of being converted into of corresponding the first data described xegregating unit institute corresponding logicalThe data of letter agreement;
Data restoring module, in the time listening to described the second data and be written into described database, pressesAccording to the communication protocol of described xegregating unit, described the second data are reduced to corresponding the first data.
The third aspect, the embodiment of the present invention provides a kind of data processing method, is applicable to be associated with firstThe one WebService assembly of information system, described first information system by with the second information system phaseAssociated xegregating unit and described the second information system are carried out mathematical logic isolation; Described method comprises:
Monitor and whether have the 4th data to be written in described database, wherein, described in described the 4th data areThe second information system is to the second corresponding the 3rd data transaction of data transfer request institute of described first information systemThe data of the data type that meets described database becoming;
In the time listening to described the 4th data and be written in described database, carry described the 4th data callThe respective service that described first information system provides;
Result corresponding to described the 4th data write in described database.
Accordingly, the embodiment of the present invention provides a kind of WebService assembly, is associated with first information systemSystem, described first information system is by the xegregating unit and described the second letter that are associated with the second information systemBreath system is carried out mathematical logic isolation; Described WebService assembly comprises:
Whether the 3rd monitors module, have the 4th data to be written into described database for monitoring, wherein,Described the 4th data are second data transfer request of described the second information system to described first information systemThe data of the data type that meets described database that becomes of corresponding the 3rd data transaction;
Second service calling module, in the time listening to described the 4th data and be written into described database,Carry the respective service that first information system provides described in described the 4th data call;
The second result writing module, for writing described data by result corresponding to described the 4th dataIn storehouse.
Fourth aspect, the embodiment of the present invention provides a kind of data processing method, is applicable to be associated with secondThe 2nd WebService assembly of information system, described the second information system is by the xegregating unit being associatedCarry out mathematical logic isolation with first information system; Described method comprises:
Obtain second data transfer request of described the second information system to described first information system;
The 3rd corresponding described the second data transfer request data are converted to the data that meet described databaseThe 4th data of type;
Described the 4th data are write in described database.
Accordingly, the embodiment of the present invention also provides a kind of WebService assembly, is associated with the second informationSystem, described the second information system is carried out data by the xegregating unit that is associated and first information system and is patrolledCollect isolation; WebService assembly comprises:
The second request of data acquisition module, for obtaining described the second information system to the described first information isThe second data transfer request of system;
The 4th data determination module, for by the 3rd corresponding described the second data transfer request data transactionFor meeting the 4th data of data type of described database;
The 4th data writing module, for writing described database by described the 4th data.
The 5th aspect, the embodiment of the present invention provides a kind of WebService assembly, is associated with the first informationSystem, described first information system is by the xegregating unit and described second being associated with the second information systemInformation system is carried out mathematical logic isolation; Described WebService assembly comprises:
The first request of data acquisition module, for obtaining described first information system to described the second information systemThe first data transmission request of system;
The second data determination module, for by the first corresponding described first data transmission request data transactionBy meeting the second data of the corresponding communication protocol of described xegregating unit;
The second data writing module is corresponding for described the second data are write to described the second information systemIn database;
First monitors module, for monitoring described in whether result corresponding to described the first data be written intoIn database;
The first result treatment module, for being written into when listening to result corresponding to described the first dataIn described database time, obtain described result and feed back to described first information system;
Whether the 3rd monitors module, have the 4th data to be written into described database for monitoring, wherein,Described the 4th data are second data transfer request of described the second information system to described first information systemThe data of the data type that meets described database that becomes of corresponding the 3rd data transaction;
Second service calling module, in the time listening to described the 4th data and be written into described database,Carry the respective service that first information system provides described in described the 4th data call;
The second result writing module, for writing described data by result corresponding to described the 4th dataIn storehouse.
The 6th aspect, the embodiment of the present invention provides a kind of WebService assembly, is associated with the second informationSystem, described the second information system is carried out data by the xegregating unit that is associated and first information system and is patrolledCollect isolation; WebService assembly comprises:
Second monitors module, and whether for monitoring, to have the second data to write described the second information system correspondingIn database, wherein, described the second data are that described first information system arrives described the second information systemFirst data transmission request the corresponding communication of meeting of being converted into of corresponding the first data described xegregating unit instituteThe data of agreement;
Data restoring module, in the time listening to described the second data and be written into described database, pressesAccording to the corresponding communication protocol of described xegregating unit, described the second data are reduced to corresponding the first data;
First service calling module, carries for carrying the second information system described in described the first data callThe respective service of confession;
The first result writing module, for writing described data by result corresponding to described the first dataIn storehouse;
The second request of data acquisition module, for obtaining described the second information system to the described first information isThe second data transfer request of system;
The 4th data determination module, for by the 3rd corresponding described the second data transfer request data transactionFor meeting the 4th data of data type of described database;
The 4th data writing module, for writing described database by described the 4th data;
The 4th monitors module, for monitoring described in whether result corresponding to described the 4th data be written intoIn database;
The second result treatment module, for being written into when listening to result corresponding to described the 4th dataIn described database time, obtain result corresponding to described the 4th data and feed back to described the second informationSystem.
In the technical scheme that the embodiment of the present invention provides, first information system by with the second information systemThe xegregating unit being associated and this second information system are carried out mathematical logic isolation, visit in first information systemWhile asking the second information system, the WebService assembly being associated with this first information system obtain this firstInformation system is to the first data transmission request of this second information system, by this first data transmission request pairFirst data of answering be converted to meet this xegregating unit the second data of corresponding communication protocol, and then shouldThe second data write in database corresponding to this second information system. Visible, in this programme, by byOne data be converted to meet xegregating unit the mode of the second data of corresponding communication protocol, make the first letterThe data that breath system is sent can arrive the second information system, realize in guarantee information internet security with thisPrerequisite under, improve intranet and extranet communication convenience.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried outDescribe clearly and completely, obviously, described embodiment is only the present invention's part embodiment, and notWhole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not makingThe every other embodiment obtaining under creative work prerequisite, belongs to the scope of protection of the invention.
Under the prerequisite in guarantee information internet security, improve intranet and extranet communication convenience, based on outsideWeb information system is the angle of the interior web information system of access initiatively, and the embodiment of the present invention provides a kind of data placeReason method and WebService assembly.
A kind of the data processing method below embodiment of the present invention being provided is introduced.
In order clearly to describe this programme, first from as the first information system of web information system closeThe angle of the one WebService assembly of connection, the data processing method that the embodiment of the present invention is provided is enteredRow is introduced.
It should be noted that, the data processing method that the embodiment of the present invention provides is applicable to be associated with firstThe one WebService assembly of information system, this first information system is by relevant to the second information systemXegregating unit and this second information system of connection are carried out mathematical logic isolation, namely, and this second information systemSystem is as interior web information system, its by xegregating unit with as the first information system of outer web information systemCarry out mathematical logic isolation, can be from first with the data that make the communication protocol that only meets xegregating unitInformation system is transferred to the second information system, and then the access security of guarantee information network. Should in realityWith in, the logic isolation technology that this xegregating unit utilizes can be fire wall, virtual subnet etc., and everyOne xegregating unit has corresponding communication protocol, and the data that only meet this communication protocol could pass through shouldXegregating unit is accessed the second information system.
Wherein, WebService is network, distributed modular assembly, and it carries out specificTask, observe concrete technical specification, and these concrete technical specifications make WebService can and itsThe assembly of his compatibility carries out interoperability, and WebService can use the Internet protocol (example of standardAs HTTP HTTP and XML etc.), by function embodiment at internet and intranetOn.
Be understandable that " first " and follow-up " second in " a WebService assembly "WebService assembly " in " second " be arranged at different Web in intranet and extranet just to distinguishingService assembly. Wherein, a WebService assembly is associated in first information system and specifically refers to:The external module that the one WebService assembly is disposed as the independence being connected with first information system, orPerson, a WebService assembly is as the intraware that embeds this first information system.
As shown in Figure 1, a kind of data processing method, can comprise:
S101, a WebService assembly obtains this first information system to the of this second information systemOne data transfer request;
In the time that first information system needs initiatively to the second information system transmission data, access this second letterWhen breath system, can directly call the WebService assembly being associated, and a WebService assembly can get this first information system please to the first data transmission of this second information systemAsk, and then utilize this first data transmission request to carry out follow-up processing.
Wherein, this first data transmission request can carry corresponding the first data, or this is first years oldData transfer request carries the address information of obtaining of corresponding the first data, and this is all rational.
S102, is converted to the first corresponding this first data transmission request data to meet this xegregating unit instituteThe second data of corresponding communication protocol;
The one WebService assembly is getting after this first data transmission request, can obtain thisThe first data that one data transfer request is corresponding, and these first data are converted to and meet this xegregating unit instituteThe second data of corresponding communication protocol.
Be understandable that, in the time that first data transmission request carries the first data, a WebService assembly directly obtains this first data from this first data transmission request; And when this firstData transfer request carry these the first data obtain address information time, a WebService assemblyNeed to obtain address information according to this, get this first data.
Be understandable that the xegregating unit between first information system and the second information system logicalLetter agreement, for a WebService assembly in pellucidity, i.e. a WebService assembly is understood the corresponding communication protocol of this xegregating unit; And, please by this first data transmissionAsk the first corresponding data to be converted to meet this xegregating unit the second data of corresponding communication protocol commonFor: the data format by the Data Format Transform of these the first data by the corresponding communication protocol of this xegregating unit,Using the data after conversion as the second data corresponding to the first data.
S103, writes these second data in database corresponding to this second information system.
These first data are converted to meet xegregating unit after the second data of corresponding communication protocol, byIn the second transmitted data symbols should the communication protocol of xegregating unit, therefore, can be by these the second dataWrite smoothly in database corresponding to this second information system, and then realized at xegregating unit and carried out dataIn logic isolation situation, do not meet this xegregating unit first data corresponding of corresponding communication protocolTwo data transfer to Intranet from outer net.
Be understandable that the network mark that these first data and the second packet contain this first information systemThe network identity of knowledge and this second information system, with source address and the destination address of clear and definite this data transfer.
It should be noted that, a WebService assembly and this database are by wired or wireless mode placeIn physical connection state, make in the case of the communication protocol that meets this xegregating unit a WebService assembly can carry out read/write operation to this database; And this database and the second information system inSeparate state, the 2nd WebService assembly in this second information system also passes through with this databaseWired or wireless mode is in physical connection state, makes meeting the feelings of communication protocol of this xegregating unitUnder condition, the 2nd WebService assembly can carry out read/write operation to this database.
In the technical scheme that the embodiment of the present invention provides, first information system by with the second information systemThe xegregating unit being associated and this second information system are carried out mathematical logic isolation, visit in first information systemWhile asking the second information system, the WebService assembly being associated with this first information system obtain this firstInformation system is to the first data transmission request of this second information system, by this first data transmission request pairFirst data of answering be converted to meet this xegregating unit the second data of corresponding communication protocol, and then shouldThe second data write in database corresponding to this second information system. Visible, in this programme, by byOne data be converted to meet xegregating unit the mode of the second data of corresponding communication protocol, make the first letterThe data that breath system is sent can arrive the second information system, realize in guarantee information internet security with thisPrerequisite under, improve intranet and extranet communication convenience.
Further, in these second data are write to this database after, a WebService groupWhether part can be monitored result corresponding to these the second data and be written in this database; And when listening toWhen result corresponding to these the second data is written in this database, obtains this result and feed back toThis first information system, has so far completed the first information system to the second based on first data transmission requestThis access of information system. Wherein, in result corresponding to these the second data, comprise this second informationThe network identity of the network identity of system and first information system, with the source address of clear and definite this data transferAnd destination address.
Below from the 2nd associated WebService assembly of the second information system as interior web information systemAngle, the data processing method that the embodiment of the present invention is provided is introduced.
It should be noted that, the data processing method that the embodiment of the present invention provides is applicable to be associated with secondThe 2nd WebService assembly of information system, this second information system by the xegregating unit that is associated withFirst information system is carried out mathematical logic isolation, and namely, this second information system as Intranet information isSystem, it is by xegregating unit and carry out mathematical logic isolation as the first information system of outer web information system,Can be transferred to second from first information system with the data that make the communication protocol that only meets xegregating unitInformation system, and then the access security of guarantee information network. In actual applications, this xegregating unit instituteThe logic isolation technology of utilizing can be fire wall, virtual subnet etc., and each xegregating unit has correspondingCommunication protocol, and the data that only meet this communication protocol could be passed through this xegregating unit access the second letterBreath system.
Wherein, the 2nd WebService assembly is associated in the second information system and specifically refers to: the 2nd WebService assembly is the independent external module of disposing being connected with the second information system, or, the 2nd WebService assembly is the intraware that embeds this second information system.
As shown in Figure 2, a kind of data processing method, can comprise:
Whether S201, monitor and have the second data to be written in database corresponding to this second information system, asFruit is to perform step S202; Otherwise, do not deal with;
Wherein, these second data are: this first information system passes to the first data of this second information systemDefeated request corresponding the first data be converted into meet this xegregating unit the data of corresponding communication protocol.
S202, according to the corresponding communication protocol of this xegregating unit, is reduced to corresponding by these second dataOne data.
Whether the 2nd WebService assembly is monitored and is had the second data to write this database in real time or regularlyIn, and in the time having listened to the second data and write in this database, show that this first information system wishes to visitAsk this second information system, now, according to the communication protocol of this xegregating unit, by this second data reductionFor corresponding the first data, realize the first data with this and transferred to Intranet from outer net.
Be understandable that the xegregating unit between first information system and the second information system logicalLetter agreement, for the 2nd WebService assembly in pellucidity, i.e. the 2nd WebService assembly is understood the corresponding communication protocol of this xegregating unit.
In the data processing method that the present embodiment provides, when the 2nd WebService assembly has listened toWhen two data are written in corresponding database, can be according to the communication protocol of this xegregating unit, by thisTwo data are reduced to corresponding the first data, realized the first data transfer to Intranet from outer net with this, realShow under the prerequisite of the security of guarantee information network, improved the convenience of intranet and extranet communication.
Further, the 2nd WebService assembly is being reduced to the second data after the first data,Can carry the respective service that this second information system of this first data call provides; By these the first dataCorresponding result writes in this database, to make a WebService assembly listen to firstAfter result corresponding to data is written in database, obtains this result and feed back to this first letterBreath system, has completed first information system based on first data transmission request to the second information system with thisThis access.
Corresponding to said method embodiment, the embodiment of the present invention provides a kind of WebService assembly, and it isThe one WebService assembly, is associated with first information system, and described first information system is by with secondThe xegregating unit that information system is associated and described the second information system are carried out mathematical logic isolation; As Fig. 3Shown in, described WebService assembly can comprise:
The first request of data acquisition module 310, for obtaining described first information system to described the second informationThe first data transmission request of system;
The second data determination module 320, for turning the first corresponding described first data transmission request dataBe changed to meet described xegregating unit the second data of corresponding communication protocol;
The second data writing module 330, for writing described the second data described the second information system correspondenceDatabase in.
In the technical scheme that the embodiment of the present invention provides, first information system by with the second information systemThe xegregating unit being associated and this second information system are carried out mathematical logic isolation, visit in first information systemWhile asking the second information system, the WebService assembly being associated with this first information system obtain this firstInformation system is to the first data transmission request of this second information system, by this first data transmission request pairFirst data of answering be converted to meet this xegregating unit the second data of corresponding communication protocol, and then shouldThe second data write in database corresponding to this second information system. Visible, in this programme, by byOne data be converted to meet xegregating unit the mode of the second data of corresponding communication protocol, make the first letterThe data that breath system is sent can arrive the second information system, realize in guarantee information internet security with thisPrerequisite under, improve intranet and extranet communication convenience.
Further, this WebService assembly can also comprise:
First monitors module, for monitoring described in whether result corresponding to described the first data be written intoIn database;
The first result treatment module, for being written into when listening to result corresponding to described the first dataIn described database time, obtain described result and feed back to described first information system.
The embodiment of the present invention also provides a kind of WebService assembly, and it is the 2nd WebService assembly,Be associated with the second information system, described the second information system is by the xegregating unit and the first information that are associatedSystem is carried out mathematical logic isolation; As shown in Figure 4, this WebService assembly can comprise:
Whether second monitors module 410, have the second data to be written into described the second information system pair for monitoringIn the database of answering, wherein, described the second data are that described first information system is to described the second information systemDescribed xegregating unit institute correspondence that what corresponding first data of first data transmission request institute of system were converted into meetThe data of communication protocol;
Data restoring module 420, in the time listening to described the second data and be written into described database,According to the communication protocol of described xegregating unit, described the second data are reduced to corresponding the first data.
In the present embodiment, when having listened to the second data, the 2nd WebService assembly is written into corresponding numberAccording in storehouse time, can, according to the communication protocol of this xegregating unit, these second data be reduced to correspondingOne data, have realized the first data with this and have transferred to Intranet from outer net, have realized at guarantee information networkUnder the prerequisite of security, improve the convenience of intranet and extranet communication.
Further, the WebService assembly that the present embodiment provides, can also comprise:
First service calling module, carries for carrying the second information system described in described the first data callThe respective service of confession;
The first result writing module, for writing described data by result corresponding to described the first dataIn storehouse.
Under the prerequisite in guarantee information internet security, improve intranet and extranet communication convenience, based on interiorThe angle of the initiatively outside web information system transmission of web information system data, the embodiment of the present invention provides oneData processing method and WebService assembly.
A kind of the data processing method below embodiment of the present invention being provided is introduced.
In order clearly to describe this programme, first close from the second information system as interior web information systemThe angle of the 2nd WebService assembly of connection, the data processing method that the embodiment of the present invention is provided is enteredRow is introduced.
It should be noted that, the data processing method that the embodiment of the present invention provides is applicable to be associated with secondThe 2nd WebService assembly of information system, this second information system by the xegregating unit that is associated withFirst information system is carried out mathematical logic isolation, and namely, this second information system as Intranet information isSystem, it is by xegregating unit and carry out mathematical logic isolation as the first information system of outer web information system,Can be transferred to second from first information system with the data that make the communication protocol that only meets xegregating unitInformation system, and then the access security of guarantee information network. In actual applications, this xegregating unit instituteThe logic isolation technology of utilizing can be fire wall, virtual subnet etc., and each xegregating unit has correspondingCommunication protocol, and the data that only meet this communication protocol could be passed through this xegregating unit access the second letterBreath system.
Wherein, WebService is network, distributed modular assembly, and it carries out specificTask, observe concrete technical specification, and these concrete technical specifications make WebService can and itsThe assembly of his compatibility carries out interoperability, and WebService can use the Internet protocol (example of standardAs HTTP HTTP and XML etc.), by function embodiment at internet and intranetOn.
Be understandable that " second " and follow-up " first in " the 2nd WebService assembly "WebService assembly " in " first " be arranged at different Web in intranet and extranet just to distinguishingService assembly. Wherein, the 2nd WebService assembly is associated in the second information system and specifically refers to:The 2nd WebService assembly is the independent external module of disposing being connected with the second information system, or,The 2nd WebService assembly is the intraware that embeds this second information system.
As shown in Figure 5, a kind of data processing method, can comprise:
S501, the 2nd WebService assembly obtains this second information system to the of this first information systemTwo data transfer request;
In the time that the second information system needs initiatively to first information system transmission data, can directly call phaseThe 2nd associated WebService assembly, the 2nd WebService assembly can get this secondInformation system arrives the second data transfer request of this first information system, and then utilizes this second transfer of dataFollow-up processing is carried out in request.
Wherein, this second data transfer request can carry corresponding the 3rd data, or this is second years oldData transfer request carries the address information of obtaining of corresponding the 3rd data, and this is all rational.
S502, is converted to by the 3rd corresponding this second data transfer request data the number that meets this databaseAccording to the 4th data of type;
The 2nd WebService assembly is getting after this second data transfer request, can obtain thisThe 3rd data that two data transfer request are corresponding, turn the 3rd corresponding this second data transfer request dataBe changed to the 4th data of the data type that meets this database. Because xegregating unit is unidirectional isolation, therefore,In the time that the second information system sends data to this first information system, without data to be sent are converted toMeet the data of the communication protocol of this xegregating unit; Meanwhile, because database is to there being the data class of selfType, therefore, need to be converted to these three data the 4th data of the type that meets this database.
Be understandable that, in the time that the second data transfer request carries the 3rd data, the 2nd WebService assembly directly obtains the 3rd data from this second data transfer request, and when this secondData transfer request carry the 3rd data obtain address information time, a WebService assemblyNeed to obtain address information according to this, get the 3rd data.
It should be noted that, this database and the second information system be in separate state, this second letterThe 2nd WebService assembly in breath system also with this database by wired or wireless mode in physicsConnection status, makes in the case of the communication protocol that meets this xegregating unit, the 2nd WebServiceAssembly can carry out read/write operation to this database; And a WebService assembly and this database pass throughWired or wireless mode is in physical connection state, makes meeting the feelings of communication protocol of this xegregating unitUnder condition, a WebService assembly can carry out read/write operation to this database.
S503, writes the 4th data in this database.
Getting after the 4th data corresponding to the 3rd data, the 4th data can be write to this numberIn storehouse, listening to a WebService assembly that makes to be associated with this first information systemAfter four data, can be from this database reading out data.
Be understandable that, the 3rd data and the 4th packet are containing the network identity of this second information systemWith the network identity of this first information system, with source address and the destination address of clear and definite this data transfer.
In the present embodiment, in the time that the second information system initiatively sends data to first information system, the 2nd WebService assembly obtains second data transfer request of this second information system to this first information system; WillThe 3rd data corresponding to this second data transfer request be converted to meet this database data type the 4thData; The 4th data are write in this database, with make to be associated with this first information systemOne WebService assembly is listening to after the 4th data, can be from this database reading out data, with thisRealize under the prerequisite of guarantee information internet security, improve intranet and extranet communication convenience.
Further, in the 4th data are write to this database after, the 2nd WebService prisonListen result corresponding to the 4th data whether to be written in this database; When listening to the 4th dataWhen corresponding result is written in this database, obtain result corresponding to the 4th data anti-Be fed to this second information system, completed the second information system master based on the second data transfer request with thisTrend first information system sends the process of data. Wherein, in result corresponding to the 4th data, wrapContaining the network identity of this first information system and the network identity of the second information system, with clear and definite this secondary dataSource address and the destination address of transmission.
Below from as the associated WebService assembly of the second information system of web information systemAngle, the data processing method that the embodiment of the present invention is provided is introduced.
It should be noted that, the data processing method that the embodiment of the present invention provides is applicable to be associated with firstThe one WebService assembly of information system, this first information system is by relevant to the second information systemXegregating unit and this second information system of connection are carried out mathematical logic isolation, namely, and this second information systemSystem is as interior web information system, its by xegregating unit with as the first information system of outer web information systemCarry out mathematical logic isolation, can be from first with the data that make the communication protocol that only meets xegregating unitInformation system is transferred to the second information system, and then the access security of guarantee information network. Should in realityWith in, the logic isolation technology that this xegregating unit utilizes can be fire wall, virtual subnet etc., and everyOne xegregating unit has corresponding communication protocol, and the data that only meet this communication protocol could pass through shouldXegregating unit is accessed the second information system.
Wherein, a WebService assembly is associated in first information system and specifically refers to: a WebThe external module that Service assembly is disposed as the independence being connected with first information system, or, firstWebService assembly is as the intraware that embeds this first information system.
As shown in Figure 6, a kind of data processing method, can comprise:
Whether S601, monitor and have the 4th data to be written in this database, if so, and execution step S602;Otherwise, do not deal with;
Wherein, the 4th data are second transfer of data of this second information system to this first information systemThe data of the data type that meets this database of corresponding the 3rd data transaction one-tenth of request institute.
S602, carries the respective service that this first information system of the 4th data call provides;
S603, writes result corresponding to the 4th data in this database.
Whether the one WebService assembly is monitored and is had the 4th data to write this database in real time or regularlyIn, and in the time having listened to the 4th data and write in this database, show that this second information system wishes mainThis first information system of trend sends data, now, reads the 4th data from this database, carriesThe respective service that this first information system of the 4th data call provides, and by corresponding the 4th dataResult writes in this database, has completed the second information system based on the second data transfer request with thisSystem initiatively sends the process of data to first information system.
In the present embodiment, when having listened to the 4th data, a WebService assembly is written into this databaseWhen middle, carry the respective service that this first information system of the 4th data call provides, by the 4th numberWrite in this database according to corresponding result, realized in the security of guarantee information network with thisUnder prerequisite, improve the convenience of intranet and extranet communication.
Corresponding to said method embodiment, the embodiment of the present invention also provides a kind of WebService assembly, itsBe the 2nd WebService assembly, be associated with the second information system, described the second information system is by relevantXegregating unit and the first information system of connection are carried out mathematical logic isolation; As shown in Figure 7, WebServiceAssembly can comprise:
The second request of data acquisition module 710, for obtaining described the second information system to the described first informationThe second data transfer request of system;
The 4th data determination module 720, for turning the 3rd corresponding described the second data transfer request dataBe changed to the 4th data of the data type that meets described database;
The 4th data writing module 730, for writing described database by described the 4th data.
In the present embodiment, in the time that the second information system initiatively sends data to first information system, the 2nd WebService assembly obtains second data transfer request of this second information system to this first information system; WillThe 3rd data corresponding to this second data transfer request be converted to meet this database data type the 4thData; The 4th data are write in this database, with make to be associated with this first information systemOne WebService assembly is listening to after the 4th data, can be from this database reading out data, with thisRealize under the prerequisite of guarantee information internet security, improve intranet and extranet communication convenience.
Further, WebService assembly can also comprise:
The 4th monitors module, for monitoring described in whether result corresponding to described the 4th data be written intoIn database;
The second result treatment module, for being written into when listening to result corresponding to described the 4th dataIn described database time, obtain result corresponding to described the 4th data and feed back to described the second informationSystem.
The embodiment of the present invention also provides a kind of WebService assembly, and it is a WebService assembly,Be associated with first information system, described first information system is by the isolation being associated with the second information systemEquipment and described the second information system are carried out mathematical logic isolation; As shown in Figure 8, described WebServiceAssembly can comprise:
The 3rd monitors module 810, for monitoring whether be written into described database by the 4th data, wherein,Described the 4th data are second data transfer request of described the second information system to described first information systemThe data of the data type that meets described database that becomes of corresponding the 3rd data transaction;
Second service calling module 820, for being written into described database when listening to described the 4th dataTime, carry the respective service that first information system provides described in described the 4th data call;
The second result writing module 830, for writing described number by result corresponding to described the 4th dataIn storehouse.
In the present embodiment, when having listened to the 4th data, a WebService assembly is written into this databaseWhen middle, carry the respective service that this first information system of the 4th data call provides, by the 4th numberWrite in this database according to corresponding result, realized in the security of guarantee information network with thisUnder prerequisite, improve the convenience of intranet and extranet communication.
Further, the WebService assembly that comprehensive above-described embodiment provides, from outer net information isThe angle of system, the embodiment of the present invention also provides a kind of WebService assembly, is associated with first information system,Described first information system is by the xegregating unit and described the second information system that are associated with the second information systemSystem carries out mathematical logic isolation; Described WebService assembly can comprise:
The first request of data acquisition module, for obtaining described first information system to described the second information systemThe first data transmission request of system;
The second data determination module, for by the first corresponding described first data transmission request data transactionBy meeting the second data of the corresponding communication protocol of described xegregating unit;
The second data writing module is corresponding for described the second data are write to described the second information systemIn database;
First monitors module, for monitoring described in whether result corresponding to described the first data be written intoIn database;
The first result treatment module, for being written into when listening to result corresponding to described the first dataIn described database time, obtain described result and feed back to described first information system;
Whether the 3rd monitors module, have the 4th data to be written into described database for monitoring, wherein,Described the 4th data are second data transfer request of described the second information system to described first information systemThe data of the data type that meets described database that becomes of corresponding the 3rd data transaction;
Second service calling module, in the time listening to described the 4th data and be written into described database,Carry the respective service that first information system provides described in described the 4th data call;
The second result writing module, for writing described data by result corresponding to described the 4th dataIn storehouse.
Accordingly, the WebService assembly that comprehensive above-described embodiment provides, from interior web information systemAngle, the embodiment of the present invention also provides a kind of WebService assembly, is associated with the second information system, instituteState the second information system and carry out mathematical logic isolation by the xegregating unit and the first information system that are associated;WebService assembly can comprise:
Second monitors module, and whether for monitoring, to have the second data to write described the second information system correspondingIn database, wherein, described the second data are that described first information system arrives described the second information systemFirst data transmission request the corresponding communication of meeting of being converted into of corresponding the first data described xegregating unit instituteThe data of agreement;
Data restoring module, in the time listening to described the second data and be written into described database, pressesAccording to the corresponding communication protocol of described xegregating unit, described the second data are reduced to corresponding the first data;
First service calling module, carries for carrying the second information system described in described the first data callThe respective service of confession;
The first result writing module, for writing described data by result corresponding to described the first dataIn storehouse;
The second request of data acquisition module, for obtaining described the second information system to the described first information isThe second data transfer request of system;
The 4th data determination module, for by the 3rd corresponding described the second data transfer request data transactionFor meeting the 4th data of data type of described database;
The 4th data writing module, for writing described database by described the 4th data;
The 4th monitors module, for monitoring described in whether result corresponding to described the 4th data be written intoIn database;
The second result treatment module, for being written into when listening to result corresponding to described the 4th dataIn described database time, obtain result corresponding to described the 4th data and feed back to described the second informationSystem.
Be understandable that, in actual applications, the above-mentioned Web providing from the angle of outer web information systemService assembly and the WebService assembly providing from interior web information system angle also can carry out meritCan combination, to make assembly after function combination both can be used as the assembly of outer web information system association, alsoCan be used as the assembly of interior web information system association, this is all rational.
By the description of above embodiment of the method, those skilled in the art can be well understood toThe mode that the present invention can add essential general hardware platform by software realizes, can certainly be by hardPart, but in a lot of situation, the former is better embodiment. Based on such understanding, technology of the present inventionThe part that scheme contributes to prior art in essence in other words can reveal with the form body of software productCome, this computer software product is stored in a storage medium, comprises that some instructions are in order to make oneComputer equipment (can be personal computer, server, or the network equipment etc.) the present invention is each in executionThe all or part of step of method described in individual embodiment. And aforesaid storage medium comprises: read-only storage(ROM), random-access memory (ram), magnetic disc or CD etc. are various can be program code storedMedium.
For device or system embodiment, because it is substantially corresponding to embodiment of the method, so relevantPart is referring to the part explanation of embodiment of the method. Device described above or system embodiment are onlyBe schematically, the wherein said unit as separating component explanation can be or can not be also physicsUpper separately the parts that show as unit can be or can not be also physical location, can positionIn a place, or also can be distributed on multiple NEs. Can select according to the actual needsSome or all of module wherein realizes the object of the present embodiment scheme. Those of ordinary skill in the artIn the situation that not paying creative work, be appreciated that and implement.
In several embodiment provided by the present invention, should be understood that, disclosed system, device andMethod, not exceeding in the application's spirit and scope, can realize in other way. CurrentEmbodiment be a kind of exemplary example, should not serve as restriction, given particular content shouldThis restriction the application's object. For example, the division of described unit or subelement, is only a kind of logic meritCan divide, when actual realization, can have other dividing mode, for example multiple unit or multiple subelement knotUnify. In addition, multiple unit can or assembly can in conjunction with or can be integrated into another system,Or some features can ignore, or do not carry out.
In addition, institute's descriptive system, the schematic diagram of apparatus and method and different embodiment, is not exceeding thisIn the scope of application, can with other system, module, technology or method in conjunction with or integrated. Another point,Shown or discussed coupling each other or direct-coupling or communication connection can be to connect by someMouthful, INDIRECT COUPLING or the communication connection of device or unit, can be electrically, machinery or other form.
The above is only the specific embodiment of the present invention, it should be pointed out that general for the artLogical technical staff, under the premise without departing from the principles of the invention, can also make some improvement and profitDecorations, these improvements and modifications also should be considered as protection scope of the present invention.