WO2020010965A1 - Mobile terminal, and method and device for updating application thereof - Google Patents

Mobile terminal, and method and device for updating application thereof Download PDF

Info

Publication number
WO2020010965A1
WO2020010965A1 PCT/CN2019/089663 CN2019089663W WO2020010965A1 WO 2020010965 A1 WO2020010965 A1 WO 2020010965A1 CN 2019089663 W CN2019089663 W CN 2019089663W WO 2020010965 A1 WO2020010965 A1 WO 2020010965A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
mobile terminal
updating
information
updated
Prior art date
Application number
PCT/CN2019/089663
Other languages
French (fr)
Chinese (zh)
Inventor
张胜利
Original Assignee
奇酷互联网络科技(深圳)有限公司
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 奇酷互联网络科技(深圳)有限公司 filed Critical 奇酷互联网络科技(深圳)有限公司
Publication of WO2020010965A1 publication Critical patent/WO2020010965A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Definitions

  • the present invention relates to the technical field of mobile terminals, and in particular, to a mobile terminal and a method and device for updating applications thereof.
  • the main purpose of the present invention is to provide a mobile terminal and a method and device for updating applications thereof, which automatically update applications on the mobile terminal and improve user experience.
  • the present invention provides a method for updating an application, which includes the following steps:
  • the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; obtaining the status information of the mobile terminal, and determining whether the mobile terminal meets a trigger for updating an application according to the status information Conditional steps, including:
  • Acquire network connection information and standby state information of the mobile terminal and determine whether the mobile terminal is connected to WIFI and whether it is in a standby state; if the mobile terminal is connected to WIFI and is in a standby state, it is determined that a trigger condition for updating an application is satisfied.
  • the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; obtaining the status information of the mobile terminal, and determining whether the mobile terminal meets a trigger for updating an application according to the status information Conditional steps, including:
  • the state information of the mobile terminal further includes power information of the mobile terminal and / or a charging state of the mobile terminal; and the determining whether the mobile terminal meets a trigger condition for updating an application further includes:
  • step of determining whether the first application on the mobile terminal needs to be updated includes:
  • step of determining whether the first application on the mobile terminal needs to be updated includes:
  • the method further includes:
  • the method includes:
  • the present invention also provides a device for updating applications, including:
  • An obtaining unit configured to obtain status information of the mobile terminal, and determine whether the mobile terminal meets a trigger condition for updating an application according to the status information
  • a judging unit configured to judge whether the first application on the mobile terminal needs to be updated if it is satisfied
  • An update unit is configured to update the first application that needs to be updated if necessary.
  • the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; and the acquiring unit is specifically configured to:
  • Acquire network connection information and standby state information of the mobile terminal and determine whether the mobile terminal is connected to WIFI and whether it is in a standby state; if the mobile terminal is connected to WIFI and is in a standby state, it is determined that a trigger condition for updating an application is satisfied.
  • the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; and the acquiring unit is specifically configured to:
  • the status information of the mobile terminal further includes power information of the mobile terminal, and / or a charging status of the mobile terminal; and the obtaining unit is further configured to:
  • the judgment unit includes:
  • a first determining subunit is configured to obtain update information of the first application from an application store platform to determine whether the first application needs to be updated.
  • the judgment unit includes:
  • a second determination subunit is configured to start a first application on the mobile terminal, and obtain update information fed back by the first application, so as to determine whether the first application needs to be updated.
  • the second judging sub-unit starts the first application on the mobile terminal, and after obtaining the update information fed back by the first application, is further configured to:
  • the device for updating an application further includes:
  • An analysis unit configured to obtain usage habit information of an application on the mobile terminal, and analyze a usage frequency of a user using the application on the mobile terminal;
  • a selecting unit configured to use the application whose frequency of use is greater than a threshold value as the first application, or to designate the application whose frequency of use is less than a threshold value as the first application; wherein the specified application includes at least a booking application .
  • the invention also provides a mobile terminal, including a processor and a memory;
  • the memory is configured to store a program for a device supporting the update application to execute the method for updating an application according to any one of the above;
  • the processor is configured to execute a program stored in the memory.
  • the present invention provides a computer storage medium for storing computer software instructions for the above-mentioned update application device, which includes a program designed to execute the above-mentioned aspect for the update application device.
  • the mobile terminal and the method and device for updating applications provided by the present invention obtain status information of the mobile terminal, and determine whether the mobile terminal meets a triggering condition for updating the application according to the status information; if it is satisfied, determine the mobile Whether the first application on the terminal needs to be updated; if necessary, update the first application that needs to be updated.
  • the application on the mobile terminal can be automatically updated, which overcomes the defects that users cannot use when using the application and improves the user experience.
  • FIG. 1 is a schematic diagram of steps of a method for updating an application according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a device for updating an application according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of a mobile terminal in an embodiment of the present invention.
  • an embodiment of the present invention provides a method for updating an application, including the following steps:
  • Step S1 Obtain status information of the mobile terminal, and determine whether the mobile terminal meets a trigger condition for updating an application according to the status information;
  • Step S2 if yes, determine whether the first application on the mobile terminal needs to be updated
  • Step S3 if necessary, update the first application that needs to be updated.
  • the state information of the mobile terminal includes at least one of network connection information, power amount information, flow rate information, standby state information, and charging state of the mobile terminal.
  • the above mobile terminals include smart terminal devices such as mobile phones and tablets.
  • the application on the mobile terminal in this embodiment is not always automatically updated, and a certain trigger condition is required to trigger its automatic update, that is, the trigger condition for updating the application.
  • the foregoing trigger condition is set in advance, and when the state of the mobile terminal meets the trigger condition, automatic update can be performed.
  • the status information of the mobile terminal is acquired, and whether the trigger condition for updating the application is satisfied is determined according to the status information. If not, it indicates that the update should not be performed at this time; if it is satisfied, the update process can be entered.
  • the first application may be all applications on the mobile terminal, or may be designated applications (such as WeChat, 360 mobile assistant, etc.) on the mobile terminal, or may be applications frequently used on the mobile terminal.
  • the automatic update application in this embodiment may be updated for all applications on the mobile terminal, or only for specific applications that are of interest to a few users, or only for applications that are frequently used on the mobile terminal.
  • the first application that needs to be updated is automatically updated, so that when the user launches the application after that, the application can be used directly without waiting for the application to be updated.
  • the above update process may be downloading a corresponding update package and correspondingly installing the update package.
  • the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; obtaining the status information of the mobile terminal, and determining whether the mobile terminal meets the update application according to the status information Step S1 of the trigger condition includes:
  • Obtain network connection information and standby state information of the mobile terminal determine whether the mobile terminal is connected to WIFI and is in a standby state; if the mobile terminal is connected to WIFI and is in a standby state, determine that a trigger condition for updating an application is satisfied. .
  • the WIFI network is relatively more affordable (or free).
  • mobile terminals usually need to occupy a lot of resources when in use, and more like applications need to consume system resources. If application updates are performed when the mobile terminal is running at a high speed, it will easily cause the mobile terminal to run under pressure, and it is easy to freeze and crash. Wait. Therefore, in this embodiment, the triggering condition of the above update application is set to the mobile terminal connected to the WIFI state and in the standby state. When it is detected that the current mobile terminal is in this state, it indicates that the mobile terminal is suitable to update the application at this time, and can be performed. Apply automatic updates. In other embodiments, it is also possible to detect the hardware operating state of the mobile terminal and determine whether it is suitable to perform automatic update of the application in combination with the operating state.
  • the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; acquiring the status information of the mobile terminal, and determining whether the mobile terminal meets the update according to the status information Step S1 of applying a trigger condition includes:
  • b Obtain network connection information and standby state information of the mobile terminal; if the mobile terminal is in a standby state and connected to a data traffic network, obtain a remaining traffic value of the data traffic network; if the remaining traffic value is greater than the traffic Threshold, it is determined that the trigger condition for updating the application is met.
  • the above trigger condition may also include that the mobile terminal is in a standby state, and the user may use the WIFI network to update the application, or use a data traffic network such as a 4G network to update the application.
  • Data flow network application update switch When the switch is on, you can use the data flow network to update.
  • the traffic usage of the current 4G network traffic package can be automatically obtained by means of SMS or public account, and the remaining data value of the current data traffic network can be obtained from If the remaining flow value is greater than the flow threshold (such as 1G), it indicates that it is appropriate to automatically update the application, and it is determined that the trigger condition for updating the application is met.
  • the flow threshold such as 1G
  • the foregoing traffic threshold may also be set by the user on the mobile terminal in advance, and may be configured to different values according to the actual needs of the user.
  • the traffic value required when the first application is updated may also be obtained. When the remaining traffic value is greater than the traffic value required when the first application is updated, the application is automatically updated.
  • the state information of the mobile terminal further includes power information of the mobile terminal and / or a charging state of the mobile terminal; and the determining whether the mobile terminal meets a trigger condition for updating an application further includes :
  • c Determine whether the power information of the mobile terminal is greater than a power threshold, and / or determine whether the mobile terminal is in a charging state.
  • the application update requires resources, it consumes a certain amount of power. If the current mobile terminal has a low power and is not connected to a power source for charging, updating the application at this time may easily affect the normal use of the mobile terminal. Therefore, in this embodiment, it is also possible to comprehensively determine whether the current mobile terminal meets the triggering condition for updating the application in combination with the power information of the mobile terminal and / or the charging state of the mobile terminal.
  • the current mobile terminal when the current mobile terminal is in a standby state and it is connected to a WIFI network or a data traffic network (the remaining traffic is sufficient), if it is also detected that the current power is greater than the power threshold, and / or it is determined that the mobile terminal is in a charging state, Then the triggering condition of the update application is satisfied; if the current power is less than the power threshold and / or it is determined that the mobile terminal is in a non-charged state, the triggering condition of the update application is not satisfied.
  • the step S2 of determining whether the first application on the mobile terminal needs to be updated includes:
  • Step S21 Obtain update information of the first application from an application store platform to determine whether the first application needs to be updated.
  • a user's mobile terminal usually has a software platform such as an application store installed for users to download the application.
  • the application store platform can obtain the latest version of the application from the service provider of the application, and analyze the first application on the current mobile terminal. Whether there is update information, and if so, it is determined that the first application needs to be updated.
  • the specific process may be to automatically start the application store platform, obtain update information corresponding to the first application from the application store platform, and determine whether it needs to be updated.
  • step S2 of determining whether the first application on the mobile terminal needs to be updated includes:
  • Step S22 Start a first application on the mobile terminal, and obtain update information fed back by the first application to determine whether the first application needs to be updated.
  • the first application on the mobile terminal is automatically started.
  • the first application will perform a self-test to determine whether there is an update. If the first application has an updated version, it will feed back a message that requires the first application to be updated.
  • the feedback information prompts the user that the first application needs to be updated; according to the feedback information, the first application is correspondingly updated.
  • the background program of the above-mentioned first application is automatically cleaned up to avoid occupying too many resources of the system.
  • the method further includes:
  • Some applications must be updated before they can be used, such as games; while others can be used as usual without updates, such as WeChat, Alipay and other software applications. Therefore, after starting the first application on the mobile terminal and obtaining the update information fed back by the first application, it is detected whether the first application can also be launched without being updated. If it can be launched, the first application can be selected. An application is not updated; if it cannot be started, it needs to be updated before it can be started. It is determined that the first application must be updated. Correspondingly, an update package is downloaded for application update.
  • step S3 of updating the first application that needs to be updated if necessary the method further includes:
  • step S1 of obtaining the status information of the mobile terminal and judging whether the mobile terminal meets a trigger condition for updating an application according to the status information the method includes:
  • Step S10 Acquire usage habit information of an application on the mobile terminal, and analyze a frequency of use of a user using the application on the mobile terminal;
  • step S11 the application whose frequency of use is greater than a threshold value is used as the first application, or the specified application whose frequency of use is less than a threshold value is used as the first application; wherein the specified application includes at least a booking application.
  • the mobile terminal can obtain the usage habits information of the user using the application on the mobile terminal, and according to the usage habits information, it is convenient to analyze the user's use of the application on the mobile terminal.
  • Frequency of use that is, to analyze which applications are frequently used by users and which are not commonly used; specifically, a threshold can be set, and when the frequency of use is greater than the threshold, the application is frequently used by users; less than the threshold is not commonly used application.
  • the above-mentioned common application may be used as the first application, and the above-mentioned method of updating the application is only updated for applications that are frequently used by users; it may also be that the designated application in the less commonly used application is also used as the first application, for example, subscription Ticket applications, etc.
  • a folder may also be provided to save the above-mentioned first application in the folder; for the above-mentioned first application, different folders may also be set for saving according to characteristics of frequent use and infrequent use.
  • the method for updating an application includes: obtaining status information of a mobile terminal, and determining whether the mobile terminal meets a triggering condition for updating an application according to the status information; if it is, then Determine whether the first application on the mobile terminal needs to be updated; if necessary, update the first application that needs to be updated.
  • the application on the mobile terminal can be automatically updated, which overcomes the defects that users cannot use when using the application and improves the user experience.
  • an embodiment of the present invention further provides a device for updating an application, including:
  • the obtaining unit 10 is configured to obtain status information of a mobile terminal, and determine whether the mobile terminal meets a trigger condition for updating an application according to the status information;
  • a determining unit 20 configured to determine whether the first application on the mobile terminal needs to be updated if it is satisfied;
  • An update unit 30 is configured to update the first application that needs to be updated if necessary.
  • the state information of the mobile terminal includes at least one of network connection information, power amount information, flow rate information, standby state information, and charging state of the mobile terminal.
  • the above mobile terminals include smart terminal devices such as mobile phones and tablets.
  • the application on the mobile terminal in this embodiment is not always automatically updated, and a certain trigger condition is required to trigger its automatic update, that is, the trigger condition for updating the application.
  • the foregoing trigger condition is set in advance, and when the status of the mobile terminal meets the trigger condition, automatic update can be performed.
  • obtain the status information of the mobile terminal and determine whether it meets the trigger condition for updating the application according to the status information. If not, it indicates that it should not be updated at this time; if it is, then the update process can be entered. .
  • the first application may be all applications on the mobile terminal, or may be designated applications (such as WeChat, 360 mobile assistant, etc.) on the mobile terminal, or may be applications frequently used on the mobile terminal.
  • the automatic update application may be updated for all applications on the mobile terminal, or only for specific applications that are of interest to a few users, or only for applications that are frequently used on the mobile terminal.
  • the first application that needs to be updated is automatically updated, so that when the user launches the application after that, the application can be used directly without waiting for the application to be updated.
  • the above update process may be downloading a corresponding update package and correspondingly installing the update package.
  • the state information of the mobile terminal includes network connection information and standby state information of the mobile terminal; the acquiring unit 10 is specifically configured to:
  • Acquire network connection information and standby state information of the mobile terminal and determine whether the mobile terminal is connected to WIFI and whether it is in a standby state; if the mobile terminal is connected to WIFI and is in a standby state, it is determined that a trigger condition for updating an application is satisfied.
  • the WIFI network is relatively more affordable (or free).
  • mobile terminals usually need to occupy a lot of resources when in use, and more like applications need to consume system resources. If application updates are performed when the mobile terminal is running at a high speed, it will easily cause the mobile terminal to run under pressure, and it is easy to freeze and crash. Wait. Therefore, in this embodiment, the triggering condition of the above update application is set to the mobile terminal connected to the WIFI state and in the standby state. When it is detected that the current mobile terminal is in this state, it indicates that the mobile terminal is suitable to update the application at this time, and can be performed. Apply automatic updates. In other embodiments, it is also possible to detect the hardware operating state of the mobile terminal and determine whether it is suitable to perform automatic update of the application in combination with the operating state.
  • the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; and the obtaining unit 10 is specifically configured to:
  • the above trigger condition may also include that the mobile terminal is in a standby state, and the user may use the WIFI network to update the application, or use a data traffic network such as a 4G network to update the application.
  • Data flow network application update switch When the switch is on, you can use the data flow network to update.
  • the traffic usage of the current 4G network traffic package can be automatically obtained through SMS or public account, etc., and the remaining data value of the current data traffic network can be obtained from it. If the remaining flow value is greater than the flow threshold (such as 1G), it indicates that it is appropriate to automatically update the application, and it is determined that the trigger condition for updating the application is met.
  • the flow threshold such as 1G
  • the foregoing traffic threshold may also be set by the user on the mobile terminal in advance, and may be configured to different values according to the actual needs of the user.
  • the traffic value required when the first application is updated may also be obtained. When the remaining traffic value is greater than the traffic value required when the first application is updated, the application is automatically updated.
  • the state information of the mobile terminal further includes power information of the mobile terminal, and / or a charging state of the mobile terminal; the obtaining unit 10 is further configured to:
  • the application update requires resources, it consumes a certain amount of power. If the current mobile terminal has a low power and is not connected to a power source for charging, updating the application at this time may easily affect the normal use of the mobile terminal. Therefore, in this embodiment, it is also possible to comprehensively determine whether the current mobile terminal meets the triggering condition for updating the application in combination with the power information of the mobile terminal and / or the charging state of the mobile terminal.
  • the current mobile terminal when the current mobile terminal is in a standby state and it is connected to a WIFI network or a data traffic network (with sufficient remaining traffic), if it is also detected that the current power is greater than the power threshold, and / or it is determined that the mobile terminal is in a charging state, Then the triggering condition of the update application is satisfied; if the current power is less than the power threshold and / or it is determined that the mobile terminal is in a non-charged state, the triggering condition of the update application is not satisfied.
  • the determining unit 20 includes:
  • a first determining subunit is configured to obtain update information of the first application from an application store platform to determine whether the first application needs to be updated.
  • a user's mobile terminal usually has a software platform such as an application store installed for users to download the application.
  • the application store platform can obtain the latest version of the application from the service provider of the application, and analyze the first application on the current mobile terminal. Whether there is update information, and if so, it is determined that the first application needs to be updated.
  • the specific process may be to automatically start the application store platform, obtain update information corresponding to the first application from the application store platform, and determine whether it needs to be updated.
  • the determining unit 20 includes:
  • a second determination subunit is configured to start a first application on the mobile terminal, and obtain update information fed back by the first application, so as to determine whether the first application needs to be updated.
  • the first application on the mobile terminal is automatically started.
  • the first application will perform a self-test to determine whether there is an update. If the first application has an updated version, it will feed back a message that requires the first application to be updated.
  • the feedback information prompts the user that the first application needs to be updated; according to the feedback information, the first application is correspondingly updated.
  • the background program of the above-mentioned first application is automatically cleaned up to avoid occupying too many resources of the system.
  • the second determining sub-unit is further configured to:
  • Some applications must be updated before they can be used, such as games; while others can be used as usual without updates, such as WeChat, Alipay and other software applications. Therefore, after starting the first application on the mobile terminal and obtaining the update information fed back by the first application, it is detected whether the first application can also be launched without being updated. If it can be launched, the first application can be selected. An application is not updated; if it cannot be started, it needs to be updated before it can be started. It is determined that the first application must be updated. Correspondingly, an update package is downloaded for application update.
  • the device for updating an application further includes:
  • a detecting unit that detects whether the first application is in a running state
  • the detection unit may choose not to perform the update at this time, to prevent the user from using the application to perform a forced update, which causes the user to be unable to use normally.
  • Update is performed after a preset time, or when it is detected that the user no longer uses the first application; if the detection unit detects that the first application is not in a running state, the update may be performed.
  • the device for updating an application further includes:
  • An analysis unit configured to obtain usage habit information of an application on the mobile terminal, and analyze a user's use frequency of the application on the mobile terminal;
  • a selecting unit configured to use the application whose frequency of use is greater than a threshold value as the first application, or to designate the application whose frequency of use is less than a threshold value as the first application; wherein the specified application includes at least a booking application .
  • the mobile terminal can obtain the usage habits information of the user using the application on the mobile terminal, and according to the usage habits information, it is convenient for the analysis unit to analyze the user's use of the mobile terminal.
  • the frequency of use of the application that is, to analyze which applications are frequently used by users and which are not commonly used.
  • a threshold can be set. When the frequency of use is greater than the threshold, the application is frequently used by users; when it is less than the threshold, Infrequently used.
  • the selection unit may use the above-mentioned common application as the first application, and the above-mentioned device for updating the application may only update the application frequently used by the user; the selection unit may also use the designated application among the less commonly used applications as the first application.
  • An application such as a booking application.
  • a folder may also be provided to save the above-mentioned first application in the folder; for the above-mentioned first application, different folders may also be set for saving according to characteristics of frequent use and infrequent use.
  • the apparatus for updating an application includes: obtaining status information of a mobile terminal, and determining whether the mobile terminal meets a triggering condition for updating an application according to the status information; if it is, then Determine whether the first application on the mobile terminal needs to be updated; if necessary, update the first application that needs to be updated.
  • the application on the mobile terminal can be automatically updated, which overcomes the defects that users cannot use when using the application and improves the user experience.
  • An embodiment of the present invention also provides a mobile terminal. As shown in FIG. 3, for convenience of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. .
  • the terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like. Taking the terminal as a mobile phone as an example:
  • FIG. 3 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention.
  • the mobile phone includes: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless-fidelity (Wi-Fi) module 170, The processor 180 and the power supply 190 and other components.
  • RF radio frequency
  • the structure of the mobile phone shown in FIG. 3 does not constitute a limitation on the mobile phone, and may include more or fewer parts than those shown in the figure, or combine certain parts, or arrange different parts.
  • the RF circuit 110 may be used for receiving and sending signals during the process of receiving and sending information or during a call.
  • the downlink information of the base station is received and processed by the processor 180; in addition, the uplink data of the design is sent to the base station.
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • the RF circuit 110 can also communicate with a network and other devices through wireless communication.
  • the above wireless communication can use any communication standard or protocol, including, but not limited to, Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • E-mail Short Messaging Service
  • the memory 120 may be used to store software programs and modules.
  • the processor 180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 120 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 130 may be configured to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the mobile phone.
  • the input unit 130 may include a touch panel 131 and other input devices 132.
  • the touch panel 131 also known as a touch screen, can collect user's touch operations on or near it (for example, the user uses a finger, a stylus or any suitable object or accessory on the touch panel 131 or near the touch panel 131. Operation), and drive the corresponding connection device according to a preset program.
  • the touch panel 131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it It is given to the processor 180, and can receive the command sent by the processor 180 and execute it.
  • various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 131.
  • the input unit 130 may further include other input devices 132.
  • the other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
  • function keys such as a volume control button, a switch button, etc.
  • a trackball such as a mouse, a joystick, and the like.
  • the display unit 140 may be configured to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light emitting diode (Organic Light-Emitting Diode, OLED), and the like.
  • the touch panel 131 may cover the display panel 141. When the touch panel 131 detects a touch operation on or near the touch panel 131, the touch panel 131 transmits the touch operation to the processor 180 to determine the type of the touch event. The type provides corresponding visual output on the display panel 141.
  • the touch panel 131 and the display panel 141 are implemented as two separate components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 131 and the display panel 141 may be integrated and Realize the input and output functions of mobile phones.
  • the mobile phone may further include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 and / Or backlight.
  • an accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary.
  • the mobile phone can be used to identify the attitude of the mobile phone (such as horizontal and vertical screen switching, Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; as for the mobile phone can also be equipped with gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors, no longer here To repeat.
  • attitude of the mobile phone such as horizontal and vertical screen switching, Games, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tap
  • the mobile phone can also be equipped with gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors, no longer here To repeat.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile phone.
  • the audio circuit 160 may transmit the received electrical data converted electric signal to the speaker 161, and the speaker 161 converts it into a sound signal for output.
  • the microphone 162 converts the collected sound signal into an electric signal, and the audio circuit 160 After receiving, it is converted into audio data, and then the audio data output processor 180 is processed and then sent to, for example, another mobile phone via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 170. It provides users with wireless broadband Internet access.
  • FIG. 3 shows the WiFi module 170, it can be understood that it does not belong to the necessary structure of the mobile phone, and can be omitted as needed without changing the essence of the invention.
  • the processor 180 is a control center of the mobile phone, and uses various interfaces and lines to connect various parts of the entire mobile phone.
  • the processor 180 executes or executes software programs and / or modules stored in the memory 120 and calls data stored in the memory 120 to execute.
  • Various functions and processing data of the mobile phone so as to monitor the mobile phone as a whole.
  • the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc.
  • the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 180.
  • the mobile phone also includes a power supply 190 (such as a battery) for supplying power to various components.
  • a power supply 190 such as a battery
  • the power supply can be logically connected to the processor 180 through a power management system, so as to implement functions such as managing charging, discharging, and power consumption management through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 180 included in the mobile terminal also has the following functions:
  • the memory 120 is configured to store a computer program for a device supporting an update application to execute the method for updating an application according to the foregoing embodiment
  • the processor 180 is configured to execute a computer program stored in the memory 120.
  • the present invention includes devices related to performing one or more of the operations described in this application. These devices may be specially designed and manufactured for the required purpose, or they may include known devices in general-purpose computers. These devices have computer programs stored therein that are selectively activated or reconstructed.
  • Such a computer program may be stored in a device (e.g., a computer) readable medium or in any type of medium suitable for storing electronic instructions and coupled to a bus, respectively, said computer readable medium including but not limited to any Types of disks (including floppy disks, hard disks, CD-ROMs, CD-ROMs and magneto-optical disks), ROM (Read-Only Memory, Read-Only Memory), RAM (Random Access Memory, Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transfers information in a readable form by a device (eg, a computer).
  • a readable medium includes any medium that stores or transfers information in a readable form by a device (eg, a computer).

Abstract

The present invention provides a mobile terminal, and a method and device for updating an application thereof. The method comprises: obtaining state information of the mobile terminal, and determining whether the mobile terminal meets a triggering condition of updating the application or not according to the state information; if the mobile terminal meets the triggering condition of updating the application, determining whether a first application on the mobile terminal needs to be updated; and if the first application on the mobile terminal needs to be updated, updating the first application needing to be updated. According to the mobile terminal, and the method and device for updating the application thereof provided in the present invention, the application on the mobile terminal can be automatically updated; the defects that a user cannot use the application when the user requires usage of the application are overcome, and user experience is improved.

Description

移动终端及其更新应用的方法和装置Mobile terminal and method and device for updating application thereof 【技术领域】[Technical Field]
本发明涉及移动终端技术领域,特别涉及一种移动终端及其更新应用的方法和装置。The present invention relates to the technical field of mobile terminals, and in particular, to a mobile terminal and a method and device for updating applications thereof.
【背景技术】【Background technique】
随着智能手机等移动终端的使用越来越广泛,移动终端上的的应用程序种类也越来越多。为了满足用户的需求增加用户粘度,应用程序的更新升级也非常频繁,而为了使用新增的功能或者享受更好的用户体验,手机用户必须对应用程序进行频繁的升级操作。With the increasing use of mobile terminals such as smart phones, there are more and more types of applications on mobile terminals. In order to meet user needs and increase user viscosity, application updates are also very frequent. In order to use new features or enjoy a better user experience, mobile phone users must frequently update applications.
目前,通常是用户想要使用移动终端上的应用时,提示用户更新,或者应用本身提示用户有更新,需要用户根据提示信息去手动进行更新,用户操作繁琐,用户体验较差。At present, usually when a user wants to use an application on a mobile terminal, the user is prompted to update, or the application itself prompts the user to update, and the user needs to manually update according to the prompt information. The user operation is tedious and the user experience is poor.
【发明内容】[Summary of the Invention]
本发明的主要目的为提供一种移动终端及其更新应用的方法和装置,自动更新移动终端上的应用,提升用户体验。The main purpose of the present invention is to provide a mobile terminal and a method and device for updating applications thereof, which automatically update applications on the mobile terminal and improve user experience.
为实现上述目的,本发明提出一种更新应用的方法,包括以下步骤:To achieve the above object, the present invention provides a method for updating an application, which includes the following steps:
获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件;Acquiring status information of the mobile terminal, and judging whether the mobile terminal meets a trigger condition for updating an application according to the status information;
若满足,则判断所述移动终端上的第一应用是否需要更新;If yes, determine whether the first application on the mobile terminal needs to be updated;
若需要,则对需要更新的所述第一应用进行更新。If necessary, update the first application that needs to be updated.
进一步地,所述移动终端的状态信息包括所述移动终端的网络连接信息以及待机状态信息;所述获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件的步骤,包括:Further, the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; obtaining the status information of the mobile terminal, and determining whether the mobile terminal meets a trigger for updating an application according to the status information Conditional steps, including:
获取所述移动终端的网络连接信息以及待机状态信息,判断所述移动终端是否连接WIFI以及是否处于待机状态;若所述移动终端连接WIFI且处于待机状态,则判定满足更新应用的触发条件。Acquire network connection information and standby state information of the mobile terminal, and determine whether the mobile terminal is connected to WIFI and whether it is in a standby state; if the mobile terminal is connected to WIFI and is in a standby state, it is determined that a trigger condition for updating an application is satisfied.
进一步地,所述移动终端的状态信息包括所述移动终端的网络连接信息以 及待机状态信息;所述获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件的步骤,包括:Further, the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; obtaining the status information of the mobile terminal, and determining whether the mobile terminal meets a trigger for updating an application according to the status information Conditional steps, including:
获取所述移动终端的网络连接信息以及待机状态信息;若所述移动终端处于待机状态且连接数据流量网络,则获取所述数据流量网络的剩余流量值;若所述剩余流量值大于流量阈值,则判定满足更新应用的触发条件。Acquiring network connection information and standby state information of the mobile terminal; if the mobile terminal is in a standby state and connected to a data traffic network, obtaining a remaining traffic value of the data traffic network; if the remaining traffic value is greater than a traffic threshold, It is determined that the trigger condition for updating the application is satisfied.
进一步地,所述移动终端的状态信息还包括所述移动终端的电量信息,和/或所述移动终端的充电状态;所述判断所述移动终端是否满足更新应用的触发条件,还包括:Further, the state information of the mobile terminal further includes power information of the mobile terminal and / or a charging state of the mobile terminal; and the determining whether the mobile terminal meets a trigger condition for updating an application further includes:
判断所述移动终端的电量信息是否大于电量阈值,和/或判断所述移动终端是否处于充电状态。Determine whether the power information of the mobile terminal is greater than a power threshold, and / or determine whether the mobile terminal is in a charging state.
进一步地,所述判断所述移动终端上的第一应用是否需要更新的步骤,包括:Further, the step of determining whether the first application on the mobile terminal needs to be updated includes:
从应用商店平台中获取所述第一应用的更新信息,以判断所述第一应用是否需要更新。Acquiring update information of the first application from an application store platform to determine whether the first application needs to be updated.
进一步地,所述判断所述移动终端上的第一应用是否需要更新的步骤,包括:Further, the step of determining whether the first application on the mobile terminal needs to be updated includes:
启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息,以判断所述第一应用是否需要更新。Start a first application on the mobile terminal, and obtain update information fed back by the first application to determine whether the first application needs to be updated.
进一步地,所述启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息的步骤之后,还包括:Further, after the step of starting a first application on the mobile terminal and obtaining update information fed back by the first application, the method further includes:
检测所述第一应用在不更新时是否可以启动,若不能启动,则判定所述第一应用需要更新。It is detected whether the first application can be started when it is not updated, and if it cannot be started, it is determined that the first application needs to be updated.
进一步地,所述获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件的步骤之前,包括:Further, before the step of obtaining status information of the mobile terminal and judging whether the mobile terminal meets a trigger condition for updating an application according to the status information, the method includes:
获取所述移动终端上应用的使用习惯信息,分析用户使用所述移动终端上应用的使用频率;Acquiring usage habits information of an application on the mobile terminal, and analyzing a usage frequency of a user using the application on the mobile terminal;
将所述使用频率大于阈值的应用作为所述第一应用,或者将所述使用频率小于阈值的指定应用作为所述第一应用;其中,所述指定应用至少包括订票应用。Use the application with a frequency of use greater than a threshold as the first application, or use the specified application with a frequency of use less than a threshold as the first application; wherein the specified application includes at least a booking application.
本发明还提供了一种更新应用的装置,包括:The present invention also provides a device for updating applications, including:
获取单元,用于获取移动终端的状态信息,并根据所述状态信息判断所述 移动终端是否满足更新应用的触发条件;An obtaining unit, configured to obtain status information of the mobile terminal, and determine whether the mobile terminal meets a trigger condition for updating an application according to the status information;
判断单元,用于若满足,则判断所述移动终端上的第一应用是否需要更新;A judging unit, configured to judge whether the first application on the mobile terminal needs to be updated if it is satisfied;
更新单元,用于若需要,则对需要更新的所述第一应用进行更新。An update unit is configured to update the first application that needs to be updated if necessary.
进一步地,所述移动终端的状态信息包括所述移动终端的网络连接信息以及待机状态信息;所述获取单元具体用于:Further, the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; and the acquiring unit is specifically configured to:
获取所述移动终端的网络连接信息以及待机状态信息,判断所述移动终端是否连接WIFI以及是否处于待机状态;若所述移动终端连接WIFI且处于待机状态,则判定满足更新应用的触发条件。Acquire network connection information and standby state information of the mobile terminal, and determine whether the mobile terminal is connected to WIFI and whether it is in a standby state; if the mobile terminal is connected to WIFI and is in a standby state, it is determined that a trigger condition for updating an application is satisfied.
进一步地,所述移动终端的状态信息包括所述移动终端的网络连接信息以及待机状态信息;所述获取单元具体用于:Further, the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; and the acquiring unit is specifically configured to:
获取所述移动终端的网络连接信息以及待机状态信息;若所述移动终端处于待机状态且连接数据流量网络,则获取所述数据流量网络的剩余流量值;若所述剩余流量值大于流量阈值,则判定满足更新应用的触发条件。Acquiring network connection information and standby state information of the mobile terminal; if the mobile terminal is in a standby state and connected to a data traffic network, obtaining a remaining traffic value of the data traffic network; if the remaining traffic value is greater than a traffic threshold, It is determined that the trigger condition for updating the application is satisfied.
进一步地,所述移动终端的状态信息还包括所述移动终端的电量信息,和/或所述移动终端的充电状态;所述获取单元还用于:Further, the status information of the mobile terminal further includes power information of the mobile terminal, and / or a charging status of the mobile terminal; and the obtaining unit is further configured to:
判断所述移动终端的电量信息是否大于电量阈值,和/或判断所述移动终端是否处于充电状态。Determine whether the power information of the mobile terminal is greater than a power threshold, and / or determine whether the mobile terminal is in a charging state.
进一步地,所述判断单元包括:Further, the judgment unit includes:
第一判断子单元,用于从应用商店平台中获取所述第一应用的更新信息,以判断所述第一应用是否需要更新。A first determining subunit is configured to obtain update information of the first application from an application store platform to determine whether the first application needs to be updated.
进一步地,所述判断单元包括:Further, the judgment unit includes:
第二判断子单元,用于启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息,以判断所述第一应用是否需要更新。A second determination subunit is configured to start a first application on the mobile terminal, and obtain update information fed back by the first application, so as to determine whether the first application needs to be updated.
进一步地,所述第二判断子单元启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息之后,还用于:Further, the second judging sub-unit starts the first application on the mobile terminal, and after obtaining the update information fed back by the first application, is further configured to:
检测所述第一应用在不更新时是否可以启动,若不能启动,则判定所述第一应用需要更新。It is detected whether the first application can be started when it is not updated, and if it cannot be started, it is determined that the first application needs to be updated.
进一步地,所述更新应用的装置,还包括:Further, the device for updating an application further includes:
分析单元,用于获取所述移动终端上应用的使用习惯信息,分析用户使用所述移动终端上应用的使用频率;An analysis unit, configured to obtain usage habit information of an application on the mobile terminal, and analyze a usage frequency of a user using the application on the mobile terminal;
选择单元,用于将所述使用频率大于阈值的应用作为所述第一应用,或者 将所述使用频率小于阈值的指定应用作为所述第一应用;其中,所述指定应用至少包括订票应用。A selecting unit, configured to use the application whose frequency of use is greater than a threshold value as the first application, or to designate the application whose frequency of use is less than a threshold value as the first application; wherein the specified application includes at least a booking application .
本发明还提供了一种移动终端,包括处理器以及存储器;The invention also provides a mobile terminal, including a processor and a memory;
所述存储器用于储存支持所述更新应用的装置执行上述任一项所述的更新应用的方法的程序;The memory is configured to store a program for a device supporting the update application to execute the method for updating an application according to any one of the above;
所述处理器被配置为用于执行所述存储器中存储的程序。The processor is configured to execute a program stored in the memory.
本发明提供了一种计算机存储介质,用于储存为上述更新应用的装置所用的计算机软件指令,其包含用于执行上述方面为更新应用装置所设计的程序。The present invention provides a computer storage medium for storing computer software instructions for the above-mentioned update application device, which includes a program designed to execute the above-mentioned aspect for the update application device.
本发明中提供的移动终端及其更新应用的方法和装置,具有以下有益效果:The mobile terminal provided by the present invention and the method and device for updating the application thereof have the following beneficial effects:
本发明中提供的移动终端及其更新应用的方法和装置,获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件;若满足,则判断所述移动终端上的第一应用是否需要更新;若需要,则对需要更新的所述第一应用进行更新。可以自动更新移动终端上的应用,克服用户需要使用应用时无法使用的缺陷,提升用户体验。The mobile terminal and the method and device for updating applications provided by the present invention obtain status information of the mobile terminal, and determine whether the mobile terminal meets a triggering condition for updating the application according to the status information; if it is satisfied, determine the mobile Whether the first application on the terminal needs to be updated; if necessary, update the first application that needs to be updated. The application on the mobile terminal can be automatically updated, which overcomes the defects that users cannot use when using the application and improves the user experience.
【附图说明】[Brief Description of the Drawings]
图1是本发明一实施例中的更新应用的方法步骤示意图;FIG. 1 is a schematic diagram of steps of a method for updating an application according to an embodiment of the present invention; FIG.
图2是本发明一实施例中的更新应用的装置结构框图;2 is a block diagram of a device for updating an application according to an embodiment of the present invention;
图3是本发明一实施例中的移动终端的结构框图。FIG. 3 is a structural block diagram of a mobile terminal in an embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional characteristics and advantages of the present invention will be further described with reference to the embodiments and the drawings.
【具体实施方式】【detailed description】
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”“上述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件、单元、模块和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、单元、模块、组件和/或它们的组。应该理解,当我 们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that the singular forms "a", "an", "the", "the above", and "the" may include plural forms unless specifically stated. It should be further understood that the term "comprising" used in the description of the present invention refers to the presence of the described features, integers, steps, operations, elements, units, modules and / or components, but does not exclude the presence or addition of one or more Other features, integers, steps, operations, elements, units, modules, components, and / or groups thereof. It should be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or intervening elements may also be present. Furthermore, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and / or" includes all or any of the elements and all combinations of one or more of the associated listed items.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It should also be understood that terms such as those defined in the general dictionary should be understood to have meanings consistent with the meanings in the context of the prior art, and unless specifically defined like this, they would not be idealized or overly Formal meaning to explain.
参照图1,本发明一实施例中提出一种更新应用的方法,包括以下步骤:Referring to FIG. 1, an embodiment of the present invention provides a method for updating an application, including the following steps:
步骤S1,获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件;Step S1: Obtain status information of the mobile terminal, and determine whether the mobile terminal meets a trigger condition for updating an application according to the status information;
步骤S2,若满足,则判断所述移动终端上的第一应用是否需要更新;Step S2: if yes, determine whether the first application on the mobile terminal needs to be updated;
步骤S3,若需要,则对需要更新的所述第一应用进行更新。Step S3: if necessary, update the first application that needs to be updated.
在本实施例中,上述移动终端的状态信息包括移动终端的网络连接信息、电量信息、流量信息、待机状态信息、充电状态中的至少一种。上述移动终端包括手机、平板等智能终端设备。In this embodiment, the state information of the mobile terminal includes at least one of network connection information, power amount information, flow rate information, standby state information, and charging state of the mobile terminal. The above mobile terminals include smart terminal devices such as mobile phones and tablets.
通常手机上的应用会频繁地进行更新版本,为了体验最新的版本功能,用户通常需要对应用进行更新,目前大多为用户手动对应用进行更新,本实施例中的方法用于自动更新移动终端上的应用程序,方便用户,提升用户体验。Applications on mobile phones are often updated frequently. In order to experience the latest version features, users usually need to update the applications. Currently, most users manually update the applications. The method in this embodiment is used to automatically update the mobile terminal. Application for user convenience and enhance user experience.
本实施例中的移动终端上的应用不是一直在自动更新,触发其自动更新需要有一定的触发条件,即更新应用的触发条件。本实施例中,预先设置好上述触发条件,当移动终端的状态满足该触发条件时,则可以进行自动更新。如上述步骤S1所述的,获取移动终端的状态信息,根据状态信息判断其是否满足更新应用的触发条件,若不满足,则表明此时不应当更新;若满足,则可以进入更新的过程。The application on the mobile terminal in this embodiment is not always automatically updated, and a certain trigger condition is required to trigger its automatic update, that is, the trigger condition for updating the application. In this embodiment, the foregoing trigger condition is set in advance, and when the state of the mobile terminal meets the trigger condition, automatic update can be performed. As described in step S1 above, the status information of the mobile terminal is acquired, and whether the trigger condition for updating the application is satisfied is determined according to the status information. If not, it indicates that the update should not be performed at this time; if it is satisfied, the update process can be entered.
由于不是所有的应用都需要更新,因此,如上述步骤S2所述的,判断所述移动终端上的第一应用是否需要更新。其中,上述第一应用可以是移动终端上的所有应用,也可以是上述移动终端上的指定应用(例如微信、360手机助手等),或者也可以是移动终端上经常使用的应用。换言之,本实施例中自动更新应用即可以是针对移动终端上的所有应用进行更新,也可以是只针对几个用户关心 的指定应用进行更新,或者是只针对移动终端上使用频率高的应用。Since not all applications need to be updated, as described in step S2 above, it is determined whether the first application on the mobile terminal needs to be updated. The first application may be all applications on the mobile terminal, or may be designated applications (such as WeChat, 360 mobile assistant, etc.) on the mobile terminal, or may be applications frequently used on the mobile terminal. In other words, the automatic update application in this embodiment may be updated for all applications on the mobile terminal, or only for specific applications that are of interest to a few users, or only for applications that are frequently used on the mobile terminal.
如上述步骤S3所述的,当第一应用需要更新时,则对需要更新的第一应用自动进行更新,便于用户在此之后启动应用时,便可以直接使用应用,而无需等待应用更新,提升用户体验。具体地,上述更新的过程可以是,下载对应的更新包,并对应安装上述更新包。As described in step S3 above, when the first application needs to be updated, the first application that needs to be updated is automatically updated, so that when the user launches the application after that, the application can be used directly without waiting for the application to be updated. user experience. Specifically, the above update process may be downloading a corresponding update package and correspondingly installing the update package.
在一实施例中,上述移动终端的状态信息包括所述移动终端的网络连接信息以及待机状态信息;所述获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件的步骤S1,包括:In an embodiment, the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; obtaining the status information of the mobile terminal, and determining whether the mobile terminal meets the update application according to the status information Step S1 of the trigger condition includes:
a、获取所述移动终端的网络连接信息以及待机状态信息,判断所述移动终端是否连接WIFI以及是否处于待机状态;若所述移动终端连接WIFI且处于待机状态,则判定满足更新应用的触发条件。a. Obtain network connection information and standby state information of the mobile terminal, determine whether the mobile terminal is connected to WIFI and is in a standby state; if the mobile terminal is connected to WIFI and is in a standby state, determine that a trigger condition for updating an application is satisfied. .
在本实施例中,由于应用更新时通常需要耗费大量的流量,而目前数据流量通常较为昂贵,WIFI网络却相对较为实惠(或者免费)。同时,移动终端在使用时,通常需要占用大量资源,而更像应用也需要耗费系统资源,若移动终端处于高速运行时进行应用更新,则容易造成移动终端运行压力较大,容易卡顿、崩溃等。因此,本实施例中,将上述更新应用的触发条件设置为移动终端连接WIFI状态且处于待机状态,当检测到当前移动终端处于该状态下时,则表明此时移动终端适宜更新应用,可以进行应用的自动更新。其它实施例中,也可以是检测上述移动终端的硬件运行状态,结合运行状态来判断是否适宜进行应用的自动更新。In this embodiment, since application update usually requires a large amount of traffic, and currently the data traffic is usually more expensive, the WIFI network is relatively more affordable (or free). At the same time, mobile terminals usually need to occupy a lot of resources when in use, and more like applications need to consume system resources. If application updates are performed when the mobile terminal is running at a high speed, it will easily cause the mobile terminal to run under pressure, and it is easy to freeze and crash. Wait. Therefore, in this embodiment, the triggering condition of the above update application is set to the mobile terminal connected to the WIFI state and in the standby state. When it is detected that the current mobile terminal is in this state, it indicates that the mobile terminal is suitable to update the application at this time, and can be performed. Apply automatic updates. In other embodiments, it is also possible to detect the hardware operating state of the mobile terminal and determine whether it is suitable to perform automatic update of the application in combination with the operating state.
在另一实施例中,上述移动终端的状态信息包括所述移动终端的网络连接信息以及待机状态信息;所述获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件的步骤S1,包括:In another embodiment, the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; acquiring the status information of the mobile terminal, and determining whether the mobile terminal meets the update according to the status information Step S1 of applying a trigger condition includes:
b、获取所述移动终端的网络连接信息以及待机状态信息;若所述移动终端处于待机状态且连接数据流量网络,则获取所述数据流量网络的剩余流量值;若所述剩余流量值大于流量阈值,则判定满足更新应用的触发条件。b. Obtain network connection information and standby state information of the mobile terminal; if the mobile terminal is in a standby state and connected to a data traffic network, obtain a remaining traffic value of the data traffic network; if the remaining traffic value is greater than the traffic Threshold, it is determined that the trigger condition for updating the application is met.
在本实施例中,上述触发条件中也可以是包括移动终端处于待机状态,用户可以使用WIFI网络更新应用,也可以使用4G网络等数据流量网络来更新应用,为了便于用户选择,可以设置一个使用数据流量网络进行应用更新的开关,开关开启,则可以使用数据流量网络进行更新。而为了避免用户的数据流量使用过多,超出套餐范围,因此可以通过短信或者公众号等方式自动获取到当前 4G网络的流量套餐中的流量使用情况,从中获取到当前数据流量网络的剩余流量值,若剩余流量值大于流量阈值(如1G),则表明适宜自动进行应用的更新,判定满足更新应用的触发条件。可以理解的是,上述流量阈值也可以用户预先在移动终端上设定的,根据用户实际需要,可以配置为不同的值。其它实施例中,还可以获取上述第一应用更新时所需的流量值,当剩余流量值大于上述第一应用更新时所需的流量值时,才进行应用的自动更新。In this embodiment, the above trigger condition may also include that the mobile terminal is in a standby state, and the user may use the WIFI network to update the application, or use a data traffic network such as a 4G network to update the application. Data flow network application update switch. When the switch is on, you can use the data flow network to update. In order to avoid the user's excessive use of data traffic, which is beyond the scope of the package, the traffic usage of the current 4G network traffic package can be automatically obtained by means of SMS or public account, and the remaining data value of the current data traffic network can be obtained from If the remaining flow value is greater than the flow threshold (such as 1G), it indicates that it is appropriate to automatically update the application, and it is determined that the trigger condition for updating the application is met. It can be understood that the foregoing traffic threshold may also be set by the user on the mobile terminal in advance, and may be configured to different values according to the actual needs of the user. In other embodiments, the traffic value required when the first application is updated may also be obtained. When the remaining traffic value is greater than the traffic value required when the first application is updated, the application is automatically updated.
在上述实施例中,上述移动终端的状态信息还包括所述移动终端的电量信息,和/或所述移动终端的充电状态;所述判断所述移动终端是否满足更新应用的触发条件,还包括:In the above embodiment, the state information of the mobile terminal further includes power information of the mobile terminal and / or a charging state of the mobile terminal; and the determining whether the mobile terminal meets a trigger condition for updating an application further includes :
c、判断所述移动终端的电量信息是否大于电量阈值,和/或判断所述移动终端是否处于充电状态。c. Determine whether the power information of the mobile terminal is greater than a power threshold, and / or determine whether the mobile terminal is in a charging state.
由于应用更新时需要占用资源,会耗费一定的电量,若当前移动终端的电量较低,且又没有连接电源进行充电,此时更新应用,则容易影响移动终端的正常使用。因此,在本实施例中,还可以结合移动终端的电量信息,和/或所述移动终端的充电状态,来综合判断当前移动终端是否满足更新应用的触发条件。举例地说,当前移动终端处于待机状态,且其连接WIFI网络或者数据流量网络(剩余流量充足)时,若还检测到当前的电量大于电量阈值,和/或判断所述移动终端处于充电状态,则满足上述更新应用的触发条件;若此时,当前的电量小于电量阈值,和/或判断所述移动终端处于非充电状态,则不满足上述更新应用的触发条件。Because the application update requires resources, it consumes a certain amount of power. If the current mobile terminal has a low power and is not connected to a power source for charging, updating the application at this time may easily affect the normal use of the mobile terminal. Therefore, in this embodiment, it is also possible to comprehensively determine whether the current mobile terminal meets the triggering condition for updating the application in combination with the power information of the mobile terminal and / or the charging state of the mobile terminal. For example, when the current mobile terminal is in a standby state and it is connected to a WIFI network or a data traffic network (the remaining traffic is sufficient), if it is also detected that the current power is greater than the power threshold, and / or it is determined that the mobile terminal is in a charging state, Then the triggering condition of the update application is satisfied; if the current power is less than the power threshold and / or it is determined that the mobile terminal is in a non-charged state, the triggering condition of the update application is not satisfied.
在一实施例中,上述判断所述移动终端上的第一应用是否需要更新的步骤S2,包括:In an embodiment, the step S2 of determining whether the first application on the mobile terminal needs to be updated includes:
步骤S21,从应用商店平台中获取所述第一应用的更新信息,以判断所述第一应用是否需要更新。Step S21: Obtain update information of the first application from an application store platform to determine whether the first application needs to be updated.
目前,用户的移动终端上通常安装有应用商店等软件平台,其供用户下载应用,该应用商店平台可以从应用的服务商获取到应用的最新版信息,分析出当前移动终端上的第一应用是否有更新信息,若有,则判定所述第一应用需要更新。具体过程可以是,自动启动应用商店平台,从应用商店平台中获取对应于第一应用的更新信息,判断其是否需要更新。At present, a user's mobile terminal usually has a software platform such as an application store installed for users to download the application. The application store platform can obtain the latest version of the application from the service provider of the application, and analyze the first application on the current mobile terminal. Whether there is update information, and if so, it is determined that the first application needs to be updated. The specific process may be to automatically start the application store platform, obtain update information corresponding to the first application from the application store platform, and determine whether it needs to be updated.
在另一实施例中,上述判断所述移动终端上的第一应用是否需要更新的步骤S2,包括:In another embodiment, the step S2 of determining whether the first application on the mobile terminal needs to be updated includes:
步骤S22,启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息,以判断所述第一应用是否需要更新。Step S22: Start a first application on the mobile terminal, and obtain update information fed back by the first application to determine whether the first application needs to be updated.
在本实施例中,自动启动移动终端上的第一应用,启动时,第一应用会进行自检,判断是否有更新,若第一应用有更新版本,则会反馈一个需要更新第一应用的反馈信息,提示用户需要更新第一应用;根据该反馈信息,对应更新第一应用。In this embodiment, the first application on the mobile terminal is automatically started. When it is started, the first application will perform a self-test to determine whether there is an update. If the first application has an updated version, it will feed back a message that requires the first application to be updated. The feedback information prompts the user that the first application needs to be updated; according to the feedback information, the first application is correspondingly updated.
优选地,本实施例中,在对上述第一应用进行更新之后,自动清理上述第一应用的后台程序,避免占用系统太多资源。Preferably, in this embodiment, after the above-mentioned first application is updated, the background program of the above-mentioned first application is automatically cleaned up to avoid occupying too many resources of the system.
在又一实施例中,上述启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息的步骤之后,还包括:In another embodiment, after the step of starting the first application on the mobile terminal and obtaining update information fed back by the first application, the method further includes:
检测所述第一应用在不更新时是否可以启动,若不能启动,则判定所述第一应用需要更新。It is detected whether the first application can be started when it is not updated, and if it cannot be started, it is determined that the first application needs to be updated.
由于一些应用必须要更新之后才能使用,例如游戏等;而还有一些应用不需要更新也能照常使用,例如微信、支付宝等软件应用。因此,在启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息之后,检测该第一应用不进行更新时是否也可以启动,若能启动,则可以选择对该第一应用不进行更新;若不能启动,则需要更新之后才能启动,判断该第一应用必须需要更新,对应地,下载更新包进行应用更新。Some applications must be updated before they can be used, such as games; while others can be used as usual without updates, such as WeChat, Alipay and other software applications. Therefore, after starting the first application on the mobile terminal and obtaining the update information fed back by the first application, it is detected whether the first application can also be launched without being updated. If it can be launched, the first application can be selected. An application is not updated; if it cannot be started, it needs to be updated before it can be started. It is determined that the first application must be updated. Correspondingly, an update package is downloaded for application update.
在一实施例中,上述若需要,则对需要更新的所述第一应用进行更新的步骤S3之前,还包括:In an embodiment, before step S3 of updating the first application that needs to be updated if necessary, the method further includes:
检测所述第一应用是否处于运行状态;Detecting whether the first application is in a running state;
本实施例中,若检测到所述第一应用处于运行状态,则可以选择在此时不进行更新,避免用户正在使用应用而进行强制更新,造成用户无法正常使用,此时可以选择再预设时间之后再进行更新,或者检测到用户不再使用该第一应用时再进行更新;若该第一应用未处于运行状态,则可以进行更新。In this embodiment, if it is detected that the first application is running, you can choose not to perform the update at this time, to prevent the user from using the application to perform a forced update, which causes the user to be unable to use normally. At this time, you can choose to preset again. Update after time, or update when it is detected that the user is no longer using the first application; if the first application is not in the running state, update may be performed.
在一实施例中,上述获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件的步骤S1之前,包括:In an embodiment, before step S1 of obtaining the status information of the mobile terminal and judging whether the mobile terminal meets a trigger condition for updating an application according to the status information, the method includes:
步骤S10,获取所述移动终端上应用的使用习惯信息,分析用户使用所述移动终端上应用的使用频率;Step S10: Acquire usage habit information of an application on the mobile terminal, and analyze a frequency of use of a user using the application on the mobile terminal;
步骤S11,将所述使用频率大于阈值的应用作为所述第一应用,或者将所述使用频率小于阈值的指定应用作为所述第一应用;其中,所述指定应用至少包 括订票应用。In step S11, the application whose frequency of use is greater than a threshold value is used as the first application, or the specified application whose frequency of use is less than a threshold value is used as the first application; wherein the specified application includes at least a booking application.
在本实施例中,用户在持续使用移动终端的过程中,移动终端可以获取到用户使用移动终端上应用的使用习惯信息,根据该使用习惯信息,便于分析出用户使用所述移动终端上应用的使用频率,即分析出哪些应用是用户经常使用的,哪些是不常用的应用;具体地,可以设置一个阈值,当使用频率大于该阈值时为用户经常使用的应用;小于该阈值时为不常用应用。本实施例中,可以将上述常用应用作为第一应用,上述更新应用的方法只针对用户经常使用的应用进行更新;还可以是不常用应用中的指定应用也作为所述第一应用,例如订票应用等。优选地,还可以设置有文件夹,将上述第一应用保存在该文件夹中;对于上述第一应用,根据经常使用与不常用的特性也可以设置不同的文件夹分别进行保存。In this embodiment, during the continuous use of the mobile terminal by the user, the mobile terminal can obtain the usage habits information of the user using the application on the mobile terminal, and according to the usage habits information, it is convenient to analyze the user's use of the application on the mobile terminal. Frequency of use, that is, to analyze which applications are frequently used by users and which are not commonly used; specifically, a threshold can be set, and when the frequency of use is greater than the threshold, the application is frequently used by users; less than the threshold is not commonly used application. In this embodiment, the above-mentioned common application may be used as the first application, and the above-mentioned method of updating the application is only updated for applications that are frequently used by users; it may also be that the designated application in the less commonly used application is also used as the first application, for example, subscription Ticket applications, etc. Preferably, a folder may also be provided to save the above-mentioned first application in the folder; for the above-mentioned first application, different folders may also be set for saving according to characteristics of frequent use and infrequent use.
综上所述,为本发明实施例中提供的更新应用的方法,包括:获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件;若满足,则判断所述移动终端上的第一应用是否需要更新;若需要,则对需要更新的所述第一应用进行更新。可以自动更新移动终端上的应用,克服用户需要使用应用时无法使用的缺陷,提升用户体验。In summary, the method for updating an application provided in an embodiment of the present invention includes: obtaining status information of a mobile terminal, and determining whether the mobile terminal meets a triggering condition for updating an application according to the status information; if it is, then Determine whether the first application on the mobile terminal needs to be updated; if necessary, update the first application that needs to be updated. The application on the mobile terminal can be automatically updated, which overcomes the defects that users cannot use when using the application and improves the user experience.
参照图2,本发明一实施例中还提供了一种更新应用的装置,包括:Referring to FIG. 2, an embodiment of the present invention further provides a device for updating an application, including:
获取单元10,用于获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件;The obtaining unit 10 is configured to obtain status information of a mobile terminal, and determine whether the mobile terminal meets a trigger condition for updating an application according to the status information;
判断单元20,用于若满足,则判断所述移动终端上的第一应用是否需要更新;A determining unit 20, configured to determine whether the first application on the mobile terminal needs to be updated if it is satisfied;
更新单元30,用于若需要,则对需要更新的所述第一应用进行更新。An update unit 30 is configured to update the first application that needs to be updated if necessary.
在本实施例中,上述移动终端的状态信息包括移动终端的网络连接信息、电量信息、流量信息、待机状态信息、充电状态中的至少一种。上述移动终端包括手机、平板等智能终端设备。In this embodiment, the state information of the mobile terminal includes at least one of network connection information, power amount information, flow rate information, standby state information, and charging state of the mobile terminal. The above mobile terminals include smart terminal devices such as mobile phones and tablets.
通常手机上的应用会频繁地进行更新版本,为了体验最新的版本功能,用户通常需要对应用进行更新,目前大多为用户手动对应用进行更新,本实施例中的装置用于自动更新移动终端上的应用程序,方便用户,提升用户体验。Applications on mobile phones are often updated frequently. In order to experience the latest version features, users usually need to update the applications. Currently, most users manually update applications. The device in this embodiment is used to automatically update the mobile terminal. Application for user convenience and enhance user experience.
本实施例中的移动终端上的应用不是一直在自动更新,触发其自动更新需要有一定的触发条件,即更新应用的触发条件。本实施例中,预先设置好上述 触发条件,当移动终端的状态满足该触发条件时,则可以进行自动更新。如上述获取单元10所述的,获取移动终端的状态信息,根据状态信息判断其是否满足更新应用的触发条件,若不满足,则表明此时不应当更新;若满足,则可以进入更新的过程。The application on the mobile terminal in this embodiment is not always automatically updated, and a certain trigger condition is required to trigger its automatic update, that is, the trigger condition for updating the application. In this embodiment, the foregoing trigger condition is set in advance, and when the status of the mobile terminal meets the trigger condition, automatic update can be performed. As described in the obtaining unit 10 above, obtain the status information of the mobile terminal, and determine whether it meets the trigger condition for updating the application according to the status information. If not, it indicates that it should not be updated at this time; if it is, then the update process can be entered. .
由于不是所有的应用都需要更新,因此,如上述判断单元20所述的,判断所述移动终端上的第一应用是否需要更新。其中,上述第一应用可以是移动终端上的所有应用,也可以是上述移动终端上的指定应用(例如微信、360手机助手等),或者也可以是移动终端上经常使用的应用。换言之,本实施例中自动更新应用即可以是针对移动终端上的所有应用进行更新,也可以是只针对几个用户关心的指定应用进行更新,或者是只针对移动终端上使用频率高的应用。Since not all applications need to be updated, it is determined whether the first application on the mobile terminal needs to be updated as described in the above-mentioned determination unit 20. The first application may be all applications on the mobile terminal, or may be designated applications (such as WeChat, 360 mobile assistant, etc.) on the mobile terminal, or may be applications frequently used on the mobile terminal. In other words, in this embodiment, the automatic update application may be updated for all applications on the mobile terminal, or only for specific applications that are of interest to a few users, or only for applications that are frequently used on the mobile terminal.
如上述更新单元30所述的,当第一应用需要更新时,则对需要更新的第一应用自动进行更新,便于用户在此之后启动应用时,便可以直接使用应用,而无需等待应用更新,提升用户体验。具体地,上述更新的过程可以是,下载对应的更新包,并对应安装上述更新包。As described in the update unit 30, when the first application needs to be updated, the first application that needs to be updated is automatically updated, so that when the user launches the application after that, the application can be used directly without waiting for the application to be updated. Improve user experience. Specifically, the above update process may be downloading a corresponding update package and correspondingly installing the update package.
在一实施例中,上述移动终端的状态信息包括所述移动终端的网络连接信息以及待机状态信息;所述获取单元10具体用于:In an embodiment, the state information of the mobile terminal includes network connection information and standby state information of the mobile terminal; the acquiring unit 10 is specifically configured to:
获取所述移动终端的网络连接信息以及待机状态信息,判断所述移动终端是否连接WIFI以及是否处于待机状态;若所述移动终端连接WIFI且处于待机状态,则判定满足更新应用的触发条件。Acquire network connection information and standby state information of the mobile terminal, and determine whether the mobile terminal is connected to WIFI and whether it is in a standby state; if the mobile terminal is connected to WIFI and is in a standby state, it is determined that a trigger condition for updating an application is satisfied.
在本实施例中,由于应用更新时通常需要耗费大量的流量,而目前数据流量通常较为昂贵,WIFI网络却相对较为实惠(或者免费)。同时,移动终端在使用时,通常需要占用大量资源,而更像应用也需要耗费系统资源,若移动终端处于高速运行时进行应用更新,则容易造成移动终端运行压力较大,容易卡顿、崩溃等。因此,本实施例中,将上述更新应用的触发条件设置为移动终端连接WIFI状态且处于待机状态,当检测到当前移动终端处于该状态下时,则表明此时移动终端适宜更新应用,可以进行应用的自动更新。其它实施例中,也可以是检测上述移动终端的硬件运行状态,结合运行状态来判断是否适宜进行应用的自动更新。In this embodiment, since application update usually requires a large amount of traffic, and currently the data traffic is usually more expensive, the WIFI network is relatively more affordable (or free). At the same time, mobile terminals usually need to occupy a lot of resources when in use, and more like applications need to consume system resources. If application updates are performed when the mobile terminal is running at a high speed, it will easily cause the mobile terminal to run under pressure, and it is easy to freeze and crash. Wait. Therefore, in this embodiment, the triggering condition of the above update application is set to the mobile terminal connected to the WIFI state and in the standby state. When it is detected that the current mobile terminal is in this state, it indicates that the mobile terminal is suitable to update the application at this time, and can be performed. Apply automatic updates. In other embodiments, it is also possible to detect the hardware operating state of the mobile terminal and determine whether it is suitable to perform automatic update of the application in combination with the operating state.
在另一实施例中,上述移动终端的状态信息包括所述移动终端的网络连接信息以及待机状态信息;所述获取单元10具体用于:In another embodiment, the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; and the obtaining unit 10 is specifically configured to:
获取所述移动终端的网络连接信息以及待机状态信息;若所述移动终端处 于待机状态且连接数据流量网络,则获取所述数据流量网络的剩余流量值;若所述剩余流量值大于流量阈值,则判定满足更新应用的触发条件。Acquiring network connection information and standby state information of the mobile terminal; if the mobile terminal is in a standby state and connected to a data traffic network, obtaining a remaining traffic value of the data traffic network; if the remaining traffic value is greater than a traffic threshold, It is determined that the trigger condition for updating the application is satisfied.
在本实施例中,上述触发条件中也可以是包括移动终端处于待机状态,用户可以使用WIFI网络更新应用,也可以使用4G网络等数据流量网络来更新应用,为了便于用户选择,可以设置一个使用数据流量网络进行应用更新的开关,开关开启,则可以使用数据流量网络进行更新。而为了避免用户的数据流量使用过多,超出套餐范围,因此可以通过短信或者公众号等方式自动获取到当前4G网络的流量套餐中的流量使用情况,从中获取到当前数据流量网络的剩余流量值,若剩余流量值大于流量阈值(如1G),则表明适宜自动进行应用的更新,判定满足更新应用的触发条件。可以理解的是,上述流量阈值也可以用户预先在移动终端上设定的,根据用户实际需要,可以配置为不同的值。其它实施例中,还可以获取上述第一应用更新时所需的流量值,当剩余流量值大于上述第一应用更新时所需的流量值时,才进行应用的自动更新。In this embodiment, the above trigger condition may also include that the mobile terminal is in a standby state, and the user may use the WIFI network to update the application, or use a data traffic network such as a 4G network to update the application. Data flow network application update switch. When the switch is on, you can use the data flow network to update. In order to avoid the user's excessive use of data traffic, which is beyond the scope of the package, the traffic usage of the current 4G network traffic package can be automatically obtained through SMS or public account, etc., and the remaining data value of the current data traffic network can be obtained from it. If the remaining flow value is greater than the flow threshold (such as 1G), it indicates that it is appropriate to automatically update the application, and it is determined that the trigger condition for updating the application is met. It can be understood that the foregoing traffic threshold may also be set by the user on the mobile terminal in advance, and may be configured to different values according to the actual needs of the user. In other embodiments, the traffic value required when the first application is updated may also be obtained. When the remaining traffic value is greater than the traffic value required when the first application is updated, the application is automatically updated.
在上述实施例中,上述移动终端的状态信息还包括所述移动终端的电量信息,和/或所述移动终端的充电状态;所述获取单元10还用于:In the above embodiment, the state information of the mobile terminal further includes power information of the mobile terminal, and / or a charging state of the mobile terminal; the obtaining unit 10 is further configured to:
判断所述移动终端的电量信息是否大于电量阈值,和/或判断所述移动终端是否处于充电状态。Determine whether the power information of the mobile terminal is greater than a power threshold, and / or determine whether the mobile terminal is in a charging state.
由于应用更新时需要占用资源,会耗费一定的电量,若当前移动终端的电量较低,且又没有连接电源进行充电,此时更新应用,则容易影响移动终端的正常使用。因此,在本实施例中,还可以结合移动终端的电量信息,和/或所述移动终端的充电状态,来综合判断当前移动终端是否满足更新应用的触发条件。举例地说,当前移动终端处于待机状态,且其连接WIFI网络或者数据流量网络(剩余流量充足)时,若还检测到当前的电量大于电量阈值,和/或判断所述移动终端处于充电状态,则满足上述更新应用的触发条件;若此时,当前的电量小于电量阈值,和/或判断所述移动终端处于非充电状态,则不满足上述更新应用的触发条件。Because the application update requires resources, it consumes a certain amount of power. If the current mobile terminal has a low power and is not connected to a power source for charging, updating the application at this time may easily affect the normal use of the mobile terminal. Therefore, in this embodiment, it is also possible to comprehensively determine whether the current mobile terminal meets the triggering condition for updating the application in combination with the power information of the mobile terminal and / or the charging state of the mobile terminal. For example, when the current mobile terminal is in a standby state and it is connected to a WIFI network or a data traffic network (with sufficient remaining traffic), if it is also detected that the current power is greater than the power threshold, and / or it is determined that the mobile terminal is in a charging state, Then the triggering condition of the update application is satisfied; if the current power is less than the power threshold and / or it is determined that the mobile terminal is in a non-charged state, the triggering condition of the update application is not satisfied.
在一实施例中,上述判断单元20包括:In one embodiment, the determining unit 20 includes:
第一判断子单元,用于从应用商店平台中获取所述第一应用的更新信息,以判断所述第一应用是否需要更新。A first determining subunit is configured to obtain update information of the first application from an application store platform to determine whether the first application needs to be updated.
目前,用户的移动终端上通常安装有应用商店等软件平台,其供用户下载应用,该应用商店平台可以从应用的服务商获取到应用的最新版信息,分析出 当前移动终端上的第一应用是否有更新信息,若有,则判定所述第一应用需要更新。具体过程可以是,自动启动应用商店平台,从应用商店平台中获取对应于第一应用的更新信息,判断其是否需要更新。At present, a user's mobile terminal usually has a software platform such as an application store installed for users to download the application. The application store platform can obtain the latest version of the application from the service provider of the application, and analyze the first application on the current mobile terminal. Whether there is update information, and if so, it is determined that the first application needs to be updated. The specific process may be to automatically start the application store platform, obtain update information corresponding to the first application from the application store platform, and determine whether it needs to be updated.
在另一实施例中,上述判断单元20包括:In another embodiment, the determining unit 20 includes:
第二判断子单元,用于启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息,以判断所述第一应用是否需要更新。A second determination subunit is configured to start a first application on the mobile terminal, and obtain update information fed back by the first application, so as to determine whether the first application needs to be updated.
在本实施例中,自动启动移动终端上的第一应用,启动时,第一应用会进行自检,判断是否有更新,若第一应用有更新版本,则会反馈一个需要更新第一应用的反馈信息,提示用户需要更新第一应用;根据该反馈信息,对应更新第一应用。In this embodiment, the first application on the mobile terminal is automatically started. When it is started, the first application will perform a self-test to determine whether there is an update. If the first application has an updated version, it will feed back a message that requires the first application to be updated. The feedback information prompts the user that the first application needs to be updated; according to the feedback information, the first application is correspondingly updated.
优选地,本实施例中,在对上述第一应用进行更新之后,自动清理上述第一应用的后台程序,避免占用系统太多资源。Preferably, in this embodiment, after the above-mentioned first application is updated, the background program of the above-mentioned first application is automatically cleaned up to avoid occupying too many resources of the system.
在又一实施例中,上述第二判断子单元启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息之后,还用于:In another embodiment, after the second judging sub-unit starts the first application on the mobile terminal, and after obtaining update information fed back by the first application, the second determining sub-unit is further configured to:
检测所述第一应用在不更新时是否可以启动,若不能启动,则判定所述第一应用需要更新。It is detected whether the first application can be started when it is not updated, and if it cannot be started, it is determined that the first application needs to be updated.
由于一些应用必须要更新之后才能使用,例如游戏等;而还有一些应用不需要更新也能照常使用,例如微信、支付宝等软件应用。因此,在启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息之后,检测该第一应用不进行更新时是否也可以启动,若能启动,则可以选择对该第一应用不进行更新;若不能启动,则需要更新之后才能启动,判断该第一应用必须需要更新,对应地,下载更新包进行应用更新。Some applications must be updated before they can be used, such as games; while others can be used as usual without updates, such as WeChat, Alipay and other software applications. Therefore, after starting the first application on the mobile terminal and obtaining the update information fed back by the first application, it is detected whether the first application can also be launched without being updated. If it can be launched, the first application can be selected. An application is not updated; if it cannot be started, it needs to be updated before it can be started. It is determined that the first application must be updated. Correspondingly, an update package is downloaded for application update.
在一实施例中,上述更新应用的装置,还包括:In an embodiment, the device for updating an application further includes:
检测单元,检测所述第一应用是否处于运行状态;A detecting unit that detects whether the first application is in a running state;
本实施例中,若检测单元检测到所述第一应用处于运行状态,则可以选择在此时不进行更新,避免用户正在使用应用而进行强制更新,造成用户无法正常使用,此时可以选择再预设时间之后再进行更新,或者检测到用户不再使用该第一应用时再进行更新;若检测单元检测到第一应用未处于运行状态,则可以进行更新。In this embodiment, if the detection unit detects that the first application is in a running state, it may choose not to perform the update at this time, to prevent the user from using the application to perform a forced update, which causes the user to be unable to use normally. Update is performed after a preset time, or when it is detected that the user no longer uses the first application; if the detection unit detects that the first application is not in a running state, the update may be performed.
在一实施例中,上述更新应用的装置,还包括:In an embodiment, the device for updating an application further includes:
分析单元,用于获取所述移动终端上应用的使用习惯信息,分析用户使用 所述移动终端上应用的使用频率;An analysis unit, configured to obtain usage habit information of an application on the mobile terminal, and analyze a user's use frequency of the application on the mobile terminal;
选择单元,用于将所述使用频率大于阈值的应用作为所述第一应用,或者将所述使用频率小于阈值的指定应用作为所述第一应用;其中,所述指定应用至少包括订票应用。A selecting unit, configured to use the application whose frequency of use is greater than a threshold value as the first application, or to designate the application whose frequency of use is less than a threshold value as the first application; wherein the specified application includes at least a booking application .
在本实施例中,用户在持续使用移动终端的过程中,移动终端可以获取到用户使用移动终端上应用的使用习惯信息,根据该使用习惯信息,便于分析单元分析出用户使用所述移动终端上应用的使用频率,即分析出哪些应用是用户经常使用的,哪些是不常用的应用;具体地,可以设置一个阈值,当使用频率大于该阈值时为用户经常使用的应用;小于该阈值时为不常用应用。本实施例中,选择单元可以将上述常用应用作为第一应用,上述更新应用的装置只针对用户经常使用的应用进行更新;选择单元还可以是将不常用应用中的指定应用也作为所述第一应用,例如订票应用等。优选地,还可以设置有文件夹,将上述第一应用保存在该文件夹中;对于上述第一应用,根据经常使用与不常用的特性也可以设置不同的文件夹分别进行保存。In this embodiment, during the continuous use of the mobile terminal by the user, the mobile terminal can obtain the usage habits information of the user using the application on the mobile terminal, and according to the usage habits information, it is convenient for the analysis unit to analyze the user's use of the mobile terminal. The frequency of use of the application, that is, to analyze which applications are frequently used by users and which are not commonly used. Specifically, a threshold can be set. When the frequency of use is greater than the threshold, the application is frequently used by users; when it is less than the threshold, Infrequently used. In this embodiment, the selection unit may use the above-mentioned common application as the first application, and the above-mentioned device for updating the application may only update the application frequently used by the user; the selection unit may also use the designated application among the less commonly used applications as the first application. An application, such as a booking application. Preferably, a folder may also be provided to save the above-mentioned first application in the folder; for the above-mentioned first application, different folders may also be set for saving according to characteristics of frequent use and infrequent use.
综上所述,为本发明实施例中提供的更新应用的装置,包括:获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件;若满足,则判断所述移动终端上的第一应用是否需要更新;若需要,则对需要更新的所述第一应用进行更新。可以自动更新移动终端上的应用,克服用户需要使用应用时无法使用的缺陷,提升用户体验。In summary, the apparatus for updating an application provided in the embodiment of the present invention includes: obtaining status information of a mobile terminal, and determining whether the mobile terminal meets a triggering condition for updating an application according to the status information; if it is, then Determine whether the first application on the mobile terminal needs to be updated; if necessary, update the first application that needs to be updated. The application on the mobile terminal can be automatically updated, which overcomes the defects that users cannot use when using the application and improves the user experience.
本发明实施例还提供了一种移动终端,如图3所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:An embodiment of the present invention also provides a mobile terminal. As shown in FIG. 3, for convenience of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. . The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like. Taking the terminal as a mobile phone as an example:
图3示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图3,手机包括:射频(Radio Frequency,RF)电路110、存储器120、输入单元130、显示单元140、传感器150、音频电路160、无线保真(wireless-fidelity,Wi-Fi)模块170、处理器180、以及电源190等部件。本领域技术人员可以理解,图3中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 3 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to FIG. 3, the mobile phone includes: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless-fidelity (Wi-Fi) module 170, The processor 180 and the power supply 190 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 3 does not constitute a limitation on the mobile phone, and may include more or fewer parts than those shown in the figure, or combine certain parts, or arrange different parts.
下面结合图3对手机的各个构成部件进行具体的介绍:The following describes each component of the mobile phone in detail with reference to FIG. 3:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器180处理;另外,将设计上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 110 may be used for receiving and sending signals during the process of receiving and sending information or during a call. In particular, the downlink information of the base station is received and processed by the processor 180; in addition, the uplink data of the design is sent to the base station. Generally, the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 110 can also communicate with a network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including, but not limited to, Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 120 may be used to store software programs and modules. The processor 180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 120 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
输入单元130可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元130可包括触控面板131以及其他输入设备132。触控面板131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板131上或在触控面板131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板131。除了触控面板131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按 键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 may be configured to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also known as a touch screen, can collect user's touch operations on or near it (for example, the user uses a finger, a stylus or any suitable object or accessory on the touch panel 131 or near the touch panel 131. Operation), and drive the corresponding connection device according to a preset program. Optionally, the touch panel 131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it It is given to the processor 180, and can receive the command sent by the processor 180 and execute it. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 131. In addition to the touch panel 131, the input unit 130 may further include other input devices 132. Specifically, the other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元140可包括显示面板141,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板141。进一步的,触控面板131可覆盖显示面板141,当触控面板131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图3中,触控面板131与显示面板141是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板131与显示面板141集成而实现手机的输入和输出功能。The display unit 140 may be configured to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light emitting diode (Organic Light-Emitting Diode, OLED), and the like. Further, the touch panel 131 may cover the display panel 141. When the touch panel 131 detects a touch operation on or near the touch panel 131, the touch panel 131 transmits the touch operation to the processor 180 to determine the type of the touch event. The type provides corresponding visual output on the display panel 141. Although in FIG. 3, the touch panel 131 and the display panel 141 are implemented as two separate components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 131 and the display panel 141 may be integrated and Realize the input and output functions of mobile phones.
手机还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile phone may further include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 and / Or backlight. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. It can be used to identify the attitude of the mobile phone (such as horizontal and vertical screen switching, Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; as for the mobile phone can also be equipped with gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors, no longer here To repeat.
音频电路160、扬声器161,传声器162可提供用户与手机之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一手机,或者将音频数据输出至存储器120以便进一步处理。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile phone. The audio circuit 160 may transmit the received electrical data converted electric signal to the speaker 161, and the speaker 161 converts it into a sound signal for output. On the other hand, the microphone 162 converts the collected sound signal into an electric signal, and the audio circuit 160 After receiving, it is converted into audio data, and then the audio data output processor 180 is processed and then sent to, for example, another mobile phone via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图3示出了WiFi模块170,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 170. It provides users with wireless broadband Internet access. Although FIG. 3 shows the WiFi module 170, it can be understood that it does not belong to the necessary structure of the mobile phone, and can be omitted as needed without changing the essence of the invention.
处理器180是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存 储在存储器120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理单元;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is a control center of the mobile phone, and uses various interfaces and lines to connect various parts of the entire mobile phone. The processor 180 executes or executes software programs and / or modules stored in the memory 120 and calls data stored in the memory 120 to execute. Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc. The modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 180.
手机还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 180 through a power management system, so as to implement functions such as managing charging, discharging, and power consumption management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
参照图3,在本发明实施例中,该移动终端所包括的处理器180还具有以下功能:Referring to FIG. 3, in an embodiment of the present invention, the processor 180 included in the mobile terminal also has the following functions:
获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件;Acquiring status information of the mobile terminal, and judging whether the mobile terminal meets a trigger condition for updating an application according to the status information;
用于若满足,则判断所述移动终端上的第一应用是否需要更新;If it is satisfied, determining whether the first application on the mobile terminal needs to be updated;
若需要,则对需要更新的所述第一应用进行更新。If necessary, update the first application that needs to be updated.
所述存储器120用于存储支持更新应用的装置执行上述实施例所述的更新应用的方法的计算机程序;The memory 120 is configured to store a computer program for a device supporting an update application to execute the method for updating an application according to the foregoing embodiment;
所述处理器180被配置为用于执行所述存储器120中存储的计算机程序。The processor 180 is configured to execute a computer program stored in the memory 120.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的终端,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the terminals, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.
本领域技术人员可以理解,本发明包括涉及用于执行本申请中所述操作中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随即存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片 或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。As will be appreciated by one skilled in the art, the present invention includes devices related to performing one or more of the operations described in this application. These devices may be specially designed and manufactured for the required purpose, or they may include known devices in general-purpose computers. These devices have computer programs stored therein that are selectively activated or reconstructed. Such a computer program may be stored in a device (e.g., a computer) readable medium or in any type of medium suitable for storing electronic instructions and coupled to a bus, respectively, said computer readable medium including but not limited to any Types of disks (including floppy disks, hard disks, CD-ROMs, CD-ROMs and magneto-optical disks), ROM (Read-Only Memory, Read-Only Memory), RAM (Random Access Memory, Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transfers information in a readable form by a device (eg, a computer).
本技术领域技术人员可以理解,可以用计算机程序指令来实现这些结构图和/或框图和/或流图中的每个框以及这些结构图和/或框图和/或流图中的框的组合。本技术领域技术人员可以理解,可以将这些计算机程序指令提供给通用计算机、专业计算机或其他可编程数据处理方法的处理器来实现,从而通过计算机或其他可编程数据处理方法的处理器来执行本发明公开的结构图和/或框图和/或流图的框或多个框中指定的方案。Those skilled in the art may understand that computer program instructions may be used to implement each block in these structural diagrams and / or block diagrams and / or flow diagrams and a combination of these structural diagrams and / or block diagrams and / or flow diagrams. . Those skilled in the art may understand that these computer program instructions may be provided to a processor of a general-purpose computer, a professional computer, or other programmable data processing methods, so that the present invention is executed by a processor of a computer or other programmable data processing method. The scheme specified in the box or multiple boxes of the structural diagram and / or block diagram and / or flow diagram of the invention disclosure.
本技术领域技术人员可以理解,本发明中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本发明中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本发明中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。Those skilled in the art can understand that the various operations, methods, steps, measures, and solutions in the process that have been discussed in the present invention can be alternated, modified, combined, or deleted. Further, the various operations, methods, and other steps, measures, and solutions in the process that have been discussed in the present invention can also be alternated, modified, rearranged, decomposed, combined, or deleted. Further, steps, measures, and solutions in the prior art that have various operations, methods, and processes disclosed in the present invention can also be alternated, modified, rearranged, decomposed, combined, or deleted.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only a preferred embodiment of the present invention, and thus does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description and drawings of the present invention, or directly or indirectly used in other related The technical field is included in the patent protection scope of the present invention.

Claims (17)

  1. 一种更新应用的方法,其中,包括以下步骤:A method for updating an application, including the following steps:
    获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件;Acquiring status information of the mobile terminal, and judging whether the mobile terminal meets a trigger condition for updating an application according to the status information;
    若满足,则判断所述移动终端上的第一应用是否需要更新;If yes, determine whether the first application on the mobile terminal needs to be updated;
    若需要,则对需要更新的所述第一应用进行更新。If necessary, update the first application that needs to be updated.
  2. 根据权利要求1所述的的更新应用的方法,其中,所述移动终端的状态信息包括所述移动终端的网络连接信息以及待机状态信息;所述获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件的步骤,包括:The method for updating an application according to claim 1, wherein the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; and acquiring the status information of the mobile terminal and according to the status The step of determining whether the mobile terminal satisfies a trigger condition for updating an application includes:
    获取所述移动终端的网络连接信息以及待机状态信息,判断所述移动终端是否连接WIFI以及是否处于待机状态;若所述移动终端连接WIFI且处于待机状态,则判定满足更新应用的触发条件。Acquire network connection information and standby state information of the mobile terminal, and determine whether the mobile terminal is connected to WIFI and whether it is in a standby state; if the mobile terminal is connected to WIFI and is in a standby state, it is determined that a trigger condition for updating an application is satisfied.
  3. 根据权利要求1所述的的更新应用的方法,其中,所述移动终端的状态信息包括所述移动终端的网络连接信息以及待机状态信息;所述获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件的步骤,包括:The method for updating an application according to claim 1, wherein the status information of the mobile terminal includes network connection information and standby status information of the mobile terminal; and acquiring the status information of the mobile terminal and according to the status The step of determining whether the mobile terminal satisfies a trigger condition for updating an application includes:
    获取所述移动终端的网络连接信息以及待机状态信息;若所述移动终端处于待机状态且连接数据流量网络,则获取所述数据流量网络的剩余流量值;若所述剩余流量值大于流量阈值,则判定满足更新应用的触发条件。Acquiring network connection information and standby state information of the mobile terminal; if the mobile terminal is in a standby state and connected to a data traffic network, obtaining a remaining traffic value of the data traffic network; if the remaining traffic value is greater than a traffic threshold, It is determined that the trigger condition for updating the application is satisfied.
  4. 根据权利要求2或3所述的的更新应用的方法,其中,所述移动终端的状态信息还包括所述移动终端的电量信息,和/或所述移动终端的充电状态;所述判断所述移动终端是否满足更新应用的触发条件,还包括:The method for updating an application according to claim 2 or 3, wherein the status information of the mobile terminal further comprises power information of the mobile terminal, and / or a charging status of the mobile terminal; the determining the Whether the mobile terminal meets the trigger conditions for updating the application also includes:
    判断所述移动终端的电量信息是否大于电量阈值,和/或判断所述移动终端是否处于充电状态。Determine whether the power information of the mobile terminal is greater than a power threshold, and / or determine whether the mobile terminal is in a charging state.
  5. 根据权利要求1所述的更新应用的方法,其中,所述判断所述移动终端上的第一应用是否需要更新的步骤,包括:The method for updating an application according to claim 1, wherein the step of determining whether the first application on the mobile terminal needs to be updated comprises:
    从应用商店平台中获取所述第一应用的更新信息,以判断所述第一应用是否需要更新。Acquiring update information of the first application from an application store platform to determine whether the first application needs to be updated.
  6. 根据权利要求1所述的更新应用的方法,其中,所述判断所述移动终端上的第一应用是否需要更新的步骤,包括:The method for updating an application according to claim 1, wherein the step of determining whether the first application on the mobile terminal needs to be updated comprises:
    启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息,以判断所述第一应用是否需要更新。Start a first application on the mobile terminal, and obtain update information fed back by the first application to determine whether the first application needs to be updated.
  7. 根据权利要求6所述的更新应用的方法,其中,所述启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息的步骤之后,还包括:The method for updating an application according to claim 6, wherein after the step of starting a first application on the mobile terminal and obtaining update information fed back by the first application, further comprising:
    检测所述第一应用在不更新时是否可以启动,若不能启动,则判定所述第一应用需要更新。It is detected whether the first application can be started when it is not updated, and if it cannot be started, it is determined that the first application needs to be updated.
  8. 根据权利要求1所述的更新应用的方法,其中,所述获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件的步骤之前,包括:The method for updating an application according to claim 1, wherein before the step of obtaining status information of the mobile terminal and judging whether the mobile terminal meets a trigger condition for updating the application according to the status information, comprises:
    获取所述移动终端上应用的使用习惯信息,分析用户使用所述移动终端上应用的使用频率;Acquiring usage habits information of an application on the mobile terminal, and analyzing a usage frequency of a user using the application on the mobile terminal;
    将所述使用频率大于阈值的应用作为所述第一应用,或者将所述使用频率小于阈值的指定应用作为所述第一应用;其中,所述指定应用至少包括订票应用。Use the application with a frequency of use greater than a threshold as the first application, or use the specified application with a frequency of use less than a threshold as the first application; wherein the specified application includes at least a booking application.
  9. 一种更新应用的装置,其中,包括:A device for updating applications, including:
    获取单元,用于获取移动终端的状态信息,并根据所述状态信息判断所述移动终端是否满足更新应用的触发条件;An obtaining unit, configured to obtain status information of the mobile terminal, and determine whether the mobile terminal meets a trigger condition for updating an application according to the status information;
    判断单元,用于若满足,则判断所述移动终端上的第一应用是否需要更新;A judging unit, configured to judge whether the first application on the mobile terminal needs to be updated if it is satisfied;
    更新单元,用于若需要,则对需要更新的所述第一应用进行更新。An update unit is configured to update the first application that needs to be updated if necessary.
  10. 根据权利要求9所述的装置,其中,所述获取单元还用于获取所述移动终端的网络连接信息以及待机状态信息,判断所述移动终端是否连接WIFI以及是否处于待机状态;若所述移动终端连接WIFI且处于待机状态,则判定满足更新应用的触发条件。The device according to claim 9, wherein the obtaining unit is further configured to obtain network connection information and standby state information of the mobile terminal, and determine whether the mobile terminal is connected to WIFI and is in a standby state; if the mobile terminal When the terminal is connected to WIFI and is in a standby state, it is determined that the trigger condition for updating the application is met.
  11. 根据权利要求9所述的装置,其中,所述获取单元还用于获取所述移动终端的网络连接信息以及待机状态信息;若所述移动终端处于待机状态且连接数据流量网络,则获取所述数据流量网络的剩余流量值;若所述剩余流量值大于流量阈值,则判定满足更新应用的触发条件。The device according to claim 9, wherein the obtaining unit is further configured to obtain network connection information and standby state information of the mobile terminal; if the mobile terminal is in a standby state and connected to a data traffic network, obtain the The remaining traffic value of the data traffic network; if the remaining traffic value is greater than the traffic threshold, it is determined that a trigger condition for updating the application is satisfied.
  12. 根据权利要求10或11所述的装置,其中,所述移动终端的状态信息还包括所述移动终端的电量信息,和/或所述移动终端的充电状态,所述获取单 元还用于判断所述移动终端的电量信息是否大于电量阈值,和/或判断所述移动终端是否处于充电状态。The device according to claim 10 or 11, wherein the status information of the mobile terminal further comprises power information of the mobile terminal and / or a charging status of the mobile terminal, and the obtaining unit is further configured to determine the status of the mobile terminal. Whether the power information of the mobile terminal is greater than a power threshold, and / or determining whether the mobile terminal is in a charging state.
  13. 根据权利要求9所述的装置,其中,所述判断单元包括:The apparatus according to claim 9, wherein the determining unit comprises:
    第一判断子单元,用于从应用商店平台中获取所述第一应用的更新信息,以判断所述第一应用是否需要更新。A first determining subunit is configured to obtain update information of the first application from an application store platform to determine whether the first application needs to be updated.
  14. 根据权利要求9所述的装置,其中,所述判断单元还包括:The apparatus according to claim 9, wherein the determining unit further comprises:
    第二判断子单元,用于启动所述移动终端上的第一应用,获取所述第一应用反馈的更新信息,以判断所述第一应用是否需要更新。A second determination subunit is configured to start a first application on the mobile terminal, and obtain update information fed back by the first application, so as to determine whether the first application needs to be updated.
  15. 根据权利要求14所述的装置,其中,The apparatus according to claim 14, wherein:
    所述第二判断子单元还用于检测所述第一应用在不更新时是否可以启动,若不能启动,则判定所述第一应用需要更新。The second judging subunit is further configured to detect whether the first application can be started when it is not updated, and if it cannot be started, determine that the first application needs to be updated.
  16. 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus according to claim 9, wherein the apparatus further comprises:
    分析单元,用于获取所述移动终端上应用的使用习惯信息,分析用户使用所述移动终端上应用的使用频率;An analysis unit, configured to obtain usage habit information of an application on the mobile terminal, and analyze a usage frequency of a user using the application on the mobile terminal;
    选择单元,用于将所述使用频率大于阈值的应用作为所述第一应用,或者将所述使用频率小于阈值的指定应用作为所述第一应用;其中,所述指定应用至少包括订票应用。A selecting unit, configured to use the application whose frequency of use is greater than a threshold value as the first application, or to designate the application whose frequency of use is less than a threshold value as the first application; wherein the specified application includes at least a booking application .
  17. 一种移动终端,其中,包括处理器以及存储器;A mobile terminal including a processor and a memory;
    所述存储器用于储存支持更新应用的装置执行如权利要求1至8中任一项所述的更新应用的方法的程序;The memory is configured to store a program for a device supporting an update application to execute the method for updating an application according to any one of claims 1 to 8;
    所述处理器被配置为用于执行所述存储器中存储的程序。The processor is configured to execute a program stored in the memory.
PCT/CN2019/089663 2018-07-10 2019-05-31 Mobile terminal, and method and device for updating application thereof WO2020010965A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810753300.5 2018-07-10
CN201810753300.5A CN109194812A (en) 2018-07-10 2018-07-10 Mobile terminal and its method and apparatus for updating application

Publications (1)

Publication Number Publication Date
WO2020010965A1 true WO2020010965A1 (en) 2020-01-16

Family

ID=64936437

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/089663 WO2020010965A1 (en) 2018-07-10 2019-05-31 Mobile terminal, and method and device for updating application thereof

Country Status (2)

Country Link
CN (1) CN109194812A (en)
WO (1) WO2020010965A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113942203A (en) * 2020-07-17 2022-01-18 伊之密精密机械(苏州)有限公司 Vibration self-adaptive adjusting method and injection molding machine

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194812A (en) * 2018-07-10 2019-01-11 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its method and apparatus for updating application
CN112416382A (en) * 2019-08-23 2021-02-26 上海博泰悦臻网络技术服务有限公司 Application updating method and system
CN114363305B (en) * 2021-12-27 2023-12-15 广东明创软件科技有限公司 Application updating method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799447A (en) * 2012-06-19 2012-11-28 优视科技有限公司 Method and system for updating internal software of mobile terminal
US20140223423A1 (en) * 2013-02-05 2014-08-07 Apple Inc. Automatic Updating of Applications
CN104978209A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Application updating method and application updating device
CN105786560A (en) * 2016-01-25 2016-07-20 广东小天才科技有限公司 Upgrading method for application programs and upgrading system for application programs of terminal
CN109194812A (en) * 2018-07-10 2019-01-11 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its method and apparatus for updating application

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9032385B2 (en) * 2011-12-28 2015-05-12 Lg Electronics Inc. Mobile terminal and control method thereof
CN105824659A (en) * 2015-07-30 2016-08-03 广东维沃软件技术有限公司 Application program updating method and terminal equipment
CN105049366A (en) * 2015-08-24 2015-11-11 北京网田科技发展有限公司 Method and system for controlling traffic of automobile promotion application
CN107402777B (en) * 2016-05-20 2021-11-02 北京搜狗科技发展有限公司 Resource updating method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799447A (en) * 2012-06-19 2012-11-28 优视科技有限公司 Method and system for updating internal software of mobile terminal
US20140223423A1 (en) * 2013-02-05 2014-08-07 Apple Inc. Automatic Updating of Applications
CN104978209A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Application updating method and application updating device
CN105786560A (en) * 2016-01-25 2016-07-20 广东小天才科技有限公司 Upgrading method for application programs and upgrading system for application programs of terminal
CN109194812A (en) * 2018-07-10 2019-01-11 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its method and apparatus for updating application

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113942203A (en) * 2020-07-17 2022-01-18 伊之密精密机械(苏州)有限公司 Vibration self-adaptive adjusting method and injection molding machine
CN113942203B (en) * 2020-07-17 2023-12-29 伊之密精密机械(苏州)有限公司 Vibration self-adaptive adjusting method and injection molding machine

Also Published As

Publication number Publication date
CN109194812A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
US11237724B2 (en) Mobile terminal and method for split screen control thereof, and computer readable storage medium
WO2020010965A1 (en) Mobile terminal, and method and device for updating application thereof
WO2020015656A1 (en) Mobile terminal and permission management method and device for application program
WO2016150331A1 (en) Method and device for operating game client
WO2017008569A1 (en) Message updating method, apparatus, and terminal
US20180348980A1 (en) Method and apparatus for switching screen interface and terminal
WO2018032581A1 (en) Method and apparatus for application program control
CN106293901B (en) Process management method and device for terminal application
CN106775833B (en) Device driver loading method, terminal and system
CN106371964B (en) Method and device for prompting message
WO2018120905A1 (en) Message reminding method for terminal, and terminal
WO2018045487A1 (en) Data sharing method and terminal
CN106250122B (en) Information prompting method and device
WO2023246516A1 (en) Method and apparatus for generating visit report of clinical research project
WO2018049901A1 (en) Data migration method and related devices
WO2020001190A1 (en) Application program interface display method and device, readable storage medium, and mobile terminal
WO2018018704A1 (en) Application program freezing method and terminal device
CN107770449B (en) Continuous shooting method, electronic device and storage medium
CN106934003B (en) File processing method and mobile terminal
JP6974620B2 (en) Notification message processing method and terminal
CN104244448B (en) Reduce the method and system of data transmission delay
CN106371896B (en) Virutal machine memory configuration method and device, mobile terminal
CN112740634B (en) Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment
CN109309659B (en) Mobile terminal and method and device for logging in application of mobile terminal
CN110312995A (en) Application program accelerates starting method, apparatus and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19833418

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19833418

Country of ref document: EP

Kind code of ref document: A1