Method and device for loading plugin in live broadcast software

A plug-in and software technology, applied in the computer field, can solve problems such as poor stability, and achieve the effect of reducing impact, improving stability, and avoiding crashes

Inactive Publication Date: 2017-11-28
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for loading plug-ins in live broadcast software to solve the technical problem of poor stability in the method for loading plug-ins in the prior art

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 device for loading plugin in live broadcast software
  • Method and device for loading plugin in live broadcast software
  • Method and device for loading plugin in live broadcast software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0085] This embodiment provides a method for loading plug-ins in live broadcast software, such as figure 1 As shown, the method includes:

[0086] Step S101: Obtain a target plug-in to be loaded into the main program process corresponding to the live broadcast software based on a preset directory;

[0087] Step S102: Create a plug-in loading process;

[0088] Step S103: establishing a remote procedure call protocol connection between the plug-in loading process and the main program process;

[0089] Step S104: loading the target plug-in into the plug-in loading process;

[0090] Step S105: Based on the remote procedure call protocol connection, enable the main program process to load the target plug-in loaded into the plug-in loading process.

[0091] It should be noted that the above-mentioned live broadcast software is an application program for providing live broadcast services, and the method for loading a plug-in in the live broadcast software provided by the present i...

Embodiment 2

[0125] This embodiment provides a method for loading plug-ins in live broadcast software, please refer to figure 2 , the method includes:

[0126] Step S201: Obtain a target plug-in to be loaded into the main program process corresponding to the live broadcast software based on a preset directory;

[0127] Step S202: call the plug-in grabbing function through the main program process, and call the system interface to create a plug-in loading process through the plug-in grabbing function;

[0128] Step S203: using the plug-in loading process as the client of the protocol connection, and the main process as the server of the protocol connection, establishing a remote procedure call protocol connection between the plug-in loading process and the main program process;

[0129] Step S204: Load the target plug-in into the plug-in loading process;

[0130] Step S205: Based on the remote procedure call protocol connection, enable the main program process to load the target plug-in ...

Embodiment 3

[0134] This embodiment provides a device for loading plug-ins in live broadcast software, please refer to image 3 , the device consists of:

[0135] An acquisition module 301, configured to acquire a target plug-in to be loaded into the main program process corresponding to the live broadcast software based on a preset directory;

[0136] Create a module 302 for creating a plug-in loading process;

[0137] A connection module 303, configured to establish a remote procedure call protocol connection between the plug-in loading process and the main program process;

[0138] The first loading module 304 is configured to load the target plug-in into the plug-in loading process;

[0139] The second loading module 305 is configured to enable the main program process to load the target plug-in loaded into the plug-in loading process based on the remote procedure call protocol connection.

[0140] The device for loading a plug-in in the live broadcast software provided by this embo...

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 device for loading plugin in live broadcast software. The method includes: acquiring a target plugin to be loaded into a main program process corresponding to the live broadcast software on the basis of a preset catalog; creating a plugin loading process, establishing remote procedure call protocol connection between the plugin loading process and the main program process, and loading the target plugin into the plugin loading process; based on the remote procedure call protocol connection, enabling the main program process to realize loading of the target plugin loaded into the plugin loading process. By the method and the device, the technical problem that plugin loading methods in the prior art are low in stability is solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for loading plug-ins in live broadcast software. Background technique [0002] With the development of computer technology, the application of electronic equipment is becoming more and more extensive, and there are more and more application programs on electronic equipment, and as the user's demand for application program functions changes, the update and changes of application programs are also more frequent , when the application program changes, the user needs to re-download the new application program, which increases the resource consumption of the system. [0003] In order to solve the above problems, the method of loading the plug-in in the application is adopted to realize the update of the application, but because the plug-in has high requirements on the running environment, when the running environment is unstable, the plug-in is prone to crash, an...

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): G06F9/445
CPCG06F9/44526
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