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

Mechanism for reducing software coupling degree through software type data interaction bus

A technology of data interaction and coupling degree, which is applied in the direction of electrical digital data processing, program control design, multi-program device, etc., can solve the problems of reducing coupling degree, coarse granularity, reducing software coupling degree, and poor scalability, so as to reduce cooperative coupling degree, the convenience of development and debugging, and the effect of reducing the degree of coupling

Pending Publication Date: 2022-06-03
夏春萌
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Reducing the degree of software coupling through design patterns Usually, the mode design is relatively single, and there are coupling degrees among multiple design modes; the granularity of reducing the coupling degree of a single mode is relatively coarse, which cannot solve the logical dependencies inside the module, and the fine-grained coupling degree still exists
[0006] Reduce the degree of software coupling by reducing logical dependencies. Most of the degree of software coupling is caused by direct or indirect dependencies between logics. The dependencies at the grammatical level can be resolved or reduced through programming skills, but the dependencies between logics are unavoidable. Calls between logics occur at any time. If you reduce software dependencies by reducing logic requirements, you will reduce coupling by sacrificing software functions.
[0007] Reducing software coupling through software frameworks is more dependent on existing software frameworks. Software frameworks are similar to design patterns that reduce coupling through top-level design, which can reduce coupling at the top level of software to a certain extent. However, the framework limits the implementation of software. The scope must be implemented according to the framework specifications, the flexibility of software implementation cannot be guaranteed, and the scalability is relatively poor. At the same time, similar to the pattern design, it cannot solve the logic coupling degree inside the module.

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
  • Mechanism for reducing software coupling degree through software type data interaction bus
  • Mechanism for reducing software coupling degree through software type data interaction bus
  • Mechanism for reducing software coupling degree through software type data interaction bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0039] see Figure 1-8 , in this embodiment of the present invention, a mechanism for reducing software coupling through a software-based data interaction bus includes a data interaction bus 5, a standardized message 1, a subscriber 7, a publisher 10, uplink data 22, downlink data 23, and based on the The universal development framework 17 formed by the mechanism is characterized in that: the universal development framework 17 include...

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 mechanism for reducing the software coupling degree through a software type data interaction bus, which is a universal development framework for realizing data interaction based on publishing and subscribing, and aims to isolate a publisher from a subscriber through bus type management so as to realize the purposes of reducing the software coupling degree and improving the software coupling degree. The output end of the subscriber is connected with the input end of the connection module, the service management module is in bidirectional connection with the publisher, the data publisher and the data subscriber are independently defined through isolation of a bus, and the publisher only cares about data collection and publishing and does not cares about how a user uses data; a subscriber only cares about required data and does not cares about how to generate the data, a publisher and the subscriber carry out uplink data and downlink data interaction through an asynchronous interface of a bus, the data is in a standard data format and is packaged into standard data interfaces of attributes, methods, notifications and the like, the bus is responsible for data synchronization and notifications, and the publisher and the subscriber carry out uplink data and downlink data interaction through the asynchronous interface of the bus. Standardized messages are transmitted on the bus, multiple data formats are supported, and a universal development framework is formed through the mechanism.

Description

technical field [0001] The invention relates to the technical field of software coupling, in particular to a mechanism for reducing software coupling through a software-type data interaction bus. Background technique [0002] Coupling (English: Coupling, dependency, or coupling force or coupling degree) is a software measure, which refers to the degree of information or parameter dependence between modules and modules in a program. Cohesion is a concept opposite to coupling. Generally speaking, low coupling means high cohesion and vice versa. Both coupling and cohesion were proposed by Larry Constantine who proposed the concept of structured design [1]. Low coupling is a characteristic of well-structured programs, and low-coupling programs are more readable and maintainable. [0003] At present, there are usually four ways to reduce software coupling: reducing software coupling through programming skills, reducing software coupling through design patterns, reducing softwar...

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 Applications(China)
IPC IPC(8): G06F13/38G06F13/42G06F9/50
CPCG06F13/382G06F13/4208G06F9/5027Y02D10/00
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