CN112422582A - Heterogeneous protocol application access method - Google Patents
Heterogeneous protocol application access method Download PDFInfo
- Publication number
- CN112422582A CN112422582A CN202011394361.0A CN202011394361A CN112422582A CN 112422582 A CN112422582 A CN 112422582A CN 202011394361 A CN202011394361 A CN 202011394361A CN 112422582 A CN112422582 A CN 112422582A
- Authority
- CN
- China
- Prior art keywords
- interface
- heterogeneous
- heterogeneous protocol
- protocol
- calling
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 230000004044 response Effects 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000001419 dependent effect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Abstract
The invention discloses a heterogeneous protocol application access method, which comprises the following steps: s1, establishing a heterogeneous protocol access platform; s2, the heterogeneous service provider configures heterogeneous protocol interface information on a platform, and the heterogeneous protocol interface information is checked by a manager, and each configured interface has a unique interface ID; s3, a service access person calls a heterogeneous protocol access platform through a standard protocol and transmits a calling parameter and an interface ID to be called; s4, the heterogeneous protocol access platform constructs a corresponding heterogeneous protocol calling message through the interface ID and the calling parameter, and calls the corresponding interface; and S5, after the calling is finished, converting the return result into a standard protocol for returning. The heterogeneous protocol access platform is established, all heterogeneous protocol interfaces are converted into standard interfaces meeting the company specifications, pain points during heterogeneous protocol service access are solved, and the heterogeneous protocol access platform also has interface management capabilities of interface current limiting, interface fusing, calling condition analysis, calling alarm and the like.
Description
Technical Field
The invention relates to the field of IT and software development, in particular to a heterogeneous protocol application access method.
Background
In order to reduce the team learning cost and improve the development efficiency, the internet company reuses the technical scheme at present, and the internet company can push the unified technical model selection and development standard of research and development organizations inside the company to establish a unified technical stack. For example, the mutual funds company uses JAVA to develop all applications and calls each other via the DUBBO protocol.
As companies grow and evolve, the ever-increasing business demands necessarily result in reliance on external capabilities, but not all of them are matched to a unified technology stack within the company. When external heterogeneous applications that differ from the corporate internal unified technology stack protocol must be accessed, the most conventional approach is to implement heterogeneous protocol calls inside the application.
However, the method has a plurality of hidden dangers:
1. if each application needs to respectively realize corresponding heterogeneous protocol calling, the redundancy and the complexity of the code are improved, and the calling link cost and the service resource cost are increased.
2. The heterogeneous application resource address cannot be updated in real time through a registry of the unified technology stack, and if the heterogeneous application address is updated, all standard applications which depend on the heterogeneous application resource address must modify the call address manually.
3. Each standard application which depends on the heterogeneous application needs to get through the port and the network segment access authority corresponding to the heterogeneous protocol, and the process is complicated and has great potential safety hazards.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a heterogeneous protocol application access method.
In order to solve the technical problems, the invention provides the following technical scheme:
the invention provides a heterogeneous protocol application access method, which comprises the following steps:
s1, establishing a heterogeneous protocol access platform;
s2, the heterogeneous service provider configures heterogeneous protocol interface information on a platform, and the heterogeneous protocol interface information is checked by a manager, and each configured interface has a unique interface ID;
s3, a service access person calls a heterogeneous protocol access platform through a standard protocol and transmits a calling parameter and an interface ID to be called;
s4, the heterogeneous protocol access platform constructs a corresponding heterogeneous protocol calling message through the interface ID and the calling parameter, and calls the corresponding interface;
and S5, after the calling is finished, converting the return result into a standard protocol for returning.
As a preferred technical solution of the present invention, the heterogeneous protocol access platform in step S1 includes the following:
1. interface status monitoring
a) Through a timing task, a test message of an interface provider is used for initiating a test request to an interface periodically;
b) if the interface request is successful and the interface response is in accordance with the expectation, the interface state is normal;
c) if the interface request fails or the interface response is wrong, sending an interface state abnormal alarm through an alarm system;
2. interface current limiting and fusing
a) When the interface is called, the interface is limited through current limiting algorithms such as a token bucket and a sliding window;
b) judging a request state when the interface returns, if the failure proportion exceeds a threshold value, fusing the interface, and failing to request to relieve the back-end service pressure within a period of time;
3. invoking exception alerts
a) The interface request returns the recording request condition;
b) if a large number of requests fail within a period of time, an alarm is sent out through the alarm module.
Compared with the prior art, the invention has the following beneficial effects:
the heterogeneous protocol access platform is established, all heterogeneous protocol interfaces are converted into standard interfaces meeting the company specifications, pain points during heterogeneous protocol service access are solved, and the heterogeneous protocol access platform also has interface management capabilities of interface current limiting, interface fusing, calling condition analysis, calling alarm and the like.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
figure 1 is a schematic diagram of the overall scheme of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Example 1
As shown in fig. 1, the present invention provides a heterogeneous protocol application access method, which includes the following steps:
s1, establishing a heterogeneous protocol access platform;
s2, the heterogeneous service provider configures heterogeneous protocol interface information on a platform, and the heterogeneous protocol interface information is checked by a manager, and each configured interface has a unique interface ID;
s3, a service access person calls a heterogeneous protocol access platform through a standard protocol and transmits a calling parameter and an interface ID to be called;
s4, the heterogeneous protocol access platform constructs a corresponding heterogeneous protocol calling message through the interface ID and the calling parameter, and calls the corresponding interface;
and S5, after the calling is finished, converting the return result into a standard protocol for returning.
As a preferred technical solution of the present invention, the heterogeneous protocol access platform in step S1 includes the following:
1. interface status monitoring
a) Through a timing task, a test message of an interface provider is used for initiating a test request to an interface periodically;
b) if the interface request is successful and the interface response is in accordance with the expectation, the interface state is normal;
c) if the interface request fails or the interface response is wrong, sending an interface state abnormal alarm through an alarm system;
2. interface current limiting and fusing
a) When the interface is called, the interface is limited through current limiting algorithms such as a token bucket and a sliding window;
b) judging a request state when the interface returns, if the failure proportion exceeds a threshold value, fusing the interface, and failing to request to relieve the back-end service pressure within a period of time;
3. invoking exception alerts
a) The interface request returns the recording request condition;
b) if a large number of requests fail within a period of time, an alarm is sent out through the alarm module.
Specifically, the common architecture features are as follows:
each application implements its application-dependent protocol separately.
The addresses of its dependent applications are managed individually by each application.
Each application individually gates through its dependent application's network and port.
The patent framework has the following characteristics:
and uniformly realizing the calling of the heterogeneous protocols by the heterogeneous protocol access platform.
The heterogeneous protocol access platform manages the address, and the calling party only needs to pay attention to the interface ID.
The heterogeneous protocol access platform is responsible for opening a network and a port, and a calling party can complete a service flow only by using a standard protocol.
The heterogeneous protocol access platform is established, all heterogeneous protocol interfaces are converted into standard interfaces meeting the company specifications, pain points during heterogeneous protocol service access are solved, and the heterogeneous protocol access platform also has interface management capabilities of interface current limiting, interface fusing, calling condition analysis, calling alarm and the like.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (2)
1. A heterogeneous protocol application access method is characterized by comprising the following steps:
s1, establishing a heterogeneous protocol access platform;
s2, the heterogeneous service provider configures heterogeneous protocol interface information on a platform, and the heterogeneous protocol interface information is checked by a manager, and each configured interface has a unique interface ID;
s3, a service access person calls a heterogeneous protocol access platform through a standard protocol and transmits a calling parameter and an interface ID to be called;
s4, the heterogeneous protocol access platform constructs a corresponding heterogeneous protocol calling message through the interface ID and the calling parameter, and calls the corresponding interface;
and S5, after the calling is finished, converting the return result into a standard protocol for returning.
2. The method for accessing heterogeneous protocol application according to claim 1, wherein the heterogeneous protocol access platform in step S1 includes the following steps:
(1) monitoring of interface status
a) Through a timing task, a test message of an interface provider is used for initiating a test request to an interface periodically;
b) if the interface request is successful and the interface response is in accordance with the expectation, the interface state is normal;
c) if the interface request fails or the interface response is wrong, sending an interface state abnormal alarm through an alarm system;
(2) interface current limiting and fusing
a) When the interface is called, the interface is limited through current limiting algorithms such as a token bucket and a sliding window;
b) judging a request state when the interface returns, if the failure proportion exceeds a threshold value, fusing the interface, and failing to request to relieve the back-end service pressure within a period of time;
(3) call exception alarm
a) The interface request returns the recording request condition;
b) if a large number of requests fail within a period of time, an alarm is sent out through the alarm module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011394361.0A CN112422582A (en) | 2020-12-02 | 2020-12-02 | Heterogeneous protocol application access method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011394361.0A CN112422582A (en) | 2020-12-02 | 2020-12-02 | Heterogeneous protocol application access method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112422582A true CN112422582A (en) | 2021-02-26 |
Family
ID=74829705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011394361.0A Pending CN112422582A (en) | 2020-12-02 | 2020-12-02 | Heterogeneous protocol application access method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112422582A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112948830A (en) * | 2021-03-12 | 2021-06-11 | 哈尔滨安天科技集团股份有限公司 | File risk identification method and device |
CN116582586A (en) * | 2023-07-13 | 2023-08-11 | 安徽商信政通信息技术股份有限公司 | Method and system for data exchange management |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150163179A1 (en) * | 2013-12-09 | 2015-06-11 | Hewlett-Packard Development Company, L.P. | Execution of a workflow that involves applications or services of data centers |
CN106708976A (en) * | 2016-12-07 | 2017-05-24 | 安徽尚果信息科技有限公司 | Method for managing businesses via standard data interface |
CN109246251A (en) * | 2018-11-13 | 2019-01-18 | 杭州数梦工场科技有限公司 | A kind of micro services call method, device, system, equipment and readable storage medium storing program for executing |
CN110191164A (en) * | 2019-05-20 | 2019-08-30 | 中国工商银行股份有限公司 | Distributed Services access system and method |
CN111741003A (en) * | 2020-06-23 | 2020-10-02 | 四川长虹电器股份有限公司 | Multi-protocol conversion method and system for third-party platform docking |
CN111931030A (en) * | 2020-07-30 | 2020-11-13 | 中粮招商局(深圳)粮食电子交易中心有限公司 | Request adaptation method, device, equipment and storage medium based on heterogeneous system |
-
2020
- 2020-12-02 CN CN202011394361.0A patent/CN112422582A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150163179A1 (en) * | 2013-12-09 | 2015-06-11 | Hewlett-Packard Development Company, L.P. | Execution of a workflow that involves applications or services of data centers |
CN106708976A (en) * | 2016-12-07 | 2017-05-24 | 安徽尚果信息科技有限公司 | Method for managing businesses via standard data interface |
CN109246251A (en) * | 2018-11-13 | 2019-01-18 | 杭州数梦工场科技有限公司 | A kind of micro services call method, device, system, equipment and readable storage medium storing program for executing |
CN110191164A (en) * | 2019-05-20 | 2019-08-30 | 中国工商银行股份有限公司 | Distributed Services access system and method |
CN111741003A (en) * | 2020-06-23 | 2020-10-02 | 四川长虹电器股份有限公司 | Multi-protocol conversion method and system for third-party platform docking |
CN111931030A (en) * | 2020-07-30 | 2020-11-13 | 中粮招商局(深圳)粮食电子交易中心有限公司 | Request adaptation method, device, equipment and storage medium based on heterogeneous system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112948830A (en) * | 2021-03-12 | 2021-06-11 | 哈尔滨安天科技集团股份有限公司 | File risk identification method and device |
CN112948830B (en) * | 2021-03-12 | 2023-11-10 | 安天科技集团股份有限公司 | File risk identification method and device |
CN116582586A (en) * | 2023-07-13 | 2023-08-11 | 安徽商信政通信息技术股份有限公司 | Method and system for data exchange management |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8732516B2 (en) | Method and system for providing customer controlled notifications in a managed network services system | |
US8812649B2 (en) | Method and system for processing fault alarms and trouble tickets in a managed network services system | |
US8738760B2 (en) | Method and system for providing automated data retrieval in support of fault isolation in a managed services network | |
US8924533B2 (en) | Method and system for providing automated fault isolation in a managed services network | |
US7525422B2 (en) | Method and system for providing alarm reporting in a managed network services environment | |
US7272133B2 (en) | Method and system for implementing standard applications on an intelligent network service control point through an open services gateway | |
US5764955A (en) | Gateway for using legacy telecommunications network element equipment with a common management information protocol | |
US6550024B1 (en) | Semantic error diagnostic process for multi-agent systems | |
WO2021013058A1 (en) | Exception prompting method, apparatus, system and device for big data product, and medium | |
CN112422582A (en) | Heterogeneous protocol application access method | |
CN103067918B (en) | Method, device and system of privacy data anonymization in communication network | |
CN110554927A (en) | Micro-service calling method based on block chain | |
CN111552568A (en) | Cloud service calling method and device | |
US7130898B2 (en) | Mechanism for facilitating invocation of a service | |
CN106487712A (en) | For accessing method, device and the server of multiple external systems | |
EP2442487A1 (en) | Location processing method address duplication processing method and device | |
CN110071839A (en) | Support the CORBA communication device of digital signal processor | |
CN112565277B (en) | Data transmission method, system and electronic equipment | |
US6886113B2 (en) | System and method for determining and presenting network problems | |
CN115086311A (en) | Management system of enterprise cross-system service based on cloud service bus | |
CN113395310A (en) | Micro-service calling method, device, equipment and medium | |
US20030110243A1 (en) | Method, system and policy decision point (PDP) for policy-based test management | |
US8098809B2 (en) | System and method for self-supporting applications | |
US6496861B1 (en) | Operational environment system and method for communication network service applications | |
CN101335743B (en) | Gateway and information processing method for gateway |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210226 |
|
RJ01 | Rejection of invention patent application after publication |