Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Minus-one-screen loading method and device, terminal and computer readable storage medium

A terminal and loading module technology, applied in computing, program control devices, program control design, etc., can solve problems such as mixed code, high business logic coupling, unfavorable version change, etc., to achieve easy acquisition, reduce coupling, and reduce The effect of version maintenance costs

Pending Publication Date: 2020-02-11
ZTE CORP
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a negative one-screen loading method, device, terminal, and computer-readable storage medium. The main technical problems to be solved are: the code of the negative one-screen in the related art is mixed with the code of the desktop container, and the business logic coupling degree High, not conducive to the version change of the two

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
  • Minus-one-screen loading method and device, terminal and computer readable storage medium
  • Minus-one-screen loading method and device, terminal and computer readable storage medium
  • Minus-one-screen loading method and device, terminal and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] In order to solve the problem of mixing the code of the negative screen and the code of the desktop container in related technologies, the business logic of the negative screen is coupled with the business logic of the desktop container, and the negative screen cannot be upgraded separately, resulting in high maintenance costs for the version of the negative screen problem, this embodiment provides a negative one-screen loading method, please refer to figure 1 The flow chart of the negative one-screen loading method shown:

[0036] Step S102: Load negative one-screen codes and negative one-screen resources into the virtual machine respectively.

[0037] In this embodiment, the negative one-screen code and the desktop container code are independent, and the two are not mixed together: the desktop container has its own installation package, such as Apk (AndroidPackage, Android installation package), and similarly, the negative one-screen also has It's own independent ins...

no. 2 example

[0075] In order to make those skilled in the art more aware of the advantages and details of the negative one-screen loading solution provided by the present invention, this embodiment will continue to introduce the negative one-screen loading method on the basis of the first embodiment. Please refer to Image 6 :

[0076] Step S602: Using DexClassLoader to load the dex file in the negative screen Apk into the virtual machine.

[0077] DexClassLoader can use the following constructor to load the dex file corresponding to a negative screen:

[0078] DexClassLoader(String dexPath, String optimizedDirectory, String libraryPath, ClassLoader parent);

[0079] Among them, dexPath is the decompressed Apk path, usually cannot be empty; optimizedDirectory is the storage path of the decompressed dex file, usually cannot be empty, and it is recommended to use the private path of the application for this path; libraryPath is so(shared object, Shared object) library storage path; parent ...

Embodiment 3

[0109] This embodiment provides a negative one-screen loading device, please refer to Figure 7 Schematic diagram of the negative one-screen loading device shown:

[0110] The negative one-screen loading device 70 includes a code resource loading module 702, an operating environment creation module 704, and a negative one-screen loading module 706, wherein the code resource loading module 702 is used to load the negative one-screen code independent of the desktop container code into the virtual machine, and is also used to load negative one-screen resources into the virtual machine. The running environment creation module 704 is used to create a negative one-screen running context including a negative one-screen resource acquisition path, and use the negative one-screen running context to replace the running context of the desktop container. The negative one-screen loading module 706 is used for loading the negative one-screen according to the running context of the negative ...

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 embodiment of the invention provides a minus-one-screen loading method and device, a terminal and a computer readable storage medium, capable of peeling off originally mixed minus-one-screen codesand desktop container codes to enable the minus-one-screen codes and the desktop container codes to be independent. The minus-one-screen loading method is characterized in that when the minus-one-screen is loaded, the minus-one-screen code and the minus-one-screen resource are loaded to the virtual machine, and then the running context of the minus-one-screen is created to replace the running context of the desktop container, and the minus-one-screen is loaded according to the running context of the minus-one-screen; since the running context of the minus-one-screen comprises the resource acquisition way of the minus-one-screen resource, the resource corresponding to the minus-one-screen can be acquired when the virtual machine runs the minus-one-screen code, and the loading of the minus-one-screen is completed under the condition that the minus-one-screen code is independent of the desktop container code; and while normal loading of the minus-one-screen is ensured, the coupling degree of the minus-one-screen service logic and the desktop container service logic is reduced, the version maintenance cost of the minus-one-screen and the desktop container is reduced, and respective version alternation of the minus-one-screen and the desktop container is facilitated.

Description

technical field [0001] The present invention relates to the technical field of terminals, in particular to a negative one-screen loading method, device, terminal and computer-readable storage medium. Background technique [0002] As the entrance of all applications in the user's mobile phone, the mobile phone desktop is one of the most basic, important and frequently used applications in some mobile phone systems. As the "face" of the operating system, major mobile phone manufacturers also design their own unique mobile phone desktops according to their own product styles, striving to provide users with simpler and more practical functions, more beautiful interfaces, and more convenient services. [0003] However, since the Launcher (desktop launcher) desktop displays all applications in the form of grids, the presentation method is very single, and it is impossible to provide users with richer and more diverse other services. On this basis, Google proposed the concept of "...

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/38G06F9/451G06F9/455
CPCG06F8/38G06F9/451G06F9/45558G06F2009/45583G06F9/44505G06F9/45537G06F9/541G06F9/542G06F2009/45566
Inventor 张南
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products