CN114040032A - Protocol conversion method, system, storage medium and electronic equipment - Google Patents

Protocol conversion method, system, storage medium and electronic equipment Download PDF

Info

Publication number
CN114040032A
CN114040032A CN202111422781.XA CN202111422781A CN114040032A CN 114040032 A CN114040032 A CN 114040032A CN 202111422781 A CN202111422781 A CN 202111422781A CN 114040032 A CN114040032 A CN 114040032A
Authority
CN
China
Prior art keywords
data
network system
protocol
request
external network
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
Application number
CN202111422781.XA
Other languages
Chinese (zh)
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.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202111422781.XA priority Critical patent/CN114040032A/en
Publication of CN114040032A publication Critical patent/CN114040032A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Abstract

The embodiment of the invention provides a protocol conversion method, a system, a storage medium and electronic equipment, which are applied to the field of mobile interconnection or the field of finance. The method comprises the following steps: receiving an external call request instruction sent by an internal network system; the call-out request instruction carries data access parameters; the external call request instruction is an instruction for requesting the external network system to transmit target information to the internal network system by the internal network system; analyzing the data access parameters to obtain a request protocol and request data; the request protocol is a data transmission protocol of an external network system; the request data is data for indicating target information; packaging the request data according to a request protocol to obtain the to-be-transmitted data which can be processed by an external network system; and sending the data to be transmitted which can be processed by the external network system to the external network system. The invention can realize the uniform export of different external calling protocols, and is convenient for the maintenance and the uniform management of the system.

Description

Protocol conversion method, system, storage medium and electronic equipment
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a protocol conversion method, a protocol conversion system, a storage medium, and an electronic device.
Background
The gateway implements network interconnection on a network layer, and the gateway is used between two systems of different communication protocols. The existing gateway service can provide a uniform entry for a request sent by an external network system, but when sending an access request to the external network system, different protocols call different APIs (Application Program interfaces), and there are services that access the external network system through HTTP (hypertext Transfer Protocol), services that access the external network system through Socket (Socket), and situations that download a File to the external network system through FTP (File Transfer Protocol). Due to the difference of communication protocols, the use methods of the corresponding APIs are not uniform, which is not beneficial to the maintenance and uniform management of the system.
Disclosure of Invention
Embodiments of the present invention provide a protocol conversion method, a system, a storage medium, and an electronic device, which can implement a unified export of different external invocation protocols, and facilitate maintenance and unified management of a system. The specific technical scheme is as follows:
the invention provides a protocol conversion method, which is applied to gateway equipment, wherein an internal network system is in communication connection with an external network system through the gateway equipment, and the method comprises the following steps:
receiving an external call request instruction sent by the internal network system; the call-out request instruction carries data access parameters; the external call request instruction is an instruction for requesting the external network system to transmit target information to the internal network system by the internal network system; the data transmission protocol of the internal network system is different from the data transmission protocol of the external network system;
analyzing the data access parameters to obtain a request protocol and request data; the request protocol is a data transmission protocol of the external network system; the request data is used for indicating the target information;
packaging the request data according to the request protocol to obtain the to-be-transmitted data which can be processed by the external network system;
and sending the data to be transmitted which can be processed by the external network system to the external network system.
Optionally, the packaging the request data according to the request protocol specifically includes:
determining a protocol type of the request protocol;
when the protocol type is a Socket protocol, the request data packet is packaged into data to be transmitted of the Socket protocol type;
when the protocol type is an HTTP protocol, the request data packet is packaged into data to be transmitted of the HTTP protocol type;
and when the protocol type is the FTP protocol, the request data packet is packaged into data to be transmitted in the FTP protocol type.
Optionally, after sending the data to be transmitted, which can be processed by the external network system, to the external network system, the method further includes:
receiving response data sent by the external network system; the response data is data responded after the external network system receives the request data, and the response data carries the target information;
acquiring a data transmission protocol of the external network system, and packaging the response data according to the data transmission protocol of the external network system to obtain to-be-transmitted data which can be processed by the internal network system;
and sending the data to be transmitted which can be processed by the internal network system to the internal network system.
Optionally, the performing packet processing on the response data according to the data transmission protocol of the external network system specifically includes:
determining a protocol type of a data transmission protocol of the external network system;
when the protocol type is a Socket protocol, the response data packet is packaged into data to be transmitted of the Socket protocol type;
when the protocol type is an HTTP protocol, the response data packet is packaged into data to be transmitted of the HTTP protocol type;
and when the protocol type is the FTP protocol, the response data packet is packaged into data to be transmitted in the FTP protocol type.
Optionally, after obtaining the request data, the method further includes:
and when the external network system is abnormal, intercepting or limiting the flow of the request data.
Optionally, after receiving the response data, the method further comprises:
and when the internal network system is abnormal, intercepting or limiting the flow of the response data.
Optionally, after parsing the data access parameter to obtain a request protocol and request data, the method further includes:
generating an callout log according to the request protocol and the request data; the callout log is used for recording callout request information.
The present invention also provides a protocol conversion system, comprising:
the data receiving module is used for receiving an external call request instruction sent by the internal network system; the call-out request instruction carries data access parameters; the external call request instruction is an instruction for requesting an external network system to transmit target information to the internal network system by the internal network system; the data transmission protocol of the internal network system is different from the data transmission protocol of the external network system;
the data analysis module is used for analyzing the data access parameters to obtain a request protocol and request data; the request protocol is a data transmission protocol of the external network system; the request data is used for indicating the target information;
the data processing module is used for packaging the request data according to the request protocol to obtain the to-be-transmitted data which can be processed by the external network system;
and the data transmission module is used for sending the data to be transmitted which can be processed by the external network system to the external network system.
The present invention also provides a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the protocol conversion method described above.
The present invention also provides an electronic device comprising:
at least one processor, and at least one memory, bus connected with the processor;
the processor and the memory complete mutual communication through the bus; the processor is used for calling the program instructions in the memory so as to execute the protocol conversion method.
According to the protocol conversion method, the system, the storage medium and the electronic device provided by the embodiment of the invention, if the data transmission protocol of the internal network system is different from the data transmission protocol of the external network system, if the internal network system needs to call the data information of the external network system, the request data sent by the internal network system needs to be packaged according to the data transmission protocol of the external network system, and after the to-be-transmitted data capable of being processed by the external network system is generated, the data is sent to the external network system.
Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram illustrating a protocol conversion method in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating data transmission according to an example embodiment;
FIG. 3 is a flowchart illustrating a protocol conversion method according to another example embodiment;
FIG. 4 is a diagram illustrating a protocol conversion system architecture in accordance with another illustrative embodiment;
FIG. 5 is a diagram illustrating a protocol conversion system architecture in accordance with another illustrative embodiment;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a protocol conversion method, which is applied to gateway equipment 1, wherein an internal network system 2 is in communication connection with an external network system 3 through the gateway equipment. The flow chart of the protocol conversion method is shown in fig. 1, the data transmission diagram is shown in fig. 2, and the method comprises the following steps:
step 101: receiving an external call request instruction sent by an internal network system; the call-out request instruction carries data access parameters; the external call request instruction is an instruction for requesting the external network system to transmit target information to the internal network system by the internal network system; the data transmission protocol of the internal network system is different from that of the external network system.
When two network systems with different data transmission protocols need to communicate, the network system which initiates the calling request is used as an internal network system, and the network system which responds to the calling request is used as an external network system. The call request is sent from the internal network system to the external network system, and is called an external call request. The calling request can be a request for calling the external network system to store data or a request for calling the data processed by the external network system. The data transmission protocol of the internal network system is different from the data transmission protocol of the external network system, and optionally, the data transmission protocol includes a Socket protocol, an HTTP protocol, an FTP protocol, and the like.
When the internal network system sends the access request to the external network system, API interfaces do not need to be called according to different data transmission protocols of the external network system, the external call request only needs to be uniformly sent to the gateway equipment, protocol conversion is carried out by using the gateway equipment, the problem that codes are disordered and not beneficial to maintenance due to the fact that different APIs are called by different protocols when the access request is sent to the external network system is avoided, unified export can be achieved, and unified management of the external call requests of different protocols is facilitated.
Step 102: analyzing the data access parameters to obtain a request protocol and request data; the request protocol is a data transmission protocol of an external network system; the request data is data indicating target information.
The call-out request instruction carries data access parameters, and the gateway equipment can analyze the data access parameters to obtain a request protocol and request data. If the internal network system needs to call the data stored in the external network system, the external network system can search the target information data according to the request data, and the target information data is the data required by the internal network system. If the external network system needs to call the processed data of the external network system, the external network system needs to process the data according to the request data, and the processed data is the target information data.
As an optional implementation, after obtaining the request data, the method further includes: and when the external network system is abnormal, intercepting or limiting the flow of the request data. The interception processing or the flow limiting processing of the request data can play a role of pre-filtering. In addition, the request data can be checked and modified, and the unified management of the call requests is further realized.
As another optional implementation, after parsing the data access parameter to obtain the request protocol and the request data, the method further includes: generating an callout log according to the request protocol and the request data; the callout log is used for recording callout request information.
Step 103: and packaging the request data according to the request protocol to obtain the to-be-transmitted data which can be processed by the external network system.
Step 103, specifically comprising:
determining a protocol type of a request protocol;
when the protocol type is a Socket protocol, the request data are packaged into data to be transmitted of the Socket protocol type;
when the protocol type is an HTTP protocol, the request data packet is packaged into data to be transmitted of the HTTP protocol type;
and when the protocol type is the FTP protocol, the request data packet is packaged into data to be transmitted of the FTP protocol type.
The gateway device is integrated with a callout implementation cluster with multiple protocols, such as a Socket callout implementation cluster, an Http/Http callout implementation cluster, an Ftp/Sftp callout implementation cluster and other callout implementation clusters, and each callout implementation cluster can package request data into to-be-transmitted data with the same type as the communication protocol of the external network system, so that the external network system can process the to-be-transmitted data.
Step 104: and sending the data to be transmitted which can be processed by the external network system to the external network system.
As another embodiment, as shown in fig. 3, a protocol conversion method is applied to a gateway device, and an internal network system is communicatively connected to an external network system through the gateway device, and the method includes:
step 301: receiving an external call request instruction sent by an internal network system; the call-out request instruction carries data access parameters; the external call request instruction is an instruction for requesting the external network system to transmit target information to the internal network system by the internal network system; the data transmission protocol of the internal network system is different from that of the external network system.
Step 302: analyzing the data access parameters to obtain a request protocol and request data; the request protocol is a data transmission protocol of an external network system; the request data is data indicating target information.
Step 303: and packaging the request data according to the request protocol to obtain the to-be-transmitted data which can be processed by the external network system.
Step 304: and sending the data to be transmitted which can be processed by the external network system to the external network system.
Since the steps 301-304 are similar to the above-mentioned steps 101-104, the description thereof is omitted.
Step 305: receiving response data sent by an external network system; the response data is data responded after the external network system receives the request data, and the response data carries target information.
After the external network system responds according to the request data, the gateway device receives response data sent by the external network system, and at this time, the gateway system needs to convert the response data into data which can be processed by the internal network system.
Step 306: and acquiring a data transmission protocol of the external network system, and packaging the response data according to the data transmission protocol of the external network system to obtain the to-be-transmitted data which can be processed by the internal network system.
Step 306, specifically including:
determining a protocol type of a data transmission protocol of an external network system;
when the protocol type is a Socket protocol, the response data are packaged into data to be transmitted of the Socket protocol type;
when the protocol type is an HTTP protocol, the response data packet is packaged into data to be transmitted of the HTTP protocol type;
and when the protocol type is the FTP protocol, the response data packet is packaged into data to be transmitted of the FTP protocol type.
The gateway device is integrated with a callout implementation cluster with multiple protocols, such as a Socket callout implementation cluster, an Http/Http callout implementation cluster, an Ftp/Sftp callout implementation cluster and other callout implementation clusters, each callout implementation cluster can package response data into to-be-transmitted data with the same type as the communication protocol of the internal network system, so that the internal network system can process the to-be-transmitted data.
After receiving the response data, as an optional implementation, the method further includes: and when the internal network system is abnormal, intercepting or limiting the flow of the response data. The interception processing or the current limiting processing of the response data can play a role in post-filtering.
Step 307: and sending the data to be transmitted which can be processed by the internal network system to the internal network system.
The present invention also provides a protocol conversion system, as shown in fig. 4, the system includes:
a data receiving module 401, configured to receive an external call request instruction sent by an internal network system; the call-out request instruction carries data access parameters; the external call request instruction is an instruction for requesting the external network system to transmit target information to the internal network system by the internal network system; the data transmission protocol of the internal network system is different from that of the external network system.
A data analysis module 402, configured to analyze the data access parameter to obtain a request protocol and request data; the request protocol is a data transmission protocol of an external network system; the request data is data indicating target information.
The data processing module 403 is configured to perform packet processing on the request data according to the request protocol to obtain data to be transmitted, which can be processed by the external network system.
The data processing module 403 specifically includes:
a first protocol type determining unit, configured to determine a protocol type of the request protocol;
the first Socket protocol conversion unit is used for packaging the request data into data to be transmitted in a Socket protocol type when the protocol type is the Socket protocol;
the first HTTP protocol conversion unit is used for packaging the request data into data to be transmitted in the HTTP protocol type when the protocol type is the HTTP protocol;
and the first FTP protocol conversion unit is used for packaging the request data into data to be transmitted in the FTP protocol type when the protocol type is the FTP protocol.
And a data transmission module 404, configured to send the data to be transmitted, which can be processed by the external network system, to the external network system.
The system further comprises:
and the preposed filtering module is used for intercepting or limiting the request data when the external network system is abnormal.
The system further comprises:
the log generation module is used for generating an callout log according to the request protocol and the request data; the callout log is used for recording callout request information.
As an alternative implementation, as shown in fig. 5, the protocol conversion system includes:
a data receiving module 501, configured to receive an external call request instruction sent by an internal network system; the call-out request instruction carries data access parameters; the external call request instruction is an instruction for requesting the external network system to transmit target information to the internal network system by the internal network system; the data transmission protocol of the internal network system is different from that of the external network system.
A data analysis module 502, configured to analyze the data access parameter to obtain a request protocol and request data; the request protocol is a data transmission protocol of an external network system; the request data is data indicating target information.
And the data processing module 503 is configured to perform packet processing on the request data according to the request protocol to obtain data to be transmitted, which can be processed by the external network system.
The data transmission module 504 is configured to send data to be transmitted, which can be processed by the external network system, to the external network system.
A response data module 505, configured to receive response data sent by an external network system; the response data is data responded after the external network system receives the request data, and the response data carries target information.
The packaging module 506 is configured to obtain a data transmission protocol of the external network system, package the response data according to the data transmission protocol of the external network system, and obtain to-be-transmitted data that can be processed by the internal network system.
The group package module 506 specifically includes:
a second protocol type determining unit, configured to determine a protocol type of a data transmission protocol of the external network system;
the second Socket protocol conversion unit is used for packaging the response data into data to be transmitted in the Socket protocol type when the protocol type is the Socket protocol;
the second HTTP protocol conversion unit is used for packaging the response data into data to be transmitted in the HTTP protocol type when the protocol type is the HTTP protocol;
and the second FTP protocol conversion unit is used for packaging the response data into data to be transmitted in the FTP protocol type when the protocol type is the FTP protocol.
The sending module 507 is configured to send the data to be transmitted, which can be processed by the internal network system, to the internal network system.
The system further comprises:
and the post-filter module is used for intercepting or limiting the flow of the response data when the internal network system is abnormal.
An embodiment of the present invention provides a computer-readable storage medium on which a program is stored, the program implementing the protocol conversion method described above when executed by a processor.
An embodiment of the present invention provides an electronic device, as shown in fig. 6, an electronic device 60 includes at least one processor 601, at least one memory 602 connected to the processor 601, and a bus 603; the processor 601 and the memory 602 complete communication with each other through the bus 603; the processor 601 is used to call the program instructions in the memory 602 to execute the protocol conversion method described above. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application also provides a computer program product adapted to execute a program initialized with the steps comprised by the protocol conversion method described above when executed on a data processing device.
It should be noted that the protocol conversion method, the protocol conversion system, the storage medium and the electronic device provided by the invention can be used in the field of mobile internet or the field of finance. The foregoing is merely an example, and does not limit the application fields of the protocol conversion method, the protocol conversion system, the storage medium, and the electronic device provided in the present invention.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, systems and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A protocol conversion method applied to a gateway device through which an internal network system is communicatively connected to an external network system, the method comprising:
receiving an external call request instruction sent by the internal network system; the call-out request instruction carries data access parameters; the external call request instruction is an instruction for requesting the external network system to transmit target information to the internal network system by the internal network system; the data transmission protocol of the internal network system is different from the data transmission protocol of the external network system;
analyzing the data access parameters to obtain a request protocol and request data; the request protocol is a data transmission protocol of the external network system; the request data is used for indicating the target information;
packaging the request data according to the request protocol to obtain the to-be-transmitted data which can be processed by the external network system;
and sending the data to be transmitted which can be processed by the external network system to the external network system.
2. The protocol conversion method according to claim 1, wherein the performing packet processing on the request data according to the request protocol specifically includes:
determining a protocol type of the request protocol;
when the protocol type is a Socket protocol, the request data packet is packaged into data to be transmitted of the Socket protocol type;
when the protocol type is an HTTP protocol, the request data packet is packaged into data to be transmitted of the HTTP protocol type;
and when the protocol type is the FTP protocol, the request data packet is packaged into data to be transmitted in the FTP protocol type.
3. The protocol conversion method according to claim 1, wherein after sending the data to be transmitted, which is processable by the external network system, to the external network system, the method further comprises:
receiving response data sent by the external network system; the response data is data responded after the external network system receives the request data, and the response data carries the target information;
acquiring a data transmission protocol of the external network system, and packaging the response data according to the data transmission protocol of the external network system to obtain to-be-transmitted data which can be processed by the internal network system;
and sending the data to be transmitted which can be processed by the internal network system to the internal network system.
4. The protocol conversion method according to claim 3, wherein the packet processing of the response data according to the data transmission protocol of the external network system specifically includes:
determining a protocol type of a data transmission protocol of the external network system;
when the protocol type is a Socket protocol, the response data packet is packaged into data to be transmitted of the Socket protocol type;
when the protocol type is an HTTP protocol, the response data packet is packaged into data to be transmitted of the HTTP protocol type;
and when the protocol type is the FTP protocol, the response data packet is packaged into data to be transmitted in the FTP protocol type.
5. The protocol conversion method of claim 1, wherein after obtaining the request data, the method further comprises:
and when the external network system is abnormal, intercepting or limiting the flow of the request data.
6. The protocol conversion method according to claim 3, wherein after receiving the response data, the method further comprises:
and when the internal network system is abnormal, intercepting or limiting the flow of the response data.
7. The protocol conversion method of claim 1, wherein after parsing the data access parameter to obtain a request protocol and request data, the method further comprises:
generating an callout log according to the request protocol and the request data; the callout log is used for recording callout request information.
8. A protocol conversion system, comprising:
the data receiving module is used for receiving an external call request instruction sent by the internal network system; the call-out request instruction carries data access parameters; the external call request instruction is an instruction for requesting an external network system to transmit target information to the internal network system by the internal network system; the data transmission protocol of the internal network system is different from the data transmission protocol of the external network system;
the data analysis module is used for analyzing the data access parameters to obtain a request protocol and request data; the request protocol is a data transmission protocol of the external network system; the request data is used for indicating the target information;
the data processing module is used for packaging the request data according to the request protocol to obtain the to-be-transmitted data which can be processed by the external network system;
and the data transmission module is used for sending the data to be transmitted which can be processed by the external network system to the external network system.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program which, when executed by a processor, implements the protocol conversion method of any one of claims 1 to 7.
10. An electronic device, comprising:
at least one processor, and at least one memory, bus connected with the processor;
the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform the protocol conversion method of any of claims 1-7.
CN202111422781.XA 2021-11-26 2021-11-26 Protocol conversion method, system, storage medium and electronic equipment Pending CN114040032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111422781.XA CN114040032A (en) 2021-11-26 2021-11-26 Protocol conversion method, system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111422781.XA CN114040032A (en) 2021-11-26 2021-11-26 Protocol conversion method, system, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114040032A true CN114040032A (en) 2022-02-11

Family

ID=80145747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111422781.XA Pending CN114040032A (en) 2021-11-26 2021-11-26 Protocol conversion method, system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114040032A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584590A (en) * 2022-03-08 2022-06-03 奇瑞汽车股份有限公司 Data transmission method, system, device and storage medium
CN114979295A (en) * 2022-05-19 2022-08-30 京东城市(北京)数字科技有限公司 Gateway management method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995153A (en) * 2021-02-09 2021-06-18 天津大学 Multi-source heterogeneous IoT (Internet of things) equipment data unified access and storage system and method
CN113206836A (en) * 2021-04-12 2021-08-03 河海大学 Method for realizing protocol conversion of API gateway in industrial internet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995153A (en) * 2021-02-09 2021-06-18 天津大学 Multi-source heterogeneous IoT (Internet of things) equipment data unified access and storage system and method
CN113206836A (en) * 2021-04-12 2021-08-03 河海大学 Method for realizing protocol conversion of API gateway in industrial internet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584590A (en) * 2022-03-08 2022-06-03 奇瑞汽车股份有限公司 Data transmission method, system, device and storage medium
CN114979295A (en) * 2022-05-19 2022-08-30 京东城市(北京)数字科技有限公司 Gateway management method and device

Similar Documents

Publication Publication Date Title
CN106131213B (en) Service management method and system
CN107360261B (en) HTTP request processing method and device and electronic equipment
CN114040032A (en) Protocol conversion method, system, storage medium and electronic equipment
US11188443B2 (en) Method, apparatus and system for processing log data
CN113612686A (en) Traffic scheduling method and device and electronic equipment
CN112738139B (en) Cross-link access control method and device
CN114567650B (en) Data processing method and Internet of things platform system
CN114866965A (en) MaaP-based 5G message communication method, system, electronic equipment and storage medium
CN112511591A (en) Method, device, equipment and medium for realizing hospital interface data interaction
CN107040613B (en) Message transmission method and system
CN110519388B (en) Processing method and device for block chain request, electronic equipment and readable storage medium
CN114598750B (en) Data request processing method, device and storage medium
CN115086394A (en) Service information processing method and device and electronic equipment
CN113254227B (en) Method and system for remote method call across data centers
CN108541000B (en) Method, medium and device for detecting network connection
CN109194706A (en) Internet resources dial testing method and terminal
CN110022332B (en) Hypertext transfer security protocol proxy method, device, equipment and medium
CN110958278B (en) API gateway-based data processing method and system and API gateway
CN112491943A (en) Data request method, device, storage medium and electronic equipment
CN113760693A (en) Method and apparatus for local debugging of microservice systems
CN109525539B (en) Capability calling method, call receipt method, information processing method and system
CN112994894B (en) Gateway-based single-thread request processing method and information verification AGENT
CN113986955B (en) Service chain determining method and device, electronic equipment and medium
CN114095502B (en) Service processing method, system, device and medium
CN111131427B (en) Cross-domain cooperative system based on central domain and implementation method

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