A component decoupling method and system

A technology of decoupling and components, applied in the field of decoupling methods and systems of components, can solve the problem of high degree of mutual coupling

Active Publication Date: 2021-04-27
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a component decoupling method and system to solve or partially solve the technical problem of high mutual coupling between components

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 component decoupling method and system
  • A component decoupling method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to enable those skilled in the technical field to which the application belongs to understand the application more clearly, the technical solutions of the application will be described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0048] In order to solve the above problems, the embodiment of the present invention adopts the method of signal slot, and transfers the communication between the application program and the component by using the method of signal slot, thereby reducing the correlation degree between the components. In addition, the present invention designs several core events, so that components concerned by other components can subscribe, components do not need to interact with each other, and do not need to know each other, and the distribution of events to subscribers does not need to know each other, thus extremely The big ones are decoupled.

[0049] In the specific implementation process, first r...

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 component decoupling method and system. First, M components, N application program event interfaces, and signal slot modules are set; the signal slot modules are used to connect the M components and the N Between the application program event interfaces, it is used to receive the status acquisition requests of each component; and then obtain the corresponding application program event execution status from the corresponding application program event interfaces based on the status acquisition requests of each component. Therefore, the communication between the application program and the components can be transferred by means of signal slots, thereby reducing the degree of correlation between components.

Description

technical field [0001] The present application relates to the field of live broadcast technology, and in particular to a method and system for decoupling components. Background technique [0002] At present, with the development of the mobile Internet, the functions of the mobile APP are becoming more and more abundant, accompanied by more and more corresponding codes in the mobile program, the code compilation time increases, and the logic becomes more complicated. . [0003] The degree of coupling refers to the degree of close relationship between two components. Reducing the degree of coupling between two components can reduce the degree of interdependence between components. [0004] However, due to the high degree of coupling among the current mobile terminal codes, when the application program is running, the mutual coupling degree among the components is relatively high, which is not conducive to the independent maintenance of the components. Contents of the invent...

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): G06F8/41G06F9/448G06F9/445
CPCG06F8/4441G06F9/44578
Inventor 周志刚张文明陈少杰
Owner WUHAN DOUYU NETWORK 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