Processing method and device for application programs in terminal

A technology of application program and processing method, which is applied in the direction of multi-program device, program control design, program startup/switching, etc., can solve problems such as waste of power, untimely, information loss and reception, etc., to ensure real-time communication and reduce power consumption. Electricity, the effect of reducing consumption

Active Publication Date: 2016-08-24
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the prior art, the long connection established between the application program and the server requires the process of the application to maintain the long connection, which has some problems, such as when the application program is closed, the long connection message follows, or when the application program is closed When the application retreats to the background, the system will prohibit the use of long connections. In order to solve these problems, a background process can be started separately to maintain the long connection, so that when the application is closed, the long connection will always exist, but this The solution needs to create a separate process for each application, excessive system resource consumption, or use a third-party push service to maintain the long connection, so that after the application is closed, the long connection will always exist, but the arrival of data Rate and real-time performance cannot be guaranteed
In addition, the above two solutions cannot solve the problem that after the application runs to the background, the long connection still cannot be connected to the Internet, resulting in information loss or untimely reception. At the same time, no matter which solution is used, the system will be frequently woken up, wasting power

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Processing method and device for application programs in terminal
  • Processing method and device for application programs in terminal
  • Processing method and device for application programs in terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0085] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0086] At present, with the rapid development of the mobile Internet, many applications rely more and more on TCP (Transmission Control Protocol, Transmission Control Protocol) long connection, instant messaging software or VOIP (Voice over Internet Protocol, digitizing analog signals) software needs To be able to receive messages from the server at any time requires establishing and m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a processing method and device for application programs in a terminal. The method comprises the steps that a communication request of the application programs in the terminal is monitored; a progress in the terminal is called; the communication request is sent to servers corresponding to the application programs through the progress, and long connection between the progress and the servers is established; responding information, for the communication request, returned by the servers is received and sent to the application programs through the progress. According to the technical scheme, the long connection between all the application programs and the corresponding servers thereof can be established and maintained through the progress, and it is ensured that when the application programs are closed, the long connection between the application programs and the corresponding servers thereof does not disappear accordingly; meanwhile, communication instantaneity between the application programs and the corresponding servers thereof can also be ensured, and the power consumption of a system can be reduced.

Description

technical field [0001] The present disclosure relates to the technical field of terminals, and in particular to a method and device for processing application programs in a terminal. Background technique [0002] At present, with the rapid development of the mobile Internet, many applications rely more and more on TCP (Transmission Control Protocol, Transmission Control Protocol) long connection, instant messaging software or VOIP (Voice over Internet Protocol, digitizing analog signals) software needs To be able to receive messages from the server at any time requires establishing and maintaining a connection with the server. However, in the prior art, the long connection established between the application program and the server requires the process of the application to maintain the long connection, which has some problems, such as when the application program is closed, the long connection message follows, or when the application program is closed When the application r...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
CPCG06F9/4843Y02D10/00
Inventor 史大龙孙超林锦滨
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products