CN109032612B - Interface calling method and device of hybrid application and computer readable storage medium - Google Patents
Interface calling method and device of hybrid application and computer readable storage medium Download PDFInfo
- Publication number
- CN109032612B CN109032612B CN201810710034.8A CN201810710034A CN109032612B CN 109032612 B CN109032612 B CN 109032612B CN 201810710034 A CN201810710034 A CN 201810710034A CN 109032612 B CN109032612 B CN 109032612B
- Authority
- CN
- China
- Prior art keywords
- calling
- callback
- api
- native
- hybrid application
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000006870 function Effects 0.000 claims abstract description 33
- 238000001514 detection method Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 5
- 230000004048 modification Effects 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000003993 interaction Effects 0.000 abstract description 3
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 abstract 1
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 241000256836 Apis Species 0.000 description 4
- 239000008186 active pharmaceutical agent Substances 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Devices For Executing Special Programs (AREA)
- Stored Programmes (AREA)
Abstract
An interface calling method of a hybrid application comprises the following steps: when a trigger operation for calling a target API through a current JavaScript file is received through a hybrid application, determining the version number of the hybrid application, and determining whether a native API defined in the hybrid application comprises the target API or not according to the version number and the current JavaScript file, so as to forbid or allow calling the target API; the invention realizes the version control of the pseudo protocol of JavaScript and native interaction, under the condition that the current JavaScript file is not matched with the native file due to hot update of the JavaScript but not upgraded application, if the calling cannot be finished under the current version, the calling of the target API is forbidden and the calling is directly skipped when the trigger operation is responded by the current JavaScript file, thereby ensuring the normal use of the main functions of the mixed application.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for interface invocation of a hybrid application, and a computer-readable storage medium.
Background
The Hybrid application (Hybrid App) is an application between a Web App and a Native App, and means that part of functions in Native (Native) codes of the application are realized by using a dynamic Web page (HTML5+ JavaScript), and the Hybrid application has the advantages of good user interaction experience of the Native application and cross-platform development of the Web application.
During the use of the hybrid application, the native code and the JavaScript (an transliterated script language) code call each other and pass parameters, and can call back data, but the native code and the JavaScript have the following problems during the call process: in the development process of the hybrid Application, the native code and the JavaScript code are usually developed separately, and when a new function needs to be added to the hybrid Application, a calling method corresponding to the new function needs to be added to the JavaScript code, and the native code is updated to add an API (Application Programming Interface) corresponding to the new function to the native code; the new version of the JavaScript code after hot update is directly released to the online, so the updated JavaScript code can be directly used, but the new version of the original code after update can only be used after the user updates the hybrid application, and in actual use, the user usually cannot update the hybrid application in time, and cannot obtain the original code of the new version in time, so when the new version of the JavaScript executes a newly added calling method to call the original, since the original code of the old version does not include a corresponding API, the new calling method in the JavaScript cannot complete calling, the hybrid application program cannot complete starting of a corresponding function, or even cannot continue to use, and compatibility and use experience are poor.
Disclosure of Invention
The invention aims to provide an interface calling method and device of a hybrid application and a computer readable storage medium, which improve the compatibility of the hybrid application through version control and ensure the safety of asynchronous JavaScript calling.
The invention solves the technical problems through the following technical scheme:
an interface calling method of a hybrid application, the method comprising:
if a trigger operation for calling a target API through a current JavaScript file is received through the hybrid application, determining the version number of the hybrid application;
determining whether the native APIs defined in the hybrid application include a target API or not according to the version number and the current JavaScript file;
if the native API does not include the target API, forbidding calling the target API when responding to the trigger operation through the current JavaScript file;
and if the native API comprises the target API, allowing the target API to be called when the trigger operation is responded through the current JavaScript file.
In order to achieve the above object, the present invention further provides an interface calling apparatus for a hybrid application, including:
the version determining module is used for determining the version number of the hybrid application when receiving the triggering operation for calling the target API through the current JavaScript file through the hybrid application;
the detection module is used for determining whether the native API defined in the hybrid application comprises a target API or not according to the version number and the current JavaScript file;
the operation module is used for forbidding calling the target API when the target API is not included in the native API and the trigger operation is responded through the current JavaScript file;
and the calling module is used for allowing the target API to be called when the native API comprises the target API and the current JavaScript file responds to the trigger operation.
In order to achieve the above object, the present invention also provides a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the interface calling method of the hybrid application when executing the computer program.
In order to achieve the above object, the present invention also provides a computer-readable storage medium having at least one instruction stored therein, the at least one instruction being loaded by at least one processor and executing an interface calling method for implementing a hybrid application.
The positive progress effects of the invention are as follows:
1. the invention realizes the version control of the pseudo protocol of the JavaScript and native interaction, under the condition that the current JavaScript file is not matched with the native version of the current version due to the hot update of the JavaScript but the non-upgrade of the application, when the trigger operation of calling the target API is responded by the current JavaScript file, the calling of the target API is forbidden, the calling is directly skipped, and the normal use of the main functions of the mixed application is ensured.
2. When the JavaScript asynchronously calls a plurality of native methods, the native methods are sequentially executed according to the calling sequence and are sequentially recalled, so that the safety in the calling process is ensured; meanwhile, when the multiple calls conform to the preset call sequence, the multiple calls can be merged by the native, and the call-back is performed for the last time after all the calls are completed, so that the efficiency of mutual call between the JavaScript and the native is improved.
Drawings
Fig. 1 is a flowchart illustrating an interface calling method for a hybrid application according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating an interface calling method for a hybrid application according to another embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating program modules of an interface calling apparatus for a hybrid application according to an embodiment of the present invention.
Fig. 4 is a schematic program module diagram of an interface calling apparatus for a hybrid application according to another embodiment of the present invention.
Fig. 5 is a schematic program module diagram of an interface calling apparatus for a hybrid application according to another embodiment of the present invention.
Fig. 6 is a schematic program module diagram of an interface calling apparatus for a hybrid application according to another embodiment of the present invention.
Fig. 7 is a schematic hardware configuration diagram of an embodiment of the computer device of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, specific steps of an interface calling method of a hybrid application are shown, where the hybrid application includes a native script file and a JavaScript script file, and the native script file and the JavaScript script file are mutually called to implement functions of the entire hybrid application. The native hardware platform-based computing device is developed based on a development tool and a language supported by a hardware platform, the native hardware platform-based computing device is installed on a computer device based on the hardware platform and can call hardware functions (such as a loudspeaker, an acceleration sensor, a camera and the like) of the computer device, for example, the native hardware platform-based computing device can be developed based on an Xcode or Objective-c supported by an IOS platform and installed on the IOS platform-based computing device, or the native hardware platform-based computing device can be developed based on an Eclipse or Java supported by an android platform and installed on the android platform-based computing device. The JavaScript script file is developed based on Web technology. The interface calling method disclosed by the application specifically comprises the following steps:
For example, the target API is a network information reading API, the hybrid application maintains a version 1.0 and a version 1.1, the native version of the hybrid application of the version 1.0 does not provide the network information reading API, the native version of the hybrid application of the version 1.1 provides the network information reading API, and the JavaScript has been updated and added with a calling method for calling the network information reading API. Assuming that the hybrid application installed by the user is still 1.0 version, when the network information reading API needs to be called, the current JavaScript script file detects that the native version of the 1.0 version of the hybrid application does not provide a corresponding interface, and the current method may be to forcibly quit the hybrid application in a state where the user is not updated and not allow the user to continue using the application, but the network information reading is not a main function of the hybrid application and cannot read the network information, so that the normal use of the main function of the hybrid application is not affected.
For example, in the above example, it is assumed that the hybrid application installed by the user is already 1.1 version, when the current JavaScript script file needs to call the network information reading API, it may detect that the native interface of the 1.1 version hybrid application provides a corresponding interface, and then perform the call to read the current network information.
Example two
Referring to fig. 2, the specific steps of the hybrid application when allowing to call the target API in the interface calling process, that is, the steps of the method for implementing step 140 in the first embodiment, are shown, and include:
And 142, transmitting the callback identifier as a parameter to the native object through the current JavaScript file, and calling the target API. The current JavaScript script file is called by using an asynchronous calling method, that is, after executing a call, the current JavaScript script file can continue to execute the next call according to the methods of step 141 and step 142 without waiting for the native completion callback. There may be one or more JavaScript calls at the same time.
And 143, if the current JavaScript file only executes one call within the preset time length, executing the service logic of the call originally, wherein the preset time length can be defined by user. After the service logic of the call is executed, the callback function corresponding to the callback identification of the call is called originally to complete the callback of the call, when the callback is performed, the execution result data of the service logic can be transmitted to the current JavaScript file as a parameter to return the corresponding data of the call to the current JavaScript file, and then the callback identification is cleared originally to ensure the uniqueness of the callback.
And 145, when detecting that the calling sequence of the N times of calling accords with the preset calling sequence, sequentially executing the N times of calling according to the calling sequence, calling a callback function corresponding to the callback identifier of the last time of calling to complete callback after all service logics of the N times of calling are executed, and clearing the N callback identifiers of the N times of calling, namely, the operation of executing the callback and clearing the identifier is executed for the first time, and for the 1 st to N-1 th calling, executing the service logics for the first time and not executing the callback and clearing the identifier.
For example, 4 calls executed by the current JavaScript script file are in sequence: calling a data reading API (corresponding to the callback ID _1), calling a data deleting API (corresponding to the callback ID _2), calling a data writing API (corresponding to the callback ID _3) and calling a data reading API (corresponding to the callback ID _4), and according with a preset calling sequence. And after the read data is originally executed for the first time, the callback is not executed, the callback ID _1 is not cleared, the second callback deletion data is continuously executed, then the callback is not executed, the callback ID _2 is not cleared, the third callback write data is continuously executed, then the callback is not executed, the callback ID _3 is not cleared, the fourth callback read data is continuously executed, then a callback function corresponding to the callback ID _4 is called to return the final data to the current JavaScript file, and the callback ID _1, the callback ID _2, the callback ID _3 and the callback ID _4 are cleared.
For example, 2 calls executed by the current JavaScript script file are in sequence: and calling a camera API (corresponding to the callback ID _5) and a calling data reading API (corresponding to the callback ID _6), calling a callback function corresponding to the callback ID _5 to complete callback and clear the callback ID _5 after the camera application is opened by primary execution and calling a callback function corresponding to the callback ID _6 to complete callback and clear the callback ID _6 after the reading data is called for the second time by primary execution.
EXAMPLE III
Referring to fig. 3, an interface calling apparatus 300 for a hybrid application is shown, which is divided into one or more program modules, each of which may be further divided into one or more program sub-modules and program units, the one or more program modules being stored in a storage medium and executed by one or more processors to implement the present invention. The program module, the program sub-module and the program unit in the present invention refer to a series of computer program instruction segments capable of performing specific functions, and are more suitable for describing the executable process of the interface calling device in the storage medium than the program itself, and the following description will specifically introduce the functions of each module, sub-module and unit, etc. in this embodiment:
a version determining module 310, configured to determine a version number of the hybrid application when a trigger operation for calling the target API through the current JavaScript script file is received through the hybrid application;
the detection module 320 is configured to determine whether a native API defined in the hybrid application includes a target API according to the version number and the current JavaScript script file;
the operation module 330 is configured to prohibit calling of the target API when the target API is not included in the native API and when the trigger operation is responded by the current JavaScript script file;
the calling module 340 is configured to allow calling of the target API when the native API includes the target API and when the trigger operation is responded by the current JavaScript script file. The calling module 340 further includes a calling sub-module 341, an identification generation sub-module 342, a transfer sub-module 343, and a callback sub-module 344, please refer to fig. 4. The calling submodule 341 is configured to execute calling of the target API through the current JavaScript script file; the identifier generation submodule 342 is configured to generate a callback identifier corresponding to the call through the current JavaScript script file, where the callback identifier is used to identify a callback function of the call; the transmission submodule 343 is configured to transmit the callback identifier to the native object through the current JavaScript script file; and the callback submodule 344 is configured to execute the service logic of the call by itself, call a callback function corresponding to the callback identifier to complete callback of the call after the service logic of the call is executed, and clear the callback identifier.
Referring to fig. 5, the identifier generation sub-module 342 further includes a parameter obtaining unit 342-1 and an identifier generation unit 342-2. A parameter obtaining unit 342-1, configured to obtain a call trigger parameter, where the call trigger parameter includes, but is not limited to, timestamp information of a received call trigger operation, a number of times that the call trigger operation is continuously received within a predetermined time, and an interface number of a target API; the identifier generating unit 342-2 is configured to generate a callback identifier according to the call trigger parameter.
Referring to FIG. 6, further, the callback sub-module 344 includes a detection unit 344-1, a first execution unit 344-2 and a second execution unit 344-3. The detection unit 344-1 is configured to detect whether a calling sequence of the N calls conforms to a preset calling sequence through a native test; the first execution unit 344-2 is configured to, when it is detected that the call order of the N calls conforms to the preset call order, sequentially execute, according to the call order, service logic that completes the N calls, and then call a callback function corresponding to the callback identifier that is called the last time to complete a callback, and clear the N callback identifiers that are called the N times; the second executing unit 344-3 is configured to, when it is detected that the calling order of the N calls does not conform to the preset calling order, sequentially execute the N calls according to the calling order through the native, and after each call is completed, call back functions corresponding to the called callback identifiers to complete callbacks and clear the callback identifiers.
Example four
The present embodiment provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server or a server cluster composed of multiple servers) capable of executing programs. The computer device 70 of the present embodiment includes at least, but is not limited to: a memory 71 and a processor 72 communicatively coupled to each other via a system bus, as shown in fig. 7. It is noted that fig. 7 only shows a computer device 70 with a memory 71 and a processor 72, but it is to be understood that not all of the shown components are required to be implemented, and more or fewer components may be implemented instead.
In this embodiment, the memory 71 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 71 may be an internal storage unit of the computer device 70, such as a hard disk or a memory of the computer device 70. In other embodiments, the memory 71 may also be an external storage device of the computer device 70, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device 70. Of course, the memory 71 may also include both internal and external storage devices of the computer device 70. In this embodiment, the memory 71 is generally used for storing an operating system installed in the computer device 70 and various application software, such as the program code of the interface calling device 300 of the hybrid application in the third embodiment. Further, the memory 71 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 72 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 72 generally serves to control the overall operation of the computer device 70. In this embodiment, the processor 72 is configured to execute the program code stored in the memory 71 or process data, for example, execute the program code of the interface calling apparatus 300 of the hybrid application of the third embodiment, so as to implement the interface calling method of the hybrid application of the first embodiment and the second embodiment.
EXAMPLE five
The present embodiments provide a computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by at least one processor to implement the operations of the interface call method of embodiments one and two.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (6)
1. An interface calling method for a hybrid application, the method comprising:
if a trigger operation for calling a target API through a current JavaScript file is received through a hybrid application, determining the version number of the hybrid application;
determining whether the native API defined in the hybrid application comprises the target API or not according to the version number and the current JavaScript file;
if the native API does not include the target API, forbidding calling the target API when responding to the trigger operation through the current JavaScript file;
if the native API comprises the target API, allowing the target API to be called when the trigger operation is responded through the current JavaScript file;
when the trigger operation is responded through the current JavaScript file, the target API is allowed to be called, and the method comprises the following steps:
executing the call of the target API through the current JavaScript file, generating a callback identification corresponding to the call and transmitting the callback identification to a native code, wherein the callback identification is used for identifying the callback function of the call;
executing the service logic called this time through the native code, calling a callback function corresponding to the callback identifier to complete the callback of this time after the service logic called this time is executed, and clearing the callback identifier;
the current JavaScript file sequentially executes N times of calling within a preset time length, if N is more than or equal to 2, the service logic of the calling is executed through the native code, and after the service logic of the calling is executed, a callback function corresponding to the callback identifier is called to complete the callback of the calling, and the callback identifier is cleared, wherein the method comprises the following steps:
detecting whether the calling sequence of the N times of calling accords with a preset calling sequence or not through the native code;
when detecting that the calling sequence of the N times of calling accords with the preset calling sequence, after sequentially executing service logic for completing the N times of calling according to the calling sequence through the native code, calling a callback function corresponding to a callback identifier called at the last time to complete callback, and clearing the N callback identifiers called at the N times;
and when detecting that the calling sequence of the N times of calling does not accord with the preset calling sequence, sequentially executing the N times of calling by the native code according to the calling sequence, and after each time of calling is completed, calling a callback function corresponding to the called callback identifier to complete callback and clearing the callback identifier.
2. The method of claim 1, wherein the generating the callback identifier corresponding to the call comprises:
acquiring a calling trigger parameter, wherein the calling trigger parameter includes but is not limited to timestamp information of the received calling trigger operation, the number of times of continuously receiving the calling trigger operation within a preset time and an interface number of the target API;
and generating the callback identification according to the calling trigger parameter.
3. The method of claim 1, wherein the predetermined calling order comprises: the data reading API is called before and after the data modification API is called respectively, and the data modification API comprises at least one of a data writing API, a data deleting API and a data updating API.
4. An interface calling apparatus for a hybrid application, the apparatus comprising:
the version determining module is used for determining the version number of the hybrid application when receiving a triggering operation for calling a target API through a current JavaScript file through the hybrid application;
the detection module is used for determining whether the native API defined in the hybrid application comprises the target API or not according to the version number and the current JavaScript file;
the operation module is used for forbidding calling the target API when the trigger operation is responded through the current JavaScript file when the target API is not included in the native API;
the calling module is used for allowing the target API to be called when the trigger operation is responded through the current JavaScript file when the native API comprises the target API;
the calling module comprises:
the calling submodule is used for executing calling of the target API through the current JavaScript file;
the mark generation submodule is used for generating a callback mark corresponding to the call through the current JavaScript file, and the callback mark is used for marking a callback function of the call;
the transmission submodule is used for transmitting the callback identifier to a native code through the current JavaScript file;
the callback submodule is used for executing the called service logic through the native code, calling a callback function corresponding to the callback identifier to finish the callback of the calling after the called service logic is executed, and clearing the callback identifier;
the callback sub-module includes:
the detection unit is used for detecting whether the calling sequence of the N times of calling accords with a preset calling sequence or not through the native code;
the first execution unit is used for calling a callback function corresponding to the callback identifier called last time to complete callback after the service logic for completing the N times of calling is sequentially executed according to the calling sequence by the native code when the calling sequence of the N times of calling is detected to accord with the preset calling sequence, and eliminating the N callback identifiers called N times;
and the second execution unit is used for sequentially executing the N times of calls according to the calling sequence through the native code when detecting that the calling sequence of the N times of calls does not accord with the preset calling sequence, and calling a callback function corresponding to the called callback identifier to complete callback and clearing the callback identifier after each time of calling is completed.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the interface call method of the hybrid application according to any one of claims 1 to 3 when executing the computer program.
6. A computer-readable storage medium having stored therein at least one instruction, the at least one instruction being loaded by at least one processor and executing an interface call method implementing a hybrid application according to any one of claims 1 to 3.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810710034.8A CN109032612B (en) | 2018-07-02 | 2018-07-02 | Interface calling method and device of hybrid application and computer readable storage medium |
PCT/CN2018/108781 WO2020006911A1 (en) | 2018-07-02 | 2018-09-29 | Hybrid app interface calling method and device, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810710034.8A CN109032612B (en) | 2018-07-02 | 2018-07-02 | Interface calling method and device of hybrid application and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109032612A CN109032612A (en) | 2018-12-18 |
CN109032612B true CN109032612B (en) | 2022-01-28 |
Family
ID=65521245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810710034.8A Active CN109032612B (en) | 2018-07-02 | 2018-07-02 | Interface calling method and device of hybrid application and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109032612B (en) |
WO (1) | WO2020006911A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110852259A (en) * | 2019-11-08 | 2020-02-28 | 深圳前海微众银行股份有限公司 | Living body identification method, system, apparatus, device, and computer-readable storage medium |
CN111124553B (en) * | 2019-12-06 | 2024-04-26 | 北京小米移动软件有限公司 | Program execution method, device, terminal and storage medium |
CN111857891B (en) * | 2020-07-27 | 2025-01-24 | 浪潮云信息技术股份公司 | Data processing methods, terminals and media for Android native and H5 |
CN114879970A (en) * | 2022-05-25 | 2022-08-09 | 平安普惠企业管理有限公司 | Method, device, equipment and storage medium for preventing repeated triggering |
CN116756046B (en) * | 2023-08-16 | 2023-11-03 | 湖南长银五八消费金融股份有限公司 | Automatic interface testing method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102537A (en) * | 2013-04-07 | 2014-10-15 | 华为技术有限公司 | Application calling method and user terminal |
CN105739967A (en) * | 2016-01-19 | 2016-07-06 | 四川长虹电器股份有限公司 | Method of asynchronously calling native by js in mobile application |
CN107678805A (en) * | 2017-09-08 | 2018-02-09 | 阿里巴巴集团控股有限公司 | The call method and device of a kind of application programming interfaces |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102622211B (en) * | 2011-01-27 | 2016-05-25 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus of application development |
US20150008256A1 (en) * | 2012-10-09 | 2015-01-08 | Robert Beadles | Display card with memory tag- hybrid multidimensional bar text code |
CN104978176B (en) * | 2014-04-10 | 2019-03-08 | 腾讯科技(北京)有限公司 | Application program interface calling method, device and computer-readable storage medium |
CN104881318B (en) * | 2015-05-07 | 2019-06-25 | 珠海豹趣科技有限公司 | A kind of interface call method, device and terminal |
-
2018
- 2018-07-02 CN CN201810710034.8A patent/CN109032612B/en active Active
- 2018-09-29 WO PCT/CN2018/108781 patent/WO2020006911A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102537A (en) * | 2013-04-07 | 2014-10-15 | 华为技术有限公司 | Application calling method and user terminal |
CN105739967A (en) * | 2016-01-19 | 2016-07-06 | 四川长虹电器股份有限公司 | Method of asynchronously calling native by js in mobile application |
CN107678805A (en) * | 2017-09-08 | 2018-02-09 | 阿里巴巴集团控股有限公司 | The call method and device of a kind of application programming interfaces |
Also Published As
Publication number | Publication date |
---|---|
CN109032612A (en) | 2018-12-18 |
WO2020006911A1 (en) | 2020-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109032612B (en) | Interface calling method and device of hybrid application and computer readable storage medium | |
CN110020323B (en) | Page switching method and system for hybrid application, computer equipment and storage medium | |
CN108196878B (en) | Method and device for generating application program installation package, electronic equipment and storage medium | |
CN111639287A (en) | Page processing method and device, terminal equipment and readable storage medium | |
CN109033772B (en) | Verification information input method and device | |
CN109933350B (en) | Method and device for embedding codes in application and electronic equipment | |
CN112783568B (en) | Initialization method, device, equipment and storage medium of application program | |
CN112463256A (en) | Method, system, electronic device and storage medium for determining configuration file | |
CN110162344B (en) | Isolation current limiting method and device, computer equipment and readable storage medium | |
CN110659210A (en) | Information acquisition method and device, electronic equipment and storage medium | |
CN108132832B (en) | Application program starting method and device | |
CN111240790A (en) | Multi-language adaptation method and device for application, client and storage medium | |
CN114063985A (en) | Plug-in development method and device for Web application, electronic device, medium, and program | |
CN110968358A (en) | Method and device for loading script module based on browser plug-in | |
CN114461223A (en) | Code generation method and device and terminal equipment | |
CN112947907B (en) | Method for creating code branches | |
CN112800194A (en) | Interface change identification method, device, equipment and storage medium | |
CN112052039A (en) | Method and device for synchronously constructing multiple projects and electronic equipment | |
CN110765008A (en) | Data processing method and device | |
CN113791809B (en) | Application exception handling method and device and computer readable storage medium | |
CN112558975B (en) | Method and device for switching codes of components, electronic equipment and readable storage medium | |
CN115629795A (en) | Configuration method and device of executable file and electronic equipment | |
CN113986744A (en) | Method and device for testing warehouse and table components and storage medium | |
CN114816482A (en) | Method and device for upgrading block storage service, computer equipment and storage medium | |
CN113419756A (en) | File upgrading 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 |