Interface combination control method and equipment and computer readable storage medium

A control method and technology for controlling equipment, which is applied in the direction of program control design, calculation, program control device, etc., can solve the problems of interface call speed not being improved, lack of dependent interfaces, startup speed reduction, etc., and achieve call speed improvement , enhanced optimization, and improved startup speed

Inactive Publication Date: 2018-03-02
NUBIA TECHNOLOGY CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In order to solve the incomplete optimization of application startup speed in the existing technology, the optimization of interfaces with dependencies is missing, and the calling speed of interfaces with dependencies has not been improved. When the number of interfaces with dependencies is large during the startup process, Due to the technical defect that the startup speed of the application will be greatly reduced, the present invention proposes a method for controlling interface merging, which includes:

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
  • Interface combination control method and equipment and computer readable storage medium
  • Interface combination control method and equipment and computer readable storage medium
  • Interface combination control method and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] image 3 It is a flowchart of the first embodiment of the interface merging control method of the present invention. A control method for interface merging, the method comprising:

[0085] S1. Mark the interface information of the application program;

[0086] S2. Determine the dependencies of the application program;

[0087] S3. Perform an interface merging operation according to the interface information and the dependency relationship;

[0088] S4. Independently cache the return value after the merging of the APIs.

[0089] In this embodiment, first, by marking the interface information of the application program; then, determining the dependency relationship of the application program; then, performing an interface merging operation according to the interface information and the dependency relationship; finally, independently caching the The return value after combining the above APIs.

[0090] Specifically, in this embodiment, firstly, the interface informati...

Embodiment 2

[0106] Figure 4 It is a flow chart of the second embodiment of the interface merging control method of the present invention. Based on the above embodiment, the interface information of the marking application program includes:

[0107] S11. Determine the keywords of the application;

[0108] S12. Mark the application program according to the keyword, and generate the interface information.

[0109] In this embodiment, firstly, a keyword of the application program is determined, and then the application program is marked according to the keyword to generate the interface information.

[0110] Specifically, in this embodiment, firstly, keywords of the application program are determined. Similarly, as described in the above example, during the application startup process, there may be interfaces with dependencies. For example, interface 1, interface 2, and interface 3. Interface 3 may use the return value of interface 1 and interface 2, and process them in one of its methods...

Embodiment 3

[0115] Figure 5 It is a flowchart of the third embodiment of the interface merging control method of the present invention. Based on the above embodiment, the determination of the dependencies of the application program includes:

[0116] S21. Determine interface information with dependencies and interface information without dependencies;

[0117] S22. Determine the required interface return value in the interface information with dependencies;

[0118] S23. Determine the dependency relationship between the application programs according to the return value of the interface.

[0119] In this embodiment, first, determine the interface information with dependencies and the interface information without dependencies; then, determine the required interface return value in the interface information with dependencies; finally, return the value according to the interface The value determines the dependencies between the applications.

[0120] Specifically, in this embodiment, fi...

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 an interface combination control method and equipment and a computer readable storage medium. The method comprises the following steps that: labeling the interface informationof an application program; determining the dependency relationship of the application program; according to the interface information and the dependency relationship, executing an interface combination operation; and independently caching a return value after the application program interface is combined. An effective application starting speed operation scheme is realized, the optimization of theinterface which has the dependency relationship is enhanced, and the calling speed of the interface which has the dependency relationship can be improved. When an amount of interfaces with the dependency relationship is large in a starting process, application starting speed can be greatly improved.

Description

technical field [0001] The present invention relates to the field of mobile communication, in particular to an interface merging control method, device and computer-readable storage medium. Background technique [0002] In the prior art, in order to increase the startup speed of the application, a merge request is performed on the interface started by the application. However, in the existing technical solutions, the merged interfaces are interfaces without dependencies, that is, independent interfaces. In actual application scenarios, some interfaces have dependencies. For example, interface C needs to use the return values ​​of interface A and interface B. [0003] Therefore, the problem that prior art scheme exists is: [0004] 1. The optimization of application startup speed is not thorough, and the optimization of interfaces with dependencies is missing. [0005] 2. The speed of interface calls with dependencies has not been improved. [0006] 3. When the number 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
CPCG06F9/44578
Inventor 倪秉炬
Owner NUBIA TECHNOLOGY 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