Updating method and device for user interface of application program

An application program and user interface technology, applied in the field of operating systems, can solve problems such as redundancy and reduce user experience, and achieve the effect of avoiding operations, avoiding refresh delays, and saving system resources.

Pending Publication Date: 2022-06-03
大连中科创达软件有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] With the existing Android overlay technology, when a resource file is updated and the original resource file is replaced with the updated resource file, the entire application needs to be restarted to refresh the application UI. Restarting the application is a complicated process. In the entire restart process, only the operation of loading UI interface resources by the application is a "valid" operation, and the rest of the operations are "redundant" operations introduced to reload UI interface resources.
[0004] For some application scenarios, there is a high requirement for the refresh rate of the application UI, and the existing Android overlay technology, because the entire application needs to be restarted, a slight delay will greatly reduce the user experience

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
  • Updating method and device for user interface of application program
  • Updating method and device for user interface of application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

[0033] In the existing Android overlay technology, when the resource file of the application program is updated, the entire program needs to be restarted to realize the problem of reducing the user experience caused by the refresh of the application program UI, the embodiment of the present invention provides an application program user interface The update method of , the method is applied to the operating system, refer to ...

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

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for updating a user interface of an application program. The method comprises the following steps: on the basis of detecting that a resource file of an application program is updated, querying whether the application program is in a foreground active state at present; based on the fact that the application program is in the foreground active state, a resource updating notification corresponding to the application program is sent out, so that the application program reloads the resource files related to the user interface in the updated resource files according to the notification to refresh the user interface of the application program. When the operating system detects that the resource file of the application program is updated, the operating system notifies the application program to reload the resource file related to the user interface so as to complete rapid refreshing of the application interface of the application program. The problem that in the prior art, refreshing of the user interface is completed by restarting the whole application program, refreshing delay is caused, and user experience is affected is solved, meanwhile, some unnecessary operations are avoided, and system resources are saved.

Description

technical field [0001] The present invention relates to the technical field of operating systems, and in particular, to a method and device for updating a user interface of an application program. Background technique [0002] The native Android system provides dynamic overlay technology. The Android overlay technology allows you to customize the resource files in the framework and the package without modifying the apk in the packages, and realize the customization of resources to achieve the purpose of displaying different UIs. The files stored in the res directory of the application can be dynamically replaced during the running phase of the Android system, so that the application can display different UI effects under the same interface, such as different UI background images, different animations, videos, texts changes, etc. [0003] In the existing Android overlay technology, when a resource file is updated and the original resource file is replaced with the updated re...

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
IPC IPC(8): G06F8/656
CPCG06F8/656
Inventor 李佳朋吕鑫
Owner 大连中科创达软件有限公司
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