Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for communication between components and communication processor

A communication processor and event processing technology, applied in the computer field, can solve the problems of increasing logical coupling between components and affecting component A, and achieve the effect of reducing coupling and complexity

Active Publication Date: 2016-06-29
BEIJING QIHOO TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the biggest disadvantage of using a global array to communicate between components is that the logical coupling between components is greatly increased. In other words, the logic modification in component B may affect component A

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
  • Method and system for communication between components and communication processor
  • Method and system for communication between components and communication processor
  • Method and system for communication between components and communication processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0017] figure 1 A signaling flowchart of a method for communication between components according to an embodiment of the present invention is shown. Such as figure 1 As shown, the method is suitable for execution at a communication processor. The method starts in step S101. In step S101, the communication processor receives an event sent by the communication component. Events have corresponding event types....

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 invention discloses a method and a system for communication between components and a communication processor, wherein the method for communication between the components comprises the following steps: the communication processor receives an event transmitted by a communication component, the event has a corresponding event type, the communication processor comprises an event processing list which comprises one or more event processing information, each event processing information comprises an event type and an event monitor list related to the event type, the event monitor list comprises one or more event monitors of the communication component registered to process the event type; and the event is processed by calling the event monitor in the event monitor list of the event processing information according to the event processing information corresponding to the event type of the event. Due to the adoption of the technical scheme of the invention, the communication between the components becomes independent, and the coupling between the components and the complexity of the system are reduced.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to a method and system for communication between components and a communication processor. Background technique [0002] In a complex communication system, many components are often divided according to different functions. In order to reduce the complexity of the entire system, it is necessary to reduce the coupling between components as much as possible. In most cases, these components do not interfere with each other and execute independent logic. However, in some complex application scenarios, communication between components is required to control the flow of the system. For example, when component A opens the view window, it needs to close the view window of component B. [0003] A common way to achieve communication between components is to use a global array to record all component instances. When component A needs to send a message to component B, component A will acces...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54
Inventor 黄欢
Owner BEIJING QIHOO TECH CO LTD