CN115002207B - Information communication method and system - Google Patents

Information communication method and system Download PDF

Info

Publication number
CN115002207B
CN115002207B CN202210586477.7A CN202210586477A CN115002207B CN 115002207 B CN115002207 B CN 115002207B CN 202210586477 A CN202210586477 A CN 202210586477A CN 115002207 B CN115002207 B CN 115002207B
Authority
CN
China
Prior art keywords
information
target
communication
processing component
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210586477.7A
Other languages
Chinese (zh)
Other versions
CN115002207A (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

Abstract

The invention discloses an information communication method and system, relates to the technical field of communication, and mainly aims to solve the problem of high difficulty in information communication development among 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 terminal parameters, and analyzing the target information by utilizing the first target processing component to obtain at least one information receiving terminal parameter; and generating forwarding information by utilizing 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 by utilizing 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 among servers of 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, the communication technology has a diversified development trend, and various communication technologies have been developed for different operating systems and different development languages. The diversity of communication technology improves the applicability of the communication technology, but the information communication between the systems of different communication technologies cannot be performed due to the difference of the communication technology means of the different systems. The prior technical means for solving the difficulty is to develop and agree on an information communication protocol between the communication systems so as to realize information communication between the systems of different communication technologies.
The existing method can realize information communication among systems of different communication technology types, but for comprehensive systems with a large number of subsystems and a complex communication relationship among the subsystems, for example, comprehensive mineral exploitation working face systems of various communication technology subsystems including an unmanned automatic system, a GIS system, an artificial intelligent platform system, an Internet of things system and the like, if development of communication protocols is carried out among each mineral exploitation subsystem and the subsystems, developers are required to grasp all communication technologies applied by the mineral exploitation subsystem and develop the communication technologies one by one, so that the development difficulty and the development workload of information communication among the subsystems are high.
Disclosure of Invention
In view of this, the invention provides an information communication method and system, which mainly aims to solve the problems of high development difficulty and high development workload of the existing systems with different communication types.
According to an aspect of the present invention, there is provided an information communication method including:
receiving a target information forwarding request sent by an information sending end asynchronously, 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 terminal parameters, and analyzing the target information by utilizing the first target processing component to obtain at least one information receiving terminal parameter;
and generating forwarding information by utilizing 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 by utilizing 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 receiving information sending end, the method further includes:
Responding to a connection request of a target server, 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 component according to the server name to obtain a processing component.
Further, the communication type of the processing component includes a distributed publish-subscribe communication, the information distribution service communication, the message queue telemetry transmission communication, and a device information serialization communication, the communication object includes a parsing object and a generating object, or a proxy object, the processing component communication object is configured in the initial processing component according to the server name, and a processing component is obtained, including:
if the communication type of the initial processing component 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 component to obtain a processing component;
And if the communication type of the initial processing component is the equipment information serialization communication, configuring at least one proxy object corresponding to the server name in the initial processing component to obtain a processing component.
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 end 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 a 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 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 end 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 a second target processing assembly;
the second target processing component acquires the target information and the information receiving end parameters;
and the target generating object or the target agent object generates forwarding information according to the target information and the information receiving end parameters, and sends the forwarding information to the information receiving end.
Further, the method further comprises:
monitoring a communication process through a plug-in unit connected between the information receiving end or the information sending end and a processing component server;
if the communication between the information receiving end or the information sending end and the processing component server is interrupted, the plug-in is utilized to reconfigure the communication object of the processing component and reestablish communication;
and if the information receiving end parameter or the information transmitting end parameter is not matched with the communication type of the processing component, converting the target information into replacement information matched with any communication type of the processing component by utilizing the plug-in.
Further, the target information at least comprises one of interaction information of mining equipment, interaction information of mining unmanned equipment and mining safety intelligent identification information.
According to another aspect of the present invention, there is provided an information communication system including:
the forwarding server is respectively connected with the information sending end server and the information receiving end server;
the information transmitting end server is used for generating target information and transmitting a target information forwarding request to the intermediate server;
the intermediate server is used for asynchronously receiving a target information forwarding request sent by the information sending end server, wherein the target information forwarding request carries information sending end parameters and target information;
the intermediate server is further configured to determine a first target processing component from processing components of different communication types according to the server parameters of the information sending end, and analyze the target information by using the first target processing component to obtain at least one information receiving end 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 the 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 is used for receiving the forwarding information sent by the intermediate server and analyzing the information content of the target information according to the forwarding 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 to acquire 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;
the configuration module is used for configuring the communication object in the initial processing component according to the server name to obtain the processing component.
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 component by using the plug-in if the communication between the information receiving end or the information sending end and the processing component server is interrupted, and reestablishing communication;
And the plug-in module is further configured to, if the information receiving end parameter or the information sending end parameter is not matched with the communication type of the processing component, convert the target information into replacement information matched with any communication type of the processing component by using the plug-in.
By means of the technical scheme, the technical scheme provided by the embodiment of the invention has at least the following advantages:
the invention provides an information communication method and system, and the embodiment of the invention asynchronously receives 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 terminal parameters, and analyzing the target information by utilizing the first target processing component to obtain at least one information receiving terminal parameter; and generating forwarding information by utilizing at least one second target processing component determined based on the information receiving end parameters, and asynchronously sending the forwarding information to the information receiving end by utilizing the second target processing component so as to realize the communication between the information receiving end and the information sending end, thereby avoiding developing a corresponding communication protocol aiming at each communication type server, reducing the technical requirements on developers, simultaneously guaranteeing the accuracy of information transmission, greatly reducing the development workload and reducing the development difficulty.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
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 designate like parts throughout the figures. In the drawings:
fig. 1 shows a flowchart of an information communication method provided by an embodiment of the present invention;
FIG. 2 is a flowchart of another information communication method according to an embodiment of the present invention;
FIG. 3 is a block diagram showing an information communication system according to an embodiment of the present invention;
fig. 4 shows a block diagram of 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 to 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.
For a comprehensive system with a plurality of subsystems and complex communication relations among the subsystems, for example, a comprehensive mineral exploitation working face system comprising a plurality of communication technology subsystems such as an unmanned automatic system, a GIS system, an AI intelligent platform system, an IOT (internet of things) system and the like, if a communication protocol is developed among each mineral exploitation subsystem and the subsystems, a developer is required to grasp all communication technologies applied to the mineral exploitation subsystem and develop the communication technologies one by one, so that the problems of great development difficulty and great development workload of information communication among the subsystems are caused. The embodiment of the invention provides an information communication method, as shown in fig. 1, comprising the following steps:
101. and forwarding the request by the target information sent by the asynchronous receiving information sending terminal.
In the embodiment of the invention, the information communication is information interaction between all subsystems in the fully-mechanized mining 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 system (GIS: geographic Information System or Geo-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 general RPC framework is used for realizing communication based on a serialization protocol; the internet of things system adopts MQTT (message queue telemetry transport) to realize communication based on a message protocol of a publish/subscribe paradigm; the unmanned automation system adopts FastDDS and realizes communication based on DDS standard; the GIS system and the artificial intelligence system adopt the kafka distributed type release and subscription message technology to realize communication. Because the artificial intelligent system needs to interact 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, the collected equipment data needs to be converted into object model serialization 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 automation system GIS system needs to interact with the ground system, so that information communication is needed among the subsystems of different communication types. The information content transmitted by kafka, fastDDS, MQTT is a character string, and the information content of the GRPC is a serialization object of the device information. In order to enable an information receiving end to receive target information sent by information sending ends of different communication types, a target information forwarding request is sent to an 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 can be used as an intermediate for information communication. Each subsystem can be both a transmitting end and a receiving end of the information.
It should be noted that, the target information forwarding request carries the target information and the communication type of the information sending end, so that the intermediate server can select the corresponding processing component to perform information forwarding processing according to the communication type of the information sending end and the target information, and obtain the information of the communication type of the corresponding information receiving end, thereby realizing the information communication among the 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 terminal parameters, and analyzing the target information by utilizing the first target processing component to obtain at least one information receiving terminal 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 transmitting end parameter is a communication type parameter used for representing the information transmitting 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 the processing components matched with the same communication type according to the communication type represented by the information sending end parameters serve as first target processing components. And then the first target processing component is utilized to analyze the information receiving end parameters carried in the target information. The information receiving end parameter is a parameter for characterizing 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 at least one parameter of the information receiving end.
103. And generating forwarding information by utilizing 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 by utilizing 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 invention, since the information receiving end parameters may be plural and the communication types represented by each information receiving end parameter may be different, at least one processing component for converting the target information, namely, 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 different formats of information sent by different communication technologies, and the different formats cannot be compatible for communication, if communication between subsystems of different communication technologies is required to be implemented, a developer is required to develop and agree on an information communication protocol for the subsystems of different communication types. The processing components with different communication types are configured in the intermediate server, and the target information content is received, analyzed, generated and forwarded based on the processing components with the same communication types as the information sending end and the information receiving end respectively, so that development of protocols with different communication technologies for each subsystem by developers can be avoided, and development difficulty and development workload are reduced. In addition, the intermediate server receives and forwards the information in an asynchronous mode, so that the simultaneous processing of a plurality of information forwarding requests can be realized, and the information forwarding efficiency is improved.
For further explanation and limitation, as shown in fig. 2, before the step 101 of asynchronously receiving the target information forwarding request sent by the information sending end, 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 component according to the server name to obtain a processing component.
In the embodiment of the invention, in order to enable the intermediate server to be matched with the corresponding initial processing component based on the parameters in the target information forwarding request in the communication process, when the connection with the target server is required to be established, the communication objects corresponding to the parameters of the information sending end and the parameters of the information receiving end are configured in the processing component in advance according to the names and the communication parameters of the target server. The target server is a server which needs to communicate information 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 the 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, matching the target server to the MQTT initial processing component according to a communication technology MQTT used by the internet of things system, and creating an internet of things system information generating object in the MQTT initial processing component: iotInputTopic; the system information analysis object of the Internet of things: IOTOutTopic.
In one embodiment of the present invention, for further explanation and limitation, step 203 configures a processing component communication object in the initial processing component according to the server name, to obtain a processing component, including:
and if the communication type of the initial processing component 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 component to obtain the processing component.
And if the communication type of the initial processing component is the equipment information serialization communication, configuring at least one proxy object corresponding to the server name in the initial processing component to obtain a processing component.
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 transport communication) and GRPC (device information serialization communication) communication types. Kafka, fastDDS, MQTT is a communication in the form of a topic, and the initial processing component includes a consumer, i.e., a parsing object, for receiving and parsing topic class information and a producer, i.e., a generating object, for generating forwarding information and transmitting the 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 parameters of an information sending end and the parameters of an information receiving end is obtained. For example, if the GIS system and the artificial intelligence system both send a connection request to the intermediate server, then an analytic object corresponding to the GIS system is created in the initial processing component of kafka: GISOutTopic, generate object: GISInParamTopic; creating a resolution object corresponding to the artificial intelligence system: AIOutTopic, generate an object: AIInParamTopic. The unmanned system sends a connection request to an intermediate server, and then an analysis object of the unmanned system is created in an initial processing component of the FastDDS: driverlessOutTopic, generate an object: driverlessintra. The Internet of things system sends a connection request to an intermediate server, and then an analytic object of the Internet of things system is created in an initial processing component of the MQTT: IOTOutTopic, generate object: iotInputTopic. The GRPC is a communication in the form of an object model, and an initial processing component of the GRPC comprises a proxy object for receiving, analyzing object model information, generating object model forwarding information and transmitting forwarding information so as to obtain a processing component containing a communication object matched with information transmitting 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, if 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 created in the GRPC initial processing component, respectively.
It should be noted that, by configuring the initial processing components of different communication types in the intermediate server, and configuring the corresponding communication objects in the initial processing components for the server expected to communicate, which is equivalent to setting a unique identification for matching the target information with the processing components, when the intermediate server receives the target information forwarding request, the processing components for processing the current target information can be accurately determined, the objects can be resolved, the objects can be generated, or the proxy objects can be generated, and the forwarding of the target information can be realized, so that the development workload can be reduced while the communication accuracy is ensured.
In an embodiment of the present invention, for further explanation and limitation, as shown in fig. 3, in step 102, 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, including:
and matching the information sending end 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 a 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 information receiving end parameters.
In the embodiment of the invention, when a target information forwarding request of an information sending end is received, a processing component for receiving target information, namely a first target processing component, is determined. And searching one analysis object or proxy object matched with the information sending end parameter from all analysis objects and proxy objects, namely, analyzing target information by using the matched analysis object or first target proxy object by using the target analysis object or target proxy object to obtain the information receiving end parameter and information content 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 by the artificial intelligence system to the GIS system, searching an AIOutTopic analysis object from the analysis object, receiving the target information by using the AIOutTopic analysis object, and analyzing an information receiving end parameter in the target information: GISInParamTopic. When the target information is object model information, for example, information sent by a ground system to a GIS system, an artificial intelligence system and an unmanned automatic driving system, a proxy object of the ground system is searched from the proxy objects, the target information is received by utilizing the proxy object of the ground system, and information receiving end parameters in the target information are analyzed: AIInParamTopic, GISInParamTopic, driverlessINTopic.
For further explanation and limitation, in step 103, 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, as shown in fig. 4, includes:
and matching the information receiving end parameters with the analysis object or the 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 a second target processing assembly.
And the second target processing component acquires the target information and the information receiving end parameters.
And the target generating object or the target agent object generates forwarding information according to the target information and the information receiving end parameters, and sends the forwarding information to the information receiving end.
In the embodiment of the invention, after the first target processing component analyzes the receiving end parameters of the target information, at least one generating object or proxy object which is matched with the information sending end parameters, namely, a target generating object or a second target proxy object is searched from all generating objects and proxy objects, and then the matched generating object or proxy object is utilized to convert the target information, so as to generate forwarding information. The information receiving side parameter is also determined based on the name of the information receiving side server, and may be the same as or corresponding to the name of the generating object or the proxy object. When the information receiving terminals are included, the information receiving terminal parameters are transmitted one by using the interval and the middle server according to the dividing information receiving terminal and according to the information receiving terminal parameters. When the information needs broadcasting, the information receiving end parameter is 'broadcast'; the intermediate server forwards the target information to all target servers at this time.
The information generation process between the systems of different communication types is slightly different, and the following description is respectively combined with an application example: 1) The communication types of the receiving end and the sending end of the target information are one or more of kafka, MQTT, fastDDS, and forwarding information is generated by replacing parameters (topics) of the information sending 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 parameter): AIOutTopic, message Key (information receiving side parameter): GISInParamTopic, messageValue: json string), the GISInParamTopic generation object is found from the generation objects in the kafka processing component according to GISInParamTopic, and in turn, the GISInParamTopic generation object generates forwarding information: topic: GISInParamTopic, message Key: AIOutTopic, message Value: json string. 2) The communication type of the receiving end of the target information is GRPC, the communication type of the sending end is one of kafka, MQTT, fastDDS, the GRPC agent object reversely initiates an information forwarding request, and the scheduling character string is forwarded (topics and information contents). For example: the artificial intelligence system sends a target information forwarding request: topic: AIOutTopic, message Key: "ground system", message Value: json string), then the ground system proxy object is found from the proxy objects in the GRPC processing component according to the ground system, and further, the ground system proxy object reversely initiates the information forwarding request, and the string is scheduled for forwarding. The ground system receives the information forwarding request to trigger call of a callback function, and the callback function analyzes the corresponding Json character string according to the topic. 3) The communication type of the receiving end of the target information is one or more of kafka, MQTT, fastDDS, the communication type of the sending end is GRPC, the target information forwarding request sent by the GRPC system comprises information sending end parameters, information receiving end parameters (information receiving end topics), object model serialization Json character strings comprise equipment IDs, data types, attribute IDs and current values, the information sending end parameters are replaced by the information receiving end topics, information keys are assigned to be 'object models', and forwarding information is generated. For example, the ground system sends a target information forwarding request: information transmitting end parameters: ground system, information receiving end parameters: AIInParamTopic, GISInParamTopic, driverlessINTopic, iotInputTopic, information content: the coal mining machine #1, the data type, the attribute ID and the current value, a driver INTEOPIC generating object is searched from generating objects in the FastDDS and the MQTT processing component according to the driver INTEOPIC, and forwarding information is generated by using the driver INTEOPIC generating object: toptic: driveless intrinsic and 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 GRPC, the corresponding target agent object is found according to the parameters of the information receiving end, the target agent object reversely initiates an information forwarding request, and the scheduling information is sent to the information receiving end.
In one embodiment of the present invention, for further explanation and limitation, the method further comprises:
and monitoring the communication process through a plug-in unit connected between the information receiving end or the information sending end and the processing component server.
And if the communication between the information receiving end or the information sending end and the processing component server is interrupted, the plug-in is utilized to reconfigure the communication object of the processing component and reestablish the communication.
And if the information receiving end parameter or the information transmitting end parameter is not matched with the communication type of the processing component, converting the target information into replacement information matched with any communication type of the processing component by utilizing the plug-in.
In the embodiment of the invention, development workload of an edge support system, a ground system, a data processing center and an 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, and is used as a secondary development suite, 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 the communication technology matched with the communication type of the processing component in the intermediate server, the plug-in can set topic names of sending and receiving parameters after determining the communication type, and internally establish an analysis object and a generation object group for converting target information sent by the information sending end into replacement information which can be accepted by the intermediate server so as to establish 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 plug-in internally creates kafka information transmitting end as follows: the AIInParamTopic, the information receiving end topic is AIOutTopic. The system schedules a sending function (set parameters: target system topic name set, result content json string) when sending information. The plug-in creates and generates an object AIInParamTopic sending information (MessageKey=target system, messageValue=json string), the analysis object monitors AIOutTopic, when the intermediate server sends AIOutTopic information, the monitoring information in the plug-in triggers an artificial intelligent system callback function, and the artificial intelligent system analyzes the Json string according to the received Topic. For the GRPC communication type server, the plug-in unit also comprises an object model function interface, and can provide Json and object model event callback functions to receive object model data and Json content. In addition, the plug-in also comprises an on-line detection function, and the heartbeat detection of the middleware system is initiated at fixed time to confirm whether the connection with the middleware server is disconnected. If the connection is broken, the connection will be initiated automatically.
The plug-in monitoring information receiving end or the communication state between the information sending end and the intermediate server can timely find out interruption of communication connection and reinitiate connection, so that stability of communication is guaranteed. In addition, by packaging the processing components with different communication types in the plug-in, a developer only needs to call the processing components in the plug-in when using the plug-in, and does not need to master the communication technology of all communication types, so that the development difficulty is effectively reduced.
In an embodiment of the present invention, for further explanation and limitation, the target information includes at least one of interaction information of mining equipment, interaction information of mining unmanned equipment, 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 working face is required to be identified based on an artificial intelligent system, and the mining safety intelligent identification information is sent to a ground system and a data processing center system; the interactive information of the mineral mining equipment of the accessed coal mining machine, pump station, bracket, conveyor, crusher, belt and other equipment is transmitted 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; it is also desirable to send the interaction information of the mine unmanned equipment to a ground system, a data processing center, etc. based on the unmanned system. The interactive information of the mining equipment at least comprises 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, control instructions for controlling the equipment, mining area operation information acquired by a camera and a control console, and control instructions for controlling the camera and the control console.
The invention provides an information communication method, in the embodiment of the invention, a target information forwarding request sent by an information sending end is received asynchronously, 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 terminal parameters, and analyzing the target information by utilizing the first target processing component to obtain at least one information receiving terminal parameter; and generating forwarding information by utilizing at least one second target processing component determined based on the information receiving end parameters, and asynchronously sending the forwarding information to the information receiving end by utilizing the second target processing component so as to realize the communication between the information receiving end and the information sending end, thereby avoiding developing a corresponding communication protocol aiming at each communication type server, reducing the technical requirements on developers, simultaneously guaranteeing the accuracy of information transmission, greatly reducing the development workload and reducing the development difficulty.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides an information communication system, as shown in fig. 3, where 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 respectively connected with the information sending end server and the information receiving end server;
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 the information sending end server, where the target information forwarding request carries an information sending end parameter 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 server parameters of the information sending end, 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 parse the forwarding information to obtain information content of the target information.
Further, an embodiment of the present invention provides another information communication system, as shown in fig. 4,
the system further comprises: an acquisition module 31, a matching module 32 and a configuration module 33;
the obtaining module 31 is configured to obtain a server name and a communication parameter of a target server in response to a connection request of the target server, where the target server is an information sending end and/or an information receiving end;
the matching module 32 is configured to determine an initial processing component that matches 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 method comprises the steps of,
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 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, so as to obtain a processing component;
The configuration module 33 is further configured to configure at least one proxy object corresponding to the server name in the initial processing component if the communication type of the initial processing component is the device information serialization communication, so as to obtain a processing component.
Further, the method comprises the steps of,
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 method comprises the steps of,
the intermediate server 35 is further configured to match the information receiving side 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 obtain the target information and the information receiving end parameter by using the second target processing component;
The intermediate server 35 is further configured to generate forwarding information according to the target information and the information receiving terminal parameters by using the target generating object or the target proxy object, and send the forwarding information to the information receiving terminal.
Further, the system further comprises: plug-in module 37
The plug-in module 37 is configured to reconfigure a communication object of the processing component by using the plug-in if communication between the information receiving end or the information transmitting end and the processing component server is interrupted, and reestablish communication;
the plug-in module 37 is further configured to, if the information receiving side parameter or the information sending side parameter does not match with a communication type of the processing component, convert the target information into replacement information matched with any communication type of the processing component by using the plug-in.
The invention provides an information communication system, in the embodiment of the invention, a target information forwarding request sent by an information sending end is received asynchronously, 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 terminal parameters, and analyzing the target information by utilizing the first target processing component to obtain at least one information receiving terminal parameter; and generating forwarding information by utilizing at least one second target processing component determined based on the information receiving end parameters, and asynchronously sending the forwarding information to the information receiving end by utilizing the second target processing component so as to realize the communication between the information receiving end and the information sending end, thereby avoiding developing a corresponding communication protocol aiming at each communication type server, reducing the technical requirements on developers, simultaneously guaranteeing the accuracy of information transmission, greatly reducing the development workload and reducing the development difficulty.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. An information communication method, comprising:
The method comprises the steps that a target information forwarding request sent by an information sending end is received asynchronously, wherein the target information forwarding request carries information sending end parameters and target information, and the target information at least comprises one of interaction information of mining equipment, interaction information of mining unmanned equipment and mining safety intelligent identification information;
determining a first target processing component from processing components of different communication types according to the information sending terminal parameters, and analyzing the target information by utilizing the first target processing component to obtain at least one information receiving terminal parameter;
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 by using the second target processing component so as to realize communication between the information receiving end and the information sending end;
before the target information forwarding request sent by the asynchronous receiving information sending end, the method further comprises the following steps:
responding to a connection request of a target server, 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 component according to the server name to obtain a processing component, wherein the communication object comprises an analysis object and a generation object or a proxy object.
2. The method of claim 1, wherein the communication types of the processing components include distributed publish-subscribe communication, the information distribution service communication, the message queue telemetry transport communication, and device information serialization communication, wherein the 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 component is the distributed publishing and subscribing communication, the information distributing 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 component is the equipment information serialization communication, configuring at least one proxy object corresponding to the server name in the initial processing component to obtain a processing component.
3. The method according to claim 1, wherein 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 end 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 a 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 information receiving end parameters.
4. The method of claim 1, wherein generating forwarding information with the at least one second target processing component determined based on the information receiver parameters and asynchronously transmitting the forwarding information to the information receiver with the second target processing component comprises:
matching the information receiving end 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 a second target processing assembly;
The second target processing component acquires the target information and the information receiving end parameters;
and the target generating object or the target agent object generates forwarding information according to the target information and the information receiving end parameters, and sends the forwarding information to the information receiving end.
5. The method according to claim 1, wherein the method further comprises:
monitoring a communication process through a plug-in unit connected between the information receiving end or the information sending end and a processing component server;
if the communication between the information receiving end or the information sending end and the processing component server is interrupted, the plug-in is utilized to reconfigure the communication object of the processing component and reestablish communication;
and if the information receiving end parameter or the information transmitting end parameter is not matched with the communication type of the processing component, converting the target information into replacement information matched with any communication type of the processing component by utilizing the plug-in.
6. An information communication system, comprising: the system comprises an information sending end server, an intermediate server and an information receiving end server, wherein the intermediate server is respectively connected with the information sending end server and the information receiving end server;
The information transmitting end server is used for generating target information and transmitting a target information forwarding request to the intermediate server, wherein the target information at least comprises one of interaction information of mining equipment, interaction information of mining unmanned equipment and mining safety intelligent identification information;
the intermediate server is used for asynchronously receiving a target information forwarding request sent by the information sending end server, wherein the target information forwarding request carries information sending end parameters and target information;
the intermediate server is further configured to determine a first target processing component from processing components of different communication types according to the server parameters of the information sending end, and analyze the target information by using the first target processing component to obtain at least one information receiving end 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 the 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;
Before the target information forwarding request sent by the asynchronous receiving information sending end, the method further comprises the following steps:
responding to a connection request of a target server, 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;
configuring a communication object in the initial processing component according to the server name to obtain a processing component, wherein the communication object comprises an analysis object and a generation object or a proxy object;
the information receiving end server is used for receiving the forwarding information sent by the intermediate server and analyzing the information content of the target information according to the forwarding information.
7. The system of claim 6, wherein 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 component by using the plug-in if the communication between the information receiving end or the information sending end and the processing component server is interrupted, and reestablishing communication;
And the plug-in module is further configured to, if the information receiving end parameter or the information sending end parameter is not matched with the communication type of the processing component, convert the target information into replacement information matched with any communication type of the processing component by using the plug-in.
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 CN115002207A (en) 2022-09-02
CN115002207B true 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 (15)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385173B (en) * 2018-12-28 2023-08-25 中兴通讯股份有限公司 Message processing method and device, control plane equipment and computer storage medium

Patent Citations (15)

* 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
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
CN115002207A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN112799789B (en) Node cluster management method, device, equipment and storage medium
CN111031034A (en) Multi-protocol convergence edge computing gateway
CN113630372A (en) Cloud edge coordination system for edge computing
CN101609414A (en) User's interface switch system and data transmission method thereof
CN101686145A (en) Equipment capable of upgrading, upgrading method and system
CN112671697B (en) Data processing method, device and system of comprehensive monitoring system
CN103577320A (en) Testing method and system of remote terminals
CN102546839B (en) Efficient and reliable software distribution method for large scale network
CN104410875A (en) System and method for realizing IPTV box end service zero configuration automatic opening
CN113067737B (en) Time-sensitive network configuration management system and method
CN102622550B (en) Safe online patch check system facing terminal computers
GB2580421A (en) Electronic message translation management
CN111435947A (en) Electronic message control
CN115002207B (en) Information communication method and system
CN109639545B (en) Lightweight bus arrangement method of multi-satellite measurement and control platform 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
CN106487694B (en) Data stream processing method and device
GB2580420A (en) Electronic message adaptation
CN111385478B (en) Terminal remote control method and device, smart card, control terminal and medium
CN111427710B (en) Communication method, device, equipment and storage medium of components in application program
CN112559472A (en) File transmission method and device, computer equipment and storage medium
CN105323088A (en) Springboard processing method and springboard processing device
CN115811778A (en) Service processing method, device, storage medium and equipment
CN109104308B (en) Route management method and upgrading system based on electric power terminal upgrading

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