Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for achieving underlying library

A low-level, sub-library technology, applied in the computer field, can solve the problem of not caring about the dynamic library of functions, and achieve the effect of solving repeated modification, improving maintainability and scalability, and improving cohesion and encapsulation.

Active Publication Date: 2015-11-18
GUIYANG LONGMASTER INFORMATION & TECHNOLOGY CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] With the increase of business, more and more dynamic libraries need to be used in application development, and the application layer only cares about which functions it can use, and does not care about the dynamic library to which the function belongs, which results in the management of dynamic libraries question

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
  • Method and device for achieving underlying library
  • Method and device for achieving underlying library
  • Method and device for achieving underlying library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] Such as figure 2 As shown, the method for realizing the underlying library of the present application includes:

[0036] Step 201: The core library receives the processing request sent by the application layer, wherein the processing request carries the function identifier of the function requested by the application layer and the parameters required for executing the function;

[0037] The core library and sub-library in this application can be static library or dynamic library.

[0038] When the application layer needs to call a function, it initiates a processing request to the underlying library. The application layer sends the processing request to the core library by calling the unique interface with the core library. The request carries the function ID of the function requested to be called and the parameters required to execute the function. The function identifier may be an identifier such as a function name that can uniquely identify a certain function.

...

Embodiment 2

[0050] Such as image 3 As shown, the method for realizing the underlying library of the present application includes:

[0051] Step 301: the sub-library receives a query message sent by the core library, and the query message is used to query the sub-library that executes the function requested by the application layer;

[0052] In this application, when the application layer needs to call a function, it sends a processing request to the core library. After receiving the processing request sent by the application layer, the core library sends a query message to the sub-library to determine the sub-library that executes the function by calling the first interface between the sub-library, and the sub-library receives the query message sent by the core library through the first interface .

[0053] Step 302: After receiving the query message, the sub-library judges whether the function is executed by the sub-library itself, if yes, executes step 303; otherwise, executes step 3...

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 application discloses a method and device for achieving underlying libraries, wherein the underlying libraries include a core library and a plurality of sub libraries connected to the core library. The method includes that the core library receives a processing request sent by an application layer, and the processing request carries function identifications of functions called by a request of the application layer and parameters needed by execution functions; according to the function identifications, the core library queries a sub library of the execution functions from the plurality of sub libraries, and passes the function identifications and parameters to the sub library of the execution functions to allow the sub library of the execution functions to call functions according to the function identifications, and the execution functions completes a corresponding processing according to the parameters. The core library is connected to the plurality of sub libraries, and provides uniform interfaces for the application layer to allow the interfaces not to be changed by the change of the service, so that the maintainability and expansibility of the underlying library can be improved, and the problem of repeated modification caused by the constant change of the interfaces can be solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for realizing a bottom library. Background technique [0002] In recent years, with the development and maturity of smart phones, applications (APPs) used on smart phones are constantly being introduced. For smart phone applications, it is necessary to develop two versions of applications based on the Android system and the IOS system. Because of the commonality of the business of the same application, the common part can be implemented as a dynamic library / static library. [0003] The call of the static library requires an interface header file corresponding to the static library. When there is a new business or a problem that needs to modify the library file, the corresponding interface header file also needs to be modified, which makes the compilation of the project using the static library require more time. [0004] With the increase of business, mor...

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): G06F9/44
Inventor 王恒陈正超
Owner GUIYANG LONGMASTER INFORMATION & TECHNOLOGY CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More