CN115248693A - Application management method and electronic equipment - Google Patents

Application management method and electronic equipment Download PDF

Info

Publication number
CN115248693A
CN115248693A CN202110462098.2A CN202110462098A CN115248693A CN 115248693 A CN115248693 A CN 115248693A CN 202110462098 A CN202110462098 A CN 202110462098A CN 115248693 A CN115248693 A CN 115248693A
Authority
CN
China
Prior art keywords
application
electronic device
installation
electronic
mobile phone
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
CN202110462098.2A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110462098.2A priority Critical patent/CN115248693A/en
Priority to PCT/CN2022/087389 priority patent/WO2022228180A1/en
Publication of CN115248693A publication Critical patent/CN115248693A/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/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Landscapes

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

Abstract

The application provides an application management method and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining a device type supported by a first application, one or more second electronic devices and an installation state of the first application in the first electronic devices; detecting a first operation of selecting a target second electronic device in the application management interface, wherein the target second electronic device belongs to one of one or more second electronic devices; based on the installation state of the first application and the device type supported by the first application, sending a first installation request to the target second electronic device, so that the second electronic device obtains the installation package of the first application from the first electronic device or second electronic devices except the target second electronic device, and the target second electronic device installs the first application.

Description

Application management method and electronic equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a management method for an application and an electronic device.
Background
In the prior art, when a user needs to download or update a certain application, the user can generally only download an installation package of the application from an application market of the electronic device, which is not user-friendly. In addition, some applications have large installation packages and require a lot of traffic to be used when downloading.
Disclosure of Invention
In a first aspect, the present application provides a method for managing an application, applied to a first electronic device, including:
acquiring a device type supported by a first application and one or more second electronic devices and an installation state of the first application in the first electronic device;
displaying an application management interface based on the device type supported by the first application and the installation state of the first application;
detecting a first operation of selecting a target second electronic device in an application management interface, wherein the target electronic device belongs to one of one or more second electronic devices, and the management interface comprises one or more second electronic devices and an installation state of a first application in the first electronic device;
in response to the first operation, based on the installation state of the first application and the device types supported by the first application, a first installation request is sent to the target second electronic device, so that the second electronic device obtains the installation package of the first application from the first electronic device or a second electronic device except the target second electronic device, and the target second electronic device installs the first application.
In one embodiment of the application, displaying an application management interface based on a device type supported by a first application and an installation state of the first application includes:
acquiring first version information of one or more second electronic devices and first applications installed in first electronic devices;
and displaying an application management interface based on the device type supported by the first application, the installation state of the first application and the first version information.
In one embodiment of the application, the sending a first installation request to a target second electronic device based on an installation status of a first application and a device type supported by the first application includes:
and sending a first installation request to the target second electronic equipment based on the installation state of the first application, the first version information and the equipment type supported by the first application.
In one embodiment of the application, sending a first installation request to a target second electronic device based on an installation state of a first application and a device type supported by the first application includes:
judging whether the first application is an application issued by an application market;
if the first application is not the application issued by the application market, sending a first installation request to the target second electronic equipment based on the installation state of the first application and the equipment type supported by the first application;
and if the first application is an application issued by the application market, acquiring second version information of the first application from the application market, and sending a second installation request to the target second electronic equipment based on the first version information and the second version information so as to enable the target second electronic equipment to download the first application from the application market.
In one embodiment of the present application, the first version information includes one or more second electronic devices and a version number of a first application installed in the first electronic device, the second version information includes a version number of the first application in an application market, and the sending of the second installation request to the target second electronic device based on the first version information and the second version information includes:
judging whether the version number of the first application in the first version information is matched with the version number of the first application in the second version information;
if not, sending a second installation request to the target second electronic equipment;
and if so, sending a first installation request to the target second electronic equipment.
In one embodiment of the present application, the first installation request includes an installation package for the first application.
In one embodiment of the present application, acquiring device types supported by a first application, version information of the first application, and an installation state of one or more second electronic devices and the first application in the first electronic device includes:
a second operation of searching for the first application in the application market is detected, and in response to the second operation, the device types supported by the first application, version information of the first application, and the installation state of the one or more second electronic devices and the first application in the first electronic device are acquired.
In one embodiment of the present application, acquiring device types supported by a first application, version information of the first application, and an installation state of one or more second electronic devices and the first application in the first electronic device includes:
and detecting a third operation on the icon of the first application, and acquiring the device type supported by the first application, the version information of the first application and the installation state of the one or more second electronic devices and the first application in the first electronic device in response to the third operation.
In one embodiment of the present application, acquiring device types supported by a first application, version information of the first application, and an installation state of one or more second electronic devices and the first application in the first electronic device includes:
when the first electronic device and the second electronic device are detected to be in the same local area network, the device type supported by the first application, the version information of the first application and the installation state of the first application in one or more second electronic devices and the first electronic device are obtained.
In one embodiment of the present application, the installation status includes at least one of installed, uninstalled, or not updated.
In an embodiment of the present application, the method further includes:
and detecting a fourth operation of selecting the second electronic equipment in the application management interface, and responding to the fourth operation, sending an uninstalling request to the second electronic equipment so that the second electronic equipment uninstalls the first application.
In one embodiment of the present application, after sending the first installation request to the target second electronic device, the method further includes:
and updating the installation state of the first application in the target second electronic equipment in the management interface.
In one embodiment of the present application, the method further comprises:
detecting a fifth operation of selecting the first electronic equipment in the application management interface;
in response to the fifth operation, based on the installation state of the first application and the device types supported by the first application, a third installation request is sent to one or more second electronic devices, so that the first electronic devices acquire the installation packages of the first application from the second electronic devices, and the first electronic devices install the first application.
In a second aspect, the present application provides an application management method, applied to a first electronic device, including:
acquiring a device type supported by a first application and one or more second electronic devices and an installation state of the first application in the first electronic device;
displaying an application management interface based on the device type supported by the first application and the installation state of the first application;
detecting a first operation of selecting first electronic equipment in an application management interface;
in response to the first operation, a first installation request is sent to one or more second electronic devices based on the installation state of the first application and the device types supported by the first application, so that the first electronic devices acquire installation packages of the first application from the second electronic devices, and the first electronic devices install the first application.
In a third aspect, the present application provides an electronic device comprising one or more memories, one or more processors; wherein the one or more memories store one or more programs; the one or more processors, when executing the one or more programs, cause the electronic device to perform the management method of the first aspect.
In a fourth aspect, the present application provides an electronic device comprising one or more memories, one or more processors; wherein the one or more memories store one or more programs; the one or more processors, when executing the one or more programs, cause the electronic device to perform the management method of the second aspect.
In a fifth aspect, the present application provides a computer-readable storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the management method of the first aspect.
In a sixth aspect, the present application provides a computer-readable storage medium comprising computer instructions that, when run on an electronic device, cause the electronic device to perform the management method of the second aspect.
By the management method, cross-device installation can be realized, flow can be saved, and user experience is improved.
Drawings
FIG. 1 is a diagram of a network framework provided by an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device in the network framework diagram shown in fig. 1 according to an embodiment of the present application;
fig. 3 (a) - (d) are graphical interfaces of a management method for running an application by an electronic device according to an embodiment of the present application;
fig. 4 is a graphical interface of a management method for running an application by an electronic device according to an embodiment of the present application;
fig. 5 (a) - (b) are graphical interfaces of a management method for running an application by an electronic device according to an embodiment of the present application;
FIG. 6 is a flowchart of a method for managing applications according to an embodiment of the present application;
FIG. 7 is a flowchart of a method for managing applications according to an embodiment of the present application;
fig. 8 (a) - (d) are graphical interfaces of a management method for running an application by an electronic device according to an embodiment of the present application;
fig. 9 (a) - (c) are graphical interfaces of a management method for running an application by an electronic device according to an embodiment of the present application;
fig. 10 (a) - (b) are graphical interfaces of a management method for running an application by an electronic device according to an embodiment of the present application;
FIG. 11 is a flowchart of a method for managing applications according to an embodiment of the present application;
FIG. 12 is a flowchart of a method for managing applications according to an embodiment of the present application;
fig. 13 is a flowchart of a management method for an application according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present application, the meaning of "a plurality" is two or more unless otherwise specified.
The application installation of the current application market is often performed aiming at the native machine, and two types of problems generally exist in the application installation through the native machine:
1) Some devices are inconvenient in control mode, for example, smart watches have too small screens or experience of inputting search applications is not good; large-screen devices (such as televisions) do not support touch, and application installation and search are not easy to select by using a remote controller; if some special applications are required to be installed, the router without the interface also needs to be installed under a special management App, and each application is installed in an independent splitting state.
2) With the increase of the number of the intelligent networking devices and the number of the devices used by individuals at the same time, a plurality of scenes of interactive cooperation among the devices exist, but because the application installation of each device is relatively independent, the same type of application of the same manufacturer is caused, and the devices run and cooperate on different devices, so that the devices are not easy to be sensed by users.
3) As the application functionality increases, the size of its installation package also increases, which requires a significant amount of traffic to be consumed by the electronic device in downloading the application.
Based on this application, a management method of an application is proposed to solve or partially solve the above technical problems.
Fig. 1 is a schematic diagram of a network 109 composed of a plurality of electronic devices according to an embodiment of the present application.
The network 109 shown in fig. 1 includes a plurality of electronic devices, including but not limited to a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, a super-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like.
Electronic devices in the network 109 may communicate with each other, and may communicate in a wireless manner or in a wired manner, where the wireless communication includes an approach communication, a bluetooth communication, a WIFI communication, and the like.
The application management method provided in the embodiments of the following text application can be applied to any electronic device in the network 109, where each application can support at least one or more types of electronic devices, and for example, application a in fig. 1 can support installation and running on a mobile phone, a tablet computer, and also can support installation and running on a television.
It should be noted that, for applications that support installation and running on different types of electronic devices, each type of electronic device needs to download an application installation package corresponding to the type of electronic device from the cloud application market to install and run the application. Exemplarily, taking application a as an example, the mobile phone B106 needs to download an installation package of application a corresponding to the mobile phone from the cloud server 102, install and run the application a, and the television 106 needs to download an installation package corresponding to the television from the cloud server 102, install and run the application a.
In one embodiment, when the television 106 needs to download the installation package of the application a, the installation package corresponding to the television 106 may be downloaded in the cloud server 102 through the mobile phone B110, and then the installation package corresponding to the television 106 is sent to the television 106, so that the television 106 installs and runs the application a.
In an embodiment, the mobile phone B110 has installed the application a, and may query the installation state of the application a in the mobile phone a or the tablet computer 108 in the network 109, and if the application a is not installed in the electronic device such as the tablet computer 108, based on the operation of the user, the mobile phone B110 may send the installation package of the installed application a to the tablet computer, so that the tablet computer installs the application a.
In one embodiment, the mobile phone B110 has installed the application a, the mobile phone a 104 may query the installation status of the application a in the mobile phone B110 in the network 109, and based on the operation of the user, the mobile phone a 104 may uninstall the application a installed in the mobile phone B110.
In one embodiment, each electronic device under the network 109 may run an application management service process for managing application installation within each electronic device and provide at least the following interface capabilities: installing an application, updating an application, uninstalling an application, querying a current installed list, and the like. The distributed management service process is used to manage information for all electronic devices currently in the network 109 and provides at least the following interface capabilities: inquiring an application installation list in specified electronic equipment, file transmission between two pieces of equipment in a distributed network, installing/uninstalling specified application in the specified equipment, broadcasting notification after a certain piece of equipment in the distributed network is offline, broadcasting notification after a new piece of equipment in the distributed network is accessed, and the like.
It is to be appreciated that based on the application management service process and the distributed management service process, a user can query an installation status of one or more applications in one or more other electronic devices (106 and/or 108) via one electronic device (e.g., 104) and install, update, uninstall, etc. the one or more applications in the other electronic device based on the installation status of the one or more applications in the other electronic device. With respect to the specific application of the application service process and the distributed service process, reference may be made to the following description.
Fig. 2 is a schematic structural diagram of an electronic device 100 in the network framework diagram shown in fig. 1 according to an embodiment of the present application.
The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not limit the electronic device. In other embodiments of the present application, an electronic device may include more or fewer components than illustrated, or some components may be combined, or some components may be split, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bidirectional synchronous serial bus comprising a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the electronic device.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 through an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, so as to implement a function of answering a call through a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit the audio signal to the wireless communication module 160 through the PCM interface, so as to implement the function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to implement the function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 with peripheral devices such as the display screen 194, the camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device, and may also be used to transmit data between the electronic device and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules according to the embodiment of the present invention is only an exemplary illustration, and does not limit the structure of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in an electronic device may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to electronic devices, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of the electronic device is coupled to the mobile communication module 150 and antenna 2 is coupled to the wireless communication module 160 so that the electronic device can communicate with the network and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS) and/or a Satellite Based Augmentation System (SBAS), and it should be noted that the number of antennas shown in the drawings is only exemplary, and more, such as 3, 4 or more, may be provided.
The electronic device implements display functionality via the GPU, the display screen 194, and the application processor, among other things. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device may implement the camera function via the ISP, camera 193, video codec, GPU, display screen 194, application processor, etc.
The ISP is used to process the data fed back by the camera 193. For example, when a user takes a picture, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, an optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and converting into an image visible to the naked eye. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device selects a frequency point, the digital signal processor is used for performing fourier transform and the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The electronic device may support one or more video codecs. In this way, the electronic device can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize applications such as intelligent cognition of electronic equipment, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book and the like) created in the using process of the electronic equipment. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into a sound signal. The electronic apparatus can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into a sound signal. When the electronic device answers a call or voice information, it can answer the voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or sending voice information, the user can input a voice signal to the microphone 170C by uttering a voice signal close to the microphone 170C through the mouth of the user. The electronic device may be provided with at least one microphone 170C. In other embodiments, the electronic device may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device may also calculate the position of the touch from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example:
and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion pose of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (i.e., x, y, and z axes) may be determined by the gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyroscope sensor 180B detects a shake angle of the electronic device, calculates a distance to be compensated for the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device through a reverse motion, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device is a flip, the electronic device may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device in various directions (typically three axes). When the electronic device is at rest, the magnitude and direction of gravity can be detected. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device may measure distance by infrared or laser. In some embodiments, taking a picture of a scene, the electronic device may utilize the distance sensor 180F to range to achieve fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device emits infrared light to the outside through the light emitting diode. The electronic device uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device. When insufficient reflected light is detected, the electronic device may determine that there are no objects near the electronic device. The electronic device can detect that the electronic device is held by a user and is close to the ear for conversation by utilizing the proximity light sensor 180G, so that the screen is automatically turned off to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. The electronic device may adaptively adjust the brightness of the display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic equipment can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device heats the battery 142 when the temperature is below another threshold to avoid an abnormal shutdown of the electronic device due to low temperatures. In other embodiments, the electronic device performs a boost on the output voltage of the battery 142 when the temperature is below a further threshold to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation acting thereon or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the electronic device at a different position than the display screen 194.
The bone conduction sensor 180M can acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human body pulse to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so that the heart rate detection function is realized.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic device may receive a key input, and generate a key signal input related to user settings and function control of the electronic device.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects in response to touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic equipment can support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic equipment realizes functions of conversation, data communication and the like through the interaction of the SIM card and the network. In some embodiments, the electronic device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
The application management method disclosed in the present application may be applied to the electronic device 100, where the electronic device 100 includes, but is not limited to, a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like.
Referring to fig. 3 (a), specifically, a graphical interface diagram of an application market in the electronic device 100 when the electronic device runs the management method of the application in the present application in an embodiment of the present application may be a graphical interface of the application market in the electronic device 100, and the electronic device 100 may be the mobile phone a 104 in fig. 1, where the application market is an application program used to display, download and install application software applicable to the mobile phone a.
The graphical interface shown in fig. 3 (a) includes a search bar 302, a first display area 306, and a second display area 308, wherein a user may search for applications in the search bar 302. For example, a user inputs the name of application a or other keywords that can search for application a in the search bar 302, and clicks the search control 304, and the mobile phone a can display the installation status of application a in the mobile phone a in a graphical interface in response to a click operation of the user, and simultaneously display the installation status of applications in an electronic device that is in the same network as the mobile phone a, is paired with each other, is in the same trust ring, or has the same account number, and the account number indicates a personal account number or a family group composed of multiple account numbers.
In one example, the first display area 306 may display an installation status of the application a in the mobile phone a, and the installation status may include installed, uninstalled, not updated, and the like, where the non-updated indicates that the application a is installed in the current mobile phone a but not in the latest version, and an installation package of the application in the latest version may be obtained from a cloud application market or other electronic devices. Illustratively, non-updated may also be shown as updatable, and non-installed may also be shown as installable.
In one example, after the user clicks the search control 304, when the mobile phone a detects that the mobile phone a has installed the application a, an uninstall control may be displayed in the graphical interface, so that the user can uninstall the application a installed in the mobile phone a and other electronic devices by clicking the uninstall control.
In one example, referring to fig. 3 (a), the second display area 308 of the mobile phone a shows the installation status of the application a in the mobile phone B, the television and the tablet computer, which are all in the same network, paired with each other, located in the same trust ring or have the same account number as the mobile phone a.
With continued reference to fig. 3 (a), the first display area 306 shows that the installation state 320 of the application a in the mobile phone a is not installed, the second display area 308 shows that the installation state 312 of the application a in the mobile phone B is not installed, and the installation state 314 of the application a in the television is not updated, that is, the application a is already installed in the television, but the current version of the application a is lower than the version in the cloud application market or lower than the version of the application a in other televisions that establish a connection with the mobile phone a. The installation state 316 of application a in the tablet is installed. When the user can click an uninstalled icon (e.g. 312), the mobile phone a can respond to the click operation and send a first installation request to the mobile phone B, so that the mobile phone B downloads the installation package of the application a from the cloud application market, or the mobile phone B obtains the installation package of the application a from other electronic devices in which the application a is already installed. Or, when the user can click an uninstalled icon (e.g. 312), the mobile phone a can respond to the click operation and send a second installation request to the mobile phone C, so that the mobile phone C sends an installation package of the application a to the mobile phone B, where the mobile phone C has installed the application a and is in the same network, paired with, located in the same trust ring, or has the same account number as the mobile phone a and the mobile phone B.
In one example, all installation controls 310 may be disposed in the second display area 308, and when the user clicks all installation controls 310, the electronic device whose installation state is not installed or updated may be caused to download the installation package of the application a and install the installation package. For example, after the user clicks all the installation controls 310, the mobile phone a, the mobile phone B, and the television may obtain the corresponding installation package of the application a from the cloud application market or other electronic devices.
It will be appreciated that the entire installation control 310 may also be disposed in other display areas than the second display area 308.
In one example, after acquiring the installation package of the application a, the mobile phone B, and the television set install the application a. The mobile phone A can acquire the installation states of the mobile phone B, the television and the application A in the tablet personal computer in real time, and when the mobile phone B and the television are provided with the application A, the installation states of the mobile phone B and the application A in the television can be updated in a graphical interface. Referring to fig. 3 (b), the application is specifically related to a graphical interface diagram when an electronic device runs a management method for an application in an embodiment of the application. It can be seen that the installation state 320 of the application a of the mobile phone a is changed from not installed to installed, the installation state 314 of the application a in the television is updated from not updated to updated, and the installation state 316 of the application a in the tablet computer is updated from not installed to installed.
In one example, the second display area 308 in the graphical interface of cell phone a includes an uninstall control 322, and the user can click the uninstall control 322 to uninstall the installed application a in cell phone a or cell phone B, television, and tablet. It will be appreciated that the unload control 322 may also be disposed in other display areas besides the second display area 308.
In one example, the user clicks the unload control 322 in the graphical interface illustrated in fig. 3 (b), such that the electronic device 104 displays the graphical interface illustrated in fig. 3 (c) in response to the user clicking. In fig. 3 (c), the application a is already installed in the mobile phone a, the mobile phone B, the television and the tablet computer, after the user clicks the uninstalling control 322, selection controls 324 are displayed at installation states (e.g. 312, 314, 316 and 320) of the application a in the mobile phone a, the mobile phone B, the television and the tablet computer, and the user can click the selection control 324 corresponding to each electronic device to uninstall the application a in the electronic device. For example, the user clicks the selection control 322 corresponding to the television to uninstall the application a in the television, and the mobile phone a responds to the click operation of the user and sends an uninstalling request to the television, so that the television uninstalls the application a in the television. Referring to fig. 3 (d), after the application a in the television is uninstalled, the graphical interface in the electronic device 104 may update the installation state of the application a in the television, and specifically, in fig. 3 (d), the state of the application a in the television is updated to be uninstalled. In another example, after the application a in the television is uninstalled, the application a in the television is restored to the version before updating, and the state of the application a in the television is displayed as not updated in the image interface in the mobile phone a.
It is understood that after uninstalling the application a in the television, the user may reinstall the application a when needed, for example, re-enter the graphical interface of the application market shown in fig. 3 (a) for operation.
It should be noted that the installed or uninstalled graphical interface is only an example, and a user may set more forms of graphical interfaces as needed. Referring to fig. 4, specifically to a graphical interface diagram of an embodiment of the present application when an electronic device runs a management method of the present application, for example, the electronic device 100 may be a mobile phone a.
In one embodiment, when a user searches for application a in the search bar 402 of the mobile phone a 104, the mobile phone a may display the installation statuses of the application a and other applications having the same function as the application a in the graphical interface of the mobile phone a in response to a search operation of the user, and may also simultaneously display the installation statuses of the application a and other applications having the same function as the application a in the electronic device associated with the mobile phone a.
Illustratively, as shown in fig. 4, when a user searches for a "browser" application in a search bar 402, a mobile phone a may display an installation state of a browser 1 in the mobile phone a, a television and a tablet computer in a first display area 406 and an installation state of a browser 2 in the mobile phone a, the television and the tablet computer in a second display area 408 in response to a search operation of the user, where the browser 1 and the browser 2 are applications having the same function.
Referring to fig. 5, specifically to a graphical interface diagram of an embodiment of the present application when an electronic device runs a management method of the present application, for example, the electronic device 100 may be a mobile phone a 104.
In one embodiment, when a user searches for application a in the search bar 502 of the mobile phone a 104, the mobile phone a may display the application a and other applications having the same function as the application a in a graphical interface of the mobile phone a in response to a search operation by the user, and the user may view installation statuses of the application a and other applications having the same function as the application a in the mobile phone a and an electronic device associated with the mobile phone a.
Illustratively, as shown in fig. 5 (a), when a user searches for a "browser" application in a search bar 502, the mobile phone a may display a plurality of browser applications, such as browser 1, browser 2, browser 3, and the like, in a graphical interface in response to the user's search operation. The user can click the icon 520 of the browser 1, and the mobile phone a responds to the click operation of the user to display the installation state of the browser 1 in the mobile phone a, the television and the tablet computer.
The foregoing embodiment and the related drawings describe the method for managing applications in the present application from a user interaction level, and further describe the method for managing applications provided in the embodiment of the present application from a software implementation policy level with reference to fig. 6. It is understood that the method can be implemented under a network as shown in fig. 1 and in an electronic device (e.g., a mobile phone, a tablet computer, etc.) having a structure as described in fig. 2.
Fig. 6 is a flowchart of an application management method in an embodiment of the present application, and particularly, the application management method is explained and explained by taking an electronic device a and an electronic device B as an example, where the electronic device a and the electronic device B may be implemented with reference to the structure shown in fig. 2, and the electronic device B is an electronic device associated with the electronic device a, and the association may mean that the electronic device a and the electronic device B are in the same local area network, are paired with each other, or are located in the same trust ring or have the same account number, for example, the same family group member account number. The electronic device a may be the mobile phone a in the above embodiment, and the electronic device B may be the mobile phone B, the tablet, and the television in the above embodiment.
The management method of the application specifically comprises the following steps:
at step 602, the electronic device a detects an operation of a user querying an application a in an application market.
An application market is installed in the electronic device a, and the application market is an application program used for displaying and downloading application software applicable to electronic devices such as mobile phones. In the present application, each application may have a plurality of corresponding installation packages according to the types of different devices.
Referring to fig. 1, a plurality of installation packages corresponding to a plurality of electronic device types of application a, for example, installation packages corresponding to a mobile phone and a tablet, installation packages corresponding to a television, and the like, are stored in the cloud application market. Multiple installation packages may make up a total installation package 1021. When the mobile phone A downloads the application A from the application market from the electronic equipment, the whole total installation package can be downloaded, and then the application A is installed, or the mobile phone A directly downloads the installation package corresponding to the mobile phone from the cloud application market. The installation package of the application a corresponding to each device type includes a configuration file, and the configuration file includes a configuration item, and the configuration item is used for indicating the device type supported by the installation package. As shown in fig. 1, the installation package of the mobile phone and the tablet stores a configuration file 1, and the mobile phone a reads the configuration item in the configuration file 1 to determine whether the application a supports the mobile phone a. In addition, the installation package of the application a corresponding to each device type also includes unique signature information, and the signature information has uniqueness and is not changeable. Whether the application A is the application issued by the application market can be judged based on the signature information. For example, after the application a is installed in the mobile phone, the application a can be determined to be the application issued by the application market based on the signature information 1 in the installation package. Illustratively, the signature information includes, but is not limited to, a Unique IDentifier (UUID), and the like.
After the user opens the application marketplace, application a may be queried in the application marketplace.
Electronic device a, upon detecting an operation of a user to query application a in the application marketplace, proceeds to step 604.
In step 604, the electronic device a obtains the device type supporting the application a.
When detecting that a user inquires about the operation of the application a in the application market, the electronic device a may read a preset configuration item in an installation package of the application a to determine a device type supported by the application a, for example, as shown in fig. 1, the application a supports installation in a mobile phone, a tablet computer, and a television.
After acquiring the device type supporting the application a, the electronic device a proceeds to step 406.
In step 606, the electronic device a sends an inquiry request to at least one electronic device B, where the inquiry request is used to inquire an installation status of the electronic device B, and the installation status may include installed, uninstalled, not updated, and the like.
For example, the electronic device a and the at least one electronic device B are in the same local area network, are paired with each other, are in the same trust ring, or have the same account number, and the electronic device a may directly send a query request to the electronic device B in the same local area network.
In step 608, the electronic device B queries the installation status of the application a.
After receiving the query request sent by the electronic device a, the electronic device a also queries the installation state of the application a in the electronic device a and the electronic device B through the application management service process.
In one example, the electronic device B in the same lan as the electronic device a includes a watch, a television, and a tablet computer, where the watch does not support the application a, so the application a is not necessarily installed in the watch, it can be understood that the device type based on the watch does not support installation of the application a, and in the subsequent steps, the installation state of the application a in the watch may not be queried any more, so as to save resources.
In one example, the television and the tablet computer both support the application a, and the installation package of the application a is not installed in the television and the application a is installed in the tablet computer, but the version of the application a in the tablet computer is not the latest version. Specifically, the query request may include a version number of the application a in the application market, and the tablet pc may compare the version number of the currently installed application a with the version number in the query request, and if the version number of the currently installed application a is not the same as the version number in the query request, the version of the application a is regarded as a non-latest version, that is, the installation state of the application a in the tablet pc is not updated, and the installation state of the application a in the television is not installed.
In one example, when the electronic device a sends the query request, the installation state of the application a in the electronic device a (i.e., native) may also be queried.
After querying the installation status of the application a, the electronic device B proceeds to step 610.
In step 610, the electronic device B sends a first feedback message to the electronic device a, where the first feedback message includes an installation status of the application a in the electronic device B.
The electronic device B inquires the installation state in its application a and transmits the installation state to the electronic device a.
In step 612, the electronic device a displays the installation status of the application a in the electronic device a and/or the at least one electronic device B.
After receiving the first feedback message sent by the electronic device B, the electronic device a may display the installation state of the application a in the electronic device a and/or at least one electronic device B based on the first feedback message.
In one example, the electronic device B includes an electronic device that does not support the application a, such as a watch, and the electronic device may determine the device type of the watch according to the address of the watch to further determine whether the electronic device supports the application a. When the electronic device determines that the electronic device B does not support the application B, the electronic device B and the installation state of the application a thereof may not be displayed in the display interface.
In step 614, electronic device a detects an operation for changing the installation state of application a in electronic device B.
Continuing to take the electronic device a and the electronic device B in the same local area network as an example, referring to fig. 3 (a), the user may click controls corresponding to the electronic device a (local computer) and the electronic device B (such as a tablet computer and a television) in the displayed graphical interface as needed, so as to download the installation package of the application a from the cloud application market respectively for installation.
Exemplarily, the electronic device a proceeds to step 616 after detecting an operation for changing the installation state of the application a in the electronic device B.
In step 616, the electronic device a sends an installation request to the electronic device B, so that the electronic device B downloads the installation package of the application a and installs the application a.
The user may determine whether the electronic device B downloads the installation package of the application a as needed, for example, referring to fig. 3 (a), in a graphical interface, the user clicks all installation 310 controls, so that the electronic device a sends an installation request to the electronic device B (a tablet computer, a television, etc.) in the second display area, and the like, so that the electronic device B downloads the installation package of the application a to install the application a.
In step 618, the electronic device B obtains the installation package of the application a.
In one example, the electronic device B can obtain the installation package of the application a from the application market after receiving the installation request. In another example, after downloading the installation package of the application a corresponding to the electronic device B, the electronic device a sends the installation package to the electronic device B, so that the electronic device B installs the application a.
In step 620, the electronic device B sends a second feedback message to the electronic device a, where the second feedback message includes an installation status of the electronic device B.
Specifically, the electronic device a performs installation after acquiring the installation package of the application a, and sends the second feedback message when the installation is completed.
In step 622, the electronic device a updates the installation status of the application a in the electronic device B.
After receiving the second feedback message, the electronic device a updates the installation state of the application a in the corresponding electronic device B according to the installation state of the application a in the second feedback message.
Fig. 7 is a flowchart of a management method for an application in another embodiment of the present application, which specifically explains and explains the management method for the application by taking a mobile phone a and a television as examples, where the mobile phone a and the television are in the same local area network, paired with each other, or in the same trust ring or have the same account, for example, the same account of a family member.
As shown in fig. 7, both the mobile phone a and the television include an application management service process and a distributed management service process, where the application management service process is used to manage application installation inside each electronic device and provides at least the following interface capabilities: installing an application, updating an application, uninstalling an application, querying a current installed list, and the like. The distributed management service process is used for managing information of all electronic devices of the same local area network, the same trust ring or the same account number in a mutual pairing mode, and at least provides the following interface capabilities: inquiring an application installation list in specified electronic equipment, file transmission between two pieces of equipment in a distributed network, installing/uninstalling specified application in the specified equipment, broadcasting notification after a certain piece of equipment in the distributed network is offline, broadcasting notification after a new piece of equipment in the distributed network is accessed, and the like.
The user can query the installation state of the application a in the mobile phone a and the television in the application market of the mobile phone a, for example, when the application market detects that the user performs query operation on the application a, the device type supported by the application a is determined based on the installation package of the application a, and the specific determination method is already shown above and is not described herein again. Illustratively, application a supports cell phones, tablets and televisions.
After determining the device types supported by application a, handset a sends an instruction to the distributed management service to query the electronic device associated with handset a. Exemplary electronic devices associated with a cell phone include a television and a watch. Since the application a does not support installation of the application a, the mobile phone a does not pay attention to the installation state of the application a in the watch in the subsequent step.
After determining the device type supported by the application a, the mobile phone a sends an instruction to the television distributed management service through the distributed management service to query the installation state of the application a in the television. After receiving the instruction, the distributed management service in the television forwards the instruction to the application management service of the television, and the application management service can inquire the installation state of the application A and feed back the installation state of the application A to the distributed management service of the television. The distributed management service of the television forwards the installation state of the application A in the television to the distributed management service of the mobile phone A, and the application management service in the mobile phone A inquires the installation state of the application A in the television and reports the inquiry to the application market for displaying to the user. The application management service of the mobile phone a can report the installation state of the application a in the mobile phone a to the application market at the same time, and display the installation state to the user.
A user may manage the installation state of the application a in the television based on the graphical interface of the mobile phone a, for example, when the mobile phone a receives an operation of installing the application a in the television, the application market of the mobile phone a issues an installation instruction to the distributed management service of the mobile phone, and the distributed management service of the mobile phone a forwards the installation instruction to the distributed management service of the television, so that the application management service of the television downloads and installs the application a. The distributed management service of the television can feed back the state of the application A after installation to the mobile phone A, so that the mobile phone A updates the installation state of the application A in the television.
It can be understood that based on the distributed management service and the application management service, the mobile phone a can perform operations such as installation and uninstallation of the application a in the television.
It should be noted that the application management method disclosed in the present application is not limited to be operated in a graphical interface in an application market, and after the user finishes downloading the application a in the electronic device, the method shown in the present application may still be executed, refer to fig. 8, which particularly relates to a graphical interface of a management method for an electronic device to execute an application provided in another embodiment of the present application, and the electronic device may be a mobile phone a.
Referring to fig. 8 (a), the installed applications are included in the graphical interface of cell phone a, including but not limited to application a, weather application, calendar application, and so on. It is understood that the mobile phone a may include more applications, which are not limited herein.
Fig. 8 (b) shows a management interface of the application a, which is used for installing or uninstalling the application a in the mobile phone and the electronic device associated with the mobile phone a, where the electronic device associated with the mobile phone a includes electronic devices that are in the same local area network, paired with each other, located in the same trust ring or have the same account number as the mobile phone a.
Based on one or more operations of the user or the device state of handset a, handset a may jump from the interface shown in fig. 8 (a) to the management interface of application a shown in fig. 8 (b). Illustratively, the user may press the icon 802 of the application a for a long time in the interface shown in fig. 8 (a) to reach a preset market to display the management interface shown in fig. 8 (b). Alternatively, when the mobile phone a detects that the mobile phone a and other associated electronic devices access the same local area network, the management interface of the application a shown in fig. 8 (b) is used.
Taking the way that the user presses the icon 802 of the application a for displaying the application a as an example, when the user clicks the icon 802 of the application a shown in fig. 8 (a) for a preset time, the management interface shown in fig. 8 (b) is displayed. The management interface shown in fig. 8 (b) may include an installation control 804 and/or an uninstallation control 806, and the user may click the uninstallation control 806 to enable the mobile phone a to display a graphical interface of the electronic device for uninstalling the installed application a, and the user may also click the installation control 804 corresponding to the application a to enable the mobile phone a to display the graphical interface for installing the application a. Illustratively, after the user clicks the installation control 804, the cell phone a enters the graphical interface shown in fig. 8 (c) in response to the user's clicking operation.
Fig. 8 (c) shows the installation states of the mobile phone B, the mobile phone a (local device), and the application a on the tv, for example, the installation state of the mobile phone B is uninstalled, the installation state of the local device is installed, and the installation state of the application a on the tv is not updated.
In the graphical interface shown in fig. 8 (c), the user can select to update or install the application a in any one of the electronic devices as needed. For example, in the graphical interface shown in fig. 8 (c), the user may click the installation status 810 corresponding to the mobile phone B, and send an installation request to the mobile phone B, so that the mobile phone B downloads the application a from the cloud application marketplace. It should be noted that, if the mobile phone a and the mobile phone belong to the same type of electronic device, the mobile phone B may directly obtain the installation package of the application a from the mobile phone a, instead of downloading the installation package of the application a from the application market. This may result in better flow savings.
In one example, the user may also click on all installation controls 816, causing cell phone B, the television, and cell phone B to all download the installation package for application a to install or update application a. As shown in fig. 8 (d), when the application a is installed or updated for each electronic device, the installation states corresponding to the mobile phones a and B become installed, and the installation state corresponding to the television becomes updated.
It has been shown above that the user can click on the uninstall control 806 in the graphical interface shown in fig. 8 (b) to cause the cell phone a to display a graphical interface of the electronic device for uninstalling other installed applications a. Referring to fig. 9 (a) - (c), a graphical interface diagram of a management method for an application executed by a mobile phone a according to an embodiment of the present application is specifically provided.
In the graphical interface shown in fig. 9 (a), after the user clicks the uninstall control 906, the mobile phone a jumps to the graphical interface shown in fig. 9 (b) in response to the click operation of the user. The graphical interface shown in fig. 9 (b) includes a third display area 924, and other electronic devices, such as cell phone a and a television, including the installed application a associated with cell phone a in the third display area 924. The user can uninstall the application A in the mobile phone A and the television according to the requirement. Illustratively, the user may click on all uninstall control 920 to uninstall application a in cell phone a (native), while cell phone a sends an uninstall request to the television, so that the television uninstalls application a. Referring to fig. 9 (b), when the user clicks the uninstalling control 922, the mobile phone a sends an uninstalling request to the television alone in response to the click operation, so that the television uninstalls the application a, and updates the installation state of the application a in the television in the graphical interface shown in fig. 9 (c), for example, the installation state of the application a in the television is updated from un-uninstalled to uninstalled.
The application management method shown in the present application is not limited to installation, update, or uninstallation of a single application, and may be performed on a plurality of applications. Referring to fig. 10 (a) - (b), specifically to a graphical interface of an electronic device provided in an embodiment of the present application, the electronic device may be a mobile phone a.
Referring to fig. 10 (a) including a fourth display area 1010, a fifth display area 1012 and a sixth display area 1014, in an example, the fourth display area 1010 of the mobile phone a includes an installation status of at least one application, such as applications like email 1016, music 1018 and browser 1020, and the fourth display area 1010 indicates that the mobile phone a can obtain installation packages of all applications in the fourth display area 1010 from other electronic devices (such as a tablet computer or a mobile phone B) for application installation. It can be understood that, in this example, the application in the fourth display area 1010 indicates that the application is not currently installed or not updated (and the tablet pc or the mobile phone B is installed), and the mobile phone a can obtain the installation package of the application in the fourth display area 1010 from the tablet pc or the mobile phone B, so that the mobile phone a is prevented from downloading the installation package to the cloud application market, and traffic is saved. In one example, the fifth display area 1012 includes an installation status of at least one application, such as a weather 1022 application, and the fifth display area 1012 indicates that the television can obtain an installation package for the weather 622 application from the cloud application marketplace. A sixth display area 1014 includes installation status of at least one application, such as weather 1022, health 1024, and application a 1026, the sixth display area indicating that handset B can obtain an installation package for application a 1026 from handset a. In one embodiment, the user can operate in the fourth display area 1010, the fifth display area 1012 and the sixth display area 1014 of the figure as required to install applications in the mobile phone a, the mobile phone B and the tablet computer, respectively. For example, the user clicks on all install 1030 controls in sixth display area 1014, cell phone a may send an installation package for weather 1022, health 1024, and application a 1026 to cell phone B, causing cell phone B to install the received installation package.
In one example, handset a may send a request to handset B to confirm whether the user allows the installation of the application in handset B before sending the installation package for weather 622, health 624, and application 626 to handset B. Illustratively, as in the graphical interface of handset B in fig. 1, an installation request sent by handset a to handset B is displayed to confirm whether the user allows installation a in handset B. When the user clicks the confirmation control on the graphical interface of the mobile phone B, the electronic device 104 sends the application installation package to the mobile phone B. Of course, more confirmation modes can be set according to the needs of the user, for example. If the electronic device 104 is the initial request, the mobile phone B pops up the frame to inquire the user, and after the user allows, when the subsequent electronic device 104 performs the distributed installation again, the installation is allowed by default. Or when the mobile phone a and the mobile phone B are in the same local area network, the mobile phone B may not confirm, that is, the mobile phone B does not need to ask the user whether to allow receiving the installation package of the electronic device 104 and install the installation package.
In one embodiment, a weather application 1022 is included in both the fifth display area 1012 and the sixth display area 1014. Illustratively, the installation package corresponding to the weather application and the installation package corresponding to the television are not consistent, and the local computer (mobile phone a) and the mobile phone B correspond to the same installation package, so that the television cannot acquire the installation brain of the weather from the local computer, and only can acquire the installation package of the weather application corresponding to the television from the cloud.
In one example, as shown in fig. 10 (B), after the mobile phone B installs the installation package received from the mobile phone a, the mobile phone a may update the installation state of the application installed in the mobile phone B in the display interface.
In the above embodiment, handset a may directly send the installation package of weather 1022, health 1024, and application 1026 to handset B. It can be understood that if the cloud application market includes the installation package of the above part of applications, the mobile phone B may also obtain the application installation package from the application market. It can be understood that the electronic devices such as the mobile phone a and the mobile phone B obtain the application installation package mutually, and the application installation package has at least the following advantages: compared with the installation package downloaded from the application market, the installation package file is directly transmitted between the electronic devices, and the flow can be saved. Some applications are not applications issued by the application market, and the application installation mode is increased and the user experience is improved by acquiring the application installation package from other electronic equipment.
It should be noted that the graphical interface shown in fig. 10 (b) can be obtained in various ways. In one example, a separate menu key may be provided in the desktop of the mobile phone a, and the graphical interface shown in fig. 10 (b) is displayed when the user clicks the menu key. In another example, when the mobile phone a detects the preset gesture, the graphical interface shown in fig. 10 (b) may be displayed. In another example, when the mobile phone a detects that the same local area network is accessed with other electronic devices, the graphical interface shown in fig. 10 (b) can be displayed. In another example, when an application is updated, the updated content has new support for a certain type of device, which is exactly the electronic device associated with the mobile phone a, and a graphical interface as shown in fig. 10 (b) can be displayed. In one example, the user may be asked whether the graphical interface shown in fig. 10 (b) is allowed to be displayed before the graphical interface is displayed.
The method for managing applications is introduced from a user interaction level with reference to the above embodiments and related drawings, and the method for managing applications provided by the embodiments of the present application is introduced from a software implementation policy level with reference to the above drawings. It should be understood that the method may be implemented in an electronic device (e.g., a cell phone, a tablet, etc.) under a network as shown in fig. 1 and in a configuration as described in fig. 2.
Fig. 11 relates to a flowchart of a management method of an application in an embodiment of the present application, and specifically, taking a first electronic device and at least one second electronic device as an example, the management method of the application is explained and explained, where structures of the first electronic device and the second electronic device may refer to the electronic devices shown in fig. 2, the first electronic device and the second electronic device are associated electronic devices, and the association of the first electronic device and the second electronic device means that the first electronic device and the second electronic device are in the same local area network, are paired with each other, have the same trust ring, or have the same account number, and the account number includes a personal account number or a family group formed by multiple account numbers. The first electronic device may be the mobile phone a in the above embodiment, and the method for managing the application specifically includes:
in step 1102, the first electronic device detects a first operation for displaying a management interface, where the first operation may be a preset operation of the first electronic device by a user, for example, a touch operation of the user. The first operation may also be the first electronic device detecting access to the same local area network as the second electronic device, and so on.
The first electronic device can perform operations such as installation, update and uninstallation on the application in the first electronic device and/or one or more second electronic devices through the management interface.
Fig. 3 (a), 4, 8 (b), and 10 (a) show exemplary views of the management interface. It should be noted that the user may display the management interface on the first electronic device through various operations.
In one example, the management interface may be displayed by the first electronic device in response to a user's clicking operation when the first electronic device detects that the user clicks a preset menu key. In another example, the management interface can be displayed when the first electronic device detects a preset gesture. In another example, the management interface may be displayed when the first electronic device detects access to the same local area network as one or more second electronic devices. In another example, when an application is updated, support for a type of device is added to the updated content, and the type of device is an electronic device associated with the first electronic device, and the management interface may be displayed. In another example, the first electronic device detects that the touch time of the user point to a certain application reaches a preset time, and displays the management interface.
In step 1104, the first electronic device queries, in response to the detected first operation, an installation state of one or more applications in the first electronic device and the at least one second electronic device, and device types supported by the one or more applications.
When the first electronic device detects the first operation, the installation state of one or more applications in the first electronic device and/or the second electronic device is inquired. Illustratively, the installation state of one or more applications in the first electronic device and the one or more second electronic devices is obtained through an application management service process and a distributed management service process.
Step 1106, the first electronic device displays a management interface based on an installation state of one or more applications in the first electronic device and the second electronic device and device types supported by the one or more applications.
The management interface may comprise a first display area and/or a second display area and/or a third display area.
The first display area is used for displaying a first installation state of a first application in one or more second electronic devices, the first application supports the device types of the first electronic device and the second electronic devices, and the first installation state represents that the first application is not installed in each second electronic device in the first display area in the display interface or the first application is installed in the second electronic device but is not the latest version. In one example, it may be determined whether an installed version number of the second application in the first electronic device is the latest version by comparing the version number of the first application in the second electronic device with the version number of the first application in the application marketplace.
In one example, one or more controls may be set in the first display area, and a user may send a first installation request to one or more second electronic devices through the one or more controls of a first electronic device (e.g., controls 310, 312, 314, 316, and 320 in fig. 3 (a), 1030 in fig. 10 (a), etc. so that the second electronic device downloads an installation package of the first application from an application market, or, if the first electronic device has installed the first application, may directly send the installation package of the first application to the second electronic device, or, the first electronic device sends a second installation request to a third electronic device so that the third electronic device directly sends the installation package of the first application to the second electronic device to install the first application in the second electronic device. The third electronic device and the first electronic device and the second electronic device may be in the same local area network, the same account number, or the same trust ring.
In one example, the second display area includes at least a first installation state of a second application in the first electronic device, the second application supporting installation on the first electronic device and the second electronic device, the first installation state in the display interface indicating that the second application is not installed in the first electronic device or that the second application is installed and is not the latest version. For example, it may be determined whether the installed version of the second application in the first electronic device is the latest version by comparing the version numbers of the second application in the first electronic device and the second application in the application market.
In an example, one or more controls may be set in the second display area, and a user may send a first installation request to the second electronic device through the one or more controls, for example, a control in the fourth display area 1010 in fig. 10, on the first electronic device (e.g., a mobile phone a), so that the first electronic device obtains the installation package of the second application from the second electronic device, or send a second installation request to the third electronic device, so that the third electronic device directly sends the installation package of the second application to the second electronic device, so that the second application is installed in the second electronic device. The third electronic device and the first electronic device and the second electronic device may be in the same local area network, the same account number, or the same trust ring.
The third display area includes at least a second installation state of a third application in the first electronic device and/or the one or more second electronic devices. Wherein the second installation state includes that the third application is installed. In the third display area, one or more controls, such as control 322 in fig. 3 (c), may be set, and the user may send an uninstall request to the second electronic device through the one or more controls, so as to uninstall the third application in the second electronic device. The user may also uninstall a third application in the first electronic device through the one or more controls.
Step 1108, the first electronic device detects a second operation of the user selecting the second electronic device in the first display area, and sends the first data to the second electronic device in response to the detected second operation. The first data may include an installation package or a first installation request of a first application. The second operation indicates that the user wants to install the first application in the selected second electronic device.
In one example, when the first electronic device detects the second operation, the first electronic device may directly send a first installation request to the second electronic device, where the first installation request is used for the second electronic device to download an installation package of the first application from a cloud application market to install the first application.
In one example, when the first electronic device detects the second operation, it may detect whether the first application is already installed in the first electronic device, and if the first application is installed, the first electronic device may directly send an installation package of the first application to the second electronic device.
In an example, when the first electronic device detects the second operation, it may be detected whether the first application is already installed in the third electronic device, and if the first application is already installed, it is further determined whether the first application is an application issued by an application market. If the application is an application issued by an application market, the first electronic device preferably sends a second installation request to the third electronic device, and the third electronic device sends an installation package of the first application to the second electronic device based on the second installation request, so that the second electronic device installs the first application.
It should be noted that, compared with the case that the second electronic device downloads the installation package of the first application from the application market, the first electronic device directly sends the installation package of the first application to the second electronic device, so that traffic can be saved.
In one example, when the first electronic device detects the second operation, it may detect whether the first application is already installed in the third electronic device and the fourth electronic device, and if both the third electronic device and the fourth electronic device have already installed the first application, the first electronic device may send a second installation request to either the third electronic device or the fourth electronic device, so that the third electronic device or the fourth electronic device that receives the second installation request sends the installation package of the first application to the second electronic device, or, based on a selection of a user, cause the third electronic device or the fourth electronic device to send the installation package of the first application to the second electronic device. The second electronic device, the third electronic device, the first electronic device and the fourth electronic device may be in the same local area network, the same account number or the same trust ring.
In one example, if the first application is not an application delivered by an application market, the installation package of the first application is directly sent to the second electronic device in the case that the first application is already installed by the first electronic device.
As already shown above, it may be determined whether the first application is an application delivered by an application market by detecting signature information of the first application installation package, which is not described herein again.
In another embodiment, after step 1106, when the first electronic device detects a third operation of the user selecting the first electronic device in the second display area, step 1110 is entered.
Step 1110, when the first electronic device detects a third operation of the user for selecting the first electronic device in the second display area, in response to the detected third operation, the first electronic device sends a third installation request to the second electronic device to obtain an installation package of the second application by the second electronic device, or sends a fourth installation request to the application market to obtain the installation package of the second application from the application market.
In step 1110, the third operation indicates that the user wants to install the second application in the first electronic device. In one embodiment, when the first electronic device detects a third operation of the user selecting the first electronic device in the second display area and the second application is already installed in the second electronic device, the first electronic device may receive an installation package of the second application from the second electronic device.
If the second electronic device does not install the first application or the second application is installed but the second application installed in the second electronic device does not support the type of the first electronic device, the first electronic device may send an installation request to an application market to obtain an installation package of the second application to install the second application.
In another embodiment, after step 1106, when the first electronic device detects a fourth operation of the user selecting the first electronic device and/or one or more second electronic devices in the third display area, step 1112 is entered.
Step 1112, the first electronic device detects a fourth operation of selecting the first electronic device and/or at least one electronic device in the third display area by the user, and sends an uninstalling request to the second electronic device in response to the detected fourth operation, so as to uninstall the installed third application in the second electronic device, or uninstall the installed third application in the first electronic device.
By the application management method, the applications in other electronic equipment associated with the first electronic equipment can be installed, updated and uninstalled, and user experience is improved.
Fig. 12 is a flowchart of a management method applied in another embodiment of the present application, specifically, a mobile phone a and a mobile phone B are taken as an example to explain and explain the management method of the application, where the mobile phone a and the mobile phone B are in the same local area network, are paired with each other, or have the same trust ring or have the same account, for example, the same account of a family member.
In one embodiment, the mobile phone a has installed the application a, and the user may obtain the management interface of the application a in various ways, such as the interface shown in fig. 8 (b). Illustratively, a user touches an icon of an application a (desktop application) in a mobile phone a for a preset time period to obtain a management interface of the application a. The mobile phone a may determine the device type supported by the application a based on the manner shown above, which is not described herein again.
Further, the mobile phone a can determine whether the application a is an application delivered by the application market of the mobile phone a by reading the signature information (e.g., UUID) in the installation package of the application a, and if the application a is not an application delivered by the application market, query the installation state of the application a in the mobile phone B based on the distributed management service and the application management service in the mobile phone a and the distributed management service and the application management service in the mobile phone B. Specifically, the query process may refer to fig. 7, which is not described herein again.
Further, if the application a is not installed in the mobile phone B, based on the operation of the user, the mobile phone a may issue an instruction, so that the mobile phone a sends an installation package of the application a to the mobile phone B, so that the mobile phone a installs the application a. In another example of the application, if the application a is not installed in the mobile phone B, before the mobile phone a sends the installation package of the application a to the mobile phone B, the mobile phone B may ask the user whether to allow installation of the application a, and if the user allows, the mobile phone B requests the installation package of the application a from the mobile phone a to install the application a. After the application A is installed, the mobile phone B feeds back the installation state of the application A to the mobile phone A so as to use the management interface of the mobile phone A.
Referring to fig. 13, specifically referring to a flowchart of a management method applied in another embodiment of the present application, specifically taking a first electronic device and at least one second electronic device as an example, the management method of the application is explained and explained, where structures of the first electronic device and the second electronic device may refer to the electronic devices shown in fig. 2, the first electronic device and the second electronic device are associated electronic devices, and the association of the first electronic device and the second electronic device means that the first electronic device and the second electronic device are in the same local area network, are paired with each other, have the same trust ring, or have the same account, and the account includes a personal account or a family group formed by multiple accounts. The method comprises the following steps:
step 1302, a first electronic device obtains a device type supported by a first application and an installation state of one or more second electronic devices and the first application in the first electronic device; and displaying an application management interface based on the device type supported by the first application and the installation state of the first application. The application management interface comprises one or more second electronic devices and the installation state of the first application in the first electronic device.
In one embodiment of the present application, the installation status includes at least one of installed, uninstalled, or not updated.
For example, the management interface may refer to the interfaces shown in fig. 3 (a), 4 (a), 5 (b), 5 (c), 10 (a), and the like. The device types supported by the first application can be judged according to the configuration items of the installation packages of other installed first applications. The above has been described in detail, and details thereof are not repeated.
In one embodiment of the application, the obtaining, by a first electronic device, a device type supported by a first application, version information of the first application, and an installation state of one or more second electronic devices and the first application in the first electronic device includes:
the first electronic device detects a second operation of searching the first application in the application market, and in response to the second operation, obtains the device types supported by the first application, version information of the first application, and an installation state of the one or more second electronic devices and the first application in the first electronic device. As an example, reference may be made to fig. 3 for a specific implementation of this embodiment. The first version information may include version numbers of installed first applications in the first electronic device and the one or more second electronic devices.
In one embodiment of the present application, acquiring device types supported by a first application, version information of the first application, and an installation state of one or more second electronic devices and the first application in the first electronic device includes:
the first electronic device detects a third operation on the icon of the first application, and in response to the third operation, the device types supported by the first application, the version information of the first application, and the installation state of the one or more second electronic devices and the first application in the first electronic device are acquired. The third operation on the icon of the first application may be a touch operation of the user, for example, the user touches the first application for a preset time. It should be noted that the operation on the icon of the first application may also be understood as an operation on the installation state corresponding to the first application icon, for example, the user touches the installation state icon corresponding to the first application for a preset time period. Illustratively, a specific implementation of this embodiment may refer to fig. 8 and so on.
In one embodiment of the present application, the acquiring, by a first electronic device, a device type supported by a first application, version information of the first application, and an installation state of one or more second electronic devices and the first application in the first electronic device includes:
when the first electronic device detects that the first electronic device and the second electronic device are in the same local area network, the device type supported by the first application, the version information of the first application and the installation state of the first application in one or more second electronic devices and the first electronic device are obtained. Illustratively, a specific implementation of this embodiment may refer to fig. 10 or the like.
In one embodiment of the application, the first electronic device displays an application management interface based on a device type supported by a first application and an installation state of the first application, and includes:
the method comprises the steps that a first application acquires first version information of one or more second electronic devices and the first application installed in the first electronic device;
and displaying an application management interface based on the device type supported by the first application, the installation state of the first application and the first version information. The first version information may include a version number of an installation package in which the first application has been installed in each of the second electronic devices and/or the first electronic device. Illustratively, when the management interface is displayed based on a version number, the first application may include an un-updated state.
In one embodiment of the present application, the first electronic device sending a first installation request to a target second electronic device based on an installation state of a first application and a device type supported by the first application, includes:
and sending a first installation request to the target second electronic equipment based on the installation state of the first application, the first version information and the equipment type supported by the first application. The first installation request may carry an installation status of the first application, first version information, and a device type supported by the first application, so that the target second electronic device may decide, based on these information, from which electronic device to obtain the installation package of the first application.
Step 1304, the first electronic device detects a first operation of selecting a target second electronic device in the application management interface, wherein the target electronic device belongs to one of the one or more second electronic devices;
in step 1306, the first electronic device sends, in response to the first operation, a first installation request to the target second electronic device based on the installation state of the first application and the device types supported by the first application, so that the second electronic device obtains the installation package of the first application from the first electronic device or a second electronic device other than the target second electronic device, and the target second electronic device installs the first application.
In one embodiment, the first electronic device may send a first installation request to a target second electronic device, and after receiving the first installation request, the second electronic device responds to the first installation request and acquires an installation package of the local application from other electronic devices of the installed first application. For example, when the first electronic device has installed the first application and the first electronic device and the target second electronic device are in the same local area network or the same trust ring, the target second electronic device may obtain the installation package of the first application directly from the first electronic device.
In one embodiment, the first installation request further carries installation state and version information of the first application in the first electronic device or other second electronic devices, and the second electronic device makes a decision based on the installation state and version information of the first application to obtain an installation package of the first application.
In one embodiment, the first installation request may include an installation package for the first application.
In one embodiment of the present application, the sending, by the first electronic device, the first installation request to the target second electronic device based on the installation state of the first application and a device type supported by the first application includes:
when the first electronic equipment is provided with the first application, the first electronic equipment judges whether the first application is the application issued by the application market. Specifically, the first electronic device may determine whether the first application belongs to an application issued in an application market based on the signature information of the first application installation package,
if the first application is not the application issued by the application market, sending a first installation request to the target second electronic equipment based on the installation state of the first application and the equipment type supported by the first application;
and if the first application is an application issued by the application market, acquiring second version information of the first application from the application market, and sending a second installation request to the target second electronic equipment based on the first version information and the second version information so as to enable the target second electronic equipment to download the first application from the application market.
In one embodiment of the present application, the first version information includes one or more second electronic devices and a version number of a first application installed in the first electronic device, the second version information includes a version number of the first application in an application market, and the sending of the second installation request to the target second electronic device based on the first version information and the second version information includes:
the first electronic equipment judges whether the version number of the first application in the first version information is matched with the version number of the first application in the second version information;
if not, sending a second installation request to the target second electronic equipment;
and if so, sending a first installation request to the target second electronic equipment.
In this embodiment, if the first application is an application issued in the application market, it may be determined whether a version number of the first application in the electronic device in which the first application is installed is consistent with a version number in the application market, and if not, the version in the other electronic device is not the latest version and the latest version should be downloaded from the application market. If the versions in the other electronic devices are the latest version, the target first electronic device may obtain the installation package of the first application from the electronic device that installs the latest version.
In an embodiment of the present application, the method further includes: the first electronic device detects a fourth operation of selecting the second electronic device in the application management interface, and sends an uninstalling request to the second electronic device in response to the fourth operation, so that the second electronic device uninstalls the first application. In this embodiment, the fourth operation may be a click operation, and specifically, this embodiment may refer to fig. 9.
In an embodiment of the present application, after the first electronic device sends the first installation request to the target second electronic device, the method further includes: and updating the installation state of the first application in the target second electronic equipment in the management interface.
In one embodiment of the present application, further comprising: the first electronic equipment detects a fifth operation of selecting the first electronic equipment in the application management interface;
in response to the fifth operation, based on the installation state of the first application and the device types supported by the first application, a third installation request is sent to one or more second electronic devices, so that the first electronic devices acquire the installation packages of the first application from the second electronic devices, and the first electronic devices install the first application.
In this embodiment, the first electronic device may also obtain the installation package from other electronic devices that have already installed the first application, and based on this, traffic may also be saved.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (18)

1. A management method of an application is applied to a first electronic device, and comprises the following steps:
the method comprises the steps of obtaining a device type supported by a first application, one or more second electronic devices and an installation state of the first application in the first electronic devices;
displaying an application management interface based on the device types supported by the first application and the installation state of the first application, wherein the management interface comprises the one or more second electronic devices and the installation state of the first application in the first electronic device;
detecting a first operation of selecting a target second electronic device in the application management interface, wherein the target electronic device belongs to one of one or more second electronic devices;
in response to the first operation, based on the installation state of the first application and the device types supported by the first application, sending a first installation request to the target second electronic device, so that the second electronic device obtains the installation package of the first application from the first electronic device or a second electronic device except the target second electronic device, and the target second electronic device installs the first application.
2. The method for managing according to claim 1, wherein the displaying an application management interface based on the device type supported by the first application and the installation status of the first application comprises:
acquiring first version information of one or more second electronic devices and first applications installed in the first electronic device;
and displaying an application management interface based on the device type supported by the first application, the installation state of the first application and the first version information.
3. The method for managing according to claim 2, wherein the sending a first installation request to the target second electronic device based on the installation status of the first application and the device types supported by the first application comprises:
and sending a first installation request to the target second electronic device based on the installation state of the first application, the first version information and the device types supported by the first application.
4. The method for managing according to any of claims 1-3, wherein said sending a first installation request to the target second electronic device based on the installation status of the first application and the device types supported by the first application comprises:
judging whether the first application is an application issued by an application market;
if the first application is not the application issued by the application market, sending a first installation request to the target second electronic equipment based on the installation state of the first application and the equipment type supported by the first application;
and if the first application is an application issued by an application market, acquiring second version information of the first application from the application market, and sending a second installation request to the target second electronic equipment based on the first version information and the second version information so as to enable the target second electronic equipment to download the first application from the application market.
5. The method according to claim 4, wherein the first version information includes one or more second electronic devices and a version number of the first application installed in the first electronic device, the second version information includes a version number of the first application in the application market, and the sending of the second installation request to the target second electronic device based on the first version information and the second version information includes:
judging whether the version number of the first application in the first version information is matched with the version number of the first application in the second version information;
if not, sending a second installation request to the target second electronic equipment;
and if so, sending a first installation request to the target second electronic equipment.
6. The method according to any of claims 1 to 5, wherein the first installation request comprises an installation package of the first application.
7. The management method according to claim 1, wherein the acquiring device types supported by the first application, version information of the first application, and installation states of one or more second electronic devices and the first application in the first electronic device comprises:
detecting a second operation of searching the first application in the application market, and responding to the second operation to acquire the device types supported by the first application, the version information of the first application and the installation state of one or more second electronic devices and the first application in the first electronic device.
8. The management method according to claim 1, wherein the acquiring device types supported by the first application, version information of the first application, and installation states of one or more second electronic devices and the first application in the first electronic device comprises:
detecting a third operation on the icon of the first application, and responding to the third operation to acquire the device type supported by the first application, the version information of the first application and the installation state of one or more second electronic devices and the first application in the first electronic device.
9. The management method according to claim 1, wherein the acquiring device types supported by the first application, version information of the first application, and installation states of one or more second electronic devices and the first application in the first electronic device comprises:
when the first electronic device and the second electronic device are detected to be in the same local area network, obtaining a device type supported by a first application, version information of the first application, and an installation state of one or more second electronic devices and the first application in the first electronic device.
10. The management method according to any one of claim 1, the installation status including at least one of installed, uninstalled, or not updated.
11. The method for managing according to claim 1, further comprising:
and detecting a fourth operation of selecting second electronic equipment in the application management interface, and responding to the fourth operation, sending an unloading request to the second electronic equipment so that the second electronic equipment unloads the first application.
12. The method of managing as claimed in claim 1, wherein after sending the first installation request to the target second electronic device, the method further comprises:
and updating the installation state of the first application in the target second electronic equipment in the management interface.
13. The management method according to claim 1, further comprising:
detecting a fifth operation of selecting the first electronic equipment in the application management interface;
in response to the fifth operation, based on the installation state of the first application and the device types supported by the first application, sending a third installation request to one or more second electronic devices, so that the first electronic device obtains the installation package of the first application from the second electronic devices, and the first electronic device installs the first application.
14. A management method of an application, applied to a first electronic device, includes:
the method comprises the steps of obtaining a device type supported by a first application, one or more second electronic devices and an installation state of the first application in the first electronic devices;
displaying an application management interface based on the device type supported by the first application and the installation state of the first application;
detecting a first operation of selecting first electronic equipment in the application management interface;
in response to the first operation, based on the installation state of the first application and the device types supported by the first application, sending a first installation request to one or more second electronic devices, so that the first electronic device obtains the installation package of the first application from the second electronic devices, and the first electronic device installs the first application.
15. An electronic device comprising one or more memories, one or more processors; wherein the one or more memories store one or more programs; the one or more processors, when executing the one or more programs, cause the electronic device to perform the management method of any of claims 1-13.
16. An electronic device comprising one or more memories, one or more processors; wherein the one or more memories store one or more programs; the one or more processors, when executing the one or more programs, cause the electronic device to perform the management method of claim 14.
17. A computer-readable storage medium comprising computer instructions which, when executed on an electronic device, cause the electronic device to perform the management method of any one of claims 1-13.
18. A computer-readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the management method of claim 14.
CN202110462098.2A 2021-04-27 2021-04-27 Application management method and electronic equipment Pending CN115248693A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110462098.2A CN115248693A (en) 2021-04-27 2021-04-27 Application management method and electronic equipment
PCT/CN2022/087389 WO2022228180A1 (en) 2021-04-27 2022-04-18 Application management method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110462098.2A CN115248693A (en) 2021-04-27 2021-04-27 Application management method and electronic equipment

Publications (1)

Publication Number Publication Date
CN115248693A true CN115248693A (en) 2022-10-28

Family

ID=83696782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110462098.2A Pending CN115248693A (en) 2021-04-27 2021-04-27 Application management method and electronic equipment

Country Status (2)

Country Link
CN (1) CN115248693A (en)
WO (1) WO2022228180A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115622861A (en) * 2022-12-19 2023-01-17 江西格如灵科技有限公司 Internet equipment management method, system, computer and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777962A (en) * 2014-02-21 2014-05-07 联想(北京)有限公司 Method and device for processing information
CN111309205B (en) * 2020-01-23 2021-07-06 维沃移动通信有限公司 Application sharing method, first electronic device and computer-readable storage medium
CN111831176B (en) * 2020-06-18 2021-09-21 维沃移动通信有限公司 Application program management method and device
CN112286414A (en) * 2020-10-27 2021-01-29 维沃移动通信有限公司 Information display method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115622861A (en) * 2022-12-19 2023-01-17 江西格如灵科技有限公司 Internet equipment management method, system, computer and readable storage medium

Also Published As

Publication number Publication date
WO2022228180A1 (en) 2022-11-03

Similar Documents

Publication Publication Date Title
CN113542839B (en) Screen projection method of electronic equipment and electronic equipment
CN110430324B (en) Display method, electronic equipment and storage medium for application screen opening information
CN112289313A (en) Voice control method, electronic equipment and system
CN111030990B (en) Method for establishing communication connection, client and server
CN110730114B (en) Method and equipment for configuring network configuration information
WO2021052204A1 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN114968614A (en) Application interaction method among multiple devices and related devices
CN113821767A (en) Application program authority management method and device and electronic equipment
CN113254409A (en) File sharing method, system and related equipment
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
CN111865646A (en) Terminal upgrading method and related device
CN114124980A (en) Method, device and system for starting application
WO2022228180A1 (en) Application management method and electronic device
WO2023142869A1 (en) Application synchronization method and electronic device
CN115941836A (en) Interface display method, electronic equipment and storage medium
WO2022062902A1 (en) File transfer method and electronic device
CN113950045B (en) Subscription data downloading method and electronic equipment
CN117348894A (en) Software upgrading method, terminal equipment and system
CN114765768A (en) Network selection method and equipment
CN112929870A (en) Event subscription method and electronic equipment
CN116719376B (en) Voltage control method, device, equipment and storage medium
CN116346982B (en) Method for processing audio, electronic device and readable storage medium
WO2023142935A1 (en) Application component management method and related device
WO2023045876A1 (en) Application installation method and related devices
CN118233446A (en) Application downloading method 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