CN108008995A - A kind of wait component realization method and device based on call type - Google Patents
A kind of wait component realization method and device based on call type Download PDFInfo
- Publication number
- CN108008995A CN108008995A CN201711257004.8A CN201711257004A CN108008995A CN 108008995 A CN108008995 A CN 108008995A CN 201711257004 A CN201711257004 A CN 201711257004A CN 108008995 A CN108008995 A CN 108008995A
- Authority
- CN
- China
- Prior art keywords
- component
- starting
- waiting
- waiting component
- calling
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000001360 synchronised effect Effects 0.000 claims abstract description 27
- 238000010276 construction Methods 0.000 claims description 16
- 230000003213 activating effect Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 9
- 230000000977 initiatory effect Effects 0.000 abstract 3
- 230000000903 blocking effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 16
- 239000002184 metal Substances 0.000 description 9
- 230000000712 assembly Effects 0.000 description 6
- 238000000429 assembly Methods 0.000 description 6
- 230000015654 memory Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006378 damage Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Digital Computer Display Output (AREA)
Abstract
The present invention provides a kind of wait component realization method based on call type and device, this method to include:Obtain and wait the corresponding initiation parameter of component;According to the initiation parameter, the wait component is constructed;According to the call parameters carried in the initiation parameter, the corresponding startup thread of the wait component is determined;Using the startup thread, start the wait component constructed.This programme realizes synchronization call and the synchronization process of asynchronous call, can be called suitable for the scene synchronous and asynchronous method, the calling to wait component to non-blocking type user interface is particularly suitable for, so as to improve user experience.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a waiting component implementation method and device based on calling types.
Background
A component is a software entity in a software system that has relatively independent functionality, interfaces specified by contracts, obvious dependencies on context, independent deployment, and assemblability. The wait component is a common component that is commonly used for non-occluded user interfaces.
The existing waiting components are different in type according to different calling modes, and when a user calls the waiting components, the user generally needs to firstly judge whether the calling mode is synchronous calling or asynchronous calling, then according to a judgment result, select the waiting components of corresponding types for synchronous calling or asynchronous calling, and then start the selected waiting components.
The calling mode needs to call different types of components respectively according to the judgment result of the calling mode, so that two conditions of synchronous calling and asynchronous calling cannot be synchronously processed, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a waiting component implementation method and device based on a calling type, which can improve user experience.
In a first aspect, an embodiment of the present invention provides a method for implementing a waiting component based on a call type, where the method includes:
acquiring an initialization parameter corresponding to the waiting component;
constructing the waiting component according to the initialization parameters;
determining a starting thread corresponding to the waiting component according to a calling parameter carried in the initialization parameter;
and starting the constructed waiting component by using the starting thread.
Preferably, the first and second electrodes are formed of a metal,
determining a starting thread corresponding to the waiting component according to the calling parameter carried by the initialization parameter, including:
when the calling parameter is a synchronous calling parameter, configuring a new thread, and loading a starting window corresponding to the waiting component by using the new thread so as to start the waiting component in the starting window; registering a callback function, and writing the starting information corresponding to the waiting component into a preset main thread by using the callback function so that the main thread calls the new thread;
and when the calling function is an asynchronous calling parameter, loading the starting window by using the preset main thread, and starting the waiting component in the starting window.
Preferably, the first and second electrodes are formed of a metal,
after the starting the constructed waiting component by using the starting thread, further comprising:
acquiring a first closing instruction corresponding to the waiting component;
and determining whether the starting window corresponding to the waiting component is destroyed or not according to the first closing instruction, and if not, logging off the related events corresponding to the pre-registered waiting component and closing the waiting component.
Preferably, the first and second electrodes are formed of a metal,
the constructing the wait component according to the initialization parameters comprises:
determining a build time to begin building the wait component;
determining whether a second closing instruction corresponding to the waiting component is received within a preset time length with the construction time as a starting point;
if not, the constructing the wait component is performed.
Preferably, the first and second electrodes are formed of a metal,
after the starting the constructed waiting component by using the starting thread, further comprising:
determining a display mode corresponding to the waiting component according to the calling parameter;
displaying the started waiting component according to the display mode;
preferably, the first and second electrodes are formed of a metal,
the initialization parameters further include: any one or more of size information of a host window corresponding to the waiting component, display position information of the host window, transparency of the host window, display information of the waiting component and display state parameters of the host window.
In a second aspect, an embodiment of the present invention provides a waiting component implementation apparatus based on a call type, including: the device comprises a parameter acquisition unit, a component construction unit and a component starting unit; wherein,
the parameter acquiring unit is used for acquiring the initialization parameters corresponding to the waiting component;
the component construction unit is used for constructing the waiting component according to the initialization parameter;
and the component starting unit is used for determining a starting thread corresponding to the waiting component according to the calling parameter carried in the initialization parameter, and starting the constructed waiting component by using the starting thread.
Preferably, the first and second electrodes are formed of a metal,
the component activating unit includes: a synchronous promoter unit and an asynchronous promoter unit; wherein,
the synchronous starting sub-unit is used for configuring a new thread when the calling parameter is a synchronous calling parameter, and loading a starting window corresponding to the waiting component by using the new thread so as to start the waiting component in the starting window; registering a callback function, and writing the starting information corresponding to the waiting component into a preset main thread by using the callback function so that the main thread calls the new thread;
and the asynchronous starting unit is used for loading the starting window by using the preset main thread and starting the waiting component in the starting window when the calling function is an asynchronous calling parameter.
Preferably, the first and second electrodes are formed of a metal,
further comprising: a component closing unit; wherein,
the component closing unit is used for acquiring a first closing instruction corresponding to the waiting component, determining whether the starting window corresponding to the waiting component is destroyed or not according to the first closing instruction, and if not, logging off a related event corresponding to the waiting component registered in advance and closing the waiting component.
Preferably, the first and second electrodes are formed of a metal,
the component constructing unit is used for determining the constructing time for starting to construct the waiting component, determining whether a second closing instruction corresponding to the waiting component is received within a preset time length with the constructing time as a starting point, and if not, executing the constructing of the waiting component.
Preferably, the first and second electrodes are formed of a metal,
the component starting unit is further configured to determine a display mode corresponding to the waiting component according to the calling parameter, and display the started waiting component according to the display mode.
The embodiment of the invention provides a waiting component implementation method and device based on a calling type. Therefore, the corresponding waiting components can be constructed and started directly according to the calling parameters, and the waiting components of different types do not need to be started respectively according to the judgment result of the calling type, so that the synchronous processing of synchronous calling and asynchronous calling is realized, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow diagram of a method for implementing a wait component based on call type according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a waiting component implementation apparatus based on a call type according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a waiting component implementation apparatus based on a call type according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a waiting component implementation method based on a call type, where the method may include the following steps:
step 101: acquiring an initialization parameter corresponding to the waiting component;
step 102: constructing the waiting component according to the initialization parameters;
step 103: determining a starting thread corresponding to the waiting component according to a calling parameter carried in the initialization parameter;
step 104: and starting the constructed waiting component by using the starting thread.
In the above embodiment, the construction of the component is automatically implemented according to the obtained initialization parameter, the start thread corresponding to the waiting component is determined according to the call parameter carried in the initialization parameter, and then the constructed waiting component is started by using the start thread. Therefore, the corresponding waiting assemblies can be directly constructed and started according to the calling parameters, and the waiting assemblies of different types do not need to be respectively started according to the judgment result of the calling type, so that synchronous calling and asynchronous calling are synchronously processed, the method and the device are suitable for scene calling in synchronous and asynchronous methods, and are particularly suitable for calling the waiting assemblies on non-blocked user interfaces, and user experience is improved.
In an embodiment of the present invention, the initialization parameter further includes: any one or more of size information of a host window corresponding to the waiting component, display position information of the host window, transparency of the host window, display information of the waiting component and display state parameters of the host window.
The display state parameter of the host window indicates whether the host window pops up the window or not and whether the waiting window is destroyed or not. The process of constructing the corresponding wait component according to the initialization parameters can be realized by at least the following programming languages:
in an embodiment of the present invention, the specific implementation of step 103 may include:
when the calling parameter is a synchronous calling parameter, configuring a new thread, and loading a starting window corresponding to the waiting component by using the new thread so as to start the waiting component in the starting window; registering a callback function, and writing the starting information corresponding to the waiting component into a preset main thread by using the callback function so that the main thread calls the new thread;
and when the calling function is an asynchronous calling parameter, loading the starting window by using the preset main thread, and starting the waiting component in the starting window.
When the calling parameter is the synchronous calling parameter, the calling mode is the synchronous calling, at this time, a new thread needs to be started to load a starting window corresponding to the waiting component, and meanwhile, a callback function is registered, so that the starting message is written back to the main thread, and then the waiting window is started. When the calling function is an asynchronous calling parameter, the calling mode is asynchronous calling, and at the moment, the interface window corresponding to the waiting component can be loaded in the main thread and started. Therefore, different threads are utilized to execute calling methods in different modes, and system resources are favorably utilized to meet the requirement of the system on the waiting component.
The above steps can be realized by at least the following programming languages:
in an embodiment of the present invention, after step 104, the method may further include:
acquiring a first closing instruction corresponding to the waiting component;
and determining whether the starting window corresponding to the waiting component is destroyed or not according to the first closing instruction, and if not, logging off the related events corresponding to the pre-registered waiting component and closing the waiting component.
Here, when the waiting component needs to be closed, according to the received first closing instruction, a precondition check is first performed, that is, whether the starting window is destroyed is checked, if the starting window is destroyed, it is indicated that the corresponding waiting component is closed, no other operation is required, and if the window is not destroyed, the waiting component needs to be closed, and the pre-registered related event is cancelled. When closing, if the waiting component is created in a new thread, a delegation call needs to be executed, meanwhile, the write-back of the message is executed, the message in the waiting component thread is written into the main thread so as to facilitate the use of the main thread, and then the closing operation is executed. If the wait component is created in the main thread, then the unregistration of the event needs to be performed before the close operation is performed. Therefore, when the waiting component is closed, the starting window is destroyed and the pre-registered related events are also cancelled, so that the related memory occupied by the waiting component is convenient to clean, and the utilization rate of system resources is further improved.
The above steps can be realized by at least the following programming languages:
in an embodiment of the present invention, the detailed implementation of step 102 may include:
determining a build time to begin building the wait component;
determining whether a second closing instruction corresponding to the waiting component is received within a preset time length with the construction time as a starting point;
if not, the constructing the wait component is performed.
When the waiting component is constructed and started, the judgment of the precondition can be firstly carried out, mainly the judgment of whether the window is in a destroying or closing state when the window is started is carried out, and the delay construction of the waiting component is further carried out when the window is not in the destroying or closing state. The delay structure is mainly used for the case that the execution time of the external method is particularly short, if the execution time of the self method is short, if the structure operation of the waiting component is also carried out at the moment, the interface flash occurs, and therefore the step of the delay structure is added in the waiting component. And during construction delay, judging whether a second closing instruction corresponding to the waiting component is received within a preset time period from the time of constructing the waiting component, if so, indicating that the waiting component is not constructed successfully, finishing the external operation, and at this time, not continuously constructing the waiting component so as to avoid the condition of interface flash.
In an embodiment of the present invention, after step 104, the method further includes:
determining a display mode corresponding to the waiting component according to the calling parameter;
and displaying the started waiting component according to the display mode.
Here, if the call parameter is an asynchronous call parameter, the waiting component is hidden, when a corresponding display instruction is received, the hidden waiting component is displayed, and if the call parameter is a synchronous call parameter, the waiting component is displayed. Because the hiding and the displaying of the waiting component are controlled according to the asynchronous calling mode, the waiting component is prevented from being continuously started and closed in the asynchronous calling process, thereby reducing the construction and destruction expenses of the waiting component, improving the program calling performance and facilitating the calling of the waiting component in the program. Meanwhile, the step also provides a method for updating the display message in real time so as to modify the corresponding prompt message conveniently in the calling process.
The above steps can be realized by at least the following programming languages:
the following describes in detail a method for implementing a wait component based on a call type, which is provided by the embodiment of the present invention, by taking an asynchronous call mode as an example, and as shown in fig. 2, the method may include the following steps:
as shown in fig. 2, an embodiment of the present invention provides a waiting component implementation apparatus based on a call type, including: a parameter acquisition unit 201, a component construction unit 202, and a component activation unit 203; wherein,
the parameter obtaining unit 201 is configured to obtain an initialization parameter corresponding to the waiting component;
the component constructing unit 202 is configured to construct the waiting component according to the initialization parameter;
the component starting unit 203 is configured to determine a starting thread corresponding to the waiting component according to the call parameter carried in the initialization parameter, and start the constructed waiting component by using the starting thread.
In an embodiment of the present invention, the component activating unit 203 includes: a synchronous promoter unit and an asynchronous promoter unit; wherein,
the synchronous starting sub-unit is used for configuring a new thread when the calling parameter is a synchronous calling parameter, and loading a starting window corresponding to the waiting component by using the new thread so as to start the waiting component in the starting window; registering a callback function, and writing the starting information corresponding to the waiting component into a preset main thread by using the callback function so that the main thread calls the new thread;
and the asynchronous starting unit is used for loading the starting window by using the preset main thread and starting the waiting component in the starting window when the calling function is an asynchronous calling parameter.
As shown in fig. 3, in an embodiment of the present invention, the apparatus may further include: a component closing unit 301; wherein,
the component closing unit 301 is configured to obtain a first closing instruction corresponding to the waiting component, determine whether the start window corresponding to the waiting component is destroyed according to the first closing instruction, and if not, logout is performed on a related event corresponding to the waiting component that is registered in advance, and close the waiting component.
In an embodiment of the present invention, the component constructing unit 202 is configured to determine a construction time for starting to construct the waiting component, determine whether a second closing instruction corresponding to the waiting component is received within a preset time period taking the construction time as a starting point, and if not, execute the constructing of the waiting component.
In an embodiment of the present invention, the component starting unit 203 is further configured to determine a display mode corresponding to the waiting component according to the calling parameter, and display the started waiting component according to the display mode.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
An embodiment of the present invention further provides a readable medium, which includes an execution instruction, and when a processor of a storage controller executes the execution instruction, the storage controller executes a method provided in any one of the above embodiments of the present invention.
An embodiment of the present invention further provides a storage controller, including: a processor, a memory, and a bus; the memory is used for storing execution instructions, the processor is connected with the memory through the bus, and when the storage controller runs, the processor executes the execution instructions stored in the memory, so that the storage controller executes the method provided by any one of the above embodiments of the invention.
In summary, the above embodiments of the present invention have at least the following advantages:
1. in the embodiment of the invention, the construction of the component is automatically realized according to the acquired initialization parameter, the starting thread corresponding to the waiting component is determined according to the calling parameter carried in the initialization parameter, and then the constructed waiting component is started by utilizing the starting thread. Therefore, the corresponding waiting assemblies can be directly constructed and started according to the calling parameters, and the waiting assemblies of different types do not need to be respectively started according to the judgment result of the calling type, so that synchronous calling and asynchronous calling are synchronously processed, the method and the device are suitable for scene calling in synchronous and asynchronous methods, and are particularly suitable for calling the waiting assemblies on non-blocked user interfaces, and user experience is improved.
2. In the embodiment of the invention, when the calling parameter is the synchronous calling parameter, a new thread is started to load the starting window corresponding to the waiting component, and the callback function is registered so as to write the starting message back to the main thread and then start the waiting window. And when the calling function is an asynchronous calling parameter, loading an interface window corresponding to the waiting component in the main thread and starting. Therefore, different threads are utilized to execute calling methods in different modes, and system resources are favorably utilized to meet the requirement of the system on the waiting component.
3. In the embodiment of the invention, whether the starting window corresponding to the waiting component is destroyed is determined according to the received first closing instruction corresponding to the waiting component, if the starting window is not destroyed, the waiting component is closed, and the pre-registered related events are cancelled, so that when the waiting component is closed, the starting window is destroyed and the pre-registered related events are cancelled, the related memories occupied by the waiting component are convenient to clean, and the utilization rate of system resources is further improved.
4. In the embodiment of the invention, the display mode of the waiting component is determined according to the calling parameter corresponding to the waiting component, and the waiting component is displayed in the determined display mode. And if the calling parameter is the asynchronous calling parameter, hiding the waiting component, displaying the hidden waiting component when a corresponding display instruction is received, and displaying the waiting component if the calling parameter is the synchronous calling parameter. Because the hiding and the displaying of the waiting component are controlled according to the asynchronous calling mode, the waiting component is prevented from being continuously started and closed in the asynchronous calling process, thereby reducing the construction and destruction expenses of the waiting component, improving the program calling performance and facilitating the calling of the waiting component in the program.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A waiting component implementation method based on call types is characterized by comprising the following steps:
acquiring an initialization parameter corresponding to the waiting component;
constructing the waiting component according to the initialization parameters;
determining a starting thread corresponding to the waiting component according to a calling parameter carried in the initialization parameter;
and starting the constructed waiting component by using the starting thread.
2. The method of claim 1,
determining a starting thread corresponding to the waiting component according to the calling parameter carried by the initialization parameter, including:
when the calling parameter is a synchronous calling parameter, configuring a new thread, and loading a starting window corresponding to the waiting component by using the new thread so as to start the waiting component in the starting window; registering a callback function, and writing the starting information corresponding to the waiting component into a preset main thread by using the callback function so that the main thread calls the new thread;
and when the calling function is an asynchronous calling parameter, loading the starting window by using the preset main thread, and starting the waiting component in the starting window.
3. The method of claim 2,
after the starting the constructed waiting component by using the starting thread, further comprising:
acquiring a first closing instruction corresponding to the waiting component;
and determining whether the starting window corresponding to the waiting component is destroyed or not according to the first closing instruction, and if not, logging off the related events corresponding to the pre-registered waiting component and closing the waiting component.
4. The method of claim 1,
the constructing the wait component according to the initialization parameters comprises:
determining a build time to begin building the wait component;
determining whether a second closing instruction corresponding to the waiting component is received within a preset time length with the construction time as a starting point;
if not, the constructing the wait component is performed.
5. The method of claim 1,
after the starting the constructed waiting component by using the starting thread, further comprising:
determining a display mode corresponding to the waiting component according to the calling parameter;
displaying the started waiting component according to the display mode;
and/or the presence of a gas in the gas,
the initialization parameters further include: any one or more of size information of a host window corresponding to the waiting component, display position information of the host window, transparency of the host window, display information of the waiting component and display state parameters of the host window.
6. A wait-component implementation apparatus based on call types, comprising: the device comprises a parameter acquisition unit, a component construction unit and a component starting unit; wherein,
the parameter acquiring unit is used for acquiring the initialization parameters corresponding to the waiting component;
the component construction unit is used for constructing the waiting component according to the initialization parameter;
and the component starting unit is used for determining a starting thread corresponding to the waiting component according to the calling parameter carried in the initialization parameter, and starting the constructed waiting component by using the starting thread.
7. The apparatus of claim 6,
the component activating unit includes: a synchronous promoter unit and an asynchronous promoter unit; wherein,
the synchronous starting sub-unit is used for configuring a new thread when the calling parameter is a synchronous calling parameter, and loading a starting window corresponding to the waiting component by using the new thread so as to start the waiting component in the starting window; registering a callback function, and writing the starting information corresponding to the waiting component into a preset main thread by using the callback function so that the main thread calls the new thread;
and the asynchronous starting unit is used for loading the starting window by using the preset main thread and starting the waiting component in the starting window when the calling function is an asynchronous calling parameter.
8. The apparatus of claim 7,
further comprising: a component closing unit; wherein,
the component closing unit is used for acquiring a first closing instruction corresponding to the waiting component, determining whether the starting window corresponding to the waiting component is destroyed or not according to the first closing instruction, and if not, logging off a related event corresponding to the waiting component registered in advance and closing the waiting component.
9. The apparatus of claim 6,
the component constructing unit is used for determining the constructing time for starting to construct the waiting component, determining whether a second closing instruction corresponding to the waiting component is received within a preset time length with the constructing time as a starting point, and if not, executing the constructing of the waiting component.
10. The apparatus of claim 6,
the component starting unit is further configured to determine a display mode corresponding to the waiting component according to the calling parameter, and display the started waiting component according to the display mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711257004.8A CN108008995A (en) | 2017-12-04 | 2017-12-04 | A kind of wait component realization method and device based on call type |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711257004.8A CN108008995A (en) | 2017-12-04 | 2017-12-04 | A kind of wait component realization method and device based on call type |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108008995A true CN108008995A (en) | 2018-05-08 |
Family
ID=62056143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711257004.8A Pending CN108008995A (en) | 2017-12-04 | 2017-12-04 | A kind of wait component realization method and device based on call type |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108008995A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240758A (en) * | 2018-07-25 | 2019-01-18 | 武汉精测电子集团股份有限公司 | A kind of method and microkernel architecture for supporting card i/f synchronous asynchronous unified call |
CN109408251A (en) * | 2018-09-28 | 2019-03-01 | 北京龙拳风暴科技有限公司 | Message method and device, message sink processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1573700A (en) * | 2003-06-13 | 2005-02-02 | 微软公司 | Mechanism for asynchronous components to be application framework agnostic |
CN102064962A (en) * | 2010-12-06 | 2011-05-18 | 南京恩瑞特实业有限公司 | Method for implementing input and output assemblies of ATS (Automatic Train Supervision) system based on named pipeline communication |
US20120180053A1 (en) * | 2011-01-10 | 2012-07-12 | International Business Machines Corporation | Call stack aggregation and display |
CN102781119A (en) * | 2012-06-13 | 2012-11-14 | 哈尔滨工业大学深圳研究生院 | Wireless ubiquitous network application terminal system and software component application process management method |
CN105912363A (en) * | 2016-04-11 | 2016-08-31 | 北京小米移动软件有限公司 | Module loading method and apparatus |
CN106406911A (en) * | 2016-10-26 | 2017-02-15 | 国云科技股份有限公司 | Method for modularizing functions of computer software system |
-
2017
- 2017-12-04 CN CN201711257004.8A patent/CN108008995A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1573700A (en) * | 2003-06-13 | 2005-02-02 | 微软公司 | Mechanism for asynchronous components to be application framework agnostic |
CN102064962A (en) * | 2010-12-06 | 2011-05-18 | 南京恩瑞特实业有限公司 | Method for implementing input and output assemblies of ATS (Automatic Train Supervision) system based on named pipeline communication |
US20120180053A1 (en) * | 2011-01-10 | 2012-07-12 | International Business Machines Corporation | Call stack aggregation and display |
CN102781119A (en) * | 2012-06-13 | 2012-11-14 | 哈尔滨工业大学深圳研究生院 | Wireless ubiquitous network application terminal system and software component application process management method |
CN105912363A (en) * | 2016-04-11 | 2016-08-31 | 北京小米移动软件有限公司 | Module loading method and apparatus |
CN106406911A (en) * | 2016-10-26 | 2017-02-15 | 国云科技股份有限公司 | Method for modularizing functions of computer software system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240758A (en) * | 2018-07-25 | 2019-01-18 | 武汉精测电子集团股份有限公司 | A kind of method and microkernel architecture for supporting card i/f synchronous asynchronous unified call |
CN109408251A (en) * | 2018-09-28 | 2019-03-01 | 北京龙拳风暴科技有限公司 | Message method and device, message sink processing method and device |
CN109408251B (en) * | 2018-09-28 | 2020-11-03 | 北京龙拳风暴科技有限公司 | Message sending method and device and message receiving processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9361128B2 (en) | Fast computer startup | |
WO2020019458A1 (en) | Page switching method of hybrid application, framework, computer device and storage medium | |
US7934129B2 (en) | Network hang recovery | |
JP5937101B2 (en) | Fast computer startup | |
EP3805908A1 (en) | Annotation display method, device and apparatus, and storage medium | |
CN105335099A (en) | Memory cleaning method and terminal | |
KR20110028284A (en) | Transacted double buffering for graphical user interface rendering | |
CN108595242A (en) | Page display method, electronic equipment and computer storage media | |
EP2987064A1 (en) | Deferred placement prompt | |
US20140031026A1 (en) | Method and device for performing a cleaning process on a portable electronic device | |
US20180285098A1 (en) | Control method | |
CN104199692B (en) | Method, device and terminal for acquiring starting time of application program | |
US20140152583A1 (en) | Optimistic placement of user interface elements on a touch screen | |
CN113268286B (en) | Application starting method and device, projection equipment and storage medium | |
CN108008995A (en) | A kind of wait component realization method and device based on call type | |
CN104239131A (en) | Method and device for shutting application program | |
CN106227548A (en) | Method for dynamically displaying and hiding BIOS SETUP option | |
US8904373B2 (en) | Method for persisting specific variables of a software application | |
CN104714806B (en) | Script processing method based on human-computer interface system and device | |
US11922187B2 (en) | Robust application preloading with accurate user experience | |
CN107729107B (en) | Modal dialog box processing method and device | |
US12099856B2 (en) | Robust application preloading with accurate user experience | |
CN104572199B (en) | The method and apparatus that a kind of No starting item starts | |
CN113821205A (en) | Method and device for controlling small program page parameters, medium and electronic equipment | |
CN113641929A (en) | Page rendering method and device, electronic equipment and computer-readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180508 |