CN113138786B - Application updating method and device - Google Patents
Application updating method and device Download PDFInfo
- Publication number
- CN113138786B CN113138786B CN202110449863.7A CN202110449863A CN113138786B CN 113138786 B CN113138786 B CN 113138786B CN 202110449863 A CN202110449863 A CN 202110449863A CN 113138786 B CN113138786 B CN 113138786B
- Authority
- CN
- China
- Prior art keywords
- identifier
- application
- target
- version
- user
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
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 updating method and device, and belongs to the technical field of communication. The method comprises the following steps: under the condition of running a target application, the first equipment acquires N pieces of second equipment information and displays a target interface; the target interface comprises a first identifier corresponding to the first equipment and N second identifiers corresponding to N second equipment, wherein the first identifier is used for representing version information corresponding to target application in the first equipment, and the N second identifiers are used for representing version information corresponding to target application in the N second equipment; receiving a first input of a first identifier from a user; in response to the first input, updating the display location of the first identifier; and updating the application version corresponding to the first identifier based on the application version corresponding to the third identifier under the condition that the display position of the first identifier is at least partially overlapped with the display position of the third identifier and the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to an application updating method and device.
Background
With the rapid development of mobile terminals, the number of terminal users is also increasing, and in order to improve user experience, various application programs are updated more frequently. In general, there are many ways to install and update an application program, such as updating in various application stores or detecting updates within an application by itself.
For the way of installing and updating through an application store, the situation that the version of an application program in the application store is an old version due to untimely maintenance, the self-detection of the application is the old version after downloading and the forced updating to the new version in the application program is needed for use can often occur, the situation that the self-detection of the application must be updated to an intermediate version and then the self-detection of the application must be updated upwards for use can occur (for example, the version A of the store-the detection of the application must be updated to the version B-the detection of the application must be updated to the version C-the use can be performed), three times of downloading and updating are involved, and the situation usually does not inform the user in advance, the information difference causes the user to spend more flow and more time, and the use experience of the user is greatly reduced.
Disclosure of Invention
The embodiment of the application updating method and device can solve the problem that an existing version updating mode may cause a user to spend more time and flow to update an application version, and user experience is reduced.
In a first aspect, an embodiment of the present application provides an application update method, where the method includes:
under the condition of running a target application, the first equipment acquires N pieces of second equipment information and displays a target interface, wherein the N pieces of second equipment are equipment which runs the target application and is connected with the same server as the target application of the first equipment;
the target interface comprises a first identifier corresponding to the first device and N second identifiers corresponding to N second devices, wherein the first identifier is used for representing version information corresponding to the target application in the first device, and the N second identifiers are used for representing version information corresponding to the target application in the N second devices;
receiving a first input of a user to the first identifier;
updating a display position of the first identifier in response to the first input;
updating the application version corresponding to the first identifier based on the application version corresponding to the third identifier under the condition that the display position of the first identifier is at least partially overlapped with the display position of the third identifier and the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier;
Wherein the N second identifications comprise the third identification.
In a second aspect, an embodiment of the present application provides an application update apparatus, including:
the target interface display module is used for acquiring N pieces of second equipment information and displaying a target interface by the first equipment under the condition of running the target application, wherein the N pieces of second equipment are equipment which runs the target application and is connected with the same server with the target application of the first equipment;
the target interface comprises a first identifier corresponding to the first device and N second identifiers corresponding to N second devices, wherein the first identifier is used for representing version information corresponding to the target application in the first device, and the N second identifiers are used for representing version information corresponding to the target application in the N second devices;
the first input receiving module is used for receiving a first input of a user on the first identifier;
a display location updating module for updating a display location of the first identifier in response to the first input;
an application version updating module, configured to update, based on an application version corresponding to a third identifier, an application version corresponding to the first identifier when a display position of the first identifier at least partially coincides with a display position of the third identifier, and version information of a target application corresponding to the third identifier is higher than version information of the target application corresponding to the first identifier;
Wherein the N second identifications comprise the third identification.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions implementing the steps of the application update method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the application update method as described in the first aspect.
In a fifth aspect, an embodiment of the present application provides 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 an application update method according to the first aspect.
In the embodiment of the application, under the condition of running a target application, the first device obtains N pieces of second device information and displays a target interface, the N pieces of second devices are devices which run the target application and are connected with the same server with the target application of the first device, the target interface comprises a first identifier corresponding to the first device and N pieces of second identifiers corresponding to the N pieces of second devices, the first identifier is used for representing version information corresponding to the target application in the first device, the N pieces of second identifiers are used for representing version information corresponding to the target application in the N pieces of second device, a first input of the first identifier by a user is received, the display position of the first identifier is updated in response to the first input, and under the condition that the display position of the first identifier at least partially coincides with the display position of the third identifier and the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier, the application version corresponding to the first identifier is updated based on the application version corresponding to the third identifier, and the N pieces of second identifier include the third identifier. According to the embodiment of the application version identification method and the application version identification device, the application version identification of the N second devices is displayed in the displayed target interface, the update of the application version of the target application can be realized through the input of the local version identification by the user in the target interface, the condition that the application is updated to the middle version and then is updated upwards can be avoided, therefore, the update time and flow of the application version can be reduced, and the user experience is improved.
Drawings
Fig. 1 is a flowchart of steps of an application update method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a target interface according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an application updating device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The application updating method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Referring to fig. 1, a step flowchart of an application update method provided in an embodiment of the present application is shown, and as shown in fig. 1, the application update method may specifically include the following steps:
step 101: under the condition of running the target application, the first device acquires N pieces of second device information and displays a target interface, wherein the N pieces of second devices are devices which run the target application and are connected with the same server with the target application of the first device.
The method and the device can be applied to a scene of updating the application version of the local application in combination with the application version of the application program of other devices in the same server in the target page.
The embodiment can be applied to a first device, that is, the first device is used as an execution subject.
N second devices refer to devices for running the target application currently, wherein N is a positive integer greater than or equal to 1. And N second devices are connected with the same server with the target application of the first device when running the target application.
The target interface is an interface for displaying version information of the target application in the first device and the N second devices, and a first identifier corresponding to the first device and N second identifiers corresponding to the N second devices may be included in the target interface, where the first identifier may be used to represent version information corresponding to the target application in the first device, and the N second identifiers are used to identify version information corresponding to the target application in the N second devices. As shown in fig. 2, the displayed interface is a target interface, in which a first identification user 1 and a version a1 corresponding to the first device and a second identification user 2 and a version a2 corresponding to the second device are displayed; user 3, version a3; user 4, version a2 and user 5, version a2, etc.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present application, and are not to be construed as the only limitation of the present embodiments.
Of course, in this embodiment, upgrade indicating information corresponding to the first identifier is further displayed in the target interface, where the upgrade indicating information may be information indicating whether the target application running in the first device needs forced upgrade, in an actual application, the upgrade indicating information may be color information, for example, when version information of the target application in the first device is lower than that of the target application in the second device, a version upgrade record of the target application in the second device may be used, and an application version of the target application in the second device and an application version of the target application in the first device are compared to determine whether the application version of the target application in the first device needs forced update, and if the application version of the target application in the first device needs forced update, color B is displayed, and if the application version of the target application does not need forced update, color a is also displayed.
According to the method and the device for updating the local target application, the upgrading indication information is displayed in the target interface, so that a user can intuitively know whether the application version of the local target application needs to be forcedly updated or not, and the user experience is improved.
Under the condition that the first equipment runs the target application, N pieces of second equipment information can be acquired through the first equipment, and a target interface is displayed.
After the target interface is displayed, step 102 is performed.
Step 102: a first input is received from a user of the first identification.
The first input refers to an input performed by the user on the first identifier for updating the display position of the first identifier.
In some examples, the first input may be an input formed by a user dragging the first identifier, for example, when the user needs to adjust a display position of the first identifier in the target interface, the first identifier may be dragged by the user in the target interface to adjust the display position of the first identifier, and at this time, the user dragging the first identifier may be regarded as the first input.
In some examples, the first input may be an input formed by two clicking operations of the user, for example, when the user needs to adjust the display position of the first identifier in the target interface, the user may click on the first identifier first, then perform a second clicking operation at the target position in the target interface, that is, adjust the first identifier from the home position to the target position, at this time, the two clicking operations performed by the user may be regarded as the first input, and so on.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present application, and are not to be construed as the only limitation of the present embodiments.
After the target interface is displayed, if the user needs to update the application version of the target application, the user may perform the first input on the first identifier, specifically, drag the first identifier to a position associated with a certain second identifier, and then drag the first identifier by the user may be regarded as the first input.
After receiving a first input of a first identification by a user, step 103 is performed.
Step 103: and updating the display position of the first identifier in response to the first input.
After receiving the first input of the first identifier by the user, the display position of the first identifier may be responded and updated according to the input parameter of the first input, in this example, the input parameter of the first input may be determined according to the form of the first input, for example, when the first input is a drag input, the input parameter of the first input is a drag direction and a drag distance, and the drag direction and the drag distance are combined, and the original display position of the first identifier may be calculated to obtain the adjusted position of the first identifier. Or when the first input is two-click input, the first input pair input parameter is the position of the second-click input, namely, the position of the second-click input is used as the adjustment display position of the first mark.
It will be appreciated that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present application, and are not to be construed as the only limitation of the present embodiments.
After updating the display position of the first identifier, step 104 is performed.
Step 104: and updating the application version corresponding to the first identifier based on the application version corresponding to the third identifier under the condition that the display position of the first identifier is at least partially overlapped with the display position of the third identifier and the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier.
The third mark refers to a mark which is at least partially overlapped with the display position of the first mark in the second mark.
After updating the display position of the first identifier, it may be determined whether the display position of the first identifier coincides with the display position of one of the N second identifiers.
When it is determined that the display position of the first identifier at least partially coincides with the display position of one of the N second identifiers (i.e., the third identifier), the application version may be determined, that is, whether the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier.
If the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier, the application version corresponding to the first identifier may be updated according to the application version corresponding to the third identifier, specifically, since the second identifiers displayed in the target interface are all version identifiers shared by the second device, when the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier, a version installation package acquisition request may be generated and sent to the second device corresponding to the third identifier, so as to request the version installation package of the target application on the second device side, if the second device accepts the request, the version installation package of the target application may be sent to the first device, and after the first device receives the version installation package, the version installation package may be downloaded, so as to update the application version of the local target application.
When the second device refuses to send the application installation package to the first device, a version update request corresponding to the target application in the first device may be generated and sent to the application platform, so that the application platform issues the application version installation package corresponding to the target application to the first device.
According to the embodiment of the application version updating method and device, the update of the application version of the target application can be realized through the input of the local version identifier in the target interface by the user, the condition that the application is updated to the intermediate version and then is updated upwards can be avoided, and therefore the update time and flow of the application version can be reduced.
In this embodiment, if the target application in the first device needs to be forcedly upgraded, but the user cannot start the target application when the user does not upgrade, the following detailed description may be specifically provided in connection with the following specific implementation manner.
In another specific implementation manner of the present application, after the step 101, the method may further include:
step S1: and under the condition that the target application in the first equipment needs to be forcedly updated and the application version corresponding to the first identifier is not updated, receiving touch input of a user on the target application.
In this embodiment, the touch input refers to an input performed by a user on a target application for starting the target application, in this example, the touch input may be an input formed by clicking the target application by the user, or may be an input formed by double clicking the target application by the user, or the like, and specifically, the specific form of the touch input may be determined according to a service requirement, which is not limited in this embodiment.
Under the condition that the target application in the first device needs to be forcedly updated and the application version corresponding to the first identifier is not updated, if the user needs to start the target application, touch input of the user to the target application can be received.
After receiving the touch input of the user to the target application, step S2 is performed.
Step S2: and responding to the touch input, canceling the display of the target interface, and prohibiting the starting of the target application.
After touch input of the user to the target application is received, the display target interface can be canceled in response to the touch input, and the target application is prohibited from being started, namely, the target application can be started after the user must update the version of the target application to a version which can be started, and in the actual application, upgrade prompt information can be generated to prompt the user to start the version of the application which is required to be upgraded of the target application, so as to prompt the user to update the version of the target application.
In this embodiment, the contact identifier and the non-contact identifier may also be displayed in the target interface, so that the user may implement addition of the non-contact via the target interface, and specifically, the following detailed description may be provided in connection with the following specific implementation manner.
In another specific implementation manner of the present application, the second device information is information from a target session application program, a user identifier corresponding to the second device is displayed in the target interface, where the user identifier includes a contact identifier and a non-contact identifier, and after the step 101, the method may further include:
step M1: and receiving a second input of the user to the non-contact identification.
In this embodiment, the contact identifier refers to an identifier of a user in a contact list of a target session application program of the first device, that is, an identifier of a friend of the local user, which is displayed in the target interface.
The non-contact identification refers to the identification of the user that is not in the contact list of the target session application of the first device, i.e. the identification of the friends of the non-local user, displayed in the target interface.
In this example, the contact identifier and the non-contact identifier may be color identifiers, or may be digital identifiers, or the like, and specifically, may be determined according to service requirements, which is not limited in this embodiment.
The second input is input in a contact list of a target session application of the first device for adding a user corresponding to the non-contact identifier performed by the user on the non-contact identifier within the target interface. In this example, the second input may be an input formed by clicking the non-contact identifier by the user, or may be an input formed by long pressing the non-contact identifier by the user, or the like, and specifically, the specific form of the second input may be determined according to the service requirement, which is not limited in this embodiment.
After the target interface is displayed, if the user wants to add the user corresponding to the displayed non-contact identifier in the target interface as a friend, the user can execute a second input on the non-contact identifier.
After receiving a second input by the user on the non-contact identification, step M2 is performed.
Step M2: and in response to the second input, adding the user corresponding to the non-contact identification to a contact list of the target session application.
After receiving the second input of the user for the non-contact identification, the user corresponding to the non-contact identification may be added to the contact list of the target session application of the first device in response to the second input.
According to the method and the device for adding friends, friends can be added through the target interface, so that the users can play games with other users together, and the use experience of the users is improved.
In this embodiment, after the application version of the target application in the first device is updated, a version installation package of the updated application version may also be saved, so that other users may update the version of the target application, which may be specifically described in detail in connection with the following specific implementation manner.
In another specific implementation manner of the present application, after the step 104, the method may further include:
Step N1: and after the application version corresponding to the first identifier is updated successfully, canceling to display the target interface and storing a version installation package of the application version corresponding to the third identifier.
In this embodiment, after the update of the application version corresponding to the first identifier is successful, the display target interface may be omitted, and the version installation package of the application version corresponding to the third identifier may be saved.
After the version installation package of the application version corresponding to the third identifier is saved, step N2 is executed.
Step N2: and under the condition that the first user receives the update operation of the same version of the application version of the target application corresponding to the first identifier, the version installation package is sent to the first user.
And under the condition that the first user receives the update operation of the first user on the same version of the application version corresponding to the first identifier, a version installation package of the application version corresponding to the third identifier can be sent to the first user, so that the first user can update the version of the target application according to the version installation package.
According to the method and the device for updating the application version of the target application, the updated application version installation package is saved, the application version installation package can be shared with other users, and convenience is improved for the other users to update the application version of the target application.
According to the application updating method, under the condition that the target application is operated, the first device obtains N pieces of second device information and displays a target interface, the N pieces of second device are devices which are used for operating the target application and are connected with the same server with the target application of the first device, the target interface comprises a first identifier corresponding to the first device and N pieces of second identifiers corresponding to the N pieces of second device, the first identifier is used for representing version information corresponding to the target application in the first device, the N pieces of second identifiers are used for representing version information corresponding to the target application in the N pieces of second device, first input of a user is received, the display position of the first identifier is updated in response to the first input, and under the condition that the display position of the first identifier is at least partially overlapped with the display position of the third identifier, and the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier, the application version corresponding to the first identifier is updated based on the application corresponding to the third identifier, and the N pieces of second identifiers comprise the third identifier. According to the embodiment of the application version identification method and the application version identification device, the application version identification of the N second devices is displayed in the displayed target interface, the update of the application version of the target application can be realized through the input of the local version identification by the user in the target interface, the condition that the application is updated to the middle version and then is updated upwards can be avoided, therefore, the update time and flow of the application version can be reduced, and the user experience is improved.
It should be noted that, in the application updating method provided in the embodiment of the present application, the execution subject may be an application updating device, or a control module in the application updating device for executing the application updating method. In the embodiment of the present application, an application update device executes an application update method as an example, and the application update device provided in the embodiment of the present application is described.
Referring to fig. 3, a schematic structural diagram of an application updating device provided in an embodiment of the present application is shown, and as shown in fig. 3, the application updating device 300 may specifically include the following modules:
the target interface display module 310 is configured to, when the target application is running, obtain N pieces of second device information by using a first device and display a target interface, where the N pieces of second devices are devices that run the target application and are connected to the same server with the target application of the first device;
the target interface comprises a first identifier corresponding to the first device and N second identifiers corresponding to N second devices, wherein the first identifier is used for representing version information corresponding to the target application in the first device, and the N second identifiers are used for representing version information corresponding to the target application in the N second devices;
A first input receiving module 320, configured to receive a first input of the first identifier by a user;
a display location updating module 330 for updating the display location of the first identifier in response to the first input;
an application version updating module 340, configured to update, based on an application version corresponding to a third identifier, an application version corresponding to the first identifier when a display position of the first identifier at least partially coincides with a display position of the third identifier, and version information of a target application corresponding to the third identifier is higher than version information of a target application corresponding to the first identifier;
wherein the N second identifications comprise the third identification.
Optionally, upgrade indication information corresponding to the first identifier is displayed on the target interface, where the upgrade indication information is information indicating whether the target application running in the first device needs forced upgrade.
Optionally, the apparatus further comprises:
the touch input receiving module is used for receiving touch input of a user on the target application when the target application in the first device needs to be forcedly updated and the application version corresponding to the first identifier is not updated;
And the target interface cancellation display module is used for canceling the display of the target interface and prohibiting the starting of the target application in response to the touch input.
Optionally, the second device information is information from a target session application program, a user identifier corresponding to the second device is displayed in the target interface, the user identifier includes a contact identifier and a non-contact identifier,
the apparatus further comprises:
the second input receiving module is used for receiving a second input of the user on the non-contact identification;
and the contact adding module is used for responding to the second input and adding the user corresponding to the non-contact identification to the contact list of the target session application program.
Optionally, the apparatus further comprises:
the installation package storage module is used for canceling the display of the target interface and storing the version installation package of the application version corresponding to the third identifier after the application version corresponding to the first identifier is updated successfully;
and the installation package sending module is used for sending the version installation package to the first user under the condition that the first user receives the update operation of the same version of the application version of the target application corresponding to the first identifier.
According to the application updating device, under the condition that the target application is operated, the first device obtains N pieces of second device information and displays a target interface, the N pieces of second device are devices which are used for operating the target application and are connected with the same server with the target application of the first device, the target interface comprises a first identifier corresponding to the first device and N pieces of second identifiers corresponding to the N pieces of second device, the first identifier is used for representing version information corresponding to the target application in the first device, the N pieces of second identifiers are used for representing version information corresponding to the target application in the N pieces of second device, first input of a user to the first identifier is received, the display position of the first identifier is updated in response to the first input, and under the condition that the display position of the first identifier is at least partially overlapped with the display position of the third identifier, and the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier, the application version corresponding to the first identifier is updated based on the application corresponding to the third identifier, and the N pieces of second identifiers comprise the third identifier. According to the embodiment of the application version identification method and the application version identification device, the application version identification of the N second devices is displayed in the displayed target interface, the update of the application version of the target application can be realized through the input of the local version identification by the user in the target interface, the condition that the application is updated to the middle version and then is updated upwards can be avoided, therefore, the update time and flow of the application version can be reduced, and the user experience is improved.
The application updating device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The application updating device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The application updating device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and capable of running on the processor 401, where the program or the instruction implements each process of the embodiment of the application update method when executed by the processor 401, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 103, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, and processor 510.
Those skilled in the art will appreciate that the electronic device 500 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 510 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 510 is configured to, under a condition of running a target application, obtain N pieces of second device information by using a first device and display a target interface, where the N pieces of second devices are devices running the target application and connected to the same server as the target application of the first device; the target interface comprises a first identifier corresponding to the first device and N second identifiers corresponding to N second devices, wherein the first identifier is used for representing version information corresponding to the target application in the first device, and the N second identifiers are used for representing version information corresponding to the target application in the N second devices;
a radio frequency unit 501, configured to receive a first input of the first identifier from a user;
According to the embodiment of the application version updating method and device, the update of the application version of the target application can be realized through the input of the local version identifier in the target interface by the user, the condition that the application is updated to the intermediate version and then is updated upwards can be avoided, and therefore the update time and flow of the application version can be reduced, and the user experience is improved.
Optionally, upgrade indication information corresponding to the first identifier is displayed on the target interface, where the upgrade indication information is information indicating whether the target application running in the first device needs forced upgrade.
Optionally, the radio frequency unit 501 is further configured to receive a touch input of a user to a target application in the first device when the target application needs to be forcedly upgraded and an application version corresponding to the first identifier is not updated;
the processor 510 is further configured to cancel displaying the target interface and prohibit starting the target application in response to the touch input.
Optionally, the second device information is information from a target session application program, a user identifier corresponding to the second device is displayed in the target interface, the user identifier includes a contact identifier and a non-contact identifier,
The radio frequency unit 501 is further configured to receive a second input of the non-contact identifier from the user;
the processor 510 is further configured to, in response to the second input, add the user corresponding to the non-contact identifier to a contact list of the target session application.
Optionally, the processor 510 is further configured to cancel displaying the target interface after the application version corresponding to the first identifier is updated successfully, and save a version installation package of the application version corresponding to the third identifier; and under the condition that the first user receives the update operation of the same version of the application version of the target application corresponding to the first identifier, the version installation package is sent to the first user.
It should be appreciated that in embodiments of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, with the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen. Touch panel 5071 may include two parts, a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. Processor 510 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the processes of the embodiment of the application update method are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (RandomAccess Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or an instruction, implement each process of the above application update method embodiment, and achieve the same technical effect, so as to avoid repetition, and not be repeated here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (12)
1. An application updating method, comprising:
under the condition of running a target application, the first equipment acquires N pieces of second equipment information and displays a target interface, wherein the N pieces of second equipment are equipment which runs the target application and is connected with the same server as the target application of the first equipment;
the target interface comprises a first identifier corresponding to the first device and N second identifiers corresponding to N second devices, wherein the first identifier is used for representing version information corresponding to the target application in the first device, and the N second identifiers are used for representing version information corresponding to the target application in the N second devices; the target interface is an interface for displaying version information of target applications in the first device and the N second devices;
receiving a first input of a user to the first identifier;
updating a display position of the first identifier in response to the first input;
updating the application version corresponding to the first identifier based on the application version corresponding to the third identifier under the condition that the display position of the first identifier is at least partially overlapped with the display position of the third identifier and the version information of the target application corresponding to the third identifier is higher than the version information of the target application corresponding to the first identifier;
Wherein the N second identifications comprise the third identification.
2. The method of claim 1, wherein upgrade instruction information corresponding to the first identifier is displayed on the target interface, where the upgrade instruction information is information indicating whether forced upgrade is required for running the target application in the first device.
3. The method of claim 2, further comprising, after the first device obtains N pieces of second device information and displays a target interface:
receiving touch input of a user to the target application under the condition that the target application in the first equipment needs to be forcedly updated and the application version corresponding to the first identifier is not updated;
and responding to the touch input, canceling the display of the target interface, and prohibiting the starting of the target application.
4. The method of claim 1, wherein the second device information is information from a target session application, a user identifier corresponding to the second device is displayed in the target interface, the user identifier comprises a contact identifier and a non-contact identifier,
after the first device acquires the N pieces of second device information and displays the target interface, the method further comprises:
Receiving a second input of the user to the non-contact identifier;
and in response to the second input, adding the user corresponding to the non-contact identification to a contact list of the target session application.
5. The method of claim 1, further comprising, after the updating the application version corresponding to the first identifier based on the application version corresponding to the third identifier:
after the application version corresponding to the first identifier is updated successfully, canceling to display the target interface and storing a version installation package of the application version corresponding to the third identifier;
and under the condition that the first user receives the update operation of the same version of the application version of the target application corresponding to the first identifier, the version installation package is sent to the first user.
6. An application updating apparatus, comprising:
the target interface display module is used for acquiring N pieces of second equipment information and displaying a target interface by the first equipment under the condition of running the target application, wherein the N pieces of second equipment are equipment which runs the target application and is connected with the same server with the target application of the first equipment;
The target interface comprises a first identifier corresponding to the first device and N second identifiers corresponding to N second devices, wherein the first identifier is used for representing version information corresponding to the target application in the first device, and the N second identifiers are used for representing version information corresponding to the target application in the N second devices; the target interface is an interface for displaying version information of target applications in the first device and the N second devices;
the first input receiving module is used for receiving a first input of a user on the first identifier;
a display location updating module for updating a display location of the first identifier in response to the first input;
an application version updating module, configured to update, based on an application version corresponding to a third identifier, an application version corresponding to the first identifier when a display position of the first identifier at least partially coincides with a display position of the third identifier, and version information of a target application corresponding to the third identifier is higher than version information of the target application corresponding to the first identifier;
wherein the N second identifications comprise the third identification.
7. The apparatus of claim 6, wherein upgrade indication information corresponding to the first identifier is displayed on the target interface, where the upgrade indication information is information indicating whether forced upgrade is required for running the target application in the first device.
8. The apparatus of claim 7, wherein the apparatus further comprises:
the touch input receiving module is used for receiving touch input of a user on the target application when the target application in the first device needs to be forcedly updated and the application version corresponding to the first identifier is not updated;
and the target interface cancellation display module is used for canceling the display of the target interface and prohibiting the starting of the target application in response to the touch input.
9. The apparatus of claim 6, wherein the second device information is information from a target session application, a user identifier corresponding to the second device is displayed in the target interface, the user identifier comprises a contact identifier and a non-contact identifier,
the apparatus further comprises:
the second input receiving module is used for receiving a second input of the user on the non-contact identification;
And the contact adding module is used for responding to the second input and adding the user corresponding to the non-contact identification to the contact list of the target session application program.
10. The apparatus of claim 6, wherein the apparatus further comprises:
the installation package storage module is used for canceling the display of the target interface and storing the version installation package of the application version corresponding to the third identifier after the application version corresponding to the first identifier is updated successfully;
and the installation package sending module is used for sending the version installation package to the first user under the condition that the first user receives the update operation of the same version of the application version of the target application corresponding to the first identifier.
11. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the application updating method of any of claims 1-5.
12. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the application update method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110449863.7A CN113138786B (en) | 2021-04-25 | 2021-04-25 | Application updating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110449863.7A CN113138786B (en) | 2021-04-25 | 2021-04-25 | Application updating method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113138786A CN113138786A (en) | 2021-07-20 |
CN113138786B true CN113138786B (en) | 2023-05-23 |
Family
ID=76813546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110449863.7A Active CN113138786B (en) | 2021-04-25 | 2021-04-25 | Application updating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113138786B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115857746A (en) * | 2021-09-24 | 2023-03-28 | 华为技术有限公司 | Distributed data management method, electronic device and system |
CN114461022A (en) * | 2022-02-09 | 2022-05-10 | 维沃移动通信有限公司 | Separable module management method and device of terminal and terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106250175A (en) * | 2016-07-21 | 2016-12-21 | 广东欧珀移动通信有限公司 | The upgrade method of a kind of application and terminal unit |
CN112286554A (en) * | 2020-10-29 | 2021-01-29 | 维沃移动通信有限公司 | Application program updating method and device, electronic equipment and readable storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124753A (en) * | 2019-11-19 | 2020-05-08 | 维沃移动通信有限公司 | Application program control method, electronic equipment and server |
CN111061446A (en) * | 2019-11-29 | 2020-04-24 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN111125762B (en) * | 2019-12-24 | 2023-04-25 | 维沃移动通信有限公司 | Shared application control method and electronic equipment |
CN111538452B (en) * | 2020-04-17 | 2021-07-30 | 维沃移动通信有限公司 | Interface display method and device and electronic equipment |
CN112230943A (en) * | 2020-10-23 | 2021-01-15 | 维沃移动通信有限公司 | Application processing method and device and electronic equipment |
CN112286612B (en) * | 2020-10-29 | 2024-08-02 | 维沃移动通信有限公司 | Information display method and device and electronic equipment |
-
2021
- 2021-04-25 CN CN202110449863.7A patent/CN113138786B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106250175A (en) * | 2016-07-21 | 2016-12-21 | 广东欧珀移动通信有限公司 | The upgrade method of a kind of application and terminal unit |
CN112286554A (en) * | 2020-10-29 | 2021-01-29 | 维沃移动通信有限公司 | Application program updating method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113138786A (en) | 2021-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111880870B (en) | Method and device for controlling electronic equipment and electronic equipment | |
EP3174253B1 (en) | Message withdrawal method and apparatus, computer program and recording medium | |
CN110990741B (en) | Page display method and device, electronic equipment, server and storage medium | |
WO2018077041A1 (en) | Method and apparatus for running application | |
CN113138786B (en) | Application updating method and device | |
CN112399006B (en) | File sending method and device and electronic equipment | |
CN112286612B (en) | Information display method and device and electronic equipment | |
CN112671635B (en) | Sending method, device and electronic equipment | |
CN111917628B (en) | Message processing method and device and electronic equipment | |
CN112230943A (en) | Application processing method and device and electronic equipment | |
CN113794795A (en) | Information sharing method and device, electronic equipment and readable storage medium | |
CN111399715B (en) | Interface display method and electronic equipment | |
CN110167006B (en) | Method for controlling application program to use SIM card and terminal equipment | |
CN112558833B (en) | Application running method and device and electronic equipment | |
CN112905209B (en) | Application program updating method and device | |
CN114217754A (en) | Screen projection control method and device, electronic equipment and storage medium | |
CN113836089A (en) | Application program display method and device, electronic equipment and readable storage medium | |
CN113709307A (en) | Message display method and device and electronic equipment | |
EP4351117A1 (en) | Information display method and apparatus, and electronic device | |
CN107015874B (en) | Data transmission control method, device and terminal | |
CN107968799B (en) | Information acquisition method, terminal equipment and system | |
CN113794920B (en) | Interface display method and device, electronic equipment and medium | |
CN115225966A (en) | Application starting method and device, terminal equipment and storage medium | |
CN110543329B (en) | Method for managing application version and mobile terminal | |
CN112181565A (en) | Screen display method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |