General information coding and decoding system and method based on code table

By adopting a general information encoding and decoding system and method based on code tables in the information interaction between software, the problem of code defects and repeated modifications in the prior art information decoding development is solved, and the unity and flexibility of information encoding and decoding are realized.

CN120045183APending Publication Date: 2025-05-27THE 28TH RES INST OF CHINA ELECTRONICS TECH GROUP CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510060926.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

When the information is interacting online between software, the receiver needs to complete the information decoding and development according to the agreement, which is prone to code defects and error risks, and frequent information changes lead to a large number of repeated code modification work by the sender and the receiver.

Method used

The general information encoding and decoding system and method based on the code table are adopted, including the interactive information encoding module, the interactive information decoding module and the interactive information code table. The parameter attributes and conversion rules in the interactive information are described through the code table to realize unified encoding and decoding of the information.

Benefits of technology

It effectively avoids the hidden dangers of errors caused by code development. When the information content and format change, you only need to modify the code table without modifying the codec function code, reducing duplicate code development and modification work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045183A_ABST
    Figure CN120045183A_ABST
Patent Text Reader

Abstract

The invention provides a universal information coding and decoding system and method based on a code table, and the system comprises a mutual information coding module, a mutual information decoding module, a mutual information coding and decoding interface, and a mutual information code table. Wherein the interaction information coding module is used for converting each parameter in the interaction information into a character string in a specified format according to the code table; the interaction information decoding module is used for converting character strings into parameters in interaction information according to the code table; the interaction information coding and decoding interface is used for being called by an information sender before sending information and completing information coding, and is called by an information receiver after receiving the information and completing information decoding; the interaction information code table is used for describing parameter attributes and parameter conversion rules in the interaction information. The method is used for coding and decoding by adopting the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an information encoding and decoding system and method, in particular to a general information encoding and decoding system and method based on a code table. Background Art

[0002] The information provided in this part is only background information related to the present disclosure, and it does not necessarily represent prior art.

[0003] When there is online information interaction between software, usually both parties agree on the information content and information format in advance. The sender encodes the information content according to the information format and sends the information to the receiver by calling the online transmission interface. After receiving the data packet through the online transmission, the receiver decodes the data packet according to the agreement and extracts the required information. This method has the following drawbacks: all receivers have to complete the information decoding development according to the agreement, which is prone to code defects and error risks; if the information changes frequently, it will lead to a large amount of repeated code modification work for both the sender and the receiver.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] Object of the Invention: The technical problem to be solved by the present invention is to provide a general information encoding and decoding system and method based on a code table in view of the deficiencies of the prior art.

[0006] To solve the above technical problem, the present invention discloses a general information encoding and decoding system and method based on a code table, wherein the system includes:

[0007] An interactive information encoding module, an interactive information decoding module, and an interactive information code table; wherein,

[0008] The interactive information encoding module converts each parameter in the interactive information into a string in a specified format according to the code table;

[0009] The interactive information decoding module converts the string into a parameter in the interactive information according to the code table;

[0010] The interactive information code table is used to describe the parameter attributes and parameter conversion rules in the interactive information.

[0011] Further, the system further includes:

[0012] An interactive information encoding and decoding interface, which is provided for the information sender to call before sending information to complete information encoding, and for the information receiver to call after receiving information to complete information decoding;

[0013] Furthermore, the interaction information encoding module includes:

[0014] a digital parameter encoding sub-module, a string parameter encoding sub-module, a time parameter encoding sub-module, a latitude and longitude parameter encoding sub-module, an angle parameter encoding sub-module, and a development language specific type parameter encoding sub-module; where

[0015] the digital parameter encoding sub-module directly converts the integer parameters in the interaction information into strings; and converts the decimal parameters in the interaction information into strings according to the preset precision in the code table;

[0016] the string parameter encoding sub-module directly converts the string parameters in the interaction information into strings;

[0017] the time parameter encoding sub-module converts the time parameters in the interaction information into strings according to the preset format in the code table;

[0018] the latitude and longitude parameter encoding sub-module converts the latitude and longitude parameters in the interaction information into strings according to the preset format and precision in the code table;

[0019] the angle parameter encoding sub-module converts the angle parameters in the interaction information into strings according to the preset format and precision in the code table;

[0020] the development language specific type parameter encoding sub-module converts the development language specific type parameters in the interaction information into strings according to the preset conversion rules in the code table.

[0021] Furthermore, the interaction information decoding module includes:

[0022] a digital parameter decoding sub-module, a string parameter decoding sub-module, a time parameter decoding sub-module, a latitude and longitude parameter decoding sub-module, an angle parameter decoding sub-module, and a development language specific type parameter decoding sub-module; where

[0023] the digital parameter decoding sub-module decodes and restores the received string segments into the integer parameters in the interaction information; and decodes and restores the received strings into the decimal parameters in the interaction information according to the preset precision in the code table;

[0024] the string parameter decoding sub-module decodes and restores the received string segments into the string parameters in the interaction information;

[0025] the time parameter decoding sub-module decodes and restores the received string segments into the time parameters in the interaction information according to the preset format in the code table;

[0026] The longitude and latitude parameter decoding sub-module decodes and restores the received string segment into the longitude and latitude parameters in the interaction information according to the preset format and precision in the code table;

[0027] The angle parameter decoding sub-module decodes and restores the received string segment into the angle parameters in the interaction information according to the preset format and precision in the code table;

[0028] The development language specific type parameter decoding sub-module decodes and restores the received string segment into the development language specific type parameters in the interaction information according to the preset conversion rules in the code table.

[0029] Furthermore, the interaction information code table includes:

[0030] The development language parameter type code table, the interaction information category code table, and the interaction information parameter code table; among them,

[0031] The development language parameter type code table is used to describe the parameter types used by the development language and their conversion rules;

[0032] The interaction information category code table is the main table and is used to store all possible information categories of interactions in the system;

[0033] The interaction information parameter code table is used to store the specific parameters of each interaction information category.

[0034] Furthermore, the development language parameter type code table is used to store the parameter types used by the development language, and is supplemented according to actual needs or common parameter types, including:

[0035] The development language code identifier and the development language code description; among them,

[0036] The development language code identifier is used to uniquely identify the parameter type;

[0037] The development language code description is used to describe the type of this parameter type.

[0038] Furthermore, the interaction information category code table includes:

[0039] The interaction information code identifier, the interaction information code description, the major information category, and the minor information category; among them,

[0040] The interaction information code identifier is used to uniquely identify the information category;

[0041] The interaction information code description is used to explain this information category;

[0042] The large information category is used to distinguish the large categories of information;

[0043] The small information category is used to distinguish the sub - categories within the large category of information;

[0044] Further, the interactive information parameter code table includes:

[0045] The category of the interactive information to which it belongs, the parameter order, the parameter type, and the format or length requirements; where

[0046] The category of the interactive information to which it belongs is used to clarify the information category to which the parameter belongs. As a foreign key, it associates with the interactive information code identification field in the interactive information category code table;

[0047] The parameter order is used to clarify the position serial number of the parameter in the entire interactive information;

[0048] The parameter type is used to clarify the type of the parameter. As a foreign key, it associates with the development language code identification field in the development language parameter type code table;

[0049] The format or length requirement is used to clarify the format requirement or length requirement of the parameter.

[0050] Further, the interactive information encoding and decoding interface includes:

[0051] The interactive information inherits the interactive information base structure and derives its own interactive information structure;

[0052] The interactive information encoding interface, in accordance with the parameter order, successively calls the corresponding interactive information encoding conversion module for the actual value of each parameter in the interactive information structure according to the type, converts it into a string of a specified length, and splices the strings to form a long string to be sent by the transmission function;

[0053] The interactive information decoding interface, according to the long string received by the transmission function, successively parses and converts it into the actual value of the corresponding parameter in the interactive information structure in accordance with the parameter order, forming a complete interactive information structure.

[0054] The present invention also proposes a general information encoding and decoding method based on a code table, which uses the foregoing system for encoding and decoding, and includes the following steps:

[0055] Step 1, using the code table to describe the development language parameters and interactive information parameters;

[0056] Step 2, calling the interactive information encoding module to convert the parameters in the interactive information into strings;

[0057] Step 3: The receiver calls the interactive information decoding module, and according to the code table, decodes the received string segment into the parameters in the original interactive information sent by the sender.

[0058] Beneficial effects:

[0059] 1. In the present invention, the interactive information encoding and decoding functions of the sender and all receivers call the interfaces provided by the general information encoding and decoding method, effectively avoiding potential error hazards caused by code development.

[0060] 2. In the present invention, the content and format of the interactive information are edited and maintained through the code table. When the interactive information changes, only the code table needs to be modified, without modifying the encoding and decoding function code, avoiding a large amount of repetitive code development and modification work. Description of the drawings

[0061] The following further describes the present invention in detail with reference to the drawings and specific embodiments, and the above and / or other advantages of the present invention will become clearer.

[0062] Figure 1 is a schematic diagram of the system composition of the present invention.

[0063] Figure 2 is a schematic diagram of the general information encoding and decoding method. Specific embodiments

[0064] The present invention provides a general information encoding and decoding system and method based on a code table, which uses a code table-based method to uniformly encode and decode interactive information. The information sender integrally calls the encoding interface, and the information receiver integrally calls the decoding interface to achieve consistent encoding and decoding of the interactive information. This method is extensible for development languages and parameter types, avoiding potential code defects and repetitive code development and modification work during the joint debugging of large systems.

[0065] Technical solution: A general information encoding and decoding method based on a code table, including: an interactive information encoding and decoding interface module, an interactive information encoding module, an interactive information decoding module, and a set of interactive information category code tables, which include: an interactive information parameter code table, a development language parameter type code table, and an interactive information category code table, as Figure 1 shown:

[0066] Among them, the interactive information encoding module converts each parameter in the interactive information into a string in a specified format according to its type, including: digital parameter encoding, string parameter encoding, time parameter encoding, longitude and latitude parameter encoding, angle parameter encoding, and development language-specific type parameter encoding;

[0067] The interactive information decoding module is a process inverse to interactive information encoding. It reversely converts a string into the original corresponding type according to the parameter type, including: digital parameter decoding, string parameter decoding, time parameter decoding, longitude and latitude parameter decoding, angle parameter decoding, and decoding of parameter types specific to the development language.

[0068] In the code table,

[0069] The parameter type code table stores the parameter types used in the development language;

[0070] The interactive information category code table stores information such as the classification identifier, information classification, parameter type, parameter format, and length requirement of all interactive information. The interactive information encoding module converts each parameter in the interactive information into a string of a specified format according to its type; the interactive information decoding is the opposite of the interactive information encoding process, which reversely converts the string into the original corresponding type according to the parameter type.

[0071] For example, Figure 2 As shown, when performing information interaction, the information sender fills in the corresponding parameter types and interactive information attributes of the development language in the code table, calls the unified encoding interface, and the receiver calls the unified decoding interface. Both parties do not need to do additional development work on the interactive information parsing code. In the case of multiple interactive systems, variable interactive interfaces, and a large variety of information types, it can effectively avoid code defects and a large amount of code modification and rework.

[0072] The principle of the present invention is: The general information encoding and decoding method defines the encoding and decoding methods for all types of information. When sending and receiving information, the encoding and decoding methods perform encoding and decoding on the interactive information formats and contents pre-stored in the code table, realizing the reuse of the interactive information encoding and decoding functions.

[0073] Embodiment:

[0074] 1. Design of the parameter type code table for the development language

[0075] The parameter types used in the development language are formed into a parameter type code table TY_S_ParameterType for the development language, as shown in Table 1.

[0076] Table 1 Data element table of the parameter type code table TY_S_ParameterType for the development language

[0077]

[0078] As shown in Table 2, it is a code table of common parameter types for the QT language. This code table can be supplemented according to actual needs or common parameter types; the parameter type code tables defined for other development languages such as C++, JAVA, and Python are similar.

[0079] Table 2 QT language parameter type code table

[0080]

[0081]

[0082] 2. Design of interactive information category code table and interactive information parameter code table

[0083] All possible interactive information categories in the system and the specific format of each information are saved in the interactive information category code table and the interactive information parameter code table, which are table TY_S_MutualInformation and table TY_S_MutualInformationParameter, as shown in Table 3 and Table 4. Among them, table TY_S_MutualInformation stores all interactive information categories, and uniquely identifies information through information code identification; table TY_S_MutualInformationParameter stores specific parameter information of each category information, including the order of each parameter, parameter type, parameter format or length requirements, etc., and associates the main table TY_S_MutualInformation through the "interactive information category" foreign key.

[0084] The two data fields, information major category and information minor category, can be used to classify information according to application settings. For example, the major category of information of a type is control instruction information, and the minor category is simulation speed setting. By broadcasting this information to the entire system, the simulation speed of the entire system can be uniformly adjusted.

[0085] Table 3 Data element table of mutual information category code table TY_S_MutualInformation

[0086]

[0087] Table 4 Data element table of mutual information parameter code table TY_S_MutualInformationParameter

[0088]

[0089] For example, the interactive information with information category ID 030501 has the following format and content.

[0090] Table 5 Example of interactive information

[0091]

[0092] The data row record of the mutual information with information category ID 030501 in table TY_S_MutualInformation is as follows:

[0093] Table 6 shows the data element table of sample interaction information in the table TY_S_MutualInformation

[0094] Code identifier Code description Major information category Minor information category Remarks 030501 13 03 05

[0095] The record of the interaction information with the information classification ID of 030501 in the table TY_S_MutualInformationParameter is as follows:

[0096] Table 7 shows the data element table of sample interaction information in the table TY_S_MutualInformationParameter

[0097]

[0098]

[0099] 3. Interaction Information Encoding

[0100] The interaction information encoding is to convert each parameter in the interaction information into a string in a specified format according to its type, mainly including six types of conversions: digital parameters, string parameters, time parameters, longitude and latitude parameters, angle parameters, and development language-specific type parameters, etc.

[0101] 1) Digital parameter encoding: For integers, directly convert to a string; for decimals, according to the data precision requirements, retain the specified number of decimal places after the decimal point and convert to a string;

[0102] 2) String parameter encoding: Directly convert to a string;

[0103] 3) Time parameter encoding: Convert to a string according to the specified format data display requirements;

[0104] 4) Longitude and latitude parameter encoding: Convert to a string according to the specified longitude and latitude format data display requirements, and retain the specified precision data for seconds;

[0105] 5) Angle parameter encoding: Convert to a string according to the specified format angle data display requirements, and retain the specified precision data for seconds;

[0106] 6) Development language-specific type parameter encoding: Customize the development according to the development language. For example, for QPoint in QT, convert the corresponding x coordinate and y coordinate to strings and then connect them with ",", forming "x, y"; for the QStringList type in the example, splice each string with "&&" to form a long string.

[0107] 4. Interaction Information Decoding

[0108] Interactive information decoding is a process inverse to interactive information encoding, which reversely converts a string into the original corresponding type according to the parameter type.

[0109] 5. Interactive Information Encoding and Decoding Interface

[0110] Taking the QT development language as an example, the interactive information encoding and decoding interface is described below.

[0111] 1) Basic Structure of Interactive Information MsgStruct_General

[0112] Provide the basic structure of interactive information MsgStruct_General.

[0113] struct MsgStruct_General

[0114] {

[0115] int nParaCount;

[0116] }

[0117] The member variable nParaCount represents the number of parameters included in the message;

[0118] All other information structures that need to interact are derived from the basic structure MsgStruct_General, and member variables are defined in sequence according to the parameter order. For example, define a structure for adjusting the simulation speed

[0119] struct MsgStruct_SetSimRate:MsgStruct_General

[0120] {

[0121] int nRate;

[0122] }

[0123] nRate represents the simulation speed that needs to be adjusted.

[0124] 2) Interactive Information Encoding Interface

[0125] (1) Interface Definition

[0126] bool MessageEncoding(QString strMsgTypeClass,QStringstrMsgTypeSection,MsgStruct_XX&structXX,QString&strMessage);

[0127] (2) Parameter Explanation

[0128] Input:

[0129] strMsgTypeClass represents the major category of information;

[0130] strMsgTypeSection represents the minor category of information;

[0131] structXX represents the information structure parameter to be encoded, and its structure is derived from MsgStruct_General;

[0132] strMessage represents the long string after encoding conversion.

[0133] Output:

[0134] Indicates the encoding result, true indicates success, and false indicates failure.

[0135] (3) Function process

[0136] According to the major category and minor category of information, for each actual value of each parameter in structXX in sequence according to the parameter order, call the corresponding interactive information encoding and conversion module according to the type, and convert it into a string with a specified length. If the numeric type is inconsistent with the "parameter type" in the interactive information generation parameter code table (TY_S_MutualInformationParameter) or the value does not meet the "format or length requirements", the function ends, gives a failure prompt, and returns false; connect the converted strings together pairwise with "@@!!&&" (used for splitting strings, can be adjusted as needed), finally form a long string, assign the final value to strMessage, and return true.

[0137] strMessage is the final encoding result; then call the transmission function to send out strMessage.

[0138] 3) Interactive information decoding interface

[0139] (1) Interface definition

[0140] bool MessageDecoding(QString strMsgTypeClass,QStringstrMsgTypeSection,MsgStruct_XX&structXX,QString&strMessage);

[0141] (2) Parameter description

[0142] Input:

[0143] strMsgTypeClass represents the major category of information;

[0144] strMsgTypeSection represents the minor category of information;

[0145] structXX represents the information structure parameters to be decoded, and its structure is derived from MsgStruct_General;

[0146] strMessage represents the decoded long string.

[0147] Output:

[0148] Represents the encoding result, true means success, and false means failure.

[0149] (3) Function process

[0150] Extract the strings separated by "@@!!&&" in strMessage, and then according to the major category and minor category of information, in the order of parameters, call the corresponding interactive information decoding and conversion module for the strings according to the type to convert them into specified format parameter values. If the conversion fails, the function ends, gives a failure prompt, and returns false; assign the converted parameter values to the corresponding parameters in structXX and return true.

[0151] structXX is the final decoding result.

[0152] In a specific implementation, the present application provides a computer storage medium and a corresponding data processing unit. Among them, the computer storage medium can store a computer program, and when the computer program is executed by the data processing unit, it can run the invention content of a general information encoding and decoding system and method based on a code table and some or all of the steps in each embodiment of the present invention. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.

[0153] Those skilled in the art can clearly understand that the technical solutions in the embodiments of the present invention can be implemented by means of a computer program and its corresponding general hardware platform. Based on such an understanding, the technical solutions in the embodiments of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a computer program, that is, a software product. The computer program software product can be stored in a storage medium, including several instructions to enable a device (which can be a personal computer, a server, a single-chip microcomputer, an MCU, or a network device, etc.) containing a data processing unit to execute the methods described in each embodiment or some parts of the embodiments of the present invention.

[0154] The present invention provides an idea and method for a general information encoding and decoding system and method based on a code table. There are many methods and ways to specifically implement this technical solution. The above description is only a preferred embodiment of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present invention. Each component not clearly defined in this embodiment can be implemented by using the prior art.

Claims

1. A general information encoding and decoding system based on a code table, characterized in that: include: An interactive information encoding module, an interactive information decoding module and an interactive information code table; wherein, The interactive information encoding module converts each parameter in the interactive information into a character string of a specified format according to the code table; The interactive information decoding module converts the character string into parameters in the interactive information according to the code table; The interaction information code table is used to describe parameter attributes and parameter conversion rules in the interaction information.

2. A general information encoding and decoding system based on a code table according to claim 1, characterized in that: The system further comprises: The interactive information encoding and decoding interface is used to be called by the information sender before sending information to complete information encoding, and called by the information receiver after receiving information to complete information decoding.

3. A general information encoding and decoding system based on a code table according to claim 2, characterized in that: The interactive information encoding module includes: Digital parameter encoding submodule, string parameter encoding submodule, time parameter encoding submodule, longitude and latitude parameter encoding submodule, angle parameter encoding submodule and development language specific type parameter encoding submodule; among them, The digital parameter encoding submodule directly converts the integer parameter in the interactive information into a character string; converts the decimal parameter in the interactive information into a character string according to the precision preset in the code table; The string parameter encoding submodule directly converts the string parameters in the interactive information into strings; The time parameter encoding submodule converts the time parameter in the interactive information into a character string according to a format preset in the code table; The latitude and longitude parameter encoding submodule converts the latitude and longitude parameters in the interactive information into a character string according to the format and precision preset in the code table; The angle parameter encoding submodule converts the angle parameter in the interactive information into a character string according to the format and precision preset in the code table; The development language specific type parameter encoding submodule converts the development language specific type parameter in the interactive information into a character string according to the conversion rule preset in the code table.

4. A general information encoding and decoding system based on a code table according to claim 3, characterized in that: The interactive information decoding module comprises: Digital parameter decoding submodule, string parameter decoding submodule, time parameter decoding submodule, longitude and latitude parameter decoding submodule, angle parameter decoding submodule and development language specific type parameter decoding submodule; among them, The digital parameter decoding submodule decodes the received string fragment and restores it to the integer parameter in the interactive information; decodes the received string fragment and restores it to the decimal parameter in the interactive information according to the precision preset in the code table; The string parameter decoding submodule decodes the received string fragment and restores it to the string parameter in the interactive information; The time parameter decoding submodule decodes the received character string fragment into the time parameter in the interactive information according to the format preset in the code table; The latitude and longitude parameter decoding submodule decodes the received character string fragment into the latitude and longitude parameters in the interactive information according to the format and precision preset in the code table; The angle parameter decoding submodule decodes the received character string fragment into the angle parameter in the interactive information according to the format and precision preset in the code table; The development language specific type parameter decoding submodule decodes the received character string fragment and restores it into the development language specific type parameter in the interactive information according to the conversion rule preset in the code table.

5. A general information encoding and decoding system based on a code table according to claim 4, characterized in that: The interactive information code table includes: Develop language parameter type code table, interactive information category code table and interactive information parameter code table; among them, The development language parameter type code table is used to describe the parameter types used by the development language and their conversion rules; The interactive information category code table is a main table used to store all interactive information categories that may exist in the system; The interaction information parameter code table is used to store specific parameters of each interaction information category.

6. A general information encoding and decoding system based on a code table according to claim 5, characterized in that: The development language parameter type code table is used to store parameter types used by the development language, and is supplemented according to actual needs or commonly used parameter types, including: Development language code identifier and development language code description; among which, The development language code identifier is used to uniquely identify the parameter type; The development language code description is used for type description of the parameter type.

7. A general information encoding and decoding system based on a code table according to claim 6, characterized in that: The interactive information category code table includes: Interactive information code identification, interactive information code description, information category and information subcategory; among which, The interactive information code identifier is used to uniquely identify the information category; The interactive information code description is used to describe the information category; The major information categories are used to distinguish major categories of information; The information subcategories are used to distinguish subcategories within the larger categories of information.

8. A general information encoding and decoding system based on a code table according to claim 7, characterized in that: The interactive information parameter code table includes: The interactive information category, parameter order, parameter type and format or length requirements; among them, The interactive information category is used to clarify the information category to which the parameter belongs, and is used as a foreign key to associate with the interactive information code identification field in the interactive information category code table; The parameter sequence is used to clarify the position sequence of the parameter in the entire interaction information; The parameter type is used to specify the type of the parameter and is associated with the development language code identification field in the development language parameter type code table as a foreign key; The format or length requirement is used to clarify the format requirement or length requirement of the parameter.

9. A general information encoding and decoding system based on a code table according to claim 8, characterized in that: The interactive information encoding and decoding interface includes: The interactive information inherits the interactive information base structure and derives its own interactive information structure; The interactive information encoding interface, in accordance with the order of parameters, calls the corresponding interactive information encoding conversion module according to the type of the actual value of each parameter in the interactive information structure, converts it into a string of specified length, and concatenates the strings to form a long string to send information to the transmission function; The interactive information decoding interface parses and converts the long string received by the transmission function into the actual values ​​of the corresponding parameters of the interactive information structure in the order of parameters to form a complete interactive information structure.

10. A general information encoding and decoding method based on a code table, characterized in that: The method adopts any system in claims 1-9 for encoding and decoding, comprising the following steps: Step 1, using the code table, describing the development language parameters and the interaction information parameters; Step 2, calling the interaction information encoding module to convert the parameters in the interaction information into a character string; Step 3: The receiver calls the interactive information decoding module to decode the received character string fragment according to the code table and restore it to the parameters in the original interactive information sent by the sender.