[go: up one dir, main page]

CN112214252B - Information expansion method and device and electronic equipment - Google Patents

Information expansion method and device and electronic equipment Download PDF

Info

Publication number
CN112214252B
CN112214252B CN201910625772.7A CN201910625772A CN112214252B CN 112214252 B CN112214252 B CN 112214252B CN 201910625772 A CN201910625772 A CN 201910625772A CN 112214252 B CN112214252 B CN 112214252B
Authority
CN
China
Prior art keywords
api
target function
target
expanded
expansion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910625772.7A
Other languages
Chinese (zh)
Other versions
CN112214252A (en
Inventor
范金松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201910625772.7A priority Critical patent/CN112214252B/en
Publication of CN112214252A publication Critical patent/CN112214252A/en
Application granted granted Critical
Publication of CN112214252B publication Critical patent/CN112214252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an information expansion method, an information expansion device and electronic equipment, wherein the method comprises the following steps: determining a target system component; determining a target function object of the API corresponding to the application program editing interface to be expanded, which corresponds to the target system component, and determining the API corresponding to the target function object; performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded; and realizing the function corresponding to the API to be expanded in the target function expansion object in a preset kernel. Furthermore, the embodiment of the invention does not need a custom system component and integrates the custom system component with the corresponding bottom kernel, thereby reducing the integration cost, reducing the adapting time and the operation complexity, and improving the efficiency of adapting the application program and the operating system.

Description

Information expansion method and device and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an information expansion method, an information expansion device, and an electronic device.
Background
The android system is usually improved through system upgrading, new functions are added, more supportable file formats are provided, defects in use and the like are overcome, and better services are provided for users.
Wherein, there are multiple components in the android system, there may be differences in APIs (Application Programming Interface, application programming interfaces) in the same component of the android system of different versions, resulting in the problem of API fragmentation; for example, webView (a network view, which is a view component in an android system, and which enables loading and displaying web pages based on information expansion of WebView underlying kernels); for example, an API is newly added in the WebView of the android system after upgrading, or an API parameter in the WebView of the android system before upgrading is changed, or an API in the WebView of the android system before upgrading is not supported, and the like.
Therefore, in order to enable the third party application program to adapt to various versions of android systems, in the process of developing the third party application program, the prior art can customize one WebView based on the API in the existing WebView as a prototype, add the API of WebView of all versions of android systems in the customized WebView, and add the customized API, and then integrate the customized WebView into the underlying kernel, so that the implementation period is long, the operation is complex, and the efficiency of adapting the application program to the operating system is low.
Disclosure of Invention
The embodiment of the invention provides an information expansion method for improving the efficiency of adapting an application program to an operating system.
Correspondingly, the embodiment of the invention also provides an information expansion device and electronic equipment, which are used for ensuring the realization and application of the method.
In order to solve the above problems, an embodiment of the present invention discloses an information extension method, which specifically includes: determining a target system component; determining a target function object of the API corresponding to the application program editing interface to be expanded, which corresponds to the target system component, and determining the API corresponding to the target function object; performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded; and realizing the function corresponding to the API to be expanded in the target function expansion object in a preset kernel.
Optionally, the implementing, in a preset kernel, a function corresponding to an API to be extended in the target function extension object includes: binding a target function object with a corresponding target function extension object in a preset kernel; and adding function realization information corresponding to the API to be expanded in the target function expansion object.
Optionally, the performing API expansion on the target function object to obtain a target function expansion object including an API corresponding to the to-be-expanded, including: if the API to be expanded is an original API contained in the target function object, changing parameters of the original API in the target function object, and adding the original API with the changed parameters into the corresponding target function expansion object; or adding the original API into a corresponding target function extension object; and if the API to be expanded is not the original API contained in the target function object, adding the API to be expanded into the corresponding target function expansion object.
Optionally, the preset kernel includes a first link interface object, where the first link interface object is used to link the target system component and the preset kernel; the adding the function realization information corresponding to the API to be expanded in the target function expansion object comprises the following steps: obtaining a second link interface object by inheriting the first link interface object; and adding function realization information corresponding to the API to be expanded in the target function expansion object in the second link interface object.
Optionally, the method further comprises: generating a Software Development Kit (SDK) according to the target function extension object and a preset kernel; the SDK is integrated in a third party application to be developed.
Optionally, the method further comprises: installing a third party application program integrated with the SDK; the target system component sends a call request of an API to be called to a preset kernel according to the received starting instruction aiming at the third-party application program; the preset kernel returns a callback message corresponding to the API to be called; and the target system component displays the interface of the third-party application program according to the callback message.
The embodiment of the invention also discloses an information expansion device, which specifically comprises: the component determining module is used for determining a target system component; the object determining module is used for determining a target function object of the API corresponding to the application program editing interface to be expanded, and determining the API corresponding to the target function object; the object expansion module is used for carrying out API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded; and the function realization module is used for realizing the function corresponding to the API to be expanded in the target function expansion object in a preset kernel.
Optionally, the function implementing module includes: the object binding sub-module is used for binding the target function object with the corresponding target function extension object in the preset kernel; and the function adding sub-module is used for adding function realization information corresponding to the API to be expanded in the target function expansion object.
Optionally, the object extension module is specifically configured to, if the API to be extended is an original API included in the target function object, change a parameter of the original API in the target function object, and add the original API with the changed parameter to the corresponding target function extension object; or adding the original API into a corresponding target function extension object; and if the API to be expanded is not the original API contained in the target function object, adding the API to be expanded into the corresponding target function expansion object.
Optionally, the preset kernel includes a first link interface object, where the first link interface object is used to link the target system component and the preset kernel; the function adding sub-module is used for obtaining a second link interface object by inheriting the first link interface object; and adding function realization information corresponding to the API to be expanded in the target function expansion object in the second link interface object.
Optionally, the apparatus further comprises: the integration module is used for generating a Software Development Kit (SDK) according to the target function extension object and a preset kernel; the SDK is integrated in a third party application to be developed.
Optionally, the apparatus further comprises: the operation module is used for installing a third party application program integrated with the SDK; the target system component sends a call request of an API to be called to a preset kernel according to the received starting instruction aiming at the third-party application program; the preset kernel returns a callback message corresponding to the API to be called; and the target system component displays the interface of the third-party application program according to the callback message.
The embodiment of the invention also discloses a readable storage medium, which enables the electronic equipment to execute the information expansion method according to any one of the embodiments of the invention when the instructions in the storage medium are executed by the processor of the electronic equipment.
The embodiment of the invention also discloses an electronic device, which comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, and the one or more programs comprise instructions for: determining a target system component; determining a target function object of the API corresponding to the application program editing interface to be expanded, which corresponds to the target system component, and determining the API corresponding to the target function object; performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded; and realizing the function corresponding to the API to be expanded in the target function expansion object in a preset kernel.
Optionally, the implementing, in a preset kernel, a function corresponding to an API to be extended in the target function extension object includes: binding a target function object with a corresponding target function extension object in a preset kernel; and adding function realization information corresponding to the API to be expanded in the target function expansion object.
Optionally, the performing API expansion on the target function object to obtain a target function expansion object including an API corresponding to the to-be-expanded, including: if the API to be expanded is an original API contained in the target function object, changing parameters of the original API in the target function object, and adding the original API with the changed parameters into the corresponding target function expansion object; or adding the original API into a corresponding target function extension object; and if the API to be expanded is not the original API contained in the target function object, adding the API to be expanded into the corresponding target function expansion object.
Optionally, the preset kernel includes a first link interface object, where the first link interface object is used to link the target system component and the preset kernel; the adding the function realization information corresponding to the API to be expanded in the target function expansion object comprises the following steps: obtaining a second link interface object by inheriting the first link interface object; and adding function realization information corresponding to the API to be expanded in the target function expansion object in the second link interface object.
Optionally, further comprising instructions for: generating a Software Development Kit (SDK) according to the target function extension object and a preset kernel; the SDK is integrated in a third party application to be developed.
Optionally, further comprising instructions for: installing a third party application program integrated with the SDK; the target system component sends a call request of an API to be called to a preset kernel according to the received starting instruction aiming at the third-party application program; the preset kernel returns a callback message corresponding to the API to be called; and the target system component displays the interface of the third-party application program according to the callback message.
The embodiment of the invention has the following advantages:
In the embodiment of the invention, a target system component can be determined, and a target function object corresponding to an API to be expanded and a target function object corresponding to the API to be expanded of the application program editing interface are determined; then, carrying out API expansion on the target function object to obtain a target function expansion object containing an API corresponding to the target function expansion object, and realizing a function corresponding to the API to be expanded in the target function expansion object in a preset kernel; the target function extension object and the preset kernel can be integrated into the third party application program in the follow-up, so that the adaptation of the third party application program to operating systems with different versions can be realized, compared with the prior art, the embodiment of the invention does not need a custom system component and integrates the custom system component with the corresponding bottom kernel, reduces the integration cost, and can reduce the adapting time length and the operation complexity, thereby improving the efficiency of adapting the application program and the operating system.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of an information extension method of the present invention;
FIG. 2 is a flow chart of steps of an alternative embodiment of an information extension method of the present invention;
FIG. 3 is a flow chart showing the steps of an embodiment of a method of a third party application program interface of the present invention;
FIG. 4 is a block diagram of an embodiment of an information extension apparatus of the present invention;
FIG. 5 is a block diagram of an alternative embodiment of an information extension apparatus of the present invention;
FIG. 6 illustrates a block diagram of an electronic device for information expansion, according to an exemplary embodiment;
Fig. 7 is a schematic structural view of an electronic device for information expansion according to another exemplary embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
One of the core ideas of the embodiment of the invention is that API expansion is carried out on the functional object of the system component to obtain an expanded functional object, and then the API of the expanded functional object is realized in a preset kernel; and furthermore, a custom system component is not required to be constructed and integrated with the bottom kernel, so that the efficiency of adapting an application program to an operating system is improved.
The embodiment of the invention can be applied to various operating systems, such as an android system and the like, and can be used for expanding APIs of system components (such as WebView and the like) in the operating systems; the method comprises the following steps:
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an information extension method of the present invention may specifically include the following steps:
Step 102, determining a target system component.
Step 104, determining a target function object of the target system component corresponding to the API to be extended, and determining that the target function object corresponds to the API to be extended.
And 106, performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded.
In the embodiment of the invention, the system components required by the third party application program can be determined from the system components corresponding to the operating system, and whether the system components have the problem of API fragmentation or not is judged; for each system component required by the third party application, if the system component has a problem of API fragmentation, the system component may be determined to be the target system component.
In the embodiment of the present invention, in order to enable the third party application program to adapt to different versions of operating systems, for each target system component, a functional object (which may be referred to as a target functional object later) of an API to be extended in the target system component may be determined according to a difference between target system components corresponding to different versions of operating systems, and an API (which may be referred to as an API to be extended later) of the target functional object may be determined. In addition, in order to meet the functional requirement of the third-party application program, the target functional object in the target system component and the API to be expanded corresponding to the target functional object can be determined according to the functional requirement of the third-party application program. And then expanding the corresponding target function object according to the API to be expanded. Of course, if the third party application program has no function requirement except the corresponding function of the target system component, the target function object and the API to be expanded are determined only according to the difference of the target system components corresponding to the operating systems of different versions; the target function object can be used for realizing the functions of the target system component, and functions corresponding to different target objects are different.
In the embodiment of the present invention, one way to determine the functional object that needs to extend the API in the target system component according to the differences of the target system components corresponding to the operating systems of different versions may be to compare the API differences of the functional objects corresponding to the versions for each functional object of the target system component, and determine the API with the difference; when there is a difference in the APIs in any two version-corresponding functional objects, the functional object may be determined as a functional object that needs to expand the APIs, and the API having the difference may be determined as an API to be expanded. For example, functional objects targeting system components include: webView and WebSettings are illustrated as examples, where the API corresponding to WebView version 1.0 includes: the APIs corresponding to the API11, the API12, the API13, the API14, webSettings include: the APIs corresponding to WebView of the API21, API22, API23, API24, version 2.0 include: the corresponding APIs of API11, API12, API14, API15, webSettings include: the APIs corresponding to WebView version 3.0 of API21, API22, API23, API24 include: the APIs corresponding to the API11, the API12, the API13, the API17, webSettings include: API21, API22, API23, API24. Wherein, the existence of the difference API in the target system component corresponding to WebView of the version 1.0, the version 2.0 and the version 3.0 comprises: API13, API15, and API17, at which time WebView may be determined as the functional object that requires extension of the API, i.e., the target functional object, and API13, API15, and API17 may be determined as the API to be extended; there is no difference in the APIs in WebSettings.
In the embodiment of the invention, according to the function requirement of the third party application program, determining that the function object needing to expand the API in the target system component can be determining the function required by the third party application program and the API corresponding to the required function, searching the function object matched with the function required by the third party application program from the corresponding function object in the target system component, and then judging whether the matched function object has the API capable of realizing the required function; if not, the matched function object can be used for determining the function object of the expansion API, namely a target function object; and determining the API corresponding to the function required to be realized as the API to be expanded.
In the embodiment of the invention, the target function object can be subjected to API expansion according to the API to be expanded, so as to obtain a corresponding target function expansion object; and the target function extension object comprises an API to be extended. For example, if the target function object WebView corresponds to the APIs to be extended, that is, the APIs 13, the APIs 15, and the APIs 17, the target function object WebView is subjected to API extension, so that the target function extension object WebViewExtension, webViewExtension may include the APIs 13, the APIs 15, and the APIs 17.
And step 108, realizing the function corresponding to the API to be expanded in the target function expansion object in a preset kernel.
Since the bottom kernel (which may be referred to as a system kernel) corresponding to the target system component in the operating system is generally not allowed to be changed, the function corresponding to each API to be extended cannot be realized by modifying the system kernel in the operating system; furthermore, in order to improve the implementation efficiency of the API to be extended, the embodiment of the invention can acquire the preset kernel, take the preset kernel as the bottom kernel corresponding to the target system component, and then can process the preset kernel to realize the function corresponding to the API to be extended in the target function extension object. The preset kernel can realize all functions of the system kernel, can also comprise other expansion functions, and is superior to the system kernel in performance.
In the embodiment of the invention, the system component realizes the functions of the APIs by calling the corresponding bottom kernel, so that after the target function extension object is obtained, the functions corresponding to the APIs to be extended in the target function extension object can be realized in the preset kernel, for example, the function realization information, such as codes, and the like, corresponding to the target APIs are added in the preset kernel.
The target function extension object and the preset kernel can be integrated in the third party application program in the follow-up, after the third party application program is installed in the operating system, the target system component can call the preset kernel to realize the functions of all APIs, and then the third party application program can be adapted to all operating systems with different versions.
Of course, when the functional requirements of other third-party application programs are the same as those of the third-party application programs, the target function expansion object and the preset kernel can be integrated in the other third-party application programs, so that the other third-party application programs can be adapted to the operating systems of different versions.
In summary, in the embodiment of the present invention, a target system component may be determined, and a target function object corresponding to an API of an application editing interface to be extended and an API corresponding to the target function object to be extended may be determined; then, carrying out API expansion on the target function object to obtain a target function expansion object containing an API corresponding to the target function expansion object, and realizing a function corresponding to the API to be expanded in the target function expansion object in a preset kernel; the target function extension object and the preset kernel can be integrated into the third party application program in the follow-up, so that the adaptation of the third party application program to operating systems with different versions can be realized, compared with the prior art, the embodiment of the invention does not need a custom system component and integrates the custom system component with the corresponding bottom kernel, reduces the integration cost, and can reduce the adapting time length and the operation complexity, thereby improving the efficiency of adapting the application program and the operating system.
In another embodiment of the present invention, a description is given of how to implement a function corresponding to an API to be extended in the target function extension object in a preset kernel.
Referring to fig. 2, a flowchart illustrating steps of an alternative embodiment of an information extension method of the present invention may specifically include the following steps:
Step 202, determining a target system component.
Step 204, determining a target function object of the target system component corresponding to the API of the application program editing interface to be extended, and determining that the target function object corresponds to the API to be extended.
In the embodiment of the invention, the target system components can comprise various components, such as a WebView component and the like; the embodiments of the present invention are not limited in this regard. In order to avoid the integration of the custom system component and the corresponding bottom kernel, the embodiment of the invention can determine the target function object of the API to be extended corresponding to the target system component and the API to be extended corresponding to the target function object; then, carrying out API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded; and then realizing the expansion of the API to be expanded by realizing the function corresponding to the API to be expanded in the target function expansion object in a preset kernel. Wherein, the target function object can be one or a plurality of target function objects; the API to be extended may be one or more, which is not limited by the embodiment of the present invention.
And 206, performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded.
In the embodiment of the invention, any reasonable API can be added in the target function extension object to realize the API extension of the corresponding target function object, and the embodiment of the invention does not limit what type of API is added.
In an example of the present invention, one way to obtain the target function extension object including the API to be extended by performing API extension on the target function object may be to change a parameter of an original API in the target function object if the API to be extended is the original API included in the target function object, and add the original API with the changed parameter to the corresponding target function extension object. Wherein, in order to facilitate distinguishing between the API in the target function object and the API in the target function extension object, the API in the target function object may be referred to as an original API. In the embodiment of the present invention, the API to be extended may be an original API in the target function object, and at this time, parameters of the original API in the target function object may be changed; parameters may be added to the original API or parameters may be deleted from the original API, and may be specifically determined according to requirements, which is not limited in the embodiment of the present invention.
For example, the target function object is WebView, and an example of a target function object is as follows:
class WebView{
public void loadUrl(String url);
};
If the API to be extended is the original API of WebView: loadUrl, the parameters of the original API in the target function object may be changed, and the original API with the changed parameters may be added to the corresponding target function extension object, where in one example, the target function extension object, such as WebViewExtension, is obtained for the added parameters of the original API in the target function object, such as String extraParams, and an example of the target function extension object is as follows:
class WebViewExtension{
public void loadUrl(String url,String extraParams);
};
The original API in the target function object may have a defect, or the function is imperfect, so that the original API in the target function object may be directly added to the corresponding target function extension object, and then when the original API is implemented in the preset kernel, the defect corresponding to the API may be modified, or the function of the API may be perfected. Therefore, in an example of the present invention, one way to obtain the target function extension object including the API to be extended by performing API extension on the target function object may be to add the original API to the corresponding target function extension object if the API to be extended is the original API included in the target function object.
For example, based on the above example of the target function object, the original API of WebView will: loadUrl are directly added to the corresponding target function extension object, such as:
class WebViewExtension{
public void loadUrl(String url);
};
In an example of the present invention, one way to obtain the target function extension object including the API to be extended by performing API extension on the target function object may be to add the API to be extended to the corresponding target function extension object if the API to be extended is not the original API included in the target function object.
In an example, based on the above example of the target function object, if the API to be extended is newFunc (), the API to be extended is not the original API contained in the target function object, at this time, the API to be extended may be added to obtain a corresponding target function extension object, such as WebViewExtension, where an example of one target function extension object is as follows:
class WebViewExtension{
public void newFunc();
};
And step 208, binding the target function object with the corresponding target function extension object in the preset kernel.
In the embodiment of the invention, in order that the target system component can call the API to be expanded, the target function object and the corresponding target function expansion object can be bound in the preset kernel; one implementation manner may be that the target function object and the corresponding target function extension object are bound one by one, and the life cycle of the target function object and the corresponding target function extension object is set to be consistent. For example, binding the target function object WebView with the target function extension object WebViewExtension, and setting the lifecycle of WebView and WebViewExtension to be consistent; for another example, bind target function object WebViewClient to target function extension object WebViewClientExtension and set the lifecycle of WebViewClient and WebViewClientExtension to be consistent; also for example, bind target function object WebSettings with target function extension object WebSettingsExtension and set the lifecycle of WebSettingst and WebSettingsExtension to be consistent; etc. The life cycle of each target function expansion object may be set according to the requirement, and the life cycles of different target function expansion objects may be the same or different.
Step 210, adding function realization information corresponding to the API to be expanded in the target function expansion object.
In the embodiment of the present invention, the preset kernel includes a first link interface object, where the first link interface object is used to link the target system component and the preset kernel, for example WebViewProvide, and the first link interface object may implement a function of an original API in the target function object.
Wherein, in order to enable the preset kernel to realize the functions of all APIs (including the API to be expanded and the original API) of the target system component; obtaining a second link interface object by inheriting the first link interface object; and adding the function realization information corresponding to the target API in the second link interface object.
For example, an example of a first linking interface object is as follows:
WebViewProvider{
public void loadUrl(String url);
};
An example of a second link interface is as follows:
class WebViewProviderChild implements WebViewProvider{
@Override
public void loadUrl(String url){}
public void loadUrl(String url,String extraParams){}
};
In summary, in the embodiment of the present invention, a target system component may be determined, and a target function object corresponding to an API of an application editing interface to be extended and an API corresponding to the target function object to be extended may be determined; then, carrying out API expansion on the target function object to obtain a target function expansion object containing an API corresponding to the target function expansion object, and realizing a function corresponding to the API to be expanded in the target function expansion object in a preset kernel; the target function extension object and the preset kernel can be integrated into the third party application program in the follow-up, so that the adaptation of the third party application program to operating systems with different versions can be realized, compared with the prior art, the embodiment of the invention does not need a custom system component and integrates the custom system component with the corresponding bottom kernel, reduces the integration cost, and can reduce the adapting time length and the operation complexity, thereby improving the efficiency of adapting the application program and the operating system.
Secondly, binding a target function object with a corresponding target function extension object in a preset kernel, and adding function realization information corresponding to an API in the target function extension object; the method comprises the steps that a first link interface object is inherited to obtain a second link interface object, and function realization information corresponding to the API to be expanded is added in the second link interface object; and the preset kernel can realize the functions of the API to be expanded and the original API of the target system component through the second link interface object.
Referring to FIG. 3, a flowchart illustrating steps of one embodiment of a method of the present invention for exposing a third party application interface is shown.
And step 302, generating a Software Development Kit (SDK) according to the target function extension object and a preset kernel.
Step 304, integrating the SDK into a third party application to be developed.
In the embodiment of the invention, after the target function object of the target system component is expanded according to the method, a corresponding target function expansion object and a preset kernel added with API realization information to be expanded can be obtained; in order to facilitate other developers to develop third party application programs, an SDK (Software Development Kit ) may be generated according to the target function extension object and the preset kernel, and then provided to the developer of the corresponding third party application program. The SDK may then be integrated into the corresponding third party application to be developed in accordance with the operation of the third party application developer.
And 306, installing the third party application program integrated with the SDK in the operating system.
Step 308, the target system component sends a call request of the API to be called to a preset kernel according to the received start instruction for the application program.
Step 310, the preset kernel returns a callback message corresponding to the API to be called.
Step 312, the target system component displays the interface of the third party application program according to the callback message.
After the development of the third party application program to be developed is completed, the third party application program of the integrated SDK can be online; the user downloads and installs the third party application of the integrated SDK from online. After receiving the user installation instruction, the terminal can install the third party application program of the integrated SDK into an operating system, and then can start the third party application program. After receiving a starting instruction of a user for the third-party application program, the terminal can determine a corresponding API to be called by a target system component corresponding to the third-party application program, and then sends a call request of the API to be called to a preset kernel; the API to be called may include an API to be extended, or may include an original API, which is not limited in this embodiment of the present invention. After receiving the API to be called, the preset kernel can call the second link interface object, generate callback information corresponding to the API to be called and return the callback information to the target system component. After receiving the callback information, the target system component can display the interface of the third-party application program according to the callback information, so that the rendering of the interface of the third-party application program is realized.
In summary, in the embodiment of the present invention, a software development kit SDK may be generated according to the target function extension object and the preset kernel, and after the SDK is integrated in a third party application to be developed, the third party application may be adapted to operating systems of various versions, thereby improving the reusability of the method.
Secondly, in the embodiment of the invention, a third party application program integrated with the SDK can be installed, after receiving a starting instruction for the third party application program, the target system component can send a call request of an API to be called to a preset kernel, and correspondingly, the preset kernel can return a callback message corresponding to the API to be called, and then the target system component displays an interface of the third party application program according to the callback message; and further, the third party application program realizes rendering through a preset kernel in the integrated SDK.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 4, a block diagram of an embodiment of an information expansion apparatus of the present invention is shown, and may specifically include the following modules:
A component determination module 402 for determining a target system component;
An object determining module 404, configured to determine a target function object of the API corresponding to the application editing interface to be extended, where the target function object corresponds to the API to be extended;
The object expansion module 406 is configured to perform API expansion on the target function object to obtain a target function expansion object that includes an API corresponding to the object to be expanded;
and a function implementation module 408, configured to implement, in a preset kernel, a function corresponding to an API to be extended in the target function extension object.
Referring to fig. 5, a block diagram of an alternative embodiment of an information extension apparatus of the present invention is shown.
In an alternative embodiment of the present invention, the function implementation module 408 includes:
an object binding submodule 4082, configured to bind, in a preset kernel, a target function object with a corresponding target function extension object;
The function adding submodule 4084 is configured to add function implementation information corresponding to an API to be extended in the target function extension object.
In an optional embodiment of the present invention, the object extension module 406 is specifically configured to, if the API to be extended is an original API included in a target function object, change a parameter of the original API in the target function object, and add the original API with the changed parameter to a corresponding target function extension object; or adding the original API into a corresponding target function extension object; and if the API to be expanded is not the original API contained in the target function object, adding the API to be expanded into the corresponding target function expansion object.
In an optional embodiment of the present invention, the preset kernel includes a first link interface object, where the first link interface object is used to link the target system component and the preset kernel; the function adding submodule 4084 is configured to obtain a second link interface object by inheriting the first link interface object; and adding function realization information corresponding to the API to be expanded in the target function expansion object in the second link interface object.
In an alternative embodiment of the present invention, the apparatus further comprises: an integration module 410, configured to generate a software development kit SDK according to the target function extension object and a preset kernel; the SDK is integrated in a third party application to be developed.
In an alternative embodiment of the present invention, the apparatus further comprises: an operation module 412, configured to install a third party application after integrating the SDK; the target system component sends a call request of an API to be called to a preset kernel according to the received starting instruction aiming at the third-party application program; the preset kernel returns a callback message corresponding to the API to be called; and the target system component displays the interface of the third-party application program according to the callback message.
In summary, in the embodiment of the present invention, a target system component may be determined, and a target function object corresponding to an API of an application editing interface to be extended and an API corresponding to the target function object to be extended may be determined; then, carrying out API expansion on the target function object to obtain a target function expansion object containing an API corresponding to the target function expansion object, and realizing a function corresponding to the API to be expanded in the target function expansion object in a preset kernel; the target function extension object and the preset kernel can be integrated into the third party application program in the follow-up, so that the adaptation of the third party application program to operating systems with different versions can be realized, compared with the prior art, the embodiment of the invention does not need a custom system component and integrates the custom system component with the corresponding bottom kernel, reduces the integration cost, and can reduce the adapting time length and the operation complexity, thereby improving the efficiency of adapting the application program and the operating system.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
Fig. 6 is a block diagram illustrating a configuration of an electronic device 600 for information expansion, according to an example embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, an electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 606 provides power to the various components of the electronic device 600. The power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 600.
The multimedia component 608 includes a screen between the electronic device 600 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. When the electronic device 600 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor assembly 614 may detect an on/off state of the device 600, a relative positioning of the components, such as a display and keypad of the electronic device 600, the sensor assembly 614 may also detect a change in position of the electronic device 600 or a component of the electronic device 600, the presence or absence of a user's contact with the electronic device 600, an orientation or acceleration/deceleration of the electronic device 600, and a change in temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communication between the electronic device 600 and other devices, either wired or wireless. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication part 614 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communications component 614 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 604, including instructions executable by processor 620 of electronic device 600 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform an information expansion method, the method comprising: determining a target system component; determining a target function object of the API corresponding to the application program editing interface to be expanded, which corresponds to the target system component, and determining the API corresponding to the target function object; performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded; and realizing the function corresponding to the API to be expanded in the target function expansion object in a preset kernel.
Optionally, the implementing, in a preset kernel, a function corresponding to an API to be extended in the target function extension object includes: binding a target function object with a corresponding target function extension object in a preset kernel; and adding function realization information corresponding to the API to be expanded in the target function expansion object.
Optionally, the performing API expansion on the target function object to obtain a target function expansion object including an API corresponding to the to-be-expanded, including: if the API to be expanded is an original API contained in the target function object, changing parameters of the original API in the target function object, and adding the original API with the changed parameters into the corresponding target function expansion object; or adding the original API into a corresponding target function extension object; and if the API to be expanded is not the original API contained in the target function object, adding the API to be expanded into the corresponding target function expansion object.
Optionally, the preset kernel includes a first link interface object, where the first link interface object is used to link the target system component and the preset kernel; the adding the function realization information corresponding to the API to be expanded in the target function expansion object comprises the following steps: obtaining a second link interface object by inheriting the first link interface object; and adding function realization information corresponding to the API to be expanded in the target function expansion object in the second link interface object.
Optionally, the method further comprises: generating a Software Development Kit (SDK) according to the target function extension object and a preset kernel; the SDK is integrated in a third party application to be developed.
Optionally, the method further comprises: installing a third party application program integrated with the SDK; the target system component sends a call request of an API to be called to a preset kernel according to the received starting instruction aiming at the third-party application program; the preset kernel returns a callback message corresponding to the API to be called; and the target system component displays the interface of the third-party application program according to the callback message.
Fig. 7 is a schematic structural view of an electronic device 700 for information expansion according to another exemplary embodiment of the present invention. The electronic device 700 may be a server, which may vary widely in configuration or performance, and may include one or more central processing units (centralprocessing units, CPUs) 722 (e.g., one or more processors) and memory 732, one or more storage mediums 730 (e.g., one or more mass storage devices) that store applications 742 or data 744. Wherein memory 732 and storage medium 730 may be transitory or persistent. The program stored in the storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, the central processor 722 may be arranged to communicate with a storage medium 730 and execute a series of instruction operations in the storage medium 730 on a server.
The server(s) may also include one or more power supplies 726, one or more wired or wireless network interfaces 750, one or more input/output interfaces 758, one or more keyboards 756, and/or one or more operating systems 741 such as Windows ServerTM, mac OSXTM, unixTM, linuxTM, freeBSDTM, and the like.
An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for: determining a target system component; determining a target function object of the API corresponding to the application program editing interface to be expanded, which corresponds to the target system component, and determining the API corresponding to the target function object; performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded; and realizing the function corresponding to the API to be expanded in the target function expansion object in a preset kernel.
Optionally, the implementing, in a preset kernel, a function corresponding to an API to be extended in the target function extension object includes: binding a target function object with a corresponding target function extension object in a preset kernel; and adding function realization information corresponding to the API to be expanded in the target function expansion object.
Optionally, the performing API expansion on the target function object to obtain a target function expansion object including an API corresponding to the to-be-expanded, including: if the API to be expanded is an original API contained in the target function object, changing parameters of the original API in the target function object, and adding the original API with the changed parameters into the corresponding target function expansion object; or adding the original API into a corresponding target function extension object; and if the API to be expanded is not the original API contained in the target function object, adding the API to be expanded into the corresponding target function expansion object.
Optionally, the preset kernel includes a first link interface object, where the first link interface object is used to link the target system component and the preset kernel; the adding the function realization information corresponding to the API to be expanded in the target function expansion object comprises the following steps: obtaining a second link interface object by inheriting the first link interface object; and adding function realization information corresponding to the API to be expanded in the target function expansion object in the second link interface object.
Optionally, further comprising instructions for: generating a Software Development Kit (SDK) according to the target function extension object and a preset kernel; the SDK is integrated in a third party application to be developed.
Optionally, further comprising instructions for: installing a third party application program integrated with the SDK; the target system component sends a call request of an API to be called to a preset kernel according to the received starting instruction aiming at the third-party application program; the preset kernel returns a callback message corresponding to the API to be called; and the target system component displays the interface of the third-party application program according to the callback message.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device that comprises the element.
The above detailed description of an information expansion method, an information expansion device and an electronic device provided by the present invention applies specific examples to illustrate the principles and embodiments of the present invention, and the above description of the examples is only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (16)

1. An information extension method, comprising:
Determining a target system component;
Determining a target function object of the API corresponding to the application program editing interface to be expanded, which corresponds to the target system component, and determining the API corresponding to the target function object;
Performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded;
Taking a preset kernel as a bottom kernel corresponding to the target system component, and realizing a function corresponding to an API to be extended in the target function extension object in the preset kernel;
Generating a Software Development Kit (SDK) according to the target function extension object and a preset kernel;
the SDK is integrated in a third party application to be developed.
2. The method of claim 1, wherein the implementing, in a preset kernel, a function corresponding to an API to be extended in the target function extension object includes:
Binding a target function object with a corresponding target function extension object in a preset kernel;
And adding function realization information corresponding to the API to be expanded in the target function expansion object.
3. The method according to claim 1, wherein the performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded includes:
If the API to be expanded is an original API contained in the target function object, changing parameters of the original API in the target function object, and adding the original API with the changed parameters into the corresponding target function expansion object; or adding the original API into a corresponding target function extension object;
and if the API to be expanded is not the original API contained in the target function object, adding the API to be expanded into the corresponding target function expansion object.
4. The method of claim 2, wherein the preset kernel includes a first link interface object, the first link interface object being used to link the target system component and the preset kernel;
The adding the function realization information corresponding to the API to be expanded in the target function expansion object comprises the following steps:
obtaining a second link interface object by inheriting the first link interface object;
And adding function realization information corresponding to the API to be expanded in the target function expansion object in the second link interface object.
5. The method of claim 1, wherein the method further comprises:
installing a third party application program integrated with the SDK;
the target system component sends a call request of an API to be called to a preset kernel according to the received starting instruction aiming at the third-party application program;
the preset kernel returns a callback message corresponding to the API to be called;
And the target system component displays the interface of the third-party application program according to the callback message.
6. An information expansion apparatus, comprising:
the component determining module is used for determining a target system component;
the object determining module is used for determining a target function object of the API corresponding to the application program editing interface to be expanded, and determining the API corresponding to the target function object;
the object expansion module is used for carrying out API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded;
The function realization module is used for taking a preset kernel as a bottom kernel corresponding to the target system component and realizing a function corresponding to an API to be expanded in the target function expansion object in the preset kernel;
The integration module is used for generating a Software Development Kit (SDK) according to the target function extension object and a preset kernel; the SDK is integrated in a third party application to be developed.
7. The apparatus of claim 6, wherein the function implementation module comprises:
the object binding sub-module is used for binding the target function object with the corresponding target function extension object in the preset kernel;
and the function adding sub-module is used for adding function realization information corresponding to the API to be expanded in the target function expansion object.
8. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
The object expansion module is specifically configured to, if the API to be expanded is an original API included in the target function object, change a parameter of the original API in the target function object, and add the original API with the changed parameter to the corresponding target function expansion object; or adding the original API into a corresponding target function extension object; and if the API to be expanded is not the original API contained in the target function object, adding the API to be expanded into the corresponding target function expansion object.
9. The apparatus of claim 7, wherein the preset kernel includes a first link interface object therein, the first link interface object being configured to link the target system component and the preset kernel;
The function adding sub-module is used for obtaining a second link interface object by inheriting the first link interface object; and adding function realization information corresponding to the API to be expanded in the target function expansion object in the second link interface object.
10. The apparatus of claim 6, wherein said apparatus further comprises:
The operation module is used for installing a third party application program integrated with the SDK; the target system component sends a call request of an API to be called to a preset kernel according to the received starting instruction aiming at the third-party application program; the preset kernel returns a callback message corresponding to the API to be called; and the target system component displays the interface of the third-party application program according to the callback message.
11. A readable storage medium, characterized in that instructions in said storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information expansion method according to any of the method claims 1-5.
12. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for:
Determining a target system component;
Determining a target function object of the API corresponding to the application program editing interface to be expanded, which corresponds to the target system component, and determining the API corresponding to the target function object;
Performing API expansion on the target function object to obtain a target function expansion object containing an API corresponding to be expanded;
Taking a preset kernel as a bottom kernel corresponding to the target system component, and realizing a function corresponding to an API to be extended in the target function extension object in the preset kernel;
Generating a Software Development Kit (SDK) according to the target function extension object and a preset kernel;
the SDK is integrated in a third party application to be developed.
13. The electronic device of claim 12, wherein the implementing, in a preset kernel, a function corresponding to an API to be extended in the target function extension object includes:
Binding a target function object with a corresponding target function extension object in a preset kernel;
And adding function realization information corresponding to the API to be expanded in the target function expansion object.
14. The electronic device of claim 12, wherein the API expanding the target function object to obtain a target function expanded object including an API corresponding to be expanded comprises:
If the API to be expanded is an original API contained in the target function object, changing parameters of the original API in the target function object, and adding the original API with the changed parameters into the corresponding target function expansion object; or adding the original API into a corresponding target function extension object;
and if the API to be expanded is not the original API contained in the target function object, adding the API to be expanded into the corresponding target function expansion object.
15. The electronic device of claim 13, wherein the preset kernel includes a first link interface object therein, the first link interface object being configured to link the target system component and the preset kernel;
The adding the function realization information corresponding to the API to be expanded in the target function expansion object comprises the following steps:
obtaining a second link interface object by inheriting the first link interface object;
And adding function realization information corresponding to the API to be expanded in the target function expansion object in the second link interface object.
16. The electronic device of claim 12, further comprising instructions to:
installing a third party application program integrated with the SDK;
the target system component sends a call request of an API to be called to a preset kernel according to the received starting instruction aiming at the third-party application program;
the preset kernel returns a callback message corresponding to the API to be called;
And the target system component displays the interface of the third-party application program according to the callback message.
CN201910625772.7A 2019-07-11 2019-07-11 Information expansion method and device and electronic equipment Active CN112214252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910625772.7A CN112214252B (en) 2019-07-11 2019-07-11 Information expansion method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910625772.7A CN112214252B (en) 2019-07-11 2019-07-11 Information expansion method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112214252A CN112214252A (en) 2021-01-12
CN112214252B true CN112214252B (en) 2024-09-06

Family

ID=74048701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910625772.7A Active CN112214252B (en) 2019-07-11 2019-07-11 Information expansion method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112214252B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339694B (en) * 2023-03-07 2023-11-17 上海鸿翼软件技术股份有限公司 Extension method and device of low-code platform assembly, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298521A (en) * 2011-08-31 2011-12-28 因为科技无锡有限公司 Mobile internet application system based on cross-platform browsing technology
CN102541532A (en) * 2010-12-31 2012-07-04 上海博泰悦臻电子设备制造有限公司 Software development kit system suitable for vehicle-mounted system simulator

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8694988B2 (en) * 2010-10-22 2014-04-08 Adobe Systems Incorporated Runtime extensions
US9483284B2 (en) * 2011-02-25 2016-11-01 Red Hat, Inc. Version compatibility determination
CN103559040B (en) * 2013-11-12 2016-05-18 厦门卓讯信息技术有限公司 A kind of system and method based on SDK rapid build mobile Internet application module
US9058193B2 (en) * 2013-11-14 2015-06-16 Google Inc. Methods and systems for providing compatibility of applications with multiple versions of an operating system
CN104035778A (en) * 2014-06-26 2014-09-10 上海斐讯数据通信技术有限公司 Android application program development method
CN104618437B (en) * 2014-12-31 2018-01-12 成都卓影科技有限公司 A kind of adaptation method that interface is set with android terminal device systems
CN105183484A (en) * 2015-09-28 2015-12-23 北京奇虎科技有限公司 Method and device for compatibility of multi-version application programming interface
CN109871207A (en) * 2019-03-07 2019-06-11 张艳秋 A kind of framework extension device and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541532A (en) * 2010-12-31 2012-07-04 上海博泰悦臻电子设备制造有限公司 Software development kit system suitable for vehicle-mounted system simulator
CN102298521A (en) * 2011-08-31 2011-12-28 因为科技无锡有限公司 Mobile internet application system based on cross-platform browsing technology

Also Published As

Publication number Publication date
CN112214252A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN109032606B (en) Native application compiling method and device and terminal
CN111221559B (en) Application updating method, device, storage medium, terminal and server
CN107329742A (en) SDK call method and device
CN104951336A (en) Application program installation method and device
CN105808305B (en) Static resource loading method and device
CN110704053B (en) Style information processing method and device
CN110839073A (en) Method for acquiring push information, method and device for sending push information
CN111459494B (en) A code processing method and device
CN111198706A (en) Method for updating system function, device for updating system function, and storage medium
CN105094904A (en) Application program installation method and device
CN112087544B (en) Prompting method and device
CN107463372B (en) Data-driven page updating method and device
CN112181406B (en) Sharing method and device of rendering engine
CN111597106A (en) Point burying management method and device
CN111221593A (en) A kind of dynamic loading method and device
CN107241439B (en) Message push method and device for H5 page
CN112214252B (en) Information expansion method and device and electronic equipment
CN106060129A (en) Information processing method and device.
CN106990984B (en) Method and apparatus for updating a system
CN112083981B (en) Page view component creation method and device
CN110457084B (en) Loading method and device
CN111813426B (en) Fingerprint data processing method and device
CN114416247A (en) Data processing method and device, electronic equipment and storage medium
CN106844074A (en) The method and apparatus of more new application
CN107766722B (en) Application software installation processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TG01 Patent term adjustment
TG01 Patent term adjustment