Dynamic communication toolkit packaging method, communication system, medium and product

By using a dynamic communication toolkit encapsulation method, and leveraging source code conversion and codecs, seamless communication between systems is achieved, solving the problem of complex communication between traditional information systems, improving efficiency, and unifying field naming standards.

CN121664906APending Publication Date: 2026-03-13SHANGHAI INVESTIGATION DESIGN & RES INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-10
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Traditionally, communication between information systems requires developers to handle business logic and separately configure and maintain underlying message components, resulting in a complex and inefficient communication process.

Method used

By using a dynamic communication toolkit to encapsulate methods, utilizing source code conversion methods, encoders, and multiple decoders, event data is converted into target message formats and encapsulated between systems, enabling communication that does not require separate configuration by developers.

Benefits of technology

It enables seamless communication between systems, simplifies the development process, improves communication efficiency, and establishes a standard for field naming conventions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121664906A_ABST
    Figure CN121664906A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of network communication, and discloses a dynamic communication toolkit packaging method, a communication system, a medium and a product, and the method comprises the steps: obtaining event data; a source code conversion method, an encoder and multiple decoders are determined, the source code conversion method is used for converting fields in the message into source codes, the encoder is used for encoding the fields in the message, and the decoders are used for decoding according to the target format to obtain a target message; a source code conversion method, an encoder, a plurality of decoders and a communication module are packaged to obtain a dynamic communication toolkit, the message format of a service system is translated into the message format required by a receiving end to complete communication by packaging the dynamic communication toolkit, and the process is translated by taking a field naming mode of the service system as a standard, so that the communication efficiency is improved. Transmission can be carried out without considering a data field naming mode of a receiving end system, and the process that a developer needs to independently configure and maintain a bottom layer message component in the traditional communication process is omitted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network communication technology, and specifically to a method, apparatus, device, medium, and product for dynamically generating communication toolkits. Background Technology

[0002] When traditional information systems communicate via messages, the communication protocols, message formats, and message contents of the systems are different. Therefore, before transmitting information, it is necessary to rely on prior negotiation between upstream and downstream systems. Thus, before each system communication, developers not only need to handle business logic, but also need to configure and maintain the underlying message components separately. Summary of the Invention

[0003] This invention provides a dynamic communication toolkit encapsulation method, communication system, medium, and product to solve the problem that traditional inter-system communication requires developers to handle business logic and separately configure and maintain underlying message components.

[0004] In a first aspect, the present invention provides a method for encapsulating a dynamic communication toolkit, comprising:

[0005] The process involves acquiring event data, which contains various fields, determining the source code conversion method, encoder, and multiple decoders. The source code conversion method converts each field in the message into source code. The encoder encodes the fields in the message that have been converted into source code, enabling the communication component to transmit the encoded fields. The decoder decodes the encoded fields according to the target format to obtain the target message. Different decoders correspond to different target formats.

[0006] The source code conversion method, encoder, multiple decoders, and communication module are encapsulated to obtain a dynamic communication toolkit. The dynamic communication toolkit is used to receive messages to be sent from the business system, send the messages to be sent using the source code conversion method, encoder, and communication components, or convert the received messages into target messages of the target format using the communication components and decoders.

[0007] By encapsulating source code conversion methods, encoders, various decoders, and communication modules, a dynamic communication toolkit is obtained. This toolkit can convert event data with fixed fields into message formats required by the receiving end through encoding and decoding, thereby achieving inter-system communication without requiring separate configuration and maintenance by developers. Furthermore, this process does not change the field naming conventions; it only translates and transmits the message format, thus establishing a standard for field naming conventions.

[0008] In one alternative implementation, the dynamic communication toolkit further encapsulates a data interception component and a platform communication component. The data interception component is used to extract the transmitted data passing through the dynamic communication toolkit, and the platform communication component is used to send the transmitted data to the management platform so that the management platform can monitor the transmitted data.

[0009] In this embodiment, a method for encapsulating a data interception component in a dynamic communication toolkit is presented. The data interception component is used to obtain data information sent by the sending system and transmit it to the management platform, thereby realizing data monitoring.

[0010] Secondly, the present invention provides a communication system, including a transmitting end system and a receiving end system. The transmitting end system is configured with a first dynamic communication toolkit, and the receiving end system is configured with a second dynamic communication toolkit. The first dynamic communication toolkit and the second dynamic communication toolkit are encapsulated using a dynamic communication toolkit encapsulation method.

[0011] The sending system sends the message to be sent to the first dynamic communication toolkit, and uses the source code conversion method, encoder and communication component in the first dynamic communication toolkit to send the message to be sent to the receiving system.

[0012] The receiving system uses the communication component in the second dynamic communication toolkit to receive the message to be sent, and uses the encoder in the second dynamic communication toolkit to convert the message to be sent into a target message in the target format.

[0013] In this embodiment, the specific workflow of the first dynamic communication toolkit and the second dynamic communication toolkit during the communication process is given.

[0014] In one alternative implementation, the system also includes a management platform.

[0015] The management platform is used to execute a dynamic communication toolkit encapsulation method to encapsulate a general dynamic communication toolkit;

[0016] The sending system downloads and configures the general dynamic communication toolkit through the management platform to obtain the first dynamic communication toolkit.

[0017] The receiving system downloads and configures the general dynamic communication toolkit through the management platform to obtain the second dynamic communication toolkit.

[0018] This embodiment provides a method for encapsulating a dynamic communication toolkit and deploying it separately in the sending and receiving systems.

[0019] In one alternative implementation, the receiving system configures the generic dynamic communication toolkit using protocol information, so that the decoder in the configured second dynamic communication toolkit can convert the format of the received message into a target format that conforms to the protocol information.

[0020] This embodiment provides a method for configuring the second dynamic communication toolkit.

[0021] In one optional implementation, the first dynamic communication toolkit and the second dynamic communication toolkit further encapsulate a data interception component and a platform communication component;

[0022] The first dynamic communication toolkit and the second dynamic communication toolkit use a data interception component to extract the transmitted data passing through the first dynamic communication toolkit and the second dynamic communication toolkit, and send the transmitted data to the management platform so that the management platform can monitor the transmitted data.

[0023] In this embodiment, a method is provided for a management platform to monitor transmitted data by combining the interception component in the dynamic communication toolkit.

[0024] Thirdly, the present invention provides a dynamic communication toolkit encapsulation device, comprising:

[0025] The data acquisition module is used to acquire event data, which contains multiple fields;

[0026] The encapsulation verification module is used to determine the source code conversion method, encoder, and various decoders;

[0027] The toolkit encapsulation module is used to encapsulate source code conversion methods, encoders, various decoders, and communication modules to obtain a dynamic communication toolkit.

[0028] Fourthly, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform a dynamic communication toolkit encapsulation method of the first aspect or any corresponding embodiment described above.

[0029] Fifthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute a dynamic communication toolkit encapsulation method according to the first aspect or any corresponding embodiment described above.

[0030] In a sixth aspect, the present invention provides a computer program product, including computer instructions, which are used to cause a computer to execute a dynamic communication toolkit encapsulation method described in the first aspect or any of its corresponding embodiments. Attached Figure Description

[0031] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0032] Figure 1 This is a schematic diagram of an application scenario according to an embodiment of the present invention;

[0033] Figure 2 This is a schematic diagram of the first step in a dynamic communication toolkit encapsulation method according to an embodiment of the present invention;

[0034] Figure 3 This is a schematic diagram illustrating the method for building a dynamic communication toolkit;

[0035] Figure 4 This is a schematic diagram of the structure of a communication system according to an embodiment of the present invention;

[0036] Figure 5 This is a working logic diagram of the management platform according to an embodiment of the present invention;

[0037] Figure 6 This is a structural block diagram of a dynamic communication toolkit encapsulation device according to an embodiment of the present invention;

[0038] Figure 7 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0040] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.

[0041] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0042] As an optional application scenario of this invention, such as Figure 1 As shown, this dynamic communication toolkit encapsulation system may include at least one terminal device and at least one server. Figure 1 The system is illustrated in the example, which includes a computer 101, a mobile terminal 102, and a server 103, and the terminal devices such as the computer 101 and the mobile terminal 102 are connected to the server 103 through a network 110.

[0043] Specifically, the terminal device can be a smartphone, tablet, laptop, PDA, desktop computer, game console, smart TV, smart wearable device, in-vehicle terminal, VR (Virtual Reality) device, AR (Augmented Reality) device, etc. Server 103 can be a standalone physical server, a server cluster, a distributed system, or a cloud server providing cloud services. Network 110 can be a wired or wireless network, examples of which include, but are not limited to, the Internet, corporate intranet, local area network, wide area network, mobile communication network, and combinations thereof.

[0044] Traditional information systems often communicate via messages, but due to differences in communication protocols, message formats, and message content, prior negotiation between upstream and downstream systems is necessary before information transmission. Therefore, before each system communication, developers not only need to handle business logic but also separately configure and maintain the underlying message components. This solution provides a dynamic communication toolkit encapsulation method. By encapsulating a dynamic communication toolkit, the message format of the business system is translated into the message format required by the receiving end to complete communication. Transmission can be performed without considering the data field naming conventions of the receiving system. This allows business personnel to encapsulate the communication toolkit directly from the user interface, eliminating the need for developers to separately configure and maintain the underlying message components in traditional communication processes.

[0045] According to an embodiment of the present invention, a method for encapsulating a dynamic communication toolkit is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0046] This embodiment provides a method for encapsulating a dynamic communication toolkit, which can be used in mobile terminals such as mobile phones and tablets. Figure 2 This is a flowchart of a dynamic communication toolkit encapsulation method according to an embodiment of the present invention. Figure 3 A schematic diagram illustrating the method for building a dynamic communication toolkit, as follows: Figure 2 As shown, the process includes the following steps:

[0047] Step S201: Obtain event data, which contains multiple fields.

[0048] Event data refers to data that describes the information required for an event using plain text. Event data includes various fields, which refer to the data expected to be included in the event and the format of that data.

[0049] For example, in a login event, the event data may include data such as username, number of logins, and login time. Each event data has a different field name; for example, the username field name can be 'username' and the data format can be text; the login count field name can be 'logintimes' and the data format can be integer; and the login time field name can be 'logintime' and the data format can be date and time.

[0050] Step S202: Determine the source code conversion method, encoder, and multiple decoders.

[0051] The source code conversion method is used to convert each field in the message into source code. The encoder is used to encode the fields in the message that have been converted into source code, so that the communication component can transmit the encoded fields. The decoder is used to decode the encoded fields according to the target format to obtain the target message. Different decoders correspond to different target formats.

[0052] For example, the source code conversion method can use metaprogramming to parse the message content, converting each field in the message into source code according to the syntax format. Then, by invoking the capabilities provided by the encoder, the source code can be directly generated into executable binary machine code, enabling the communication components to transmit the machine code. The decoder can then translate the received machine code into the message format required by the receiving system.

[0053] Step S203: The source code conversion method, encoder, multiple decoders and communication module are encapsulated to obtain a dynamic communication toolkit. The dynamic communication toolkit is used to receive messages to be sent from the business system, send the messages to be sent using the source code conversion method, encoder and communication components, or convert the received messages into target messages of the target format using the communication components and decoders.

[0054] Because the Dynamic Communication Toolkit (DCP) encapsulates both encoders and multiple decoders, the sending system can use the encoders and source code conversion methods within the DCP to convert the message to be sent. At the same time, the receiving end can use different decoders within the DCP to translate the machine code converted by the sending DCP into the required message format.

[0055] This embodiment provides a dynamic communication toolkit encapsulation method. By encapsulating source code conversion methods, encoders, multiple decoders, and communication modules, a dynamic communication toolkit is obtained. This toolkit can convert event data with fixed fields into message formats required by the receiving end through encoding and decoding, thereby achieving inter-system communication without requiring separate configuration and maintenance by developers. Furthermore, this process does not change the field naming conventions; it only translates and transmits the message format, thus establishing a standard for field naming conventions.

[0056] In an optional embodiment, the dynamic communication toolkit also encapsulates a data interception component and a platform communication component.

[0057] The data interception component is used to extract transmitted data through the dynamic communication toolkit, while the platform communication component is used to send the transmitted data to the management platform, enabling the management platform to monitor the transmitted data.

[0058] For example, by writing a callback function and specifying the event type, the system will automatically listen for the event information and execute the callback function automatically after receiving the event data.

[0059] This embodiment provides a method for encapsulating a dynamic communication toolkit, which encapsulates a data interception component within the dynamic communication toolkit. The data interception component is used to obtain data information sent by the sending system and transmit it to the management platform, thereby enabling data monitoring.

[0060] This embodiment provides a communication system. Figure 4 This is a schematic diagram of a communication system structure provided in this embodiment, such as... Figure 4 As shown, it includes:

[0061] The system comprises a sending end system and a receiving end system. The sending end system is configured with a first dynamic communication toolkit, and the receiving end system is configured with a second dynamic communication toolkit. The first dynamic communication toolkit and the second dynamic communication toolkit are encapsulated using a dynamic communication toolkit encapsulation method.

[0062] The first dynamic communication toolkit refers to a dynamic communication toolkit that has been encapsulated and deployed on the sending end system. The second dynamic communication toolkit refers to a dynamic communication toolkit that has been encapsulated and deployed on the receiving end system.

[0063] The sending system sends the message to be sent to the first dynamic communication toolkit, and uses the source code conversion method, encoder and communication component in the first dynamic communication toolkit to send the message to the receiving system.

[0064] The first dynamic communication toolkit can convert the message data of the sending end into source code according to the source code conversion method, then call the encoder's capability to convert the source code into machine code, and then send the machine code to the receiving end system through the communication component.

[0065] The receiving system uses the communication component in the second dynamic communication toolkit to receive the message to be sent, and uses the encoder in the second dynamic communication toolkit to convert the message to be sent into a target message in the target format.

[0066] The second dynamic communication toolkit is used to receive the machine code sent by the first dynamic communication toolkit, and then convert the machine code into a text format required by the receiving system according to the encoder.

[0067] This embodiment provides a communication system, illustrating the specific workflow of the first dynamic communication toolkit and the second dynamic communication toolkit during the communication process.

[0068] In an optional embodiment, the communication system further includes a management platform, which is used to execute a dynamic communication toolkit encapsulation method to encapsulate a general dynamic communication toolkit.

[0069] In one optional embodiment, the operation process of the management platform includes:

[0070] The sending system downloads and configures the general dynamic communication toolkit through the management platform to obtain the first dynamic communication toolkit.

[0071] After the packaged dynamic communication toolkit is deployed in the sending system, the dynamic communication toolkit in the sending system is the first dynamic communication toolkit.

[0072] The receiving system downloads and configures the general dynamic communication toolkit through the management platform to obtain the second dynamic communication toolkit.

[0073] After the packaged dynamic communication toolkit is deployed in the receiving system, the dynamic communication toolkit in the receiving system becomes the second dynamic communication toolkit.

[0074] This embodiment provides a communication system, which illustrates a method for encapsulating a dynamic communication toolkit and deploying it separately in the sending and receiving systems.

[0075] In one optional embodiment, the receiving system configures the general dynamic communication toolkit using protocol information, so that the decoder in the configured second dynamic communication toolkit can convert the format of the received message into a target format that conforms to the protocol information.

[0076] After the receiving system is configured with the second dynamic communication toolkit, the second dynamic communication toolkit is configured so that the decoder can translate the machine code according to the format configured in the configuration file.

[0077] For example, the configuration of the second dynamic communication toolkit is completed by turning on the corresponding text format switch in the configuration file according to the text format required by the receiving system, and turning on the corresponding communication protocol switch in the configuration file according to the communication protocol required by the receiving system. Alternatively, based on auto-configuration technology, the dynamic communication toolkit can be automatically configured by configuring `org.springframework.boot.autoconfigure.AutoConfiguration.imports` in the generated dynamic communication toolkit, enabling the SDK to have automatic configuration and initialization capabilities.

[0078] This embodiment provides a communication system and a method for configuring a second dynamic communication toolkit.

[0079] In an alternative embodiment, Figure 5 This is a working logic diagram of the management platform provided in this embodiment, illustrating the business logic relationship between the dynamic communication toolkit and the management platform in the business process, as well as the basic functions of the management platform. The first and second dynamic communication toolkits also encapsulate data interception components and platform communication components.

[0080] The first dynamic communication toolkit and the second dynamic communication toolkit use a data interception component to extract the transmitted data passing through the first dynamic communication toolkit and the second dynamic communication toolkit, and send the transmitted data to the management platform so that the management platform can monitor the transmitted data.

[0081] The data sent by the sending system is intercepted by the built-in interception component in the dynamic communication toolkit, and the interception information is uploaded to the management platform according to the communication component. The management platform analyzes the information intercepted by the interception component to realize the method of monitoring the transmitted data.

[0082] For example, routing and distribution rules can also be configured in the management platform. According to the routing and distribution rules, when the transmitted data meets the distribution rules, the data can be transmitted to the second dynamic communication toolkit specified in the rules. For example, user resignation can be used as an event rule. When a user submits a resignation application in the system, as long as the system is connected to the second dynamic communication toolkit, an event data containing the user's resignation will be automatically generated. This data will be sent to the relevant data receiving system, such as the attendance system or the financial system, according to the rules.

[0083] This embodiment provides a communication system that demonstrates a method for monitoring transmitted data by combining a management platform with an interception component in a dynamic communication toolkit.

[0084] This embodiment also provides a dynamic communication toolkit encapsulation device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0085] This embodiment provides a dynamic communication toolkit encapsulation device, such as... Figure 6 As shown, it includes:

[0086] The data acquisition module 301 is used to acquire event data, which contains multiple fields.

[0087] The encapsulation verification module 302 is used to determine the source code conversion method, encoder, and various decoders.

[0088] Toolkit encapsulation module 303 is used to encapsulate source code conversion methods, encoders, various decoders and communication modules to obtain a dynamic communication toolkit.

[0089] The dynamic communication toolkit encapsulation device provided in this embodiment of the invention can execute the dynamic communication toolkit encapsulation method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method execution. Further functional descriptions of the various modules and units described above are the same as in the corresponding embodiments described above, and will not be repeated here.

[0090] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.

[0091] The following is a detailed reference. Figure 7The diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 501, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 502 or a program loaded from memory 508 into random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device. The processor 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0092] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0093] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a memory 508, or installed from a ROM 502. When the computer program is executed by the processor 501, it performs the functions defined in a dynamic communication toolkit encapsulation method according to embodiments of the present invention.

[0094] Figure 7 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.

[0095] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium after being downloaded via a network. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, it implements the dynamic communication toolkit encapsulation method shown in the above embodiments.

[0096] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0097] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for encapsulating a dynamic communication toolkit, characterized in that, The method includes: Obtain event data, which contains multiple fields; The code source conversion method, encoder, and multiple decoders are determined. The code source conversion method is used to convert each field in the message into source code. The encoder is used to encode the fields in the message that have been converted into source code, so that the communication component can transmit the encoded fields. The decoder is used to decode the encoded fields according to the target format to obtain the target message. Different decoders correspond to different target formats. The source code conversion method, encoder, multiple decoders, and communication module are encapsulated to obtain a dynamic communication toolkit. The dynamic communication toolkit is used to receive messages to be sent from the business system, and send the messages to be sent using the source code conversion method, encoder, and communication components, or to convert the received messages into target messages of the target format using the communication components and decoders.

2. The method according to claim 1, characterized in that, The dynamic communication toolkit also encapsulates a data interception component and a platform communication component. The data interception component is used to extract the transmitted data passing through the dynamic communication toolkit, and the platform communication component is used to send the transmitted data to the management platform so that the management platform can monitor the transmitted data.

3. A communication system, characterized in that, The system includes a sending system and a receiving system. The sending system is configured with a first dynamic communication toolkit, and the receiving system is configured with a second dynamic communication toolkit. The first and second dynamic communication toolkits are encapsulated using the method described in claim 1. The sending system sends the message to be sent to the first dynamic communication toolkit, and uses the source code conversion method, encoder and communication component in the first dynamic communication toolkit to send the message to be sent to the receiving system; The receiving system uses the communication component in the second dynamic communication toolkit to receive the message to be sent, and uses the encoder in the second dynamic communication toolkit to convert the message to be sent into a target message in the target format.

4. The system according to claim 3, characterized in that, The system also includes a management platform. The management platform is used to execute the method described in claim 1 to encapsulate a general dynamic communication toolkit; The sending system downloads and configures the general dynamic communication toolkit through the management platform to obtain the first dynamic communication toolkit. The receiving system downloads and configures the general dynamic communication toolkit through the management platform to obtain the second dynamic communication toolkit.

5. The system according to claim 4, characterized in that, The receiving system configures the general dynamic communication toolkit using protocol information, so that the decoder in the configured second dynamic communication toolkit can convert the format of the received message into a target format that conforms to the protocol information.

6. The system according to claim 4, characterized in that, The first dynamic communication toolkit and the second dynamic communication toolkit also encapsulate data interception components and platform communication components. The first dynamic communication toolkit and the second dynamic communication toolkit use the data interception component to extract the transmission data passing through the first dynamic communication toolkit and the second dynamic communication toolkit, and send the transmission data to the management platform so that the management platform can monitor the transmission data.

7. A dynamic communication toolkit generation device, characterized in that, The device includes: The data acquisition module is used to acquire event data, which contains multiple fields; The encapsulation verification module is used to determine the source code conversion method, encoder, and various decoders; The toolkit encapsulation module is used to encapsulate the source code conversion method, encoder, multiple decoders and communication module to obtain a dynamic communication toolkit.

8. An electronic device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform a dynamic communication toolkit encapsulation method according to any one of claims 1 to 5.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute a dynamic communication toolkit encapsulation method according to any one of claims 1 to 5.

10. A computer program product, characterized in that, It includes computer instructions for causing a computer to execute a dynamic communication toolkit encapsulation method according to any one of claims 1 to 5.