CN115002207A - Information communication method and system - Google Patents

Information communication method and system Download PDF

Info

Publication number
CN115002207A
CN115002207A CN202210586477.7A CN202210586477A CN115002207A CN 115002207 A CN115002207 A CN 115002207A CN 202210586477 A CN202210586477 A CN 202210586477A CN 115002207 A CN115002207 A CN 115002207A
Authority
CN
China
Prior art keywords
information
target
communication
server
processing component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210586477.7A
Other languages
Chinese (zh)
Other versions
CN115002207B (en
Inventor
程军林
刘强
黄海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sany Intelligent Mining Technology Co Ltd
Original Assignee
Sany Intelligent Mining Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sany Intelligent Mining Technology Co Ltd filed Critical Sany Intelligent Mining Technology Co Ltd
Priority to CN202210586477.7A priority Critical patent/CN115002207B/en
Publication of CN115002207A publication Critical patent/CN115002207A/en
Application granted granted Critical
Publication of CN115002207B publication Critical patent/CN115002207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses an information communication method and an information communication system, relates to the technical field of communication, and mainly aims to solve the problem of high difficulty in development of information communication between servers of different communication types. The method mainly comprises the steps of asynchronously receiving a target information forwarding request sent by an information sending end, wherein the target information forwarding request carries information sending end parameters and target information; determining a first target processing component from processing components of different communication types according to the information sending end parameters, and analyzing the target information by using the first target processing component to obtain at least one information receiving end parameter; and generating forwarding information by using at least one second target processing component determined based on the parameters of the information receiving end, and asynchronously sending the forwarding information to the information receiving end by using the second target processing component so as to realize the communication between the information receiving end and the information sending end. The method is mainly used for information communication between servers with different communication types.

Description

Information communication method and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information communication method and system.
Background
With the progress of information communication technology, communication technology has a diversified development trend, and various communication technologies are developed according to different operating systems and different development languages. The diversity of communication technologies improves the applicability of the communication technologies, but due to the difference of communication technology means of different systems, information communication cannot be performed between the systems of different communication technologies. The existing technical means for solving the difficulty is to develop and agree an information communication protocol between communication systems to realize information communication between the systems of different communication technologies.
Although the existing method can realize information communication among systems of different communication technology types, for a comprehensive system with a large number of subsystems and a complex communication relationship among the subsystems, such as a comprehensive mineral mining working face system comprising various communication technology subsystems, such as an unmanned automation system, a GIS system, an artificial intelligent platform system, an Internet of things system and the like, if a communication protocol is developed between each mineral mining subsystem and the subsystems, developers need to master all communication technologies applied by the mineral mining subsystems and develop the communication technologies one by one, and the problems of high development difficulty and large development workload of information communication among the subsystems are caused.
Disclosure of Invention
In view of the above, the present invention provides an information communication method and system, and mainly aims to solve the problems of high development difficulty and high development workload in communication between systems of different communication types.
According to an aspect of the present invention, there is provided an information communication method including:
asynchronously receiving a target information forwarding request sent by an information sending end, wherein the target information forwarding request carries information sending end parameters and target information;
determining a first target processing component from processing components of different communication types according to the information sending end parameters, and analyzing the target information by using the first target processing component to obtain at least one information receiving end parameter;
and generating forwarding information by using at least one second target processing component determined based on the parameters of the information receiving end, and asynchronously sending the forwarding information to the information receiving end by using the second target processing component so as to realize the communication between the information receiving end and the information sending end.
Further, before the target information forwarding request sent by the asynchronous information receiving sender, the method further includes:
responding to a connection request of a target server, and acquiring a server name and communication parameters of the target server, wherein the target server is an information sending end and/or an information receiving end;
determining an initial processing component matched with the communication type of the target server according to the communication parameters;
and configuring a communication object in the initial processing assembly according to the server name to obtain a processing assembly.
Further, the communication type of the processing component includes a communication type of the processing component including distributed publish-subscribe communication, information distribution service communication, message queue telemetry transmission communication, and device information serialization communication, the communication object includes an analysis object and a generation object, or a proxy object, the processing component communication object is configured in the initial processing component according to the server name, and the processing component is obtained, including:
if the communication type of the initial processing component is the distributed publish-subscribe communication, the information distribution service communication and the message queue telemetry transmission communication, configuring at least one analysis object and at least one generation object corresponding to the server name in the initial processing component to obtain a processing component;
and if the communication type of the initial processing assembly is the equipment information serialization communication, configuring at least one proxy object corresponding to the server name in the initial processing assembly to obtain the processing assembly.
Further, the determining a first target processing component from processing components of different communication types according to the information sending end parameter, and analyzing the target information by using the first target processing component to obtain an information receiving end parameter includes:
matching the information sending terminal parameters with analysis objects or proxy objects in the processing assembly, and determining the processing assembly where the matched target analysis object or first target proxy object is located as a first target processing assembly;
and receiving the target information by using the target analysis object or the target agent object, and analyzing the target information to obtain information receiving end parameters.
Further, the generating forwarding information by using at least one second target processing component determined based on the information receiving end parameter, and asynchronously sending the forwarding information to the information receiving end by using the second target processing component includes:
matching the information receiving terminal parameters with an analysis object or a proxy object in a processing assembly, and determining the processing assembly where the matched target generation object or a second target proxy object is located as a second target processing assembly;
the second target processing component acquires the target information and the information receiving terminal parameters;
and the target generation object or the target agent object generates forwarding information according to the target information and the information receiving terminal parameters, and sends the forwarding information to an information receiving terminal.
Further, the method further comprises:
monitoring a communication process through a plug-in connected between the information receiving end or the information sending end and a processing assembly server;
if the communication between the information receiving end or the information sending end and the processing assembly server is interrupted, reconfiguring a communication object of the processing assembly by using the plug-in and reestablishing the communication;
if the information receiving end parameter or the information sending end parameter is not matched with the communication type of the processing assembly, the plug-in is utilized to convert the target information into the replacement information matched with any communication type of the processing assembly.
Further, the target information at least comprises one of interaction information of mining equipment, interaction information of unmanned equipment in a mining area and mining safety intelligent identification information.
In accordance with another aspect of the present invention, there is provided an information communication system including:
the system comprises an information sending end server, an intermediate server and an information receiving end server, wherein the forwarding server is respectively connected with the information sending end server and the information receiving end server;
the information sending terminal server is used for generating target information and sending a target information forwarding request to the intermediate server;
the intermediate server is used for asynchronously receiving a target information forwarding request sent by an information sending end server, wherein the target information forwarding request carries information sending end parameters and target information;
the intermediate server is also used for determining a first target processing component from processing components of different communication types according to the information sending terminal server parameters, and analyzing the target information by using the first target processing component to obtain at least one information receiving terminal parameter;
the intermediate server is further used for generating forwarding information by using at least one second target processing component determined based on the information receiving end parameters, and asynchronously sending the forwarding information to an information receiving end server by using the second target processing component so as to realize communication between the information receiving end server and the information sending end server;
and the information receiving end server is used for receiving the forwarding information sent by the intermediate server and analyzing the forwarding information to obtain the information content of the target information.
Further, the system further comprises: the device comprises an acquisition module, a matching module and a configuration module;
the acquisition module is used for responding to a connection request of a target server and acquiring a server name and communication parameters of the target server, wherein the target server is an information sending end and/or an information receiving end;
the matching module is used for determining an initial processing component matched with the communication type of the target server according to the communication parameters;
and the configuration module is used for configuring a communication object in the initial processing assembly according to the server name to obtain a processing assembly.
Further, the system further comprises:
the plug-in module is connected between the information receiving end or the information sending end and the processing component server;
the plug-in module is used for reconfiguring a communication object of the processing assembly by using the plug-in and reestablishing communication if the communication between the information receiving end or the information sending end and the processing assembly server is interrupted;
the plug-in module is further configured to convert the target information into replacement information matched with any communication type of the processing component by using the plug-in if the information receiving end parameter or the information sending end parameter is not matched with the communication type of the processing component.
By the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
the invention provides an information communication method and a system, the embodiment of the invention asynchronously receives a target information forwarding request sent by an information sending end, and the target information forwarding request carries information sending end parameters and target information; determining a first target processing component from processing components of different communication types according to the information sending end parameters, and analyzing the target information by using the first target processing component to obtain at least one information receiving end parameter; the forwarding information is generated by utilizing at least one second target processing component determined based on the parameters of the information receiving end, and the forwarding information is asynchronously sent to the information receiving end by utilizing the second target processing component, so that the communication between the information receiving end and the information sending end is realized, the development of a corresponding communication protocol for a server of each communication type is avoided, the technical requirements on developers are reduced, meanwhile, the information transmission accuracy is ensured, the development workload is greatly reduced, and the development difficulty is reduced.
The above description is only an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description so as to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flow chart of an information communication method provided by an embodiment of the invention;
FIG. 2 is a flow chart of another method for communicating information according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating components of an information communication system according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating another information communication system according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Aiming at the problems that the information communication between systems of different communication technology types can be realized by the existing method, but for comprehensive systems with a large number of subsystems and complex communication relationship among the subsystems, such as a comprehensive mineral exploitation working face system comprising various communication technology subsystems, such as an unmanned automation system, a GIS system, an AI intelligent platform system, an IOT internet of things system and the like, if a communication protocol is developed between each mineral exploitation subsystem and the subsystems, developers need to master all communication technologies applied by the mineral exploitation subsystems and develop the communication technologies one by one, so that the development difficulty of the information communication between the subsystems is large, and the development workload is large. An embodiment of the present invention provides an information communication method, as shown in fig. 1, the method includes:
101. and asynchronously receiving a target information forwarding request sent by an information sending end.
In the embodiment of the invention, the information communication is information interaction between all subsystems in the fully mechanized working face system in the mining industry based on the intermediate forwarding server. The fully-mechanized mining face System at least comprises an edge support System, a ground System, a data processing center, a data large screen System, an Internet of things System, an unmanned automatic System, a GIS (Geographic Information System) and an artificial intelligence System. The edge support system, the ground system, the data processing center and the data large-screen system adopt GRPC, and a universal RPC framework is used for realizing communication based on a serialization protocol; the Internet of things system adopts MQTT (message queue telemetry transmission) and realizes communication based on a message protocol of a publish/subscribe paradigm; the unmanned automatic system adopts FastDDS and realizes communication based on DDS standard; the GIS system and the artificial intelligence system realize communication by adopting a kafka distributed publish-subscribe message technology. Because the artificial intelligence system needs to perform information interaction with the ground system, the edge support system is connected with equipment such as a coal mining machine, a pump station, a bracket, a crusher, a belt and the like, collected equipment data needs to be converted into object model serialized information to be sent to subsystems such as the ground system, an internet of things system, a data processing center, a data large screen system and the like, and the unmanned automatic system GIS system needs to perform information interaction with the ground system, so that information communication is needed to be performed among the subsystems of different communication types. The information content transmitted by kafka, FastDDS and MQTT is a character string, and the information content of GRPC is a serialized object of equipment information. In order to enable the information receiving end to receive the target information sent by the information sending end with different communication types, a target information forwarding request is sent to the intermediate server, and the target information is forwarded through the intermediate server so as to realize communication. In the communication process, the current execution end is an intermediate server which is arranged between the information sending end and the information receiving end and realizes the information forwarding function, and the current execution end can be used as an intermediate piece of information communication. Each subsystem may be both a sender and a receiver of information.
It should be noted that the target information forwarding request carries target information and a communication type of the information sending end, so that the intermediate server can select a corresponding processing component according to the communication type of the information sending end and the target information to perform information forwarding processing, and obtain information corresponding to the communication type of the information receiving end, thereby implementing information communication between subsystems of different communication types.
102. And determining a first target processing component from processing components of different communication types according to the information sending end parameters, and analyzing the target information by using the first target processing component to obtain at least one information receiving end parameter.
In the embodiment of the invention, the intermediate server comprises a plurality of processing components of communication types, and each processing component is used for correspondingly processing the target information of the corresponding communication type. The information sending end parameter is a communication type parameter used for representing the information sending end. In order to determine the processing component that needs to receive and parse the target information, i.e. the first target processing component. And matching the processing component with the same communication type according to the communication type represented by the information sending end parameter to serve as a first target processing component. And then the first target processing component is used for analyzing the information receiving end parameters carried in the target information. The information receiving end parameter is a parameter for representing the communication type of the information receiving end. Because the communication mode between the subsystems can be point-to-point communication, packet communication or broadcast communication, the target information can carry parameters of at least one information receiving end.
103. And generating forwarding information by using at least one second target processing component determined based on the parameters of the information receiving end, and asynchronously sending the forwarding information to the information receiving end by using the second target processing component so as to realize the communication between the information receiving end and the information sending end.
In the embodiment of the present invention, since the number of the information receiving end parameters may be multiple, and the communication types represented by each information receiving end parameter may be different, at least one processing component for converting the target information, that is, the second target processing component, needs to be determined according to the information receiving end parameters. The second target processing component is used for generating forwarding information which can be received by the information receiving end according to the information content in the target information and the information receiving end parameters, and sending the forwarding information to the information receiving end according to the information receiving end parameters.
It should be noted that, based on that the formats of the information sent by different communication technologies are different, and the different formats cannot be compatible for communication, if communication between subsystems of different communication technologies needs to be implemented, developers need to develop and agree on an information communication protocol for the subsystems of different communication types. By configuring a plurality of processing components with different communication types in the intermediate server and receiving, analyzing, generating and forwarding the target information content based on the processing components with the same communication types as the information sending end and the information receiving end respectively, developers can be prevented from developing protocols with different communication technologies for each subsystem, and therefore development difficulty and development workload are reduced. In addition, the intermediate server receives and forwards information in an asynchronous mode, and can simultaneously process a plurality of information forwarding requests, so that the information forwarding efficiency is improved.
In an embodiment of the present invention, for further explanation and limitation, as shown in fig. 2, before the asynchronously receiving the target information forwarding request sent by the information sending end in step 101, the method further includes:
201. and responding to the connection request of the target server, and acquiring the server name and the communication parameters of the target server.
202. And determining an initial processing component matched with the communication type of the target server according to the communication parameters.
203. And configuring a communication object in the initial processing assembly according to the server name to obtain a processing assembly.
In the embodiment of the present invention, in order to enable the intermediate server to match the corresponding initial processing component based on the parameters in the target information forwarding request in the communication process, when a connection with the target server needs to be established, communication objects corresponding to the information sending end parameters and the information receiving end parameters are configured in the processing component in advance according to the name and the communication parameters of the target server. The target server is a server which needs to perform information communication based on the intermediate server, and the communication is an information interaction process, so the server can be an information sending end or an information receiving end, and can also be used as the information sending end and the information receiving end at the same time. The communication parameters characterize the communication type of the target server. And matching initial processing components of the same communication type from the initial processing components of different communication types according to the communication parameters of the target server, and further creating a communication object uniquely corresponding to the target server in the initial processing components. For example, if the target server is a server of the internet of things system, the target server is matched with the MQTT initial processing component according to a communication technology MQTT used by the internet of things system, and an object for generating the internet of things system information is created in the MQTT initial processing component: IotInputTopic; the internet of things system information analysis object is as follows: IOTOUTTopic.
In an embodiment of the present invention, for further explanation and limitation, the step 203 of configuring a processing component communication object in the initial processing component according to the server name to obtain a processing component includes:
if the communication type of the initial processing component is the distributed publish-subscribe communication, the information distribution service communication and the message queue telemetry transmission communication, configuring at least one analysis object and at least one generation object corresponding to the server name in the initial processing component to obtain a processing component.
And if the communication type of the initial processing assembly is the equipment information serialization communication, configuring at least one proxy object corresponding to the server name in the initial processing assembly to obtain the processing assembly.
In the embodiment of the invention, the communication object comprises an analysis object, a generation object or a proxy object. The intermediate server is preset with initial processing components respectively corresponding to kafka (distributed publish-subscribe communication), FastDDS (information distribution service communication), MQTT (message queue telemetry transmission communication) and GRPC (device information serialization communication) communication types. Kafka, FastDDS, MQTT are communication in topic form, and the initial processing components thereof include a consumer, i.e. an analysis object, for receiving and analyzing topic class information, and a producer, i.e. an analysis object, for generating forwarding information and transmitting topic class information of the forwarding information. When a connection request of a target server is received, an analysis object corresponding to the name of the target server needs to be created, and an object needs to be generated, so that a processing component containing a communication object matched with the information sending end parameter and the information receiving end parameter is obtained. For example, both the GIS system and the artificial intelligence system send connection requests to the intermediate server, and then an analysis object corresponding to the GIS system is created in the initial processing component of kafka: GISOUTTopic, generate object: GISInParamTopic; creating a parsing object corresponding to the artificial intelligence system: AIOutTopic, generate object: AIInParamTopic. And the unmanned system sends a connection request to the intermediate server, and then creates an analysis object of the unmanned system in an initial processing component of FastDDS: DrivelsesouutTopic generates an object: driveress intent. The Internet of things system sends a connection request to the intermediate server, and then creates a parsing object of the Internet of things system in an initial processing component of the MQTT: IOTOUTTopic, generate object: IotInputTopic. GRPC is communication in object model form, and the initial processing assembly comprises a proxy object for receiving and analyzing object model information, generating object model forwarding information and sending the forwarding information, so as to obtain a processing assembly containing a communication object matched with information sending end parameters and information receiving end parameters. When a connection request of a target server is received, a proxy object corresponding to the name of the target server needs to be created. For example, when the edge support system, the ground system, the data processing center, and the data large screen system send connection requests to the intermediate server, an edge support system proxy object, the ground system, the data processing center, and the data large screen system are respectively created in the GRPC initial processing component.
It should be noted that, by configuring initial processing components of different communication types in the intermediate server, and configuring corresponding communication objects in the initial processing components for servers expected to have communication, which is equivalent to setting a unique identification for matching the target information with the processing components, when the intermediate server receives a target information forwarding request, it is possible to accurately determine the processing components for processing the current target information, parse, generate or proxy objects, and forward the target information, thereby reducing the development workload while ensuring the communication accuracy.
In an embodiment of the present invention, for further explanation and limitation, as shown in fig. 3, the step 102 of determining a first target processing component from processing components of different communication types according to the information sending end parameter, and analyzing the target information by using the first target processing component to obtain an information receiving end parameter includes:
and matching the information sending terminal parameters with the analysis object or the proxy object in the processing assembly, and determining the processing assembly where the matched target analysis object or the first target proxy object is located as the first target processing assembly.
And receiving the target information by using the target analysis object or the target proxy object, and analyzing the target information to obtain an information receiving terminal parameter.
In the embodiment of the present invention, when a target information forwarding request from an information sending end is received, a processing component for receiving target information, that is, a first target processing component, is determined. And searching an analysis object or a proxy object matched with the parameters of the information sending end from all the analysis objects and the proxy objects, namely a target analysis object or a target proxy object, and further analyzing the target information by using the matched analysis object or the first target proxy object to obtain the parameters and the information content of the information receiving end in the target information. The information sending end parameter is also determined based on the name of the information sending end server, and can be the same as or corresponding to the name of the analysis object or the proxy object. Specifically, when the target information is topic information, for example, information sent to a GIS system by an artificial intelligence system, an AIOutTopic analysis object is searched from the analysis object, the target information is received by using the AIOutTopic analysis object, and an information receiving end parameter in the target information is analyzed: GISInParamTopic. When the target information is object model information, for example, information sent to a GIS system, an artificial intelligence system and an unmanned automatic driving system by a ground system, finding a proxy object of the ground system from the proxy object, receiving the target information by using the proxy object of the ground system, and analyzing information receiving end parameters in the target information: AIInParamTopic, GISInParamTopic, DriverlessINTpic.
In an embodiment of the present invention, for further explanation and limitation, as shown in fig. 4, the step 103 of generating forwarding information by using at least one second target processing component determined based on the parameter of the information receiving end, and asynchronously sending the forwarding information to the information receiving end by using the second target processing component includes:
and matching the information receiving terminal parameters with an analysis object or a proxy object in the processing assembly, and determining the processing assembly where the matched target generation object or the second target proxy object is located as the second target processing assembly.
And the second target processing component acquires the target information and the information receiving terminal parameters.
And the target generation object or the target agent object generates forwarding information according to the target information and the information receiving terminal parameters, and sends the forwarding information to an information receiving terminal.
In the embodiment of the invention, after the first target processing component analyzes and obtains the receiving end parameters of the target information, at least one generating object or proxy object matched with the parameters of the information sending end, namely a target generating object or a second target proxy object, is searched from all the generating objects and the proxy objects, and then the target information is converted by utilizing the matched generating object or proxy object to generate the forwarding information. The information receiving end parameter is also determined based on the name of the information receiving end server, and can be the same as or corresponding to the name of the generated object or the proxy object. When the information receiving end comprises a plurality of information receiving ends, the parameters of the plurality of information receiving ends are used, spaced, and the intermediate server divides the information receiving ends according to the parameters and forwards the information receiving ends one by one according to the parameters of the information receiving ends. When the information needs broadcasting, the parameter of the information receiving end is 'broadcast'; at which point the intermediate server forwards the target information to all target servers.
The information generation process between different communication type systems is slightly different, and the following description is respectively made in combination with application examples: 1) the communication types of the receiving end and the transmitting end of the target information are one or more of kafka, MQTT and FastDDS, and the forwarding information is generated by replacing parameters (topics) of the information transmitting end and parameters (information keys) of the information receiving end. For example, the artificial intelligence system sends a target information forwarding request: topic (information sender parameters): AIOutTopic, message Key (information receiving end parameter): GISInParamTopic, messageValue: json string), finding the GISInParamTopic generated object from the generated objects in the kafka processing component according to the GISInParamTopic, and further generating object generation forwarding information by the GISInParamTopic: topic: GISInParamTopic, message Key: AIOutTopic, message Value: a Json string. 2) The communication type of the receiving end of the target information is GRPC, the communication type of the transmitting end is one of kafka, MQTT and FastDDS, and the GRPC agent object reversely initiates an information forwarding request and schedules character string forwarding (topic and information content). For example: the artificial intelligence system sends a target information forwarding request: topic: AIOutTopic, message Key: "ground system", message Value: json character string), finding out a ground system proxy object from the proxy objects in the GRPC processing assembly according to the ground system, and then, the ground system proxy object reversely initiates an information forwarding request to schedule character string forwarding. And the ground system receives the information forwarding request to trigger call-back function call, and the call-back function analyzes the corresponding Json character string according to the topic. 3) The communication type of a receiving end of target information is one or more of kafka, MQTT and FastDDS, the communication type of a transmitting end is GRPC, a target information forwarding request transmitted by a GRPC system comprises information transmitting end parameters, information receiving end parameters (information receiving end topics), and object model serialized Json character strings including equipment IDs, data types, attribute IDs and current values, the information transmitting end parameters are replaced by the information receiving end topics, the information key is assigned as an object model, the information content is unchanged, and forwarding information is generated. For example, the ground system sends a target information forwarding request: information sending end parameters: parameters of a ground system and an information receiving end: AIInParamTopic, GISInParamTopic, DriverlessINTpic, IotInputTopic, information content: the shearer #1, the data type, the attribute ID and the current value respectively search a DrivelressINTpic generating object from generating objects in a FastDDS and an MQTT processing component according to the DrivelressINTpic, and generate forwarding information by using the DrivelressINTpic generating object: toptic: drverless Intraic, message Key: object model, information content: shearer #1, data type, attribute ID, current value. 4) The communication types of the receiving end and the sending end of the target information are both GRPC, the corresponding target proxy object is found according to the parameters of the information receiving end, the target proxy object reversely initiates an information forwarding request, and the scheduling information is generated to the information receiving end.
In an embodiment of the present invention, for further explanation and limitation, the method further comprises:
and monitoring the communication process through a plug-in connected between the information receiving end or the information sending end and the processing component server.
If the communication between the information receiving end or the information sending end and the processing assembly server is interrupted, the plug-in is used for reconfiguring the communication object of the processing assembly and reestablishing the communication.
If the information receiving end parameter or the information sending end parameter is not matched with the communication type of the processing assembly, the plug-in is utilized to convert the target information into the replacement information matched with any communication type of the processing assembly.
In the embodiment of the invention, the development workload of the edge support, the ground system, the data processing center and the Internet of things system is further reduced. And a plug-in is configured between the information receiving end or the information sending end and the intermediate server, the plug-in is used as a secondary development kit, and processing components corresponding to different communication types are packaged in the plug-in. When the information receiving end or the information sending end does not use a communication technology matched with the communication type of the processing assembly in the intermediate server, the plug-in can set topic names of sending and receiving parameters after the communication type is determined, and establish an analytic object and generate an object group inside, so as to convert the target information sent by the information sending end into replacement information which can be accepted by the intermediate server, and establish the bidirectional connection between the information sending end or the information receiving end and the intermediate server. Taking an artificial intelligence system as an example: the kafka information sending end topic built inside the plug-in is as follows: and the message receiving end is called AIOutTopic. The system schedules the transmission function (setting parameters: target system topic name set, result content json string) when transmitting information. The plug-in creates and generates an object AIInParamTopic sending message (a message Key is a target system, and a message value is a Json string), analyzes the object to monitor AIOutTopic, when the intermediate server sends the AIOutTopic message, monitors the message in the plug-in, triggers a callback function of an artificial intelligence system, and the artificial intelligence system analyzes the Json character string according to the received Topic. For the GRPC communication type server, the plug-in further comprises an object model function interface, and Json event callback functions and an object model callback function can be provided to receive object model data and Json content. In addition, the inside of the plug-in also comprises an online detection function, and the online detection function is used for periodically initiating heartbeat detection with the middleware system to confirm whether the middleware server is disconnected. If the connection is broken, the connection will be initiated automatically.
It should be noted that, the plug-in monitors the communication state between the information receiving end or the information sending end and the intermediate server, so as to find the interruption of the communication connection in time and restart the connection, thereby ensuring the stability of the communication. In addition, by packaging the processing components with different communication types in the plug-in, developers only need to call the processing components in the plug-in when using the plug-in, and do not need to master the communication technologies of all communication types, so that the development difficulty is effectively reduced.
For further explanation and limitation, in one embodiment of the present invention, the target information at least includes one of interaction information of mining equipment, interaction information of unmanned equipment in a mining area, and mining safety intelligent identification information.
In the embodiment of the invention, in order to ensure the normal operation of mining work, the mining safety of a fully mechanized mining face needs to be identified based on an artificial intelligence system, and mining safety intelligent identification information is sent to a ground system and a data processing center system; the interactive information of mining equipment of accessed equipment such as coal mining machines, pump stations, supports, conveyors, crushers, belts and the like is also required to be sent to a ground system, an internet of things system, a data processing center and a data large screen system based on the edge support system; and the interaction information of the unmanned equipment in the mining area is sent to a ground system, a data processing center and other systems based on the unmanned system. The interactive information of the mining equipment at least comprises the operation information of a coal mining machine, a pump station, a scraper, a conveyor, a crusher, a hydraulic support, a belt and a combination switch, and a control instruction for controlling the equipment, the mine area operation information acquired by a camera and a control console, and a control instruction for controlling the camera and the control console.
The invention provides an information communication method, the embodiment of the invention asynchronously receives a target information forwarding request sent by an information sending end, and the target information forwarding request carries information sending end parameters and target information; determining a first target processing component from processing components of different communication types according to the information sending end parameters, and analyzing the target information by using the first target processing component to obtain at least one information receiving end parameter; the forwarding information is generated by utilizing at least one second target processing assembly determined based on the information receiving end parameters, and the forwarding information is asynchronously sent to the information receiving end by utilizing the second target processing assembly, so that the communication between the information receiving end and the information sending end is realized, the development of a corresponding communication protocol for a server of each communication type is avoided, the technical requirements on developers are reduced, meanwhile, the information transmission accuracy is ensured, the development workload is greatly reduced, and the development difficulty is reduced.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides an information communication system, and as shown in fig. 3, the system includes:
an information sending end server 34, an intermediate server 35, and an information receiving end server 36, wherein the forwarding server is connected to the information sending end server and the information receiving end server respectively;
the information sending end server 34 is configured to generate target information and send a target information forwarding request to the intermediate server;
the intermediate server 35 is configured to asynchronously receive a target information forwarding request sent by an information sending end server, where the target information forwarding request carries information sending end parameters and target information;
the intermediate server 35 is further configured to determine a first target processing component from processing components of different communication types according to the information sending end server parameter, and analyze the target information by using the first target processing component to obtain at least one information receiving end parameter;
the intermediate server 35 is further configured to generate forwarding information by using at least one second target processing component determined based on the information receiving end parameter, and asynchronously send the forwarding information to an information receiving end server by using the second target processing component, so as to implement communication between the information receiving end server and the information sending end server;
the information receiving end server 36 is configured to receive the forwarding information sent by the intermediate server, and obtain the information content of the target information according to the analysis of the forwarding information.
Further, another information communication system is provided in an embodiment of the present invention, as shown in fig. 4,
the system further comprises: an acquisition module 31, a matching module 32, and a configuration module 33;
the acquiring module 31 is configured to respond to a connection request of a target server, and acquire a server name and communication parameters of the target server, where the target server is an information sending end and/or an information receiving end;
the matching module 32 is used for determining an initial processing component matched with the communication type of the target server according to the communication parameters;
the configuration module 33 is configured to configure a communication object in the initial processing component according to the server name, so as to obtain a processing component.
Further, the air conditioner is provided with a fan,
the configuration module 33 is further configured to configure at least one parsing object and at least one generating object corresponding to the server name in the initial processing component to obtain a processing component if the communication type of the initial processing component is the distributed publish-subscribe communication, the information distribution service communication, and the message queue telemetry transmission communication;
the configuration module 33 is further configured to configure at least one proxy object corresponding to the server name in the initial processing component to obtain the processing component if the communication type of the initial processing component is the device information serialization communication.
Further, the air conditioner is provided with a fan,
the intermediate server 35 is further configured to match the information sending end parameter with an analysis object or a proxy object in the processing component, and determine a processing component where the matched target analysis object or the first target proxy object is located as a first target processing component;
the intermediate server 35 is further configured to receive the target information by using the target analysis object or the target proxy object, and analyze the target information to obtain an information receiving end parameter.
Further, the air conditioner is provided with a fan,
the intermediate server 35 is further configured to match the information receiving end parameter with an analysis object or a proxy object in the processing component, and determine a processing component where the matched target generation object or the second target proxy object is located as a second target processing component;
the intermediate server 35 is further configured to acquire the target information and the information receiving end parameter by the second target processing component;
the intermediate server 35 is further configured to generate forwarding information by the target generating object or the target proxy object according to the target information and the information receiving end parameter, and send the forwarding information to an information receiving end.
Further, the system further comprises: plug-in module 37
The plug-in module 37 is configured to, if communication between the information receiving end or the information sending end and the processing component server is interrupted, reconfigure a communication object of the processing component by using the plug-in, and reestablish communication;
the plug-in module 37 is further configured to, if the information receiving end parameter or the information sending end parameter does not match the communication type of the processing component, convert the target information into replacement information matching any communication type of the processing component by using the plug-in.
The invention provides an information communication system.A target information forwarding request sent by an information sending end is asynchronously received by the embodiment of the invention, and the target information forwarding request carries information sending end parameters and target information; determining a first target processing component from processing components of different communication types according to the information sending end parameters, and analyzing the target information by using the first target processing component to obtain at least one information receiving end parameter; the forwarding information is generated by utilizing at least one second target processing assembly determined based on the information receiving end parameters, and the forwarding information is asynchronously sent to the information receiving end by utilizing the second target processing assembly, so that the communication between the information receiving end and the information sending end is realized, the development of a corresponding communication protocol for a server of each communication type is avoided, the technical requirements on developers are reduced, meanwhile, the information transmission accuracy is ensured, the development workload is greatly reduced, and the development difficulty is reduced.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An information communication method, comprising:
asynchronously receiving a target information forwarding request sent by an information sending end, wherein the target information forwarding request carries information sending end parameters and target information;
determining a first target processing component from processing components of different communication types according to the information sending end parameters, and analyzing the target information by using the first target processing component to obtain at least one information receiving end parameter;
and generating forwarding information by using at least one second target processing component determined based on the parameters of the information receiving end, and asynchronously sending the forwarding information to the information receiving end by using the second target processing component so as to realize the communication between the information receiving end and the information sending end.
2. The method of claim 1, wherein before the target information forwarding request sent by the asynchronous information receiving sender, the method further comprises:
responding to a connection request of a target server, and acquiring a server name and communication parameters of the target server, wherein the target server is an information sending end and/or an information receiving end;
determining an initial processing component matched with the communication type of the target server according to the communication parameters;
and configuring a communication object in the initial processing assembly according to the server name to obtain a processing assembly.
3. The method of claim 2, wherein the communication type of the processing component comprises distributed publish-subscribe communication, information distribution service communication, message queue telemetry transport communication, device information serialization communication, wherein the communication object comprises a parsing object and a generating object, or a proxy object, and wherein configuring the processing component communication object in the initial processing component according to the server name to obtain the processing component comprises:
if the communication type of the initial processing assembly is the distributed publishing and subscribing communication, the information distribution service communication and the message queue telemetry transmission communication, configuring at least one analysis object and at least one generation object corresponding to the server name in the initial processing assembly to obtain a processing assembly;
and if the communication type of the initial processing assembly is the equipment information serialization communication, configuring at least one proxy object corresponding to the server name in the initial processing assembly to obtain the processing assembly.
4. The method of claim 1, wherein the determining a first target processing component from processing components of different communication types according to the information sending end parameter, and analyzing the target information by using the first target processing component to obtain an information receiving end parameter comprises:
matching the information sending terminal parameters with analysis objects or proxy objects in the processing assembly, and determining the processing assembly where the matched target analysis object or first target proxy object is located as a first target processing assembly;
and receiving the target information by using the target analysis object or the target agent object, and analyzing the target information to obtain information receiving end parameters.
5. The method of claim 1, wherein the generating forwarding information using at least one second target processing component determined based on the information receiving end parameters and asynchronously sending the forwarding information to an information receiving end using the second target processing component comprises:
matching the information receiving terminal parameters with an analysis object or a proxy object in a processing assembly, and determining the processing assembly where the matched target generation object or a second target proxy object is located as a second target processing assembly;
the second target processing component acquires the target information and the information receiving terminal parameters;
and the target generation object or the target agent object generates forwarding information according to the target information and the information receiving terminal parameters, and sends the forwarding information to an information receiving terminal.
6. The method of claim 1, further comprising:
monitoring a communication process through a plug-in connected between the information receiving end or the information sending end and a processing assembly server;
if the communication between the information receiving end or the information sending end and the processing assembly server is interrupted, reconfiguring a communication object of the processing assembly by using the plug-in and reestablishing the communication;
and if the information receiving end parameters or the information sending end parameters are not matched with the communication types of the processing assemblies, converting the target information into replacement information matched with any communication type of the processing assemblies by using the plug-in.
7. The method according to claims 1-6, wherein the target information comprises at least one of mutual information of mining equipment, mutual information of mine area unmanned equipment and mine mining safety intelligent identification information.
8. An information communication system, comprising: the system comprises an information sending end server, an intermediate server and an information receiving end server, wherein the forwarding server is respectively connected with the information sending end server and the information receiving end server;
the information sending terminal server is used for generating target information and sending a target information forwarding request to the intermediate server;
the intermediate server is used for asynchronously receiving a target information forwarding request sent by an information sending end server, wherein the target information forwarding request carries information sending end parameters and target information;
the intermediate server is further used for determining a first target processing component from processing components of different communication types according to the information sending terminal server parameter, and analyzing the target information by using the first target processing component to obtain at least one information receiving terminal parameter;
the intermediate server is further configured to generate forwarding information by using at least one second target processing component determined based on the information receiving end parameter, and asynchronously send the forwarding information to an information receiving end server by using the second target processing component, so as to implement communication between the information receiving end server and the information sending end server;
and the information receiving end server is used for receiving the forwarding information sent by the intermediate server and analyzing the forwarding information to obtain the information content of the target information.
9. The system of claim 8, further comprising: an acquisition module;
the acquisition module is used for responding to a connection request of a target server and acquiring a server name and communication parameters of the target server, wherein the target server is an information sending end and/or an information receiving end;
the matching module is used for determining an initial processing component matched with the communication type of the target server according to the communication parameters;
and the configuration module is used for configuring a communication object in the initial processing assembly according to the server name to obtain a processing assembly.
10. The system of claim 8, further comprising:
the plug-in module is connected between the information receiving end or the information sending end and the processing component server;
the plug-in module is used for reconfiguring a communication object of the processing assembly by using the plug-in and reestablishing communication if the communication between the information receiving end or the information sending end and the processing assembly server is interrupted;
the plug-in module is further configured to convert the target information into replacement information matched with any communication type of the processing component by using the plug-in if the information receiving end parameter or the information sending end parameter is not matched with the communication type of the processing component.
CN202210586477.7A 2022-05-27 2022-05-27 Information communication method and system Active CN115002207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210586477.7A CN115002207B (en) 2022-05-27 2022-05-27 Information communication method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210586477.7A CN115002207B (en) 2022-05-27 2022-05-27 Information communication method and system

Publications (2)

Publication Number Publication Date
CN115002207A true CN115002207A (en) 2022-09-02
CN115002207B CN115002207B (en) 2024-02-23

Family

ID=83029950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210586477.7A Active CN115002207B (en) 2022-05-27 2022-05-27 Information communication method and system

Country Status (1)

Country Link
CN (1) CN115002207B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848236A (en) * 2010-05-06 2010-09-29 北京邮电大学 Real-time data distribution system with distributed network architecture and working method thereof
CN102123158A (en) * 2011-04-11 2011-07-13 深圳市同洲软件有限公司 Method and system for realizing network data processing
CN105897860A (en) * 2016-03-28 2016-08-24 联想(北京)有限公司 Network device and information processing method
CN110365786A (en) * 2019-07-19 2019-10-22 中国工商银行股份有限公司 Job processing system, asynchronous operation dispatching method and computer equipment
CN110417760A (en) * 2019-07-16 2019-11-05 工业互联网创新中心(上海)有限公司 The mutual operation method and middleware of marginal layer in industry internet
WO2020192443A1 (en) * 2019-03-28 2020-10-01 比亚迪股份有限公司 Heterogeneous operating system-based message transmission system and method, and vehicle
CN111831269A (en) * 2020-07-21 2020-10-27 腾讯科技(深圳)有限公司 Application development system, operation method, equipment and storage medium
CN112492023A (en) * 2020-11-25 2021-03-12 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus
CN112585927A (en) * 2020-04-30 2021-03-30 深圳市大疆创新科技有限公司 Communication link detection method, device and system and movable platform
CN112615822A (en) * 2020-12-03 2021-04-06 北京皮尔布莱尼软件有限公司 Message processing method and device, computing equipment and readable storage medium
US20210194788A1 (en) * 2018-12-28 2021-06-24 Zte Corporation Message processing method and apparatus, control-plane device, and computer storage medium
CN113296742A (en) * 2021-05-17 2021-08-24 建信金融科技有限责任公司 APP data processing method and device and mobile terminal
CN114125049A (en) * 2021-11-17 2022-03-01 珠海优特电力科技股份有限公司 Telemetry message processing method, device, equipment and storage medium
CN114157726A (en) * 2021-11-27 2022-03-08 浙江中控技术股份有限公司 Industrial equipment interconnection method, system, electronic device and storage medium
CN114285877A (en) * 2021-12-22 2022-04-05 海南同享数字科技有限公司 Universal industrial equipment communication system and method
CN114327896A (en) * 2021-12-29 2022-04-12 广州太平洋电脑信息咨询有限公司 Micro-service-based activity calling method and platform

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848236A (en) * 2010-05-06 2010-09-29 北京邮电大学 Real-time data distribution system with distributed network architecture and working method thereof
CN102123158A (en) * 2011-04-11 2011-07-13 深圳市同洲软件有限公司 Method and system for realizing network data processing
CN105897860A (en) * 2016-03-28 2016-08-24 联想(北京)有限公司 Network device and information processing method
US20210194788A1 (en) * 2018-12-28 2021-06-24 Zte Corporation Message processing method and apparatus, control-plane device, and computer storage medium
WO2020192443A1 (en) * 2019-03-28 2020-10-01 比亚迪股份有限公司 Heterogeneous operating system-based message transmission system and method, and vehicle
CN110417760A (en) * 2019-07-16 2019-11-05 工业互联网创新中心(上海)有限公司 The mutual operation method and middleware of marginal layer in industry internet
CN110365786A (en) * 2019-07-19 2019-10-22 中国工商银行股份有限公司 Job processing system, asynchronous operation dispatching method and computer equipment
CN112585927A (en) * 2020-04-30 2021-03-30 深圳市大疆创新科技有限公司 Communication link detection method, device and system and movable platform
CN111831269A (en) * 2020-07-21 2020-10-27 腾讯科技(深圳)有限公司 Application development system, operation method, equipment and storage medium
CN112492023A (en) * 2020-11-25 2021-03-12 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus
CN112615822A (en) * 2020-12-03 2021-04-06 北京皮尔布莱尼软件有限公司 Message processing method and device, computing equipment and readable storage medium
CN113296742A (en) * 2021-05-17 2021-08-24 建信金融科技有限责任公司 APP data processing method and device and mobile terminal
CN114125049A (en) * 2021-11-17 2022-03-01 珠海优特电力科技股份有限公司 Telemetry message processing method, device, equipment and storage medium
CN114157726A (en) * 2021-11-27 2022-03-08 浙江中控技术股份有限公司 Industrial equipment interconnection method, system, electronic device and storage medium
CN114285877A (en) * 2021-12-22 2022-04-05 海南同享数字科技有限公司 Universal industrial equipment communication system and method
CN114327896A (en) * 2021-12-29 2022-04-12 广州太平洋电脑信息咨询有限公司 Micro-service-based activity calling method and platform

Also Published As

Publication number Publication date
CN115002207B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN112799789B (en) Node cluster management method, device, equipment and storage medium
CN101686145A (en) Equipment capable of upgrading, upgrading method and system
CN112039706A (en) Fault processing method, device, equipment and storage medium
CN102546839B (en) Efficient and reliable software distribution method for large scale network
CN112422684B (en) Target message processing method and device, storage medium and electronic device
CN112004245A (en) Robot control method, robot control device, storage medium, and electronic device
CN111435947A (en) Electronic message control
CN114153191A (en) Spacecraft control method, device and system
CN115002207B (en) Information communication method and system
CN116260503B (en) Multi-station control data transmission system and method based on antenna equipment
CN113138900A (en) Data acquisition processing method and device and electronic equipment
CN109639545B (en) Lightweight bus arrangement method of multi-satellite measurement and control platform system
CN111427710B (en) Communication method, device, equipment and storage medium of components in application program
CN112789572A (en) Control method and device for movable platform, movable platform and storage medium
CN115811778A (en) Service processing method, device, storage medium and equipment
CN106487694B (en) Data stream processing method and device
CN112800604B (en) Simulation method, device, equipment and storage medium applied to industrial detection
CN111385478B (en) Terminal remote control method and device, smart card, control terminal and medium
CN112559472B (en) File transmission method, device, computer equipment and storage medium
CN113079055B (en) AGV operation data dynamic acquisition method and device
CN113965571A (en) Management method, device, equipment and medium for distributed embedded equipment
CN116996495B (en) System and method for supporting automatic access to multiple types of single lamp controls
EP2237615B1 (en) Microwave link searching method and device
CN105610595B (en) Fault data acquisition system, remote equipment control system and corresponding method thereof
CN116582582B (en) Data acquisition method, system, equipment and medium for component type Internet of things

Legal Events

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