CN111625260A - Method and system based on mixed mobile application program upgrading - Google Patents

Method and system based on mixed mobile application program upgrading Download PDF

Info

Publication number
CN111625260A
CN111625260A CN202010464609.XA CN202010464609A CN111625260A CN 111625260 A CN111625260 A CN 111625260A CN 202010464609 A CN202010464609 A CN 202010464609A CN 111625260 A CN111625260 A CN 111625260A
Authority
CN
China
Prior art keywords
application program
version information
type
updating
acquiring
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.)
Pending
Application number
CN202010464609.XA
Other languages
Chinese (zh)
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.)
Harbin Wentou Technology Co ltd
Original Assignee
Harbin Wentou 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 Harbin Wentou Technology Co ltd filed Critical Harbin Wentou Technology Co ltd
Priority to CN202010464609.XA priority Critical patent/CN111625260A/en
Publication of CN111625260A publication Critical patent/CN111625260A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a system for upgrading based on a hybrid mobile application program, which are applied to an APP application program developed in a hybrid development mode, and the method comprises the following steps: determining a user side type corresponding to an application program; acquiring first version information developed based on a native system in an updating application program according to the type of a user side; comparing the first version information with second version information on a preset server of a corresponding interface to obtain a comparison result; and updating the application program according to the type of the user side and the comparison result. By the technical scheme, dynamic updating is performed on different user sides in the application program developed based on the hybrid development mode, and user interaction experience of the application program is effectively improved.

Description

Method and system based on mixed mobile application program upgrading
Technical Field
The invention relates to the field of computers, in particular to a method and a system for upgrading a hybrid mobile application program.
Background
With the development of mobile applications, the frequency of upgrading and updating applications by application providers is increasing. For the os, such as IOS or Android, however, for different os, the update period adapted to the application program is different; therefore, the user is not facilitated to update and upgrade in time, the user cannot enjoy the more optimized experience effect of the application program in time due to the difference of the user side operating systems, and the user loss is caused to the side face of the application program supplier.
Therefore, the existing mobile application updating method needs to be further improved.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and a system for upgrading a hybrid mobile application program, so as to solve the above technical problems.
In order to solve the above technical problems, an object of the present invention is to provide a method and system for upgrading based on a hybrid mobile application.
In order to achieve the above object, the present invention provides an APP application program developed by a hybrid development mode, and the method includes: determining a user side type corresponding to an application program; acquiring first version information developed based on a native system in an updating application program according to the type of a user side; comparing the first version information with second version information on a preset server of a corresponding interface to obtain a comparison result; updating the application program according to the type of the user side and the comparison result; when the application program is updated, updating a view interface of the application program; wherein updating the application comprises: acquiring a first resource package for updating a set interface view developed based on a native system in an application program; analyzing the first resource packet to obtain a second resource packet which can be identified by the native system; updating the application program through the second resource file; the first resource package is a resource file configured based on a set script development language, and the script development language is a script language Javascript.
In the embodiment of the present invention, the user side types include: determining the user side type corresponding to the application program according to the system type and the equipment type comprises the following steps: acquiring user agent information of an application program; acquiring a system type according to the user agent information; acquiring the model of the equipment; and performing mark classification on the system type and the equipment model.
In an embodiment of the present invention, the first version information or the second version information includes: and the version number and at least one of the maximum running memory, the current picture, all current authorities, the current signature and the current name.
In the embodiment of the invention, the user side type comprises a system type, and the system type comprises an Ios system and an Android system; when the system type is an Ios system; according to the type of the user side, acquiring first version information developed based on a native system in the updating application program comprises the following steps: creating a protocol module; presetting a macro file access protocol module, and providing calling for a third-party port through a macro file to realize native bridging; acquiring first version information by using native bridging; the third port is an RN port or an H5 port.
In the embodiment of the present invention, when the system type is an Android system, acquiring, according to the user side type, first version information developed based on a native system in an update application includes: newly building a file package: adding the Android native module to the Android system native module in the file package; adding a file package name in an application program; calling by utilizing a third-party port to realize native bridging; acquiring first version information by using native bridging; wherein the third party port is an RN end or an H5 end.
In the embodiment of the invention, second version information on the server is obtained; acquiring the second version information on the server comprises: when the system type is an Ios system, acquiring the unique identifier of the APPstore on the current shelf as a version number; and when the system type is an Android system, acquiring a new latest version number in a third-party remote database.
In the embodiment of the invention, the first version information comprises a current version number, and the second version information comprises a latest version number; comparing the first version information with second version information on a preset server of a corresponding interface to obtain a comparison result, comprising: comparing the current version number with the latest version number; when the current version number is smaller than the latest version number, executing the updating operation of the application program; or when the current version number is equal to the latest version number, the execution prompts the user that the version is the latest version.
In the embodiment of the present invention, updating the application according to the type of the user side and the comparison result includes: when the system type is an Ios system, uploading an application store download address of a new Ios; or when the system type is the Android system, downloading the apk, and automatically installing the apk file to execute upgrading.
In a second aspect of the present invention, there is also provided a system for upgrading based on a hybrid mobile application, configured to execute the method for upgrading based on a hybrid mobile application.
In a third aspect of the invention, there is also provided a machine-readable storage medium having stored thereon instructions for enabling a processor to perform a method of upgrading based on a hybrid mobile application according to the above when executed by the processor.
According to the technical scheme, the user side type corresponding to the application program is determined firstly; acquiring first version information developed based on a native system in an updating application program according to the type of a user side; then comparing the first version information with second version information on a preset server of a corresponding interface to obtain a comparison result; and updating the application program according to the type of the user side and the comparison result, so that dynamic updating aiming at different user sides in the application program developed based on the hybrid development mode is realized, and the user interaction experience of the application program is effectively improved.
In addition, the application of the invention solves the problem of static update by acquiring the first resource package for updating the set interface view developed based on the native system in the application program, acquiring the second resource package which can be identified by the native system by analyzing the first resource package, and updating the application program through the second resource file.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention.
In the drawings:
FIG. 1 is a flow chart of a method for upgrading based on a hybrid mobile application provided in one embodiment of the invention;
fig. 2 is a flowchart of step S101 in the method for upgrading based on a hybrid mobile application provided in the first embodiment of the present invention;
fig. 3 is a flowchart of step S102 in the method for upgrading based on a hybrid mobile application program according to the first embodiment of the present invention;
fig. 4 is another flowchart of step S102 in the method for upgrading based on a hybrid mobile application provided in the first embodiment of the present invention;
fig. 5 is a flowchart of acquiring the second version information on the server in the method for upgrading based on a hybrid mobile application according to the first embodiment of the present invention;
fig. 6 is a flowchart of step S103 in the method for upgrading based on a hybrid mobile application program according to the first embodiment of the present invention;
fig. 7 is a flowchart of step S104 in the method for upgrading based on a hybrid mobile application program according to the first embodiment of the present invention; and
fig. 8 is another flowchart of step S104 in the method for upgrading based on a hybrid mobile application program according to the first embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for upgrading a hybrid mobile application according to an embodiment of the present invention. The method is mainly applied to APP developed by a hybrid development mode, and as shown in FIG. 1, the method for upgrading based on the hybrid mobile application includes the following steps:
step S101: determining a user side type corresponding to an application program;
step S102: according to the type of the user side, acquiring first version information developed based on a native system in an updating application program:
step S103: comparing the first version information with second version information on a preset server of a corresponding interface to obtain a comparison result;
step S104: and updating the application program according to the type of the user side and the comparison result.
In the embodiment of the present invention, for convenience of differentiation and understanding, the term "application" in the present invention is defined as a computer program that is developed and run on an operating system to complete a certain task or certain specific tasks, and is supplied by a merchant, the application program is an application program developed based on two or more script development languages, the type and number of the script development languages are not specifically limited, and the application program may be an application program developed based on a mixture of a native Android (Android) system development language and a scripting language Javascript; the method can also be an application program which is developed based on the mixture of the development language of the Ios of the native apple operating system and the Javascript language. The "user side" is defined as the operating system type of the device used by the user, and the system types include an Ios system and an Android system, and it should be understood that the description only plays a role in convenient explanation, and does not limit the present invention in any way.
Referring to fig. 2, fig. 2 is a flowchart of step S101 in a method for upgrading based on a hybrid mobile application according to an embodiment of the present invention. Specifically, in step S101, a user side type corresponding to the application program is determined, that is, a device operating system type of the user is determined; it can be understood that when the platform, the browser and the mobile device are compatible, specific adjustment needs to be made according to the device and the browser, and the method can be used for judging by using navigator (built-in object), user agent (attribute of built-in object), toLowerCase (toLowerCase: converted into a lower case instruction), so as to judge the type of the user end, such as an Ios system or an Android system. The step S101 of determining the type of the user side corresponding to the application program may specifically include the following steps:
step S1011: acquiring user agent information of an application program;
step S1012: acquiring a system type according to the user agent information;
step S1013: acquiring the model of the equipment;
step S1014: and carrying out mark classification on the user side type.
In step S1011, the user agent information of the application, that is, the user-agent information (user agent), may be determined by the navigator. After obtaining the user agent information, the system type (step S1012) and the device model (i.e., step S1013) may be extracted, and finally the user side type, i.e., the system type and the device model, may be subjected to tag classification. If the IOS system returns apple, the Android system returns Android.
In the embodiment of the present invention, in steps S102 to S103, the term "first version information" developed based on the native system in the update application program is obtained according to the user side type, and the term "second version information" in step S103 may include: and the version number and at least one of the maximum running memory, the current picture, all current authorities, the current signature and the current name.
Referring to fig. 3, fig. 3 is a flowchart of step S102 in the method for upgrading based on a hybrid mobile application according to the first embodiment of the present invention. In one aspect of the invention embodiments may improve, the improvement from step S102. Since the corresponding client includes an Ios system and an Android system, when the system type is the Ios system, the step S102 of obtaining the first version information developed based on the native system in the update application according to the client type includes the following steps:
step S1021: creating a protocol module;
step S1022: presetting a macro file access protocol module, and providing calling for a third-party port through a macro file to realize native bridging;
step S1023: acquiring first version information by using native bridging;
the third port is an RN port or an H5 port.
Specifically, for bridging of the IOS system, a protocol module needs to be created to satisfy a protocol that the IOS system can bridge, generally speaking, when the third-party port is an RN end, the protocol is an rctbridge module (rctbridge module: an interaction protocol between RN and IOS) protocol, in order to implement the protocol, the present invention applies to create a macro file to access the protocol module, and the macro file may also adopt a name that adds a specified parameter to specify access the protocol module. A call is provided to the third party port through the macro file to implement the native bridge (step S1022). And finally, the native bridge can be used for acquiring the first version information developed based on the native system in the application program. It should also be understood by those skilled in the art that the RN terminal is adopted in this embodiment, and the RN terminal of the third party port is replaced by the H5 terminal, which also falls within the protection scope covered by the present invention.
Referring to fig. 4, fig. 4 is another flowchart of step S102 in the method for upgrading based on a hybrid mobile application according to the first embodiment of the present invention. Correspondingly, when the system type is the Android system, the step S102 of obtaining the first version information developed based on the native system in the update application according to the user side type includes the following steps:
step S1021': newly building a file package;
step S1022': adding the Android native module to the Android system native module in the file package;
step S1023': adding a file package name in an application program; calling by utilizing a third-party port to realize native bridging;
step S1024': acquiring first version information by using native bridging;
wherein the third party port is an RN end or an H5 end.
It can be understood that when the system type is an Android system, the system is relatively complex compared with the IOS system in the foregoing; first, a new file package is required to be created, which may be a new reactive (cross-platform mobile application development framework) file package is created under a specified folder, that is, the new file package in step S1011', an rnbridge manager. Then adding a file package name in the application program; and calling by using a third party port, namely an RN port, so as to realize native bridging. I.e., step S1023', the first version information is finally obtained using the native bridge. Similarly, it should be understood by those skilled in the art that the RN side is adopted in the present embodiment, and the RN side of the third party port is replaced by the H5 side, which also falls within the protection scope covered by the present invention.
In an improved aspect of the present application, the improvement from obtaining the second version information is that the method for upgrading based on a hybrid mobile application further includes:
step S102': acquiring second version information on the server;
referring to fig. 5, fig. 5 is a flowchart for acquiring second version information on a server in a method for upgrading a hybrid mobile application according to an embodiment of the present invention; the step of acquiring the second version information on the server comprises the following steps:
step S1021 ": when the system type is an Ios system, acquiring the unique identifier of the APPstore on the current shelf as a version number;
step S1022 ": and when the system type is an Android system, acquiring a new latest version number in a third-party remote database.
Specifically, when the system type of the user side corresponds to the Ios system, due to the characteristics of the Ios system, the search code of the browser may be used in step S1021 ″ to extract an id (unique identifier) as the version number of the second version information; on the contrary, when the system type of the user side corresponds to the Android system, the Android version number in the third-party database, such as the Android version number in the remote database, may be obtained.
For convenience of explanation, the version number of the first version information is defined as a current version number, namely a local version number of the user side; and for the version number in the second version information, the version number is defined as the latest version number as the version number corresponds to the new version on the server.
Referring to fig. 6, fig. 6 is a flowchart of step S103 in the method for upgrading based on a hybrid mobile application according to the first embodiment of the present invention. Step S103 of comparing the first version information with the second version information on the preset server corresponding to the interface to obtain a comparison result includes the following steps:
step S1031: comparing the current version number with the latest version number;
step S1032: when the current version number is smaller than the latest version number, executing the updating operation of the application program; or
Step S1033: when the current version number is equal to the latest version number, execution prompts the user that the version is the latest version.
It will be appreciated that the current version number of the native application is compared to the latest version number of the application on the server and if the current version number is less than the latest version number on the server, then the update operation is performed. Specifically, the implementation is performed through a code, that is, an if function is adopted, when the current version number is smaller than the latest version number, execution is returned to prompt the client to find the new version, the upgrade operation is executed after the user confirms, and at this time, the step S104 is continued. Otherwise, when the current version number is equal to the latest version number, the step S1033 is executed to prompt the user that the version number is the latest version. At which point the process stops.
Referring to fig. 7, fig. 7 is a flowchart of step S104 in the method for upgrading based on a hybrid mobile application according to the first embodiment of the present invention. In step S104, updating the application according to the type of the user side and the comparison result may include the following steps:
step S1041: when the system type is an Ios system, uploading an application store download address of a new Ios; or
Step S1042: and when the system type is an Android system, downloading the apk, and automatically installing an apk file to execute upgrading.
Referring to fig. 8, fig. 8 is another flowchart of step S104 in the method for upgrading based on a hybrid mobile application according to the first embodiment of the present invention. In an improved aspect of the present invention, the updating the application program may include:
step S1043: acquiring a first resource package for updating a set interface view developed based on a native system in an application program;
step S1044: analyzing the first resource packet to obtain a second resource packet which can be identified by the native system;
step S1045: updating the application program through the second resource file;
the first resource package is a resource file configured based on a set script development language, and the script development language is a script language Javascript.
In the embodiment of the present invention, the manner of obtaining the first resource package is not specifically limited, and the first resource package may be pushed to the application program by the server; or when the application program detects that the first resource package exists in the server, downloading the first resource package; or downloading the first resource package when the application program receives the first resource package notification pushed by the server; the application program may also detect whether the server has the first resource package in a set detection period, and if the server has the first resource package, the first resource package is downloaded.
In step S1044, the first resource package configured based on the set script development language can be efficiently and automatically converted into the second resource package recognizable by the native system through the preset resource file parsing protocol. The application is then updated through step S1045.
To sum up, the embodiment of the present invention determines the type of the user side corresponding to the application program; acquiring first version information developed based on a native system in an updating application program according to the type of the user side; then comparing the first version information with second version information on a preset server of a corresponding interface to obtain a comparison result; and updating the application program according to the type of the user side and the comparison result, so that dynamic updating aiming at different user sides in the application program developed based on the hybrid development mode is realized, and the user interaction experience of the application program is effectively improved.
In addition, the application of the invention solves the problem of static update by acquiring the first resource package for updating the set interface view developed based on the native system in the application program, acquiring the second resource package which can be identified by the native system by analyzing the first resource package, and updating the application program through the second resource file.
In an embodiment of the present invention, a system for upgrading based on a hybrid mobile application is further provided, and the system may be configured to perform the method for upgrading based on a hybrid mobile application described in the foregoing embodiment.
It will also be understood by those skilled in the art that if the method or system of the present invention is simply changed or combined with other functions added to the above-described method or replaced on the system, such as the replacement of model materials for each component, the replacement of usage environment, the simple replacement of positional relationship of each component, etc.; or the products formed by the components are integrally arranged; or a detachable design; it is within the scope of the present invention to replace the method and system of the present invention with any method/apparatus/system where the combined components may be combined into a method/apparatus/system having specific functions.
The system also comprises a memory and a processor, the method based on the upgrade of the hybrid mobile application program can be stored in the memory as a program unit, and the processor executes the program unit stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and diversified upgrading is carried out on the application program by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a machine-readable storage medium having stored thereon a program which, when executed by a processor, implements a method for hybrid mobile application based upgrade.
The embodiment of the invention provides a processor, which is used for running a program, wherein the method based on the hybrid mobile application program upgrading is executed when the program runs.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a system for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction system which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for upgrading based on a hybrid mobile application, which is applied to an APP developed by a hybrid development mode, and is characterized in that the method comprises the following steps:
determining a user side type corresponding to the application program;
acquiring and updating first version information developed based on a native system in the application program according to the user side type;
comparing the first version information with second version information on a preset server of a corresponding interface to obtain a comparison result; and
updating the application program according to the user side type and the comparison result;
wherein the updating the application comprises:
acquiring a first resource package for updating a set interface view developed based on a native system in the application program;
analyzing the first resource packet to obtain a second resource packet which can be identified by a native system;
updating the application program through the second resource file;
the first resource package is a resource file configured based on a set script development language, and the script development language is a script language Javascript.
2. The method of claim 1, wherein the client type comprises: the determining of the user side type corresponding to the application program includes:
acquiring user agent information of the application program;
acquiring a system type according to the user agent information;
acquiring the model of the equipment;
and performing mark classification on the system type and the equipment model.
3. The method of claim 2,
the first version information or the second version information includes: and the version number and at least one of the maximum running memory, the current picture, all current authorities, the current signature and the current name.
4. The method of claim 3, wherein the system types include an Ios system and an Android system; the acquiring and updating the first version information developed based on the native system in the application program according to the user side type includes:
the system type is an Ios system, and a protocol module is established;
presetting a macro file to access the protocol module, and providing calling for a third-party port through the macro file to realize native bridging;
obtaining the first version information using the native bridge;
and the third-party port is an RN end or an H5 end.
5. The method of claim 4, wherein obtaining and updating the first version information of the application based on native system development according to the client type comprises:
the system type is an Android system, and a new file package is created:
adding the Android native module to the file package;
adding the file package name in the application program; calling by utilizing a third-party port to realize native bridging;
obtaining the first version information using the native bridge;
wherein the third party port is an RN end or an H5 end.
6. The method of claim 3, wherein the method further comprises: acquiring the second version information on the server; the obtaining the second version information on the server comprises:
when the system type is the Ios system, acquiring the unique identifier of the APPstore on the shelf at present as a version number;
and when the system type is the Android system, acquiring a new latest version number in a third-party remote database.
7. The method of claim 6, wherein the first version information includes a current version number, and the second version information includes a latest version number; the comparing the first version information with second version information on a preset server of a corresponding interface to obtain a comparison result includes:
comparing the current version number with the latest version number;
when the current version number is smaller than the latest version number, executing updating operation on the application program; or
And when the current version number is equal to the latest version number, prompting that the user is the latest version.
8. The method of claim 1, wherein the updating the application according to the client type and the comparison result comprises:
when the system type is an Ios system, uploading an application store download address of a new Ios; or
And when the system type is an Android system, downloading the apk, and automatically installing an apk file to execute upgrading.
9. A system for hybrid mobile application upgrade based, configured to perform the method for hybrid mobile application upgrade based according to any one of claims 1 to 8.
10. A machine-readable storage medium having stored thereon instructions for enabling a processor to perform the method of hybrid mobile application upgrade based on according to any one of claims 1 to 8 when executed by the processor.
CN202010464609.XA 2020-05-27 2020-05-27 Method and system based on mixed mobile application program upgrading Pending CN111625260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010464609.XA CN111625260A (en) 2020-05-27 2020-05-27 Method and system based on mixed mobile application program upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010464609.XA CN111625260A (en) 2020-05-27 2020-05-27 Method and system based on mixed mobile application program upgrading

Publications (1)

Publication Number Publication Date
CN111625260A true CN111625260A (en) 2020-09-04

Family

ID=72272313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010464609.XA Pending CN111625260A (en) 2020-05-27 2020-05-27 Method and system based on mixed mobile application program upgrading

Country Status (1)

Country Link
CN (1) CN111625260A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559021A (en) * 2020-12-23 2021-03-26 通联支付网络服务股份有限公司 Mobile terminal small application development management system
CN112631602A (en) * 2020-12-25 2021-04-09 北京天融信网络安全技术有限公司 Browser development mode detection method, device, equipment and storage medium
CN112685202A (en) * 2021-01-04 2021-04-20 深圳市房多多网络科技有限公司 Cross-platform communication method and device and computing equipment
CN112804246A (en) * 2021-01-27 2021-05-14 上海淇玥信息技术有限公司 Local capability permission opening and control method and device and electronic equipment
CN114978902A (en) * 2022-05-18 2022-08-30 阿里云计算有限公司 Information processing method, apparatus, device, storage medium, and program product

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133064A (en) * 2017-03-16 2017-09-05 武汉斗鱼网络科技有限公司 The hot update method of the page and device of native applications

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133064A (en) * 2017-03-16 2017-09-05 武汉斗鱼网络科技有限公司 The hot update method of the page and device of native applications

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559021A (en) * 2020-12-23 2021-03-26 通联支付网络服务股份有限公司 Mobile terminal small application development management system
CN112631602A (en) * 2020-12-25 2021-04-09 北京天融信网络安全技术有限公司 Browser development mode detection method, device, equipment and storage medium
CN112631602B (en) * 2020-12-25 2023-10-13 北京天融信网络安全技术有限公司 Browser development mode detection method, device, equipment and storage medium
CN112685202A (en) * 2021-01-04 2021-04-20 深圳市房多多网络科技有限公司 Cross-platform communication method and device and computing equipment
CN112804246A (en) * 2021-01-27 2021-05-14 上海淇玥信息技术有限公司 Local capability permission opening and control method and device and electronic equipment
CN114978902A (en) * 2022-05-18 2022-08-30 阿里云计算有限公司 Information processing method, apparatus, device, storage medium, and program product
CN114978902B (en) * 2022-05-18 2024-05-14 阿里云计算有限公司 Information processing method, apparatus, device, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN111625260A (en) Method and system based on mixed mobile application program upgrading
CN107870787B (en) Application program plug-in loading method and system
CN110750288B (en) Native engineering configuration method and device, electronic equipment and storage medium
US9454356B2 (en) Method of and terminal for updating library file in system application
JP6953424B2 (en) Mobile device application update method and device
KR20180137554A (en) PATCH UPGRADE BASED FILE PROCESSING METHOD AND DEVICE, TERMINAL,
CN104731625A (en) Method, device and mobile terminal for loading plugin
CN106406961A (en) Method and device for loading and providing application based on browser
CN109614158B (en) Plug-in calling method, system, storage medium and processor
CN110543327B (en) Service component multiplexing method, device, computer equipment and storage medium
CN111399840B (en) Module development method and device
US9747145B2 (en) Mobile application configuration agnostic to operating system versions
CN108279941B (en) Application program compression method and device
CN103793248A (en) Method and device for upgrading application program
CN111124544A (en) Interface display method and device, electronic equipment and storage medium
CN111596951A (en) Method and device for configuring engineering file
CN109766123B (en) Application program packaging method and device
CN110502251B (en) Application installation method and device
CN113138768A (en) Application package generation method and device, electronic equipment and readable storage medium
CN110941443B (en) Method and device for modifying file name in SDK (software development kit) and electronic equipment
CN109857374B (en) Development method and device of mobile application
CN106778270B (en) Malicious application detection method and system
CN105338025B (en) Invocation component method, system, client and concentration assembly method and server
CN110362320B (en) Command implementation method and device of application development platform
CN112965697A (en) Code file generation method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200904

RJ01 Rejection of invention patent application after publication