CN109240843B - Application processing method and device - Google Patents
Application processing method and device Download PDFInfo
- Publication number
- CN109240843B CN109240843B CN201810910940.2A CN201810910940A CN109240843B CN 109240843 B CN109240843 B CN 109240843B CN 201810910940 A CN201810910940 A CN 201810910940A CN 109240843 B CN109240843 B CN 109240843B
- Authority
- CN
- China
- Prior art keywords
- server application
- application
- service
- specified service
- upgrade
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 230000002159 abnormal effect Effects 0.000 claims abstract description 12
- 238000000034 method Methods 0.000 claims description 43
- 238000012545 processing Methods 0.000 claims description 14
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000009434 installation Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention provides an application processing method and device, wherein the application processing method comprises the following steps: when a client application needs to use a specified service provided by a server application, executing the associated operation of the specified service by calling an interface provided by the server application; detecting whether the server application needs to be upgraded or not; and when detecting that the server application needs to be upgraded, releasing the association operation. By the embodiment of the invention, the request for starting the service is prevented from being sent when the application of the server side is upgraded, so that the abnormal condition during upgrading is avoided.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an application processing method and an application processing apparatus.
Background
With the rapid development of network technology, apps (applications) installed and used in a terminal are more and more abundant, and a user can complete a certain task function or certain task functions by using corresponding applications.
Generally, after an application developer issues an updated version of an application, a user can obtain a corresponding application upgrade prompt or can query for an application update, and then upgrade the application from a current version to the updated version.
In the prior art, in the application upgrading process, the old version of the application kill is usually dropped first to ensure that the old version of the application is already released in the memory when the new application is installed, and when the new application is started, the situation that two identical applications exist in the memory cannot occur.
However, if the upgraded application is the core application for providing the service, and the service provided by the upgraded application is being used by other applications, when the core application needs to be upgraded, because under the special condition of the upgrade, after the old version of the core application kill is removed by the system, other application programs binding the service of the core application will immediately bind the service of the application through the bindservice () method when the service kill is monitored, so as to pull up the application, two exceptions may occur:
1. the old version application is pulled up, and at the moment, the new version application is upgraded successfully, so that two processes of the application exist in the memory, and various abnormal conditions occur.
2. If the old version of the application has been disabled by the system and the new application upgrade has not been successful, an exception condition may occur in which the class of the application service cannot be found.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed in order to provide an application processing method, an application processing apparatus, and a terminal device that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses an application processing method, where the method includes:
when a client application needs to use a specified service provided by a server application, executing the associated operation of the specified service by calling an interface provided by the server application;
detecting whether the server application needs to be upgraded or not;
and when detecting that the server application needs to be upgraded, releasing the association operation.
Optionally, the method further comprises:
and when the upgrade is detected to be finished, re-executing the associated operation with the specified service.
Optionally, the upgrading ending includes: the upgrade is finished successfully; or, due to the end of the upgrade failure.
Optionally, the performing the associated operation with the specified service includes:
transmitting a request for binding specified service to the server application, and generating a binding relation between the client application and the specified service when receiving a service connection establishment message returned by the server application based on the request for binding the specified service;
and/or the presence of a gas in the gas,
and the listener is registered with the server application and is used for monitoring whether the specified service is abnormal or not.
Optionally, the disassociating operation includes:
logging off the listener to the server application;
and/or the presence of a gas in the gas,
and releasing the binding relationship between the client application and the specified service, and sending a notice of releasing the binding to the server application.
Optionally, the client application further communicates with a specified upgrade service;
the detecting whether the server application needs to be upgraded includes:
judging whether an upgrade notification sent by the upgrade service is received, wherein the upgrade notification is generated when the upgrade service detects that the server application needs to be upgraded;
and when the upgrade notification is received, determining that the server application needs to be upgraded.
The embodiment of the invention also discloses an application processing device, which comprises:
the system comprises a correlation operation execution module, a correlation operation execution module and a correlation operation execution module, wherein the correlation operation execution module is used for executing the correlation operation with a specified service by calling an interface provided by a server application when the client application needs to use the specified service provided by the server application;
the upgrade detection module is used for detecting whether the server application needs to be upgraded or not;
and the association operation releasing module is used for releasing the association operation when detecting that the server application needs to be upgraded.
The embodiment of the invention also discloses a terminal device, which comprises:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, enable the terminal device to perform the application processing methods described above.
The embodiment of the invention has the following advantages:
in the application processing method described in this embodiment, when a client application needs to use a specific service provided by a server application, an interface provided by the server application is called to execute an association operation with the specific service, and detect whether the server application needs to be upgraded, and when it is detected that the server application needs to be upgraded, the association operation is released.
Through the embodiment of the invention, when the server application is in the upgrading process, the terminal system drops the old version server application kill and drops the invalid disable of the old version server application, because the client application already releases the associated operation with the specified service, the specified service cannot call back the monitoring logic of the service, so that the client application does not execute the associated operation with the specified service again because the client application receives the call back of the service death, and the request for starting the service is prevented from being sent when the server application is upgraded, thereby avoiding the abnormal condition during upgrading.
Drawings
FIG. 1 is a flow chart of the steps of one embodiment of an application processing method of the present invention;
FIG. 2 is a timing diagram of a client application performing operations associated with a server application in accordance with the present invention;
fig. 3 is a block diagram of an embodiment of an application processing apparatus according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flow chart of steps of an embodiment of an application processing method of the present invention is shown.
In the embodiment of the present invention, the applications may include a server application providing a service and a client application using the service.
The server application may also be referred to as a core application, and is used to provide services. The client application may then be an application that uses the services provided by the core application. Specifically, when the applications of the terminal are used, some system core applications may provide services to one or more other applications in the terminal system, so as to implement communication between the applications in the terminal system and complete data transmission between the applications. Wherein, the service can be realized by binding the client application to the server application through a bindservice () method. For example, the a application may transmit data to the B application by means of a service provided by the B application, so as to complete data transmission between the a application and the B application, at this time, the a application may be a client application, and the B application may be a server application.
For another example, in the smart television, if the server application is a smart television homepage, the client application is software such as video, education, and an application center on the smart television, and if the video application needs to provide data to the smart television homepage, the data is used for displaying information such as user recommendation, recent watching and using, and the like on the smart television homepage.
In order that a client application can send data to a server application in real time, a service for receiving data in the server application needs to be resident in memory, the client application can register a listener (for example, a death listener) of the service, if the service is abnormally quitted or the server application is dead, the client application binding the service receives a callback of service death, and other client applications immediately bind the service again after the service is dead, so that the service is started again.
However, when the server application is in the process of upgrading, because under the special condition of upgrading, after the system drops the old version server application kill, other client applications binding the service of the server application will immediately bind the service of the server application through the bindservice () method when monitoring that the service kill drops, so as to pull up the server application, and then the system will generate an abnormal situation: the old version of the server application is pulled up or the server application is not found.
The embodiment of the invention can be applied to the client application side, and specifically comprises the following steps:
in the embodiment of the present invention, when the client application needs to use the specified service provided by the server application, the association operation with the specified service needs to be executed, so that the client application establishes a connection with the specified service, thereby implementing communication between the client application and the server application.
In a preferred embodiment of the present invention, step 101 may comprise the following sub-steps:
substep S11, transmitting a request for binding a specified service to the server application, and generating a binding relationship between the client application and the specified service when receiving a service connection establishment message returned by the server application based on the request for binding the specified service;
in embodiments of the present invention, the association operation may include an operation in which the client application binds to a specified service.
In a particular implementation, when a client application wants to use a specified service provided by a server application, the client application may transmit a request to the server application to bind the specified service by invoking an interface provided by the server application.
In one embodiment, as shown in FIG. 2, the request to bind the specified service may notify the server application by calling a method of the binding service (bindService () method).
Wherein, bindService is a binding Service, and executes logic flow in Service. The client application establishes a connection with the Service, and uses the connection to communicate with the Service, and binds the Service through a context.
After the server application obtains the request of binding the specified service, the connection between the client application and the server application may be established, and a service connection establishment message may be returned to the client application, where the service connection establishment message may be denoted as onServiceConnected. The service connection establishment message may be used to notify the client application that its establishment of the specified service connection was successful.
After receiving the service connection establishment message, the client application may generate a binding relationship between the client application and the specified service, thereby binding the client application to the specified service.
In another preferred embodiment of the present invention, step 101 may comprise the following sub-steps:
and a substep S12, registering with the server application, and using a listener for listening whether the specified service is abnormal.
As one example, the association operation may also include the operation of the client application binding to a listener.
The listener may comprise a death listener, in particular, to ensure that a client application (e.g., video, education, application center, etc.) can transmit data to a server application (e.g., homepage) in real-time, ensuring that the client application's connection with the server application is clear. The client application may register a death listener for listening to a specific service, and once the specific service exits abnormally or the server application dies the death listener, the client application receives a call back from the death listener to the service "death", so as to pull up (i.e. start) the service again to ensure that data can be transmitted normally.
In a specific implementation, as shown in fig. 2, the client application may register a listener with the server application by calling a method of registering a death listener (linkToDeath () method) to use the listener to listen whether a specified service in the server application is abnormal.
102, detecting whether the server application needs to be upgraded or not;
in the embodiment of the invention, in order to avoid abnormal conditions occurring when the server application is upgraded, the client application can timely detect whether the server application needs to be upgraded or not so as to process in time.
In a preferred embodiment of the present invention, step 102 may comprise the following sub-steps:
substep S21, determining whether an upgrade notification sent by an upgrade service is received, where the upgrade notification is a notification generated when the upgrade service detects that the server application needs to be upgraded;
and a substep S22, determining that the server application needs to be upgraded when receiving the upgrade notification.
In the embodiment of the present invention, the client application may also communicate with an upgrade service in the terminal system. The upgrading service is used for monitoring whether each application program installed in the terminal system is ready to start upgrading.
Specifically, the server application upgrading process mainly includes downloading, verifying and installing the new version of the installation package. When the client application receives the recommended update of the new version server application or the client application detects that the server application has an updated version, the server application downloads the installation package of the new version server application and verifies the installation package when detecting the update operation triggered by the user. At this time, the upgrade service may monitor that the installation package of the new version server application is downloaded and passes verification, and may generate an upgrade notification and send the upgrade notification to the client application. When the client application receives an upgrade notification sent by the upgrade service, it may be determined that the server application needs to be upgraded.
And 103, when detecting that the server application needs to be upgraded, releasing the association operation.
When the client application detects that the server application needs to be upgraded, the association operation between the client application and the specified service can be released, so that the coupling between the client application and the server application is cut off, and the service death cannot be called back to each client application which is using the service provided by the server application when the problem of the death of the old version application is caused by the upgrade of the server application.
In a preferred embodiment of the present invention, step 103 may comprise the following sub-steps:
substep S31, logging off the listener to the server application;
in a specific implementation, as shown in fig. 2, the client application may cancel the listener of the specified service from the server application by a method of canceling the listener (unlinkToDeath () method).
Specifically, when upgrading the server application, the terminal system kills kill of the old version of the server application and disables the old version of the server application, and at this time, there is no valid server application in the memory, and if the listener is not logged out, the client application still receives the callback of the service death and pulls up the service again, causing various exceptions, so that the client application needs to log out the listener.
In another preferred embodiment of the present invention, step 103 may further include the following sub-steps:
and a substep S32, releasing the binding relationship between the client application and the specified service, and sending a notification of releasing the binding to the server application.
In a specific implementation, the client application may release the binding relationship between the client application and the specified service, and send a notification of the release of the binding to the server application to notify the server application to release the association with the client application, as shown in fig. 2, the client is configured to notify the server application of the release of the association with the client application through a method of unbinding the service (unbundservice () method).
When the server application is upgraded, the specified service is already upgraded, and at this time, communication cannot be performed between the client application and the specified service to transmit data to the server application, so that it is necessary to release the binding relationship between the client application and the specified service and send a notification of the release of the binding to the server application.
In a preferred embodiment of the present invention, the application processing method may further include the steps of:
and when the upgrade is detected to be finished, re-executing the associated operation with the specified service.
As an example, the upgrade ending comprises: the upgrade is finished successfully; or, due to the end of the upgrade failure.
Specifically, if the server application fails to be installed due to various conditions (e.g., insufficient memory, incorrect signature, etc.), the new version server application is not installed in the terminal system, and the terminal system sets the previous old version server application to an available enable state, that is, the current valid application in the system is the previous old version server application. If the upgrade is successful, the old version server application fails when the upgrade is started, and the terminal system cannot set the old version server application to an available enable state any more, the effective terminal application in the terminal system is the new version server application.
Regardless of the completion of the successful update or the failure of the update of the server application, the update service sends an update completion notification to the client application to inform the new version server application of the successful update or the failure of the update of the new version server application. And when the client application receives a notification of upgrade ending sent by the upgrade service, judging that the upgrade ending is detected. At this time, the client application may re-perform the association operation with the specified service to re-bind the specified service provided by the server application and register the listener of the specified service.
As shown in fig. 2, when the client application receives a notification of "completion of server upgrade" sent by the upgrade service, the service of the server application is bound again by calling a method of binding service (bindService () method), and when receiving a message onServiceConnected that the server application returns to establish a connection with the service, the listener of the service is continuously registered by calling a method of registering a death listener (linkToDeath () method).
In the embodiment of the invention, after the server application finishes the whole upgrading process (success or failure), the client application executes the associated operation with the specified service again to bind the specified service and register the listener of the specified service, so that the specified service can be monitored, and when the service is beaten, the client application can receive the callback of the service beaten, so that the client application can bind the service again by calling the method (bindService () method) of binding the service and pull up (start) the service again, thereby ensuring the data transmission between the client application and the server application.
In the application processing method described in this embodiment, when a client application needs to use a specific service provided by a server application, an interface provided by the server application is called to execute an association operation with the specific service, and detect whether the server application needs to be upgraded, and when it is detected that the server application needs to be upgraded, the association operation is released. Through the embodiment of the invention, when the server application is in the upgrading process, the terminal system drops the old version server application kill and drops the invalid disable of the old version server application, because the client application already releases the associated operation with the specified service, the specified service cannot call back the monitoring logic of the service, so that the client application does not execute the associated operation with the specified service again because the client application receives the call back of the service death, and the request for starting the service is prevented from being sent when the server application is upgraded, thereby avoiding the abnormal condition during upgrading.
Referring to fig. 3, a block diagram of an embodiment of an application processing apparatus according to the present invention is shown, and specifically, the application processing apparatus may include the following modules:
an association operation execution module 301, configured to, when a client application needs to use a specific service provided by a server application, execute an association operation with the specific service by calling an interface provided by the server application;
an upgrade detection module 302, configured to detect whether the server application needs to be upgraded;
and the association operation releasing module 303 is configured to release the association operation when it is detected that the server application needs to be upgraded.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
and the association operation re-execution module is used for re-executing the association operation with the specified service when the upgrade end is detected.
In a preferred embodiment of the present invention, the upgrading ending includes: the upgrade is finished successfully; or, due to the end of the upgrade failure.
In a preferred embodiment of the present invention, the association operation execution module may include the following sub-modules:
a binding relation generation submodule, configured to transmit a request for binding a specified service to the server application, and generate a binding relation between the client application and the specified service when receiving a service connection establishment message returned by the server application based on the request for binding the specified service;
and/or the presence of a gas in the gas,
and the listener registration submodule is used for registering the application of the server and monitoring whether the specified service is abnormal or not.
In a preferred embodiment of the present invention, the association releasing module may include the following sub-modules:
a listener logout submodule, configured to logout the listener to the server application;
and/or the presence of a gas in the gas,
and the binding relationship removing submodule is used for removing the binding relationship between the client application and the specified service and sending a notification of removing the binding to the server application.
In a preferred embodiment of the invention, the client application further communicates with a designated upgrade service; the upgrade detection module may include the following sub-modules:
the upgrade notification judgment sub-module is used for judging whether an upgrade notification sent by the upgrade service is received, wherein the upgrade notification is a notification generated when the upgrade service detects that the server application needs to be upgraded;
and the upgrading judgment submodule is used for judging that the server application needs to be upgraded when the upgrading notification is received.
For the embodiment of the application processing device, since it is basically similar to the embodiment of the application processing method, the description is relatively simple, and for relevant points, reference may be made to part of the description of the embodiment of the application processing method.
The embodiment of the invention also discloses a terminal device, which comprises:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, enable the terminal device to perform the application processing methods described above.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these 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 such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be 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 terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The application processing method, the application processing apparatus and the terminal device provided by the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. An application processing method, characterized in that the method comprises:
when a client application needs to use a specified service provided by a server application, executing the associated operation of the specified service by calling an interface provided by the server application;
detecting whether the server application needs to be upgraded or not;
and when detecting that the server application needs to be upgraded, releasing the association operation.
2. The method of claim 1, further comprising:
and when the upgrade is detected to be finished, re-executing the associated operation with the specified service.
3. The method of claim 2, wherein the upgrading is complete, comprising: the upgrade is finished successfully; or, due to the end of the upgrade failure.
4. The method of any of claims 1-3, wherein the performing the associated operation with the specified service comprises:
transmitting a request for binding specified service to the server application, and generating a binding relation between the client application and the specified service when receiving a service connection establishment message returned by the server application based on the request for binding the specified service;
and/or the presence of a gas in the gas,
and the listener is registered with the server application and is used for monitoring whether the specified service is abnormal or not.
5. The method of claim 4, wherein said disassociating said association operation comprises:
logging off the listener to the server application;
and/or the presence of a gas in the gas,
and releasing the binding relationship between the client application and the specified service, and sending a notice of releasing the binding to the server application.
6. A method according to claim 1, 2 or 3, wherein the client application also communicates with a specified upgrade service;
the detecting whether the server application needs to be upgraded includes:
judging whether an upgrade notification sent by the upgrade service is received, wherein the upgrade notification is generated when the upgrade service detects that the server application needs to be upgraded;
and when the upgrade notification is received, determining that the server application needs to be upgraded.
7. An application processing apparatus, characterized in that the apparatus comprises:
the system comprises a correlation operation execution module, a correlation operation execution module and a correlation operation execution module, wherein the correlation operation execution module is used for executing the correlation operation with a specified service by calling an interface provided by a server application when the client application needs to use the specified service provided by the server application;
the upgrade detection module is used for detecting whether the server application needs to be upgraded or not;
and the association operation releasing module is used for releasing the association operation when detecting that the server application needs to be upgraded.
8. The apparatus of claim 7, further comprising:
and the association operation re-execution module is used for re-executing the association operation with the specified service when the upgrade end is detected.
9. The apparatus according to any one of claims 7-8, wherein the association operation performing module comprises:
a binding relation generation submodule, configured to transmit a request for binding a specified service to the server application, and generate a binding relation between the client application and the specified service when receiving a service connection establishment message returned by the server application based on the request for binding the specified service;
and/or the presence of a gas in the gas,
and the listener registration submodule is used for registering the application of the server and monitoring whether the specified service is abnormal or not.
10. A terminal device, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, enable the terminal device to perform the application processing method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810910940.2A CN109240843B (en) | 2018-08-10 | 2018-08-10 | Application processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810910940.2A CN109240843B (en) | 2018-08-10 | 2018-08-10 | Application processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109240843A CN109240843A (en) | 2019-01-18 |
CN109240843B true CN109240843B (en) | 2021-12-07 |
Family
ID=65070028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810910940.2A Active CN109240843B (en) | 2018-08-10 | 2018-08-10 | Application processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109240843B (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051715B (en) * | 2012-12-24 | 2016-03-30 | 东软熙康健康科技有限公司 | A kind of method, relevant apparatus and system made an announcement to terminal |
JP5784792B1 (en) * | 2014-05-08 | 2015-09-24 | 西日本電信電話株式会社 | Communication equipment and program |
CN106933636B (en) * | 2017-03-16 | 2020-08-18 | 北京奇虎科技有限公司 | Method and device for starting plug-in service and terminal equipment |
CN107145390B (en) * | 2017-04-10 | 2019-11-19 | 北京儒博科技有限公司 | Android service lifecycle management method, service management object-based device and Android system |
-
2018
- 2018-08-10 CN CN201810910940.2A patent/CN109240843B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109240843A (en) | 2019-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11848967B2 (en) | Method for processing telephony sessions of a network | |
US8848893B2 (en) | Method and apparatus for callback processing in telecommunication capability opening | |
TWI753880B (en) | Distributed system-based task processing method, device and system | |
EP3200078B1 (en) | Terminal fault correction method and system | |
CN107229484B (en) | Method and device for automatically deploying application program in virtualization environment | |
KR20040024412A (en) | Method for updating firmware | |
CN107659649B (en) | Application hosting method based on cloud mobile phone | |
US20110010159A1 (en) | Enabling end-to-end testing of applications across networks | |
TW201539206A (en) | Pushlet instant messaging method and platform | |
CN111078266A (en) | Client processing method and device for low-coupling incremental upgrading of voice software and server processing method | |
CN109240843B (en) | Application processing method and device | |
JP2012069088A (en) | Medical information processor and software distribution system | |
CN109327530B (en) | Information processing method, device, electronic equipment and storage medium | |
CN114327519A (en) | Implementation method and device for installing application on intelligent POS equipment | |
CN107147692B (en) | Vehicle physical examination method and server | |
CN105703951A (en) | Network telephone calling information management method and device | |
US20170366567A1 (en) | Methods and apparatuses for obtaining and delivering mobile terminal security information based on a cloud service | |
CN114257531B (en) | Test method and related device for application programming interface API gateway | |
CN113037807B (en) | Remote control method, device, server and medium | |
CN107196817B (en) | Ping thread monitoring method, network service state monitoring method and client | |
TWI690849B (en) | Method and device for upgrading and closing applications | |
CN107770210A (en) | Licence plate side's control method, set top box and family's open platform | |
WO2016119398A1 (en) | Method, apparatus and system for detecting suspension and runaway faults of tested device | |
CN112435063A (en) | Resource processing method and device, electronic equipment and storage medium | |
CN112039684B (en) | Configuration updating method and device |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266100, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong Applicant after: Hisense Visual Technology Co., Ltd. Address before: 266100 Qianwan Harbour Road 218, Qingdao Economic and Technological Development Zone, Shandong Province Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |