[go: up one dir, main page]

CN110825417A - Application program updating method and system - Google Patents

Application program updating method and system Download PDF

Info

Publication number
CN110825417A
CN110825417A CN201911105480.7A CN201911105480A CN110825417A CN 110825417 A CN110825417 A CN 110825417A CN 201911105480 A CN201911105480 A CN 201911105480A CN 110825417 A CN110825417 A CN 110825417A
Authority
CN
China
Prior art keywords
plug
login
role
update
application program
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
CN201911105480.7A
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.)
Shanghai Yanxi Software Information Technology Co Ltd
Original Assignee
Shanghai Yanxi Software Information 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 Shanghai Yanxi Software Information Technology Co Ltd filed Critical Shanghai Yanxi Software Information Technology Co Ltd
Priority to CN201911105480.7A priority Critical patent/CN110825417A/en
Publication of CN110825417A publication Critical patent/CN110825417A/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

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)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The present application provides an application update system, comprising: a processor; and a memory to store a computer program executable by the processor; wherein the processor is configured to perform: triggering the update of the login plug-in the process of starting the application program; entering a login interface after the update of the login plug-in is finished; entering a menu interface from a login interface; and triggering the role plug-in to update in the process of entering the menu interface. An application update method, comprising: triggering the update of the login plug-in the process of starting the application program; entering a login interface after the update of the login plug-in is finished; entering a menu interface from a login interface; and triggering the role plug-in to update in the process of entering the menu interface. The method is used for solving the problem that the application installation package needs to be reinstalled when the application software is updated.

Description

Application program updating method and system
Technical Field
The application relates to the field of internet, in particular to an application program updating method and system.
Background
The development of APP in the prior art has the problem of version iteration, and when an embedded product is updated, three interface updating modes, namely serial port updating, USB updating and network updating, can be adopted. The serial port is updated at a low speed and is inconvenient to use. The USB is convenient and fast to update, but one-to-many updating cannot be realized, and the USB is not suitable for updating multiple devices simultaneously. Therefore, the currently applied mode is to update the system software by adopting a network interface and under the loading of a program. Some users generally do not like updating the application, so that multiple versions exist on the line, and new functions of the APP cannot be popularized in time, so that the BUG cannot be solved in time.
Disclosure of Invention
An object of the embodiments of the present application is to provide an application program updating method and system, so as to solve the problem that an application installation package needs to be reinstalled when an application software is updated.
In a first aspect, an embodiment of the present invention provides an application program updating method, including:
triggering the update of the login plug-in the process of starting the application program;
entering a login interface after the update of the login plug-in is finished;
entering a menu interface from a login interface;
and triggering the role plug-in to update in the process of entering the menu interface.
In an alternative embodiment, triggering the login plug-in update during the process of starting the application program comprises:
obtaining the version number of the login plug-in from a network server in the process of starting the application program;
detecting the login plug-in version number of the application program and comparing the login plug-in version number obtained from the network server;
if the version numbers are not consistent, obtaining a login plug-in from the network server and installing the login plug-in;
and finishing the updating of the login plug-in.
In an alternative embodiment, triggering the login plug-in update during the process of starting the application program comprises:
obtaining the version number of the login plug-in from a network server in the process of starting the application program;
detecting the login plug-in version number of the application program and comparing the login plug-in version number obtained from the network server;
and if the version numbers are consistent, finishing the updating of the login plug-in.
In an alternative embodiment, the role plug-in update is triggered during entry into the menu interface, comprising:
acquiring the role information selected on a login interface;
detecting whether an application program has role plug-ins or not according to the role information;
if no role plug-in exists, obtaining the role plug-in from the network server and installing the role plug-in;
and completing the role plug-in updating.
In an alternative embodiment, the role plug-in update is triggered during entry into the menu interface, comprising:
acquiring the role information selected on a login interface;
detecting whether an application program has role plug-ins or not according to the role information;
and if the role plug-in has the role plug-in, finishing the role plug-in updating.
In a second aspect, an embodiment of the present invention provides an application updating system, including: a processor; and a memory to store a computer program executable by the processor; wherein the processor is configured to perform: triggering the update of the login plug-in the process of starting the application program; entering a login interface after the update of the login plug-in is finished; entering a menu interface from a login interface; and triggering the role plug-in to update in the process of entering the menu interface.
In an alternative embodiment, triggering the login plug-in update during the process of starting the application program comprises: obtaining the version number of the login plug-in from a network server in the process of starting the application program; detecting the login plug-in version number of the application program and comparing the login plug-in version number obtained from the network server; if the version numbers are not consistent, obtaining a login plug-in from the network server and installing the login plug-in; and finishing the updating of the login plug-in.
In an alternative embodiment, triggering the login plug-in update during the process of starting the application program comprises: obtaining the version number of the login plug-in from a network server in the process of starting the application program; detecting the login plug-in version number of the application program and comparing the login plug-in version number obtained from the network server; and if the version numbers are consistent, finishing the updating of the login plug-in.
In an alternative embodiment, the role plug-in update is triggered during entry into the menu interface, comprising: acquiring the role information selected on a login interface; detecting whether an application program has role plug-ins or not according to the role information; if no role plug-in exists, obtaining the role plug-in from the network server and installing the role plug-in; and completing the role plug-in updating.
In an alternative embodiment, the role plug-in update is triggered during entry into the menu interface, comprising: acquiring the role information selected on a login interface; detecting whether an application program has role plug-ins or not according to the role information; and if the role plug-in has the role plug-in, finishing the role plug-in updating.
In the implementation process, the user does not need to update the application frequently, and the application deployment only needs to deploy the plug-in package. The user can use the latest version without awareness. The application program can be developed in parallel after being disassembled into a plurality of plug-ins, and can be tested in parallel.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic diagram of an application update system according to an embodiment of the present application;
fig. 2 is a flowchart of an application updating method according to an embodiment of the present application;
FIG. 3 is a detailed flowchart of step S100 shown in FIG. 2;
fig. 4 is a detailed flowchart of step S400 shown in fig. 2.
Icon: system 10, processor 100, memory 200.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Fig. 1 is a schematic diagram of an application update system according to an embodiment of the present application, where the system 10 includes a processor 100 and a memory 200. The processor 100 is electrically coupled to the memory 200. The memory 200 stores instructions executable by the processor 100 to perform the following: triggering the update of the login plug-in the process of starting the application program; entering a login interface after the update of the login plug-in is finished; entering a menu interface from a login interface; and triggering the role plug-in to update in the process of entering the menu interface.
In an embodiment, the application may be an application running in an intelligent device, and the intelligent device may include a smart phone, a tablet computer, a palm computer, a set-top box, and the like.
Fig. 2 is a flowchart of an application updating method provided in an embodiment of the present application, where the method includes:
step S100: and triggering the login plug-in to update in the process of starting the application program.
Step S200: and entering a login interface after the login plug-in is updated.
Step S300: and entering a menu interface from the login interface.
Step S400: and triggering the role plug-in to update in the process of entering the menu interface.
In one embodiment, the whole application is based on an open source framework, i.e., a Replugin framework, and is divided into plug-in packages with multiple functions on the basis of the framework. In the deployment of each update, the update for a certain function only needs to download a single update plug-in.
Fig. 3 is a detailed flowchart of step S100 shown in fig. 2, and step S100 includes:
step S110: during the start-up of the application, the login plug-in version number is obtained from the network server.
Step S120: the login plug-in version number of the application program is detected and obtained from the network server.
Step S130: and comparing whether the login plug-in version numbers are consistent or not.
Step S131: and if the version numbers are not consistent, obtaining the login plug-in from the network server and installing the login plug-in.
Step S140: and if the version numbers are consistent, finishing the updating of the login plug-in.
In an embodiment, in the updating process, the processor 100 may directly call the plug-in stored in the network server, or may download the plug-in to the memory 200 first by using the network, and then call the plug-in from the memory 200 and install the plug-in.
Fig. 4 is a detailed flowchart of step S400 shown in fig. 3, wherein step S400 includes:
step S410: and acquiring the role information selected on the login interface.
Step S420: and detecting whether the application program has a role plug-in or not according to the role information.
Step S421: if no role plug-in exists, the role plug-in is obtained from the network server and installed.
Step S430: and if the role plug-in has the role plug-in, finishing the role plug-in updating.
In one embodiment, different selectable use roles of the user may be different, and different menu options may be presented in the menu interface of the application program for different use roles, and the like. In one embodiment, a logistics application, the users that can participate in the whole logistics process include tallies, couriers, logistics drivers, temporary couriers, and site clerks.
In one embodiment, the hook function is used to load the class loader with plug-in program into the workflow during the update process. The essence of plug-in installation is that a folder is newly created under a host report, the installation is to copy a plug-in to the newly created folder, the loading of the plug-in is a process of starting and running the plug-in, initialization processing can be performed on dex, so libraries, resource files and the like in the loading process, a depended replugin-plugin-lib library in the plug-in can be initialized and an on create method of Application in the plug-in apk can be called after the processing is completed, although any component in the plug-in apk is not started at this time, the Application in the plug-in apk is already created and run, and therefore, the loading of the plug-in is a process of starting and running the plug-in apk.
In the embodiments provided in the present application, the disclosed apparatus and method can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including 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 application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. An application program update method, comprising:
triggering the update of the login plug-in the process of starting the application program;
entering a login interface after the update of the login plug-in is finished;
entering a menu interface from a login interface;
and triggering the role plug-in to update in the process of entering the menu interface.
2. The method of claim 1, wherein triggering a login plug-in update during the launching of the application comprises:
obtaining the version number of the login plug-in from a network server in the process of starting the application program;
detecting the login plug-in version number of the application program and comparing the login plug-in version number obtained from the network server;
if the version numbers are not consistent, obtaining a login plug-in from the network server and installing the login plug-in;
and finishing the updating of the login plug-in.
3. The method of claim 1, wherein triggering a login plug-in update during the launching of the application comprises:
obtaining the version number of the login plug-in from a network server in the process of starting the application program;
detecting the login plug-in version number of the application program and comparing the login plug-in version number obtained from the network server;
and if the version numbers are consistent, finishing the updating of the login plug-in.
4. The method of claim 1, wherein triggering a role plug-in update during entry into a menu interface comprises:
acquiring the role information selected on a login interface;
detecting whether an application program has role plug-ins or not according to the role information;
if no role plug-in exists, obtaining the role plug-in from the network server and installing the role plug-in;
and completing the role plug-in updating.
5. The method of claim 1, wherein triggering a role plug-in update during entry into a menu interface comprises:
acquiring the role information selected on a login interface;
detecting whether an application program has role plug-ins or not according to the role information;
and if the role plug-in has the role plug-in, finishing the role plug-in updating.
6. An application update system, comprising:
a processor; and
a memory to store a computer program executable by the processor;
wherein the processor is configured to perform:
triggering the update of the login plug-in the process of starting the application program;
entering a login interface after the update of the login plug-in is finished;
entering a menu interface from a login interface;
and triggering the role plug-in to update in the process of entering the menu interface.
7. The system of claim 6, wherein triggering the login plug-in update during the launching of the application comprises:
obtaining the version number of the login plug-in from a network server in the process of starting the application program;
detecting the login plug-in version number of the application program and comparing the login plug-in version number obtained from the network server;
if the version numbers are not consistent, obtaining a login plug-in from the network server and installing the login plug-in;
and finishing the updating of the login plug-in.
8. The system of claim 6, wherein triggering the login plug-in update during the launching of the application comprises:
obtaining the version number of the login plug-in from a network server in the process of starting the application program;
detecting the login plug-in version number of the application program and comparing the login plug-in version number obtained from the network server;
and if the version numbers are consistent, finishing the updating of the login plug-in.
9. The system of claim 6, wherein triggering a role plug-in update during entry into a menu interface comprises:
acquiring the role information selected on a login interface;
detecting whether an application program has role plug-ins or not according to the role information;
if no role plug-in exists, obtaining the role plug-in from the network server and installing the role plug-in;
and completing the role plug-in updating.
10. The system of claim 6, wherein triggering a role plug-in update during entry into a menu interface comprises:
acquiring the role information selected on a login interface;
detecting whether an application program has role plug-ins or not according to the role information;
and if the role plug-in has the role plug-in, finishing the role plug-in updating.
CN201911105480.7A 2019-11-12 2019-11-12 Application program updating method and system Pending CN110825417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911105480.7A CN110825417A (en) 2019-11-12 2019-11-12 Application program updating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911105480.7A CN110825417A (en) 2019-11-12 2019-11-12 Application program updating method and system

Publications (1)

Publication Number Publication Date
CN110825417A true CN110825417A (en) 2020-02-21

Family

ID=69554696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911105480.7A Pending CN110825417A (en) 2019-11-12 2019-11-12 Application program updating method and system

Country Status (1)

Country Link
CN (1) CN110825417A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083968A (en) * 2020-08-27 2020-12-15 腾讯科技(深圳)有限公司 Plug-in loading method and device in host
CN113590179A (en) * 2021-08-02 2021-11-02 上海米哈游璃月科技有限公司 Plug-in detection method and device, electronic equipment and storage medium
CN113986290A (en) * 2021-10-28 2022-01-28 上海米哈游璃月科技有限公司 Method and system for updating login resources

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409710B1 (en) * 2003-10-14 2008-08-05 Sun Microsystems, Inc. Method and system for dynamically generating a web-based user interface
CN106331135A (en) * 2016-08-31 2017-01-11 广州品唯软件有限公司 A partial interface updating method, system, client and server
CN108958766A (en) * 2018-06-15 2018-12-07 长沙市到家悠享家政服务有限公司 Information processing method, apparatus and system
CN109408086A (en) * 2018-09-28 2019-03-01 平安普惠企业管理有限公司 Interface updating method, device, computer equipment and the storage medium of APP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409710B1 (en) * 2003-10-14 2008-08-05 Sun Microsystems, Inc. Method and system for dynamically generating a web-based user interface
CN106331135A (en) * 2016-08-31 2017-01-11 广州品唯软件有限公司 A partial interface updating method, system, client and server
CN108958766A (en) * 2018-06-15 2018-12-07 长沙市到家悠享家政服务有限公司 Information processing method, apparatus and system
CN109408086A (en) * 2018-09-28 2019-03-01 平安普惠企业管理有限公司 Interface updating method, device, computer equipment and the storage medium of APP

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
化成君;樊伟;张胜茂;: "基于角色的用户权限管理和功能模块的动态加载", 电脑开发与应用 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083968A (en) * 2020-08-27 2020-12-15 腾讯科技(深圳)有限公司 Plug-in loading method and device in host
CN113590179A (en) * 2021-08-02 2021-11-02 上海米哈游璃月科技有限公司 Plug-in detection method and device, electronic equipment and storage medium
CN113590179B (en) * 2021-08-02 2024-03-12 上海米哈游璃月科技有限公司 Plug-in detection method and device, electronic equipment and storage medium
CN113986290A (en) * 2021-10-28 2022-01-28 上海米哈游璃月科技有限公司 Method and system for updating login resources

Similar Documents

Publication Publication Date Title
CN111475227B (en) Business plug-in loading implementation method and device and terminal equipment
US10001990B2 (en) Method and system for enhancing application container and host operating system security in a multi-tenant computing environment
US9213534B2 (en) Method for restoring software applications on desktop computers
US9235404B2 (en) Firmware update system
US8972973B2 (en) Firmware update discovery and distribution
CA2727521C (en) Computer application packages with customizations
US9513938B2 (en) Virtual appliance integration with cloud management software
US9110761B2 (en) Resource data structures for firmware updates
US10216510B2 (en) Silent upgrade of software with dependencies
CN103080902A (en) Information processing apparatus and update process support system
JP2008507775A (en) System and method for extracting and creating application meta information in a software application repository
CN106796521B (en) API version control independent of product release
US8918776B2 (en) Self-adapting software system
CN110825417A (en) Application program updating method and system
CN110908734A (en) Application combination method and device based on plug-in, terminal equipment and storage medium
CN111538523A (en) Differential upgrading method, device and storage medium
MX2014008561A (en) Installation engine and package format for parallelizable, reliable installations.
US10514940B2 (en) Virtual application package reconstruction
US10223413B2 (en) Capturing components of an application using a static post-installation analysis of the system
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
WO2020055485A1 (en) Intelligent configuration management of user devices
US9753775B2 (en) Resource management apparatus and resource management method
US20150127793A1 (en) Building and transporting centrally modified software systems
US20150128132A1 (en) Integrated management of centrally modified software systems
US20240264845A1 (en) Smart image preparation for secure workspaces

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: 20200221

RJ01 Rejection of invention patent application after publication