CN114416136A - Application upgrading method and device - Google Patents

Application upgrading method and device Download PDF

Info

Publication number
CN114416136A
CN114416136A CN202210022465.1A CN202210022465A CN114416136A CN 114416136 A CN114416136 A CN 114416136A CN 202210022465 A CN202210022465 A CN 202210022465A CN 114416136 A CN114416136 A CN 114416136A
Authority
CN
China
Prior art keywords
version
application
information
target
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210022465.1A
Other languages
Chinese (zh)
Inventor
刘少玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210022465.1A priority Critical patent/CN114416136A/en
Publication of CN114416136A publication Critical patent/CN114416136A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The application discloses an application upgrading method, an application upgrading device, electronic equipment and a readable storage medium, and the application upgrading method comprises the following steps: under the condition that a first interface of a first application is displayed, receiving a first input of a user on the first interface, wherein the first interface is a display interface in the first application of a first version; in response to the first input, upgrading the first application from the first version to the target version under the condition that a target object corresponding to the first input meets a first preset condition; wherein the target object comprises at least one of: and inputting the first input at the input position of the first interface, and inputting the corresponding operation control by the first input.

Description

Application upgrading method and device
Technical Field
The application belongs to the technical field of terminal equipment, and particularly relates to an application upgrading method and device.
Background
After an Application program (App) is issued, if the App adds a new function or repairs a bug of an original function, the App is issued in a patch form, and a user updates the patches to complete Application upgrade.
In some scenes, when a user opens the application software, if the application software has a new version, a prompt box pops up to prompt the user, the user updates the application software after confirming the application software, and after the application software is updated, the user opens the application software for use. Therefore, for a user who does not need to upgrade temporarily, the normal use of the APP by the user is affected, and the flexibility of application upgrade is poor, resulting in a low user experience.
Disclosure of Invention
The embodiment of the application provides an application upgrading method and device and electronic equipment, and solves the problem of poor application upgrading flexibility.
In a first aspect, an embodiment of the present application provides an application upgrading method, where the method includes:
under the condition that a first interface of a first application is displayed, receiving a first input of a user on the first interface, wherein the first interface is a display interface in the first application of a first version; in response to the first input, upgrading the first application from the first version to the target version under the condition that a target object corresponding to the first input meets a first preset condition; wherein the target object comprises at least one of: and inputting the first input at the input position of the first interface, and inputting the corresponding operation control by the first input.
In a second aspect, an embodiment of the present application provides an apparatus for upgrading an application, where the apparatus includes:
the first receiving module is used for receiving a first input of a user on a first interface under the condition that the first interface of a first application is displayed, wherein the first interface is a display interface in the first application of a first version; the upgrading module is used for responding to the first input, and upgrading the first application from the first version to the target version under the condition that the target object corresponding to the first input meets a first preset condition; wherein the target object comprises at least one of: and inputting the first input at the input position of the first interface, and inputting the corresponding operation control by the first input.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that a first interface of a first application is displayed, a first input of a user on the first interface is received, wherein the first interface is a display interface in the first application of a first version; in response to the first input, upgrading the first application from the first version to the target version under the condition that a target object corresponding to the first input meets a first preset condition; wherein the target object comprises at least one of: and inputting the first input at the input position of the first interface, and inputting the corresponding operation control by the first input. The display interface of the first application can be displayed after the first application is opened, so that the user who does not need to upgrade temporarily can normally use the application, and the first application is upgraded to the target version from the first version under the condition that the target object corresponding to the first input of the user on the first interface meets the first preset condition, the flexibility of application upgrading is improved, and the experience of the user is improved.
Drawings
Fig. 1 illustrates a first flowchart of an application upgrade method provided in an embodiment of the present application;
FIGS. 2A and 2B are schematic diagrams of an application interface provided by an embodiment of the application;
fig. 3 shows a second flowchart of an application upgrade method provided in an embodiment of the present application;
fig. 4 illustrates a third flowchart of an application upgrade method provided in an embodiment of the present application;
fig. 5 illustrates a fourth flowchart of an application upgrade method provided in an embodiment of the present application;
fig. 6 shows a fifth flowchart of an application upgrade method provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram illustrating an upgrading apparatus for an application provided in an embodiment of the present application;
fig. 8 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application;
fig. 9 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail an application upgrade method provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart illustrating an application upgrading method provided in an embodiment of the present application, where the method may be executed by a terminal device. In other words, the method may be performed by software or hardware installed in the terminal device. As shown in fig. 1, the method may include the following steps.
Step S101: and under the condition that a first interface of the first application is displayed, receiving a first input of a user on the first interface, wherein the first interface is a display interface in the first application of the first version.
In particular, the first version may be a current version of the first application, the user opens the first version of the first application, and the user is presented with a first interface of the first application, which is a display interface currently displayed by the first version of the first application. At least one operation control is displayed on the first interface, and one operation control correspondingly realizes one or more functions; or, a partial area in the first interface correspondingly realizes one or more functions.
The first input of the user at the first interface of the first application of the first version refers to: the triggering operation of the operation control in the first interface or the triggering operation of the part position in the first interface can be any one of clicking, long pressing and frame selecting.
Step S103: and in response to the first input, upgrading the first application from the first version to the target version under the condition that a target object corresponding to the first input meets a first preset condition.
Specifically, the target object includes at least one of: the input position of the first input on the first interface may be any position touched by a user on the first interface of the first application, and the operation control may be any operation control touched by the user on the first interface of the first application.
For example, fig. 2A illustrates a display interface of a first version of a mapping application having operational controls on the display interface including a "panorama" control, a "drive" control, a "public transportation" control, a "get car" control, and a "walk" control, among others. As shown in fig. 2B, when the user clicks the "panorama" control, the "panorama" control is associated with the target object or the position of the "panorama" control.
It is to be appreciated that the release time of the target version of the first application may be later than the release time of the first version of the first application, that is, the target version is a new version of the first application, and the first version may be a current version of the first application.
Wherein, the target object corresponding to the first input meeting the first preset condition comprises: an incidence relation exists between the target object and the update information of the first application of the target version; wherein the update information includes: and at least one of the position information of the first interface corresponding to the newly added function information, the position information of the first interface corresponding to the repair function information, and the information corresponding to the operation control.
Specifically, the update information of the target version of the first application may be stored in the cloud server in advance, the update information of the target version may be all update information of the first application on the basis of the first version, the update information includes but is not limited to a version number of the target version, new function information of the target version compared to the first version of the first application, and repair information of existing functions of the first version of the first application, the update information may further include an interface identifier of an interface where each newly added function is located, an interface identifier of an interface where repair information of each existing function is located, information corresponding to an operation control corresponding to the newly added function information, information corresponding to an operation control corresponding to the repair information of each existing function, position information corresponding to the information of each newly added function on the interface where the newly added function is located, and position information corresponding to the repair information of each existing function on the interface where the newly added function is located. The information corresponding to the operation control includes, but is not limited to, an identifier (such as a name) of the operation control, an image of the operation control, a position of the operation control, and the like.
Further, if there is a correspondence between at least one of the input position and the operation control and the update information of the target version, it indicates that there is an association between the target object and the update information of the target version of the first application. For example, if a function corresponding to the "panoramic" control in the "map interface" shown in fig. 2A has a vulnerability in the first version, and the vulnerability (repair information of the existing function) is solved in the target version, the update information of the target version records the repair information of the function corresponding to the "panoramic" control, the control identifier of the "panoramic" control (such as an Identity Identification (ID)), "the interface identifier of the map interface where the" panoramic "control is located," the control image of the "panoramic" control, "the position of the" panoramic "control in the map interface, and the like. When a user opens the map application of the first version, and after a map interface is presented for the user, the user clicks the 'panoramic' control in the map interface, and the 'panoramic' control in the map interface and the update information of the target version have associated information, the map application of the first version is upgraded to the map application of the target version, so that no leak exists in the use of the 'panoramic' control.
After the first application is upgraded to the target version from the first version, all new functions in the update information of the target version are newly added in the first application of the target version, and the functions with bugs in the first application of the first version are repaired.
According to the technical scheme, the display interface of the first application can be displayed after the first application is opened, the fact that a user who does not need to upgrade temporarily can normally use the application is guaranteed, the first application is upgraded to the target version from the first version under the condition that the target object corresponding to the first input of the user on the first interface meets the first preset condition, the flexibility of application upgrading is improved, and the experience feeling of the user is improved.
Fig. 3 is a flowchart illustrating an application upgrading method provided in an embodiment of the present application, where the method may be executed by a terminal device. In other words, the method may be performed by software or hardware installed in the terminal device. As shown in fig. 3, the method may include the following steps.
Step S300: under the condition that M second versions of the first application exist, respectively obtaining updating information of the M second versions of the first application; and under the condition that the target information matched with the target object exists in the updating information, determining that the second version corresponding to the target information is the target version.
Specifically, the second version is a detected new version of the first application, M second versions of the first application are all higher than the first version, the target version includes at least one of the M second versions, the release time of the second version is later than the release time of the first version, the update information of the second version includes at least one of interface identifiers of each first interface in the second version, newly added function information, repair function information, position information corresponding to the newly added function information, position information corresponding to the repair function information, and operation control information, and the operation control information includes, but is not limited to, an identifier of an operation control, an image of the operation control, a position of the operation control, and the like. The new function information and the repair function information in the update information of different second versions are different, and the interface identifier of the first interface, the position information corresponding to the new function information, the position information corresponding to the repair function information, and the operation control information in the update information of different second versions may be the same or different.
The target information includes, but is not limited to, at least one of position information of the first interface corresponding to the new function information, position information of the first interface corresponding to the repair function information, and information corresponding to the operation control. And if any one of the input position or the operation control is matched with any one of the target information in the updating information, determining that the second version corresponding to the target information is the target version.
For example, when the number of the second versions is two, the update information of one of the second versions includes new function information corresponding to the "panorama" control shown in fig. 2A, repair information of an existing function, an identifier corresponding to the "panorama" control, an image, an interface identifier of the map interface where the "panorama" control is located, and location information of the panorama control on the map interface. The other second version of information contains new function information, operation control identification, operation control image, interface identification and position information of the interface where the control is located, which correspond to the "driving" control shown in fig. 2A. After clicking the "panorama" control in the "map application" of the first version in fig. 2A, the user upgrades the "map application" of the first version to the second version whose update information contains the corresponding information of the "panorama" control, but does not select to upgrade to the second version whose update information only includes the corresponding information of the "driving" control (such as new function information, operation control identification, operation control image, interface identification of the interface where the user is located, and location information).
Thus, when upgrading the first application to the target version, the target version may not be the latest version of the first application. Step S301: and under the condition that a first interface of the first application is displayed, receiving a first input of a user on the first interface, wherein the first interface is a display interface in the first application of the first version.
Step S303: and in response to the first input, upgrading the first application from the first version to the target version under the condition that a target object corresponding to the first input meets a first preset condition.
Wherein the target object comprises at least one of: and inputting the first input at the input position of the first interface, and inputting the corresponding operation control by the first input.
It should be noted that steps S301 to S303 have the same or similar implementation manner as steps S101 to S103, which can be referred to each other, and the embodiments of the present application are not described herein again.
According to the technical scheme, the display interface of the first application can be displayed after the first application is opened, the fact that a user who does not need to upgrade temporarily can normally use the application is guaranteed, the first application is upgraded to the target version from the first version under the condition that the target object corresponding to the first input of the user on the first interface meets the first preset condition, the flexibility of application upgrading is improved, and the experience feeling of the user is improved. In addition, compared with the first version, under the condition that the first application has a plurality of new versions, the first application can be upgraded to the new version corresponding to the target information matched with the target object in the updating information from the first version instead of being directly upgraded to the latest version, so that the requirements of users are further met, the upgrading flexibility of the application is improved, and the experience of the users is improved.
Fig. 4 is a flowchart illustrating an application upgrading method provided in an embodiment of the present application, where the method may be executed by a terminal device. In other words, the method may be performed by software or hardware installed in the terminal device. As shown in fig. 4, the method may include the following steps.
Step S401: and under the condition that a first interface of the first application is displayed, receiving a first input of a user on the first interface, wherein the first interface is a display interface in the first application of the first version.
Step S403: responding to the first input, and under the condition that a target object corresponding to the first input meets a first preset condition, selecting a first target version from a plurality of target versions according to network information; and upgrading the first application from the first version to the first target version.
Wherein the target object comprises at least one of: the input position of the first input on the first interface, the operation control corresponding to the first input, and the network information comprise at least one of a network type and a network transmission rate.
Specifically, if any one of the input position or the operation control matches any one of the target information in the update information, the second version corresponding to the target information is determined to be the target version, wherein the target version may be multiple.
For the current network information, one of the target versions is selected as a first target version, which may be selected from the target versions according to a network type, including but not limited to Wireless Fidelity (WI-FI), third Generation Mobile Communication Technology (3G), fourth Generation Mobile Communication Technology standard (4G), and fifth Generation Mobile Communication Technology (5G). When the network type is WI-FI, the latest version may be selected from the plurality of target versions as the first target version, and when the network type is 3G, 4G, or 5G (data mobile network), the lowest version or the version with the smallest update package may be selected from the plurality of target versions as the first target version to avoid loss of user traffic.
The update time is shortened by selecting one of the target versions as a first target version according to the network transmission rate, selecting the latest version as the first target version from the target versions if the network transmission rate is not less than a first threshold, and selecting the lowest version as the first version from the target versions if the network transmission rate is less than the first threshold.
It is to be noted that step S401 and step S101 have the same or similar implementation manners, which can be referred to each other, and the embodiments of the present application are not described herein again.
According to the technical scheme, the display interface of the first application can be displayed after the first application is opened, the fact that a user who does not need to upgrade temporarily can normally use the application is guaranteed, the first application is upgraded to the target version from the first version under the condition that the target object corresponding to the first input of the user on the first interface meets the first preset condition, the flexibility of application upgrading is improved, and the experience feeling of the user is improved. In addition, the first target version is selected from the multiple target versions through the network information, so that the updating time of the first application is shortened, the user flow consumption is avoided, and the user experience is improved.
In a possible implementation manner, the update information of a plurality of target versions and/or the version numbers of a plurality of target versions may be displayed on a display screen of the terminal device, and in response to a selection operation of a user on each update information or version number, the user may select a version required by the user from different target versions and upgrade the version. When displayed, the update information of each target version can be displayed separately, so that the user can distinguish the update information.
Specifically, the selection operation includes, but is not limited to, clicking, frame selection, long-press, and the like. For example, when the user clicks any position where the update information of the first target version is displayed, the first application is upgraded from the first version to the first target version. And when the user clicks any position of the update information of the second target version, upgrading the first application from the first version to the second target version.
According to the technical scheme disclosed by the embodiment of the application, under the condition that the first application has a plurality of new versions, the user can select the version required by the user to complete the upgrading of the application, and the flexibility of the upgrading of the application and the experience of the user are further improved.
Fig. 5 is a flowchart illustrating an application upgrading method provided in an embodiment of the present application, where the method may be executed by a terminal device. In other words, the method may be performed by software or hardware installed in the terminal device. As shown in fig. 5, the method may include the following steps.
Step S501: and under the condition that a first interface of the first application is displayed, receiving a first input of a user on the first interface, wherein the first interface is a display interface in the first application of the first version.
Step S503: and in response to the first input, upgrading the target object in the first application from the first version to the target version under the condition that the target object corresponding to the first input meets a first preset condition.
Wherein the target object comprises at least one of: and inputting the first input at the input position of the first interface, and inputting the corresponding operation control by the first input.
It can be appreciated that such updates are only version upgrades to the target object, not to the entire application.
The update information of the target version comprises new function information which is added by the first application of the target version compared with the first version, repair information of an existing function of the first version of the first application, operation control information corresponding to the new function information or the repair information of the existing function, an interface identifier corresponding to the new function information or the repair information of the existing function, and position information corresponding to the new function information or the repair information of the existing function.
Specifically, the input position is matched with position information in the update information of the target version, and/or the operation control is matched with operation control information in the update information of the target version, and if the matching is successful, the target object of the first application is upgraded from the first version to the target version. Upgrading the target object from the first version to the target version refers to: and repairing the existing functions at the operation control or the input position or adding new functions at the operation control or the input position according to the update information of the target version.
For example, the information of the target version includes new function information corresponding to the "control" panorama shown in fig. 2A, repair information of an existing function, a control identifier, a control image, an interface identifier and position information of a map interface where the control is located, and new function information corresponding to the "driving" control, operation control information, and an interface identifier and position information of an interface where the control is located. When a user clicks a panoramic control on a map interface, the identifier of the map interface where the panoramic control is located is matched with the interface identifier of the map interface in the update information of the target version, the touch position of the currently touched panoramic control is matched with the position information in the update information of the target version, or the operation control identifier of the currently touched panoramic control is matched with the operation control identifier in the update information of the target version, or the control icon of the currently touched panoramic control is matched with the operation control image in the update information of the target version, the panoramic control in the map application is upgraded from the first version to the target version, specifically, a function is added to the panoramic control, or the existing function of the panoramic control is repaired, and the update of the version is completed.
It is to be noted that step S501 and step S101 have the same or similar implementation manners, which can be referred to each other, and the embodiments of the present application are not described herein again.
Through the technical scheme disclosed by the embodiment of the application, only the target object corresponding to the first input of the user in the first application can be upgraded according to the requirement of the user without upgrading the whole first application, so that the time for upgrading the application is shortened, the flexibility of upgrading the application is further improved, and the user experience is high.
Fig. 6 is a flowchart illustrating an application upgrading method provided in an embodiment of the present application, where the method may be executed by a terminal device. In other words, the method may be performed by software or hardware installed in the terminal device. As shown in fig. 6, the method may include the following steps.
Step S601: and under the condition that a first interface of the first application is displayed, receiving a first input of a user on the first interface, wherein the first interface is a display interface in the first application of the first version.
Step S602: and displaying the update information of the target version, wherein the target information corresponding to the target object in the update information is highlighted.
Wherein the update information includes: and at least one of the position information of the first interface corresponding to the newly added function information, the position information of the first interface corresponding to the repair function information, and the information corresponding to the operation control.
The target information comprises at least one of an interface identifier of a first interface where the target object is located, newly added function information corresponding to the target object, repair function information corresponding to the target object, position information of the newly added function information corresponding to the target object, information corresponding to the operation control and an input position.
The highlighting of the target information corresponding to the target object in the update information may be a highlighting or a front display, and the front display may be a first-order display.
Step S603: and in response to the first input, upgrading the first application from the first version to the target version under the condition that a target object corresponding to the first input meets a first preset condition.
Wherein the target object comprises at least one of: and inputting the first input at the input position of the first interface, and inputting the corresponding operation control by the first input.
It should be noted that step S601 and step S603 have the same or similar implementation manner as step S101 and step S103, which can be referred to each other, and the embodiments of the present application are not described herein again.
According to the technical scheme disclosed by the embodiment of the application, the target information corresponding to the target object in the update information of the target version is highlighted, so that the update information of the target object of a user is prompted conveniently, the user can know about a newly added function or a repaired function of the target object concerned by the user conveniently, the application upgrading flexibility is high, and the user experience is further improved.
It should be noted that, in the application upgrading method provided in the embodiment of the present application, the execution subject may be an application upgrading device, or a control module in the application upgrading device for executing the application upgrading method. The application upgrading device provided by the embodiment of the present application is described with an application upgrading method executed by an application upgrading device as an example.
Fig. 7 shows a schematic structural diagram of an upgrade apparatus for an application provided in an embodiment of the present application, where the apparatus 700 includes: a first receiving module 701, configured to receive a first input of a user on a first interface when the first interface of a first application is displayed, where the first interface is a display interface in a first version of the first application; the upgrading module 702 is configured to, in response to a first input, upgrade a first application from a first version to a target version when a target object corresponding to the first input meets a first preset condition; wherein the target object comprises at least one of: and inputting the first input at the input position of the first interface, and inputting the corresponding operation control by the first input.
In the embodiment of the application, the display interface of the first application can be displayed after the first application is opened, so that the user who does not need to upgrade temporarily can use the application normally, and the first application is upgraded from the first version to the target version only when the target object corresponding to the first input of the user on the first interface meets the first preset condition, so that the flexibility of application upgrading is improved, and the experience of the user is improved.
In one possible implementation manner, an association relationship exists between the target object and the update information of the first application of the target version; wherein the update information includes: and at least one of the position information of the first interface corresponding to the newly added function information, the position information of the first interface corresponding to the repair function information, and the information corresponding to the operation control.
In one possible implementation manner, the method further includes: the acquisition module is used for respectively acquiring the update information of the first application with the M second versions under the condition that the first application is detected to have the M second versions; the determining module is used for determining that the second version corresponding to the target information is the target version under the condition that the target information matched with the target object exists in the updating information; wherein the M second versions are all higher than the first version, and the target version comprises at least one of the M second versions.
In a possible implementation manner, the upgrading module 702 is further configured to select a first target version from the multiple target versions according to the network information; upgrading the first application from the first version to a first target version; wherein the network information includes at least one of a network type and a network transmission rate.
In one possible implementation manner, the method further includes: the display module is used for displaying the update information of the target version, wherein the target information corresponding to the target object in the update information is highlighted; the update information includes: and at least one of the position information of the first interface corresponding to the newly added function information, the position information of the first interface corresponding to the repair function information, and the information corresponding to the operation control.
In one possible implementation, the upgrading module 702 is further configured to upgrade the target function in the first application from the first version to the target version.
The upgrading device of the application in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The upgrade apparatus for an application in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The application upgrading device provided by the embodiment of the application can realize each process realized by the method embodiment, and is not described again to avoid repetition.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The system comprises a user input unit 807 for receiving a first input of a user on a first interface under the condition that the first interface of a first application is displayed, wherein the first interface is a display interface in the first application of a first version, and a processor 810 for responding to the first input and upgrading the first application from the first version to a target version under the condition that a target object corresponding to the first input meets a first preset condition; wherein the target object comprises at least one of: the input position of a first input on a first interface, the operation control corresponding to the first input, and the condition that a target object corresponding to the first input meets a first preset condition include: an incidence relation exists between the target object and the update information of the first application of the target version; wherein the update information includes: and at least one of the position information of the first interface corresponding to the newly added function information, the position information of the first interface corresponding to the repair function information, and the information corresponding to the operation control. .
The processor 810 is further configured to, when it is detected that the first application has M second versions, obtain update information of the first application of the M second versions, respectively; under the condition that the target information matched with the target object exists in the updating information, determining that a second version corresponding to the target information is a target version; wherein the M second versions are all higher than the first version, and the target version comprises at least one of the M second versions.
The processor 810 is further configured to select a first target version from the multiple target versions according to the network information; upgrading the first application from the first version to a first target version; wherein the network information includes at least one of a network type and a network transmission rate.
A display unit 806, configured to display update information of a target version, where target information corresponding to a target object in the update information is highlighted; the update information includes: and at least one of the position information of the first interface corresponding to the newly added function information, the position information of the first interface corresponding to the repair function information, and the information corresponding to the operation control.
The processor 810 is further configured to upgrade the target object in the first application from the first version to the target version.
The rf unit 801 may be used for receiving and transmitting information or signals during a call. Specifically, the downlink data from the base station is received and then processed by the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear.
The display unit 806 is used to display information input by the user or information provided to the user (e.g., display a summary). The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory).
The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
Optionally, as shown in fig. 9, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and executable on the processor 901, where the program or the instruction is executed by the processor 901 to implement each process of the foregoing application upgrade method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing application upgrade method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, so as to implement each process of the above-mentioned application upgrade method embodiment, and achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method for upgrading an application, the method comprising:
under the condition that a first interface of a first application is displayed, receiving a first input of a user on the first interface, wherein the first interface is a display interface in the first application of a first version;
in response to the first input, upgrading the first application from the first version to a target version under the condition that a target object corresponding to the first input meets a first preset condition;
wherein the target object comprises at least one of: and the first input is at the input position of the first interface, and the operation control corresponding to the first input is input.
2. The application upgrading method according to claim 1, wherein the target object corresponding to the first input meeting a first preset condition includes:
an incidence relation exists between the target object and the updating information of the first application of the target version;
wherein the update information includes: at least one of position information of the first interface corresponding to the newly added function information, position information of the first interface corresponding to the repair function information, and information corresponding to the operation control.
3. The method for upgrading an application, according to claim 2, further comprising, before said receiving a first input of a user at said first interface:
under the condition that M second versions of the first application exist, respectively obtaining updating information of the M first applications of the second versions;
under the condition that the target information matched with the target object exists in the update information of the first application of the second version, determining that the second version corresponding to the target information is the target version;
wherein the M second versions are all higher than the first version, and the target version comprises at least one of the M second versions.
4. The method for upgrading an application according to any one of claims 1 to 3, wherein the target version includes a plurality of versions, and the upgrading the first application from the first version to the target version includes:
selecting a first target version from the plurality of target versions according to network information;
upgrading the first application from the first version to the first target version;
wherein the network information comprises at least one of a network type and a network transmission rate.
5. The method for upgrading an application according to claim 1, further comprising, before the upgrading the first application from the first version to a target version:
displaying the update information of the target version, wherein the target information corresponding to the target object in the update information is highlighted;
the update information includes: at least one of position information of the first interface corresponding to the newly added function information, position information of the first interface corresponding to the repair function information, and information corresponding to the operation control.
6. The method for upgrading an application according to claim 5, wherein upgrading the first application from the first version to a target version comprises:
and upgrading the target object in the first application from the first version to the target version.
7. An apparatus for upgrading an application, comprising:
the device comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving a first input of a user on a first interface under the condition that the first interface of a first application is displayed, and the first interface is a display interface in the first application of a first version;
the upgrading module is used for responding to the first input, and upgrading the first application from the first version to a target version under the condition that a target object corresponding to the first input meets a first preset condition;
wherein the target object comprises at least one of: and the first input is at the input position of the first interface, and the operation control corresponding to the first input is input.
8. The apparatus for upgrading an application according to claim 7, wherein an association exists between the target object and the update information of the first application of the target version;
wherein the update information includes: at least one of position information of the first interface corresponding to the newly added function information, position information of the first interface corresponding to the repair function information, and information corresponding to the operation control.
9. The apparatus for upgrading an application according to claim 8, further comprising:
the acquisition module is used for respectively acquiring the update information of the first applications of the M second versions under the condition that the first applications are detected to have the M second versions;
the determining module is used for determining that the second version corresponding to the target information is the target version under the condition that the target information matched with the target object exists in the update information of the first application of the second version;
wherein the M second versions are all higher than the first version, and the target version comprises at least one of the M second versions.
10. The apparatus for upgrading an application according to any one of claims 7 to 9, wherein the upgrading module is further configured to select a first target version from the plurality of target versions according to network information;
upgrading the first application from the first version to the first target version;
wherein the network information comprises at least one of a network type and a network transmission rate.
11. The apparatus for upgrading an application according to claim 7, further comprising:
the display module is used for displaying the update information of the target version, wherein the target information corresponding to the target object in the update information is highlighted;
the update information includes: at least one of position information of the first interface corresponding to the newly added function information, position information of the first interface corresponding to the repair function information, and information corresponding to the operation control.
12. The apparatus for upgrading an application according to claim 11, wherein the upgrading module is further configured to upgrade a target function in the first application from the first version to the target version.
CN202210022465.1A 2022-01-10 2022-01-10 Application upgrading method and device Pending CN114416136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210022465.1A CN114416136A (en) 2022-01-10 2022-01-10 Application upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210022465.1A CN114416136A (en) 2022-01-10 2022-01-10 Application upgrading method and device

Publications (1)

Publication Number Publication Date
CN114416136A true CN114416136A (en) 2022-04-29

Family

ID=81270589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210022465.1A Pending CN114416136A (en) 2022-01-10 2022-01-10 Application upgrading method and device

Country Status (1)

Country Link
CN (1) CN114416136A (en)

Similar Documents

Publication Publication Date Title
CN110673782B (en) Control method applied to screen projection scene and related equipment
CN110096326B (en) Screen capturing method, terminal equipment and computer readable storage medium
CN110062105B (en) Interface display method and terminal equipment
US20220300302A1 (en) Application sharing method and electronic device
CN110874147B (en) Display method and electronic equipment
CN109739402B (en) Fast application processing method and terminal equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108345425B (en) Application management method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN110308834B (en) Setting method of application icon display mode and terminal
CN111399716A (en) Icon position adjusting method and electronic equipment
CN107967153B (en) Application program management method and mobile terminal
CN111522575B (en) Application program upgrading method and electronic equipment
CN109101327B (en) Switching of light application and mobile terminal
CN111475070B (en) Display method of application interface and electronic equipment
CN110928619B (en) Wallpaper setting method and device, electronic equipment and medium
CN111158485B (en) Screen control method and electronic equipment
CN111090529B (en) Information sharing method and electronic equipment
CN110167006B (en) Method for controlling application program to use SIM card and terminal equipment
CN109284146B (en) Light application starting method and mobile terminal
CN111562959A (en) Icon management method and electronic equipment
CN111638822A (en) Icon operation method and device and electronic equipment
CN111367450A (en) Application program control method, electronic device and medium
CN111309390A (en) Method for acquiring configuration information and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination