Information transmission method and device for heterogeneous platform

By performing protocol identification processing on the information transmission sequence of heterogeneous platforms, transmission protocol information is identified and merged to send, the communication compatibility problem between heterogeneous platforms is solved and real-time and accurate communication between heterogeneous platforms is achieved.

CN119996535AInactive Publication Date: 2025-05-13CHINESE PEOPLES LIBERATION ARMY UNIT 32802
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411941832.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-05-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Due to the differences in communication protocols and high-speed buses between different heterogeneous platforms, data communication compatibility issues are difficult to achieve rapid integration.

Method used

By obtaining the sending information sequence, performing protocol identification processing, extracting protocol header information and representing it as a protocol vector to be identified, similar discrimination processing is performed in combination with the standard protocol matrix, transmitting the transmission protocol information, and combining it to the receiver for decoding processing.

Benefits of technology

It realizes fast and accurate identification of different types of communication protocols, solves the communication compatibility problem between heterogeneous platforms, and ensures real-time and accurate communication between heterogeneous platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996535A_ABST
    Figure CN119996535A_ABST
Patent Text Reader

Abstract

The invention discloses an information transmission method and device oriented to a heterogeneous platform. The method comprises the following steps: acquiring a sending information sequence of a sending end; the sending information sequence comprises protocol header information and transmission content information; performing protocol identification processing on the sending information sequence to obtain transmission protocol information; the transmission protocol information and the sending information sequence are combined and sent to a receiving end, and the receiving end obtains a receiving sequence; and the receiving end decodes the receiving sequence to obtain transmission content information. Aiming at the problem of unified high-speed information transmission between heterogeneous platforms adopting different communication protocols, the method and the device have the advantages that the protocol vector to be identified and the standard protocol matrix are subjected to similarity judgment processing to obtain the transmission protocol information, so that the communication protocols of different types can be quickly and accurately identified, and the identification efficiency is improved. The problem of communication compatibility between heterogeneous platforms is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a method and device for transmitting information on a heterogeneous platform. Background Art

[0002] At present, for heterogeneous platforms with different functions, the communication protocols and high-speed buses they adopt are often different, which leads to the incompatibility of different communication protocols between various heterogeneous platforms, resulting in the inability to quickly integrate various functional platforms. Specifically, there are various ways of data communication for various heterogeneous platforms, involving communication structure, high-speed bus, bus standard, data communication interface, etc.; among them, the communication structure includes multi-point to multi-point, point to multi-point and point to point structure; communication protocols include TCP, UDP, TSN, MPLS, PPP, etc., high-speed buses include PCI, CPCI, PCI-E, VME and other buses, as well as quasi-buses, etc.; bus standards include parallel bus and serial bus; data communication interface includes parallel interface and serial interface.

[0003] How to achieve unified high-speed information transmission between different heterogeneous platforms is a problem that needs to be solved urgently. Summary of the invention

[0004] The present invention mainly solves the problem of how to realize unified high-speed information transmission between heterogeneous platforms using different communication protocols, and discloses an information transmission method and device for heterogeneous platforms.

[0005] In a first aspect of the embodiments of the present application, a method for transmitting information for a heterogeneous platform is disclosed, comprising:

[0006] S1, obtaining a sending information sequence of a sending end; the sending information sequence includes protocol header information and transmission content information;

[0007] S2, performing protocol identification processing on the sending information sequence to obtain transmission protocol information;

[0008] S3, combining the transmission protocol information and the sending information sequence and sending them to the receiving end, so that the receiving end obtains a receiving sequence;

[0009] S4, the receiving end decodes the received sequence to obtain transmission content information.

[0010] The performing protocol identification processing on the sending information sequence to obtain transmission protocol information includes:

[0011] S21, extracting the protocol header information of the sending information sequence;

[0012] S22, representing the protocol header information as a protocol vector to be identified;

[0013] S23, obtaining a standard protocol matrix; the row vector of the standard protocol matrix is ​​a vector corresponding to the protocol header information of each protocol;

[0014] S24, performing similarity discrimination processing on the protocol vector to be identified and the standard protocol matrix to obtain transmission protocol information.

[0015] The performing similarity discrimination processing on the protocol vector to be identified and the standard protocol matrix to obtain transmission protocol information includes:

[0016] S241, performing uncertainty calculation processing on the protocol vector to be identified and each row vector of the standard protocol matrix to obtain an uncertainty value corresponding to each row vector; using all the uncertainty values, constructing an uncertainty vector;

[0017] S242, expanding the row dimension of the protocol vector to be identified to obtain a matrix to be identified having the same dimension as the standard protocol matrix;

[0018] S243, subtracting the matrix to be identified from the standard protocol matrix to obtain a difference matrix;

[0019] S244, performing decomposition and fitting processing on the difference matrix and the uncertainty vector to obtain a difference estimation polynomial;

[0020] S245, obtaining the column number corresponding to the element with the largest absolute value in each row vector of the difference matrix, calculating the column number using the difference estimation polynomial, and taking the absolute value of the calculation result to obtain the agreement estimation value of the row vector;

[0021] S246, using the row vector with the smallest protocol estimation value, determine the row vector with the same row number in the corresponding standard protocol matrix; determine the protocol information corresponding to the row vector with the same row number in the standard protocol matrix, which is the transmission protocol information.

[0022] The uncertainty calculation process is calculated as follows:

[0023]

[0024] Among them, α is the preset attenuation factor, which is used to ensure |αp i / q ki |<1,p i is the i-th element of the protocol vector to be identified, q ki is the element of the kth row and ith column of the standard protocol matrix, N is the dimension of the protocol vector to be identified, r k is the kth element of the uncertainty vector.

[0025] The step of performing decomposition and fitting processing on the difference matrix and the uncertainty vector to obtain a difference estimation polynomial includes:

[0026] Decomposing the difference matrix to obtain a feature matrix;

[0027] The decomposition process is calculated as follows:

[0028] Y=UAV,

[0029] Among them, U is the left decomposition matrix, Y is the difference matrix, A is the feature matrix, V is the right decomposition matrix, U and V are both orthogonal matrices, and A is a diagonal matrix;

[0030] Extracting the diagonal elements of the feature matrix to obtain a feature vector;

[0031] Linear fitting is performed on the characteristic vector and the uncertainty vector to obtain a difference estimation polynomial.

[0032] The step of combining the transmission protocol information and the sending information sequence and sending them to the receiving end, so that the receiving end obtains the receiving sequence, includes:

[0033] S31, adding the transmission protocol information to the front of the sending information sequence to obtain a sequence to be sent;

[0034] S32, sending the sequence to be sent to a receiving end;

[0035] S33, the receiving end receives and obtains the sequence to be sent, and confirms that the sequence to be sent is a receiving sequence.

[0036] The receiving end decodes the received sequence to obtain transmission content information, including:

[0037] S41, the receiving end extracts the transmission protocol information from the receiving sequence;

[0038] S42, the receiving end extracts transmission content information from the receiving sequence according to the transmission protocol information.

[0039] According to a second aspect of an embodiment of the present invention, an information transmission device for a heterogeneous platform is disclosed, the device comprising:

[0040] A memory storing executable program code;

[0041] a processor coupled to the memory;

[0042] The processor calls the executable program code stored in the memory to execute the information transmission method for heterogeneous platforms.

[0043] According to a third aspect of an embodiment of the present invention, a computer storable medium is disclosed, wherein the computer storable medium stores computer instructions, and when the computer instructions are called by a computer, they are used to execute the information transmission method for heterogeneous platforms.

[0044] According to a fourth aspect of the embodiments of the present invention, an information data processing terminal is disclosed. The information data processing terminal is used to implement the information transmission method for heterogeneous platforms.

[0045] The beneficial effects of the present invention are:

[0046] The present invention aims at the problem of unified high-speed information transmission between heterogeneous platforms using different communication protocols, establishes a channel protocol identification model, obtains transmission protocol information by performing similarity discrimination processing on the protocol vector to be identified and the standard protocol matrix, realizes fast and accurate identification of different types of communication protocols, and solves the communication compatibility problem between heterogeneous platforms.

[0047] In the process of extracting and identifying the communication protocol, the present invention realizes the accurate extraction of the uncertainty measurement of the communication protocol by establishing an uncertainty calculation processing method, and realizes the real-time and accurate estimation of the difference amount of different communication protocols by establishing a difference estimation polynomial with low implementation complexity, thereby ensuring the accuracy and real-time performance of the communication protocol extraction and ensuring the real-time and accurate communication between different heterogeneous platforms. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flow chart for implementing the method of the present invention. DETAILED DESCRIPTION

[0049] In order to better understand the content of the present invention, an embodiment is given here.

[0050] Figure 1 It is a flow chart for implementing the method of the present invention.

[0051] In order to solve the problem of how to realize unified high-speed information transmission between heterogeneous platforms using different communication protocols, the present invention discloses a method and device for information transmission oriented to heterogeneous platforms.

[0052] In a first aspect of the embodiments of the present application, a method for transmitting information for a heterogeneous platform is disclosed, comprising:

[0053] S1, obtaining a sending information sequence of a sending end; the sending information sequence includes protocol header information and transmission content information;

[0054] S2, performing protocol identification processing on the sending information sequence to obtain transmission protocol information;

[0055] S3, combining the transmission protocol information and the sending information sequence and sending them to the receiving end, so that the receiving end obtains a receiving sequence;

[0056] S4, the receiving end decodes the received sequence to obtain transmission content information;

[0057] The performing protocol identification processing on the sending information sequence to obtain transmission protocol information includes:

[0058] S21, extracting the protocol header information of the sending information sequence;

[0059] S22, representing the protocol header information as a protocol vector to be identified;

[0060] S23, obtaining a standard protocol matrix; the row vector of the standard protocol matrix is ​​a vector corresponding to the protocol header information of each protocol;

[0061] S24, performing similarity discrimination processing on the protocol vector to be identified and the standard protocol matrix to obtain transmission protocol information;

[0062] The performing similarity discrimination processing on the protocol vector to be identified and the standard protocol matrix to obtain transmission protocol information includes:

[0063] S241, performing uncertainty calculation processing on the protocol vector to be identified and each row vector of the standard protocol matrix to obtain an uncertainty value corresponding to each row vector; using all the uncertainty values, constructing an uncertainty vector;

[0064] S242, expanding the row dimension of the protocol vector to be identified to obtain a matrix to be identified having the same dimension as the standard protocol matrix;

[0065] S243, subtracting the matrix to be identified from the standard protocol matrix to obtain a difference matrix;

[0066] S244, performing decomposition and fitting processing on the difference matrix and the uncertainty vector to obtain a difference estimation polynomial;

[0067] S245, obtaining the column number corresponding to the element with the largest absolute value in each row vector of the difference matrix, calculating the column number using the difference estimation polynomial, and taking the absolute value of the calculation result to obtain the agreement estimation value of the row vector;

[0068] S246, using the row vector with the smallest protocol estimation value, determining the row vector with the same row number in the corresponding standard protocol matrix; determining the protocol information corresponding to the row vector with the same row number in the standard protocol matrix, which is the transmission protocol information;

[0069] The uncertainty calculation process is calculated as follows:

[0070]

[0071] Among them, α is the preset attenuation factor, which is used to ensure |αp i / q ki |<1,p i is the i-th element of the protocol vector to be identified, q ki is the element of the kth row and ith column of the standard protocol matrix, N is the dimension of the protocol vector to be identified, r k is the kth element of the uncertainty vector;

[0072] The step of performing decomposition and fitting processing on the difference matrix and the uncertainty vector to obtain a difference estimation polynomial includes:

[0073] Decomposing the difference matrix to obtain a feature matrix;

[0074] The decomposition process is calculated as follows:

[0075] Y=UAV,

[0076] Among them, U is the left decomposition matrix, Y is the difference matrix, A is the feature matrix, V is the right decomposition matrix, U and V are both orthogonal matrices, and A is a diagonal matrix;

[0077] Extracting the diagonal elements of the feature matrix to obtain a feature vector;

[0078] Performing linear fitting processing on the elements of the characteristic vector and the uncertainty vector to obtain a difference estimation polynomial;

[0079] The step of combining the transmission protocol information and the sending information sequence and sending them to the receiving end, so that the receiving end obtains the receiving sequence, includes:

[0080] S31, adding the transmission protocol information to the front of the sending information sequence to obtain a sequence to be sent;

[0081] S32, sending the sequence to be sent to a receiving end;

[0082] S33, the receiving end receives the sequence to be sent and confirms that the sequence to be sent is a receiving sequence;

[0083] The receiving end decodes the received sequence to obtain transmission content information, including:

[0084] S41, the receiving end extracts the transmission protocol information from the receiving sequence;

[0085] S42, the receiving end extracts transmission content information from the receiving sequence according to the transmission protocol information;

[0086] The receiving end extracts transmission content information from the receiving sequence according to the transmission protocol information, including:

[0087] The receiving end demodulates and decodes the received sequence according to the transmission protocol information to obtain the transmission content information. Specifically, according to the specific transmission protocol type, the corresponding frame format, synchronization header, demodulation method and decoding method are determined, and the received sequence is synchronized, demodulated and decoded to obtain the transmission content information.

[0088] In S246, for example, if the protocol estimation value of the row vector of the third row in the difference matrix is ​​the smallest, the third row vector in the corresponding standard protocol matrix is ​​determined to be the corresponding row vector, and the protocol information corresponding to the third row vector in the standard protocol matrix is ​​determined to be the transmission protocol information;

[0089] The decomposition process can be implemented by using a matrix singular value decomposition algorithm.

[0090] The linear fitting process uses the characteristic vector element serial number value Ix as a known independent variable, and the element whose serial number in the uncertainty vector is the characteristic vector element serial number value as a known dependent variable. The curve to be approximated is constructed using the known independent variable and the known dependent variable, and the curve to be approximated is fitted using the function approximation method to obtain a difference estimation polynomial.

[0091] The feature vector is represented as I a , I a =[λ1,λ2,…,λ N1 ], N1 is the number of elements contained in the feature vector; the curve fitting of the curve to be approximated by using the function approximation method can adopt the best consistent linear approximation method. The difference estimation polynomial f(Ix) is expressed as:

[0092] f(Ix)=α P1 (Ix) P1 +α P1-1 (Ix) P1-1 +…+α2(Ix) 2 +α1(Ix)+α0,

[0093] Wherein, P1 is the order of the difference estimation polynomial f(Ix), α0, α1, α2, …, α P1 estimating coefficients of a polynomial f(Ix) for said difference;

[0094] The step of adding the transmission protocol information to the front of the sending information sequence to obtain a sequence to be sent includes:

[0095] Performing channel coding processing on the transmission protocol information to obtain protocol coding information, and adding the protocol coding information to the front of the transmission information sequence to obtain a sequence to be transmitted;

[0096] The calculation expression of the channel coding process is:

[0097]

[0098] Wherein, s(k) is the kth element of the transmission protocol information, NS is the length of the transmission protocol information, y1(z,x) is the element of the zth row and xth column of the protocol coding matrix obtained by the channel coding process, p1() is the transformation function corresponding to the channel coding process, p1(kT1-zT1) is the value of p1() at kT1-zT1, T1 and F1 are the time domain transformation length and frequency domain transformation length of the channel coding process respectively;

[0099] All row vectors of the protocol coding matrix are concatenated to obtain protocol coding information;

[0100] The receiving end extracts the transmission protocol information from the receiving sequence, including:

[0101] Performing channel decoding processing on the protocol coding information in the received sequence to obtain transmission protocol information;

[0102] The calculation expression of the channel decoding process is:

[0103]

[0104] Wherein, u1(z,x) is the element of the zth row and xth column of the decoding output matrix, and all row vectors of the decoding output matrix are concatenated to obtain the transmission protocol information. is the conjugate function of the transform function corresponding to the channel coding process, for The value at kT1-zT1, r(k) is the kth element of the protocol coding information;

[0105] The protocol vector to be identified is expanded in row dimension to obtain a matrix to be identified of the same dimension as the standard protocol matrix, wherein the protocol vector to be identified is used as a row vector, and is copied in the column direction to be a number of row vectors equal to the number of rows of the matrix to be identified, and the matrix to be identified is constructed using all the copied row vectors;

[0106] The protocol header information includes the protocol synchronization header, terminal and other information specified by the protocol for identifying the protocol;

[0107] The channel coding process may also be implemented by Huffman coding, arithmetic coding, Lz coding, etc. The channel decoding process may be implemented by corresponding Huffman decoding, arithmetic decoding, Lz decoding, etc.

[0108] According to a second aspect of an embodiment of the present invention, an information transmission device for a heterogeneous platform is disclosed, the device comprising:

[0109] A memory storing executable program code;

[0110] a processor coupled to the memory;

[0111] The processor calls the executable program code stored in the memory to execute the information transmission method for heterogeneous platforms.

[0112] According to a third aspect of an embodiment of the present invention, a computer storable medium is disclosed, wherein the computer storable medium stores computer instructions, and when the computer instructions are called by a computer, they are used to execute the information transmission method for heterogeneous platforms.

[0113] According to a fourth aspect of the embodiments of the present invention, an information data processing terminal is disclosed. The information data processing terminal is used to implement the information transmission method for heterogeneous platforms.

[0114] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for transmitting information on a heterogeneous platform, characterized in that: include: S1, obtain the sending information sequence of the sender; The sending information sequence includes protocol header information and transmission content information; S2, performing protocol identification processing on the sending information sequence to obtain transmission protocol information; S3, combining the transmission protocol information and the sending information sequence and sending them to the receiving end, so that the receiving end obtains a receiving sequence; S4, the receiving end decodes the received sequence to obtain transmission content information.

2. The method for transmitting information to heterogeneous platforms according to claim 1, characterized in that: The performing protocol identification processing on the sending information sequence to obtain transmission protocol information includes: S21, extracting the protocol header information of the sending information sequence; S22, representing the protocol header information as a protocol vector to be identified; S23, obtaining a standard protocol matrix; the row vector of the standard protocol matrix is ​​a vector corresponding to the protocol header information of each protocol; S24, performing similarity discrimination processing on the protocol vector to be identified and the standard protocol matrix to obtain transmission protocol information.

3. The method for transmitting information to heterogeneous platforms according to claim 2, characterized in that: The performing similarity discrimination processing on the protocol vector to be identified and the standard protocol matrix to obtain transmission protocol information includes: S241, performing uncertainty calculation processing on the protocol vector to be identified and each row vector of the standard protocol matrix to obtain an uncertainty value corresponding to each row vector; using all the uncertainty values, constructing an uncertainty vector; S242, expanding the row dimension of the protocol vector to be identified to obtain a matrix to be identified having the same dimension as the standard protocol matrix; S243, subtracting the matrix to be identified from the standard protocol matrix to obtain a difference matrix; S244, performing decomposition and fitting processing on the difference matrix and the uncertainty vector to obtain a difference estimation polynomial; S245, obtaining the column number corresponding to the element with the largest absolute value in each row vector of the difference matrix, calculating the column number using the difference estimation polynomial, and taking the absolute value of the calculation result to obtain the agreement estimation value of the row vector; S246, using the row vector with the smallest protocol estimation value, determine the row vector with the same row number in the corresponding standard protocol matrix; determine the protocol information corresponding to the row vector with the same row number in the standard protocol matrix, which is the transmission protocol information.

4. The method for transmitting information to heterogeneous platforms as claimed in claim 3, characterized in that: The uncertainty calculation process is calculated as follows: Among them, α is the preset attenuation factor, which is used to ensure αp i / q ki | <1, p i is the i-th element of the protocol vector to be identified, q ki is the element of the kth row and ith column of the standard protocol matrix, N is the dimension of the protocol vector to be identified, r k is the kth element of the uncertainty vector.

5. The method for transmitting information to heterogeneous platforms as claimed in claim 3, characterized in that: The step of performing decomposition and fitting processing on the difference matrix and the uncertainty vector to obtain a difference estimation polynomial includes: Decomposing the difference matrix to obtain a feature matrix; The decomposition process is calculated as follows: Y=UAV, Among them, U is the left decomposition matrix, Y is the difference matrix, A is the feature matrix, V is the right decomposition matrix, U and V are both orthogonal matrices, and A is a diagonal matrix; Extracting the diagonal elements of the feature matrix to obtain a feature vector; Linear fitting is performed on the characteristic vector and the uncertainty vector to obtain a difference estimation polynomial.

6. The method for transmitting information to heterogeneous platforms as claimed in claim 3, characterized in that: The step of combining the transmission protocol information and the sending information sequence and sending them to the receiving end, so that the receiving end obtains the receiving sequence, includes: S31, adding the transmission protocol information to the front of the sending information sequence to obtain a sequence to be sent; S32, sending the sequence to be sent to a receiving end; S33, the receiving end receives and obtains the sequence to be sent, and confirms that the sequence to be sent is a receiving sequence.

7. The method for transmitting information to heterogeneous platforms as claimed in claim 3, characterized in that: The receiving end decodes the received sequence to obtain transmission content information, including: S41, the receiving end extracts the transmission protocol information from the receiving sequence; S42, the receiving end extracts transmission content information from the receiving sequence according to the transmission protocol information.

8. An information transmission device for heterogeneous platforms, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the information transmission method for heterogeneous platforms according to any one of claims 1 to 7.

9. A computer storable medium, characterized in that: The computer storable medium stores computer instructions, and when the computer instructions are called by a computer, they are used to execute the information transmission method for heterogeneous platforms according to any one of claims 1 to 7.

10. An information data processing terminal, characterized in that: The information data processing terminal is used to implement the information transmission method for heterogeneous platforms as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method, equipment and system for parsing communication protocol and memory medium

    CN108881125A

  • Modbus TCP (Transmission Control Protocol) fuzzy test method based on multi-arm Huger machine algorithm

    CN117478367A

  • Universal model abstraction system and method based on heterogeneous industrial data acquisition protocol

    CN117880381A

  • Data processing method and device of Bluetooth BLE communication system

    CN118555588A

  • Cross-platform multi-source heterogeneous data fusion system and method

    CN119110000A