Inter-module communication method and device

A communication method and a technology of a communication device, which are applied in the computer field, can solve the problems of complex synchronization at both ends and low efficiency, and achieve the effects of easy troubleshooting and simple communication between modules

Active Publication Date: 2020-10-13
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the protocol changes, the synchronization problem at both ends will also be c

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Inter-module communication method and device
  • Inter-module communication method and device
  • Inter-module communication method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0026] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0027] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0028] figure 1 An exemplary system architecture 100 to which embodiments of the inter-module communication method or the inter-module communication device of the present application can be applied is shown.

[0029] like figure 1 As shown, the system architecture 100 may ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses an inter-module communication method and device. A specific embodiment of the inter-module communication method comprises the steps of sending a pre-generatedstorage address of a compressed file of a first module to a second module; downloading the compressed file from the storage address by utilizing a pre-configured compiling interface of the second module; determining whether a class identifier corresponding to the interface provided by the first module exists in the compressed file or not; in response to the existence of the identifier, obtaininga class corresponding to the interface provided by the first module based on the identifier; adding the class corresponding to the interface provided by the first module as the compiling dependence ofthe second module; and compiling the second module, so that the second module references the interface provided by the first module to communicate with the first module. According to the embodiment,a new inter-module communication mode is provided, so that the inter-module communication is simpler.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method and device for inter-module communication. Background technique [0002] With the development of business, most applications tend to become larger and more bloated, with more and more developers. As there are more and more business types, the dependencies and coupling between them will become higher and higher. The mutual communication between businesses will lead to more and more codes being put into the basic project. Over time, the code in the basic project cannot be modified at will. Therefore, the application needs to be split into multiple modules, and the communication between modules is particularly important at this time. [0003] At present, the communication methods between modules mainly include the following two types: First, the Event bus is used as a communication medium between modules. It is characterized by being sui...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F13/12
CPCG06F13/126G06F13/122
Inventor 赵慧艳朱立军王昭霞
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products