CN107704259A - Application upgrade method, apparatus and storage medium - Google Patents

Application upgrade method, apparatus and storage medium Download PDF

Info

Publication number
CN107704259A
CN107704259A CN201711031171.0A CN201711031171A CN107704259A CN 107704259 A CN107704259 A CN 107704259A CN 201711031171 A CN201711031171 A CN 201711031171A CN 107704259 A CN107704259 A CN 107704259A
Authority
CN
China
Prior art keywords
functional module
module
specified
supply
management system
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
CN201711031171.0A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711031171.0A priority Critical patent/CN107704259A/en
Publication of CN107704259A publication Critical patent/CN107704259A/en
Pending legal-status Critical Current

Links

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

Abstract

The disclosure is directed to a kind of application upgrade method, apparatus and storage medium, belong to terminal applies field.This method includes:When detecting the supply-chain management system application that the terminal is installed based on user account Successful login, it is determined that specifying the current version information of functional module corresponding to the authority for the user account downloaded;The latest version information for specifying functional module is obtained from server, the server is the server for safeguarding the supply-chain management system;When the current version information is different with the latest version information, the specified functional module of latest edition is downloaded from the service, and the specified functional module based on the latest edition upgrades to the supply-chain management system application.The problem of disclosure can avoid the frequent upgrading that supply-chain management system is applied, and upgrading is not brought in time.

Description

Application upgrade method, apparatus and storage medium
Technical field
This disclosure relates to terminal applies field, more particularly to a kind of application upgrade method, apparatus and storage medium.
Background technology
At present, terminal can install various applications, and can realize various functions by the application of installation.And And when application developers have issued the application of redaction, in order to ensure that user can use the latest function of application, terminal is led to Often the application to installation is needed to upgrade.
In correlation technique, the application of terminal installation generally comprises multiple modules, and each module is used to perform specific industry Business flow, and it is interrelated between the plurality of module.If application developers are modified to any module of application, all need Will be entirely using issuing again, and the edition upgrading information of application is sent by server to terminal.Answered when terminal receives During edition upgrading information, the application of latest edition can be downloaded from server according to the confirmation updating operation of user, with base Application upgrade is carried out in the application of latest edition.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of application upgrade method, apparatus and storage medium.
First aspect, there is provided a kind of application upgrade method, applied in terminal, methods described includes:
When detecting the supply-chain management system application that the terminal is installed based on user account Successful login, it is determined that The current version information for the specified functional module downloaded;
Wherein, supply-chain management system corresponding to the supply-chain management system application includes multiple functional modules, and institute State between multiple functional modules independently of each other, difference in functionality module is used to perform different supply chain management business, described to specify Functional module refers to functional module corresponding to the authority of user account described in the multiple functional module;
The latest version information of the specified functional module is obtained from server, the server is for safeguarding the confession Answer the server of chain management system;
When the current version information and the latest version information difference, the finger of latest edition is downloaded from the service Determine functional module, and the supply-chain management system application is upgraded based on the specified functional module of the latest edition.
Alternatively, it is described that supply-chain management system application is carried out based on the specified functional module of the latest edition Upgrading, including:
After the specified functional module of the latest edition downloads completion, added by supply-chain management system application The specified functional module of the latest edition is carried, and runs the specified functional module of the latest edition.
Alternatively, before the current version information of the specified functional module for determining to have downloaded, in addition to:
The mark that functional module is specified corresponding to the authority of the user account is obtained from the server;
When the mark based on the specified functional module, when determining that the terminal has downloaded the specified functional module, hold The step of current version information of the row specified functional module for determining to have downloaded.
Alternatively, it is described that the mark that functional module is specified corresponding to the authority of the user account is obtained from the server Afterwards, in addition to:
When the mark based on the specified functional module, when determining that the terminal does not download the specified functional module, from The specified functional module of latest edition is downloaded in the service;
After the specified functional module of the latest edition downloads completion, added by supply-chain management system application The specified functional module of the latest edition is carried, and runs the specified functional module of the latest edition.
Alternatively, after the latest version information for obtaining the specified functional module from server, in addition to:
When the current version information is identical with the latest version information, pass through the supply-chain management system application Load the specified functional module downloaded, and the specified functional module downloaded described in operation.
Second aspect, there is provided a kind of application upgrade device, applied in terminal, described device includes:
Determining module, for working as the supply-chain management system for detecting that the terminal is installed based on user account Successful login Using when, it is determined that the current version information for the specified functional module downloaded;
Wherein, supply-chain management system corresponding to the supply-chain management system application includes multiple functional modules, and institute State between multiple functional modules independently of each other, difference in functionality module is used to perform different supply chain management business, described to specify Functional module refers to functional module corresponding to the authority of user account described in the multiple functional module;
Acquisition module, for obtaining the latest version information of the specified functional module from server, the server is For safeguarding the server of the supply-chain management system;
First download module, for when the current version information and the latest version information difference, from the clothes The specified functional module of latest edition is downloaded in business;
Upgraded module, for being entered based on the specified functional module of the latest edition to the supply-chain management system application Row upgrading.
Alternatively, the upgraded module is used for:
After the specified functional module of the latest edition downloads completion, added by supply-chain management system application The specified functional module of the latest edition is carried, and runs the specified functional module of the latest edition.
Alternatively, described device also includes:
Second acquisition module, for working as the supply chain management for detecting that the terminal is installed based on user account Successful login When system is applied, the mark that functional module is specified corresponding to the authority of the user account is obtained from the server;
Trigger module, for when the mark based on the specified functional module, determining that the terminal has downloaded described specify During functional module, the current version information for the specified functional module that the determining module determination has been downloaded is triggered.
Alternatively, described device also includes:
Second download module, for when the mark based on the specified functional module, it is described to determine that the terminal is not downloaded When specifying functional module, the specified functional module of latest edition is downloaded from the service;
First load-on module, after downloading completion in the specified functional module of the latest edition, pass through the confession Answer chain management system application to load the specified functional module of the latest edition, and run the specified function mould of the latest edition Block.
Alternatively, described device also includes:
Second load-on module, for when the current version information is identical with the latest version information, by described The specified functional module that supply-chain management system has been downloaded using loading, and the specified functional module downloaded described in operation.
The third aspect, there is provided a kind of application upgrade device, described device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as performing the step of any one method described in above-mentioned first aspect.
Fourth aspect, there is provided a kind of computer-readable recording medium, be stored with the computer-readable recording medium Instruction, it is characterised in that the step of instruction realizes any one method described in above-mentioned first aspect when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, supply-chain management system includes multiple separate functional modules, when detecting terminal When supply-chain management system based on the installation of user account Successful login is applied, the specified functional module downloaded can be first determined Current version information, this specify functional module refer to function mould corresponding to the authority of the user account in multiple functional modules Block, the latest version information for specifying functional module then is obtained from server, when current version information and latest version information When different, you can download the specified functional module of latest edition, and the specified functional module based on latest edition from service automatically Supply-chain management system application is upgraded.Carried out by the specified functional module in individually being applied to supply-chain management system Upgrading, avoids the frequent upgrading of application, by downloading automatically and upgrading designated module automatically, avoids user and is based on not upgrading Designated module caused flow mistake when being operated.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Figure 1A is a kind of schematic diagram of application upgrade system according to an exemplary embodiment;
Figure 1B is a kind of flow chart of application upgrade method according to an exemplary embodiment;
Fig. 2 is the flow chart of another application upgrade method according to an exemplary embodiment;
Fig. 3 is a kind of structural representation of application upgrade device according to an exemplary embodiment;
Fig. 4 is a kind of structural representation of terminal 400 according to an exemplary embodiment;
Fig. 5 is a kind of structural representation of server 500 according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Before to the embodiment of the present disclosure carrying out that explanation is explained in detail, first the application scenarios of the embodiment of the present disclosure are given Explanation.
The present invention is applied in the supply-chain management system of enterprise, and supply-chain management system refers to corresponding information system Technology, whole business activities from materials procurement until being sold to end user are integrated in a seamless flow and carry out pipe The system of reason, supplier, manufacturer, retail trader, retailer and end user can be linked to be the function network of an entirety by it Chain structure.And supply-chain management system is the most crucial system of an enterprise, each link of enterprise is required for passing through supply Chain management system is coordinated and managed.
With the development of terminal technology, supply-chain management system is gradually to terminal transfer.User can install application and development The supply-chain management system application of business's exploitation, and then management business is completed in the supply-chain management system application by logging in installation. Wherein, the terminal can be the mobile terminal such as mobile phone, tablet personal computer, and user passes through the supply chain management system installed in mobile terminal System application can complete the management operation of examination & approval etc.
In traditional terminal applies exploitation, developer is typically using by all of one group of developer successively development and application The mode of module is developed, and generally interrelated between the multiple modules for the application developed, i.e. module is repaiied Changing will have an impact to other modules.If application developers are modified to any module of application, also just need by Whole application is issued again, therefore for terminal, is required for rising whole application when any module is changed Level, application upgrade is very frequent, and also needs to manually be upgraded by user.Due to supply chain system application be one kind to version This very sensitive application, i.e., occur mistake in operation flow if upgrading may result in not in time, therefore when user is forgetting In the case of upgrading, when being operated based on the supply chain system application for not being upgraded to latest edition, it will to whole supply chain System causes ill effect.
It is frequent in order to solve application upgrade present in correlation technique, and upgrading will cause asking for ill effect not in time Topic, on stream, employ to be used to perform the mould of specific service logic the embodiment of the present disclosure in supply-chain management system Block is divided into multiple functional modules, and multiple functional modules are individually developed, and again carries out multiple functional modules after the completion of exploitation The mode for being integrally formed supply-chain management system is developed, to realize stand-alone development and the maintenance between functional module.Wherein, Difference in functionality module is used to perform different operation flows, and between multiple functional modules independently of each other, i.e., any functional module Modification other functional modules will not be had an impact.And based on the above-mentioned supply-chain management system developed, it is possible to achieve The upgrading of each functional module is independent in supply-chain management system application, can specifically use following Figure 1B or Fig. 2 application upgrade Method upgrades to supply-chain management system application.
In the embodiment of the present disclosure, exploitation and upgrading between each functional module applied by ensureing supply-chain management system It is independent to carry out, the problem of avoiding the frequent upgrading of application and brought when can not upgrade in time, improve exploitation and safeguard effect Rate, and then improve the operational efficiency of whole supply-chain management system.
Secondly, the system architecture of the embodiment of the present disclosure is introduced.
Figure 1A is a kind of schematic diagram of application upgrade system according to an exemplary embodiment, as shown in Figure 1A, should System includes terminal 10 and server 20, and terminal 10 and server 20 can be attached by network.
Supply-chain management system is installed using 11 in terminal 10, user can log in the supply by using user account Chain management system application 11, access supply-chain management system 21.
Server 20 is the server for safeguarding supply-chain management system 21.The supply-chain management system 21 can include Hosting module 1 and multiple functional modules 2.
Wherein, hosting module 1 is used to carry out logging in verification and rights management.It that is to say, in the embodiment of the present disclosure, will log in Verification and rights management are separated with other functions of system, the module independent as one, i.e. hosting module 1.Host's mould Block 1 does not realize specific supply chain management business, only carries out logging in verification and rights management.
Wherein, functional module 2 is used to perform specific supply chain management business, for example functional module 2 can be and flow Examination & approval or the module of production and sales correlation.It is and each functional module 2 can realize independent service logic, i.e., all to have dependence The operation of relation performs in same functional module so that between multiple functional modules 2 independently of each other, any functional module 2 Modification do not interfere with other functional modules 2.
Figure 1B is a kind of flow chart of application upgrade method according to an exemplary embodiment, and this method is applied to eventually In end.As shown in Figure 1B, this method comprises the following steps.
In a step 101, when the supply-chain management system for detecting the terminal and being installed based on user account Successful login should Used time, it is determined that the current version information for the specified functional module downloaded.
Wherein, supply-chain management system corresponding to supply-chain management system application includes multiple functional modules, and this is more Between individual functional module independently of each other, difference in functionality module is used to perform different supply chain management business, and this specifies function mould Block refers to functional module corresponding to the authority of the user account in the plurality of functional module.
In a step 102, the latest version information for specifying functional module is obtained from server, the server is for tieing up Protect the server of the supply-chain management system.
In step 103, when the current version information is different with the latest version information, latest edition is downloaded from the service This specified functional module, and the specified functional module based on the latest edition rises to the supply-chain management system application Level.
In the embodiment of the present disclosure, supply-chain management system includes multiple separate functional modules, when detecting terminal When supply-chain management system based on the installation of user account Successful login is applied, the specified functional module downloaded can be first determined Current version information, this specify functional module refer to function mould corresponding to the authority of the user account in multiple functional modules Block, the latest version information for specifying functional module then is obtained from server, when current version information and latest version information When different, you can download the specified functional module of latest edition, and the specified functional module based on latest edition from service automatically Supply-chain management system application is upgraded.Carried out by the specified functional module in individually being applied to supply-chain management system Upgrading, avoids the frequent upgrading of application, by downloading automatically and upgrading designated module automatically, avoids user and is based on not upgrading Designated module caused flow mistake when being operated.
Alternatively, it is described that supply-chain management system application is carried out based on the specified functional module of the latest edition Upgrading, including:
After the specified functional module of the latest edition downloads completion, added by supply-chain management system application The specified functional module of the latest edition is carried, and runs the specified functional module of the latest edition.
Alternatively, before the current version information of the specified functional module for determining to have downloaded, in addition to:
The mark that functional module is specified corresponding to the authority of the user account is obtained from the server;
When the mark based on the specified functional module, when determining that the terminal has downloaded the specified functional module, hold The step of current version information of the row specified functional module for determining to have downloaded.
Alternatively, it is described that the mark that functional module is specified corresponding to the authority of the user account is obtained from the server Afterwards, in addition to:
When the mark based on the specified functional module, when determining that the terminal does not download the specified functional module, from The specified functional module of latest edition is downloaded in the service;
After the specified functional module of the latest edition downloads completion, added by supply-chain management system application The specified functional module of the latest edition is carried, and runs the specified functional module of the latest edition.
Alternatively, after the latest version information for obtaining the specified functional module from server, in addition to:
When the current version information is identical with the latest version information, pass through the supply-chain management system application Load the specified functional module downloaded, and the specified functional module downloaded described in operation.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real Example is applied no longer to repeat this one by one.
Fig. 2 is the flow chart of another application upgrade method according to an exemplary embodiment, and this method is applied to Terminal.As shown in Fig. 2 this method comprises the following steps:
In step 201, when the supply-chain management system for detecting the terminal and being installed based on user account Successful login should Used time, the mark that functional module is specified corresponding to the authority of the user account is obtained from server.
Wherein, supply-chain management system corresponding to supply-chain management system application includes multiple functional modules, and this is more Between individual functional module independently of each other, difference in functionality module is used to perform different supply chain management business, and this specifies function mould Block refers to functional module corresponding to the authority of the user account in the plurality of functional module.
Wherein, refer to that each functional module is patrolled for performing independent business between the plurality of functional module independently of each other Volume, the service logic of each functional module is separate, and the modification of any functional module will not produce shadow to other functional modules Ring.For example supplier's evaluation module, material authentication module or production marketing module etc. are all independent functional modules, mutually it Between there is no dependence.
Wherein, the user account can be the own account of supply-chain management system application distribution, or the 3rd Square account.It that is to say, the supply-chain management system is the login for supporting own account, also supports the login of third party's account.Example Such as, the full-time staff of enterprise can use own account to be logged in, and the temporary workers outside enterprise can use third party's account Logged in.
Moreover, each user account has specific authority, each user account can only access and operate the user account Authority corresponding to functional module, i.e., functional module corresponding to the authority of the user account can only be managed.That is, For each user, after the user logs in supply-chain management system application, can only be seen by the supply-chain management system application To functional module corresponding to the user account authority of the user, and it can't see other functional modules.Wherein, each user account Authority can be obtained by user account application, can also be configured to obtain by the supply-chain management system, the embodiment of the present disclosure is to this Do not limit.
Wherein, the server is the server for safeguarding the supply-chain management system, and the server can be to user Account carries out logging in verification and rights management.For example, it can carry out logging in verification and power by the hosting module 1 in above-mentioned Figure 1B Limit management.
, can when the server logs in the username and password used to the user account to be verified successfully in practical application From the corresponding relation of the user account of storage and authority, to determine the authority of the user account, and obtain the user account The mark of functional module is specified corresponding to authority.Wherein, for unique mark, this specifies function mould to the mark of specified functional module Block, can be that this specifies title or numbering of functional module etc..
In step 202, when the mark that functional module is specified based on this, determine that the terminal has downloaded this and specified functional module When, it is determined that the current version information for the specified functional module downloaded.
Terminal can specify the mark of functional module based on this, determine whether the terminal has downloaded this and specified functional module, When it is determined that the terminal has downloaded the specified functional module, step 202 is performed, when it is determined that the terminal, which does not download this, specifies function mould During block, step 206 is performed.
Wherein, step 201 and step 202 are a kind of implementations of above-mentioned steps 101, in practical application, step 101 Other implementations can be used to determine the current version information of specified functional module downloaded, the embodiment of the present disclosure to this not Limit.
In step 203, the latest version information for specifying functional module is obtained from the server.
Wherein, the server is the server for safeguarding the supply-chain management system, be that is to say, the configuration of functional module It can be carried out with upgrading by the server.The server storage has the essential information of each functional module, and terminal can be from clothes The latest version information for specifying functional module is obtained in the essential information of each functional module of business device storage.Each function mould The essential information of block can include the title of the functional module, function description, ID (Identification, identity), enter Mouthful function, version information, the terminal etc. of issue address and adaptation.
Wherein, the essential information of each functional module can match somebody with somebody horizontalization by the director of each functional module by unified Platform is submitted to the server, and the essential information for receiving functional module can be stored in local by the server.Each work( The director of energy module is used for the configuration and upgrading for being responsible for corresponding function module.Such as when any functional module has issued new edition This when, the director of the functional module can submit latest version information and issue address of the functional module etc. to server.
In one embodiment, terminal can be by the designated program entrance that the supply-chain management system is applied, from service Device obtains the latest version information for specifying functional module.When the designated program entrance is application and development, in the supply chain management The program entry reserved in system application, for obtaining the essential information of functional module.
In step 204, when the current version information is different with the latest version information, latest edition is downloaded from the service This specified functional module, and the specified functional module based on the latest edition rises to the supply-chain management system application Level.
Terminal can specify this current version information of functional module and latest version information to be compared, when current version When this information and latest version information difference, step 204 is performed, when current version information is identical with latest version information, is held Row step 205.
In one embodiment, in addition to the latest version information that this specifies functional module is obtained from server, also The issue address of the latest edition for specifying functional module can be obtained, when current version information is different with latest version information When, the specified functional module based on issue address download latest edition.
Wherein, the specified functional module based on the latest edition carries out upgrading to the supply-chain management system application includes: After the specified functional module of the latest edition downloads completion, pass through supply-chain management system application and load the latest edition This specified functional module, and run the specified functional module of the latest edition.
Wherein, load latest edition specified functional module refer to the specified functional module of the latest edition being loaded into In depositing, subsequently can directly to run the specified functional module of the latest edition.
In one embodiment, terminal can be by way of rewriteeing Classloader, and this specifies functional module to dynamic load, The dynamic load specified functional module, the embodiment of the present disclosure this can certainly not limited by other means.
, can be certainly when user needs to access the specified functional module of the supply-chain management system in the embodiment of the present disclosure This specifies the latest version information of functional module to be compared to the dynamic current version information by the specified functional module downloaded, To judge that this specifies whether functional module has more redaction., can be automatic when it is determined that this specifies functional module to have more redaction Download and upgrading latest edition, and and do not need user to carry out manual updating operation, so as to avoid user based on not upgrading Version is operated.
In order to further avoid user from carrying out the problem of operation is brought based on the version not upgraded, in latest version information Specified functional module is downloaded and loaded before completion, it can also be ensured that user can not use the specified function mould of non-upgraded version Block.For example, the specified functional module in latest version information is downloaded and loaded before completing, user can be forced to be waited, For example download and loading picture etc. are shown in supply-chain management system application;Or the specified function in latest version information Before module is downloaded and loads completion, when detecting operation requests based on the specified functional module downloaded, not to the operation Request is responded.
It should be noted that in the embodiment of the present disclosure, terminal, which is only capable of loading, specifies work(corresponding to the authority of the user account Energy module, and other functional modules can not be loaded, improve the operational efficiency of supply-chain management system so that user passes through the confession Chain management application is answered to have access to the functional module of authority permission.
In step 205, when the current version information is identical with the latest version information, the supply chain management system is passed through The specified functional module that system has been downloaded using loading, and run the specified functional module downloaded.
When the current version information is identical with the latest version information, the specified functional module for representing to have downloaded is most The specified functional module of redaction, therefore the specified functional module downloaded can be directly obtained, and specified to what this had been downloaded Functional module is loaded, and functional module is specified can subsequently to run this.
It that is to say, when the specified functional module that the specified functional module downloaded is latest edition, terminal can directly add The specified functional module downloaded is carried and runs, without downloading the specified functional module of latest edition from server again.
In step 206, when the mark that functional module is specified based on this, determine that the terminal does not download this and specifies functional module When, from the specified functional module of service download latest edition.
In step 207, after the specified functional module of the latest edition downloads completion, the supply chain management system is passed through System application loads the specified functional module of the latest edition, and runs the specified functional module of the latest edition.
It that is to say, when terminal logs in the supply-chain management system by the user account, if terminal was not downloaded Functional module is specified corresponding to the authority of the user account, the specified functional module of latest edition can be first downloaded from server, Then load and run.For example the specified function of latest edition when the user account first logs into, can be downloaded from server Module, then load and run.
In the embodiment of the present disclosure, supply-chain management system includes multiple separate functional modules, when detecting terminal When supply-chain management system based on the installation of user account Successful login is applied, the specified functional module downloaded can be first determined Current version information, this specify functional module refer to function mould corresponding to the authority of the user account in multiple functional modules Block, the latest version information for specifying functional module then is obtained from server, when current version information and latest version information When different, you can download the specified functional module of latest edition, and the specified functional module based on latest edition from service automatically Supply-chain management system application is upgraded.Carried out by the specified functional module in individually being applied to supply-chain management system Upgrading, avoids the frequent upgrading of application, by downloading automatically and upgrading designated module automatically, avoids user and is based on not upgrading Designated module caused flow mistake when being operated.
Fig. 3 is a kind of structural representation of application upgrade device according to an exemplary embodiment.Reference picture 3, should Device includes determining module 301, the first acquisition module 302, the first download module 303 and upgraded module 304.
Determining module 301, for working as the supply chain management system for detecting that the terminal is installed based on user account Successful login During system application, it is determined that the current version information for the specified functional module downloaded;
Wherein, supply-chain management system corresponding to supply-chain management system application includes multiple functional modules, and this is more Between individual functional module independently of each other, difference in functionality module is used to perform different supply chain management business, and this specifies function mould Block refers to functional module corresponding to the authority of the user account in the plurality of functional module;
First acquisition module 302, for obtaining the latest version information for specifying functional module, the server from server For the server for safeguarding the supply-chain management system;
First download module 303, for when the current version information is different with the latest version information, under the service Carry the specified functional module of latest edition;
Upgraded module 304, the supply-chain management system application is entered for the specified functional module based on the latest edition Row upgrading.
Alternatively, the upgraded module 304 is used for:
, should by supply-chain management system application loading after the specified functional module of the latest edition downloads completion The specified functional module of latest edition, and run the specified functional module of the latest edition.
Alternatively, the device also includes:
Second acquisition module, for working as the supply chain management system for detecting that the terminal is installed based on user account Successful login During system application, the mark that functional module is specified corresponding to the authority of the user account is obtained from the server;
Trigger module, for when the mark that functional module is specified based on this, determining that the terminal has downloaded this and specified function mould During block, the current version information of specified functional module that the determining module 301 determines to have downloaded is triggered.
Alternatively, the device also includes:
Second download module, for when the mark that functional module is specified based on this, determining that the terminal does not download this and specifies work( During energy module, the specified functional module of latest edition is downloaded from the service;
First load-on module, after downloading completion in the specified functional module of the latest edition, pass through the supply chain Management system application loads the specified functional module of the latest edition, and runs the specified functional module of the latest edition.
Alternatively, the device also includes:
Second load-on module, for when the current version information is identical with the latest version information, passing through the supply chain The specified functional module that management system application loading has been downloaded, and run the specified functional module downloaded.
In the embodiment of the present disclosure, supply-chain management system includes multiple separate functional modules, when detecting terminal When supply-chain management system based on the installation of user account Successful login is applied, the specified functional module downloaded can be first determined Current version information, this specify functional module refer to function mould corresponding to the authority of the user account in multiple functional modules Block, the latest version information for specifying functional module then is obtained from server, when current version information and latest version information When different, you can download the specified functional module of latest edition, and the specified functional module based on latest edition from service automatically Supply-chain management system application is upgraded.Carried out by the specified functional module in individually being applied to supply-chain management system Upgrading, avoids the frequent upgrading of application, by downloading automatically and upgrading designated module automatically, avoids user and is based on not upgrading Designated module caused flow mistake when being operated.
It should be noted that:The application upgrade device that above-described embodiment provides is when carrying out application upgrade, only with above-mentioned each The division progress of functional module, can be as needed and by above-mentioned function distribution by different work(for example, in practical application Energy module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above or portion Divide function.In addition, the application upgrade device that above-described embodiment provides belongs to same design with application upgrade embodiment of the method, it has Body implementation process refers to embodiment of the method, repeats no more here.
Fig. 4 is a kind of structural representation of terminal 400 according to an exemplary embodiment.For example, terminal 400 can be with It is mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building Equipment, personal digital assistant etc..
Reference picture 4, terminal 400 can include following one or more assemblies:Processing component 402, memory 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
Processing component 402 generally controls the integrated operation of terminal 400, is such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 402 can include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 can include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in terminal 400.These data are shown Example includes the instruction of any application program or method for being operated in terminal 400, contact data, telephone book data, disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of terminal 400.Power supply module 406 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing power supply for terminal 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between the terminal 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When terminal 400 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when terminal 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 404 or via communication set Part 416 is sent.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for terminal 400 is commented Estimate.For example, sensor cluster 414 can detect opening/closed mode of terminal 400, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 400, and sensor cluster 414 can be with 400 1 components of detection terminal 400 or terminal Position change, the existence or non-existence that user contacts with terminal 400, the orientation of terminal 400 or acceleration/deceleration and terminal 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between terminal 400 and other equipment.Terminal 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 400 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned Fig. 1 or Fig. 2 embodiments The application upgrade method of offer.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of terminal 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
In another embodiment, a kind of computer-readable recording medium, the computer-readable recording medium are additionally provided On be stored with instruction, the application upgrade method described in above-mentioned Fig. 1 or Fig. 2 embodiments is realized in the instruction when being executed by processor.
Fig. 5 is a kind of structural representation of server 500 according to an exemplary embodiment.For example, server 500 It may be provided in a server.Reference picture 5, server 500 include processing component 522, and it further comprises one or more Processor, and as the memory resource representated by memory 532, for store can by the instruction of the execution of processing component 522, Such as application program.The application program stored in memory 532 can include it is one or more each correspond to one The module of group instruction.In addition, processing component 522 is configured as execute instruction, implemented with coordinating terminal to perform above-mentioned Fig. 1 or Fig. 2 The application upgrade method that example provides.
Server 500 can also include a power supply module 525 and be configured as the power management of execute server 500, and one Individual wired or wireless network interface 550 is configured as server 500 being connected to network, and input and output (I/O) interface 558.Server 500 can be operated based on the operating system for being stored in memory 532, such as Windows ServerTM, Mac OS XTM, UnixTM,LinuxTM, FreeBSDTMIt is or similar.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (12)

  1. A kind of 1. application upgrade method, it is characterised in that applied in terminal, methods described includes:
    When detecting the supply-chain management system application that the terminal is installed based on user account Successful login, it is determined that having downloaded Specified functional module current version information;
    Wherein, supply-chain management system corresponding to the supply-chain management system application includes multiple functional modules, and described more Between individual functional module independently of each other, difference in functionality module is used to perform different supply chain management business, the specified function Module refers to functional module corresponding to the authority of user account described in the multiple functional module;
    The latest version information of the specified functional module is obtained from server, the server is for safeguarding the supply chain The server of management system;
    When the current version information and the latest version information difference, the specified work(of latest edition is downloaded from the service Energy module, and the supply-chain management system application is upgraded based on the specified functional module of the latest edition.
  2. 2. the method as described in claim 1, it is characterised in that it is described based on the specified functional module of the latest edition to institute Supply-chain management system application is stated to be upgraded, including:
    After the specified functional module of the latest edition downloads completion, pass through supply-chain management system application loading institute The specified functional module of latest edition is stated, and runs the specified functional module of the latest edition.
  3. 3. the method as described in claim 1, it is characterised in that the current version of the specified functional module for determining to have downloaded Before information, in addition to:
    The mark that functional module is specified corresponding to the authority of the user account is obtained from the server;
    When the mark based on the specified functional module, when determining that the terminal has downloaded the specified functional module, institute is performed The step of stating the current version information for the specified functional module for determining to have downloaded.
  4. 4. method as claimed in claim 3, it is characterised in that the authority that the user account is obtained from the server After the mark of corresponding specified functional module, in addition to:
    When the mark based on the specified functional module, when determining that the terminal does not download the specified functional module, from described The specified functional module of latest edition is downloaded in service;
    After the specified functional module of the latest edition downloads completion, pass through supply-chain management system application loading institute The specified functional module of latest edition is stated, and runs the specified functional module of the latest edition.
  5. 5. the method as described in claim 1, it is characterised in that described to obtain the newest of the specified functional module from server After version information, in addition to:
    When the current version information is identical with the latest version information, loaded by supply-chain management system application The specified functional module downloaded, and the specified functional module downloaded described in operation.
  6. 6. a kind of application upgrade device, it is characterised in that applied in terminal, described device includes:
    Determining module, for working as the supply-chain management system application for detecting that the terminal is installed based on user account Successful login When, it is determined that the current version information for the specified functional module downloaded;
    Wherein, supply-chain management system corresponding to the supply-chain management system application includes multiple functional modules, and described more Between individual functional module independently of each other, difference in functionality module is used to perform different supply chain management business, the specified function Module refers to functional module corresponding to the authority of user account described in the multiple functional module;
    First acquisition module, for obtaining the latest version information of the specified functional module from server, the server is For safeguarding the server of the supply-chain management system;
    First download module, for when the current version information and the latest version information difference, under the service Carry the specified functional module of latest edition;
    Upgraded module, for being risen based on the specified functional module of the latest edition to the supply-chain management system application Level.
  7. 7. device as claimed in claim 6, it is characterised in that the upgraded module is used for:
    After the specified functional module of the latest edition downloads completion, pass through supply-chain management system application loading institute The specified functional module of latest edition is stated, and runs the specified functional module of the latest edition.
  8. 8. device as claimed in claim 6, it is characterised in that described device also includes:
    Second acquisition module, for working as the supply-chain management system for detecting that the terminal is installed based on user account Successful login Using when, the mark that functional module is specified corresponding to the authority of the user account is obtained from the server;
    Trigger module, for when the mark based on the specified functional module, determining that the terminal has downloaded the specified function During module, the current version information for the specified functional module that the determining module determination has been downloaded is triggered.
  9. 9. device as claimed in claim 8, it is characterised in that described device also includes:
    Second download module, for when the mark based on the specified functional module, determining that the terminal does not download described specify During functional module, the specified functional module of latest edition is downloaded from the service;
    First load-on module, after downloading completion in the specified functional module of the latest edition, pass through the supply chain Management system application loads the specified functional module of the latest edition, and runs the specified functional module of the latest edition.
  10. 10. device as claimed in claim 6, it is characterised in that described device also includes:
    Second load-on module, for when the current version information is identical with the latest version information, passing through the supply The specified functional module that the loading of chain management system application has been downloaded, and the specified functional module downloaded described in operation.
  11. 11. a kind of application upgrade device, it is characterised in that described device includes:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as the step of perform claim requires any one method described in 1-5.
  12. 12. a kind of computer-readable recording medium, instruction is stored with the computer-readable recording medium, it is characterised in that The step of instruction realizes any one method described in claim 1-5 when being executed by processor.
CN201711031171.0A 2017-10-27 2017-10-27 Application upgrade method, apparatus and storage medium Pending CN107704259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711031171.0A CN107704259A (en) 2017-10-27 2017-10-27 Application upgrade method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711031171.0A CN107704259A (en) 2017-10-27 2017-10-27 Application upgrade method, apparatus and storage medium

Publications (1)

Publication Number Publication Date
CN107704259A true CN107704259A (en) 2018-02-16

Family

ID=61176827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711031171.0A Pending CN107704259A (en) 2017-10-27 2017-10-27 Application upgrade method, apparatus and storage medium

Country Status (1)

Country Link
CN (1) CN107704259A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111291012A (en) * 2020-01-16 2020-06-16 深圳市前海随手财富管理有限公司 Rule file deployment system, method, equipment and medium
CN114579167A (en) * 2020-12-02 2022-06-03 腾讯科技(深圳)有限公司 Method, device and storage medium for downloading application upgrade file
CN114679951A (en) * 2020-12-30 2022-07-01 南京泉峰科技有限公司 Self-propelled device system
CN114679950A (en) * 2020-12-30 2022-07-01 南京泉峰科技有限公司 Data interaction system and data interaction method for self-driven equipment
CN114579167B (en) * 2020-12-02 2024-10-01 腾讯科技(深圳)有限公司 Method, device and storage medium for downloading application upgrade file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770375A (en) * 2008-12-26 2010-07-07 新奥特(北京)视频技术有限公司 Method for realizing automatic update of software as well as system and device therefor
CN104090785A (en) * 2014-06-19 2014-10-08 小米科技有限责任公司 Method, device and system for providing application program
US20140373001A1 (en) * 2013-06-18 2014-12-18 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device, software updating system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770375A (en) * 2008-12-26 2010-07-07 新奥特(北京)视频技术有限公司 Method for realizing automatic update of software as well as system and device therefor
US20140373001A1 (en) * 2013-06-18 2014-12-18 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device, software updating system and method
CN104090785A (en) * 2014-06-19 2014-10-08 小米科技有限责任公司 Method, device and system for providing application program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111291012A (en) * 2020-01-16 2020-06-16 深圳市前海随手财富管理有限公司 Rule file deployment system, method, equipment and medium
CN114579167A (en) * 2020-12-02 2022-06-03 腾讯科技(深圳)有限公司 Method, device and storage medium for downloading application upgrade file
CN114579167B (en) * 2020-12-02 2024-10-01 腾讯科技(深圳)有限公司 Method, device and storage medium for downloading application upgrade file
CN114679951A (en) * 2020-12-30 2022-07-01 南京泉峰科技有限公司 Self-propelled device system
CN114679950A (en) * 2020-12-30 2022-07-01 南京泉峰科技有限公司 Data interaction system and data interaction method for self-driven equipment
CN114679950B (en) * 2020-12-30 2024-03-15 南京泉峰科技有限公司 Data interaction system and data interaction method for self-driven equipment
CN114679951B (en) * 2020-12-30 2024-03-19 南京泉峰科技有限公司 Self-driven equipment system

Similar Documents

Publication Publication Date Title
CN112600977A (en) Method and terminal for quickly opening application or application function
JP2015524185A (en) Brand self-identification and installation of branded firmware on generic electronic devices
CN106598395A (en) Method and device for executing task
US20200341617A1 (en) Program Orchestration Method and Electronic Device
CN105930185A (en) Application updating method and apparatus, terminal and server
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN107209678A (en) System and method for the adaptive clone of mobile device
CN104539571B (en) Information interacting method, identification authentication method, server and terminal
CN107391218A (en) Compilation Method and device, electronic equipment and computer-readable recording medium
CN106126685A (en) Page loading method and device
CN107729000A (en) Application program installation kit generation method and device
CN105631254B (en) Unlocking method and tripper
CN107229711A (en) Webpage display process and device
CN107704259A (en) Application upgrade method, apparatus and storage medium
CN110209385A (en) Establishment of item method and device
CN106126025A (en) Replicate the exchange method and device pasted
CN105930168A (en) System upgrading processing method, apparatus and device
CN109358933A (en) The creation method and device applied fastly
CN109446796A (en) Application control method and device, mobile terminal and storage medium
CN105094830A (en) Method and device for executing target functions
CN107395624A (en) Information processing method and device
CN107436782A (en) Application program silence installation method and device
CN107819740A (en) Verification method, terminal device, audio amplifier and the server of terminal device
CN104899059B (en) Operating system update method and device
CN107544818A (en) The loading method and device of system software

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