CN110221880B - Application programming interface calling method, device, equipment and medium - Google Patents

Application programming interface calling method, device, equipment and medium Download PDF

Info

Publication number
CN110221880B
CN110221880B CN201910487094.2A CN201910487094A CN110221880B CN 110221880 B CN110221880 B CN 110221880B CN 201910487094 A CN201910487094 A CN 201910487094A CN 110221880 B CN110221880 B CN 110221880B
Authority
CN
China
Prior art keywords
calling
environment information
running environment
apis
current running
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
CN201910487094.2A
Other languages
Chinese (zh)
Other versions
CN110221880A (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 Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201910487094.2A priority Critical patent/CN110221880B/en
Publication of CN110221880A publication Critical patent/CN110221880A/en
Application granted granted Critical
Publication of CN110221880B publication Critical patent/CN110221880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides an application programming interface calling method, an application programming interface calling device, terminal equipment, server equipment and a storage medium, comprising the following steps: in the starting process, acquiring the current running environment information of the terminal equipment; acquiring calling codes of all APIs corresponding to the current running environment information; when an application program runs to a preset position of an API to be called, determining a calling code of a target API corresponding to the preset position from calling codes of all APIs; wherein, the preset positions are in one-to-one correspondence with the APIs; executing the calling code of the target API. And adding a preset position of the API to be called into the application program of the same version by adopting the application program of the same version, so that when the application program runs to the preset position, a calling code of the target API corresponding to the preset position is executed, and thus, the calling operation of the target API is completed. Thus, compatibility of the application program can be improved.

Description

Application programming interface calling method, device, equipment and medium
Technical Field
The present invention relates to the field of Application (APP) operation technologies, and in particular, to a method, an apparatus, a terminal device, a server device, and a storage medium for calling an Application programming interface (Application Programming Interface, API).
Background
With the continuous development of computer technology, application programs are more and more diverse, and the application programs realize specific functions by calling an API.
For an application, since the operating system has many versions, to accommodate different operating system versions, different versions of the application need to be developed. Thus, application compatibility is low.
Disclosure of Invention
The embodiment of the invention aims to provide an application programming interface calling method, an application programming interface calling device, terminal equipment, server equipment and a storage medium, so as to improve the compatibility of application programs. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an API calling method, applied to an application client in a terminal device, where the method includes:
acquiring current running environment information of the terminal equipment in the starting process of the application program client;
acquiring calling codes of all APIs corresponding to the current running environment information;
when an application program runs to a preset position of an API to be called, determining a calling code of a target API corresponding to the preset position from calling codes of all APIs; wherein, the preset positions are in one-to-one correspondence with the AP I;
Executing the calling code of the target API.
Further, the step of obtaining the calling codes of the APIs corresponding to the current running environment information includes:
the current running environment information is sent to a server side device in communication connection with the terminal device, so that the server side device judges whether calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments; if so, returning calling codes of all APIs corresponding to the current running environment information to the application program client;
and receiving calling codes of all APIs corresponding to the current running environment information returned by the server equipment.
Further, the calling codes of all APIs aiming at the same running environment are positioned in the same calling code package; the code package comprises running environment information;
the step of sending the current running environment information to a server device in communication connection with the terminal device includes:
judging whether calling codes of all APIs corresponding to the current running environment information exist in a local cache according to the running environment information contained in the code packet;
And if the current running environment information does not exist, the current running environment information is sent to a server-side device in communication connection with the terminal device.
Further, before the step of determining the calling code of the target API corresponding to the preset location from the calling codes of the APIs when the application program runs to the preset location where the API is to be called, the method further includes:
and if the calling codes of the APIs corresponding to the current running environment information exist in the local cache, the calling codes of the APIs corresponding to the current running environment information are obtained from the local cache.
Further, the current running environment information comprises version information of an operating system;
the method further comprises the steps of:
if a notification that the calling codes of all APIs corresponding to the current running environment information do not exist is received, which is returned by the server device, when an application program runs to a preset position of the APIs to be called, determining the original calling codes of the target APIs corresponding to the preset position from the original calling codes of all APIs pre-stored in a local cache, wherein the original calling codes of all APIs are calling codes of all APIs corresponding to an original version of the operating system;
And executing the original calling code of the target API.
In a second aspect, an embodiment of the present invention provides an API calling method, applied to a server device communicatively connected to a terminal device, where the method includes:
receiving current running environment information of the terminal equipment, which is sent by an application program client side in the terminal equipment; the current running environment information is sent after the application program client acquires the current running environment information of the terminal equipment in the starting process;
judging whether calling codes of all APIs corresponding to the current running environment information exist in a prestored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments;
if so, sending calling codes of all APIs corresponding to the current running environment information to the application program client so that the application program client receives the calling codes of all APIs corresponding to the current running environment information, and determining the calling codes of target APIs corresponding to preset positions from the calling codes of all APIs when an application program runs to the preset positions of the APIs to be called; executing the calling code of the target API; wherein, preset position and AP I one-to-one correspond.
Further, the method further comprises:
if the prestored calling code library does not have the calling codes of the APIs corresponding to the current running environment information, sending a notification that the calling codes of the APIs corresponding to the current running environment information do not exist to the application program client so that when the application program runs to a preset position of the APIs to be called, the original calling codes of the target APIs corresponding to the preset position are determined from the original calling codes of the APIs prestored in a local cache of the terminal equipment; executing the original calling code of the target API; the original calling codes of the APIs are calling codes of the APIs corresponding to the original version of the operating system.
In a third aspect, an embodiment of the present invention provides an API calling device, applied to an application client in a terminal device, including:
the running environment information acquisition module is used for acquiring the current running environment information of the terminal equipment in the starting process of the application program client;
the calling code acquisition module is used for acquiring calling codes of all APIs corresponding to the current running environment information;
The calling code determining module is used for determining the calling code of the target API corresponding to the preset position from the calling codes of all APIs when the application program runs to the preset position of the API to be called; wherein, the preset positions are in one-to-one correspondence with the AP I;
and the calling code executing module is used for executing the calling code of the target API.
Further, the calling code obtaining module includes: an operation environment information sending sub-module and a calling code receiving sub-module;
the running environment information sending sub-module is used for sending the current running environment information to a server side device in communication connection with the terminal device so that the server side device can judge whether calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments; if so, returning calling codes of all APIs corresponding to the current running environment information to the application program client;
and the calling code receiving sub-module is used for receiving calling codes of all APIs corresponding to the current running environment information returned by the server side equipment.
Further, the calling codes of all APIs aiming at the same running environment are positioned in the same calling code package; the code package comprises running environment information;
the operation environment information sending sub-module comprises: a judging unit and an operation environment information transmitting unit;
the judging unit is used for judging whether calling codes of all APIs corresponding to the current running environment information exist in the local cache according to the running environment information contained in the code packet;
the running environment information sending unit is used for sending the current running environment information to a server device which is in communication connection with the terminal device if the calling codes of all APIs corresponding to the current running environment information do not exist.
Further, the calling code obtaining module further includes: calling a code acquisition sub-module;
the calling code obtaining sub-module is configured to obtain, when the application program runs to a preset position of an API to be called, from the calling codes of the APIs, if the calling codes of the APIs corresponding to the current running environment information exist in the local cache before determining the calling code of the target API corresponding to the preset position, the calling codes of the APIs corresponding to the current running environment information from the local cache, and trigger the calling code determining module.
Further, the current running environment information comprises version information of an operating system;
the calling code determining module is further configured to determine, when receiving a notification that the calling code of each API corresponding to the current running environment information does not exist and returned by the server device, from among the original calling codes of each API pre-stored in the local cache, an original calling code of a target API corresponding to the preset position when the application program runs to the preset position of the API to be called, where the original calling code of each API is a calling code of each API corresponding to the original version of the operating system;
and the calling code executing module is further used for executing the original calling code of the target API after the original calling code of the target API corresponding to the preset position is determined.
In a fourth aspect, an embodiment of the present invention provides an API calling device, applied to a server device communicatively connected to a terminal device, where the device includes:
the running environment information receiving module is used for receiving the current running environment information of the terminal equipment, which is sent by the application program client side in the terminal equipment; the current running environment information is sent after the application program client acquires the current running environment information of the terminal equipment in the starting process;
The judging module is used for judging whether calling codes of all APIs corresponding to the current running environment information exist in a prestored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments;
the calling code sending module is used for sending calling codes of all APIs corresponding to the current running environment information to the application program client if the calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library, so that the application program client receives the calling codes of all APIs corresponding to the current running environment information, and when an application program runs to a preset position of an API to be called, determining the calling codes of a target API corresponding to the preset position from the calling codes of all APIs; executing the calling code of the target API; wherein, preset position and AP I one-to-one correspond.
Further, the device further comprises:
a notification sending module, configured to send, to the application client, a notification that no call code of each API corresponding to the current running environment information exists if no call code of each API corresponding to the current running environment information exists in the pre-stored call code library, so that when an application runs to a preset location of an API to be called, an original call code of a target API corresponding to the preset location is determined from original call codes of each API pre-stored in a local cache of a terminal device; executing the original calling code of the target API; the original calling codes of the APIs are calling codes of the APIs corresponding to the original version of the operating system.
In a fifth aspect, an embodiment of the present invention provides a terminal device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor for implementing the steps of any one of the API calling methods in the first aspect when executing the program stored in the memory.
In a sixth aspect, an embodiment of the present invention provides a server device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor for implementing the steps of any one of the API calling methods in the second aspect when executing the program stored in the memory.
In a seventh aspect, embodiments of the present invention further provide a computer readable storage medium having a computer program stored therein, which when run on a computer, causes the computer to perform the steps of any of the application programming interface API calling methods described above.
In an eighth aspect, embodiments of the present invention also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of any of the application programming interface, API, calling methods described above.
The embodiment of the invention provides an Application Programming Interface (API) calling method, an API calling device, terminal equipment, server equipment and a storage medium, wherein an application client in the terminal equipment acquires current running environment information of the terminal equipment in a starting process; acquiring calling codes of all APIs corresponding to the current running environment information; when an application program runs to a preset position of an API to be called, determining a calling code of a target API corresponding to the preset position from calling codes of all APIs; wherein, the preset positions are in one-to-one correspondence with the AP I; executing the calling code of the target API. In the embodiment of the invention, application programs of different versions are not required to be developed aiming at different running environments, but the application programs of the same version are adopted, and the preset position of the API to be called is added in the application programs of the version, so that when the application programs run to the preset position, the calling code of the target API corresponding to the preset position is executed, and the calling operation of the target API is completed. Thus, compatibility of the application program can be improved.
Of course, it is not necessary for any one product or method of practicing the invention to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an API calling method according to an embodiment of the present invention applied to an application client in a terminal device;
FIG. 2 is a schematic flow chart of another application program client of the application program client in a terminal device according to the API calling method provided by an embodiment of the present invention;
FIG. 3 is a schematic flow chart of an API call method according to an embodiment of the present invention applied to a server device communicatively connected to a terminal device;
FIG. 4 is a schematic diagram of an interaction flow of an API calling method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an API calling device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another API calling device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to improve compatibility of application programs, the embodiment of the invention provides an application programming interface API calling method, an application programming interface API calling device, terminal equipment and server equipment.
Referring to fig. 1, fig. 1 is a schematic flow chart of an application program client of a terminal device according to an embodiment of the present invention, which specifically includes the following steps:
step 101, in the starting process of the application program client, acquiring the current running environment information of the terminal equipment.
The current operating environment information of the terminal device may be information characterizing an operating system class in the terminal device, and may include, for example: manufacturer information of the terminal device, operating system type information, version information of the operating system, and the like.
Step 102, acquiring calling codes of all APIs corresponding to the current running environment information.
For the android system, different types and versions of operating systems, namely different running environments, and certain differences exist in API calling modes, so that in the embodiment of the invention, different API calling codes can be pre-written aiming at different running environment information, and before the API calling, the calling codes of all APIs corresponding to the current running environment information can be acquired.
Specifically, the written calling codes can be packaged into a JAR (Java Archive) format, the packaged calling codes are stored in a server device in communication connection with the terminal device, and the calling codes corresponding to the updated running environment are timely supplemented according to continuous updating of the running environment.
When an application program is started, calling codes of all APIs corresponding to the current running environment information can be obtained from the server equipment; the calling codes of the APIs corresponding to the current running environment information, which are acquired from the server device and stored before, can also be acquired from the local cache.
Step 103, when the application program runs to the preset position of the API to be called, determining the calling code of the target API corresponding to the preset position from the calling codes of the APIs.
Wherein, preset position and AP I one-to-one correspond.
Step 104, executing the calling code of the target API.
As can be seen from the foregoing embodiments, in the embodiments of the present invention, it is not necessary to develop different versions of application programs for different operating environments, but the same version of application program is adopted, and a preset location where an API is to be called is set in the version of application program, so that when the application program runs to the preset location, a calling code of a target API corresponding to the preset location is executed, thereby completing a calling operation of the target API. Thus, compatibility of the application program can be improved.
Referring to fig. 2, fig. 2 is another flow chart of an application program client of a terminal device according to an embodiment of the present invention, where specific steps include:
step 201, in the process of starting an application program client, acquiring current running environment information of a terminal device.
The current operating environment information of the terminal device may be information characterizing an operating system class in the terminal device, and may include, for example: manufacturer information of the terminal device, operating system type information, version information of the operating system, and the like.
Step 202, judging whether calling codes of all APIs corresponding to the current running environment information exist in the local cache according to the running environment information contained in the code packet. If the calling codes of the APIs corresponding to the current running environment information do not exist in the local cache, executing step 203; if there is calling code of each API corresponding to the current running environment information in the local cache, step 205 is executed.
Compared with the operating system in the terminal equipment when the application program is started up last time, the operating system may be changed or not changed at the time of starting up, for example, if the operating system is updated by a user after the application program is started up last time, and then the operating system is changed when the application program is started up again, namely the operating environment is changed; if the user does not upgrade the operating system, the operating environment is unchanged.
If the running environment corresponding to the 2-time starting process of the application program is unchanged, the application program obtains calling codes of all APIs corresponding to the running environment when starting for the 1 st time, and the calling codes of all APIs corresponding to the running environment exist in the local cache, so that the application program only needs to obtain the calling codes of all APIs corresponding to the running environment from the local cache when starting for the 2 nd time; if the running environment changes, the application program needs to acquire calling codes of all APIs corresponding to the current running environment from the server device again so as to be used later.
Specifically, the calling codes of the APIs for the same operating environment may be located in the same calling code package; and the code package contains the running environment information. Therefore, after the application client is started, it can be determined whether the calling codes of the APIs corresponding to the current running environment information exist in the local cache according to the running environment information contained in the code packet.
And 203, transmitting the current running environment information to a server device in communication connection with the terminal device.
And 204, receiving calling codes of all APIs corresponding to the current running environment information returned by the server side equipment. Thereafter, step 206 is performed.
Specifically, a call code library may be created in advance in a server device communicatively connected to the terminal device, where different API call codes written in advance for different running environment information are stored in the call code library, as shown in table one, and different running environment information in the call code library corresponds to different API call codes:
list one
Figure BDA0002085770690000101
After receiving the current running environment information, the server device can judge whether calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments; and if so, returning calling codes of the APIs corresponding to the current running environment information to the application program client.
Step 205, obtaining calling codes of each API corresponding to the current running environment information from the local cache.
In step 206, when the application program runs to the preset location of the API to be called, determining the calling code of the target API corresponding to the preset location from the calling codes of the APIs.
Wherein, preset position and AP I one-to-one correspond.
Step 207, executing the calling code of the target API.
The embodiment shown in fig. 2 will be described below with a specific example:
for example: assume that: the current running environment of the terminal equipment where the application program is located is: xm=a1, xui =b1, android=6.0; the target API is an authority setting page API;
in the starting process, the application program client acquires the current running environment information: xm=a1, xui =b1, android=6.0, and judging whether calling codes of all APIs corresponding to the current running environment information exist in a local cache, and if not, sending the current running environment information to a server device in communication connection with the terminal device: xm=a1, xui =b1, and android=6.0, so that the server device returns the calling code of each API corresponding to the current running environment information, namely, calling code 1, when the application program runs to the preset position where the permission setting page API is to be called: when xm_ xui _android_permission (), a call code of the permission setting page API is determined from the call code 1, and the call code of the permission setting page API is executed to display the permission setting page of the terminal device.
In another embodiment of the present invention, if there is no call code of each API corresponding to the current running environment information in the pre-stored call code library of the server device, the server device sends a notification that there is no call code of each API corresponding to the current running environment information to the application client, and when the application program runs to a preset location of the API to be called, determines an original call code of a target API corresponding to the preset location from the original call codes of each API pre-stored in the local cache, and executes the original call code of the target API. Wherein the original calling code of each API is the calling code of each API corresponding to the original version of the operating system. In fact, the application client loads the original calling codes of the APIs in the starting process, and because the original calling codes are original calling codes of the system, in this embodiment, if the application client receives a notification that the calling codes of the APIs corresponding to the current running environment information do not exist, the original calling codes of the target APIs are executed, so as to ensure that the application client continues to run.
As can be seen from the embodiment shown in fig. 2, the application program of the same version may be adopted, and the preset position to call the API is added in the application program of the version, so that when the application program runs to the preset position, the calling code of the target API corresponding to the preset position is executed, thereby completing the calling operation of the target API. Thus, compatibility of the application program can be improved. Meanwhile, whether calling codes of all APIs corresponding to the current running environment exist in the local cache is judged, and when the calling codes of all APIs corresponding to the current running environment exist, the calling codes are directly obtained from the local cache, and are not required to be obtained from the server equipment again, so that bandwidth resources can be saved.
Referring to fig. 3, fig. 3 is a schematic flow chart of an application of the API call method provided by the embodiment of the present invention to a server device communicatively connected to a terminal device, and specifically includes the following steps:
step 301, receiving current running environment information of a terminal device sent by an application program client in the terminal device.
The current running environment information is sent after the application program client acquires the current running environment information of the terminal equipment in the starting process.
Step 302, judging whether calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library.
The calling code library comprises calling codes of various APIs aiming at different running environments.
Step 303, if yes, sending calling codes of all APIs corresponding to the current running environment information to the application program client so that the application program client receives the calling codes of all APIs corresponding to the current running environment information, and determining the calling codes of the target APIs corresponding to the preset positions from the calling codes of all APIs when the application program runs to the preset positions of the APIs to be called; and executing the calling code of the target API.
Wherein, preset position and AP I one-to-one correspond.
In the embodiment shown in fig. 3, after receiving the current running environment information and determining that the calling codes of the APIs corresponding to the current running environment information exist in the calling code library, the server device returns the calling codes of the APIs corresponding to the current running environment information, so that when the application program client runs to the preset position of the API to be called, the application program client determines the calling code of the target API corresponding to the preset position from the calling codes of the APIs; and executing the calling code of the target API. In this embodiment, it is not necessary to develop application programs of different versions for different running environments, but the application program of the same version is adopted, and a preset position of an API to be called is added in the application program of the version, so that when the application program runs to the preset position, a calling code of a target API corresponding to the preset position is executed, thereby completing a calling operation of the target API. Thus, compatibility of the application program can be improved.
Referring to fig. 4, fig. 4 is a schematic diagram of an interaction flow of an API call method according to an embodiment of the present invention, which specifically includes the following steps:
In step 401, in the starting process, the application program client in the terminal device acquires the current running environment information of the terminal device.
The current operating environment information of the terminal device may be information characterizing an operating system class in the terminal device, and may include, for example: manufacturer information of the terminal device, operating system type information, version information of the operating system, and the like.
In step 402, the application client determines, according to the running environment information included in the code packet, whether there is a calling code of each API corresponding to the current running environment information in the local cache. If yes, go to step 403; if not, go to step 404.
In step 403, the application client obtains the calling codes of the APIs corresponding to the current running environment information from the local cache. Thereafter, step 407 is performed.
In step 404, the application client sends the current running environment information to the server device.
Step 405, the server device determines whether there is a calling code of each API corresponding to the current running environment information in the pre-stored calling code library. If yes, go to step 406; if not, go to step 409.
In step 406, the server device sends calling codes of the APIs corresponding to the current running environment information to the application client.
In step 407, when the application program runs to a preset location where the API is to be called, a calling code of the target API corresponding to the preset location is determined from the calling codes of the APIs.
In step 408, the application client executes the calling code of the target API. Thereafter, the API call is completed.
In step 409, the server device sends a notification to the application client that there is no calling code of each API corresponding to the current running environment information.
In step 410, when the application program runs to the preset location of the API to be called, the original calling code of the target API corresponding to the preset location is determined from the original calling codes of the APIs pre-stored in the local cache.
Wherein the original calling code of each API is the calling code of each API corresponding to the original version of the operating system.
Step 411, the original calling code of the target API is executed.
In the embodiment shown in fig. 4, the same version of application program may be adopted, and a preset position to call the API is added in the version of application program, so that when the application program runs to the preset position, a call code of the target API corresponding to the preset position is executed, thereby completing a call operation of the target API. Thus, compatibility of the application program can be improved.
Based on the same inventive concept, according to the API calling method provided by the above embodiment of the present invention, correspondingly, the embodiment of the present invention further provides an API calling device, which is applied to an application program client in a terminal device; the structure of the device is schematically shown in fig. 5, and the device comprises:
the running environment information obtaining module 501 is configured to obtain current running environment information of the terminal device during the starting process of the application client;
a calling code obtaining module 502, configured to obtain calling codes of respective APIs corresponding to current running environment information;
a calling code determining module 503, configured to determine, when the application program runs to a preset location where the API is to be called, a calling code of a target API corresponding to the preset location from calling codes of the APIs; wherein, the preset positions are in one-to-one correspondence with the AP I;
the calling code executing module 504 is configured to execute the calling code of the target API.
Further, the calling code obtaining module 502 includes: an operation environment information sending sub-module and a calling code receiving sub-module;
the running environment information sending sub-module is used for sending the current running environment information to the server equipment in communication connection with the terminal equipment so that the server equipment judges whether calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments; if so, returning calling codes of all APIs corresponding to the current running environment information to the application program client;
And the calling code receiving sub-module is used for receiving calling codes of all APIs corresponding to the current running environment information returned by the server side equipment.
Further, the calling codes of all APIs aiming at the same running environment are positioned in the same calling code package; the code package contains running environment information;
the operation environment information sending sub-module comprises: a judging unit and an operation environment information transmitting unit;
the judging unit is used for judging whether calling codes of all APIs corresponding to the current running environment information exist in the local cache according to the running environment information contained in the code packet;
and the running environment information sending unit is used for sending the current running environment information to the server equipment in communication connection with the terminal equipment if the calling codes of the APIs corresponding to the current running environment information do not exist.
Further, the calling code obtaining module 502 further includes: calling a code acquisition sub-module;
and the calling code acquisition sub-module is used for acquiring calling codes of all APIs corresponding to the current running environment information from the local cache and triggering the calling code determining module before determining the calling codes of the target APIs corresponding to the preset position from the calling codes of all APIs when the application program runs to the preset position of the APIs to be called.
Further, the current running environment information includes version information of the operating system;
the call code determining module 503 is further configured to determine, if a notification that the call code of each API corresponding to the current running environment information does not exist, that is returned by the server device, from the original call codes of each API stored in the local cache, when the application program runs to a preset location of the API to be called, an original call code of a target API corresponding to the preset location, where the original call code of each API is a call code of each API corresponding to an original version of the operating system;
the calling code executing module 504 is further configured to execute the original calling code of the target API after determining the original calling code of the target API corresponding to the preset location.
In the embodiment of the invention shown in fig. 5, the application programs of different versions are not required to be developed aiming at different running environments, but the application programs of the same version are adopted, and the preset position of the API to be called is added in the application programs of the version, so that when the application programs run to the preset position, the calling code of the target API corresponding to the preset position is executed, and the calling operation of the target API is completed. Thus, compatibility of the application program can be improved.
Based on the same inventive concept, according to the API calling method provided by the above embodiment of the present invention, correspondingly, the embodiment of the present invention further provides an API calling device, which is applied to a server device communicatively connected to a terminal device; the structure of the device is schematically shown in fig. 6, and the device comprises:
an operation environment information receiving module 601, configured to receive current operation environment information of a terminal device sent by an application client in the terminal device; the current running environment information is sent after the application program client acquires the current running environment information of the terminal equipment in the starting process;
the judging module 602 is configured to judge whether calling codes of each API corresponding to the current running environment information exist in a pre-stored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments;
the calling code sending module 603 is configured to send, to the application client, the calling codes of the APIs corresponding to the current running environment information if the calling codes of the APIs corresponding to the current running environment information exist in the pre-stored calling code library, so that the application client receives the calling codes of the APIs corresponding to the current running environment information, and when the application program runs to a preset position of the API to be called, determine, from the calling codes of the APIs, a calling code of a target API corresponding to the preset position; executing calling codes of the target API; wherein, preset position and AP I one-to-one correspond.
Further, the apparatus further comprises:
the notification sending module is used for sending a notification that the calling codes of the APIs corresponding to the current running environment information do not exist to the application program client if the calling codes of the APIs corresponding to the current running environment information do not exist in a pre-stored calling code library, so that when the application program runs to a preset position of the APIs to be called, the original calling codes of the target APIs corresponding to the preset position are determined from original calling codes of the APIs pre-stored in a local cache of the terminal equipment; executing original calling codes of the target API; the original calling code of each API is the calling code of each API corresponding to the original version of the operating system.
In the embodiment shown in fig. 6 of the present invention, after the server device receives the current running environment information from the running environment information receiving module 601, and the judging module 602 judges that the calling codes of the APIs corresponding to the current running environment information exist in the calling code library, the calling code sending module 603 returns the calling codes of the APIs corresponding to the current running environment information, so that when the application program runs to the preset position of the API to be called, the application program client determines the calling code of the target API corresponding to the preset position from the calling codes of the APIs; and executing the calling code of the target API. In this embodiment, it is not necessary to develop application programs of different versions for different running environments, but the application program of the same version is adopted, and a preset position of an API to be called is added in the application program of the version, so that when the application program runs to the preset position, a calling code of a target API corresponding to the preset position is executed, thereby completing a calling operation of the target API. Thus, compatibility of the application program can be improved.
The embodiment of the present invention also provides a terminal device, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete communication with each other through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to execute the program stored in the memory 703, and implement the following steps:
acquiring current running environment information of the terminal equipment in the starting process of the application program client;
acquiring calling codes of all APIs corresponding to the current running environment information;
when an application program runs to a preset position of an API to be called, determining a calling code of a target API corresponding to the preset position from calling codes of all APIs; wherein, the preset positions are in one-to-one correspondence with the AP I;
and executing the calling code of the target API.
Further, other processing flows in the above API call method provided by the embodiment of the present invention may also be included, which will not be described in detail herein.
The embodiment of the invention also provides a server device which is in communication connection with the terminal device, as shown in fig. 8, and comprises a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802 and the memory 803 complete communication with each other through the communication bus 804,
A memory 803 for storing a computer program;
the processor 801, when executing the program stored in the memory 803, implements the following steps:
receiving current running environment information of terminal equipment sent by an application program client side in the terminal equipment; the current running environment information is sent after the application program client acquires the current running environment information of the terminal equipment in the starting process;
judging whether calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments;
if the application program exists, sending calling codes of all APIs corresponding to the current running environment information to the application program client so that the application program client receives the calling codes of all APIs corresponding to the current running environment information, and determining the calling codes of the target APIs corresponding to the preset positions from the calling codes of all APIs when the application program runs to the preset positions of the APIs to be called; executing calling codes of the target API; wherein, preset position and AP I one-to-one correspond.
Further, other processing flows in the above API call method provided by the embodiment of the present invention may also be included, which will not be described in detail herein.
The communication bus mentioned by the terminal device or the service end device may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the terminal equipment or the service end equipment and other equipment.
The Memory may include random access Memory (Random Access Memory, RAM) or Non-Volatile Memory (NVM), such as at least one disk Memory. Further, the memory may be at least one memory device located remotely from the processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, a computer readable storage medium is provided, in which instructions are stored, which when run on a computer, cause the computer to perform the API call method of any of the above embodiments.
In yet another embodiment of the present invention, a computer program product containing instructions that, when run on a computer, cause the computer to perform the API call method of any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the above-described computer program instructions are loaded and executed on a computer, the processes or functions described above according to embodiments of the present invention are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (english: digital Subscriber Line; DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage media may be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a digital video Disk (english: digital Video Disc; DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
It is 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 apparatus 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 apparatus. 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 apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the apparatus, terminal device, server device, and storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference should be made to the description of the method embodiments for relevant points.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (16)

1. An application programming interface API calling method, applied to an application client in a terminal device, comprising:
acquiring current running environment information of the terminal equipment in the starting process of the application program client;
acquiring calling codes of all APIs corresponding to the current running environment information;
when an application program runs to a preset position of an API to be called, determining a calling code of a target API corresponding to the preset position from calling codes of all APIs; wherein, the preset positions are in one-to-one correspondence with the APIs;
executing the calling code of the target API;
the step of obtaining the calling codes of the APIs corresponding to the current running environment information comprises the following steps:
the current running environment information is sent to a server side device in communication connection with the terminal device, so that the server side device judges whether calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments; if so, returning calling codes of all APIs corresponding to the current running environment information to the application program client;
Receiving calling codes of all APIs corresponding to the current running environment information returned by the server equipment;
acquiring calling codes of all APIs corresponding to the current running environment information, wherein the calling codes comprise:
and acquiring calling codes of all APIs corresponding to the current running environment information from a local cache and/or the server equipment.
2. The method of claim 1, wherein the calling code for each API of the same operating environment is located in the same calling code package; the code package comprises running environment information;
the step of sending the current running environment information to a server device in communication connection with the terminal device includes:
judging whether calling codes of all APIs corresponding to the current running environment information exist in a local cache according to the running environment information contained in the code packet;
and if the current running environment information does not exist, the current running environment information is sent to a server-side device in communication connection with the terminal device.
3. The method according to claim 2, further comprising, before the step of determining, from among the call codes of the respective APIs, the call code of the target API corresponding to the preset location when the application program is running to the preset location where the API is to be called:
And if the calling codes of the APIs corresponding to the current running environment information exist in the local cache, the calling codes of the APIs corresponding to the current running environment information are obtained from the local cache.
4. A method according to claim 1 or 3, wherein the current operating environment information comprises version information of an operating system;
the method further comprises the steps of:
if a notification that the calling codes of all APIs corresponding to the current running environment information do not exist is received, which is returned by the server device, when an application program runs to a preset position of the APIs to be called, determining the original calling codes of the target APIs corresponding to the preset position from the original calling codes of all APIs pre-stored in a local cache, wherein the original calling codes of all APIs are calling codes of all APIs corresponding to an original version of the operating system;
and executing the original calling code of the target API.
5. An API calling method, applied to a server device communicatively connected to a terminal device, includes:
receiving current running environment information of the terminal equipment, which is sent by an application program client side in the terminal equipment; the current running environment information is sent after the application program client acquires the current running environment information of the terminal equipment in the starting process;
Judging whether calling codes of all APIs corresponding to the current running environment information exist in a prestored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments;
if so, sending calling codes of all APIs corresponding to the current running environment information to the application program client so that the application program client receives the calling codes of all APIs corresponding to the current running environment information, and determining the calling codes of target APIs corresponding to preset positions from the calling codes of all APIs when an application program runs to the preset positions of the APIs to be called; executing the calling code of the target API; wherein, preset position and API one-to-one.
6. The method of claim 5, wherein the method further comprises:
if the prestored calling code library does not have the calling codes of the APIs corresponding to the current running environment information, sending a notification that the calling codes of the APIs corresponding to the current running environment information do not exist to the application program client so that when the application program runs to a preset position of the APIs to be called, the original calling codes of the target APIs corresponding to the preset position are determined from the original calling codes of the APIs prestored in a local cache of the terminal equipment; executing the original calling code of the target API; the original calling codes of the APIs are calling codes of the APIs corresponding to the original version of the operating system.
7. An application programming interface API calling device, for application program client in a terminal device, comprising:
the running environment information acquisition module is used for acquiring the current running environment information of the terminal equipment in the starting process of the application program client;
the calling code acquisition module is used for acquiring calling codes of all APIs corresponding to the current running environment information;
the calling code determining module is used for determining the calling code of the target API corresponding to the preset position from the calling codes of all APIs when the application program runs to the preset position of the API to be called; wherein, the preset positions are in one-to-one correspondence with the APIs;
the calling code executing module is used for executing the calling code of the target API;
the calling code acquisition module comprises: an operation environment information sending sub-module and a calling code receiving sub-module;
the running environment information sending sub-module is used for sending the current running environment information to a server side device in communication connection with the terminal device so that the server side device can judge whether calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments; if so, returning calling codes of all APIs corresponding to the current running environment information to the application program client;
The calling code receiving sub-module is used for receiving calling codes of all APIs corresponding to the current running environment information returned by the server equipment;
acquiring calling codes of all APIs corresponding to the current running environment information, wherein the calling codes comprise:
and acquiring calling codes of all APIs corresponding to the current running environment information from a local cache and/or the server equipment.
8. The apparatus of claim 7, wherein the calling code for each API of the same operating environment is located in the same calling code package; the code package comprises running environment information;
the operation environment information sending sub-module comprises: a judging unit and an operation environment information transmitting unit;
the judging unit is used for judging whether calling codes of all APIs corresponding to the current running environment information exist in the local cache according to the running environment information contained in the code packet;
the running environment information sending unit is used for sending the current running environment information to a server device which is in communication connection with the terminal device if the calling codes of all APIs corresponding to the current running environment information do not exist.
9. The apparatus of claim 8, wherein the call code acquisition module further comprises: calling a code acquisition sub-module;
the calling code obtaining sub-module is configured to obtain, when the application program runs to a preset position of an API to be called, from the calling codes of the APIs, if the calling codes of the APIs corresponding to the current running environment information exist in the local cache before determining the calling code of the target API corresponding to the preset position, the calling codes of the APIs corresponding to the current running environment information from the local cache, and trigger the calling code determining module.
10. The apparatus according to claim 7 or 9, wherein the current operating environment information includes version information of an operating system;
the calling code determining module is further configured to determine, when receiving a notification that the calling code of each API corresponding to the current running environment information does not exist and returned by the server device, from among the original calling codes of each API pre-stored in the local cache, an original calling code of a target API corresponding to the preset position when the application program runs to the preset position of the API to be called, where the original calling code of each API is a calling code of each API corresponding to the original version of the operating system;
And the calling code executing module is further used for executing the original calling code of the target API after the original calling code of the target API corresponding to the preset position is determined.
11. An API calling device, applied to a server device communicatively connected to a terminal device, comprising:
the running environment information receiving module is used for receiving the current running environment information of the terminal equipment, which is sent by the application program client side in the terminal equipment; the current running environment information is sent after the application program client acquires the current running environment information of the terminal equipment in the starting process;
the judging module is used for judging whether calling codes of all APIs corresponding to the current running environment information exist in a prestored calling code library; the calling code library comprises calling codes of all APIs aiming at different running environments;
the calling code sending module is used for sending calling codes of all APIs corresponding to the current running environment information to the application program client if the calling codes of all APIs corresponding to the current running environment information exist in a pre-stored calling code library, so that the application program client receives the calling codes of all APIs corresponding to the current running environment information, and when an application program runs to a preset position of an API to be called, determining the calling codes of a target API corresponding to the preset position from the calling codes of all APIs; executing the calling code of the target API; wherein, preset position and AP I one-to-one correspond.
12. The apparatus of claim 11, wherein the apparatus further comprises:
a notification sending module, configured to send, to the application client, a notification that no call code of each API corresponding to the current running environment information exists if no call code of each API corresponding to the current running environment information exists in the pre-stored call code library, so that when an application runs to a preset location of an API to be called, an original call code of a target API corresponding to the preset location is determined from original call codes of each API pre-stored in a local cache of a terminal device; executing the original calling code of the target API; the original calling codes of the APIs are calling codes of the APIs corresponding to the original version of the operating system.
13. The terminal equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any one of claims 1-4 when executing a program stored on a memory.
14. The server device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 5-6 when executing a program stored on a memory.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-4.
16. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 5-6.
CN201910487094.2A 2019-06-05 2019-06-05 Application programming interface calling method, device, equipment and medium Active CN110221880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910487094.2A CN110221880B (en) 2019-06-05 2019-06-05 Application programming interface calling method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910487094.2A CN110221880B (en) 2019-06-05 2019-06-05 Application programming interface calling method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN110221880A CN110221880A (en) 2019-09-10
CN110221880B true CN110221880B (en) 2023-06-20

Family

ID=67819430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910487094.2A Active CN110221880B (en) 2019-06-05 2019-06-05 Application programming interface calling method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN110221880B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394953A (en) * 2020-11-16 2021-02-23 北京五八信息技术有限公司 Application program loading method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1495579A (en) * 2002-07-31 2004-05-12 ������������ʽ���� Image forming device, information processing device and edition correcting method
CN104142881A (en) * 2013-05-07 2014-11-12 腾讯科技(深圳)有限公司 Adaptive defect detecting method and device of application program programming interfaces
CN104598257A (en) * 2013-10-30 2015-05-06 华为技术有限公司 Method and device for remotely operating application program
CN105183484A (en) * 2015-09-28 2015-12-23 北京奇虎科技有限公司 Method and device for compatibility of multi-version application programming interface
US9760384B1 (en) * 2016-06-17 2017-09-12 International Business Machines Corporation Method to support multiple versions of APIs and to control run-time execution of an API

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7506334B2 (en) * 2005-02-25 2009-03-17 Microsoft Corporation Common, multi-version interface that allows a distributed sybsystem to communicate with multiple versions of the distributed subsystem

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1495579A (en) * 2002-07-31 2004-05-12 ������������ʽ���� Image forming device, information processing device and edition correcting method
CN104142881A (en) * 2013-05-07 2014-11-12 腾讯科技(深圳)有限公司 Adaptive defect detecting method and device of application program programming interfaces
CN104598257A (en) * 2013-10-30 2015-05-06 华为技术有限公司 Method and device for remotely operating application program
CN105183484A (en) * 2015-09-28 2015-12-23 北京奇虎科技有限公司 Method and device for compatibility of multi-version application programming interface
US9760384B1 (en) * 2016-06-17 2017-09-12 International Business Machines Corporation Method to support multiple versions of APIs and to control run-time execution of an API

Also Published As

Publication number Publication date
CN110221880A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN107193609B (en) Function module calling method and device in application and electronic equipment
CN106802814B (en) Method and device for upgrading software version
CN104754062B (en) Information popularization method, server and user terminal based on internet
CN111752582B (en) Software updating method and device in local area network and electronic equipment
CN110633205A (en) Method and device for detecting embedded point event, terminal equipment and medium
CN112115049B (en) Application program testing method, device, equipment and computer readable storage medium
CN110457049B (en) Method and device for realizing plug-in automation, electronic equipment and storage medium
CN112685211B (en) Error information display method and device, electronic equipment and medium
CN114461415A (en) Message data processing method and device, computer equipment and storage medium
CN113342419B (en) Push system loading method and device, electronic equipment and storage medium
CN110221880B (en) Application programming interface calling method, device, equipment and medium
CN113645308B (en) Mobile terminal TCP communication, device, equipment and storage medium
CN109032693B (en) Method and device for loading display information, electronic equipment and readable storage medium
CN116931995A (en) System upgrading method and device, electronic equipment and storage medium
CN109995863B (en) Dynamic resource downloading method and device, electronic equipment and storage medium
CN112395034A (en) Page display method and device, electronic equipment and storage medium
CN112965697B (en) Code file generation method and device and electronic equipment
JP7230951B2 (en) Mobile terminal, information processing system, control method, and program
CN113126982B (en) Application program generation and operation method and device
CN112035127B (en) Method and device for installing application, vehicle, storage medium and electronic equipment
CN112527371B (en) Boot loader upgrading method and device, electronic equipment and storage medium
CN110069731B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN112328288A (en) Method, system, equipment and storage medium for updating server component
WO2009019146A1 (en) System and method for managing processing ressources
CN110209513B (en) Broadcast registration method, device, equipment and medium of application program

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