CN109672732A - A kind of method for interface adaptation, apparatus and system - Google Patents

A kind of method for interface adaptation, apparatus and system Download PDF

Info

Publication number
CN109672732A
CN109672732A CN201811553482.8A CN201811553482A CN109672732A CN 109672732 A CN109672732 A CN 109672732A CN 201811553482 A CN201811553482 A CN 201811553482A CN 109672732 A CN109672732 A CN 109672732A
Authority
CN
China
Prior art keywords
interface
information
adapter
access
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811553482.8A
Other languages
Chinese (zh)
Other versions
CN109672732B (en
Inventor
温凌敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
POLYTRON TECHNOLOGIES Inc
Haoyun Technologies Co Ltd
Original Assignee
POLYTRON TECHNOLOGIES Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by POLYTRON TECHNOLOGIES Inc filed Critical POLYTRON TECHNOLOGIES Inc
Priority to CN201811553482.8A priority Critical patent/CN109672732B/en
Publication of CN109672732A publication Critical patent/CN109672732A/en
Application granted granted Critical
Publication of CN109672732B publication Critical patent/CN109672732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/321Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of method for interface adaptation, apparatus and system, which comprises receives the access service request that access system is sent;Obtain server-side registration information corresponding with the access service request;The server-side registration information includes the interface message and interface parsing configuration information for servicing client information and servicing the interviewed system that end provides;Configuration information is parsed according to the interface message and interface, carries out Parameter analysis of electrochemical assembling;According to the interface protocol information in the interface message, forwarded using the corresponding protocol adaptor service request that accesses.The present invention can be realized the rapid abutting joint of different service interfaces.

Description

A kind of method for interface adaptation, apparatus and system
Technical field
The present invention relates to net application technology field more particularly to a kind of method for interface adaptation, apparatus and system.
Background technique
Service docking between large platform, the Parameters data structure and data integrity of interface are usually relatively hard to keep one It causes, needs define early period, to the platform service newly accessed, the difference of data and agreement is also possible to result in the need for subsequent customization Exploitation can just access.
In the research and practice to the prior art, it was found by the inventors of the present invention that with the expansion of platform of internet of things, respectively The service of class functional module is more and more, especially for the subsystem of access new equipment.In this case, there is an urgent need to realize The method for quickly accessing service is accurately and efficiently docked with realizing.
Summary of the invention
Technical problem to be solved by the present invention lies in provide a kind of method for interface adaptation, apparatus and system, can be realized The rapid abutting joint of different service interfaces, efficiently and accurately.
To solve the above problems, one embodiment of the present of invention provides a kind of method for interface adaptation, comprising:
Receive the access service request that access system is sent;
Obtain server-side registration information corresponding with the access service request;The server-side registration information includes clothes The interface message and interface for the interviewed system that business client information and server-side provide parse configuration information;
Configuration information is parsed according to the interface message and interface, carries out Parameter analysis of electrochemical assembling;
According to the interface protocol information in the interface message, accessed service request using corresponding protocol adaptor Forwarding.
Further, described that configuration information is parsed according to the interface message and interface, carry out Parameter analysis of electrochemical assembling, tool Body:
Configuration information is parsed according to the interface message and interface, gets corresponding parsing configuration;
Building adapter is configured using the parsing;
Data with existing is parsed and assembles, argument structure needed for obtaining the interface of interviewed system.
Further, the interface message include interface type, interface parameters, interface access protocol information, Yi Jijie Port address information.
Further, the protocol adaptor is that http protocol adapter, Transmission Control Protocol adapter or message queue transmission are suitable Any one of orchestration.
Another embodiment of the present invention also provides a kind of interface adaptive device, comprising:
Service request reception module is accessed, for receiving the access service request of access system transmission;
Server-side registration information obtains module, for obtaining server-side registration letter corresponding with the access service request Breath;The server-side registration information includes the interface message and interface solution for servicing client information and servicing the interviewed system that end provides Analyse configuration information;
Adapter constructs module, for parsing configuration information according to the interface message and interface, carries out Parameter analysis of electrochemical Assembling;
Service request forwarding module is accessed, for according to the interface protocol information in the interface message, use to be corresponding Protocol adaptor access service request forwarding.
Further, the adapter constructs module, is specifically used for according to the interface message and interface parsing configuration Information gets corresponding parsing configuration;Building adapter is configured using the parsing;Data with existing is parsed and assembled, is obtained Argument structure needed for the interface of interviewed system.
Further, the interface message include interface type, interface parameters, interface access protocol information, Yi Jijie Port address information.
Further, the protocol adaptor is that http protocol adapter, Transmission Control Protocol adapter or message queue transmission are suitable Any one of orchestration.
Another embodiment of the present invention also provides a kind of interface adaption system, which is characterized in that including adapter, Yi Jifen It is not connected to the access system and interviewed system at the adapter both ends;
The access system, for sending access service request to the adapter;
The adapter, for obtaining server-side registration information corresponding with the access service request;The service End registration information includes the interface message and interface parsing configuration for servicing client information and servicing the interviewed system that end provides Information;
The adapter is also used to carry out Parameter analysis of electrochemical group according to the interface message and interface parsing configuration information Dress;
The adapter is also used to use corresponding protocol adaptation according to the interface protocol information in the interface message Device access service request forwarding.
Further, the adapter is specifically also used to be obtained according to the interface message and interface parsing configuration information Get corresponding parsing configuration;Building adapter is configured using the parsing;Data with existing is parsed and assembled, interviewed system is obtained Interface needed for argument structure.
Implement the embodiment of the present invention, different clothes can be fast implemented on interface by way of increasing or modifying configuration The interface of business docks.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for method for interface adaptation that one embodiment of the present of invention provides;
Fig. 2 is a kind of another flow diagram for method for interface adaptation that one embodiment of the present of invention provides;
Fig. 3 is a kind of structural schematic diagram for interface adaptive device that another embodiment of the present invention provides;
Fig. 4 is a kind of another structural schematic diagram for interface adaptive device that another embodiment of the present invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It should be noted that the step of occurring in text numbers explanation merely for convenience, the execution not as step is successive Sequence limits.
First aspect.
An embodiment provides a kind of method for interface adaptation referring to FIG. 1-2, comprising:
S1, the access service request that access system is sent is received.
Wherein, access system can be client, and interviewed system can be network server, from client to network service Device sends access service request.Certainly, access system may be network server, and interviewed system is client, be taken by network Business device sends access service request to client.The present embodiment is it is not limited here.Specifically, access service content can be more Kind, service invocation request or data inquiry request are such as carried out, the present embodiment is it is not limited here.It include needing to access in request Interface unique identification and interface data.
In specific embodiment, the interface protocol of access can there are many, including HTTP, TCP, RPC, message queue Component etc..The data format of access can there are many, including JSON data, XML data etc..
It should be noted that following steps are referred to as client to access system, interviewed system is referred to as server-side.
S2, server-side registration information corresponding with the access service request is obtained;The server-side registration information packet It includes service client information and services the interface message and interface parsing configuration information of the interviewed system that end provides.
Wherein, service registration information, which can be, takes previously according to the interface message of each system name information and each system in access It is registered in business information-storing device.If not accessing service registration accordingly in access information on services storage device The message for not finding access service registration information then can be returned to client by information.Technical staff is passing through client system System know do not find access service registration information after, can access information on services storage device in be registered.It succeeds in registration After, access system can carry out the access service to interviewed system again.
Information on services storage device is stored using distributed storage component, the information on services stored when doing cluster to service And the information such as interface, configuration is shared.
It should be noted that information on services storage device can be database, access system side can be located at, it can also be with Positioned at interviewed system side.
Wherein, the interface message include interface type, interface parameters, interface access protocol information and interface Location information.
S3, configuration information is parsed according to the interface message and interface, carries out Parameter analysis of electrochemical assembling.
Specifically, parsing configuration information according to the interface message and interface, corresponding parsing configuration is got;It uses The parsing configuration building adapter;Data with existing is parsed and assembles, argument structure needed for obtaining the interface of interviewed system.
In specific embodiment, interface parsing configuration will be judged whether there is, in the case where being not present, can skip suitable The resolving of orchestration.
In the case where there is parsing configuration in a preferred embodiment, adapter required for being constructed using configuration.Again Judge whether to be configured with parameter completion search, does query and search using the search system that existing data call accesses.
Finally the request data combination search result received is summarized, service end system is set up out by the adapter of building Interface needed for argument structure.
Argument structure needed for servicing end interface can there are many, including JSON data structure, XML data structure etc..
In a preferred embodiment, if judgement does not get parsing configuration there is no interface parsing configuration In the case of just do not parse, carry out data penetration transmission.
Data with existing means summarizing for the result that request data and search obtain, and obtains the number of interface provider needs According to.
In search configuration and have with postponing, needs to assemble search condition, assembling search condition therein is believed that and assembles Query SQL sentence is similar.
S4, according to the interface protocol information in the interface message, use the service of accessing of corresponding protocol adaptor Request forwarding.
Wherein, the protocol adaptor is that http protocol adapter, Transmission Control Protocol adapter or message queue send adapter Any one of.
It is understood that being believed after constructing corresponding adapter according to interface message using service end system interface IP address Breath does request forwarding.
In the present embodiment, adapter includes configuration module, protocol conversion template, search completion module, data parsing turn Change the mold block.In new access platform service interface, parsing configuration is done to the interface not being adapted to, is connect in configuration module to corresponding Mouth parameter carries out analytical expression configuration, and the process of service A request service B is become with postponing, it is suitable to service A request interface Orchestration, the interface that interface adapter is provided by convert requests service B.
Specifically, the good parsing to input data of configuration in parsing configuration module, being assembled into server-side, (interface is provided Just) the data structure of the interface provided.The good interface that server-side (interface provider) is provided of configuration in parsing configuration module Which supplemental characteristic do search completion.With postponing, interface of the client (Interface Consumer) to server-side (interface provider) Calling is changed to call by interface adapter.After interface adapter receives request, corresponding configuration is searched, judges to carry out data Completion is searched for, judges to carry out data parsing conversion, the interface protocol provided for server-side (interface provider) does data transmission.
Implement the present embodiment, connecing for different services can be fast implemented on interface by way of increasing or modifying configuration Mouth docking.
Second aspect.
Referring to Fig. 3, another embodiment of the present invention also provides a kind of interface adaptive device, comprising:
Service request reception module 21 is accessed, for receiving the access service request of access system transmission.
Wherein, access system can be client, and interviewed system can be network server, from client to network service Device sends access service request.Certainly, access system may be network server, and interviewed system is client, be taken by network Business device sends access service request to client.The present embodiment is it is not limited here.Specifically, access service content can be more Kind, service invocation request or data inquiry request are such as carried out, the present embodiment is it is not limited here.It include needing to access in request Interface unique identification and interface data.
In specific embodiment, the interface protocol of access can there are many, including HTTP, TCP, RPC, message queue Component etc..The data format of access can there are many, including JSON data, XML data etc..
It should be noted that following steps are referred to as client to access system, interviewed system is referred to as server-side.
Server-side registration information obtains module 22, for obtaining server-side registration corresponding with the access service request Information;The server-side registration information includes the interface message and interface for servicing client information and servicing the interviewed system that end provides Parse configuration information.
Wherein, service registration information, which can be, takes previously according to the interface message of each system name information and each system in access It is registered in business information-storing device.If not accessing service registration accordingly in access information on services storage device The message for not finding access service registration information then can be returned to client by information.Technical staff is passing through client system System know do not find access service registration information after, can access information on services storage device in be registered.It succeeds in registration After, access system can carry out the access service to interviewed system again.
Information on services storage device is stored using distributed storage component, the information on services stored when doing cluster to service And the information such as interface, configuration is shared.
It should be noted that information on services storage device can be database, access system side can be located at, it can also be with Positioned at interviewed system side.
Wherein, the interface message include interface type, interface parameters, interface access protocol information and interface Location information.
Adapter constructs module 23, for parsing configuration information according to the interface message and interface, carries out parametric solution Analysis assembling.
The adapter constructs module 23, is specifically used for parsing configuration information according to the interface message and interface, obtain Get corresponding parsing configuration;Data with existing is parsed and assembles, argument structure needed for obtaining the interface of interviewed system.
In specific embodiment, interface parsing configuration will be judged whether there is, in the case where being not present, can skip suitable The resolving of orchestration.
In the case where there is parsing configuration in a preferred embodiment, adapter required for being constructed using configuration.Again Judge whether to be configured with parameter completion search, does query and search using the search system that existing data call accesses.
Finally the request data combination search result received is summarized, service end system is set up out by the adapter of building Interface needed for argument structure.
Argument structure needed for servicing end interface can there are many, including JSON data structure, XML data structure etc..
In a preferred embodiment, if judgement does not get parsing configuration there is no interface parsing configuration In the case of just do not parse, carry out data penetration transmission.
Data with existing means summarizing for the result that request data and search obtain, and obtains the number of interface provider needs According to.
In search configuration and have with postponing, needs to assemble search condition, assembling search condition therein is believed that and assembles Query SQL sentence is similar.
Service request forwarding module 24 is accessed, for using correspondence according to the interface protocol information in the interface message Protocol adaptor access service request forwarding.
Wherein, the protocol adaptor is that http protocol adapter, Transmission Control Protocol adapter or message queue send adapter Any one of.
It is understood that being believed after constructing corresponding adapter according to interface message using service end system interface IP address Breath does request forwarding.
In the present embodiment, adapter includes configuration module, protocol conversion template, search completion module, data parsing turn Change the mold block.In new access platform service interface, parsing configuration is done to the interface not being adapted to, is connect in configuration module to corresponding Mouth parameter carries out analytical expression configuration, and the process of service A request service B is become with postponing, it is suitable to service A request interface Orchestration, the interface that interface adapter is provided by convert requests service B.
Specifically, the good parsing to input data of configuration in parsing configuration module, being assembled into server-side, (interface is provided Just) the data structure of the interface provided.The good interface that server-side (interface provider) is provided of configuration in parsing configuration module Which supplemental characteristic do search completion.With postponing, interface of the client (Interface Consumer) to server-side (interface provider) Calling is changed to call by interface adapter.After interface adapter receives request, corresponding configuration is searched, judges to carry out data Parsing conversion, the interface protocol provided for server-side (interface provider) do data transmission.
Alternatively, in a preferred embodiment, after interface adapter receives request, search corresponding configuration, judge into Row data search completion judges to carry out data parsing conversion, does number for the interface protocol of server-side (interface provider) offer According to transmission.
Implement the present embodiment, connecing for different services can be fast implemented on interface by way of increasing or modifying configuration Mouth docking.
The third aspect.
Referring to Fig. 4, it should be noted that the client (Interface Consumer) in Fig. 4 represents access system, server-side (interface provider) represents by access system.
Another embodiment of the present invention also provides a kind of interface adaption system, including adapter, and is connected to institute State the access system and interviewed system at adapter both ends;
The access system, for sending access service request to the adapter.
Wherein, access system can be client, and interviewed system can be network server, from client to network service Device sends access service request.Certainly, access system may be network server, and interviewed system is client, be taken by network Business device sends access service request to client.The present embodiment is it is not limited here.Specifically, access service content can be more Kind, service invocation request or data inquiry request are such as carried out, the present embodiment is it is not limited here.It include needing to access in request Interface unique identification and interface data.
In specific embodiment, the interface protocol of access can there are many, including HTTP, TCP, RPC, message queue Component etc..The data format of access can there are many, including JSON data, XML data etc..
It should be noted that following steps are referred to as client to access system, interviewed system is referred to as server-side.
The adapter, for obtaining server-side registration information corresponding with the access service request;The service End registration information includes the interface message and interface parsing configuration for servicing client information and servicing the interviewed system that end provides Information.
Wherein, service registration information, which can be, takes previously according to the interface message of each system name information and each system in access It is registered in business information-storing device.If not accessing service registration accordingly in access information on services storage device The message for not finding access service registration information then can be returned to client by information.Technical staff is passing through client system System know do not find access service registration information after, can access information on services storage device in be registered.It succeeds in registration After, access system can carry out the access service to interviewed system again.
Information on services storage device is stored using distributed storage component, the information on services stored when doing cluster to service And the information such as interface, configuration is shared.
It should be noted that information on services storage device can be database, access system side can be located at, it can also be with Positioned at interviewed system side.
Wherein, the interface message include interface type, interface parameters, interface access protocol information and interface Location information.
The adapter is also used to carry out Parameter analysis of electrochemical group according to the interface message and interface parsing configuration information Dress.
Specifically, parsing configuration information according to the interface message and interface, corresponding parsing configuration is got;It uses The parsing configuration building adapter;Data with existing is parsed and assembles, argument structure needed for obtaining the interface of interviewed system.
In specific embodiment, interface parsing configuration will be judged whether there is, in the case where being not present, can skip suitable The resolving of orchestration.
In the case where there is parsing configuration in a preferred embodiment, adapter required for being constructed using configuration.Again Judge whether to be configured with parameter completion search, does query and search using the search system that existing data call accesses.
Finally the request data combination search result received is summarized, service end system is set up out by the adapter of building Interface needed for argument structure.
Argument structure needed for servicing end interface can there are many, including JSON data structure, XML data structure etc..
In a preferred embodiment, if judgement does not get parsing configuration there is no interface parsing configuration In the case of just do not parse, carry out data penetration transmission.
Data with existing means summarizing for the result that request data and search obtain, and obtains the number of interface provider needs According to.
In search configuration and have with postponing, needs to assemble search condition, assembling search condition therein is believed that and assembles Query SQL sentence is similar.
The adapter is also used to use corresponding protocol adaptation according to the interface protocol information in the interface message Device access service request forwarding.
Wherein, the protocol adaptor is that http protocol adapter, Transmission Control Protocol adapter or message queue send adapter Any one of.
It is understood that being believed after constructing corresponding adapter according to interface message using service end system interface IP address Breath does request forwarding.
In the present embodiment, adapter includes configuration module, protocol conversion template, search completion module, data parsing turn Change the mold block.In new access platform service interface, parsing configuration is done to the interface not being adapted to, is connect in configuration module to corresponding Mouth parameter carries out analytical expression configuration, and the process of service A request service B is become with postponing, it is suitable to service A request interface Orchestration, the interface that interface adapter is provided by convert requests service B.Wherein, A is serviced, is Interface Consumer, represents access system System, such as client, service B are interface provider, are represented by access system, such as server-side.
Specifically, the good parsing to input data of configuration in parsing configuration module, being assembled into server-side, (interface is provided Just) the data structure of the interface provided.The good interface that server-side (interface provider) is provided of configuration in parsing configuration module Which supplemental characteristic do search completion.With postponing, interface of the client (Interface Consumer) to server-side (interface provider) Calling is changed to call by interface adapter.After interface adapter receives request, corresponding configuration is searched, data parsing is carried out Conversion, the interface protocol provided for server-side (interface provider) do data transmission.
Alternatively, in a preferred embodiment, after interface adapter receives request, search corresponding configuration, judge into Row data search completion judges to carry out data parsing conversion, does number for the interface protocol of server-side (interface provider) offer According to transmission.
Implement the present embodiment, connecing for different services can be fast implemented on interface by way of increasing or modifying configuration Mouth docking, search completion can be done to the interface parameters lacked, is converted to different agreement and method of calling, and is not needed Modification code is recompilated.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principle of the present invention, several improvement and deformations can also be made, these improvement and deformations are also considered as Protection scope of the present invention.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..

Claims (10)

1. a kind of method for interface adaptation characterized by comprising
Receive the access service request that access system is sent;
Obtain server-side registration information corresponding with the access service request;The server-side registration information includes server-side The interface message and interface for the interviewed system that information and server-side provide parse configuration information;
Configuration information is parsed according to the interface message and interface, carries out Parameter analysis of electrochemical assembling;
According to the interface protocol information in the interface message, turned using the corresponding protocol adaptor service request that accesses Hair.
2. method for interface adaptation according to claim 1, which is characterized in that described according to the interface message and interface Configuration information is parsed, Parameter analysis of electrochemical assembling is carried out, specific:
Configuration information is parsed according to the interface message and interface, gets corresponding parsing configuration;
Building adapter is configured using the parsing;
Data with existing is parsed and assembles, argument structure needed for obtaining the interface of interviewed system.
3. method for interface adaptation according to claim 1, which is characterized in that the interface message includes interface type, connects The protocol information and interface IP address information that mouth parameter, interface access.
4. method for interface adaptation according to claim 1, which is characterized in that the protocol adaptor is http protocol adaptation Device, Transmission Control Protocol adapter or message queue send any one of adapter.
5. a kind of interface adaptive device characterized by comprising
Service request reception module is accessed, for receiving the access service request of access system transmission;
Server-side registration information obtains module, for obtaining server-side registration information corresponding with the access service request; The server-side registration information includes the interface message and interface parsing for servicing client information and servicing the interviewed system that end provides Configuration information;
Adapter constructs module, for parsing configuration information according to the interface message and interface, carries out Parameter analysis of electrochemical assembling;
Service request forwarding module is accessed, for using corresponding agreement according to the interface protocol information in the interface message Adapter access service request forwarding.
6. interface adaptive device according to claim 5, which is characterized in that the adapter constructs module, is specifically used for Configuration information is parsed according to the interface message and interface, gets corresponding parsing configuration;Structure is configured using the parsing Build adapter;Data with existing is parsed and assembles, argument structure needed for obtaining the interface of interviewed system.
7. interface adaptive device according to claim 5, which is characterized in that the interface message includes interface type, connects The protocol information and interface IP address information that mouth parameter, interface access.
8. interface adaptive device according to claim 5, which is characterized in that the protocol adaptor is http protocol adaptation Device, Transmission Control Protocol adapter or message queue send any one of adapter.
9. a kind of interface adaption system, which is characterized in that including adapter, and be connected to the visit at the adapter both ends Ask system and interviewed system;
The access system, for sending access service request to the adapter;
The adapter, for obtaining server-side registration information corresponding with the access service request;The server-side note Volume information includes the interface message and interface parsing configuration information for the interviewed system that server-side information and server-side provide;
The adapter is also used to carry out Parameter analysis of electrochemical assembling according to the interface message and interface parsing configuration information;
The adapter, is also used to according to the interface protocol information in the interface message, using corresponding protocol adaptor into Row access service request forwarding.
10. interface adaption system according to claim 9, which is characterized in that the adapter is specifically also used to according to institute Interface message and interface parsing configuration information are stated, corresponding parsing configuration is got;Building adaptation is configured using the parsing Device;Data with existing is parsed and assembles, argument structure needed for obtaining the interface of interviewed system.
CN201811553482.8A 2018-12-18 2018-12-18 Interface adaptation method, device and system Active CN109672732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811553482.8A CN109672732B (en) 2018-12-18 2018-12-18 Interface adaptation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811553482.8A CN109672732B (en) 2018-12-18 2018-12-18 Interface adaptation method, device and system

Publications (2)

Publication Number Publication Date
CN109672732A true CN109672732A (en) 2019-04-23
CN109672732B CN109672732B (en) 2021-10-22

Family

ID=66144101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811553482.8A Active CN109672732B (en) 2018-12-18 2018-12-18 Interface adaptation method, device and system

Country Status (1)

Country Link
CN (1) CN109672732B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110620721A (en) * 2019-10-25 2019-12-27 上海中通吉网络技术有限公司 Gateway equipment, application method and service system
WO2021189898A1 (en) * 2020-10-09 2021-09-30 平安科技(深圳)有限公司 Protocol conversion method and system for data, and electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571550A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 General information interaction platform and method
CN102811199A (en) * 2011-05-30 2012-12-05 深圳市金蝶友商电子商务服务有限公司 Interface adaptation method, device and system
CN106920204A (en) * 2017-03-20 2017-07-04 泰华智慧产业集团股份有限公司 The dissemination method and system of interface service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571550A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 General information interaction platform and method
CN102811199A (en) * 2011-05-30 2012-12-05 深圳市金蝶友商电子商务服务有限公司 Interface adaptation method, device and system
CN106920204A (en) * 2017-03-20 2017-07-04 泰华智慧产业集团股份有限公司 The dissemination method and system of interface service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110620721A (en) * 2019-10-25 2019-12-27 上海中通吉网络技术有限公司 Gateway equipment, application method and service system
WO2021189898A1 (en) * 2020-10-09 2021-09-30 平安科技(深圳)有限公司 Protocol conversion method and system for data, and electronic device and storage medium

Also Published As

Publication number Publication date
CN109672732B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN108462758B (en) Bank-enterprise direct connection communication method, device, equipment and computer readable storage medium
US7287067B2 (en) Dynamically configuring a server computer
US6892231B2 (en) Method and apparatus for verifying the contents of a global configuration file
US8260820B2 (en) Method and apparatus for searching
US8738700B2 (en) Method and system for providing network services
CN109600381A (en) A kind of method for interface adaptation, apparatus and system
US20030233397A1 (en) Interface development environment and interface for connecting systems having different data structures
CN111200523B (en) Method, device, equipment and storage medium for configuring middle platform system
CN111143532B (en) Dialogue unit access method, device, equipment and storage medium
CN113992738A (en) Reverse proxy method, device, equipment and storage medium based on micro service gateway
US20100268992A1 (en) Method and system for protocol embedded automated test control
CN109672732A (en) A kind of method for interface adaptation, apparatus and system
JP4009591B2 (en) Domain naming system (DNS) for accessing databases
CN109922148B (en) Cross-platform service method, device and system
CN113342503B (en) Real-time progress feedback method, device, equipment and storage medium
CN111209325A (en) Service system interface identification method, device and storage medium
CN105516319B (en) The method and apparatus for managing HTTP message
CN107888451A (en) The method of testing and device of a kind of Web server
Chen et al. Ensuring interoperability for the Internet of Things: Experience with CoAP protocol testing
CN101933011B (en) System and method for profiling remote user interface
CN108173957A (en) A kind of Http interfaces rapid configuration joint debugging platform
CN113704486A (en) Map data construction method and device and map data query method and device
Cramp et al. Employing hierarchical federation communities in the virtual ship architecture
KR20020010071A (en) A reformatting system and method for wireless internet site
CN113765872A (en) Method and system for adaptive data format conversion adaptation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant