CN107925652A - A kind of transport protocol fixed conversion method and device based on message protocol identification - Google Patents
A kind of transport protocol fixed conversion method and device based on message protocol identification Download PDFInfo
- Publication number
- CN107925652A CN107925652A CN201680001022.7A CN201680001022A CN107925652A CN 107925652 A CN107925652 A CN 107925652A CN 201680001022 A CN201680001022 A CN 201680001022A CN 107925652 A CN107925652 A CN 107925652A
- Authority
- CN
- China
- Prior art keywords
- protocol
- conversion
- applicable
- type identification
- converted
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Abstract
The disclosure discloses a kind of transport protocol fixed conversion method and device based on message protocol identification, it is suitable for inclusion in the controller of storage analysis module, controller is judging result first according to the conversion times of progress Unidirectional Transport protocol conversion communication between two communicators, the configuration transitional information during protocol conversion of current message to be converted is obtained, and sends the first agreement, the type identification of second protocol and configuration transitional information and is associated generation conversion map information to analysis module is stored;With when controller identification judges that conversion times are greater than or equal to particular value, obtain conversion map information, with according to the first agreement and/or the type identification of second protocol identified, configuration conversion is carried out to current message to be converted by associated configuration transitional information, when saving message subsequently repeatedly communicates, the tedious steps and time that the protocol conversion for identifying, inquire about, calling and carrying out forwards/reverse configures are needed every time, reduce the efficiency of message protocol conversion.
Description
This disclosure relates to Message Protocol switch technology field in the communication technology, in particular to a kind of transport protocol fixed conversion method and device based on message protocol identification.
In a communications device, the communication bus interface of communication integrated circuit is various, and the transport protocol between different communication interfaces is inconsistent, for identical communication interface, can also have identical standard communication protocol or customized transport protocol.And Internet of Things of particular concern be in the initial development stage at present, the equal disunity of network protocol used in the product that many network equipment manufacturers produce, often occur network protocol it is incompatible cause between equipment can not normal communication the problem of.Therefore, in data communication system, there is a large amount of data message to be converted, it is generally bi-directional to the conversion of data message in data communication process, the data message in i.e. one direction is converted according to specific transitional information, and the data message of opposite direction also carries out the conversion of reduction mode according to the specific transitional information, and the bi-directional conversion task of data message is completed with this, reaches the data normal communication between interface or between equipment.
In data message conversion process, transitional information can be the mapping relations of some protocol attributes of conversion front and back.Therefore, the transitional information of each different data message is stored and recorded, transitional information identification, inquiry when with the forward conversion of the data message for subsequent same characteristic features are called and inquiry, calling and the reduction conversion configurations of the transitional information of forward conversion configuration and opposite direction data message.For the first time after different message communications, inquiry, calling and the forwards/reverse conversion configurations of progress transitional information are required every time, if certain messages are subsequent repeatedly when being communicated, then every time or add up to get off can all expend many times be used to call and carry out forwards/reverse protocol conversion configuration, to reduce the efficiency of message protocol conversion, the working efficiency of message data communication is thereby reduced.
Summary of the invention
In order to solve the problems, such as that message data present in the relevant technologies repeatedly communicates existing message protocol transfer efficiency and message data communication work low efficiency, present disclose provides a kind of transport protocol fixed conversion method and devices based on message protocol identification.
In a first aspect, the embodiment of the present disclosure provides a kind of transport protocol fixed conversion based on message protocol identification
Method, is suitable for inclusion in the controller of storage analysis module, and the controller communicates for realizing the transport protocol conversion between two communication devices, which comprises
The controller records the mark of two communication devices, and records the conversion times that Unidirectional Transport protocol conversion communication is carried out between described two communication devices;
The controller judges whether the conversion times are less than preset particular value;
The controller is less than the first judging result of the particular value according to the conversion times, the type identification for the first agreement being currently applicable in is obtained from the communication device for sending message to be converted, and the type identification and standard of the applicable second protocol of another communication device are obtained according to the mark of opposite another communication device;
The controller carries out configuration conversion to current message to be converted according to the standard of the second protocol, and the message after making conversion is applicable in the second protocol;
The controller judges whether the conversion times are for the first time;
The controller is according to the second judging result that the conversion times are for the first time, it obtains current message to be converted to complete from applicable first agreement to configuration transitional information when applicable second protocol conversion, and sends the type identification of first agreement, the type identification of the second protocol and the configuration transitional information to the storage analysis module;The particular value is greater than 1;
The storage analysis module obtains, is associated with the type identification of first agreement, the type identification of the second protocol and the configuration transitional information that the controller is sent, generates conversion map information and is stored;
The controller judges that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, configuration conversion is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
With reference to first aspect, in the first possible implementation, the message to be converted includes the first header and the first message data, and the type identification of first agreement is stored in first header, and the configuration transitional information is header packaging information;The controller judges that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, configuration conversion is carried out to current message to be converted by the associated configuration transitional information, realize currently to
Applicable first protocol conversion of the message of conversion converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then completes the fixed conversion communication of the transport protocol between two communication devices, comprising:
The controller judges that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, the replacement of first header is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
The possible implementation of with reference to first aspect the first, in the second possible implementation, the controller carries out configuration conversion to current message to be converted according to the standard of the second protocol, and the message after making conversion is applicable in the second protocol, comprising:
The controller generates the second header according to the standard of the second protocol, carries out configuration to first header of current message to be converted and is converted into second header, the message after making conversion is applicable in the second protocol.
The possible implementation of second with reference to first aspect, in the third possible implementation, the storage analysis module obtains, is associated with the type identification of first agreement, the type identification of the second protocol and the configuration transitional information that the controller is sent, conversion map information is generated to be stored, comprising:
The storage analysis module obtains, is associated with the mark for described two communication devices that the controller is sent, and the type identification of first agreement, the type identification of the second protocol and the configuration transitional information generate conversion map information and stored;
The method also includes:
The controller judges that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to any or two communication devices the mark identified, the replacement of first header is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
The third possible implementation with reference to first aspect, in the fourth possible implementation, first agreement are transmission control protocol/Internet Protocol.
The 4th kind of possible implementation with reference to first aspect, in a fifth possible implementation, the second protocol are IPX SPX agreement.
Second aspect, the disclosure provide a kind of transport protocol fixed conversion device based on message protocol identification, including controller, and the controller includes: for realizing the transport protocol conversion communication between two communication devices, the controller
Processor for recording the mark of two communication devices, and records the conversion times that Unidirectional Transport protocol conversion communication is carried out between described two communication devices;
Judgment module, for judging whether the conversion times are less than preset particular value;
Identification obtains module, for being less than the first judging result of the particular value according to the conversion times, the type identification for the first agreement being currently applicable in is obtained from the communication device for sending message to be converted, and the type identification and standard of the applicable second protocol of another communication device are obtained according to the mark of opposite another communication device;
Conversion module is configured, for carrying out configuration conversion to current message to be converted according to the standard of the second protocol, the message after making conversion is applicable in the second protocol;
The judgment module is also used to judge whether the conversion times are for the first time;
The identification obtains module, it is also used to be the second judging result for the first time according to the conversion times, it obtains current message to be converted to complete from applicable first agreement to configuration transitional information when applicable second protocol conversion, and sends the type identification of first agreement, the type identification of the second protocol and the configuration transitional information to the storage analysis module;The particular value is greater than 1;
Analysis module is stored, the type identification of first agreement, the type identification of the second protocol and the configuration transitional information sent for obtaining, being associated with the controller generates conversion map information and stored;
The processor, it is also used to judge that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, configuration conversion is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
In conjunction with second aspect, in the first possible implementation, the message to be converted includes the first header and the first message data, and the type identification of first agreement is stored in first header, described
Configuration transitional information is header packaging information;
The processor, it is also used to judge that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, the replacement of first header is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
In conjunction with the first possible implementation of second aspect, in the second possible implementation, the configuration conversion module, it is also used to generate the second header according to the standard of the second protocol, configuration is carried out to first header of current message to be converted and is converted into second header, the message after making conversion is applicable in the second protocol.
In conjunction with second of possible implementation of second aspect, in the third possible implementation, the storage analysis module, it is also used to obtain, be associated with the mark for described two communication devices that the controller is sent, the type identification of first agreement, the type identification of the second protocol and the configuration transitional information generate conversion map information and are stored;
The processor, it is also used to judge that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to any or two communication devices the mark identified, the replacement of first header is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
In conjunction with the third possible implementation of second aspect, in the fourth possible implementation, first agreement is transmission control protocol/Internet Protocol.
In conjunction with the 4th kind of possible implementation of second aspect, in a fifth possible implementation, the second protocol is IPX SPX agreement.
The third aspect, the present embodiment also provide a kind of transport protocol fixed conversion device based on message protocol identification, and described device includes:
Processor, for realizing the transport protocol conversion communication between two communication devices;
Memory for storage processor executable instruction;
Wherein, the processor is configured:
The mark of two communication devices is recorded, and records the conversion times for carrying out Unidirectional Transport protocol conversion communication between described two communication devices;
Judge whether the conversion times are less than preset particular value;
It is less than the first judging result of the particular value according to the conversion times, the type identification for the first agreement being currently applicable in is obtained from the communication device for sending message to be converted, and the type identification and standard of the applicable second protocol of another communication device are obtained according to the mark of opposite another communication device;
Configuration conversion is carried out to current message to be converted according to the standard of the second protocol, the message after making conversion is applicable in the second protocol;
Judge whether the conversion times are for the first time;
It is the second judging result for the first time according to the conversion times, it obtains current message to be converted to complete from applicable first agreement to configuration transitional information when applicable second protocol conversion, and sends the type identification of first agreement, the type identification of the second protocol and the configuration transitional information to the storage analysis module;The particular value is greater than 1;
It obtains, the type identification and the configuration transitional information of the type identification that is associated with first agreement, the second protocol, generates conversion map information and stored;
Judge that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information, according to the type identification of first agreement identified and/or the type identification of the second protocol, configuration conversion is carried out to current message to be converted by the associated configuration transitional information, it realizes that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then completes the fixed conversion communication of the transport protocol between two communication devices.
The technical scheme provided by this disclosed embodiment can include the following benefits:
A kind of transport protocol fixed conversion method and device based on message protocol identification that embodiment of the disclosure provides, it is suitable for inclusion in the controller of storage analysis module, the controller communicates for realizing the transport protocol conversion between two communication devices, the controller records and judges the conversion times for carrying out Unidirectional Transport protocol conversion communication between communication device, the controller is according to the judging result that the conversion times are for the first time, current message to be converted is obtained to complete from applicable first agreement to configuration transitional information when applicable second protocol conversion, and send the type identification of first agreement, the type identification of the second protocol and the configuration transitional information to the storage analysis module are associated, conversion map information is generated to be stored;To judge that the conversion times are greater than or equal to the particular value according to identification in the controller
Judging result, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, configuration conversion is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices, it is subsequent repeatedly when being communicated certain messages have been saved, it needs to identify every time, inquiry, call and carry out the time of the protocol conversion configuration of forwards/reverse, to reduce the efficiency of message protocol conversion, thereby reduce the working efficiency of message data communication.
It should be understood that the above general description and the following detailed description are merely exemplary, do not limit the disclosure.
The drawings herein are incorporated into the specification and forms part of this specification, and illustrates embodiments consistent with the invention, and in specification together principle for explaining the present invention.
Fig. 1 is the schematic diagram of the implementation environment according to involved in the disclosure;
Fig. 2 is a kind of flow chart of transport protocol fixed conversion method based on message protocol identification shown according to an exemplary embodiment;
Fig. 3 is a kind of block diagram of transport protocol fixed conversion device based on message protocol identification shown according to an exemplary embodiment.
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.In the following description when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Embodiment described in following exemplary embodiment does not represent all embodiments consistented with the present invention.On the contrary, they are only the examples of consistent with some aspects of the invention as detailed in the appended claims device and method.
Fig. 1 is the schematic diagram of the implementation environment according to involved in the disclosure.The implementation environment includes: controller 110 and at least one communication device 120, and controller 110 includes storage analysis module 111.
Interrelational form between controller 110 and communication device 120, network associate mode and/or agreement including hardware, and the data correlation mode come and gone therebetween.
Fig. 2 is referred to, Fig. 2 is a kind of biography based on message protocol identification shown according to an exemplary embodiment
The flow chart of defeated agreement fixed conversion method.As shown in Figure 2, transport protocol fixed conversion method provided in this embodiment based on message protocol identification, it is suitable for inclusion in the controller 110 of storage analysis module 111, controller 110 communicates for realizing the transport protocol conversion between two communication devices 120, this method comprises:
201, controller records the conversion times that Unidirectional Transport protocol conversion communication is carried out between the mark of two communication devices, and two communication devices of record;
202, judge whether conversion times are less than preset particular value;If conversion times are less than particular value, following step 203 is executed, if conversion times are more than or equal to particular value, executes following step 208;
203, controller obtains the type identification for the first agreement being currently applicable in from the communication device for sending message to be converted, and the type identification and standard of the applicable second protocol of another communication device are obtained according to the mark of opposite another communication device;
204, controller carries out configuration conversion to current message to be converted according to the standard of second protocol, and the message after making conversion is applicable in second protocol;
205, controller judges whether conversion times are for the first time;
206, controller obtains current message to be converted and completes configuration transitional information when converting from the first applicable agreement to applicable second protocol, and sends the type identification of the first agreement, the type identification of second protocol and configuration transitional information to storing analysis module;Particular value is greater than 1;
207, the type identification of the first agreement, the type identification of second protocol and the configuration transitional information that storage analysis module obtains, association controller is sent, generate conversion map information and are stored;
208, controller judges that conversion times are greater than or equal to the third judging result of particular value according to identification, obtain the conversion map information in storage analysis module, according to the type identification of the first agreement identified and/or the type identification of second protocol, configuration conversion is carried out to current message to be converted by associated configuration transitional information, it realizes that the first applicable protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between applicable second protocol, and then completes the fixed conversion communication of the transport protocol between two communication devices.
A kind of transport protocol fixed conversion method based on message protocol identification that embodiment of the disclosure provides, it is suitable for inclusion in the controller 110 of storage analysis module 111, controller 110 communicates for realizing the transport protocol conversion between two communication devices 120, controller 110 records and judges the conversion times for carrying out Unidirectional Transport protocol conversion communication between communication device 120, controller 110 is according to the judging result that conversion times are for the first time, current message to be converted is obtained to complete from the first applicable agreement to configuration transitional information when applicable second protocol conversion, and send the type identification of the first agreement, the type identification and configuration transitional information of second protocol to storage analysis module 111 are associated, conversion map information is generated to be stored;In controller 110
Judge that conversion times are greater than or equal to the judging result of particular value according to identification, obtain the conversion map information in storage analysis module 111, according to the type identification of the first agreement identified and/or the type identification of second protocol, configuration conversion is carried out to current message to be converted by associated configuration transitional information, realize that the first applicable protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices 120, it is subsequent repeatedly when being communicated certain messages have been saved, it needs to identify every time, inquiry, call and carry out the time of the protocol conversion configuration of forwards/reverse, to reduce the efficiency of message protocol conversion, thereby reduce the working efficiency of message data communication.
Preferably, as an alternative embodiment, message to be converted includes the first header and the first message data, the type identification of the first agreement is stored in the first header, and configuration transitional information is header packaging information;Based on above-mentioned method shown in Fig. 2, step 208 wherein, i.e. controller 110 judges that conversion times are greater than or equal to the third judging result of particular value according to identification, obtain the conversion map information in storage analysis module 111, according to the type identification of the first agreement identified and/or the type identification of second protocol, configuration conversion is carried out to current message to be converted by associated configuration transitional information, realize that the first applicable protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices 120, specifically include following implemented method:
Controller 110 judges that conversion times are greater than or equal to the third judging result of particular value according to identification, obtain the conversion map information in storage analysis module 111, according to the type identification of the first agreement identified and/or the type identification of second protocol, the replacement of the first header is carried out to current message to be converted by associated configuration transitional information, it realizes that the first applicable protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between applicable second protocol, and then completes the fixed conversion communication of the transport protocol between two communication devices 120.
Preferably, as an alternative embodiment, being based on above-mentioned method shown in Fig. 2, step 204 wherein, i.e. controller 110 carries out configuration conversion to current message to be converted according to the standard of second protocol, and it specifically includes following implementations that the message after making conversion, which is applicable in second protocol:
Controller 110 generates the second header according to the standard of second protocol, carries out configuration to the first header of current message to be converted and is converted into the second header, the message after making conversion is applicable in second protocol.
Preferably, as an alternative embodiment, be based on above-mentioned method shown in Fig. 2, wherein step 207, i.e., storage analysis module 111 obtain, association controller 110 send the first agreement type identification,
The type identification and configuration transitional information of second protocol, generate conversion map information and are stored, specifically include following implementations:
The mark for two communication devices 120 that analysis module 111 obtains, association controller 110 is sent is stored, the type identification of the first agreement, the type identification of second protocol and configuration transitional information generate conversion map information and stored;
In this preferred embodiment, this method further include:
Controller 110 judges that conversion times are greater than or equal to the third judging result of particular value according to identification, obtain the conversion map information in storage analysis module 111, according to any or two communication devices 120 the mark identified, the replacement of the first header is carried out to current message to be converted by associated configuration transitional information, it realizes that the first applicable protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between applicable second protocol, and then completes the fixed conversion communication of the transport protocol between two communication devices 120.
As an alternative embodiment, the first agreement is Transmission Control Protocol perhaps IP agreement (i.e. transmission control protocol/Internet Protocol Transmission Control Protocol agreement or Internet Protocol agreement).
As an alternative embodiment, second protocol is IPX (internet packet-switching, Internet work Packet Exchange) or SPX agreement (sequence packet switching protocol, Sequenced Packet Exchange).
Second aspect, refers to Fig. 3, and Fig. 3 is a kind of block diagram of transport protocol fixed conversion device based on message protocol identification shown according to an exemplary embodiment.As shown in Figure 3, the embodiment of the present disclosure provides a kind of transport protocol fixed conversion device 310 based on message protocol identification, including controller 110, controller 110 communicates for realizing the transport protocol conversion between at least two communication devices 120 as shown in Figure 1, controller 110 includes processor 101, judgment module 102, identification obtains module 103, configure conversion module 104 and storage analysis module 111, wherein processor 101 and judgment module 102 connect, judgment module 102 and identification obtain module 103 and connect, it configures conversion module 104 and identification obtains module 103 and connects, identification obtains module 103 and also connects with storage analysis module 111, processor 101 is also connected with storage analysis module 111.Specifically, the processor 101 of the device, judgment module 102, identification obtain module 103, configuration conversion module 104 and store analysis module 111 effect and working principle described respectively as follows:
Processor 101, for recording the conversion times for carrying out Unidirectional Transport protocol conversion communication between the mark of two communication devices 120, and two communication devices 120 of record;
Judgment module 102, for judging whether conversion times are less than preset particular value;
Identification obtains module 103, for being less than the first judging result of particular value according to conversion times, the type identification for the first agreement being currently applicable in is obtained from the communication device 120 for sending message to be converted, and the type identification and standard of the applicable second protocol of another communication device 120 are obtained according to the mark of opposite another communication device 120;
Conversion module 104 is configured, for carrying out configuration conversion to current message to be converted according to the standard of second protocol, the message after making conversion is applicable in second protocol;
Judgment module 102 is also used to judge whether conversion times are for the first time;
Identification obtains module 103, it is also used to be the second judging result for the first time according to conversion times, it obtains current message to be converted to complete from the first applicable agreement to configuration transitional information when applicable second protocol conversion, and sends the type identification of the first agreement, the type identification of second protocol and configuration transitional information to storage analysis module 111;Particular value is greater than 1;
Analysis module 111 is stored, the identification for obtaining, being associated with controller 110 obtains the type identification of the first agreement, the type identification of second protocol and the configuration transitional information that module 103 is sent, and generates conversion map information and is stored;
Processor 101, it is also used to judge that conversion times are greater than or equal to the third judging result of particular value according to identification, obtain the conversion map information in storage analysis module 111, according to the type identification of the first agreement identified and/or the type identification of second protocol, configuration conversion is carried out to current message to be converted by associated configuration transitional information, realize that the first applicable protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices 120.
As an alternative embodiment, message to be converted includes the first header and the first message data, the type identification of the first agreement is stored in the first header, and configuration transitional information is header packaging information;Then processor 101 in the present embodiment, it is also used to judge that conversion times are greater than or equal to the third judging result of particular value according to identification, obtain the conversion map information in storage analysis module 111, according to the type identification of the first agreement identified and/or the type identification of second protocol, the replacement of the first header is carried out to current message to be converted by associated configuration transitional information, realize that the first applicable protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices 120.
As an alternative embodiment, configuration conversion module 104, is also used to the standard according to second protocol
The second header is generated, configuration is carried out to the first header of current message to be converted and is converted into the second header, the message after making conversion is applicable in second protocol.
As a kind of optional embodiment, store analysis module 111, it is also used to obtain, the mark for two communication devices 120 that association controller 110 is sent, the type identification of the first agreement, the type identification of second protocol and configuration transitional information generate conversion map information and stored;Processor 101, it is also used to judge that conversion times are greater than or equal to the third judging result of particular value according to identification, obtain the conversion map information in storage analysis module 111, according to any or two communication devices 120 the mark identified, the replacement of the first header is carried out to current message to be converted by associated configuration transitional information, it realizes that the first applicable protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between applicable second protocol, and then completes the fixed conversion communication of the transport protocol between two communication devices 120.
As an alternative embodiment, the first agreement is Transmission Control Protocol or IP agreement.
As an alternative embodiment, second protocol is IPX SPX agreement.
The third aspect, the present embodiment also provide a kind of transport protocol fixed conversion device based on message protocol identification, which can be used in the controller 110 of implementation environment shown in Fig. 1, execute all or part of step of method shown in Fig. 2.The device includes:
Processor, for realizing the transport protocol conversion communication between two communication devices 120;
Memory for storage processor executable instruction;
Wherein, processor is configured:
Record the conversion times that Unidirectional Transport protocol conversion communication is carried out between the mark of two communication devices 120, and two communication devices 120 of record;
Judge whether conversion times are less than preset particular value;
It is less than the first judging result of particular value according to conversion times, the type identification for the first agreement being currently applicable in is obtained from the communication device 120 for sending message to be converted, and the type identification and standard of the applicable second protocol of another communication device 120 are obtained according to the mark of opposite another communication device 120;
Configuration conversion is carried out to current message to be converted according to the standard of second protocol, the message after making conversion is applicable in second protocol;
Judge whether conversion times are for the first time;
It is the second judging result for the first time according to conversion times, it obtains current message to be converted to complete from the first applicable agreement to configuration transitional information when applicable second protocol conversion, and sends the type identification of the first agreement, the type identification of second protocol and configuration transitional information to storage analysis module 111;Particular value is greater than 1;
It obtains, the type identification of the type identification of the first agreement of association, second protocol and configuration transitional information, generation conversion map information are stored;
Judge that conversion times are greater than or equal to the third judging result of particular value according to identification, obtain conversion map information, according to the type identification of the first agreement identified and/or the type identification of second protocol, configuration conversion is carried out to current message to be converted by associated configuration transitional information, it realizes that the first applicable protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between applicable second protocol, and then completes the fixed conversion communication of the transport protocol between two communication devices 120.
The concrete mode that the processor of device in the embodiment executes operation performs detailed description in the embodiment in relation to the transport protocol fixed conversion method identified based on message protocol, and no detailed explanation will be given here.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.
Claims (13)
- A kind of transport protocol fixed conversion method based on message protocol identification, which is characterized in that be suitable for inclusion in the controller of storage analysis module, the controller communicates for realizing the transport protocol conversion between two communication devices, which comprisesThe controller records the mark of two communication devices, and records the conversion times that Unidirectional Transport protocol conversion communication is carried out between described two communication devices;The controller judges whether the conversion times are less than preset particular value;The controller is less than the first judging result of the particular value according to the conversion times, the type identification for the first agreement being currently applicable in is obtained from the communication device for sending message to be converted, and the type identification and standard of the applicable second protocol of another communication device are obtained according to the mark of opposite another communication device;The controller carries out configuration conversion to current message to be converted according to the standard of the second protocol, and the message after making conversion is applicable in the second protocol;The controller judges whether the conversion times are for the first time;The controller is according to the second judging result that the conversion times are for the first time, it obtains current message to be converted to complete from applicable first agreement to configuration transitional information when applicable second protocol conversion, and sends the type identification of first agreement, the type identification of the second protocol and the configuration transitional information to the storage analysis module;The particular value is greater than 1;The storage analysis module obtains, is associated with the type identification of first agreement, the type identification of the second protocol and the configuration transitional information that the controller is sent, generates conversion map information and is stored;The controller judges that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, configuration conversion is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
- The method as described in claim 1, which is characterized in that the message to be converted includes the first header and the first message data, and the type identification of first agreement is stored in first header, and the configuration transitional information is header packaging information;The controller according to identification judge the conversion times be greater than or Equal to the third judging result of the particular value, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, configuration conversion is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices, comprising:The controller judges that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, the replacement of first header is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
- Method according to claim 2, which is characterized in that the controller carries out configuration conversion to current message to be converted according to the standard of the second protocol, and the message after making conversion is applicable in the second protocol, comprising:The controller generates the second header according to the standard of the second protocol, carries out configuration to first header of current message to be converted and is converted into second header, the message after making conversion is applicable in the second protocol.
- Method as claimed in claim 3, it is characterized in that, the storage analysis module obtains, is associated with the type identification of first agreement, the type identification of the second protocol and the configuration transitional information that the controller is sent, generates conversion map information and is stored, comprising:The storage analysis module obtains, is associated with the mark for described two communication devices that the controller is sent, and the type identification of first agreement, the type identification of the second protocol and the configuration transitional information generate conversion map information and stored;The method also includes:The controller judges that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to any or two communication devices the mark identified, the replacement of first header is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
- Method as claimed in claim 4, which is characterized in that first agreement is transmission control protocol/Internet Protocol.
- Method as claimed in claim 5, which is characterized in that the second protocol is internet data packet switching protocol or sequence packet switching protocol.
- A kind of transport protocol fixed conversion device based on message protocol identification, which is characterized in that including controller, the controller includes: for realizing the transport protocol conversion communication between two communication devices, the controllerProcessor for recording the mark of two communication devices, and records the conversion times that Unidirectional Transport protocol conversion communication is carried out between described two communication devices;Judgment module, for judging whether the conversion times are less than preset particular value;Identification obtains module, for being less than the first judging result of the particular value according to the conversion times, the type identification for the first agreement being currently applicable in is obtained from the communication device for sending message to be converted, and the type identification and standard of the applicable second protocol of another communication device are obtained according to the mark of opposite another communication device;Conversion module is configured, for carrying out configuration conversion to current message to be converted according to the standard of the second protocol, the message after making conversion is applicable in the second protocol;The judgment module is also used to judge whether the conversion times are for the first time;The identification obtains module, it is also used to be the second judging result for the first time according to the conversion times, it obtains current message to be converted to complete from applicable first agreement to configuration transitional information when applicable second protocol conversion, and sends the type identification of first agreement, the type identification of the second protocol and the configuration transitional information to the storage analysis module;The particular value is greater than 1;Analysis module is stored, the type identification of first agreement, the type identification of the second protocol and the configuration transitional information sent for obtaining, being associated with the controller generates conversion map information and stored;The processor, it is also used to judge that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, configuration conversion is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
- Device as claimed in claim 7, which is characterized in that the message to be converted includes the first header and the first message data, and the type identification of first agreement is stored in first header, and the configuration transitional information is header packaging information;The processor, it is also used to judge that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to the type identification of first agreement identified and/or the type identification of the second protocol, the replacement of first header is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
- Device as claimed in claim 8, which is characterized in thatThe configuration conversion module is also used to generate the second header according to the standard of the second protocol, carries out configuration to first header of current message to be converted and is converted into second header, the message after making conversion is applicable in the second protocol.
- Device as claimed in claim 9, it is characterized in that, the storage analysis module, it is also used to obtain, be associated with the mark for described two communication devices that the controller is sent, the type identification of first agreement, the type identification of the second protocol and the configuration transitional information generate conversion map information and are stored;The processor, it is also used to judge that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information in the storage analysis module, according to any or two communication devices the mark identified, the replacement of first header is carried out to current message to be converted by the associated configuration transitional information, realize that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then complete the fixed conversion communication of the transport protocol between two communication devices.
- Device as claimed in claim 10, which is characterized in that first agreement is transmission control protocol/Internet Protocol.
- Device as claimed in claim 11, which is characterized in that the second protocol is internet data packet switching protocol or sequence packet switching protocol.
- A kind of transport protocol fixed conversion device based on message protocol identification, which is characterized in that described device includes:Processor, for realizing the transport protocol conversion communication between two communication devices;Memory for storage processor executable instruction;Wherein, the processor is configured:The mark of two communication devices is recorded, and records the conversion times for carrying out Unidirectional Transport protocol conversion communication between described two communication devices;Judge whether the conversion times are less than preset particular value;It is less than the first judging result of the particular value according to the conversion times, the type identification for the first agreement being currently applicable in is obtained from the communication device for sending message to be converted, and the type identification and standard of the applicable second protocol of another communication device are obtained according to the mark of opposite another communication device;Configuration conversion is carried out to current message to be converted according to the standard of the second protocol, the message after making conversion is applicable in the second protocol;Judge whether the conversion times are for the first time;It is the second judging result for the first time according to the conversion times, it obtains current message to be converted to complete from applicable first agreement to configuration transitional information when applicable second protocol conversion, and sends the type identification of first agreement, the type identification of the second protocol and the configuration transitional information to the storage analysis module;The particular value is greater than 1;It obtains, the type identification and the configuration transitional information of the type identification that is associated with first agreement, the second protocol, generates conversion map information and stored;Judge that the conversion times are greater than or equal to the third judging result of the particular value according to identification, obtain the conversion map information, according to the type identification of first agreement identified and/or the type identification of the second protocol, configuration conversion is carried out to current message to be converted by the associated configuration transitional information, it realizes that applicable first protocol conversion of current message to be converted converts communication at the Unidirectional Transport protocol between the applicable second protocol, and then completes the fixed conversion communication of the transport protocol between two communication devices.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/092260 WO2018018607A1 (en) | 2016-07-29 | 2016-07-29 | Method and device for fixed conversion of transmission protocol based on message protocol identification |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107925652A true CN107925652A (en) | 2018-04-17 |
CN107925652B CN107925652B (en) | 2021-01-12 |
Family
ID=61015493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201680001022.7A Expired - Fee Related CN107925652B (en) | 2016-07-29 | 2016-07-29 | Fixed conversion method and device of transmission protocol based on message protocol identification |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107925652B (en) |
WO (1) | WO2018018607A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064716A (en) * | 2019-12-05 | 2020-04-24 | 深圳猛犸电动科技有限公司 | Message conversion method, device, storage medium and server |
CN117319516A (en) * | 2023-11-15 | 2023-12-29 | 中国三峡建工(集团)有限公司 | Multi-protocol conversion protocol processing method and device, electronic equipment and medium |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
BE1026569B1 (en) * | 2018-08-27 | 2020-03-23 | Phoenix Contact Gmbh & Co | Control and data transmission system to support various communication protocols and an adapter module |
CN114006928B (en) * | 2021-11-04 | 2024-04-19 | 深圳市骏嘉科技发展有限公司 | Internet of things data processing method based on multi-protocol real-time communication |
CN114125075A (en) * | 2021-11-27 | 2022-03-01 | 云南电网有限责任公司信息中心 | System and method for dynamically switching multiple communication protocols in private network |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007101182A2 (en) * | 2006-02-28 | 2007-09-07 | Maven Networks, Inc. | Systems and methods for delivering and managing media content downloaded to a network connected device |
US20080137644A1 (en) * | 2006-12-11 | 2008-06-12 | Reynolds Douglas F | METHODS AND APPARATUS TO PROVIDE VOICE OVER INTERNET PROTOCOL (VoIP) SERVICES |
CN101227412A (en) * | 2008-02-05 | 2008-07-23 | 华为技术有限公司 | Apparatus and method for message conversion |
CN101237411A (en) * | 2008-01-22 | 2008-08-06 | 张建中 | Method, device and system for inter-network intercommunication in networks with different protocols |
CN101316260A (en) * | 2007-05-30 | 2008-12-03 | 华为技术有限公司 | Packaging conversion method and packaging conversion equipment |
CN101321326A (en) * | 2008-07-22 | 2008-12-10 | 中兴通讯股份有限公司 | Short message forwarding method of short message first dispatching platform |
CN101998313A (en) * | 2009-08-17 | 2011-03-30 | 华为技术有限公司 | Method and system for handling short message as well as short message gateway and interactive function entity |
CN102891796A (en) * | 2012-11-02 | 2013-01-23 | 中国科学院自动化研究所 | Mining intelligent transmission gateway |
CN103391251A (en) * | 2013-07-16 | 2013-11-13 | 杭州华三通信技术有限公司 | Method and device for reducing redundant flow in PBB (provider backbone bridge) network |
CN104320373A (en) * | 2014-07-04 | 2015-01-28 | 中国兵器工业信息中心 | Protocol interworking device between application server and terminal and method for implementing the same |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1235368C (en) * | 2002-08-21 | 2006-01-04 | 华为技术有限公司 | Address conversion method for simultaneously supporting one-to-one and many-to-many under the PAT mode |
US8032593B2 (en) * | 2003-08-07 | 2011-10-04 | Teamon Systems, Inc. | Communications system providing reduced access latency and related methods |
CN100586104C (en) * | 2006-04-17 | 2010-01-27 | 中国科学院计算技术研究所 | A route-based talk initialization protocol transparent transmission network address conversion method |
CN101895534B (en) * | 2010-07-02 | 2013-04-24 | 肖闽进 | Protocol conversion interface device of substation intelligent device |
CN102595510B (en) * | 2011-01-06 | 2015-05-20 | 鼎桥通信技术有限公司 | Message processing method and device |
-
2016
- 2016-07-29 CN CN201680001022.7A patent/CN107925652B/en not_active Expired - Fee Related
- 2016-07-29 WO PCT/CN2016/092260 patent/WO2018018607A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007101182A2 (en) * | 2006-02-28 | 2007-09-07 | Maven Networks, Inc. | Systems and methods for delivering and managing media content downloaded to a network connected device |
US20080137644A1 (en) * | 2006-12-11 | 2008-06-12 | Reynolds Douglas F | METHODS AND APPARATUS TO PROVIDE VOICE OVER INTERNET PROTOCOL (VoIP) SERVICES |
CN101316260A (en) * | 2007-05-30 | 2008-12-03 | 华为技术有限公司 | Packaging conversion method and packaging conversion equipment |
CN101237411A (en) * | 2008-01-22 | 2008-08-06 | 张建中 | Method, device and system for inter-network intercommunication in networks with different protocols |
CN101227412A (en) * | 2008-02-05 | 2008-07-23 | 华为技术有限公司 | Apparatus and method for message conversion |
CN101321326A (en) * | 2008-07-22 | 2008-12-10 | 中兴通讯股份有限公司 | Short message forwarding method of short message first dispatching platform |
CN101998313A (en) * | 2009-08-17 | 2011-03-30 | 华为技术有限公司 | Method and system for handling short message as well as short message gateway and interactive function entity |
CN102891796A (en) * | 2012-11-02 | 2013-01-23 | 中国科学院自动化研究所 | Mining intelligent transmission gateway |
CN103391251A (en) * | 2013-07-16 | 2013-11-13 | 杭州华三通信技术有限公司 | Method and device for reducing redundant flow in PBB (provider backbone bridge) network |
CN104320373A (en) * | 2014-07-04 | 2015-01-28 | 中国兵器工业信息中心 | Protocol interworking device between application server and terminal and method for implementing the same |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064716A (en) * | 2019-12-05 | 2020-04-24 | 深圳猛犸电动科技有限公司 | Message conversion method, device, storage medium and server |
CN111064716B (en) * | 2019-12-05 | 2022-03-11 | 深圳猛犸电动科技有限公司 | Message conversion method, device, storage medium and server |
CN117319516A (en) * | 2023-11-15 | 2023-12-29 | 中国三峡建工(集团)有限公司 | Multi-protocol conversion protocol processing method and device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018018607A1 (en) | 2018-02-01 |
CN107925652B (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107925652A (en) | A kind of transport protocol fixed conversion method and device based on message protocol identification | |
US11463275B2 (en) | Electronic control unit, frame generating method, and non-transitory computer-readable recording medium storing a program | |
CN109981457A (en) | A kind of method of Message processing, network node and system | |
CN103856361A (en) | Method and system for realizing remote debugging | |
CN108377671A (en) | Handle the method and computer equipment of message | |
TWI672961B (en) | Data processing method, device, device and computer readable storage medium | |
CN112838940B (en) | Network controller frame and data processing method | |
CN107528747B (en) | Method and device for diagnosing communication state of master station and slave station and computer readable storage medium | |
EP3142316B1 (en) | Attribute operating method and apparatus | |
CN111431787B (en) | Tunnel establishment method and device and computer readable storage medium | |
CN115065637B (en) | Method and device for transmitting computing power resource information and electronic equipment | |
CN105264869A (en) | Ip address allocation system and method | |
CN102647328B (en) | A kind of label distribution method, equipment and system | |
EP2621133B1 (en) | Method and system for implementing pw control bit capability negotiation | |
CN108418752A (en) | A kind of creation method and device of aggregation group | |
CN102638395B (en) | Message forwarding method and message forwarding equipment | |
US20210203758A1 (en) | Network system and conversion apparatus crossing different transmission protocols | |
CN102263700A (en) | Method, device and system for sending and receiving messages | |
US20150244570A1 (en) | Method, apparatus, and system for implementing tunneling processing | |
CN105049239A (en) | Interface connection relation identification method and system | |
CN104780106B (en) | More example implementation methods and device | |
CN104253727A (en) | Diagnosis method and system of vehicle LIN (local interconnect network) | |
CN104468645A (en) | Control method, electronic equipment, and information transmission method and device | |
CN112491620B (en) | Multi-channel data transmission controller based on SRIO and adjusting method | |
CN104754550A (en) | Method, device and system for transferring Diameter messages |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210112 Termination date: 20210729 |