CN116192933B - Method and system for dynamically expanding non-HTTP protocol based on micro-service gateway - Google Patents

Method and system for dynamically expanding non-HTTP protocol based on micro-service gateway Download PDF

Info

Publication number
CN116192933B
CN116192933B CN202211591667.4A CN202211591667A CN116192933B CN 116192933 B CN116192933 B CN 116192933B CN 202211591667 A CN202211591667 A CN 202211591667A CN 116192933 B CN116192933 B CN 116192933B
Authority
CN
China
Prior art keywords
message
protocol
service
address
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211591667.4A
Other languages
Chinese (zh)
Other versions
CN116192933A (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.)
Beijing Lingyan Technology Co ltd
Original Assignee
Beijing Lingyan Technology Co 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 Beijing Lingyan Technology Co ltd filed Critical Beijing Lingyan Technology Co ltd
Priority to CN202211591667.4A priority Critical patent/CN116192933B/en
Publication of CN116192933A publication Critical patent/CN116192933A/en
Application granted granted Critical
Publication of CN116192933B publication Critical patent/CN116192933B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method and a system for dynamically expanding non-HTTP protocol based on a micro-service gateway, which relate to the technical field of communication and comprise the following steps: s1, when a micro-service gateway is started, a local address port and a protocol to be monitored are obtained, a service monitor corresponding to the protocol is called based on the protocol to set address parameters, service monitoring is started, and a message is received; s2, when the service monitors and receives a service request, carrying out message conversion processing on the received message, and forwarding the converted message to a subsequent application micro-service; the message conversion processing of the received message comprises the following steps: receiving a message in a non-JSON format and converting the message into a micro-service standard communication message; the effect that the non-JSON message can be transmitted through the non-HTTP protocol while the micro-service architecture is used is achieved.

Description

Method and system for dynamically expanding non-HTTP protocol based on micro-service gateway
Technical Field
The application relates to the technical field of communication, in particular to a method and a system for dynamically expanding non-HTTP (hyper text transport protocol) based on a micro-service gateway.
Background
With the popularization and vigorous development of micro services, micro service gateway (SpringCloud Gateway) becomes more and more important as a unified portal, and the positioning of the micro service gateway currently provides simple, effective and unified API routing management for a micro service architecture system, so that all micro service gateways currently only support HTTP and websocket protocols and cannot support tcp, ftp and other non-HTTP (hypertext transfer protocol) protocols. However, in the practical application software development process, there are many phenomena that both use a micro-service architecture and transmit a non-JSON message through a non-HTTP protocol. How to solve the technical problem that the technical problem is needed to be solved by the technicians in the field is how to transmit the non-JSON message through the non-HTTP protocol while using the micro-service architecture in the practical application software development process.
Disclosure of Invention
Purpose of (one) application
In view of the above, the present application is directed to a method and a system for dynamically expanding non-HTTP protocol based on a micro-server gateway, which are used for solving the technical problem of how to transmit non-JSON messages through non-HTTP protocol while using a micro-server architecture.
(II) technical scheme
The application discloses a method for dynamically expanding non-HTTP protocol based on a micro-service gateway, which is characterized by comprising the following steps:
s1, when a micro-service gateway is started, a local address port and a protocol to be monitored are obtained, a service monitor corresponding to the protocol is called based on the protocol to set address parameters, service monitoring is started, and a message is received;
s2, when the service monitors and receives a service request, the received message is subjected to message conversion processing; the message conversion processing of the received message comprises the following steps: and receiving the non-JSON format message and converting the non-JSON format message into a micro-service standard communication message.
In one possible implementation manner, when the micro service gateway is started, obtaining a local address port and a protocol to be monitored, calling a service monitor corresponding to the protocol based on the protocol to set an address parameter, starting service monitoring, and receiving a message includes:
s11, setting a protocol configuration table and an address information table, wherein information for configuring a protocol, a protocol monitor and a processor is received based on the protocol configuration table, and information for configuring an address, a local address port and a protocol for providing service is received based on the address information table;
and S12, when the micro service gateway is started, searching a corresponding protocol monitor and a processor according to a protocol configured in the address information table to perform service monitoring and receive the message.
In one possible implementation manner, the message conversion processing of the received message further includes:
s21, receiving information of the configuration adapter based on the address information table in the step S11;
s22, the received message is transmitted to a processor corresponding to the protocol;
s23, calling the adapter of the received message based on the received message, the information of the configured adapter and the encryption and decryption information to analyze and convert the received message.
In one possible implementation manner, the calling the adapter of the received message based on the received message, the information of the configured adapter and the encryption and decryption information to parse and convert the received message includes:
s231, setting a message adapter configuration table and a certificate information table in the step S11, receiving information of adapters for configuring all messages under a supported protocol based on the message adapter configuration table, and receiving information of supporting encryption and decryption modes and corresponding keys based on the certificate information table;
s232, calling an adapter of the received message based on a message adapter configuration table, judging whether the received message needs to be decrypted or not, if so, configuring information supporting encryption and decryption modes and corresponding keys based on a certificate information table, decrypting or checking labels, and converting the received message, and if not, directly converting the received message.
In a possible implementation manner, in step S11, an address parameter table is set, and address protocol communication related attributes for providing services based on the address parameter table reception configuration are used for managing the micro service gateway to start acquiring address information to be monitored and establishing a related attribute configuration for monitoring.
As a second aspect of the present application, a system for dynamically expanding a non-HTTP protocol based on a micro service gateway is further provided, including a monitoring module and a message conversion module, where the monitoring module is configured to obtain a local address port and a protocol to be monitored when the micro service gateway is started, call a service monitor corresponding to the protocol based on the protocol to set an address parameter, and start service monitoring and receive a message; the message conversion module is used for carrying out message conversion processing on the received message when the service monitoring receives the service request; the message conversion processing of the received message comprises the following steps: and receiving the non-JSON format message and converting the non-JSON format message into a micro-service standard communication message.
In one possible implementation, the monitoring module includes a first configuration unit and a service monitoring unit; the first configuration unit is used for setting a protocol configuration table and an address information table, wherein the information for configuring the protocol, the protocol monitor and the processor is received based on the protocol configuration table, and the information for configuring the address, the local address port and the protocol for providing the service is received based on the address information table; and the service monitoring unit is used for searching a corresponding protocol monitor and a processor according to the protocol configured in the address information table to perform service monitoring and receiving the message when the micro-service gateway is started.
In a possible implementation manner, the message conversion module comprises a second configuration unit, a message transfer unit and an adapter unit, wherein the second configuration unit is used for further receiving information for configuring the adapter based on an address information table; the message transfer unit is used for transferring the received message to a processor corresponding to the protocol; the adapter unit is used for calling the adapter of the received message based on the received message, the information of the configured adapter and the encryption and decryption information to analyze and convert the received message.
In a possible implementation manner, the adapter unit includes a third configuration unit and a decryption conversion unit, where the third configuration unit is configured to set a message adapter configuration table and a certificate information table, receive information of adapters configured to support encryption and decryption modes and information of corresponding keys based on the message adapter configuration table and receive information of adapters configured to support all messages under a protocol supported by the message adapter configuration table; the decryption conversion unit is used for calling the adapter of the received message based on the message adapter configuration table and judging whether the received message needs to be decrypted or not, if yes, the decryption conversion unit is used for carrying out decryption or signature verification on the information supporting the encryption and decryption mode and the corresponding key based on the certificate information table configuration and converting the received message, and if not, the received message is directly converted.
In a possible implementation manner, the system further comprises a fourth configuration unit, wherein the fourth configuration unit is used for setting an address parameter table, receiving the address protocol communication related attribute for providing the service based on the address parameter table, and managing the micro-service gateway to start acquiring the address information to be monitored and establishing the related attribute configuration of the monitoring.
(III) beneficial effects
Acquiring a local address port and a protocol to be monitored, calling a service monitor corresponding to the protocol based on the protocol to set address parameters, starting service monitoring and receiving messages; when the service monitors and receives a service request, the received message is subjected to message conversion processing; in the practical application software development process, the effect that the non-JSON message can be transmitted through the non-HTTP protocol while the micro-service architecture is used is achieved.
Additional advantages, objects, and features of the application will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the application. The objects and other advantages of the application may be realized and obtained by means of the instrumentalities and combinations particularly pointed out in the specification.
Drawings
The embodiments described below with reference to the drawings are exemplary and intended to illustrate and describe the application and should not be construed as limiting the scope of the application.
FIG. 1 is a flow chart of the system of the present application;
FIG. 2 is a block diagram of the system of the present application;
wherein: 1. a monitoring module; 2. and a message conversion module.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the above description of the present application, the terms "first," "second," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
As shown in fig. 1, the present embodiment provides a method for dynamically expanding non-HTTP protocol based on a micro service gateway, which is characterized by comprising the following steps:
s1, when the micro service gateway is started, a local address port and a protocol to be monitored are obtained, a service monitor corresponding to the protocol is called based on the protocol to set address parameters, service monitoring is started, and a message is received. Address parameters are some of the elements required for protocol transmission and message conversion, supporting dynamic configuration. The address parameters include: parameter number (keep_alive hold connection, timeout (seconds), buffer_size buffer size, character set, len_encoding message length encoding method, len_include message length containing method, recv_len_begin receiving message length starting byte, recv_len_end receiving message length ending byte, send_len_begin sending message length ending byte, len_data_align_type length data alignment method, len_fix length filler (16 system), heatbeat heartbeat packet, len_decode length separator (16 system), txcode_xpath transaction code xpath, txe_rt_start transaction code starting tag, txe_end_str transaction code ending tag.
In some embodiments, when the micro service gateway is started, obtaining a local address port and a protocol to be monitored, calling a service monitor corresponding to the protocol based on the protocol to set an address parameter, starting service monitoring, and receiving a message includes:
s11, setting a protocol configuration table and an address information table, wherein information for configuring a protocol, a protocol monitor and a processor is received based on the protocol configuration table, and information for configuring an address, a local address port and a protocol for providing service is received based on the address information table; the address for providing the service is configured based on the elements of the address parameters, and the addresses of different scenes can be configured according to specific service conditions;
and S12, when the micro service gateway is started, searching a corresponding protocol monitor and a processor according to a protocol configured in the address information table to perform service monitoring and receive the message.
The protocol configuration table comprises information such as a physical primary key, a protocol name, a protocol monitor, a processor, notes and the like, and the processor comprises a protocol server processor and a protocol client processor which wait for configuration information. The information of the protocol, the protocol name, the protocol monitor, the processor, the remarks and the like in the protocol configuration table are all configured by the page.
The address information table includes physical primary key, protocol, address name, address category, address IP, address port, address description, encryption type, encryption algorithm, mode, filling mode, certificate, log record flag, service status, and status waiting configuration information. The information of protocol, address name, address category, address IP, address port, address description, message adapter, encryption type, encryption algorithm, mode, filling mode, certificate, log mark and the like in the address information table is configured by page.
In some embodiments, in step S11, an address parameter table is set, and address protocol communication related attributes for providing services based on the address parameter table reception configuration are used for managing the micro service gateway to start acquiring address information to be monitored and establishing a related attribute configuration for monitoring.
The address parameter table includes a physical primary key, an address book ID, a parameter type, an address parameter, and a parameter value. The address parameters and the parameter values in the address parameter table are configured by pages; address parameters are some of the elements required for protocol transmission and message conversion, support dynamic configuration, and include: parameter number (keep_alive hold connection, timeout (seconds), buffer_size buffer size, character set, len_encoding message length encoding method, len_include message length containing method, recv_len_begin receiving message length starting byte, recv_len_end receiving message length ending byte, send_len_begin sending message length ending byte, len_data_align_type length data alignment method, len_fix length filler (16 system), heatbeat heartbeat packet, len_decode length separator (16 system), txcode_xpath transaction code xpath, txe_rt_start transaction code starting tag, txe_end_str transaction code ending tag.
S2, when the service monitors and receives a service request, the service performs message conversion processing on the received message, and forwards the converted message to a subsequent application micro-service or forwards the message to a client; the message conversion processing of the received message comprises the following steps: and receiving the non-JSON format message and converting the non-JSON format message into a micro-service standard communication message.
In some embodiments, the performing the message conversion processing on the received message includes:
s21, receiving information of the configuration adapter based on the address information table in the step S11; the information of the configuration adapter is used for associating the message adapter configuration table id, the address information table also comprises a protocol processor (msg_comp_id), and the information of the received configuration adapter is stored in the protocol processor (msg_comp_id) of the address information table;
s22, the received message is transmitted to a processor corresponding to the protocol;
s23, calling the adapter of the received message based on the received message, the information of the configured adapter and the encryption and decryption information to analyze and convert the received message. The information of the configured adapter, namely the adapter in the message adapter configuration table, is that the address parameter table is provided with an address book ID, and all the information configured through the interface is configured according to the address book ID in the address parameter table and is only required to be related with other table main keys according to the data triple-pattern design.
In some embodiments, the calling the adapter of the received message based on the received message, the information of the configured adapter and the encryption/decryption information to parse and convert the received message includes:
s231, setting a message adapter configuration table and a certificate information table in the step S11, receiving information of adapters for configuring all messages under a supported protocol based on the message adapter configuration table, and receiving information of supporting encryption and decryption modes and corresponding keys based on the certificate information table;
the message adapter configuration table comprises a physical primary key, a protocol, an adapter name, a message adapter, remarks and state waiting configuration information; the adapter name is a well understood chinese name such as: an xml message adapter, where the message adapter is an "xml message adapter" and corresponds to a specific implementation, for example: com.leadingtek.aroteryf.adapter.base.basexmlbyteoadapter. The information of the message adapter configuration table protocol, the adapter name, the message adapter, notes, state and the like is configured by pages.
The certificate information table comprises a physical primary key, a certificate type, a name, a format, a public key, a private key, a public key index, a private key index, a public key password, a private key password, certificate content, lead-in time, expiration time and address description. The information of the certificate type, the name, the format, the public key, the private key, the public key index, the private key index, the public key password, the private key password, the certificate content, the importing time, the expiration time, the address description and the like in the certificate information table are all configured by pages.
S232, calling an adapter of the received message based on a message adapter configuration table, judging whether the received message needs to be decrypted or not, if so, configuring information supporting encryption and decryption modes and corresponding keys based on a certificate information table, decrypting or checking labels, and converting the received message, and if not, directly converting the received message.
Acquiring a local address port and a protocol to be monitored, calling a service monitor corresponding to the protocol based on the protocol to set address parameters, starting service monitoring and receiving messages; when the service monitors and receives a service request, the received message is subjected to message conversion processing; in the practical application software development process, the effect that the non-JSON message can be transmitted through the non-HTTP protocol while the micro-service architecture is used is achieved.
As shown in fig. 2, as a second aspect of the present application, there is further provided a system based on a micro service gateway dynamic extension non-HTTP protocol, including a monitoring module 1 and a message conversion module 2, where the monitoring module 1 is configured to obtain a local address port and a protocol to be monitored when the micro service gateway is started, call a service monitor corresponding to the protocol based on the protocol to set an address parameter, and start service monitoring and receive a message; the message conversion module 2 is used for carrying out message conversion processing on a received message when the service monitors and receives a service request, and forwarding the converted message to a subsequent application micro-service; the message conversion processing of the received message comprises the following steps: and receiving the non-JSON format message and converting the non-JSON format message into a micro-service standard communication message.
In some embodiments, the listening module 1 comprises a first configuration unit and a service listening unit; the first configuration unit is used for setting a protocol configuration table and an address information table, wherein the information for configuring the protocol, the protocol monitor and the processor is received based on the protocol configuration table, and the information for configuring the address, the local address port and the protocol for providing the service is received based on the address information table; and the service monitoring unit is used for searching a corresponding protocol monitor and a processor according to the protocol configured in the address information table to perform service monitoring and receiving the message when the micro-service gateway is started.
In some embodiments, the message conversion module 2 includes a second configuration unit, a message transfer unit, and an adapter unit, where the second configuration unit is configured to further receive information for configuring the adapter based on an address information table; the message transfer unit is used for transferring the received message to the processor corresponding to the protocol; the adapter unit is used for calling the adapter of the received message based on the received message, the information of the configured adapter and the encryption and decryption information to analyze and convert the received message.
In some embodiments, the adapter unit includes a third configuration unit and a decryption conversion unit, where the third configuration unit is configured to set a message adapter configuration table and a certificate information table, receive information of adapters configured to support encryption and decryption modes and information of corresponding keys based on the message adapter configuration table, and receive information configured to support all messages under a protocol supported by the configuration based on the certificate information table; the decryption conversion unit is used for calling the adapter of the received message based on the message adapter configuration table and judging whether the received message needs to be decrypted or not, if yes, the decryption conversion unit is used for carrying out decryption or signature verification on the information supporting the encryption and decryption mode and the corresponding key based on the certificate information table configuration and converting the received message, and if not, the received message is directly converted.
In some embodiments, the system further includes a fourth configuration unit, where the fourth configuration unit is configured to set an address parameter table, and receive, based on the address parameter table, an address protocol communication related attribute configured to provide a service, where the address protocol communication related attribute is used to manage the micro service gateway to start acquiring address information to be monitored, and establish a related attribute configuration for monitoring.
Those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments.
Those skilled in the art will appreciate that the descriptions of the various embodiments are each focused on, and that portions of one embodiment that are not described in detail may be referred to as related descriptions of other embodiments.
Although the embodiments of the present application have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and alterations without departing from the spirit and scope of the present application, and such modifications and alterations fall within the scope of the appended claims, which are to be construed as merely illustrative of the present application, but the scope of the application is not limited thereto, and various equivalent modifications and substitutions will be readily apparent to those skilled in the art within the scope of the present application, and are intended to be included within the scope of the present application.

Claims (4)

1. A method for dynamically expanding non-HTTP protocol based on a micro-service gateway, comprising the steps of:
s1, when a micro-service gateway is started, a local address port and a protocol to be monitored are obtained, a service monitor corresponding to the protocol is called based on the protocol to set address parameters, service monitoring is started, and a message is received;
s11, setting a protocol configuration table and an address information table, wherein information for configuring a protocol, a protocol monitor and a processor is received based on the protocol configuration table, and information for configuring an address, a local address port and a protocol for providing service is received based on the address information table;
s12, when the micro-service gateway is started, searching a corresponding protocol monitor and a processor according to a protocol configured in an address information table to perform service monitoring and receive a message;
s2, when the service monitors and receives a service request, the received message is subjected to message conversion processing; the message conversion processing of the message comprises the following steps: receiving a message in a non-JSON format and converting the message into a micro-service standard communication message;
s21, receiving information of the configuration adapter based on the address information table in the step S11;
s22, the received message is transmitted to a processor corresponding to the protocol;
s23, calling an adapter of the received message based on the received message, an adapter configured in an address book and encryption and decryption information to analyze and convert the received message;
s231, setting a message adapter configuration table and a certificate information table in the step S11, receiving information of adapters for configuring all messages under a supported protocol based on the message adapter configuration table, and receiving information of supporting encryption and decryption modes and corresponding keys based on the certificate information table;
s232, calling an adapter of the received message based on a message adapter configuration table, judging whether the received message needs to be decrypted or not, if so, configuring information supporting encryption and decryption modes and corresponding keys based on a certificate information table, decrypting or checking labels, and converting the received message, and if not, directly converting the received message.
2. The method according to claim 1, wherein in step S11, an address parameter table is set, and address protocol communication related attributes for providing services based on the address parameter table receiving configuration are used for managing the micro-service gateway to start acquiring address information to be monitored and establishing the configuration of related attributes for monitoring.
3. The system is characterized by comprising a monitoring module and a message conversion module, wherein the monitoring module is used for acquiring a local address port and a protocol to be monitored when the micro-service gateway is started, calling a service monitor corresponding to the protocol based on the protocol to set address parameters, starting service monitoring and receiving messages; the monitoring module comprises a first configuration unit and a service monitoring unit; the first configuration unit is used for setting a protocol configuration table and an address information table, wherein the information for configuring the protocol, the protocol monitor and the processor is received based on the protocol configuration table, and the information for configuring the address, the local address port and the protocol for providing the service is received based on the address information table; the service monitoring unit is used for searching a corresponding protocol monitor and a processor according to a protocol configured in the address information table to perform service monitoring and receiving a message when the micro service gateway is started;
the message conversion module is used for carrying out message conversion processing on the received message when the service monitoring receives the service request; the message conversion processing of the message comprises the following steps: receiving a message in a non-JSON format and converting the message into a micro-service standard communication message; the message conversion module comprises a second configuration unit, a message transfer unit and an adapter unit, wherein the second configuration unit is used for receiving information for configuring the adapter based on an address information table; the message transfer unit is used for transferring the received message to a processor corresponding to the protocol; the adapter unit is used for calling the adapter of the received message based on the received message, the adapter configured in the address book and the encryption and decryption information to analyze and convert the received message; the adapter unit comprises a third configuration unit and a decryption conversion unit, wherein the third configuration unit is used for setting a message adapter configuration table and a certificate information table, receiving information of adapters of all messages under a protocol supported by configuration based on the message adapter configuration table, and receiving information of encryption and decryption modes and corresponding keys supported by configuration based on the certificate information table; the decryption conversion unit is used for calling the adapter of the received message based on the message adapter configuration table and judging whether the received message needs to be decrypted or not, if yes, the decryption conversion unit is used for carrying out decryption or signature verification on the information supporting the encryption and decryption mode and the corresponding key based on the certificate information table configuration and converting the received message, and if not, the received message is directly converted.
4. The system according to claim 3, further comprising a fourth configuration unit, wherein the fourth configuration unit is configured to set an address parameter table, and receive the address protocol communication related attribute configured to provide services based on the address parameter table, and manage the micro service gateway to start acquiring the address information to be monitored and establish the configuration of the related attribute of the monitoring.
CN202211591667.4A 2022-12-12 2022-12-12 Method and system for dynamically expanding non-HTTP protocol based on micro-service gateway Active CN116192933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211591667.4A CN116192933B (en) 2022-12-12 2022-12-12 Method and system for dynamically expanding non-HTTP protocol based on micro-service gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211591667.4A CN116192933B (en) 2022-12-12 2022-12-12 Method and system for dynamically expanding non-HTTP protocol based on micro-service gateway

Publications (2)

Publication Number Publication Date
CN116192933A CN116192933A (en) 2023-05-30
CN116192933B true CN116192933B (en) 2023-09-19

Family

ID=86437361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211591667.4A Active CN116192933B (en) 2022-12-12 2022-12-12 Method and system for dynamically expanding non-HTTP protocol based on micro-service gateway

Country Status (1)

Country Link
CN (1) CN116192933B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117895A (en) * 2013-01-25 2013-05-22 哈尔滨工业大学 LXI instrument service monitoring method
CN110995873A (en) * 2019-12-27 2020-04-10 美的集团股份有限公司 Gateway service interface discovery method, system, electronic device and storage medium
CN113111356A (en) * 2021-03-09 2021-07-13 深圳市教育信息技术中心(深圳市教育装备中心) Data encryption method, device, equipment and medium
CN113242221A (en) * 2021-04-29 2021-08-10 湖南快乐阳光互动娱乐传媒有限公司 Protocol conversion method and protocol conversion device based on http micro-service gateway
CN113709166A (en) * 2021-08-31 2021-11-26 广州艾美网络科技有限公司 Distributed service gateway implementation method, device, computer equipment and storage medium
CN114615301A (en) * 2022-03-10 2022-06-10 天津航天机电设备研究所 Platform integrating heterogeneous industrial Internet equipment and construction method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11449352B2 (en) * 2020-05-05 2022-09-20 Jpmorgan Chase Bank, N.A. Systems and methods for converting record formats

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103117895A (en) * 2013-01-25 2013-05-22 哈尔滨工业大学 LXI instrument service monitoring method
CN110995873A (en) * 2019-12-27 2020-04-10 美的集团股份有限公司 Gateway service interface discovery method, system, electronic device and storage medium
CN113111356A (en) * 2021-03-09 2021-07-13 深圳市教育信息技术中心(深圳市教育装备中心) Data encryption method, device, equipment and medium
CN113242221A (en) * 2021-04-29 2021-08-10 湖南快乐阳光互动娱乐传媒有限公司 Protocol conversion method and protocol conversion device based on http micro-service gateway
CN113709166A (en) * 2021-08-31 2021-11-26 广州艾美网络科技有限公司 Distributed service gateway implementation method, device, computer equipment and storage medium
CN114615301A (en) * 2022-03-10 2022-06-10 天津航天机电设备研究所 Platform integrating heterogeneous industrial Internet equipment and construction method thereof

Also Published As

Publication number Publication date
CN116192933A (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN108156178B (en) SSL/TLS data monitoring system and method
US7103676B2 (en) User-identifier translator and linking apparatus for XML-based services and corresponding method
US20050063377A1 (en) System and method for monitoring network traffic
CN102904865B (en) A kind of management method, system and equipment of the multiple digital certificates based on mobile terminal
US20090019106A1 (en) Method of redirecting client requests to web services
New et al. Reliable Delivery for syslog
CN114338844B (en) Cross-protocol communication method and device between client servers
US10033830B2 (en) Requesting web pages and content rating information
JP2006119738A (en) Electronic mail transmission system
CN109150844B (en) Method, device and system for determining digital certificate
CN116192933B (en) Method and system for dynamically expanding non-HTTP protocol based on micro-service gateway
RU2340932C2 (en) Delayed allocation method and related system
US9258125B2 (en) Generating evidence of web services transactions
CN114006724B (en) Method and system for discovering and authenticating encryption DNS resolver
KR100587643B1 (en) SIP protocol server apparatus
US7003584B1 (en) Apparatus and method for accessing request header information using a transcoding filter servlet
CN112202780B (en) Data transmission method, device, equipment and medium based on double sockets
CN113746807A (en) Block chain node point support cryptographic algorithm communication detection method
JP2007035053A (en) Method for maintaining session between different-terminals
JP4001047B2 (en) Relay device
CN110708319A (en) Service request processing method and device
CN112565059B (en) Message transmission method and system based on instant messaging private cloud architecture
New et al. RFC3195: Reliable Delivery for syslog
CN114553938B (en) Communication message processing method and device, electronic equipment and storage medium
JP3709878B2 (en) Communication device

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