Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Communication system and method between encapsulation classes

A communication system and communication method technology, applied in the field of communication systems between encapsulated classes, can solve problems such as class method expansion, increased business communication volume, complicated program changes, etc., and achieve the effect of solving data communication and low coupling dependence.

Active Publication Date: 2020-05-12
桂林远望智能通信科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of this invention is to provide a communication system and method between encapsulation classes. The technical problems to be solved are: the business communication volume between modules must increase, the methods of classes will expand, and the mutual reference between classes will lead to complicated program changes when requirements change. change

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
  • Communication system and method between encapsulation classes
  • Communication system and method between encapsulation classes
  • Communication system and method between encapsulation classes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0045] Such as figure 2 As shown, a communication method between encapsulation classes includes the following steps:

[0046] Step S1. Generate a message, perform type identification on the message, and transmit the message according to the corresponding type obtained through identification;

[0047] Step S2. Perform information processing on the transmitted message, find out whether there is a corresponding message processing method, if yes, execute according to the corresponding message processing method; if not, discard the message;

[0048] The communication between classes is carried out using the observer mode, which effectively solves the processing of messages between classes. The observer mode communicates internally in the software to achieve high internal aggregation of classes, low coupling dependencies between classes, and realizes class integration. Separation, the separation of business layer and data layer, can effectively solve the data communication between...

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 relates to a communication system and method among package classes. The system comprises a message sending class, a first interface class, a message management class, a second interface class and a message receiving class, wherein the message sending class is used for generating a message and sending the message to the message management class through the first interface class, the message management class is used for seeking a corresponding message receiving class according to a message type and sending the message to the message receiving class through the second interface class, and the message receiving class is used for performing information process on the message, seeking whether a corresponding message processing method exists or not, executing according to the corresponding message processing method if the corresponding message processing method exists and abandoning the message if the corresponding message processing method does not exist. Compared with the prior art, the method has the advantages that internal high polymerization of the classes is achieved, and low-coupling dependence is generated between the classes; by separation of a service layer and a data layer, data communication among the classes can be effectively solved; and parallel development of different modules is facilitated.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a communication system and method between packaging classes. Background technique [0002] The project requires modularization to realize functions, unified interface to realize communication, and multi-person parallel development, which requires a scalable framework. The same case has the same set of functional operations, and different cases cannot have cross data. After modularization, the business communication volume between modules must increase. The increase of modules will inevitably lead to management consumption. [0003] In the prior art, in the communication between classes, a fixed sending method and a receiving method are set to complete the transmission of specific messages. When there are more message types, the method of the class will be expanded. Mutual references between classes complicate program changes when requirements change. Contents of the i...

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
CPCG06F9/546
Inventor 蔡晓东杨波
Owner 桂林远望智能通信科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products