CN114501347A - Information interaction method, device and system between heterogeneous systems - Google Patents

Information interaction method, device and system between heterogeneous systems Download PDF

Info

Publication number
CN114501347A
CN114501347A CN202210085833.7A CN202210085833A CN114501347A CN 114501347 A CN114501347 A CN 114501347A CN 202210085833 A CN202210085833 A CN 202210085833A CN 114501347 A CN114501347 A CN 114501347A
Authority
CN
China
Prior art keywords
format
heterogeneous system
message
heterogeneous
communication
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
CN202210085833.7A
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.)
State Grid Electric Power Research Institute Of Sepc
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shanxi Electric Power Co Ltd
Original Assignee
State Grid Electric Power Research Institute Of Sepc
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shanxi Electric Power 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 State Grid Electric Power Research Institute Of Sepc, China Electric Power Research Institute Co Ltd CEPRI, State Grid Shanxi Electric Power Co Ltd filed Critical State Grid Electric Power Research Institute Of Sepc
Priority to CN202210085833.7A priority Critical patent/CN114501347A/en
Publication of CN114501347A publication Critical patent/CN114501347A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention belongs to the field of power grid dispatching, and discloses a method, a device and a system for information interaction between heterogeneous systems, which comprise the following steps: the first heterogeneous system acquires the communication message, converts the format of the communication message into a preset unified message format, acquires the unified format communication message and sends the unified format communication message to the message queue cluster; and the second heterogeneous system receives the communication message with the uniform format sent by the message queue cluster and converts the format of the communication message with the uniform format into a communication format of the second heterogeneous system. The problem of information chimney and information barrier caused by different message buses and service frames adopted between heterogeneous systems is effectively solved, information sharing between heterogeneous systems is fully considered, format conversion, sending and receiving of communication messages are only carried out, extra development work is not needed for the original heterogeneous systems, message service communication of the original heterogeneous systems does not need to be changed, and continuous and convenient integration of the heterogeneous systems is guaranteed.

Description

Information interaction method, device and system between heterogeneous systems
Technical Field
The invention belongs to the field of power grid dispatching, and relates to a method, a device and a system for information interaction between heterogeneous systems.
Background
In the early design of internal and external systems of a power grid regulation center, most of the systems adopt a single architecture, the architecture can reduce the difficulty of system development and deployment, and each system adopts a technical architecture route of different message middleware. However, as the amount of traffic is continuously expanded and the number of systems is continuously increased, each system gradually forms an information isolated island, and interaction between the systems becomes extremely difficult. The existing solutions mainly have the following modes: a file or database based approach, a protocol message based approach, a unified platform based approach, and an ESB (Enterprise Service Bus) based approach.
The file or database-based mode is an effective mode for realizing information sharing among systems for a long time by sharing files or public databases, and the file sharing mode is simple and clear to realize. However, the method is only suitable for service scenes with slow information change, small single file size and low real-time requirement. Compared with a file mode, the database mode has the advantages of simpler and more flexible interaction and stronger expandability. However, this method is not highly real-time, is more suitable for information sharing of structured data, and is difficult to effectively support semi-structured data and unstructured data. The mode based on the protocol message can realize the sharing of certain information, and the systems of the two parties can realize the interaction of the information only by using corresponding protocol communication and message coding and decoding software modules without using additional hardware equipment. However, the data interaction range, the data types and the data capacity are limited by regulations, the expansion and maintenance cost of new functions and new data types is high, and the ever-increasing business information access and application function sharing requirements are difficult to support.
With the continuous improvement of the automation level of the power dispatching system, the conversion from the original service system independent construction mode to the construction of the unified support platform is gradually completed, and an interaction mode based on the unified platform is formed. However, a large number of service application systems still exist outside the scheduling control system, these systems often adopt different message buses and service frameworks, information is difficult to communicate among the systems, services are difficult to share, and the technical problem of getting through each service system is still not thoroughly solved. In an ESB (enterprise service bus) based approach, an enterprise service bus is an important means for building a service-oriented architecture, can support services, messages, and event-based interactions in heterogeneous environments, and has an appropriate service level and manageability. However, the essence of the method is that each business system carries out message communication and service calling by integrating a third-party protocol, the realization is complex, and the application and the function of the original system need to be adaptively modified.
Disclosure of Invention
The present invention is directed to overcome the above disadvantages of the prior art, and provides a method, an apparatus, and a system for information interaction between heterogeneous systems.
In order to achieve the purpose, the invention adopts the following technical scheme to realize the purpose:
in a first aspect of the present invention, a method for information interaction between heterogeneous systems is applied to an information interaction system between heterogeneous systems, where a heterogeneous cluster system includes a first heterogeneous system, a second heterogeneous system, and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the information interaction method between heterogeneous systems comprises the following steps:
the first heterogeneous system acquires the communication message, converts the format of the communication message into a preset unified message format, acquires the unified format communication message and sends the unified format communication message to the message queue cluster;
and the second heterogeneous system receives the communication message with the uniform format sent by the message queue cluster and converts the format of the communication message with the uniform format into a communication format of the second heterogeneous system.
Optionally, the method further includes:
the first heterogeneous system acquires second heterogeneous system service calling information, converts the format of the second heterogeneous system service calling information into a preset uniform message format, obtains uniform format calling information and sends the uniform format calling information to the message queue cluster;
the second heterogeneous system receives the uniform format calling information sent by the message queue cluster, and converts the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information;
the second heterogeneous system generates a calling result according to the second heterogeneous system communication format calling information, converts the format of the calling result into a preset uniform message format, obtains the uniform format calling result and sends the uniform format calling result to the message queue cluster;
and the first heterogeneous system receives the uniform format calling result sent by the message queue cluster and converts the format of the uniform format calling result into a first heterogeneous system communication format.
Optionally, the method further includes:
the second heterogeneous system acquires service registration information of the second heterogeneous system, converts the format of the service registration information of the second heterogeneous system into a preset uniform message format, obtains a uniform format service registration message and sends the uniform format service registration message to the message queue cluster; the message queue cluster sends the uniform format service registration message to the first heterogeneous system, and the first heterogeneous system converts the format of the uniform format service registration message into a first heterogeneous system communication format.
Optionally, the unified message format includes a plurality of messages, each message includes a message offset unit, a message size unit, and a message unit, the message unit includes a message length unit, a message timestamp unit, a message offset unit, a message key length unit, a message key unit, a message value length unit, a message value unit, and a header information unit, and the header information unit includes a header information key length unit, a header information key unit, a header information value length unit, a header information value unit, and a check bit unit.
In a second aspect of the present invention, a method for information interaction between heterogeneous systems is applied to a first heterogeneous system of an information interaction system between heterogeneous systems, where a heterogeneous cluster system includes the first heterogeneous system, a second heterogeneous system, and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the information interaction method between heterogeneous systems comprises the following steps:
acquiring a communication message, converting the format of the communication message into a preset unified message format, acquiring a unified format communication message and sending the unified format communication message to a message queue cluster; the unified format communication message is used for triggering the message queue cluster to send the unified format communication message to the second heterogeneous system, and triggering the second heterogeneous system to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
Optionally, the method further includes:
acquiring second heterogeneous system service calling information, converting the format of the second heterogeneous system service calling information into a preset uniform message format, acquiring uniform format calling information and sending the uniform format calling information to a message queue cluster; the uniform format calling information is used for triggering the message queue cluster to send the uniform format calling information to the second heterogeneous system, triggering the second heterogeneous system to convert the format of the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information, triggering the second heterogeneous system to generate a calling result according to the second heterogeneous system communication format calling information, converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster;
and receiving a uniform format calling result sent by the message queue cluster, and converting the format of the uniform format calling result into a first heterogeneous system communication format.
In a third aspect of the present invention, a method for information interaction between heterogeneous systems is applied to a second heterogeneous system of an information interaction system between heterogeneous systems, where a heterogeneous cluster system includes a first heterogeneous system, the second heterogeneous system, and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the information interaction method between heterogeneous systems comprises the following steps:
receiving a communication message with a uniform format sent by the message queue cluster, and converting the format of the communication message with the uniform format into a communication format of a second heterogeneous system;
the communication message with the uniform format is obtained through the first heterogeneous system, the format of the communication message is converted into a preset uniform message format to obtain the communication message, and the communication message is sent to the message queue cluster through the first heterogeneous system.
Optionally, the method further includes:
receiving uniform format calling information sent by the message queue cluster, and converting the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information; generating a calling result according to the second heterogeneous system communication format calling information, converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster;
the uniform format calling information acquires second heterogeneous system service calling information through the first heterogeneous system, converts the format of the second heterogeneous system service calling information into a preset uniform message format to obtain the second heterogeneous system service calling information, and sends the second heterogeneous system service calling information to the message queue cluster through the first heterogeneous system; the uniform format calling result is used for triggering the message queue cluster to send the uniform format calling result to the first heterogeneous system, and the first heterogeneous system is triggered to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
In a fourth aspect of the present invention, a method for information interaction between heterogeneous systems is applied to a message queue cluster of an information interaction system between heterogeneous systems, where the heterogeneous cluster system includes a first heterogeneous system, a second heterogeneous system, and a message queue cluster, and both the first heterogeneous system and the second heterogeneous system are in communication connection with the message queue cluster;
the information interaction method between heterogeneous systems comprises the following steps:
receiving a uniform format communication message sent by a first heterogeneous system, and sending the uniform format communication message to a second heterogeneous system; the communication message with the uniform format is obtained through a first heterogeneous system, and the format of the communication message is converted into a preset uniform message format; the unified format communication message is used for triggering the second heterogeneous system to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
Optionally, the method further includes:
receiving uniform format calling information sent by a first heterogeneous system, and sending the uniform format calling information to a second heterogeneous system; the unified format calling information is obtained by acquiring second heterogeneous system service calling information through the first heterogeneous system and converting the format of the second heterogeneous system service calling information into a preset unified message format; the uniform format calling information is used for triggering a second heterogeneous system to convert the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information, generating a calling result according to the second heterogeneous system communication format calling information, and converting the format of the calling result into a preset uniform message format to obtain a uniform format calling result;
receiving a uniform format calling result sent by the second heterogeneous system, and sending the uniform format calling result to the first heterogeneous system; and the uniform format calling result is used for triggering the first heterogeneous system to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
In a fifth aspect of the present invention, an information interaction apparatus between heterogeneous systems is applied to a first heterogeneous system of an information interaction system between heterogeneous systems, where a heterogeneous cluster system includes the first heterogeneous system, a second heterogeneous system, and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the heterogeneous inter-system information interaction device comprises:
the first data acquisition module is used for acquiring communication messages;
the first adaptation module is used for converting the format of the communication message into a preset unified message format to obtain a unified format communication message;
the first forwarding module is used for sending the communication message with the uniform format to the message queue cluster; the unified format communication message is used for triggering the message queue cluster to send the unified format communication message to the second heterogeneous system, and the second heterogeneous system is triggered to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
Optionally:
the first data acquisition module is also used for acquiring second heterogeneous system service calling information; receiving a uniform format calling result sent by the message queue cluster;
the first adaptation module is further used for converting the format of the second heterogeneous system service calling information into a preset uniform message format to obtain uniform format calling information; converting the format of the unified format calling result into a first heterogeneous system communication format;
the first forwarding module is further used for sending the uniform format calling information to the message queue cluster; the uniform format calling information is used for triggering the message queue cluster to send the uniform format calling information to the second heterogeneous system, triggering the second heterogeneous system to convert the format of the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information, triggering the second heterogeneous system to generate a calling result according to the second heterogeneous system communication format calling information, converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster.
In a sixth aspect of the present invention, an information interaction apparatus between heterogeneous systems is applied to a second heterogeneous system of an information interaction system between heterogeneous systems, where a heterogeneous cluster system includes a first heterogeneous system, the second heterogeneous system, and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the heterogeneous inter-system information interaction device comprises:
the second data acquisition module is used for receiving the communication message with the uniform format sent by the message queue cluster; the communication message with the uniform format is obtained through a first heterogeneous system, the format of the communication message is converted into a preset uniform message format to obtain the communication message, and the communication message is sent to a message queue cluster through the first heterogeneous system;
and the second adaptation module is used for converting the format of the communication message with the uniform format into a communication format of a second heterogeneous system.
Optionally, the system further comprises a calling module and a second forwarding module;
the second data acquisition module is also used for receiving uniform format calling information sent by the message queue cluster; the uniform format calling information acquires second heterogeneous system service calling information through the first heterogeneous system, converts the format of the second heterogeneous system service calling information into a preset uniform message format to obtain the second heterogeneous system service calling information, and sends the second heterogeneous system service calling information to the message queue cluster through the first heterogeneous system;
the second adaptation module is also used for converting the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information;
the calling module is used for calling information according to a second heterogeneous system communication format to generate a calling result;
the second forwarding module is used for converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster; the uniform format calling result is used for triggering the message queue cluster to send the uniform format calling result to the first heterogeneous system, and the first heterogeneous system is triggered to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
In a seventh aspect of the present invention, an information interaction apparatus between heterogeneous systems is applied to a message queue cluster of an information interaction system between heterogeneous systems, where the heterogeneous cluster system includes a first heterogeneous system, a second heterogeneous system, and a message queue cluster, and both the first heterogeneous system and the second heterogeneous system are in communication connection with the message queue cluster;
the heterogeneous inter-system information interaction device comprises:
the third data acquisition module is used for receiving the communication message with the uniform format sent by the first heterogeneous system; the communication message with the uniform format is obtained through a first heterogeneous system, and the format of the communication message is converted into a preset uniform message format;
the third forwarding module is used for sending the communication message with the uniform format to the second heterogeneous system; the unified format communication message is used for triggering the second heterogeneous system to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
Optionally:
the third data acquisition module is further configured to receive uniform format call information sent by the first heterogeneous system, where the uniform format call information is obtained by acquiring, by the first heterogeneous system, second heterogeneous system service call information and converting the format of the second heterogeneous system service call information into a preset uniform message format; receiving a uniform format calling result sent by the second heterogeneous system;
the third forwarding module is further configured to send uniform format calling information to the second heterogeneous system, where the uniform format calling information is used to trigger the second heterogeneous system to convert the uniform format calling information into a second heterogeneous system communication format, obtain second heterogeneous system communication format calling information, generate a calling result according to the second heterogeneous system communication format calling information, convert the format of the calling result into a preset uniform message format, and obtain a uniform format calling result; and sending the uniform format calling result to the first heterogeneous system, wherein the uniform format calling result is used for triggering the first heterogeneous system to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
In the eighth aspect of the present invention, an information interaction system between heterogeneous systems includes a first heterogeneous system, a second heterogeneous system and a message queue cluster, where the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the first heterogeneous system is internally provided with the heterogeneous system information interaction device applied to the first heterogeneous system of the heterogeneous system information interaction system;
the heterogeneous system information interaction device applied to the second heterogeneous system of the heterogeneous system information interaction system is arranged in the second heterogeneous system;
the heterogeneous system information interaction device applied to the message queue cluster of the heterogeneous system information interaction system is arranged in the message queue cluster.
Compared with the prior art, the invention has the following beneficial effects:
the invention relates to an information interaction method between heterogeneous systems, which comprises the steps of obtaining communication messages through a first heterogeneous system, converting the format of the communication messages into a preset uniform message format, obtaining the uniform format communication messages and sending the uniform format communication messages to a message queue cluster, receiving the uniform format communication messages sent by the message queue cluster through a second heterogeneous system, converting the format of the uniform format communication messages into the second heterogeneous system communication format, realizing the communication message interaction between the first heterogeneous system and the second heterogeneous system, effectively solving the problem of information chimney and information barrier caused by adopting different message buses and service frames between the heterogeneous systems, fully considering the information sharing between the heterogeneous systems, only converting, sending and receiving the communication messages, needing no additional development work on the original heterogeneous systems, needing no change of self message service communication of the original heterogeneous systems, and continuous and convenient integration of the heterogeneous system is ensured.
Drawings
Fig. 1 is a flowchart of an information interaction method between heterogeneous systems according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an application environment of a method for information interaction between heterogeneous systems according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a unified message format structure according to an embodiment of the present invention;
fig. 4 is a block diagram of an inter-heterogeneous system information interaction apparatus of a first heterogeneous system according to an embodiment of the present invention;
fig. 5 is a block diagram of an inter-heterogeneous system information interaction apparatus of a second heterogeneous system according to an embodiment of the present invention;
fig. 6 is a block diagram of an inter-heterogeneous-system information interaction device of a message cluster queue according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
The invention is described in further detail below with reference to the accompanying drawings:
referring to fig. 1, in an embodiment of the present invention, a method for information interaction between heterogeneous systems is provided to effectively solve the problem of a barrier to message communication and service invocation due to different architectures and different message middleware adopted between heterogeneous systems in a power grid control center.
Specifically, the information interaction method between heterogeneous systems may be applied to an information interaction system between heterogeneous systems, and referring to fig. 2, the heterogeneous cluster system includes a first heterogeneous system, a second heterogeneous system, and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster. The first heterogeneous system, the second heterogeneous system and the message queue cluster can be server clusters.
The first heterogeneous system and the second heterogeneous system are not limited to specific systems, but are only used for explaining two systems for information interaction, and the two systems for information interaction are shown to be heterogeneous. It should be noted that, for a practical system, when the information interaction method between heterogeneous systems according to the present invention is applied, it may be considered as a first heterogeneous system, and may also be considered as a second heterogeneous system.
In this embodiment, the first heterogeneous system generally includes a local queue cluster, a gateway, a database/cache, and a plurality of consumers; the second heterogeneous system generally comprises a local queue cluster, a gateway, a database/cache and a plurality of producers; wherein, a protocol adapter is arranged in the gateway. Both the consumer and the producer refer to members of a heterogeneous system and may be understood as a single server or as a single server unit integrated by several servers.
In this embodiment, the method for information interaction between heterogeneous systems includes the following steps:
s1: the first heterogeneous system acquires the communication message, converts the format of the communication message into a preset unified message format, acquires the communication message with the unified format and sends the communication message to the message queue cluster.
Specifically, when each consumer in the first heterogeneous system needs to perform communication message interaction with the second heterogeneous system, each consumer generates a communication message and concentrates the communication message on the local queue cluster of the first heterogeneous system, and stores the communication message in the database/cache, so that the communication message is acquired.
And then, transmitting the communication message to a gateway of the first heterogeneous system, converting the format of the communication message into a preset unified message format through a protocol adapter in the gateway to obtain a unified format communication message, and sending the unified format communication message to the message queue cluster through the gateway of the first heterogeneous system. The scheme is realized by directly adding the gateway in the existing first heterogeneous system and adding the corresponding protocol adapter in the gateway, no additional development work needs to be carried out on the existing first heterogeneous system, and the protocol adapter needs to be set according to the actual communication protocol of each heterogeneous system to realize the adaptation with the heterogeneous systems with different communication protocols.
Because the communication protocols between the heterogeneous systems are different, after the communication message of the first heterogeneous system is directly forwarded, the second heterogeneous system is difficult to analyze after being received, so that when the information interaction method between the heterogeneous systems is used for information interaction, the format of the communication message is firstly converted into a preset uniform message format, and the uniform message format is required to be defined in advance.
In a possible implementation, referring to fig. 3, the communication message is distributed in a message set, and the unified message format includes a plurality of messages, and each message includes a message offset unit, a message size unit, and a message unit, which are sequentially arranged. The value of the message offset unit is used for marking the offset of the current message in storage, the value of the message size unit is used for representing the size of the message, and the message unit is used for actually storing the message.
The message unit comprises a message length unit, a message timestamp unit, a message offset unit, a message main key length unit, a message main key unit, a message value length unit, a message value unit and a header information unit which are sequentially arranged. Referring to table 1, the values of the parts in the message unit are shown to represent:
table 1 message element format parsing table
Figure BDA0003487829310000131
The head information unit comprises a head information main key length unit, a head information main key unit, a head information value length unit, a head information value unit and a checking bit unit which are sequentially arranged. Specifically, the header information primary key length unit, the header information primary key unit, the header information value length unit, and the header information value unit may refer to the message primary key length unit, the message primary key unit, the message value length unit, and the message value unit, and only convert the corresponding content of the message into the corresponding content of the header message, and the value of the check bit unit is a content check code and ranges from the value of the message length unit to the value of the message value unit.
S2: and the second heterogeneous system receives the communication message with the uniform format sent by the message queue cluster and converts the format of the communication message with the uniform format into a communication format of the second heterogeneous system.
Specifically, the gateway of the second heterogeneous system receives the communication message with the uniform format sent by the message queue cluster, and then the communication message with the uniform format is converted into the communication format of the second heterogeneous system through a protocol adapter in the gateway of the second heterogeneous system, so that communication message interaction between the first heterogeneous system and the second heterogeneous system is realized.
In summary, the method for information interaction between heterogeneous systems of the present invention obtains a communication message through a first heterogeneous system, converts the format of the communication message into a predetermined unified message format, obtains a unified format communication message and sends the unified format communication message to a message queue cluster, receives the unified format communication message sent by the message queue cluster through a second heterogeneous system, and converts the format of the unified format communication message into a second heterogeneous system communication format, thereby implementing communication message interaction between the first heterogeneous system and the second heterogeneous system, effectively solving the problem of information chimney and information barrier caused by adopting different message buses and service frames between heterogeneous systems, fully considering information sharing between heterogeneous systems, only performing format conversion, sending and receiving of the communication message, without performing additional development work on the original heterogeneous systems, and the original heterogeneous systems do not need to change their own message service communication, and continuous and convenient integration of the heterogeneous system is ensured.
In a possible implementation manner, in order to implement service invocation interaction between heterogeneous systems, the information interaction method between heterogeneous systems in the above embodiment further includes the following steps: the first heterogeneous system acquires second heterogeneous system service calling information, converts the format of the second heterogeneous system service calling information into a preset uniform message format, obtains uniform format calling information and sends the uniform format calling information to the message queue cluster; the second heterogeneous system receives the uniform format calling information sent by the message queue cluster, and converts the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information; the second heterogeneous system generates a calling result according to the second heterogeneous system communication format calling information, converts the format of the calling result into a preset uniform message format, obtains the uniform format calling result and sends the uniform format calling result to the message queue cluster; and the first heterogeneous system receives the uniform format calling result sent by the message queue cluster and converts the format of the uniform format calling result into a first heterogeneous system communication format.
Specifically, for example, a power grid regulation and control center currently has two heterogeneous systems, a first heterogeneous system performs service invocation in an enterprise bus manner, a second heterogeneous system performs service invocation based on a unified platform, and the following description is given by using service invocation between the two heterogeneous systems. In the request/response mode, a caller of the service initiates a service request and obtains a service result from a producer of the service; in the subscription/publication mode, a service producer actively pushes a service result to a caller of the service, and the two modes mainly need to establish a uniform service description method and a uniform service route.
In a possible implementation manner, in order to facilitate the perception of the service of each heterogeneous system, the information interaction method between heterogeneous systems further includes the following steps: the second heterogeneous system acquires service registration information of the second heterogeneous system, converts the format of the service registration information of the second heterogeneous system into a preset uniform message format, obtains a uniform format service registration message and sends the uniform format service registration message to the message queue cluster; the message queue cluster sends a uniform format service registration message to a first heterogeneous system; the first heterogeneous system converts the format of the uniform format service registration message into a first heterogeneous system communication format, and the perception of the second heterogeneous system service registration message in the first heterogeneous system is realized.
Specifically, the service registration information is collected from the local queue cluster of the second heterogeneous system in a push-pull combination mode through collecting the service registration information, and the service registration information is input to the message queue cluster to be sent in an analysis stage, so that the service of the second heterogeneous system is perceived, and finally, global service registration and distribution, service state information perception and service sharing and positioning are achieved through a gateway.
In one possible implementation, the specific process of the request/response mode is as follows:
1. and synchronizing the service in the second heterogeneous system to the service center of the message queue cluster, namely sending the service registration information of the second heterogeneous system to the service center of the message queue cluster.
2. And the service center of the message queue cluster informs the protocol adapter of the gateway of the first heterogeneous system of the service registration information of the second heterogeneous system, and completes registration in the local queue cluster of the first heterogeneous system.
3. When a consumer in the first heterogeneous system calls a service registered in a second heterogeneous system of the local queue cluster, the local protocol adapter completes protocol conversion, and routes the service calling information of the second heterogeneous system to a service center of the message queue cluster through the gateway.
4. And the service center of the message queue cluster forwards the service to the gateway of the second heterogeneous system according to the actual address of the service corresponding to the service calling information of the second heterogeneous system, and completes calling of the local service through the protocol adapter of the second heterogeneous system to obtain a calling result.
5. And the second heterogeneous system converts the calling result through a local protocol adapter and returns the calling result to the consumer of the first heterogeneous system through a local gateway and a message queue cluster route.
The specific process of the subscription/publication mode is as follows:
1. a consumer of the first heterogeneous system subscribes to one service of the second heterogeneous system, and the service calling subscription information of the second heterogeneous system is synchronized to a service center of the message queue cluster through the protocol adapter and the gateway.
2. And the service center of the message queue cluster distributes the service calling subscription information of the second heterogeneous system to a gateway and a protocol adapter of the second heterogeneous system, and registers the service calling subscription information to the local cluster queue.
3. And the service of the second heterogeneous system sends the service result to the local cluster queue, and the service result is sent to the service center of the message queue cluster through the gateway after being forwarded to the protocol adapter for conversion.
4. And the service center of the message queue cluster sends the service result to the first heterogeneous system.
5. The first heterogeneous system routes the service result to the subscriber address of the first heterogeneous system through the gateway and the protocol adapter, and the service result sending is completed.
Through the mode, on the premise that the existing heterogeneous system is not additionally developed, service interaction between heterogeneous systems, namely service calling between the heterogeneous systems is achieved, the synergistic effect between the heterogeneous systems is greatly improved, and the transverse interaction capacity of each heterogeneous system inside and outside the power grid dispatching control system can be improved.
In another embodiment of the present invention, an information interaction method between heterogeneous systems is provided, where the information interaction method is applied to a first heterogeneous system of an information interaction system between heterogeneous systems, and the information interaction method between heterogeneous systems includes: acquiring a communication message, converting the format of the communication message into a preset uniform message format, obtaining a uniform format communication message and sending the uniform format communication message to a message queue cluster; the unified format communication message is used for triggering the message queue cluster to send the unified format communication message to the second heterogeneous system, and the second heterogeneous system is triggered to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
In a possible implementation manner, the method for information interaction between heterogeneous systems further includes: acquiring second heterogeneous system service calling information, converting the format of the second heterogeneous system service calling information into a preset uniform message format, acquiring uniform format calling information and sending the uniform format calling information to a message queue cluster; and receiving a uniform format calling result sent by the message queue cluster, and converting the format of the uniform format calling result into a first heterogeneous system communication format.
The unified format calling information is used for triggering the message queue cluster to send the unified format calling information to the second heterogeneous system, the second heterogeneous system is triggered to convert the format of the unified format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information, the second heterogeneous system is triggered to generate a calling result according to the second heterogeneous system communication format calling information, the format of the calling result is converted into a preset unified message format, and the unified format calling result is obtained and sent to the message queue cluster.
In another embodiment of the present invention, an information interaction method between heterogeneous systems is provided, where the information interaction method is applied to a second heterogeneous system of an information interaction system between heterogeneous systems, and the information interaction method between heterogeneous systems includes: receiving a communication message with a uniform format sent by the message queue cluster, and converting the format of the communication message with the uniform format into a communication format of a second heterogeneous system; the communication message with the uniform format is obtained through the first heterogeneous system, the format of the communication message is converted into a preset uniform message format to obtain the communication message, and the communication message is sent to the message queue cluster through the first heterogeneous system.
In a possible implementation manner, the method for information interaction between heterogeneous systems further includes: receiving uniform format calling information sent by the message queue cluster, and converting the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information; and generating a calling result according to the second heterogeneous system communication format calling information, converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster.
The unified format calling information acquires second heterogeneous system service calling information through the first heterogeneous system, converts the format of the second heterogeneous system service calling information into a preset unified message format to obtain the second heterogeneous system service calling information, and sends the second heterogeneous system service calling information to the message queue cluster through the first heterogeneous system; the uniform format calling result is used for triggering the message queue cluster to send the uniform format calling result to the first heterogeneous system, and the first heterogeneous system is triggered to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
In another embodiment of the present invention, an information interaction method between heterogeneous systems is provided, where the method is applied to a message queue cluster of an information interaction system between heterogeneous systems, and the information interaction method between heterogeneous systems includes: receiving a uniform format communication message sent by a first heterogeneous system, and sending the uniform format communication message to a second heterogeneous system; the communication message with the uniform format is obtained through a first heterogeneous system, and the format of the communication message is converted into a preset uniform message format; the unified format communication message is used for triggering the second heterogeneous system to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
In a possible implementation manner, the method for information interaction between heterogeneous systems further includes: receiving uniform format calling information sent by a first heterogeneous system, and sending the uniform format calling information to a second heterogeneous system; and receiving the uniform format calling result sent by the second heterogeneous system, and sending the uniform format calling result to the first heterogeneous system.
The unified format calling information is obtained by acquiring second heterogeneous system service calling information through the first heterogeneous system and converting the format of the second heterogeneous system service calling information into a preset unified message format; the uniform format calling information is used for triggering a second heterogeneous system to convert the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information, generating a calling result according to the second heterogeneous system communication format calling information, and converting the format of the calling result into a preset uniform message format to obtain a uniform format calling result; and the uniform format calling result is used for triggering the first heterogeneous system to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details not disclosed in the device embodiments, reference is made to the method embodiments of the invention.
Referring to fig. 4, in yet another embodiment of the present invention, an inter-heterogeneous system information interaction apparatus is provided, which is applied to a first heterogeneous system of an inter-heterogeneous system information interaction system, and is capable of being used to implement the inter-heterogeneous system information interaction method applied to the first heterogeneous system of the inter-heterogeneous system information interaction system, and specifically includes a first data obtaining module, a first adapting module, and a first forwarding module.
The first data acquisition module is used for acquiring communication messages; the first adaptation module is used for converting the format of the communication message into a preset unified message format to obtain a unified format communication message; the first forwarding module is used for sending the communication message with the uniform format to the message queue cluster; the unified format communication message is used for triggering the message queue cluster to send the unified format communication message to the second heterogeneous system, and the second heterogeneous system is triggered to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
In a possible implementation manner, the first data obtaining module is further configured to obtain second heterogeneous system service invocation information; receiving a uniform format calling result sent by the message queue cluster; the first adaptation module is also used for converting the format of the second heterogeneous system service calling information into a preset uniform message format to obtain uniform format calling information; converting the format of the unified format calling result into a first heterogeneous system communication format; the first forwarding module is also used for sending the uniform format calling information to the message queue cluster; the uniform format calling information is used for triggering the message queue cluster to send the uniform format calling information to the second heterogeneous system, triggering the second heterogeneous system to convert the format of the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information, triggering the second heterogeneous system to generate a calling result according to the second heterogeneous system communication format calling information, converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster.
Referring to fig. 5, in yet another embodiment of the present invention, an information interaction apparatus between heterogeneous systems is provided, which is applied to a second heterogeneous system of an information interaction system between heterogeneous systems, and is capable of being used to implement the information interaction method between heterogeneous systems of the second heterogeneous system applied to the information interaction system between heterogeneous systems, where the information interaction apparatus between heterogeneous systems specifically includes a second data obtaining module and a second adapting module.
The second data acquisition module is used for receiving the communication message with the uniform format sent by the message queue cluster; the communication message with the uniform format is obtained through a first heterogeneous system, the format of the communication message is converted into a preset uniform message format to obtain the communication message, and the communication message is sent to a message queue cluster through the first heterogeneous system; the second adaptation module is used for converting the format of the communication message with the uniform format into a communication format of a second heterogeneous system.
In a possible implementation manner, the system further comprises a calling module and a second forwarding module. The second data acquisition module is further used for receiving uniform format call information sent by the message queue cluster; the uniform format calling information acquires second heterogeneous system service calling information through the first heterogeneous system, converts the format of the second heterogeneous system service calling information into a preset uniform message format to obtain the second heterogeneous system service calling information, and sends the second heterogeneous system service calling information to the message queue cluster through the first heterogeneous system; the second adaptation module is also used for converting the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information; the calling module is used for calling information to generate a calling result according to the communication format of the second heterogeneous system; the second forwarding module is used for converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster; the uniform format calling result is used for triggering the message queue cluster to send the uniform format calling result to the first heterogeneous system, and the first heterogeneous system is triggered to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
In practical application, a specific heterogeneous system may be used as both a first heterogeneous system and a second heterogeneous system, and when an inter-heterogeneous system information interaction device is arranged in the first heterogeneous system, the first adaptation module and the second adaptation module may be implemented by one protocol adapter, and the first forwarding module and the second forwarding module may be implemented by one gateway.
Referring to fig. 6, in yet another embodiment of the present invention, an inter-heterogeneous system information interaction apparatus is provided, which is applied to a message queue cluster of an inter-heterogeneous system information interaction system, and can be used to implement the inter-heterogeneous system information interaction method applied to the message queue cluster of the inter-heterogeneous system information interaction system, and specifically includes a third data obtaining module and a third forwarding module.
The third data acquisition module is used for receiving a uniform format communication message sent by the first heterogeneous system; the communication message with the uniform format is obtained through a first heterogeneous system, and the format of the communication message is converted into a preset uniform message format; the third forwarding module is used for sending the communication message with the uniform format to the second heterogeneous system; the unified format communication message is used for triggering the second heterogeneous system to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
In a possible implementation manner, the third data obtaining module is further configured to receive uniform format call information sent by the first heterogeneous system, where the uniform format call information obtains second heterogeneous system service call information through the first heterogeneous system, and converts the format of the second heterogeneous system service call information into a preset uniform message format to obtain the second heterogeneous system service call information; receiving a uniform format calling result sent by the second heterogeneous system; the third forwarding module is further configured to send uniform format calling information to the second heterogeneous system, where the uniform format calling information is used to trigger the second heterogeneous system to convert the uniform format calling information into a second heterogeneous system communication format, obtain second heterogeneous system communication format calling information, generate a calling result according to the second heterogeneous system communication format calling information, convert the format of the calling result into a preset uniform message format, and obtain a uniform format calling result; and sending the uniform format calling result to the first heterogeneous system, wherein the uniform format calling result is used for triggering the first heterogeneous system to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
In another embodiment of the present invention, an information interaction system between heterogeneous systems is provided, which includes a first heterogeneous system, a second heterogeneous system, and a message queue cluster, where the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster. Wherein, the information interaction device between heterogeneous systems in the embodiment shown in fig. 4 is arranged in the first heterogeneous system; the information interaction device between the heterogeneous systems in the embodiment shown in fig. 5 is arranged in the second heterogeneous system; the information interaction device between heterogeneous systems in the embodiment shown in fig. 6 is arranged in the message queue cluster.
In a possible implementation manner, the second data obtaining module is further configured to obtain second heterogeneous system service registration information; the second adaptation module is also used for converting the format of the second heterogeneous system service registration information into a preset uniform message format to obtain a uniform format service registration message; the second forwarding module is used for sending the service registration message with the uniform format to the message queue cluster; the third data acquisition module is further used for receiving the uniform format service registration message, and the third forwarding module is further used for sending the uniform format service registration message to the first heterogeneous system; the first data acquisition module is further used for receiving the uniform format service registration message, and the first adaptation module is further used for converting the format of the uniform format service registration message into a first heterogeneous system communication format.
In a possible implementation manner, the unified message format includes a plurality of messages, each message includes a message offset unit, a message size unit, and a message unit, which are sequentially arranged, the message unit includes a message length unit, a message timestamp unit, a message offset unit, a message key length unit, a message value unit, and a header information unit, which are sequentially arranged, and the header information unit includes a header information key length unit, a header information key unit, a header information value length unit, a header information value unit, and a check bit unit.
All relevant contents of each step involved in the embodiment of the information interaction method between heterogeneous systems may be referred to in the description of the function module corresponding to the information interaction device between heterogeneous systems in the embodiment of the present invention, and are not described herein again.
The division of the modules in the embodiments of the present invention is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present invention may be integrated in one processor, or may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (17)

1. The information interaction method between the heterogeneous systems is characterized by being applied to an information interaction system between the heterogeneous systems, wherein the heterogeneous cluster system comprises a first heterogeneous system, a second heterogeneous system and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the information interaction method between heterogeneous systems comprises the following steps:
the first heterogeneous system acquires the communication message, converts the format of the communication message into a preset unified message format, acquires the unified format communication message and sends the unified format communication message to the message queue cluster;
and the second heterogeneous system receives the communication message with the uniform format sent by the message queue cluster and converts the format of the communication message with the uniform format into a communication format of the second heterogeneous system.
2. The method for information interaction between heterogeneous systems according to claim 1, further comprising:
the first heterogeneous system acquires second heterogeneous system service calling information, converts the format of the second heterogeneous system service calling information into a preset uniform message format, obtains uniform format calling information and sends the uniform format calling information to the message queue cluster;
the second heterogeneous system receives the uniform format calling information sent by the message queue cluster, and converts the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information;
the second heterogeneous system generates a calling result according to the second heterogeneous system communication format calling information, converts the format of the calling result into a preset uniform message format, obtains the uniform format calling result and sends the uniform format calling result to the message queue cluster;
and the first heterogeneous system receives the uniform format calling result sent by the message queue cluster and converts the format of the uniform format calling result into a first heterogeneous system communication format.
3. The method for information interaction between heterogeneous systems according to claim 2, further comprising:
the second heterogeneous system acquires service registration information of the second heterogeneous system, converts the format of the service registration information of the second heterogeneous system into a preset uniform message format, obtains a uniform format service registration message and sends the uniform format service registration message to the message queue cluster; the message queue cluster sends the uniform format service registration message to the first heterogeneous system, and the first heterogeneous system converts the format of the uniform format service registration message into a first heterogeneous system communication format.
4. The method of claim 1, wherein the unified message format comprises a plurality of messages, each message comprises a message offset unit, a message size unit, and a message unit, the message unit comprises a message length unit, a message timestamp unit, a message offset unit, a message key length unit, a message key unit, a message value length unit, a message value unit, and a header information unit, and the header information unit comprises a header information key length unit, a header information key unit, a header information value length unit, a header information value unit, and a check bit unit.
5. The information interaction method between the heterogeneous systems is characterized in that the method is applied to a first heterogeneous system of an information interaction system between the heterogeneous systems, and the heterogeneous cluster system comprises the first heterogeneous system, a second heterogeneous system and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the information interaction method between heterogeneous systems comprises the following steps:
acquiring a communication message, converting the format of the communication message into a preset unified message format, acquiring a unified format communication message and sending the unified format communication message to a message queue cluster; the unified format communication message is used for triggering the message queue cluster to send the unified format communication message to the second heterogeneous system, and the second heterogeneous system is triggered to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
6. The method for information interaction between heterogeneous systems according to claim 5, further comprising:
acquiring second heterogeneous system service calling information, converting the format of the second heterogeneous system service calling information into a preset uniform message format, acquiring uniform format calling information and sending the uniform format calling information to a message queue cluster; the uniform format calling information is used for triggering the message queue cluster to send the uniform format calling information to the second heterogeneous system, triggering the second heterogeneous system to convert the format of the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information, triggering the second heterogeneous system to generate a calling result according to the second heterogeneous system communication format calling information, converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster;
and receiving a uniform format calling result sent by the message queue cluster, and converting the format of the uniform format calling result into a first heterogeneous system communication format.
7. The information interaction method between the heterogeneous systems is characterized in that the method is applied to a second heterogeneous system of an information interaction system between the heterogeneous systems, and the heterogeneous cluster system comprises a first heterogeneous system, a second heterogeneous system and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the information interaction method between heterogeneous systems comprises the following steps:
receiving a communication message with a uniform format sent by the message queue cluster, and converting the format of the communication message with the uniform format into a communication format of a second heterogeneous system;
the communication message with the uniform format is obtained through the first heterogeneous system, the format of the communication message is converted into a preset uniform message format to obtain the communication message, and the communication message is sent to the message queue cluster through the first heterogeneous system.
8. The method for information interaction between heterogeneous systems according to claim 7, further comprising:
receiving uniform format calling information sent by the message queue cluster, and converting the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information; generating a calling result according to the second heterogeneous system communication format calling information, converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster;
the uniform format calling information acquires second heterogeneous system service calling information through the first heterogeneous system, converts the format of the second heterogeneous system service calling information into a preset uniform message format to obtain the second heterogeneous system service calling information, and sends the second heterogeneous system service calling information to the message queue cluster through the first heterogeneous system; the uniform format calling result is used for triggering the message queue cluster to send the uniform format calling result to the first heterogeneous system, and the first heterogeneous system is triggered to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
9. The information interaction method between the heterogeneous systems is characterized by being applied to a message queue cluster of an information interaction system between the heterogeneous systems, wherein the heterogeneous cluster system comprises a first heterogeneous system, a second heterogeneous system and a message queue cluster, and the first heterogeneous system and the second heterogeneous system are in communication connection with the message queue cluster;
the information interaction method between heterogeneous systems comprises the following steps:
receiving a uniform format communication message sent by a first heterogeneous system, and sending the uniform format communication message to a second heterogeneous system; the communication message with the uniform format is obtained through a first heterogeneous system, and the format of the communication message is converted into a preset uniform message format; the unified format communication message is used for triggering the second heterogeneous system to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
10. The method for information interaction between heterogeneous systems according to claim 9, further comprising:
receiving uniform format calling information sent by a first heterogeneous system, and sending the uniform format calling information to a second heterogeneous system; the unified format calling information is obtained by acquiring second heterogeneous system service calling information through the first heterogeneous system and converting the format of the second heterogeneous system service calling information into a preset unified message format; the uniform format calling information is used for triggering a second heterogeneous system to convert the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information, generating a calling result according to the second heterogeneous system communication format calling information, and converting the format of the calling result into a preset uniform message format to obtain a uniform format calling result;
receiving a uniform format calling result sent by the second heterogeneous system, and sending the uniform format calling result to the first heterogeneous system; and the uniform format calling result is used for triggering the first heterogeneous system to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
11. The information interaction device between the heterogeneous systems is characterized by being applied to a first heterogeneous system of an information interaction system between the heterogeneous systems, wherein the heterogeneous cluster system comprises the first heterogeneous system, a second heterogeneous system and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the heterogeneous inter-system information interaction device comprises:
the first data acquisition module is used for acquiring communication messages;
the first adaptation module is used for converting the format of the communication message into a preset unified message format to obtain a unified format communication message;
the first forwarding module is used for sending the communication message with the uniform format to the message queue cluster; the unified format communication message is used for triggering the message queue cluster to send the unified format communication message to the second heterogeneous system, and the second heterogeneous system is triggered to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
12. The device for information interaction between heterogeneous systems according to claim 11, wherein:
the first data acquisition module is also used for acquiring second heterogeneous system service calling information; receiving a uniform format calling result sent by the message queue cluster;
the first adaptation module is further used for converting the format of the second heterogeneous system service calling information into a preset uniform message format to obtain uniform format calling information; converting the format of the unified format calling result into a first heterogeneous system communication format;
the first forwarding module is further used for sending the uniform format calling information to the message queue cluster; the uniform format calling information is used for triggering the message queue cluster to send the uniform format calling information to the second heterogeneous system, triggering the second heterogeneous system to convert the format of the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information, triggering the second heterogeneous system to generate a calling result according to the second heterogeneous system communication format calling information, converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster.
13. The information interaction device between the heterogeneous systems is characterized by being applied to a second heterogeneous system of an information interaction system between the heterogeneous systems, wherein the heterogeneous cluster system comprises a first heterogeneous system, a second heterogeneous system and a message queue cluster; the first heterogeneous system and the second heterogeneous system are both in communication connection with the message queue cluster;
the heterogeneous inter-system information interaction device comprises:
the second data acquisition module is used for receiving the communication message with the uniform format sent by the message queue cluster; the communication message with the uniform format is obtained through a first heterogeneous system, the format of the communication message is converted into a preset uniform message format to obtain the communication message, and the communication message is sent to a message queue cluster through the first heterogeneous system;
and the second adaptation module is used for converting the format of the communication message with the uniform format into a communication format of a second heterogeneous system.
14. The device for information interaction between heterogeneous systems according to claim 13, further comprising a calling module and a second forwarding module;
the second data acquisition module is also used for receiving uniform format calling information sent by the message queue cluster; the uniform format calling information acquires second heterogeneous system service calling information through the first heterogeneous system, converts the format of the second heterogeneous system service calling information into a preset uniform message format to obtain the second heterogeneous system service calling information, and sends the second heterogeneous system service calling information to the message queue cluster through the first heterogeneous system;
the second adaptation module is also used for converting the uniform format calling information into a second heterogeneous system communication format to obtain second heterogeneous system communication format calling information;
the calling module is used for calling information according to a second heterogeneous system communication format to generate a calling result;
the second forwarding module is used for converting the format of the calling result into a preset uniform message format, obtaining a uniform format calling result and sending the uniform format calling result to the message queue cluster; the uniform format calling result is used for triggering the message queue cluster to send the uniform format calling result to the first heterogeneous system, and the first heterogeneous system is triggered to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
15. The information interaction device between the heterogeneous systems is characterized by being applied to a message queue cluster of an information interaction system between the heterogeneous systems, wherein the heterogeneous cluster system comprises a first heterogeneous system, a second heterogeneous system and a message queue cluster, and the first heterogeneous system and the second heterogeneous system are in communication connection with the message queue cluster;
the heterogeneous inter-system information interaction device comprises:
the third data acquisition module is used for receiving the communication message with the uniform format sent by the first heterogeneous system; the communication message with the uniform format is obtained through a first heterogeneous system, and the format of the communication message is converted into a preset uniform message format;
the third forwarding module is used for sending the communication message with the uniform format to the second heterogeneous system; the unified format communication message is used for triggering the second heterogeneous system to convert the format of the unified format communication message into the communication format of the second heterogeneous system.
16. The device for information interaction between heterogeneous systems according to claim 15, wherein:
the third data acquisition module is further configured to receive uniform format call information sent by the first heterogeneous system, where the uniform format call information is obtained by acquiring, by the first heterogeneous system, second heterogeneous system service call information and converting the format of the second heterogeneous system service call information into a preset uniform message format; receiving a uniform format calling result sent by the second heterogeneous system;
the third forwarding module is further configured to send uniform format calling information to the second heterogeneous system, where the uniform format calling information is used to trigger the second heterogeneous system to convert the uniform format calling information into a second heterogeneous system communication format, obtain second heterogeneous system communication format calling information, generate a calling result according to the second heterogeneous system communication format calling information, convert the format of the calling result into a preset uniform message format, and obtain a uniform format calling result; and sending the uniform format calling result to the first heterogeneous system, wherein the uniform format calling result is used for triggering the first heterogeneous system to convert the format of the uniform format calling result into the communication format of the first heterogeneous system.
17. An information interaction system between heterogeneous systems is characterized by comprising a first heterogeneous system, a second heterogeneous system and a message queue cluster, wherein the first heterogeneous system and the second heterogeneous system are in communication connection with the message queue cluster;
setting the information interaction device between heterogeneous systems according to claim 11 or 12 in a first heterogeneous system;
setting the information interaction device between heterogeneous systems according to claim 13 or 14 in a second heterogeneous system;
the heterogeneous inter-system information interaction device of claim 15 or 16 is arranged in a message queue cluster.
CN202210085833.7A 2022-01-25 2022-01-25 Information interaction method, device and system between heterogeneous systems Pending CN114501347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210085833.7A CN114501347A (en) 2022-01-25 2022-01-25 Information interaction method, device and system between heterogeneous systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210085833.7A CN114501347A (en) 2022-01-25 2022-01-25 Information interaction method, device and system between heterogeneous systems

Publications (1)

Publication Number Publication Date
CN114501347A true CN114501347A (en) 2022-05-13

Family

ID=81474898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210085833.7A Pending CN114501347A (en) 2022-01-25 2022-01-25 Information interaction method, device and system between heterogeneous systems

Country Status (1)

Country Link
CN (1) CN114501347A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134361A (en) * 2022-06-20 2022-09-30 中汽创智科技有限公司 Cross-platform communication method and device for automatic driving software platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453710A (en) * 2008-12-24 2009-06-10 中国移动通信集团北京有限公司 Method and apparatus for message conversion between heterogeneous service systems
CN107040613A (en) * 2017-06-05 2017-08-11 上海艾融软件股份有限公司 A kind of message transmitting method and system
CN109492040A (en) * 2018-11-06 2019-03-19 深圳航天智慧城市系统技术研究院有限公司 A kind of system suitable for data center's magnanimity short message data processing
CN110059356A (en) * 2019-03-18 2019-07-26 中国电力科学研究院有限公司 A kind of bulk power grid intelligent control system and method based on big data and artificial intelligence
CN111061788A (en) * 2019-11-26 2020-04-24 江苏瑞中数据股份有限公司 Multi-source heterogeneous data conversion integration system based on cloud architecture and implementation method thereof
CN112925660A (en) * 2021-02-26 2021-06-08 重庆斯欧智能科技研究院有限公司 Industrial interconnected information interaction system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453710A (en) * 2008-12-24 2009-06-10 中国移动通信集团北京有限公司 Method and apparatus for message conversion between heterogeneous service systems
CN107040613A (en) * 2017-06-05 2017-08-11 上海艾融软件股份有限公司 A kind of message transmitting method and system
CN109492040A (en) * 2018-11-06 2019-03-19 深圳航天智慧城市系统技术研究院有限公司 A kind of system suitable for data center's magnanimity short message data processing
CN110059356A (en) * 2019-03-18 2019-07-26 中国电力科学研究院有限公司 A kind of bulk power grid intelligent control system and method based on big data and artificial intelligence
CN111061788A (en) * 2019-11-26 2020-04-24 江苏瑞中数据股份有限公司 Multi-source heterogeneous data conversion integration system based on cloud architecture and implementation method thereof
CN112925660A (en) * 2021-02-26 2021-06-08 重庆斯欧智能科技研究院有限公司 Industrial interconnected information interaction system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134361A (en) * 2022-06-20 2022-09-30 中汽创智科技有限公司 Cross-platform communication method and device for automatic driving software platform
CN115134361B (en) * 2022-06-20 2024-04-26 中汽创智科技有限公司 Cross-platform communication method and device for automatic driving software platform

Similar Documents

Publication Publication Date Title
CN111787066B (en) Internet of things data platform based on big data and AI
CN109542865B (en) Method, device, system and medium for synchronizing configuration files of distributed cluster system
CN107465767B (en) Data synchronization method and system
US20030120666A1 (en) Real-time monitoring of service performance through the use of relational database calculation clusters
CN111432025B (en) Cloud edge cooperation-oriented distributed service directory management method and system
CN111831748B (en) Data synchronization method, device and storage medium
CN109451014B (en) WebService agent system and transparent agent method thereof
CN112671697B (en) Data processing method, device and system of comprehensive monitoring system
CN113556359B (en) Communication protocol conversion method, device, system and gateway device
CN110309231A (en) A kind of method of data synchronization and system across computer room
CN110612716A (en) Intermediate device for network routing of data messages
CN105183470A (en) Natural language processing systematic service platform
CN104320441A (en) Method of sharing information between wireless communication systems
CN112650545A (en) Configuration management system, method and storage medium
CN114501347A (en) Information interaction method, device and system between heterogeneous systems
CN110582757A (en) Intermediate device for network routing of data messages
CN112711625A (en) Bidirectional self-adaptive multi-source heterogeneous big data dynamic processing method
CN112817539A (en) Industrial data storage method and system, electronic device and storage medium
CN112486666A (en) Model-driven reference architecture method and platform
CN107786661B (en) Information synchronization method
CN112804313B (en) Data synchronization method, device, equipment and medium based on cross-domain edge node
CN113472848A (en) Network fusion method and device of virtual machine and container and related equipment
CN112637288A (en) Streaming data distribution method and system
CN113407611B (en) Data integration distribution platform and system
CN113867287B (en) Industrial data acquisition method and system

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