CN102811230B - Resource call method based on application integration and system thereof - Google Patents
Resource call method based on application integration and system thereof Download PDFInfo
- Publication number
- CN102811230B CN102811230B CN201110142704.9A CN201110142704A CN102811230B CN 102811230 B CN102811230 B CN 102811230B CN 201110142704 A CN201110142704 A CN 201110142704A CN 102811230 B CN102811230 B CN 102811230B
- Authority
- CN
- China
- Prior art keywords
- resource
- interface
- server system
- protocol type
- type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention discloses a resource call method based on application integration and a system thereof. The resource call method comprises the following steps: according to a resource access request sent by a client side, the resource data information which is saved in advance and corresponds to the resource is acquired, wherein the resource data information comprises the server system address of the resource and the interface information corresponding to the resource; according to the server system address and the interface information, the interface protocol type corresponding to the resource is determined; and the interface information is configurated to an interface corresponding to the interface information on the basis of a parameter organization format corresponding to the interface protocol type so that the resource can be called through the interface. The resource call method based on application integration can realize the uniform management and maintenance of resources in different network sites and of different types. The development and the maintenance are easy to implement, so as to reduce the consumption of system resources and further to reduce the cost of resource access.
Description
Technical field
The present invention relates to application integratedtechnology field, relate to a kind of resource transfer method and system based on application integration in particular.
Background technology
Enterprise information integration technology is by the operation flow of different enterprise, common data, application software and various standard association, thus the Seamless integration-realized between different enterprise application system, make each enterprise carry out Business Processing and information sharing as an entirety.
Existing application integratedtechnology, in order to the access of client to resource can be realized, the interface protocol that the developer of application integration needs to understand the resource type of Service Source, resource is positioned at local resource server system or remote resource server system, resource are corresponding and safety regulation etc., and foundation resource is dissimilar, set the interface interchange program of corresponding different resource respectively, carry out corresponding protocol analysis etc., to realize the access to dissimilar resource.But because the resource in application integration has distributivity and otherness, therefore for different resources, different interface interchange programs need be adopted to realize the access of resource, develop and safeguard the interface interchange method that different resource is corresponding, add the access cost of resource.
Such as, in order to access application integrated in certain resource, the developer of application integration needs the network site recognizing this resource, suppose that this resource is positioned at remote resource server system, so also need to understand interface protocol corresponding to this resource of access, and the interface interchange method adopting this resource corresponding, carry out corresponding protocol analysis etc. to complete the access to resource.For the resource of other types, then need other interface interchange method corresponding, therefore, need according to distribution of resource and otherness in prior art, develop the interface interchange program that different resource is corresponding, and safeguard the interface interchange method that various resource is corresponding, develop and safeguard that the operating process of the interface interchange program that various resource is corresponding is complicated, a large amount of system resource can be taken simultaneously, add the cost of resource access.
Summary of the invention
In view of this, the invention provides a kind of resource transfer method and system based on application integration, the method can realize unified management to heterogeneous networks position, dissimilar resource and maintenance, and operating process is simple, can system resources consumption be reduced simultaneously, reduce the cost of resource access.
For achieving the above object, the invention provides a kind of resource transfer method based on application integration, the method comprises:
According to the resource access request that client sends, obtain the asset data information corresponding with described resource preserved in advance, wherein, described asset data information comprises the server system address at resource place and the interface message corresponding with described resource;
According to described server system address and described interface message, determine the interface protocol type corresponding with described resource;
According to the parameter organized formats that described interface protocol type is corresponding, described interface message is configured in the interface corresponding with described interface message, so that by resource described in described interface interchange.
Preferably, described interface message comprises interface type and parameter information corresponding to described interface type;
Described according to described server system address and described interface message, determine the interface protocol type corresponding with described resource, comprising: according to described server system address and described interface type, determine the interface protocol type corresponding with described resource;
The described parameter organized formats corresponding according to described interface protocol type, described interface message is configured in the interface corresponding with described interface message, comprise: according to the parameter organized formats that described interface protocol type is corresponding, parameter information corresponding for described interface type is configured in the interface corresponding with described interface type.
Preferably, described according to described server system address and described interface message, determine the interface protocol type corresponding with described resource, comprising:
Determine that resource is positioned at local resource server system or remote resource server system according to described server system address;
When described resource location is local resource server system, determine that the interface protocol type corresponding with resource is the protocol type matched with local resource server system;
When described resource location is remote resource server system, determine to access the interface protocol type needed for this resource according to interface message.
Preferably, the described parameter organized formats corresponding according to described interface protocol type, is configured to described interface message in the interface corresponding with described interface message, comprises:
Extract parameter information corresponding with described interface protocol type in described interface message;
According to the parameter organized formats that described interface type is corresponding, the form of the parameter information extracted described in tissue, obtains parameter information to be loaded;
Described parameter information to be loaded is loaded in the interface corresponding with described interface protocol.
Preferably, the method also comprises: the resource data returned by the server system at resource place described in described interface, and according to the interface protocol type of described interface, described resource data is encapsulated, and the resource data after encapsulation is returned to described client.
Present invention also offers a kind of resource transfer system based on application integration, comprising:
Resource information preserves module, and for preserving the asset data information corresponding with resource in advance, wherein, described asset data information comprises the server system address of resource and the interface message corresponding with described resource;
Resources accessing control module, for the resource access request sent according to client, Gains resources information preserves the asset data information corresponding with described resource preserved in module, and according to described server system address and described interface message, determine the interface protocol type corresponding with described resource;
Protocol adaptation module, for the parameter organized formats that foundation interface protocol type is corresponding, is configured to described interface message in the interface corresponding with described interface message, so that by resource described in described interface interchange.
Preferably, described resources accessing control module comprises:
Resource data acquiring unit, for the resource access request sent according to client, Gains resources information preserves the asset data information corresponding with described resource preserved in module;
Protocol type determining unit, for according to the server system address in asset data information and described interface message, determines the interface protocol type corresponding with described resource.
Preferably, described interface message comprises interface type and parameter information corresponding to described interface type.
Described protocol type determining unit, is specially: for according to described server system address and described interface type, determine the interface protocol type corresponding with described resource;
Described protocol adaptation module, is specially: for according to parameter organized formats corresponding to described interface protocol type, be configured in the interface corresponding with described interface type by parameter information corresponding for described interface type.
Preferably, described protocol type determining unit comprises:
Resource system position determination unit, for determining that according to described server system address resource location is local resource server system or remote resource server system;
Local resource protocol determination unit, for when described resource location is local resource server system, determines that the interface protocol type corresponding with resource is the protocol type matched with local resource server system;
Remote resource protocol determination unit, for when described resource location is remote resource server system, determines to access the interface protocol type needed for this resource according to interface message.
Preferably, described protocol adaptation module, comprising:
Parameter information extraction unit, for extracting parameter information corresponding with described interface protocol type in described interface message;
Interface message dispensing unit, organizes the form of the parameter information extracted described in format organization for the parameter corresponding according to described interface type, obtain parameter information to be loaded;
Parameter loading unit, for being loaded into parameter information to be loaded in the interface corresponding with described interface type.
Known via above-mentioned technical scheme, compared with prior art, present disclosure provides a kind of resource transfer method and system based on application integration, during by being positioned at the resource of different resource server system and distinct interface protocol type in method call application integration of the present invention, only need the request according to calling resource, get the asset data information corresponding with resource preserved in advance, the interface protocol type corresponding with resource is determined according to described asset data information, just can according to parameter organized formats corresponding to interface protocol type, the corresponding interface is carried out to the loading of interface message, thus complete calling resource by this interface.The present invention is when calling the different resource in application integration, for different resources without the need to adopting different interface interchange methods, thus achieve integrated to access application in the unified management of various resource and maintenance, operating process is simple, simultaneously, do not need to safeguard different interface interchange programs respectively for different resource, reduce system resources consumption, decrease resource access cost.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is a kind of resource transfer method based on application integration of the embodiment of the present invention one;
Fig. 2 is the structural representation of asset data information registration table in the embodiment of the present invention;
Fig. 3 is a kind of resource transfer method based on application integration of another embodiment of the present invention;
Fig. 4 is a kind of resource transfer system based on application integration of the embodiment of the present invention;
Fig. 5 is a kind of resource transfer system based on application integration of another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
When carrying out resource transfer in existing application integration, to the resource of the resource (can judge that resource is local resource or remote resource according to this Resource Server system address) and different agreement type that are positioned at different resource server system, different interface interchange methods is adopted to carry out the access of resource, can not realize integrated to access application in the unified management of various resource, add the cost of resource access.In order to reduce the cost of resource access in application integration, the present invention carries out unified management to resource access various in application integration, reduces the cost of resource access.
See Fig. 1, be a kind of resource transfer method based on application integration of the embodiment of the present invention, the method comprises:
Step S101: the resource access request sent according to client, obtain the asset data information corresponding with described resource preserved in advance, wherein, described asset data information comprises the server system address of resource and the interface message corresponding with described resource;
According to resource in application integration, preserve the asset data information corresponding with resource in advance, asset data information comprises: the Resource Server system address at resource place, accesses the interface message etc. that this resource is corresponding.Wherein, can judge that the Resource Server system residing for resource is local resource server or remote resource server system according to Resource Server system address.Interface message can be interface type, the parameter information etc. corresponding with interface type.Wherein, the interface technology protocols that different interface types is corresponding different, interface type can be Http interface, MQ interface, EJB interface, Web Service interface, Socket interface etc.The parameter information corresponding with interface type can comprise: the Service name that resource is corresponding, port numbers corresponding to COS, access resources, parameter name and parameter type etc. that interface is corresponding.Corresponding interface protocol type needed for access resources and corresponding interface protocol information etc. can be determined according to resource service data message.
Preserve the mode of asset data information, can by setting up asset data information registration table in advance, see Fig. 2, for the structural representation of asset data information registration table in the embodiment of the present invention, wherein, the corresponding different resource of resource service account (service ID), corresponding with service ID has resource address, accesses interface type corresponding to this resource, the information such as the protocol-dependent Service name corresponding with interface type and service class.
When receiving resource access request, determine according to this request the resource needing access, and inquire about the asset data information preserved in advance, obtain the asset data information corresponding with this resource.Concrete, the mode obtaining the asset data information corresponding with this resource preserved in advance can be: according to resource service account in the resource access request of the transmission of client, inquire about the asset data information preserved in advance, obtain the asset data information corresponding with this resource service account.
Such as, for the resource service account (service ID) in resource access request for S_001, see Fig. 2, query resource data message registration table, can know that service ID be resource address corresponding to the resource of S_001 is www.jk_ws.com, can know that the server system address (abbreviation system address) residing for resource is system A according to this resource address, the interface type corresponding with this service ID is Web Service, and other interface message can be got, if port numbers is 80, service SysService/invoke by name, parameter is called the information such as P1.Certainly, also resource address can be comprised in resource access request, and the resource service data that inquiry is corresponding with this resource address.The concrete form of resource access request can adapt with concrete application integration operation system, does not have specific standards, does not enumerate at this.
Asset data information in application integration is carried out registering and preserving, when receiving the request of resource access, just can according to this request, the asset data information that Gains resources is corresponding, and then can determine according to asset data information the interface type that the resource of access is corresponding, interface protocol information, and resource is positioned at local resource server and is still positioned at remote resource server system.In addition, by registering the asset data information in application integration in advance and preserving, can the relevant information of maintenance resources more easily, as, certain resource address is www.jk_ws.com, only the information of resource address need be modified when resource address changes into www.sh_ws.com.And in the middle of prior art when resource address changes, the configuration file revised corresponding for this resource of access may be needed to modify, the process complexity of amendment configuration file is loaded down with trivial details.
Step S102: according to described server system address and described interface message, determine the interface protocol type corresponding with described resource;
After getting asset data information corresponding to resource, can determine to access the interface protocol type needed for this resource according to asset data information.The information such as wherein, interface protocol type comprises, the parameter organizational form of the technical protocol that interface is corresponding and this technical protocol.
When interface message can comprise interface type and parameter information corresponding to described interface type, according to server system address and interface message, determine that the interface protocol type corresponding with resource can be: according to server system address and interface type, determine the interface protocol type corresponding with this resource.As, when interface type is Http, can know that corresponding interface protocol type is http interface technology protocols.
Step S103: according to the parameter organized formats that described interface protocol type is corresponding, described interface message be configured in the interface corresponding with described interface message, so that by resource described in described interface interchange.
According to the parameter organized formats that interface protocol type is corresponding, tissue interface information, the interface message organized is configured or is loaded in the interface corresponding with this interface protocol.Interface message is loaded in the interface corresponding with interface protocol according to this parameter organized formats, just can will carries out calling of resource by this interface.
Owing to comprising interface type in interface message, and the parameter information corresponding with this interface type, when interface message being loaded into corresponding interface, need according to parameter organized formats, the parameter information corresponding with this interface type to be organized, and the parameter information organized is loaded in corresponding interface, this process specifically comprises:
Extract parameter information corresponding with described interface protocol type in interface message;
According to the parameter organized formats that described interface type is corresponding, the form of the parameter information organizing this to extract, obtains parameter information to be loaded;
Described parameter information to be loaded is loaded in the interface corresponding with described interface protocol.
That is, for different interface protocol type, by in interface message parameter information load or when being configured to corresponding interface, the kind that may need the parameter information loading or configure is different, therefore need to extract the parameter information corresponding with interface protocol type in interface message, the parameter organizational form of this parameter information and interface protocol type matches, and the form of the parameter information organizing format organization to extract according to parameter, using the parameter information organized as parameter information to be loaded, and parameter information to be loaded is loaded in the interface corresponding with interface type.As, for the interface protocol that Webservice interface is corresponding, when configuration interface parameter information, need the information such as configuration interface type, port numbers configuration.And for Http agreement, during configuration interface parameter information, need COS to be Get agreement or Post agreement.
The specific implementation process of carrying out the loading of interface adaptation and interface parameters according to interface protocol type can be that build protocol adaptor base class in advance, protocol adaptor base class is mainly used in realizing various interface type, interface protocol, and the adaptation of parameter format.After determining interface protocol type according to asset data information, call subclass corresponding with this interface protocol type in this protocol adaptor base class, and build the protocol adaptor corresponding with this interface protocol type, complete the initialized process of protocol adaptor.After protocol adaptor initialization, by the parameter organized formats according to this protocol adaptor, extract the parameter information in interface message, the parameter information of extraction is loaded in this protocol adaptor.After completing the parameter loading of protocol adaptor, protocol adaptor according to resource request, will carry out the parsing of resource protocol, and calls respective resources.
Further, complete the parameter configuration of interface, and by this interface resource is sent to the server system at resource place according to its resource address after, when the resource data corresponding with resource access request returns by the server system at this resource place, the resource data corresponding with this resource access request is returned by this interface, interface protocol type according to this interface protocol encapsulates described resource data by the operation system of application integration, and packaged data message is returned the client sending resource access request.
Wherein, in step S102, according to server system address and interface message, determine the interface protocol type corresponding with resource, be specially, judge that resource is in local resource server system or remote resource server system according to the server system address of resource.
When this resource is in remote resource server system, determine to access the interface protocol type needed for this resource according to interface message;
When this resource is in local resource server system, the interface protocol type corresponding with resource is and the protocol type that matches in local resource server system.
The embodiment of the present invention call different server system address in application integration, distinct interface protocol type resource time, only need the request according to calling resource, get the asset data information corresponding with resource preserved in advance, the interface protocol type corresponding with resource is determined according to described asset data information, just can according to parameter organized formats corresponding to interface protocol type, the corresponding interface is carried out to the loading of interface message, thus complete calling resource by this interface.When calling the different resource in application integration, for different resources without the need to adopting different interface interchange methods, achieve integrated to access application in the unified management of various resource and maintenance, the operating process of exploitation and maintenance resources access program is simple, decrease the consumption of system resource, reduce access cost.
In order to the clearer description of energy resource transfer method of the present invention, see Fig. 3, be the flow chart of steps of a kind of resource transfer method based on application integration of another embodiment of the present invention, the method comprises:
Step S301: the resource access request sent according to client, inquire about the asset data information table preserved in advance, obtain the asset data information corresponding with described resource, wherein, described asset data information comprises the server system address of resource and the interface message corresponding with described resource;
Step S302: judge that this resource is in local resource server system or remote resource server system according to the server system address of resource, when this resource is in local resource server system, enter step S303; When this resource is in remote resource server system, enter step S305;
At query resource data message, after getting the asset data information corresponding with resource access request, can judge that according to the server system address in asset data information resource is in local resource server system, or remote resource server system.As, see Fig. 2, for the service ID query resource Registry in resource access request, when the service ID comprised in request is S_001, the resource address that inquiry S_001 is corresponding is ww.jk_ws.com, and the server system address (system address) inquiring this resource address further corresponding is system A, then can know that this resource is positioned at remote resource server system.When the service ID comprised in this resource access request is S_002, the resource address of its correspondence is " Local ", and corresponding system address be this locality, can know to be positioned at local resource server system in the resource of request access.
Step S303: determine that the interface protocol type corresponding with resource is and the protocol type that matches in local resource server system;
The protocol type corresponding due to the resource being arranged in local resource server system only has one, therefore directly can determine that the interface protocol type corresponding with resource is and the protocol type that matches in local resource server system.
Step S304: according to the parameter organized formats that local resource protocol type is corresponding, interface message is configured in interface corresponding to local resource, to carry out calling of local resource by this interface.
Step S305: when this resource is in remote resource server system, determines to access the interface protocol type needed for this resource according to interface message;
When the resource of accessing is arranged in remote resource server system, due to different Resource Server systems communicate time, the kind of communication protocol exists multiple, therefore needs according to required concrete interface protocol type and relevant interface protocol information etc. during interface message determination resource access.
Step S306: according to the parameter organized formats that interface protocol type is corresponding, interface message be configured in the interface corresponding with described interface message, so that by resource described in this interface interchange.
The method of the corresponding embodiment of the present invention, see Fig. 4, present invention also offers a kind of resource transfer system based on application integration, this system comprises:
Resource information preserves module 401, and for preserving the asset data information corresponding with resource in advance, wherein, described asset data information comprises the server system address of resource and the interface message corresponding with described resource;
Resources accessing control module 402, for receiving the request of the resource access that client sends, and according to this request, Gains resources information preserves the asset data information corresponding with described resource preserved in module, and according to described server system address and described interface message, determine the interface protocol type corresponding with described resource;
Protocol adaptation module 403, for the parameter organized formats that foundation interface protocol type is corresponding, is configured to interface message in the interface corresponding with described interface message, so that by resource described in described interface interchange.
See Fig. 5, resources accessing control module 520 specifically comprises:
Resource data acquiring unit 521, for receiving the request of the resource access that client sends, and according to this request, Gains resources information preserves the asset data information corresponding with described resource preserved in module;
Protocol type determining unit 522, for according to the server system address in asset data information and interface message, determines the interface protocol type corresponding with described resource.
According to the difference of resource data obtain manner, resource data acquiring unit 521 comprises: resource data obtains subelement 5211, for the resource service account in the resource access request according to client transmission, inquire about the asset data information preserved in advance, obtain the asset data information corresponding with described resource service account.
Wherein, the interface message in asset data information comprises: interface type and parameter information corresponding to interface type;
In this case, protocol type determining unit 522, is specially: for according to described server system address and described interface type, determine the interface protocol type corresponding with described resource;
Described protocol adaptation module 530, is specially: for according to parameter organized formats corresponding to described interface protocol type, be configured in the interface corresponding with described interface type by parameter information corresponding for described interface type.
Preferably, protocol adaptation module 530, comprising:
Parameter information extraction unit 531, for extracting parameter information corresponding with described interface protocol type in interface message;
Interface message dispensing unit 532, for the form of the parameter information that the parameter corresponding according to described interface type organizes format organization to extract, obtains parameter information to be loaded;
Parameter loading unit 533, for being loaded into parameter information to be loaded in the interface corresponding with described interface type.
The address of the Resource Server system residing for resource is different, and before determining the protocol type that resource is corresponding, may need the Resource Server system judging that resource is corresponding, correspondingly, protocol type determining unit 522, comprising:
According to server system address, resource system position determination unit 5221, for determining that resource location is local resource server system or remote resource server system;
Local resource protocol determination unit 5222, for when this resource is positioned at local resource server system, determines that the interface protocol type corresponding with resource is the protocol type matched with local resource server system;
Remote resource protocol determination unit 5223, for when described resource is positioned at remote resource server system, determines to access the interface protocol type needed for this resource according to interface message.
When the Resource Server system at this resource place returns resource data, protocol adapter module receives this resource data, concrete, and protocol adaptation module 530, also comprises:
Resource data processing unit 534, for when the server system at this resource place returns resource data, by this resource data of this interface, and encapsulates this resource data according to the interface protocol type of this interface;
Resource data retransmission unit 535, for being transmitted to resources accessing control module by the resource data after encapsulation;
Described resource controlled block 520 also comprises: resource receiving element 523, for receive resource data retransmission unit forward this encapsulation after resource data;
Resource returns unit 524, for returning to client by changing the resource data after encapsulation.
Wherein, the resource information preservation module 510 in Fig. 5 is identical with the effect that the resource information in Fig. 4 preserves module 401.
Each embodiment of this explanation all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.System embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The embodiment of the present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, the distributed computing environment (DCE) comprising above any system or equipment etc. based on microprocessor.
The embodiment of the present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (7)
1., based on a resource transfer method for application integration, it is characterized in that, comprising:
According to the resource access request that client sends, obtain the asset data information corresponding with described resource preserved in advance, wherein, described asset data information comprises the server system address at resource place and the interface message corresponding with described resource;
According to described server system address and described interface message, determine the interface protocol type corresponding with described resource;
According to the parameter organized formats that described interface protocol type is corresponding, described interface message is configured in the interface corresponding with described interface message, so that by resource described in described interface interchange;
Wherein, described according to described server system address and described interface message, determine the interface protocol type corresponding with described resource, comprising:
Determine that resource is positioned at local resource server system or remote resource server system according to described server system address;
When described resource location is local resource server system, determine that the interface protocol type corresponding with resource is the protocol type matched with local resource server system;
When described resource location is remote resource server system, determine to access the interface protocol type needed for this resource according to interface message.
2. method according to claim 1, is characterized in that, described interface message comprises: interface type and parameter information corresponding to described interface type;
Described according to described server system address and described interface message, determine the interface protocol type corresponding with described resource, comprising: according to described server system address and described interface type, determine the interface protocol type corresponding with described resource;
The described parameter organized formats corresponding according to described interface protocol type, described interface message is configured in the interface corresponding with described interface message, comprise: according to the parameter organized formats that described interface protocol type is corresponding, parameter information corresponding for described interface type is configured in the interface corresponding with described interface type.
3. method according to claim 1, is characterized in that, the described parameter organized formats corresponding according to described interface protocol type, is configured to parameter information corresponding for described interface type in the interface corresponding with described interface message, comprises:
Extract parameter information corresponding with described interface protocol type in described interface message;
According to the parameter organized formats that described interface type is corresponding, the form of the parameter information extracted described in tissue, obtains parameter information to be loaded;
Described parameter information to be loaded is loaded in the interface corresponding with described interface protocol.
4. method according to claim 1, is characterized in that, the method also comprises:
By the resource data that the server system at resource place described in described interface returns, and according to the interface protocol type of described interface, described resource data is encapsulated, and the resource data after encapsulation is returned to described client.
5., based on a resource transfer system for application integration, it is characterized in that, comprising:
Resource information preserves module, and for preserving the asset data information corresponding with resource in advance, wherein, described asset data information comprises the server system address of resource and the interface message corresponding with described resource;
Resources accessing control module, for the resource access request sent according to client, Gains resources information preserves the asset data information corresponding with described resource preserved in module, and according to described server system address and described interface message, determine the interface protocol type corresponding with described resource;
Protocol adaptation module, for the parameter organized formats that foundation interface protocol type is corresponding, is configured to described interface message in the interface corresponding with described interface message, so that by resource described in described interface interchange;
Wherein, described resources accessing control module comprises:
Resource data acquiring unit, for the resource access request sent according to client, Gains resources information preserves the asset data information corresponding with described resource preserved in module;
Protocol type determining unit, for according to the server system address in asset data information and described interface message, determines the interface protocol type corresponding with described resource;
Wherein, described protocol type determining unit comprises:
Resource system position determination unit, for determining that according to described server system address resource location is local resource server system or remote resource server system;
Local resource protocol determination unit, for when described resource location is local resource server system, determines that the interface protocol type corresponding with resource is the protocol type matched with local resource server system;
Remote resource protocol determination unit, for when described resource location is remote resource server system, determines to access the interface protocol type needed for this resource according to interface message.
6. system according to claim 5, is characterized in that, described interface message comprises interface type and parameter information corresponding to described interface type;
Described protocol type determining unit, is specially: for according to described server system address and described interface type, determine the interface protocol type corresponding with described resource;
Described protocol adaptation module, is specially: for according to parameter organized formats corresponding to described interface protocol type, be configured in the interface corresponding with described interface type by parameter information corresponding for described interface type.
7. system according to claim 5, is characterized in that, described protocol adaptation module, comprising:
Parameter information extraction unit, for extracting parameter information corresponding with described interface protocol type in described interface message;
Interface message dispensing unit, organizes the form of the parameter information extracted described in format organization for the parameter corresponding according to described interface type, obtain parameter information to be loaded;
Parameter loading unit, for being loaded into parameter information to be loaded in the interface corresponding with described interface type.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110142704.9A CN102811230B (en) | 2011-05-30 | 2011-05-30 | Resource call method based on application integration and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110142704.9A CN102811230B (en) | 2011-05-30 | 2011-05-30 | Resource call method based on application integration and system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102811230A CN102811230A (en) | 2012-12-05 |
CN102811230B true CN102811230B (en) | 2015-03-11 |
Family
ID=47234805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110142704.9A Active CN102811230B (en) | 2011-05-30 | 2011-05-30 | Resource call method based on application integration and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102811230B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106960348B (en) * | 2017-03-24 | 2020-07-03 | 泰华智慧产业集团股份有限公司 | Payment docking method and payment docking system |
CN107241240B (en) * | 2017-06-30 | 2020-04-03 | 广州君海网络科技有限公司 | Game server state monitoring method, device and system |
CN108200077B (en) * | 2018-01-18 | 2021-04-27 | 北京网信云服信息科技有限公司 | Method and device for calling interface |
CN110825741B (en) * | 2019-10-30 | 2022-09-20 | 北京蜜莱坞网络科技有限公司 | Quick query method and device for tracking log |
CN111158661A (en) * | 2019-12-11 | 2020-05-15 | 中国平安财产保险股份有限公司 | System interface docking method, device, medium and electronic equipment |
CN112579872B (en) * | 2021-03-01 | 2021-07-09 | 杭州筋斗腾云科技有限公司 | Network resource access intermediary system based on resource plug-in and processing method thereof |
CN113485761A (en) * | 2021-06-29 | 2021-10-08 | 未鲲(上海)科技服务有限公司 | Processing method, device, equipment and medium for resource access request |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196831A (en) * | 2007-12-29 | 2008-06-11 | 北京方正国际软件系统有限公司 | Method, system and device for distributed multi-service logic asynchronous processing |
CN102033751A (en) * | 2010-12-24 | 2011-04-27 | 青岛海信信芯科技有限公司 | Software adaptation method and system for OSD, and multimedia terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7539764B2 (en) * | 2003-03-28 | 2009-05-26 | At&T Intellectual Property I, L.P. | Common customer interface for telecommunications operational support |
-
2011
- 2011-05-30 CN CN201110142704.9A patent/CN102811230B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101196831A (en) * | 2007-12-29 | 2008-06-11 | 北京方正国际软件系统有限公司 | Method, system and device for distributed multi-service logic asynchronous processing |
CN102033751A (en) * | 2010-12-24 | 2011-04-27 | 青岛海信信芯科技有限公司 | Software adaptation method and system for OSD, and multimedia terminal |
Also Published As
Publication number | Publication date |
---|---|
CN102811230A (en) | 2012-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102811230B (en) | Resource call method based on application integration and system thereof | |
CN102790781B (en) | The M2M system of a kind of middleware, band sector application middleware and application process thereof | |
CN102209111A (en) | Open cross-platform system for cloud computing mobile network terminal equipment | |
CN105183675A (en) | USB equipment access method, device and system, terminal and server | |
CN105786913A (en) | Cloud manufacturing platform oriented ERP integrated database service interface encapsulation system and method | |
CN103092599A (en) | Software develop kit | |
CN107580011B (en) | Data sharing method and desktop cloud server | |
CN104268025A (en) | Interprocess communication method and system, and server | |
US20190095200A1 (en) | Compatibility method based on hybrid, adapter, operation device, system and computer-readable storage medium | |
WO2019085290A1 (en) | Test preparation method and apparatus, terminal device, and storage medium | |
CN106487847B (en) | Information processing method and transfer server | |
US8510423B2 (en) | Install system and install method | |
CN102779071A (en) | Method, device and system for calling software interface | |
CN112333017A (en) | Service configuration method, device, equipment and storage medium | |
CN102609353A (en) | Method, device and system for managing program debugging | |
CN101246564A (en) | Assets management system based on web service for defining assets with XML | |
CN115729880A (en) | Data processing method, device, equipment and storage medium | |
CN107105004B (en) | Cross-platform service calling method and device | |
CN102811199B (en) | A kind of method for interface adaptation, Apparatus and system | |
KR101857020B1 (en) | Apparatas and method for managing service of providing server in a terminal | |
CN111367685A (en) | Interface calling method and device, computer equipment and storage medium | |
US11803786B2 (en) | Enterprise integration platform | |
CN110022332B (en) | Hypertext transfer security protocol proxy method, device, equipment and medium | |
CN106331051A (en) | File transmission method and system, file receiving device and file transmission device | |
CN112486559B (en) | Product adjusting method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 518057, Shenzhen, Guangdong science and Technology Park, Nanshan District science and technology twelve South Road 2 Kingdee Software Park, A, 3 South Zone Patentee after: Shenzhen Kingdee fine fighting cloud Network Technology Co., Ltd. Address before: 518000, W1 building, building 4, South high tech Industrial Village, South District, Nanshan District hi tech Zone, Guangdong, Shenzhen, Patentee before: Shenzhen Jindie Youshang E-Business Service Co., Ltd. |