A communication method for software modules

A communication method and software module technology, applied in the field of computer communication, can solve the problems of communication system not working normally, inflexible communication mode, small communication volume, etc., and achieve the effect of convenient release of parameters, flexible communication mode and low overhead

Active Publication Date: 2018-04-27
深圳市高视数字技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the communication between modules between different hosts of the same communication system has defects such as small communication volume, high overhead, and inflexible communication methods, and the current communication method, the collapse of modules will have a great impact on the entire communication system, resulting in The communication system is not working properly

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
  • A communication method for software modules
  • A communication method for software modules

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The invention provides a software module communication method, the structure of the communication network is as follows figure 1 As shown, it includes a control module and multiple working modules connected to the control module in a star structure. Each working module is only connected to a unique control module and communicates with the distributed network through the control module. Specifically, the following communication steps are included: module registration steps, parameter name registration release step, request parameter name registration step, release parameter step, query parameter step and set parameter step.

[0045] Further as a preferred embodiment, the module registration step includes:

[0046] A1. After each working module binds an IP address and a UDP port according to the configuration file, establish a UDP connection to the control module;

[0047] A2, the working module sends a module registration command including module registration informatio...

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 software module communication method. A communication network comprises control modules and a plurality of work modules connected with the control modules into a star-shaped structure, each work module is only connected with one unique control module and is in communication with the distributed network through the control modules. The method includes the following communication steps of module registration, parameter name registration and release, required parameter name registration, parameter release, parameter inquiry and parameter setting. In the communication method, the work modules can release and inquire parameters conveniently and can obtain information of required parameters in time, flat management of the work modules is achieved, and therefore each work module can release messages and make the other work modules receive the messages. The method is low in expenditure and flexible in communication mode, the influences of crash of the work modules on the communication network can be minimum, and the method can be widely applied to software module communication.

Description

technical field [0001] The invention relates to the field of computer communication, in particular to a method for communicating software modules in a distributed network through flat management. Background technique [0002] At present, common software module communication methods are applicable to the same host, and are implemented through interfaces provided by the operating system, such as through messages, mailboxes, queues, etc. to achieve communication. However, with the development of sub-module development technology, how to make the modules of different hosts communicate becomes an important issue. At present, the communication between modules between different hosts of the same communication system has defects such as small communication volume, high overhead, and inflexible communication methods, and the current communication method, the collapse of modules will have a great impact on the entire communication system, resulting in The communication system is not ...

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): H04L29/12H04L29/06
CPCH04L67/10H04L67/30
Inventor 陈聪
Owner 深圳市高视数字技术有限公司
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