Communication method and device based on plug-in compatibility, equipment and storage medium
A communication method and plug-in technology, applied in the computer field, can solve problems such as uncontrollable risks and huge processing costs, and achieve the effect of reducing complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] see figure 1 , figure 1 It is a schematic flowchart of a communication method based on plug-in compatibility disclosed in the embodiment of this application. like figure 1 As shown, the plug-in compatible communication method in the embodiment of the present application includes the following steps:
[0046] 101. When it is detected that the upper-layer application program needs to perform data interaction with the lower-layer communication module, obtain a communication plug-in for realizing communication between the upper-layer application program and the lower-layer communication module;
[0047] 102. Create a plug-in instance according to the type identifier of the communication plug-in;
[0048] 103. Call the communication function of the plug-in instance to communicate with the kafka message queue of the lower communication module.
[0049]In some scenarios, the communication device is first installed with a pykafka plug-in, that is, the pykafka plug-in acts a...
Embodiment 2
[0074] see image 3 , image 3 It is a schematic structural diagram of a plug-in compatible communication device disclosed in the embodiment of this application. like image 3 As shown, the plug-in compatible communication device disclosed in the embodiment of the present application includes the following functional modules:
[0075] Obtaining module 201, is used for when detecting that the upper-level application program needs to carry out data interaction with the lower-level communication module, obtain the type identification of the communication plug-in, and the plug-in in the upper-level application program is used to communicate with the kafka message queue of the lower-level communication module;
[0076] An instance creation module 202, configured to obtain a plug-in instance according to the type identification of the communication plug-in;
[0077] The communication module 203 is configured to communicate with the kafka message queue of the lower layer communica...
Embodiment 3
[0084] see Figure 4 , Figure 4 It is a schematic structural diagram of a communication method based on plug-in compatibility disclosed in the embodiment of this application. like Figure 4 As shown, the plug-in compatible communication device disclosed in the embodiment of the present application includes:
[0085] a memory 302 storing executable program code;
[0086] a processor 301 coupled to the memory;
[0087] The processor 301 invokes the executable program code stored in the memory 302 to execute the communication method based on plug-in compatibility in the embodiment of the present application.
[0088] The device in the embodiment of the present application can be compatible with two kinds of plug-ins through the execution method, and enables the upper-layer application program to communicate with the lower-layer communication module on the premise of not knowing the plug-in type referenced by the lower-layer communication module. The version requirements are...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com