CN107203397B - Method and device for running mobile application - Google Patents
Method and device for running mobile application Download PDFInfo
- Publication number
- CN107203397B CN107203397B CN201710375986.4A CN201710375986A CN107203397B CN 107203397 B CN107203397 B CN 107203397B CN 201710375986 A CN201710375986 A CN 201710375986A CN 107203397 B CN107203397 B CN 107203397B
- Authority
- CN
- China
- Prior art keywords
- mobile application
- configuration data
- native function
- configuration
- constructing
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a method and a device for running mobile application, which relate to the technical field of mobile application, and the method is applied to the mobile application of a terminal and comprises the following steps: when the mobile application starts to run, judging whether configuration data exist in a server connected with the mobile application or not; if yes, obtaining the configuration data, and constructing a Native function according to the configuration data; if not, constructing a Native function according to default configuration data stored in the mobile application; and running the mobile application by using the built Native function. According to the operation method and device of the mobile application, provided by the embodiment of the invention, differentiated configuration data is pre-constructed in the server aiming at the applications of different versions, so that the purpose of updating functions without updating the applications is achieved, channel packages do not need to be developed respectively aiming at the applications of a plurality of platforms, channels or areas, the development cost and the maintenance cost are effectively reduced, and the realization of complex functions and good user experience can be ensured.
Description
Technical Field
The present invention relates to the field of mobile application technologies, and in particular, to a method and an apparatus for running a mobile application.
Background
At present, domestic distribution channels of mobile applications are numerous, overseas user sources are wide, and the mobile applications need to provide differentiated product functions according to different channels and user sources. The conventional method for providing differentiated functions by mobile applications is to pack multiple channels and respectively develop the applications of the customized plate making for each channel or different user areas, and the method has the defects of high development cost, and is not beneficial to version maintenance and later product operation and maintenance. Another way for providing the differentiation function by the mobile application is to open a Web page by embedding Webview, that is, the function differentiation is realized by the Web page. The disadvantages of this approach are that complex functional Web pages cannot be implemented, for example, functions that require interaction with hardware, and the user experience of Web pages is much less than Native functions.
Aiming at the problems that the mobile application provides the differentiated functions in a mode of version customization or embedded Webview in the prior art, an effective solution is not provided at present.
Disclosure of Invention
In view of this, the present invention aims to provide a method and an apparatus for running a mobile application, so as to dynamically implement a Native function, effectively reduce development cost and maintenance cost, and ensure user experience.
In a first aspect, an embodiment of the present invention provides an operation method of a mobile application, which is applied to a mobile application of a terminal, and includes: when the mobile application starts to run, judging whether configuration data exist in a server connected with the mobile application or not; if yes, obtaining the configuration data, and constructing a Native function according to the configuration data; if not, constructing a Native function according to default configuration data stored in the mobile application; and running the mobile application by using the built Native function.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where determining whether configuration data exists in a server connected to a mobile application includes: acquiring version information corresponding to the mobile application; and judging whether the server connected with the mobile application has configuration data corresponding to the version information.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where determining whether configuration data corresponding to version information exists in a server connected to a mobile application includes: using the version information to search whether the corresponding configuration data field is empty in a server connected with the mobile application; and if not, determining that the server has the configuration data of the mobile application.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the obtaining configuration data and constructing a Native function according to the configuration data includes: reading configuration data; analyzing the configuration data to obtain differential configuration information; storing the differential configuration information into an application directory of a memory of the local device; the application catalog is a catalog corresponding to the mobile application; and constructing Native functions according to the stored differentiated configuration information.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where after the reading the configuration data, the method further includes: and carrying out security verification on the configuration data, and executing the step of analyzing the configuration data after the verification is passed.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where constructing a Native function according to the stored differentiated configuration information includes: initializing the differential configuration information to obtain initialized configuration information; and constructing a Native function according to the initialization configuration information.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where constructing a Native function according to the stored differentiated configuration information includes: and generating Native functions or UIs comprising the Native functions corresponding to the differentiated configuration information according to the differentiated configuration information.
In a second aspect, an embodiment of the present invention further provides an apparatus for running a mobile application, which is applied to a mobile application of a terminal, and includes: the mobile application starting and running module is used for starting and running the mobile application and judging whether the server connected with the mobile application has the configuration data or not; the updating configuration module is used for acquiring the configuration data if the configuration data is true and constructing a Native function according to the configuration data; the default configuration module is used for constructing a Native function according to default configuration data stored in the mobile application if the mobile application is not in the Native state; and the running module is used for running the mobile application by using the built Native function.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the configuration data determining module is further configured to: acquiring version information corresponding to the mobile application; and judging whether the server connected with the mobile application has configuration data corresponding to the version information.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the updating configuration module includes: a reading unit for reading the configuration data; the analysis unit is used for analyzing the configuration data to obtain differential configuration information; the storage unit is used for storing the differential configuration information into an application directory of a memory of the local device; the application catalog is a catalog corresponding to the mobile application; and the Native function constructing unit is used for constructing the Native function according to the stored differentiated configuration information.
The embodiment of the invention has the following beneficial effects: according to the method and the device for running the mobile application, differential configuration data are pre-constructed in the server aiming at applications of different versions, whether the configuration data exist in the server is judged when the mobile application is started to run, a Native function is obtained and constructed according to the configuration data, the mobile application is run, dynamic updating of the Native function can be achieved, the purpose that the function can be updated without updating the application is achieved, channel packages do not need to be respectively developed aiming at the applications of a plurality of platforms, channels or regions, development cost and maintenance cost are effectively reduced, and compared with a Webview implementation mode, the Native function can be guaranteed to be achieved with complex functions and good user experience.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart illustrating an operation method of a mobile application according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of step S11 in a method for running a mobile application according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of step S12 in a method for running a mobile application according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an operating apparatus for a mobile application according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another mobile application execution device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another mobile application execution device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present 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.
At present, multi-platform and multi-region release of mobile application is realized by respectively developing and making plate applications, so that the development cost is high, and version maintenance and later-period product operation and maintenance are not facilitated; complicated functions cannot be realized in a mode of opening a Web page by embedding Webview, and the presentation effect is poorer than that of a Native function; based on this, the mobile application can realize Native functions in a differentiated and dynamic manner, multi-platform and multi-region delivery can be realized without making multi-channel packages, development cost and maintenance cost are effectively reduced, and presentation effect and user experience are also ensured. For the convenience of understanding the embodiment, a detailed description will be given to an operation method of a mobile application disclosed in the embodiment of the present invention.
Example 1
An embodiment 1 of the present invention provides an operation method of a mobile application, which is applied to a mobile application of a terminal, and referring to a flow diagram of the operation method of the mobile application shown in fig. 1, the method includes the following steps:
step S11, when the mobile application starts running, determines whether there is configuration data in the server to which the mobile application is connected. If yes, go to step S12; if not, step S13 is performed.
Specifically, the mobile application refers to a Native application (Native application) installed on the terminal. The situation when the mobile application starts to run includes: when a user clicks an application icon on a display interface of the terminal to open the application or a certain function of the mobile application starts running. The configuration data corresponds to a certain function or a plurality of functions of the mobile application, such as login, recharge, and the like, and specifically includes content such as a function frame, a function parameter, a logo, or a picture. By judging whether the configuration data exists in the server or not, whether data which are differentiated to realize Native functions exist or not can be determined. The configuration data is differential configuration data which is constructed in advance by a server, and has different configuration data aiming at different versions of applications of different platforms, areas or channels.
And step S12, acquiring configuration data and constructing a Native function according to the configuration data.
When configuration data exists in a server connected with the mobile application, namely the Native function needs to be updated when the server is started, the application acquires the configuration data and constructs the Native function according to the configuration data. Therefore, the Native function can be dynamically updated according to the configuration data of the server, the configuration file of the server is obtained each time the application (or a certain function of the application) is opened, the Native function is constructed according to the configuration file, the dynamism of the Native function can be realized, and the purpose that the function can be updated without updating the application can be achieved. The mobile application automatically constructs a Native function at the background according to the configuration data, so that the automatic configuration of the Native function is realized without authorization and consent of a user.
And step S13, constructing Native functions according to the default configuration data stored in the mobile application.
When configuration data exists in a server connected with the mobile application, the Native function is not required to be updated when the server is started, and the Native function is constructed according to default configuration data stored in the application. It will be appreciated that the default configuration data may be the configuration data carried by the application at the time of initial download, or may be the configuration data previously obtained from the server.
And step S14, running the mobile application by using the built Native function.
After the Native function is constructed, the mobile application runs according to the Native function, and the mobile application comprises a plurality of embodiment modes such as displaying a UI interface and providing a logic level function.
According to the operation method of the mobile application, differential configuration data are pre-constructed in the server aiming at applications of different versions, whether the configuration data exist in the server is judged when the mobile application is started to operate, a Native function is obtained and constructed according to the configuration data, the mobile application is operated, dynamic updating of the Native function can be achieved, the purpose that the function can be updated without updating the application is achieved, channel packages do not need to be respectively developed aiming at the applications of a plurality of platforms, channels or regions, development cost and maintenance cost are effectively reduced, and compared with a Webview implementation mode, the Native function can also guarantee realization of complex functions and good user experience.
As an embodiment of step S11, determining whether configuration data exists according to the version information of the current application, referring to fig. 2, step S11 may include:
in step S21, version information corresponding to the mobile application is acquired.
The version information includes not only the development version number of the application but also information of a customized operator, country or region, system or platform, etc. of the mobile application, so that users from different channels or locations can be distinguished, for example, the version information can use the way of the channel ID. Different pre-constructed configuration data aiming at different versions of information are stored in the server, so that the function of providing differentiation aiming at users with different properties can be realized.
Step S22, it is determined whether the server to which the mobile application is connected has configuration data corresponding to the version information.
Specifically, the method comprises the following steps: and searching whether the corresponding configuration data field is empty in a server connected with the mobile application by using the version information, and if not, determining that the server has the configuration data of the mobile application. For example, the configuration data is saved as configData, and if there is no configData field in the server or the content of the configData field is empty, it is determined that there is no configuration data; otherwise, determining that the server has the configuration data of the mobile application.
As an embodiment of step S12, referring to fig. 3, step S12 may include:
in step S31, the configuration data is read.
In the case of configuration data being present in the server, the application reads or downloads the configuration data. Based on security considerations, after the application reads the configuration data, security verification may be performed on the configuration data in order to determine whether the configuration data is actually sent by the server to which the application is connected to ensure security. And after the verification is passed, the step of analyzing the configuration data is executed.
Step S32, the configuration data is analyzed to obtain differential configuration information.
The configuration data is analyzed according to an analysis mode agreed by the application and the server in advance, so that the configuration data can be successfully analyzed on terminals of various systems or platforms, the configuration data is preferably in a data format or type with good universality, such as an SDK (software development kit) packet form, and compatibility of the configuration data in various systems or platforms is guaranteed. The differentiated configuration information obtained after the configuration data configData is analyzed is marked as diffConfig.
Step S33, the differentiated configuration information is stored in the application directory of the memory of the local device.
Specifically, the application directory is a directory corresponding to the mobile application. In consideration of the storage security, the differentiated configuration information is preferably stored in the memory under the directory of the application, and is not selected to be stored in the memory card, so that illegal reading of other applications can be avoided.
And step S34, constructing Native functions according to the stored differentiated configuration information.
The specific construction process comprises the following steps: initializing the differentiated configuration information diffConfig to obtain initialized configuration information; and constructing a Native function according to the initialization configuration information. Further, the method can also comprise generating Native functions corresponding to the differential configuration information or a UI comprising the Native functions according to the differential configuration information.
It can be understood that, while the differentiated configuration information is stored in the application directory of the memory of the local device, the differentiated configuration information is used to replace the configuration information in the default configuration data, so that the Native function is constructed by using the differentiated configuration information when the server is started next time and no configuration data exists in the server.
According to the operation method of the mobile application, whether the configuration data corresponding to the version information of the mobile application exists in the server or not is judged when the operation is started, if yes, the configuration data is read and analyzed to obtain the differential configuration information, and then the Native function is constructed according to the differential configuration information, so that dynamic updating of the Native function can be achieved, the purpose that the function can be updated without updating the application is achieved, channel packages do not need to be developed respectively for the applications of a plurality of platforms, channels or regions, development cost and maintenance cost are effectively reduced, and realization of complex functions and good user experience are guaranteed.
Example 2
An embodiment 2 of the present invention provides an apparatus for running a mobile application, which is applied to a mobile application of a terminal, and referring to a schematic structural diagram shown in fig. 4, the apparatus includes the following modules:
a configuration data determining module 410, configured to determine whether configuration data exists in a server connected to the mobile application when the mobile application starts to run;
the updating configuration module 420 is used for acquiring configuration data if the configuration data is true, and constructing a Native function according to the configuration data;
a default configuration module 430, configured to, if not, construct Native functions according to default configuration data stored in the mobile application;
and the running module 440 is used for running the mobile application by using the built Native function.
Further, the configuration data determining module 410 is further configured to: acquiring version information corresponding to the mobile application; and judging whether the server connected with the mobile application has configuration data corresponding to the version information. Judging whether the server connected with the mobile application has configuration data corresponding to the version information comprises the following steps: and searching whether the corresponding configuration data field is empty in a server connected with the mobile application by using the version information, and if not, determining that the server has the configuration data of the mobile application.
Specifically, referring to the schematic structural diagram shown in fig. 5, the update configuration module 420 includes:
a reading unit 421 for reading configuration data;
an analyzing unit 422, configured to analyze the configuration data to obtain differential configuration information;
a storing unit 423, configured to store the differential configuration information in an application directory of a memory of the local device; the application catalog is a catalog corresponding to the mobile application;
a Native function constructing unit 424, configured to construct a Native function according to the stored differentiated configuration information.
Further, referring to the schematic structural diagram shown in fig. 6, the update configuration module 420 further includes: the security verification unit 425 performs security verification on the configuration data, and executes a step of analyzing the configuration data after the verification is passed.
Further, Native function building unit 424 is further configured to: initializing the differential configuration information to obtain initialized configuration information; and constructing a Native function according to the initialization configuration information.
Further, Native function building unit 424 is further configured to: and generating Native functions or UIs comprising the Native functions corresponding to the differentiated configuration information according to the differentiated configuration information.
The mobile application running device provided by the embodiment of the invention judges whether the configuration data corresponding to the version information of the mobile application exists in the server when the running is started, if so, the configuration data is read and analyzed to obtain the differential configuration information, and further the Native function is constructed according to the differential configuration information, so that the dynamic updating of the Native function can be realized, the purpose that the function can be updated without updating the application itself is achieved, channel packages do not need to be developed respectively aiming at the applications of a plurality of platforms, channels or regions, the development cost and the maintenance cost are effectively reduced, and the realization of complex functions and good user experience are ensured.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
Unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present invention. The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Referring to fig. 7, an embodiment of the present invention further provides a terminal 100, including: the processor 70, the memory 71, the bus 72 and the communication interface 73, wherein the processor 70, the communication interface 73 and the memory 71 are connected through the bus 72; the processor 70 is arranged to execute executable modules, such as computer programs, stored in the memory 71.
The Memory 71 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 73 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus 72 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
The memory 71 is configured to store a program, and the processor 70 executes the program 701 after receiving an execution instruction, where the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 70, or implemented by the processor 70.
The processor 70 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 70. The Processor 70 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention 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 invention 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 a memory 71, and the processor 70 reads the information in the memory 71 and completes the steps of the method in combination with the hardware thereof.
The computer program product for performing the running method of the mobile application provided in the embodiment of the present invention includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and is not described herein again.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (6)
1. An operation method of a mobile application is characterized in that the mobile application applied to a terminal comprises the following steps:
when the mobile application starts to run, judging whether configuration data exist in a server connected with the mobile application or not;
if yes, obtaining the configuration data, and constructing a Native function according to the configuration data;
if not, constructing a Native function according to default configuration data stored in the mobile application;
running the mobile application by using the built Native function;
the acquiring the configuration data and constructing a Native function according to the configuration data comprises the following steps:
reading the configuration data; analyzing the configuration data to obtain differential configuration information; storing the differential configuration information to an application directory of a memory of the local device; the application catalog is a catalog corresponding to the mobile application; constructing a Native function according to the stored differential configuration information;
the constructing Native functions according to the stored differential configuration information comprises:
initializing the differential configuration information to obtain initialized configuration information; constructing a Native function according to the initialization configuration information;
the constructing Native functions according to the stored differential configuration information comprises:
and generating a Native function corresponding to the differential configuration information or a UI comprising the Native function according to the differential configuration information.
2. The method of claim 1, wherein determining whether configuration data exists in the server to which the mobile application is connected comprises:
acquiring version information corresponding to the mobile application;
and judging whether the server connected with the mobile application has configuration data corresponding to the version information.
3. The method of claim 2, wherein determining whether configuration data corresponding to the version information exists in the server to which the mobile application is connected comprises:
searching whether a corresponding configuration data field is empty in a server connected with the mobile application by using the version information; and if not, determining that the server has the configuration data of the mobile application.
4. The method of claim 1, wherein after reading the configuration data, further comprising: and carrying out security verification on the configuration data, and executing the step of analyzing the configuration data after the verification is passed.
5. An apparatus for running a mobile application, the apparatus being applied to a mobile application of a terminal, comprising:
the configuration data judging module is used for judging whether configuration data exist in a server connected with the mobile application when the mobile application starts to run;
the updating configuration module is used for acquiring the configuration data and constructing a Native function according to the configuration data if the configuration data is true;
the default configuration module is used for constructing a Native function according to default configuration data stored in the mobile application if the mobile application is not in the Native state;
the running module is used for running the mobile application by using the built Native function;
the update configuration module comprises:
a reading unit for reading the configuration data;
the analysis unit is used for analyzing the configuration data to obtain differential configuration information;
the storage unit is used for storing the differential configuration information into an application directory of a memory of the local equipment; the application catalog is a catalog corresponding to the mobile application;
a Native function constructing unit, configured to construct a Native function according to the stored differentiated configuration information;
the Native function building unit is further configured to: initializing the differential configuration information to obtain initialized configuration information; constructing a Native function according to the initialization configuration information;
the Native function building unit is further configured to: and generating a Native function corresponding to the differential configuration information or a UI comprising the Native function according to the differential configuration information.
6. The apparatus of claim 5, wherein the configuration data determining module is further configured to:
acquiring version information corresponding to the mobile application;
and judging whether the server connected with the mobile application has configuration data corresponding to the version information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710375986.4A CN107203397B (en) | 2017-05-24 | 2017-05-24 | Method and device for running mobile application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710375986.4A CN107203397B (en) | 2017-05-24 | 2017-05-24 | Method and device for running mobile application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107203397A CN107203397A (en) | 2017-09-26 |
CN107203397B true CN107203397B (en) | 2021-02-05 |
Family
ID=59906396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710375986.4A Active CN107203397B (en) | 2017-05-24 | 2017-05-24 | Method and device for running mobile application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107203397B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857801B (en) * | 2020-07-08 | 2022-07-05 | 广州云徙科技有限公司 | Construction method of mobile application |
CN112988177B (en) * | 2021-04-16 | 2023-08-01 | 腾讯科技(深圳)有限公司 | Application installation package release method, application program operation method, server and terminal |
CN114500718B (en) * | 2021-12-27 | 2023-11-03 | 天翼云科技有限公司 | Cloud mobile phone management method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103745158A (en) * | 2014-01-26 | 2014-04-23 | 北京奇虎科技有限公司 | Method and device for repairing system bugs |
CN104063239A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Application program update method of mobile terminal, server and client |
CN105607895A (en) * | 2014-11-21 | 2016-05-25 | 阿里巴巴集团控股有限公司 | Operation method and device of application program on the basis of application program programming interface |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102736946B (en) * | 2011-04-11 | 2015-12-16 | 阿里巴巴集团控股有限公司 | A kind of batch dispositions method of application node and device |
US9524156B2 (en) * | 2014-01-09 | 2016-12-20 | Ford Global Technologies, Llc | Flexible feature deployment strategy |
US9881095B2 (en) * | 2014-06-24 | 2018-01-30 | Google Llc | Search results for native applications |
-
2017
- 2017-05-24 CN CN201710375986.4A patent/CN107203397B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063239A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Application program update method of mobile terminal, server and client |
CN103745158A (en) * | 2014-01-26 | 2014-04-23 | 北京奇虎科技有限公司 | Method and device for repairing system bugs |
CN105607895A (en) * | 2014-11-21 | 2016-05-25 | 阿里巴巴集团控股有限公司 | Operation method and device of application program on the basis of application program programming interface |
Also Published As
Publication number | Publication date |
---|---|
CN107203397A (en) | 2017-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5805621B2 (en) | Device-dependent on-demand compilation and deployment of mobile applications | |
US10481964B2 (en) | Monitoring activity of software development kits using stack trace analysis | |
RU2575985C2 (en) | Method and apparatus for vetting executable program using model | |
US20150024720A1 (en) | Remote Testing Through Third Party Devices | |
CN107203397B (en) | Method and device for running mobile application | |
CN111427596B (en) | Software upgrading method and device and terminal equipment | |
WO2017157178A1 (en) | Mobile terminal application update method and device | |
CN111666497A (en) | Application program loading method and device, electronic equipment and readable storage medium | |
WO2022247594A1 (en) | Page rendering method and apparatus, electronic device, computer-readable storage medium, and computer program product | |
KR101935847B1 (en) | Method and system for modifying machine instructions in compiled software | |
CN107402792B (en) | Integration method, device, equipment and storage medium of application software installation package | |
CN109992501B (en) | Availability check of small program, available small program list generating method and device | |
CN112416613A (en) | Application data processing method, device, equipment and medium | |
CN106293849B (en) | application updating method and terminal | |
CN105512294A (en) | Multi-media file update prompting method and device | |
CN111079125A (en) | Method and device for calling third-party library dynamic lifting authority by application program | |
CN105808630B (en) | Android application auditing method and device | |
CN111596931B (en) | Application program packaging method and device, electronic equipment and readable storage medium | |
CN108334775B (en) | Method and device for detecting jail-crossing plug-in | |
CN108133123B (en) | Application program identification method and system | |
CN108037914B (en) | Method and device for developing android native system by combining js | |
CN110806935A (en) | Application program construction method, device and system | |
CN112068895B (en) | Code configuration method, device, video playing equipment and storage medium | |
CN111181836B (en) | Message pushing method and device | |
CN109165023B (en) | Method, device and equipment for modifying ISO (International organization for standardization) mirror image file |
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 |