CN108108170B - Decoupling method and system of assembly - Google Patents

Decoupling method and system of assembly Download PDF

Info

Publication number
CN108108170B
CN108108170B CN201810008831.1A CN201810008831A CN108108170B CN 108108170 B CN108108170 B CN 108108170B CN 201810008831 A CN201810008831 A CN 201810008831A CN 108108170 B CN108108170 B CN 108108170B
Authority
CN
China
Prior art keywords
event
application program
signal
component
interfaces
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810008831.1A
Other languages
Chinese (zh)
Other versions
CN108108170A (en
Inventor
周志刚
张文明
陈少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810008831.1A priority Critical patent/CN108108170B/en
Publication of CN108108170A publication Critical patent/CN108108170A/en
Application granted granted Critical
Publication of CN108108170B publication Critical patent/CN108108170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/443Optimisation
    • G06F8/4441Reducing the execution time required by the program code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Abstract

The invention discloses a decoupling method and a decoupling system of components, wherein M components, N application program event interfaces and a signal slot module are arranged at first; connecting the M components and the N application program event interfaces by using a signal slot module, and receiving state learning requests of the components; and then acquiring a corresponding application program event execution state from a corresponding application program event interface based on the state learning request of each component. Therefore, the communication between the application program and the components can be transferred in a signal slot mode, and the association degree between the components is further reduced.

Description

Decoupling method and system of assembly
Technical Field
The present application relates to the field of live broadcast technologies, and in particular, to a method and a system for decoupling a component.
Background
At present, with the development of the mobile terminal internet, the functions of the mobile terminal APP are more and more abundant, and along with the more and more corresponding codes in the mobile terminal program, the code compiling time is increased, and the logic becomes more complex.
The coupling degree refers to the degree of close relation between two components, and the coupling degree between the two components is reduced, so that the degree of interdependence between the components can be reduced.
However, because the coupling degree between codes of the current mobile terminal is high, the mutual coupling degree between components is high when the application program is operated, and the individual maintenance of the components is not facilitated.
Disclosure of Invention
The invention provides a decoupling method and a decoupling system of components, which aim to solve or partially solve the technical problem of high mutual coupling degree among the components.
In order to solve the above technical problem, the present invention provides a method for decoupling a component, which is applied to a decoupling system of the component, wherein the system includes M components, N application event interfaces, and a signal slot module; the signal slot module is connected between the M components and the N application event interfaces;
the method comprises the following steps:
receiving a state learning request of each component;
and acquiring a corresponding application program event execution state from a corresponding application program event interface based on the state learning request of each component.
Preferably, the application program comprises N application program events, where the N application program events include an initialization event, an exit event, an application program start event, and an application program exit event; each application event corresponds to a function of the application; the occurrence of each application event indicates the execution of the corresponding function;
before receiving the state learning request of each component, the method further includes:
an interface is created for each application event.
Preferably, before receiving the status learning request of each component, the method further includes:
and setting and establishing N signal acquisition interfaces for the signal slot module, wherein the N signal acquisition interfaces are used for carrying out data transmission with corresponding application program event interfaces so as to acquire corresponding application program events.
Preferably, before receiving the status learning request of each component, the method further includes:
corresponding application events are bound for each component.
Preferably, the binding of the application event corresponding to each component specifically includes:
obtaining initialized callback functions of each component, and triggering and calling when a state signal generated when a corresponding application program event runs arrives;
and binding the callback function of each component with the N signal acquisition interfaces.
Preferably, after receiving the status learning request of each component, the method further includes:
and receiving the running state of each application program event in real time.
Preferably, the obtaining of the corresponding application event execution state from the corresponding application event interface based on the state learning request of each component specifically includes:
and triggering the N acquisition signal interfaces to acquire the running state parameters of the corresponding application program events.
And triggering callback functions of the components to operate and call the corresponding running state parameters based on the condition that the running state parameters of the corresponding application program events are obtained by the N signal obtaining interfaces.
The invention discloses a decoupling system of a component, comprising:
m components;
n application program event interfaces, each application program event interface is used for transmitting the execution state of the corresponding program event;
the signal slot module is connected between the M assemblies and the N application program event interfaces and is provided with a corresponding interface slot for each application program event; the device comprises a state acquisition module, a state acquisition module and a corresponding application program event interface, wherein the state acquisition module is used for receiving the state acquisition request of each component and acquiring the corresponding application program event execution state from the corresponding application program event interface based on the state acquisition request of each component.
Preferably, the application program comprises N application program events, where the N application program events include an initialization event, an exit event, an application program start event, and an application program exit event; each application event corresponds to a function of the application; the occurrence of each application event indicates the execution of the corresponding function;
the system further comprises:
the first creating module is used for creating an interface for each application program event before receiving the state learning request of each component.
Preferably, the system further comprises:
and the second creation module is used for setting and creating N signal acquisition interfaces for the signal slot module before receiving the state learning request of each component, wherein the N signal acquisition interfaces are used for carrying out data transmission with corresponding application program event interfaces so as to acquire corresponding application program events.
Preferably, the system further comprises:
and the binding module is used for binding corresponding application program events for each component before receiving the state learning request of each component.
Preferably, the binding module specifically includes:
the obtaining module is used for obtaining initialized callback functions of all the components and triggering and calling when a state signal generated when a corresponding application program event runs arrives;
and the binding submodule is used for binding the callback function of each component with the N signal acquisition interfaces.
Preferably, the signal slot module is specifically configured to receive the running state of each application event in real time after receiving the state learning request of each component.
Preferably, the signal slot module is specifically configured to trigger the N signal acquisition interfaces to acquire an operating state parameter of a corresponding application event; and triggering callback functions of the components to operate and call the corresponding running state parameters based on the condition that the running state parameters of the corresponding application program events are obtained by the N signal obtaining interfaces.
The invention discloses a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
The invention discloses a computer device, comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the method when executing the program.
Through one or more technical schemes of the invention, the invention has the following beneficial effects or advantages:
the invention discloses a decoupling method and a decoupling system of components, wherein M components, N application program event interfaces and a signal slot module are arranged at first; connecting the M components and the N application program event interfaces by using a signal slot module, and receiving state learning requests of the components; and then acquiring a corresponding application program event execution state from a corresponding application program event interface based on the state learning request of each component. Therefore, the communication between the application program and the components can be transferred in a signal slot mode, and the association degree between the components is further reduced.
Drawings
FIG. 1 is an architecture diagram of a system for decoupling components in an embodiment of the present invention;
fig. 2 is a diagram of an implementation process of a method for decoupling a component according to an embodiment of the present invention.
Detailed Description
In order to make the present application more clearly understood by those skilled in the art to which the present application pertains, the following detailed description of the present application is made with reference to the accompanying drawings by way of specific embodiments.
In order to solve the above problem, in the embodiments of the present invention, a signal slot manner is adopted, and communication between an application and a component is relayed by using the signal slot manner, so as to reduce a degree of association between the components. In addition, the invention designs events of a plurality of cores, so that the concerned components of other components can subscribe, the components do not need to interact with each other or know each other, the distribution of the events to subscribers does not need to know each other, and the decoupling is greatly carried out.
In a specific implementation, and referring first to fig. 1, a system for decoupling components is described, comprising: m components 1, N application program event interfaces 2 and a signal slot module 3;
n application program event interfaces 2, each application program event interface is used for transmitting the execution state of the corresponding program event;
the signal slot module 3 is connected between the M assemblies 1 and the N application program event interfaces 2 and is provided with a corresponding interface slot for each application program event; the device comprises a state acquisition module, a state acquisition module and a corresponding application program event interface, wherein the state acquisition module is used for receiving the state acquisition request of each component and acquiring the corresponding application program event execution state from the corresponding application program event interface based on the state acquisition request of each component.
In a specific implementation process, the application program comprises N application program events, wherein the N application program events comprise an initialization event, an exit event, an application program starting event and an application program exit event; each application event corresponds to a function of the application; the occurrence of each application event indicates the execution of the corresponding function; further, the above system further comprises: the first creating module is used for creating an interface for each application program event before receiving the state learning request of each component.
Further, the above system further comprises: and the second creation module is configured to create N acquisition signal interfaces for the signal slot module 3 before receiving the state learning request of each component, where the N acquisition signal interfaces are used for performing data transmission with corresponding application event interfaces, and further acquiring corresponding application events.
Further, the above system further comprises: and the binding module is used for binding corresponding application program events for each component before receiving the state learning request of each component.
Further, the binding module specifically includes:
the obtaining module is used for obtaining initialized callback functions of all the components and triggering and calling when a state signal generated when a corresponding application program event runs arrives;
and the binding submodule is used for binding the callback function of each component with the N signal acquisition interfaces.
Further, the signal slot module 3 is specifically used for
And receiving the running state of each application program event in real time after receiving the state learning request of each component.
The signal slot module 3 is specifically configured to trigger the N acquisition signal interfaces to acquire the operating state parameters of the corresponding application events. And triggering callback functions of the components to operate and call the corresponding running state parameters based on the condition that the running state parameters of the corresponding application program events are obtained by the N signal obtaining interfaces.
Based on the same inventive concept, in the embodiment of the present invention, a decoupling method of a component is disclosed, and referring to fig. 2, the method includes:
step 11, receiving a status learning request of each component.
And step 12, acquiring a corresponding application program event execution state from a corresponding application program event interface based on the state learning request of each component.
In a specific implementation process, before receiving a state learning request of each component, corresponding settings are respectively performed on M components, N application program event interfaces, and a signal slot module.
Further, the application program comprises N application program events, where the N application program events include an initialization event, an exit event, an application program start event, and an application program exit event; each application event corresponds to a function of the application; the occurrence of each application event indicates the execution of the corresponding function;
an interface is created for each application event before receiving the state-aware requests for the components.
In a specific implementation process, an event which is most mainly concerned by the mobile terminal APP comprises an initialization event, an exit event, an APP opening to a foreground event, and an APP exiting to a background event. The implementation of the embodiment of the invention realizes the subscription and monitoring of the events based on a signal slot mechanism provided by a BOOST open source library.
An event interface is designed for events that need to be concerned by the component. For example, each component may care about the creation event of the whole APP, so as to perform some initialization work, such as applying for resources, initializing variables, and the like, and care about the exit event of the whole APP, so as to perform some exit work, such as releasing resources, care about activating the whole APP to a foreground interface, and care about exiting the whole APP to a system background. Therefore, in the embodiment of the present invention, an interface is designed for each event, as shown below.
Initializing an interface:
void OnCreate();
exiting the interface:
void OnDestroy();
APP activation to foreground interface:
Void OnForeground();
the interface of the events which need to be concerned by the component is completed through the steps.
As an optional embodiment, before receiving a state learning request of each component, N acquisition signal interfaces are set and created for the signal slot module 3, where the N acquisition signal interfaces are used for performing data transmission with corresponding application event interfaces, and further acquiring corresponding application events.
In the process of processing the signal slot module 3, the embodiment of the present invention uses the open source bank Boost, which provides a signal slots mechanism signals2, and the signal slots implement an observation mode of thread safety.
Among them, signals2 has an important operation function of connect, which connects the slot to the signal, including function pointer, function object, and can flexibly process the connection and disconnection between the signal and slot function through the signal and slot mechanism. For each event, embodiments of the present invention define a signal signals2 to implement the signal and slot mechanism. The concrete implementation is as follows:
signals for initiating events
For the initialization interface OnCreate, the interface for writing an acquisition signal in the embodiment of the present invention corresponds to the initialization interface:
signals2::signal<void()>&GetSignalOnCreate()
{
the GetSignalOnCreate is an interface for acquiring signals written in the embodiment of the present invention, and is used to communicate with the initialization interface, so as to acquire the execution state in the initialization interface.
static signals2::signal<void()>SigOnCreate;
A static variable signal signals2 is defined, the example object SigOnCreate of the signal.
return SigOnCreate;
The instance object is returned.
}
Signal exiting the interface:
for the exit interface OnDestroy, the embodiment of the present invention writes an interface for acquiring a signal to correspond to the signal of the exit interface:
signals2::signal<void()>&GetSignalOnDestroy()
{
wherein, GetSignalOnDestroy is an interface for acquiring signals written in the embodiment of the invention. The method is used for communicating with the exit interface so as to acquire the execution state in the exit interface.
static signals2::signal<void()>SigOnDestroy;
A static variable signal signals2 is defined, signal instance object SigOnDestroy.
return SigOnDestroy;
The instance object is returned.
}
Signal activated to foreground:
for an interface OnForeground activated to a foreground, the embodiment of the invention writes an interface for acquiring signals:
signals2::signal<void()>&GetSignalOnForeground()
{
wherein, GetSignalOnForeground is an interface for acquiring signals written in the embodiment of the present invention.
static signals2::signal<void()>SigOnForeground;
A static variable signal signals2 is defined, an example object SigOnForeground of the signal.
return SigOnForeground;
The instance object is returned.
}
With the above arrangement, the embodiment of the present invention writes a signal acquisition interface for each event interface, and defines an instance object of the signal. The definition and acquisition of the signals of the event interface are realized through the step.
On the basis of creating an interface for each application event and acquiring N acquisition signal interfaces created for the signal slot module, corresponding application events are bound for each component.
In a specific implementation process, binding corresponding application events for each component specifically includes:
obtaining initialized callback functions of each component, and triggering and calling when a state signal generated when a corresponding application program event runs arrives;
and binding the callback function of each component with the N signal acquisition interfaces.
Further, for each component of the client, if each component is interested in a certain event, it needs to acquire its signal to bind, so that when the signal is triggered, the component can sense the event. For example, for a network component, the network needs to be initialized when the APP starts to create, then it can subscribe to the create event so that the APP starts knowing when it has started. The concrete implementation is as follows:
for example, the example component herein is a network component that now needs to subscribe to an initialization creation event.
Firstly, obtaining initialized callback functions of each component, and triggering and calling when a state signal generated when a corresponding application program event runs arrives; and then binding the callback function of each component with the N signal acquisition interfaces.
For example, an initialized callback function is defined in the network component for triggering the invocation of this function when a signal arrives.
Void NetWorkCreate(){
The initialization of the network and other works can be realized inside the function.
}
A network-created callback function is defined, so that the APP start-time signal triggers the invocation of this function.
A create initialization signal is obtained to bind the function NetWorkCreate.
Firstly, calling a step of writing a signal slot module to obtain and create a signal interface GetSignal OnCreate:
signals2::signal<void()>&sigCreate=GetSignalOnCreate()
and after the sig Create is obtained, the function Net Work Create is bound.
sigCreate.connect(&NetWorkCreate);
Binding this signal to the callback function NetWorkCreate.
The same method can also acquire signals of other events to bind.
Meanwhile, one signal can bind a plurality of callback functions, so that a plurality of components can be bound.
As can be seen herein, the event subscription of any one component is such that decoupling is achieved without knowledge of the other components, nor of the body that generated the signal.
By this step it is achieved that the network component subscribes to an event signal which is initially created.
Therefore, after receiving the state learning request of each component, the running state of each application program event can be received in real time.
In a specific implementation process, after the event subscription of each component is set, the triggering of the signal is executed in the event corresponding to the program. For example, when the APP is started, a start function of the APP is executed, which is a process of initializing and creating the APP, and when the APP is started, the first entry of the system is the start function, and then the interface can acquire a corresponding event signal to trigger generation of a signal.
For example, when the program is started, the interface AppLaunch is called:
Void AppLaunch()
{
the interface is called when the APP is started, and the initialization process and the creation process of the whole APP are executed.
Then the text needs to acquire a create signal and trigger this signal at this point.
Firstly, calling the step of obtaining and creating a signal interface GetSignalOnCreate written for the signal slot module:
signals2::signal<void()>&sigCreate=GetSignalOnCreate()
sigCreate();
a create signal is triggered so that all callback functions subscribed to this signal will be executed.
From this time, it can be seen that the producer of the event and the subscriber of the event are not aware of each other, so that the producer does not need to know the subscriber, nor does the subscriber need to know the producer, thereby achieving the decoupling.
Further, on the basis of receiving the running state of each application event in real time, acquiring a corresponding application event execution state from a corresponding application event interface based on the state learning request of each component specifically includes:
and triggering the N acquisition signal interfaces to acquire the running state parameters of the corresponding application program events.
And triggering callback functions of the components to operate and call the corresponding running state parameters based on the condition that the running state parameters of the corresponding application program events are obtained by the N signal obtaining interfaces.
In the above embodiment, after subscribing to each application event, the execution state of each application event can be obtained in real time by the signal slot module as a message relay. Of course, the component of the embodiment of the present invention may also unsubscribe from each application event, and further disconnect from the signal slot.
In a specific implementation process, when a program exits or some signals are not needed, the signals need to be disconnected, the disconnection is very convenient, and only a disconnection interface of the signals is called directly. The concrete implementation is as follows:
the create signal may be turned off, provided that the program has been successfully initialized and subsequently the create signal is not needed. Only one component may be disconnected, or all subscription components may be disconnected.
Firstly, calling a step for obtaining and creating a signal interface GetSignalOnCreate written by a signal slot module:
signals2::signal<void()>&sigCreate=GetSignalOnCreate()
sigCreate.;
the signal interface is then invoked to disconnect a component so that the created signal is not received by the component when the signal is generated.
Signal on network change disconnect (incoming component that needs to be disconnected);
all subscribed components may also be disconnected.
SignalOnNetworkChange.disconnect_all_slots();
All components are disconnected.
The above embodiments are decoupling methods of components, and based on the same inventive concept, the following embodiments describe a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the steps of the above method embodiments.
The embodiment of the invention discloses computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the steps in the embodiment of the method are realized when the processor executes the program.
Through one or more embodiments of the present invention, the present invention has the following advantageous effects or advantages:
the invention discloses a decoupling method and a decoupling system of components, wherein M components, N application program event interfaces and a signal slot module are arranged at first; connecting the M components and the N application program event interfaces by using a signal slot module, and receiving state learning requests of the components; and then acquiring a corresponding application program event execution state from a corresponding application program event interface based on the state learning request of each component. Therefore, the communication between the application program and the components can be transferred in a signal slot mode, and the association degree between the components is further reduced.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (8)

1. The decoupling method of a component is characterized in that the method is applied to a decoupling system of the component, wherein the system comprises M components, N application program event interfaces and a signal slot module; the signal slot module is connected between the M components and the N application event interfaces;
the method comprises the following steps:
creating an interface for each application event;
setting and creating N acquisition signal interfaces for the signal slot module, wherein the N acquisition signal interfaces are used for carrying out data transmission with corresponding application program event interfaces so as to acquire corresponding application program events, the signal slot module is used for triggering the N acquisition signal interfaces to acquire running state parameters of the corresponding application program events, and triggering callback functions of all components to run and call the corresponding running state parameters based on the condition that the N acquisition signal interfaces acquire the running state parameters of the corresponding application program events;
the signal slot module receives a state learning request of each component;
and the signal slot module acquires the corresponding application program event execution state from the corresponding application program event interface based on the state acquisition request of each component.
2. The method of claim 1, wherein the application includes N application events including an initialization event, an exit event, an application open event, an application exit event; each application event corresponds to a function of the application; the occurrence of each application event indicates the execution of the corresponding function.
3. The method of claim 2, wherein prior to receiving the state learning requests for the components, the method further comprises:
corresponding application events are bound for each component.
4. The method of claim 3, wherein binding the corresponding application event for each component specifically comprises:
obtaining initialized callback functions of each component, and triggering and calling when a state signal generated when a corresponding application program event runs arrives;
and binding the callback function of each component with the N signal acquisition interfaces.
5. The method of claim 4, wherein after receiving the state learning requests for the components, the method further comprises:
and receiving the running state of each application program event in real time.
6. An uncoupling system for an assembly, comprising:
m components;
n application program event interfaces, each application program event interface is used for transmitting the execution state of the corresponding program event;
the first establishing module is used for establishing an interface for each application program event before receiving the state learning request of each component;
the second creating module is used for setting and creating N acquisition signal interfaces for the signal slot module before receiving the state obtaining request of each component, the N acquisition signal interfaces are used for carrying out data transmission with corresponding application program event interfaces so as to obtain corresponding application program events, the signal slot module is used for triggering the N acquisition signal interfaces to acquire running state parameters of the corresponding application program events, and based on the condition that the N acquisition signal interfaces acquire the running state parameters of the corresponding application program events, the callback function of each component is triggered to run and call the corresponding running state parameters;
the signal slot module is connected between the M assemblies and the N application program event interfaces and is provided with a corresponding interface slot for each application program event; the device comprises a state acquisition module, a state acquisition module and a corresponding application program event interface, wherein the state acquisition module is used for receiving the state acquisition request of each component and acquiring the corresponding application program event execution state from the corresponding application program event interface based on the state acquisition request of each component.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-5 are implemented when the program is executed by the processor.
CN201810008831.1A 2018-01-04 2018-01-04 Decoupling method and system of assembly Active CN108108170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810008831.1A CN108108170B (en) 2018-01-04 2018-01-04 Decoupling method and system of assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810008831.1A CN108108170B (en) 2018-01-04 2018-01-04 Decoupling method and system of assembly

Publications (2)

Publication Number Publication Date
CN108108170A CN108108170A (en) 2018-06-01
CN108108170B true CN108108170B (en) 2021-04-27

Family

ID=62218784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810008831.1A Active CN108108170B (en) 2018-01-04 2018-01-04 Decoupling method and system of assembly

Country Status (1)

Country Link
CN (1) CN108108170B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460250B (en) * 2018-09-25 2022-03-08 平安科技(深圳)有限公司 Application program generation method and device
CN113467975B (en) * 2021-07-23 2023-09-26 福建天晴数码有限公司 Decoupling program development method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402457A (en) * 2010-09-17 2012-04-04 希姆通信息技术(上海)有限公司 Method for processing mobile phone application program alterative events
CN102945163A (en) * 2012-10-29 2013-02-27 桂林电子科技大学 Signal-slot structure for embedded system
CN105094811A (en) * 2015-06-29 2015-11-25 安一恒通(北京)科技有限公司 Method can device for processing events
CN107203419A (en) * 2016-03-17 2017-09-26 阿里巴巴集团控股有限公司 Intermodule call method, apparatus and system in application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015033384A1 (en) * 2013-09-03 2015-03-12 株式会社アキブシステムズ Computer system for i/o device virtualization, operation method therefor, and hub device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402457A (en) * 2010-09-17 2012-04-04 希姆通信息技术(上海)有限公司 Method for processing mobile phone application program alterative events
CN102945163A (en) * 2012-10-29 2013-02-27 桂林电子科技大学 Signal-slot structure for embedded system
CN105094811A (en) * 2015-06-29 2015-11-25 安一恒通(北京)科技有限公司 Method can device for processing events
CN107203419A (en) * 2016-03-17 2017-09-26 阿里巴巴集团控股有限公司 Intermodule call method, apparatus and system in application program

Also Published As

Publication number Publication date
CN108108170A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN108702389B (en) Architecture for remotely controlling IOT (Internet of things) devices
US9854296B2 (en) Distributed system architecture for control of a set top box
CN108108170B (en) Decoupling method and system of assembly
CN105487394A (en) Intelligent household appliance control method and device and gateway
CN106598751B (en) Method and system for distributing events through event bus
US20100241732A1 (en) User Interfaces for Electronic Devices
CN109995861B (en) Relay communication method and system for vehicle-mounted system application and vehicle-mounted peripheral device
CN111258723B (en) Transaction processing method, device, system, medium and equipment of distributed system
CN115225492A (en) Remote upgrading method and system
CN108810000B (en) Method and device for generating serialization and deserialization API
CN114666407A (en) RPA cross-terminal communication method and equipment
CN108429665B (en) Method for transmitting data through concurrent communication
CN108052401B (en) System attribute monitoring method, terminal device and computer readable storage medium
CN106161409A (en) A kind of agent framework service system including local component and method
CN111131358B (en) Information acquisition method, device and system, readable storage medium and electronic equipment
CN113542217B (en) Service subscription system
CN113454969B (en) Information interaction method, device, equipment, system and storage medium
CN112783724B (en) Log grabbing and debugging method, system, intelligent device and storage medium
CN102137079B (en) Method and device for developing service for RPC (Remote Procedure Call)
CN109639795B (en) Service management method and device based on AcitveMQ message queue
US11159184B2 (en) Software-defined radio device and method of using radio communication software programs
CN113810448A (en) Cloud service method, deployment method, device, electronic equipment and storage medium
CN111168668A (en) Robot control method and robot
CN113467683B (en) Entertainment control method and device for vehicle, vehicle and storage medium
CN117082017B (en) Method and device for managing expansion card of white box switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant