CN107153536B - Application processing method and device - Google Patents

Application processing method and device Download PDF

Info

Publication number
CN107153536B
CN107153536B CN201710209676.5A CN201710209676A CN107153536B CN 107153536 B CN107153536 B CN 107153536B CN 201710209676 A CN201710209676 A CN 201710209676A CN 107153536 B CN107153536 B CN 107153536B
Authority
CN
China
Prior art keywords
file
java
application
acquiring
page
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
CN201710209676.5A
Other languages
Chinese (zh)
Other versions
CN107153536A (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 Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201710209676.5A priority Critical patent/CN107153536B/en
Publication of CN107153536A publication Critical patent/CN107153536A/en
Application granted granted Critical
Publication of CN107153536B publication Critical patent/CN107153536B/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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/48Incremental compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides an application processing method and device, wherein the method specifically comprises the following steps: obtaining a JAVA file corresponding to the newly added native function; dynamically compiling the JAVA file to obtain a corresponding JAVA code; and injecting the JAVA code into the currently running application. According to the embodiment of the application, the updating period of the application can be shortened, the updating efficiency of the application is improved, and the downloading cost of a user can be greatly saved.

Description

Application processing method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to an application processing method and apparatus.
Background
With the development of computer technology, a client Application program developed on an operating system platform such as android and IOS is called APP (Application program). Current APPs generally have the following three development modes: native APP development, Web APP development, and Hybrid APP development.
Hybrid APP is APP between Web APP and Native APP, and the principle is as follows: the bottom layer depends on a container provided by Native, and the upper layer uses HTML (HyperText Markup Language), CSS (Cascading Style Sheets) or JS (JavaScript) for service development, so that the method has the advantages of transparency of the bottom layer and diversification of the upper layer. For a mobile terminal Hybrid APP product, the following processes are generally required from development to end user use: packing native codes of Hybrid APP into an App installation package meeting the release requirement; the App installation package is published to various channels for a user to download and install; the user downloads the App installation package to a certain channel and installs the Hybrid App to the mobile terminal of the user for use.
The inventor finds that, in the process of implementing the embodiment of the application, each time a native function of Hybrid APP is added, the Hybrid APP needs to be reissued, application market auditing needs to be performed, and an auditing period is generally multiple working days, which results in a long updating period.
Disclosure of Invention
In view of the foregoing, embodiments of the present application are provided to provide an application processing method and apparatus for overcoming the foregoing problems or at least partially solving the foregoing problems, which can shorten an update period of an application, improve update efficiency of an APP, and greatly save a download cost of a user.
In order to solve the above problem, an embodiment of the present application discloses an application processing method, including:
obtaining a JAVA file corresponding to the newly added native function;
dynamically compiling the JAVA file to obtain a corresponding JAVA code;
and injecting the JAVA code into the currently running application.
Optionally, the obtaining a JAVA file corresponding to the application of the newly added native function includes:
acquiring a first configuration file of the application from a server;
and acquiring the JAVA file needing dynamic compiling from the server according to the first configuration file.
Optionally, the obtaining, according to the first configuration file, a JAVA file that needs to be dynamically compiled from a server includes:
and when the first configuration file records a preset identifier, downloading the JAVA file needing dynamic compilation from a server according to the download address of the JAVA file recorded in the first configuration file.
Optionally, the obtaining a JAVA file corresponding to the application of the newly added native function includes:
acquiring a JAVA file needing dynamic compiling from a server according to a preset period; or
And receiving the JAVA file which is sent by the server and needs to be dynamically compiled.
Optionally, the method further comprises:
acquiring a page loading request of a user for a target page;
acquiring corresponding target page resources from the local based on the page loading request;
and loading the target page according to the target page resource.
Optionally, the method further comprises:
acquiring a second configuration file of the application from a server; the second configuration file is used for recording the mapping relation between the information of a resource file and the latest version, and the resource file is used for recording the page resources of the application;
judging whether the resource file is updated or not according to the second configuration file;
and when the judgment result is yes, acquiring the latest resource file from the server.
Optionally, the determining whether the resource file is updated according to the second configuration file includes:
comparing the latest version recorded in the second configuration file with the version of the locally stored resource file;
and when the comparison result is inconsistent, determining that the resource file is updated.
Optionally, the obtaining the latest resource file from the server includes:
and downloading the resource file of the latest version from the server according to the download address of the latest version recorded in the second configuration file.
On the other hand, the embodiment of the application discloses an application processing device, and the device comprises:
the JAVA file acquisition module is used for acquiring a JAVA file corresponding to the newly added native function;
the dynamic compiling module is used for dynamically compiling the JAVA file to obtain a corresponding JAVA code; and
and the code injection module is used for injecting the JAVA code into the currently running application.
Optionally, the JAVA file obtaining module includes:
the first configuration file acquisition submodule is used for acquiring a first configuration file of the application from a server;
and the JAVA file acquisition submodule is used for acquiring the JAVA file needing dynamic compiling from the server according to the first configuration file.
Optionally, the JAVA file obtaining sub-module includes:
and the JAVA file downloading unit is used for downloading the JAVA file needing dynamic compiling from the server according to the downloading address of the JAVA file recorded in the first configuration file when the first configuration file records the preset identifier.
Optionally, the apparatus further comprises:
the request acquisition module is used for acquiring a page loading request of a user for a target page;
the resource acquisition module is used for acquiring corresponding target page resources from the local based on the page loading request;
and the page loading module is used for loading the target page according to the target page resource.
In another aspect, an embodiment of the present application discloses a computing device, including: memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of:
obtaining a JAVA file corresponding to the newly added native function;
dynamically compiling the JAVA file to obtain a corresponding JAVA code;
and injecting the JAVA code into the currently running application.
In another aspect, an embodiment of the present application discloses a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the following steps:
obtaining a JAVA file corresponding to the newly added native function;
dynamically compiling the JAVA file to obtain a corresponding JAVA code;
and injecting the JAVA code into the currently running application.
The embodiment of the application has the following advantages:
the embodiment of the application realizes the newly added native function of the application through the dynamic compiling of the JAVA file, so that the dynamically compiled JAVA code can be directly injected into the application, the newly added native function can be realized under the condition of saving the application version and audit, the update period of the application can be shortened, and the update efficiency of the APP can be improved. Moreover, the embodiment of the application can enable the user to realize the newly added native function by downloading the JAVA file corresponding to the newly added native function, and compared with the existing scheme that the user downloads the latest version of the App installation package of the whole Hybrid APP from a channel, the embodiment of the application can greatly save the downloading cost of the user, further save the flow and the power consumption of the mobile terminal, and improve the performance of the mobile terminal.
Drawings
FIG. 1 is a flow chart of steps of a method of application processing according to one embodiment of the present application;
FIG. 2 is a flow chart of steps of a method of application processing according to another embodiment of the present application;
FIG. 3 is a flow chart of steps of a method of application processing according to yet another embodiment of the present application;
FIG. 4 is a block diagram of an application processing device according to an embodiment of the present application;
fig. 5 is a block diagram of an application processing apparatus according to another embodiment of the present application; and
FIG. 6 is a block diagram of a computing device 1500 of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart illustrating steps of an application processing method according to an embodiment of the present application is shown, where the method may specifically include the following steps:
step 101, obtaining a JAVA file corresponding to the newly added native function;
step 102, dynamically compiling the JAVA file to obtain a corresponding JAVA code;
and 103, injecting the JAVA code into the currently running application.
The application of the embodiment of the present application may be an APP with any function, for example, the function of the application may include: e-commerce, instant messaging, searching, browsing, etc. The application of the embodiment of the application can be operated on the mobile terminal as the client. Optionally, the mobile terminal may include, but is not limited to: smart phones, tablet computers, electronic book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, car computers, desktop computers, set-top boxes, wearable devices, and the like. In addition, the application types of the embodiment of the present application may include: any one of Native APP, Web APP and Hybrid APP, in the embodiment of the present application, the Hybrid APP is mainly used as an example to describe an application processing method, and application processing methods corresponding to other applications may refer to each other.
In this embodiment of the present application, the native function refers to a built-in function of the mobile terminal, and examples of the native function may include: and a speaker, a camera, a GPS (Global Positioning System), an acceleration sensor, and the like.
In the existing scheme, each time a native function is added to a Hybrid APP, the Hybrid APP needs to be reissued and also needs to be audited by an application market, and the auditing period is generally multiple working days, which results in a longer updating period. Moreover, when the user updates the Hybrid APP, the user needs to download the latest version of the entire Hybrid APP App installation package from the channel, which undoubtedly increases the downloading cost of the user and consumes the traffic of the mobile terminal.
The embodiment of the application realizes the newly-added native function of the application through the dynamic compiling of the JAVA file, so that the dynamically-compiled JAVA code can be directly injected into the application, the newly-added native function can be realized under the condition of saving the version and the audit of the APP, the update period of the Hybrid APP can be shortened, and the update efficiency of the Hybrid APP is improved.
In addition, the newly added native function is realized through dynamic compiling of the JAVA file, and the user can realize the newly added native function through downloading the JAVA file corresponding to the newly added native function, so that compared with the prior art that the user downloads the latest version of the whole App installation package of the Hybrid APP from a channel, the method and the device can greatly save the downloading cost of the user, further save the flow and the power consumption of the mobile terminal, and improve the performance of the mobile terminal.
In practical application, the embodiment of the present application may obtain a JAVA file corresponding to a newly added native function of an application, dynamically compile the JAVA file to obtain a corresponding JAVA code, and inject the JAVA code obtained by the dynamic compilation into the currently running application, that is, may inject the JAVA code obtained by the dynamic compilation into an existing native code of the application. Alternatively, the JAVA code may be injected into a preset location of existing native code. According to the embodiment of the application, the dynamically compiled JAVA code can be directly injected into the currently running application, so that the newly added native function can be realized under the condition of saving the edition and audit of the application, the update period of the application can be shortened, and the update efficiency of the application is improved.
In this embodiment, the JAVA code corresponding to the newly added native function may be related to the hardware characteristics of the application, for example, the hardware characteristics may include: camera characteristics, gravity sensing characteristics, geographic location characteristics, and the like. Or, the JAVA code corresponding to the newly added native function may involve interaction with an upper resource file, and optionally, the interaction may specifically include: for example, if a control in a certain page is added with a jump function of a geographic location function, an interface of a corresponding geographic location function needs to be provided through a JAVA code.
In an optional embodiment of the present application, the step 101 of obtaining a JAVA file corresponding to the newly added native function may specifically include: acquiring a JAVA file needing dynamic compiling from a server according to a preset period; or receiving a JAVA file which is sent by the server and needs to be dynamically compiled. The preset period may be determined by those skilled in the art according to practical application requirements, for example, the preset period may be 1 hour, 2 hours, or even 24 hours, and it is understood that the specific preset period is not limited in the embodiments of the present application. Or after the server generates the JAVA file to be dynamically edited, the server may issue the JAVA file to be dynamically compiled to the client. Optionally, the server may generate a corresponding JAVA file for the newly added native function, for example, the corresponding JAVA file may be generated for the newly added native function by a user serving as a developer, and it is understood that the specific generation process of the JAVA file that needs to be dynamically compiled is not limited by the embodiments of the present application.
In an optional embodiment of the present application, the step 101 of obtaining a JAVA file corresponding to the newly added native function may specifically include: acquiring a first configuration file of an application from a server; and acquiring the JAVA file needing dynamic compiling from the server according to the first configuration file. Optionally, a download address of the JAVA file may be recorded in the first configuration file, so that the client obtains the JAVA file that needs to be dynamically compiled from the server according to the download address.
In practical applications, the server may establish and maintain the first configuration file, for example, when there is a JAVA file that needs to be dynamically compiled, the corresponding information may be recorded in the first configuration file.
Further, the process of obtaining the JAVA file to be dynamically compiled from the server according to the first configuration file may specifically include: and when the first configuration file records a preset identifier, acquiring the JAVA file needing dynamic compiling from a server according to the download address of the JAVA file recorded in the first configuration file. The preset identifier can be used for identifying whether the JAVA file exists or not. Alternatively, the preset identifier may be a preset value of a preset field, for example, when the value of the preset field is 1, it indicates that there is a JAVA file that needs to be dynamically compiled, and when the value of the preset field is 0, it indicates that there is no JAVA file that needs to be dynamically compiled. Alternatively, the preset flag may be a preset indicator, for example, when a preset indicator "###" is recorded in the first configuration file, it indicates that there is a JAVA file that needs to be dynamically compiled, when a preset indicator "###" is not recorded in the first configuration file, it indicates that there is no JAVA file that needs to be dynamically compiled, and so on.
In summary, the application processing method according to the embodiment of the present application implements the newly added native function of the application by dynamic compiling of the JAVA file, so that the dynamically compiled JAVA code can be directly injected into the application, and the newly added native function can be implemented under the condition of saving application version and audit, thereby shortening the update period of the application and improving the update efficiency of the APP. Moreover, the embodiment of the application can enable the user to realize the newly added native function by downloading the JAVA file corresponding to the newly added native function, and compared with the existing scheme that the user downloads the latest version of the App installation package of the whole Hybrid APP from a channel, the embodiment of the application can greatly save the downloading cost of the user, further save the flow and the power consumption of the mobile terminal, and improve the performance of the mobile terminal.
Referring to fig. 2, a flowchart illustrating steps of an application processing method according to another embodiment of the present application is shown, where the method may specifically include the following steps:
step 201, obtaining a JAVA file corresponding to the newly added native function;
step 202, dynamically compiling the JAVA file to obtain a corresponding JAVA code;
step 203, injecting the JAVA code into the currently running application;
with respect to the embodiment shown in fig. 1, this embodiment may also implement loading of a target page corresponding to an application, and a corresponding loading process may include:
step 204, acquiring a page loading request of a user for a target page;
step 205, acquiring corresponding target page resources from the local based on the page loading request;
and step 206, loading the target page according to the target page resource.
According to the method and the device for obtaining the target page resource, the corresponding target page resource can be obtained from the local based on the page loading request, so that the target page (the page needing to be loaded) corresponding to the page loading request can be loaded even under the condition of network disconnection, the required page information can be provided for the user under the condition of network disconnection, and the use experience of the user is improved.
Further, compared with the prior art that the page data is requested from the server, the method and the device for acquiring the page data can acquire the corresponding target page resource from the local based on the page loading request more quickly, and therefore the page loading speed of the application can be improved.
Taking the Hybird APP as an example, in practical application, the process of acquiring the page loading request of the user for the target page in the step 204 may specifically be to detect a web view WebView request generated by the user through the Hybird APP; in step 205, based on the page loading request, the step of locally acquiring a corresponding target page resource may specifically be to search in a locally stored resource file to obtain a target resource file matched with a page corresponding to the WebView request; the resource file corresponds to the page of the Hybird APP and is used for recording the page resource of the Hybird APP; in the step 206, loading the target page according to the target page resource may specifically be loading a page corresponding to the target resource file through a WebView component corresponding to the Hybird APP.
In the embodiment of the application, the resource file corresponding to the page of the Hybird APP is stored in the local of the mobile terminal, so that in the process of using the Hybird APP by a user, if a WebView request is generated, the embodiment of the application can search the locally stored resource file to obtain a target resource file matched with the page corresponding to the WebView request, and the page corresponding to the target resource file is loaded through the WebView component corresponding to the Hybird APP; according to the method and the device for processing the web view request, the target resource file matched with the page corresponding to the WebView request can be locally obtained, so that the page corresponding to the WebView request can be loaded even under the condition of network disconnection, required page information can be provided for a user under the condition of network disconnection, and the use experience of the user is further improved. Compared with the prior art that page data is requested from a server, the method and the device for processing the webpage data can quickly acquire the target resource file matched with the webpage corresponding to the WebView request from the local, and therefore the page loading speed of the Hybird APP can be improved.
In the process that a user uses Hybird APP, a main page of the Hybird APP can be loaded through a client of the Hybird APP, and a WebView request is triggered through content on the main page. For example, if the Hybird APP is an e-commerce APP, the content of the main page may include: if a user clicks a certain commodity, the user can be considered to trigger a corresponding WebView request. In practical application, a WebView component corresponding to the Hybird APP can detect and obtain a WebView request generated by a user through the Hybird APP. Optionally, the WebView component may be embedded in the client of the Hybird, or the WebView component may be located in the layout file of the Hybird. It can be understood that the embodiment of the present application is not limited to a specific detection mode of the WebView request generated by the user through the Hybird APP.
The resource file of the embodiment of the application can be used for recording the page resource of the application, and the resource file corresponds to the page, so that when the updating requirement of a certain page exists, the resource file corresponding to the page can be updated only, and the resource files of other pages can not be updated, so that the downloading cost required by a user for updating the resource file can be saved, and the flow of the mobile terminal can be saved.
In practical applications, for a page, a corresponding resource file may be set for each page resource included in the page, and assuming that a page includes N page resources, the number of the resource files corresponding to the page may be N. Optionally, the page resource recorded by the resource file may specifically include: HTML, CSS, or JS, etc. The HTML is a basic resource of the page, and the corresponding resource file can be an HTML file; CSS may be used to refer to the style of the page, and its corresponding resource file may be a CSS file; the JS is used for realizing the special effect of the page, and the corresponding resource file can be a JS file. It can be understood that, for example, a developer of the Hybird APP can determine a page resource corresponding to one page according to an actual application requirement, and the specific page resource of the page is not limited in the embodiment of the present application.
For the resource file in the embodiment of the present application, the corresponding page address is also the address of the page to which the resource file belongs, and optionally, the embodiment of the present application may determine the corresponding page address for the resource file in advance. The searching process of searching in the locally stored resource file may be that traversing a plurality of locally stored resource files, matching the address of the page corresponding to the WebView request with the page address corresponding to the current resource file, if the matching is successful, obtaining a target resource file matched with the page corresponding to the WebView request, and ending the searching; if the matching fails, the address of the page corresponding to the WebView request can be matched with the page address corresponding to the next resource file until the target resource matched with the page corresponding to the WebView request is obtained.
In practical application, a mapping relationship between a page address of an application and a resource file may be pre-established, and the process of searching in a locally stored resource file may include: acquiring page addresses corresponding to the locally stored resource files through the mapping relation; or, the corresponding page address may be recorded in the file name of each resource file, and the process of searching in the locally stored resource file may include: and acquiring the page address corresponding to each locally stored resource file through the file name. It can be understood that, in the embodiment of the present application, a specific obtaining manner of the page address corresponding to each locally stored resource file is not limited.
In an optional embodiment of the present application, the page address corresponding to the resource file may be a complete character string or a partial character string corresponding to the page address of the application, so that step 205 may perform the search of the resource file based on the complete character string or the partial character string. For example, if the page address of a certain e-commerce application is https:// item.jd.com/1231690.html, the page address corresponding to the resource file may be the complete character string https:// item.jd.com/1231690.html, or the page address corresponding to the resource file may be the partial character string 1231690, etc. It can be understood that, according to the actual application requirements, a person skilled in the art may adopt the form of the page address corresponding to the resource file, and the embodiment of the present application does not limit the specific form of the page address corresponding to the resource file.
In another optional embodiment of the present application, the page address in the embodiment of the present application may be a URL (Uniform resource Locator), a custom page address, or the like, and the embodiment of the present application does not limit a specific form of the page address.
Step 206 may load a corresponding page through the WebView component corresponding to the Hybird APP according to the target page resource obtained in step 205. For example, an item detail page includes: and 3 resource files including the HTML file, the CSS file and the JS file can be loaded through a WebView component corresponding to the Hybird APP so as to display a corresponding page.
It should be noted that steps 201 to 203 and steps 204 to 206 are respectively used for implementing mutually independent functions: the application of the newly added native function and the loading function of the application corresponding to the target page, in the embodiment of the present application, the execution sequence between step 201 to step 203 and step 204 to step 206 is not limited, and a person skilled in the art may execute step 201 to step 203 or step 204 to step 206 at a required execution timing according to an actual application requirement.
In summary, the application processing method of the embodiment of the application can obtain the corresponding target page resource from the local based on the page loading request, so that the page corresponding to the page loading request can be loaded even under the offline condition, that is, the required page information can be provided for the user under the offline condition, and the use experience of the user is improved. In addition, compared with the prior art that the page data is requested from the server, the method and the device for acquiring the page data can acquire the corresponding target page resource from the local based on the page loading request more quickly, and therefore the page loading speed of the application can be improved.
In addition, the page resources of the embodiment of the application may be corresponding to the page, so that when there is an update demand of a certain page, only the page resources corresponding to the page may be updated, and the page resources of other pages may not be updated, so that the download cost required by the user to update the page resources may be saved, and the traffic of the mobile terminal may be saved.
Referring to fig. 3, a flowchart illustrating steps of an application processing method according to still another embodiment of the present application is shown, where the method may specifically include the following steps:
301, obtaining a JAVA file corresponding to the newly added native function of the application;
step 302, dynamically compiling the JAVA file to obtain a corresponding JAVA code;
step 303, injecting the JAVA code into the currently running application;
step 304, acquiring a page loading request of a user for a target page;
305, acquiring corresponding target page resources from the local based on the page loading request;
step 306, loading the target page according to the target page resource;
with respect to the embodiment shown in fig. 2, in this embodiment, a locally stored resource file may also be updated to meet an update requirement of a page corresponding to the resource file, and a corresponding update process may specifically include:
step 307, acquiring a second configuration file of the application from a server; the second configuration file is used for recording the mapping relation between the information of a resource file and the latest version, and the resource file is used for recording the page resources of the application;
step 308, judging whether the resource file is updated according to the second configuration file;
and 309, when the judgment result is yes, acquiring the latest resource file from the server.
In the embodiment of the application, the second configuration file of the application is used for recording the mapping relationship between the information of the resource file and the latest version, so that whether the resource file is updated or not can be judged according to the second configuration file, and if the resource file is updated, the latest resource file can be acquired from the server, so that the locally-stored resource file is updated. It should be noted that the resource file in the embodiment of the present application may be corresponding to a page, and therefore, when there is an update demand for a certain page, only the resource file corresponding to the page may be updated, that is, the embodiment of the present application may update only a part of the resource file that needs to be updated (the page that has the update demand), but may not update the resource file that does not need to be updated, which can effectively save the download cost required by the user to update the resource file and save the traffic of the mobile terminal, compared with updating the resource files of all the pages of the application.
In an application example of the present application, taking an e-commerce application as an example, the e-commerce application generally includes a plurality of commodities or a plurality of active pages, where for most commodities, resource files corresponding to pages of the commodities are not changed basically, and only resource files corresponding to pages of a few commodities need to be updated, the embodiment of the present application may update resource files corresponding to pages of only a few commodities. Similarly, the resource file corresponding to the page with few activities and the updating requirement can be updated only in the embodiment of the application.
In practical applications, the server may establish and maintain the second configuration file, for example, when there is a resource file that needs to be updated, the server may record corresponding update information in the second configuration file. The client may obtain the second configuration file of the application from the server according to a preset period, for example, the preset period may be 1 minute, 2 minutes, 10 minutes, and the like; or the client can obtain the second configuration file of the Hybird APP from the server after starting or loading one page of the application by the user; or, when there is an updated resource file, the server may record corresponding update information in a second configuration file, and send a push notification of the second configuration file to the client, so that the client acquires the second configuration file from the server. It is understood that, in the embodiment of the present application, no limitation is imposed on the specific execution timing of the step 307 for obtaining the second configuration file of the application from the server.
In an optional embodiment of the present application, the step 308 of determining whether there is an update process of the resource file according to the second configuration file may specifically include: comparing the latest version recorded in the second configuration file with the version of the locally stored resource file; and when the comparison result is inconsistent, determining that the resource file is updated. For comparison, two resource files with the same information and needing comparison can be obtained according to the information of the resource files such as file names, serial numbers and the like of the resource files, and then the versions of the two resource files are compared. Assuming that the information of the resource file is a file name, two resource files with the same file name can be obtained according to the file name, and then the versions of the two resource files are compared.
In another optional embodiment of the present application, the step 308 of determining whether there is an update process of the resource file according to the second configuration file may specifically include: and when the resource file recorded in the second configuration file does not exist locally, determining that the update of the resource file exists. For example, when an e-commerce application issues a new activity, a resource file corresponding to a new activity page may not exist locally, and a resource file corresponding to the new activity page needs to be acquired from a server.
In yet another optional embodiment of the present application, the step 309 of obtaining the latest resource file from the server may specifically include: and downloading the resource file of the latest version from the server according to the download address of the latest version recorded in the second configuration file. The second configuration file may record information of the resource file, and a mapping relationship between the latest version and the download address, so that when it is determined that the resource file is updated, the latest version of the resource file may be downloaded from the server according to the corresponding download address, and the original resource file may be replaced with the latest version of the resource file.
In summary, according to the application processing method in the embodiment of the present application, the locally stored resource file is updated according to the mapping relationship between the information of the resource file recorded in the second configuration file and the latest version, so that the latest resource file can be obtained from the server, the locally stored resource file can meet the update requirement of the corresponding page, and the synchronicity between the resource file and the page is further maintained.
In order to make the person skilled in the art better understand the embodiments of the present application, the application process flow of the present application is illustrated here by taking the e-commerce type Hybird APP as an example.
In practical application, a user can download an APP installation package of a Hybrid APP of one version from a channel, the installation package can comprise an installation file and a resource file, and the installation file is operated to obtain a corresponding native code so as to complete installation of the Hybrid APP; the native code can provide a container such as a Webview component on a bottom layer, the resource file can provide corresponding service data on the upper layer based on a page, and the resource file corresponds to a page of the Hybird APP and is used for recording page resources of the Hybird APP; optionally, multiple resource files for multiple pages of Hybird APP may be stored locally.
After the installed Hybrid APP is started, the client of the Hybrid APP can present a main page of the Hybrid APP to a user, so that the user can trigger a WebView request through the content on the main page; the WebView request can be obtained through WebView component detection, and is searched in a locally stored resource file to obtain a target resource file matched with a page corresponding to the WebView request, and the page corresponding to the target resource file is loaded through the WebView component corresponding to the Hybird APP; therefore, compared with the method for acquiring the page data from the server, the page loading speed can be increased, and the required page information can be provided for the user under the condition of network disconnection.
It should be noted that the resource file in the embodiment of the present application corresponds to a page, so that when there is an update demand for a certain page, the resource file corresponding to the page may be updated, thereby implementing synchronization between the resource file and the page. For example, when a certain commodity detail page of the e-commerce type Hybird changes, the resource file corresponding to the commodity detail page may be updated. For another example, when some commodity or activity is newly added to the e-commerce type Hybird, a corresponding resource file can be newly added, and the like.
In addition, when the native function needs to be added to the Hybrid APP, the client may obtain the JAVA file corresponding to the newly added native function from the server, dynamically compile the JAVA file, and inject the JAVA code obtained by the dynamic compilation into the currently running Hybrid APP, that is, may inject the JAVA code obtained by the dynamic compilation into the existing native code of the Hybrid APP. Therefore, the embodiment of the application can realize the newly added native function without re-edition and audit, so that the period of the newly added native function can be shortened; in addition, the newly added native function is realized through the JAVA file corresponding to the newly added native function, and the client only needs to download the JAVA file, so that the downloading cost can be greatly reduced compared with the downloading of a complete APP installation package.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 4, a block diagram of an application processing apparatus according to an embodiment of the present application is shown, where the apparatus may specifically include:
a JAVA file obtaining module 401, configured to obtain a JAVA file corresponding to the newly added native function;
a dynamic compiling module 402, configured to dynamically compile the JAVA file to obtain a corresponding JAVA code; and
a code injection module 403, configured to inject the JAVA code into a currently running application.
Optionally, the JAVA file acquiring module 401 may include:
the first configuration file acquisition submodule is used for acquiring a first configuration file of the application from a server;
and the JAVA file acquisition submodule is used for acquiring the JAVA file needing dynamic compiling from the server according to the first configuration file.
Optionally, the JAVA file obtaining sub-module may include:
and the JAVA file downloading unit is used for downloading the JAVA file needing dynamic compiling from the server according to the downloading address of the JAVA file recorded in the first configuration file when the first configuration file records the preset identifier.
The JAVA file acquiring module 401 may include:
the first obtaining submodule is used for obtaining the JAVA file needing to be dynamically compiled from the server according to the preset period; or
And the second obtaining submodule is used for receiving the JAVA file which is sent by the server and needs to be dynamically compiled.
The application processing device of the embodiment of the application realizes the newly added native function of the application through the dynamic compiling of the JAVA file, and thus, the dynamically compiled JAVA code can be directly injected into the application, so that the newly added native function can be realized under the condition of saving the application version and audit, the update period of the application can be shortened, and the update efficiency of the APP is improved. Moreover, the embodiment of the application can enable the user to realize the newly added native function by downloading the JAVA file corresponding to the newly added native function, and compared with the existing scheme that the user downloads the latest version of the App installation package of the whole Hybrid APP from a channel, the embodiment of the application can greatly save the downloading cost of the user, further save the flow and the power consumption of the mobile terminal, and improve the performance of the mobile terminal.
Referring to fig. 5, a block diagram of an application processing apparatus according to another embodiment of the present application is shown, where the apparatus may specifically include:
a JAVA file obtaining module 501, configured to obtain a JAVA file corresponding to the newly added native function;
a dynamic compiling module 502, configured to dynamically compile the JAVA file to obtain a corresponding JAVA code;
a code injection module 503, configured to inject the JAVA code into a currently running application.
A request obtaining module 504, configured to obtain a page loading request of a user for a target page;
a resource obtaining module 505, configured to obtain, based on the page loading request, a corresponding target page resource from a local location;
a page loading module 506, configured to load the target page according to the target page resource.
Optionally, the apparatus may further include:
the second configuration file acquisition module is used for acquiring a second configuration file of the application from the server; the second configuration file is used for recording the mapping relation between the information of a resource file and the latest version, and the resource file is used for recording the page resources of the application;
the updating judgment module is used for judging whether the resource file is updated or not according to the second configuration file;
and the resource file acquisition module is used for acquiring the latest resource file from the server when the judgment result is yes.
Optionally, the update determining module may specifically include:
the version comparison submodule is used for comparing the latest version recorded in the second configuration file with the version of the locally stored resource file;
and the determining submodule is used for determining that the resource file is updated when the comparison result is inconsistent.
Optionally, the resource file obtaining module may specifically include:
and the resource file downloading submodule is used for downloading the resource file of the latest version from the server according to the downloading address of the latest version recorded in the second configuration file.
The application processing device of the embodiment of the application processing device can locally acquire the corresponding target page resource based on the page loading request, so that the page corresponding to the page loading request can be loaded even under the condition of network disconnection, the required page information can be provided for the user under the condition of network disconnection, and the use experience of the user is improved. In addition, compared with the prior art that the page data is requested from the server, the method and the device for acquiring the page data can acquire the corresponding target page resource from the local based on the page loading request more quickly, and therefore the page loading speed of the application can be improved.
In addition, according to the embodiment of the application, the locally stored resource file can be updated according to the mapping relationship between the information of the resource file recorded in the second configuration file and the latest version, so that the latest resource file can be acquired from the server, the locally stored resource file can meet the updating requirement of the corresponding page, and the synchronism of the resource file and the page is further maintained.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and the similar parts should be referred to each other.
Referring to fig. 6, a schematic structural diagram of a computing device 1500 of the present application is shown, which may specifically include: at least one processor 1501, memory 1502, at least one network interface 1504, and a user interface 1503. The various components in computing device 1500 are coupled together by a bus system 1505. It is understood that bus system 1505 is used to enable communications among the components by way of connections. Bus system 1505 includes a power bus, a control bus, and a status signal bus, in addition to a data bus. Although the various buses are identified in fig. 6 as a bus system 1505 for the sake of clarity, the computing device 1500 may also include a photographing component 1506, the photographing component 1506 including a camera.
The user interface 1503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, etc.).
It will be appreciated that the memory 1502 in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM ), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1502 of the systems and methods described in this application is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1502 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 15021 and application programs 15022.
The operating system 15021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 15022 contains various applications such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of an embodiment of the present application may be included in the application program 15022.
In this embodiment of the application, the processor 1501 is configured to obtain a JAVA file corresponding to an application added native function by calling a program or an instruction stored in the memory 1502, specifically, a program or an instruction stored in the application program 15022; dynamically compiling the JAVA file to obtain a corresponding JAVA code; and injecting the JAVA code into the currently running application.
The method disclosed in the embodiments of the present application may be applied to the processor 1501 or implemented by the processor 1501. Processor 1501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 1501. The processor 1501 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1502, and the processor 1501 reads the information in the memory 1502 and, in conjunction with its hardware, performs the steps of the above-described method.
A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of: obtaining a JAVA file corresponding to the newly added native function; dynamically compiling the JAVA file to obtain a corresponding JAVA code; and injecting the JAVA code into the currently running application.
It is to be understood that the embodiments described in connection with the embodiments disclosed herein may be implemented by hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this application may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this application. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 1501 is further configured to: acquiring a first configuration file of the application from a server; and acquiring the JAVA file needing dynamic compiling from the server according to the first configuration file.
Optionally, the processor 1501 is further configured to: and when the first configuration file records a preset identifier, downloading the JAVA file needing dynamic compilation from a server according to the download address of the JAVA file recorded in the first configuration file.
Optionally, the processor 1501 is further configured to: acquiring a JAVA file needing dynamic compiling from a server according to a preset period; or receiving a JAVA file which is sent by the server and needs to be dynamically compiled.
Optionally, the processor 1501 is further configured to: acquiring a page loading request of a user for a target page; acquiring corresponding target page resources from the local based on the page loading request; and loading the target page according to the target page resource.
Optionally, the processor 1501 is further configured to: acquiring a second configuration file of the application from a server; the second configuration file is used for recording the mapping relation between the information of a resource file and the latest version, and the resource file is used for recording the page resources of the application; judging whether the resource file is updated or not according to the second configuration file; and when the judgment result is yes, acquiring the latest resource file from the server.
Optionally, the processor 1501 is further configured to: comparing the latest version recorded in the second configuration file with the version of the locally stored resource file; and when the comparison result is inconsistent, determining that the resource file is updated.
Optionally, the processor 1501 is further configured to: and downloading the resource file of the latest version from the server according to the download address of the latest version recorded in the second configuration file.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the attached claims
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
The application processing method and the application processing apparatus provided by the present application are introduced in detail above, and the principle and the implementation of the present application are explained in the present application by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An application processing method, characterized in that the method comprises:
acquiring a JAVA file corresponding to a newly added native function, wherein the native function refers to a function built in the mobile terminal;
dynamically compiling the JAVA file to obtain a corresponding JAVA code;
injecting the JAVA code into the existing native code of the currently running application;
the obtaining of the JAVA file corresponding to the application of the newly added native function includes:
acquiring a first configuration file of the application from a server;
acquiring a JAVA file needing dynamic compiling from a server according to the first configuration file;
the obtaining the JAVA file to be dynamically compiled from the server according to the first configuration file includes:
and when the first configuration file records a preset identifier, downloading the JAVA file needing dynamic compilation from a server according to the download address of the JAVA file recorded in the first configuration file.
2. The method of claim 1, wherein the obtaining the JAVA file corresponding to the application of the newly added native function comprises:
acquiring a JAVA file needing dynamic compiling from a server according to a preset period; or
And receiving the JAVA file which is sent by the server and needs to be dynamically compiled.
3. The method according to any one of claims 1 to 2, further comprising:
acquiring a page loading request of a user for a target page;
acquiring corresponding target page resources from the local based on the page loading request;
and loading the target page according to the target page resource.
4. The method of claim 3, further comprising:
acquiring a second configuration file of the application from a server; the second configuration file is used for recording the mapping relation between the information of a resource file and the latest version, and the resource file is used for recording the page resources of the application;
judging whether the resource file is updated or not according to the second configuration file;
and when the judgment result is yes, acquiring the latest resource file from the server.
5. The method of claim 4, wherein determining whether there is an update to the resource file based on the second configuration file comprises:
comparing the latest version recorded in the second configuration file with the version of the locally stored resource file;
and when the comparison result is inconsistent, determining that the resource file is updated.
6. The method of claim 4, wherein obtaining the latest resource file from the server comprises:
and downloading the resource file of the latest version from the server according to the download address of the latest version recorded in the second configuration file.
7. An application processing apparatus, characterized in that the apparatus comprises:
the JAVA file acquisition module is used for acquiring a JAVA file corresponding to the newly added native function, wherein the native function refers to a function built in the mobile terminal;
the dynamic compiling module is used for dynamically compiling the JAVA file to obtain a corresponding JAVA code; and
the code injection module is used for injecting the JAVA code into the existing native code of the currently running application;
the JAVA file acquisition module comprises:
the first configuration file acquisition submodule is used for acquiring a first configuration file of the application from a server;
the JAVA file acquisition submodule is used for acquiring a JAVA file needing dynamic compiling from a server according to the first configuration file;
the JAVA file acquisition submodule comprises:
and the JAVA file downloading unit is used for downloading the JAVA file needing dynamic compiling from the server according to the downloading address of the JAVA file recorded in the first configuration file when the first configuration file records the preset identifier.
8. The apparatus of claim 7, further comprising:
the request acquisition module is used for acquiring a page loading request of a user for a target page;
the resource acquisition module is used for acquiring corresponding target page resources from the local based on the page loading request;
and the page loading module is used for loading the target page according to the target page resource.
9. A computing device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of:
acquiring a JAVA file corresponding to a newly added native function, wherein the native function refers to a function built in the mobile terminal;
dynamically compiling the JAVA file to obtain a corresponding JAVA code;
injecting the JAVA code into the existing native code of the currently running application;
the obtaining of the JAVA file corresponding to the application of the newly added native function includes:
acquiring a first configuration file of the application from a server;
acquiring a JAVA file needing dynamic compiling from a server according to the first configuration file;
the obtaining the JAVA file to be dynamically compiled from the server according to the first configuration file includes:
and when the first configuration file records a preset identifier, downloading the JAVA file needing dynamic compilation from a server according to the download address of the JAVA file recorded in the first configuration file.
10. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of:
acquiring a JAVA file corresponding to a newly added native function, wherein the native function refers to a function built in the mobile terminal;
dynamically compiling the JAVA file to obtain a corresponding JAVA code;
injecting the JAVA code into the existing native code of the currently running application;
the obtaining of the JAVA file corresponding to the application of the newly added native function includes:
acquiring a first configuration file of the application from a server;
acquiring a JAVA file needing dynamic compiling from a server according to the first configuration file;
the obtaining the JAVA file to be dynamically compiled from the server according to the first configuration file includes:
and when the first configuration file records a preset identifier, downloading the JAVA file needing dynamic compilation from a server according to the download address of the JAVA file recorded in the first configuration file.
CN201710209676.5A 2017-03-31 2017-03-31 Application processing method and device Active CN107153536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710209676.5A CN107153536B (en) 2017-03-31 2017-03-31 Application processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710209676.5A CN107153536B (en) 2017-03-31 2017-03-31 Application processing method and device

Publications (2)

Publication Number Publication Date
CN107153536A CN107153536A (en) 2017-09-12
CN107153536B true CN107153536B (en) 2021-05-07

Family

ID=59793137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710209676.5A Active CN107153536B (en) 2017-03-31 2017-03-31 Application processing method and device

Country Status (1)

Country Link
CN (1) CN107153536B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228214A (en) * 2017-12-29 2018-06-29 北京致远互联软件股份有限公司 A kind of update method of application program, medium and equipment
CN108681436B (en) * 2018-03-13 2020-09-22 Oppo广东移动通信有限公司 Image quality parameter adjusting method, device, terminal and storage medium
CN108804177A (en) * 2018-05-23 2018-11-13 北京五八信息技术有限公司 Update method, apparatus, computer equipment and the storage medium of interface view
CN109375921A (en) * 2018-08-15 2019-02-22 中国平安人寿保险股份有限公司 Page file quickly compiles method, apparatus and storage equipment, computer equipment
CN109358973B (en) * 2018-09-29 2020-12-22 网易(杭州)网络有限公司 Information processing method, system, medium, and computing device
CN109857444B (en) * 2019-01-03 2022-04-12 上海拉扎斯信息科技有限公司 Application program updating method and device, electronic equipment and readable storage medium
CN109684026B (en) * 2019-01-14 2022-02-22 武汉斗鱼鱼乐网络科技有限公司 APP skin replacement method and device, electronic equipment and storage medium
CN110113377A (en) * 2019-04-01 2019-08-09 苏宁易购集团股份有限公司 The method and device of release upgrade suitable for mixed mode applications, smart machine
CN112597423B (en) * 2021-01-04 2023-11-03 聚好看科技股份有限公司 Webpage content display method, terminal and server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771762A (en) * 2009-01-06 2010-07-07 北京邮电大学 Method and system for dynamically loading services in service system
CN106209925A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 Page loading method, client and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8539506B2 (en) * 2012-02-09 2013-09-17 Microsoft Corporation Dynamic injection of code into running process
CN105955787B (en) * 2016-05-18 2019-11-22 深圳市掌玩网络技术有限公司 A kind of plug-in loading method and device for android system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771762A (en) * 2009-01-06 2010-07-07 北京邮电大学 Method and system for dynamically loading services in service system
CN106209925A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 Page loading method, client and system

Also Published As

Publication number Publication date
CN107153536A (en) 2017-09-12

Similar Documents

Publication Publication Date Title
CN107153536B (en) Application processing method and device
CN108108205B (en) Application page surface treatment method and apparatus
CN106708899B (en) Automatic point burying method and device
US9448776B1 (en) Method and apparatus for converting a website into a native mobile application
US9727327B1 (en) Software distribution framework
US9032383B2 (en) Automatically updating applications on a client's device without interrupting the user's experience
RU2604326C2 (en) Webpage browsing method, webapp framework, method and device for executing javascript and mobile terminal
US9244673B2 (en) System and method for updating application archive files
Venkateswaran Essential Linux device drivers
CN110096302B (en) Software data storage and upgrading method, device, equipment and storage medium
US10496381B2 (en) Progressive web app auto-ingestion
CN104391690B (en) Application development system and method
US12010165B2 (en) Cross-platform module for loading across a plurality of device types
US11625253B2 (en) Application-level runtime environment for executing applications native to mobile devices without full installation
CN110471690B (en) Loading method and device for SO file of dynamic link library and storage medium
CN109522500B (en) Webpage display method, device, terminal and storage medium
CN107291481B (en) Component updating method, device and system
CN104657118A (en) Native + Web mixed mobile application achieving method and device
CN111813385A (en) Web application-based page plug-in method, device and equipment
CN112559934A (en) Page popup display method and device
US20160080344A1 (en) Assembly manager
CN106293790B (en) application program upgrading method and device based on Firefox operating system
CN113449216A (en) File processing method and device and storage medium
CN112035117A (en) Page display system, method and device
CN108536444B (en) Plug-in compiling method and device, computer equipment and storage medium

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