WO2022228180A1 - 一种应用的管理方法和电子设备 - Google Patents

一种应用的管理方法和电子设备 Download PDF

Info

Publication number
WO2022228180A1
WO2022228180A1 PCT/CN2022/087389 CN2022087389W WO2022228180A1 WO 2022228180 A1 WO2022228180 A1 WO 2022228180A1 CN 2022087389 W CN2022087389 W CN 2022087389W WO 2022228180 A1 WO2022228180 A1 WO 2022228180A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
electronic device
installation
mobile phone
target
Prior art date
Application number
PCT/CN2022/087389
Other languages
English (en)
French (fr)
Inventor
鲁波
钟建飞
贾德祥
陈友志
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022228180A1 publication Critical patent/WO2022228180A1/zh

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

Definitions

  • the present application relates to the field of terminal technology, and in particular, to an application management method and an electronic device.
  • the present application provides an application management method, applied to a first electronic device, including:
  • a first operation of selecting a target second electronic device in the application management interface is detected, the target electronic device belongs to one of the one or more second electronic devices, and the management interface includes one or more second electronic devices and the first electronic device.
  • a first installation request is sent to the target second electronic device, so that the second electronic device is removed from the first electronic device or the target second electronic device
  • the installation package of the first application is obtained in a second electronic device other than the electronic device, so that the target second electronic device installs the first application.
  • an application management interface including:
  • the application management interface is displayed.
  • sending the first installation request to the target second electronic device includes:
  • a first installation request is sent to the target second electronic device.
  • sending the first installation request to the target second electronic device includes:
  • the first application is not an application issued by the application market, send a first installation request to the target second electronic device based on the installation status of the first application and the device type supported by the first application;
  • the first application is an application issued by the application market
  • obtain the second version information of the first application from the application market and send a second installation request to the target second electronic device based on the first version information and the second version information, to The target second electronic device is caused to download the first application from the application market.
  • the first version information includes one or more second electronic devices and version numbers of the first application installed in the first electronic device
  • the second version information includes the first application in the application market.
  • the version number based on the first version information and the second version information, send a second installation request to the target second electronic device, including:
  • the first installation request includes an installation package of the first application.
  • acquiring the device type supported by the first application, the version information of the first application, and the installation status of the first application in one or more second electronic devices and 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 type supported by the first application, the version information of the first application, and one or more second electronic devices and the first electronic device are acquired The installation status of the first application in .
  • acquiring the device type supported by the first application, the version information of the first application, and the installation status of the first application in one or more second electronic devices and the first electronic device includes:
  • a third operation on the icon of the first application is detected, and in response to the third operation, the device type supported by the first application, the version information of the first application, and the first electronic device among the one or more second electronic devices and the first electronic device are obtained.
  • the installation status of an application is obtained.
  • acquiring the device type supported by the first application, the version information of the first application, and the installation status of the first application in one or more second electronic devices and the first electronic device includes:
  • the device type supported by the first application When it is detected 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 information of one or more second electronic devices and the first application in the first electronic device are obtained. installation status.
  • the installation status includes at least one of installed, not installed, or not updated.
  • the above method further includes:
  • a fourth operation of selecting the second electronic device in the application management interface is detected, and in response to the fourth operation, an uninstall request is sent to the second electronic device, so that the second electronic device uninstalls the first application.
  • the method after sending the first installation request to the target second electronic device, the method further includes:
  • the installation status of the first application in the target second electronic device is updated.
  • a third installation request is sent to one or more second electronic devices, so that the first electronic device obtains from the second electronic device An installation package of the first application, so that the first electronic device installs the first application.
  • the present application provides an application management method, applied to the first electronic device, including:
  • the present application provides an electronic device, comprising one or more memories and one or more processors; wherein the one or more memories store one or more programs; when the one or more processors are in When one or more programs are executed, the electronic device is caused to execute the management method described in the first aspect.
  • the present application provides an electronic device, comprising one or more memories and one or more processors; wherein the one or more memories store one or more programs; when the one or more processors are in When one or more programs are executed, the electronic device is caused to execute the management method described in the second aspect.
  • the present application provides a computer-readable storage medium, including computer instructions, which, when the computer instructions are executed on an electronic device, cause the electronic device to execute the management method described in the first aspect.
  • the present application provides a computer-readable storage medium, comprising computer instructions, which, when the computer instructions are executed on an electronic device, cause the electronic device to execute the management method described in the second aspect.
  • FIG. 1 is a network framework diagram provided by an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of an electronic device in the network frame diagram shown in FIG. 1 according to an embodiment of the present application;
  • 3(a)-(d) are graphical interfaces of a method for managing applications running on an electronic device according to an embodiment of the present application
  • FIG. 4 is a graphical interface of a method for managing applications running on an electronic device provided by an embodiment of the present application
  • 5(a)-(b) are graphical interfaces of a method for managing applications running on an electronic device according to an embodiment of the present application
  • FIG. 6 is a flowchart of an application management method provided by an embodiment of the present application.
  • FIG. 7 is a flowchart of an application management method provided by an embodiment of the present application.
  • Figures 9(a)-(c) are graphical interfaces of a method for managing applications running on an electronic device provided by an embodiment of the present application.
  • 10(a)-(b) are graphical interfaces of a method for managing applications running on an electronic device provided by an embodiment of the present application;
  • FIG. 11 is a flowchart of an application management method provided by an embodiment of the present application.
  • FIG. 13 is a flowchart of an application management method provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • plural means two or more.
  • Some devices are inconvenient to control, such as smart watches because the screen is too small, or the input and search application experience is not good; large-screen devices (such as TV) do not support touch, and it is not easy to use the remote control to select application installation and search; no If you want to install some special applications on the router with the interface, you also need to go to a special management app, and each application installation is in a separate state.
  • the present application proposes an application management method 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 mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR)/virtual reality (VR) devices , notebook computer, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA) and so on.
  • electronic devices including but not limited to mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR)/virtual reality (VR) devices , notebook computer, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA) and so on.
  • the electronic devices in the network 109 may communicate with each other, and may communicate in a wireless manner or a wired manner, wherein the wireless communication includes on-site communication, Bluetooth communication, and WIFI communication.
  • each application can support at least one or more types of electronic devices, for example, the application A in FIG. 1 It can be installed and run on mobile phones, tablet computers, and can also be installed and run on TVs.
  • each type of electronic device needs to download the application installation package corresponding to the type of electronic device from the cloud application market to install and run the application.
  • the mobile phone B 106 needs to download the installation package of the application A corresponding to the mobile phone from the cloud server 102, install and run the application A, and the TV 106 needs to download the corresponding application A from the cloud server 102. Install the package, install and run the application A.
  • the mobile phone B 110 can download the installation package corresponding to the TV 106 in the cloud server 102, and then send the installation package corresponding to the TV 106 to TV 106, causing TV 106 to install and run application A.
  • the mobile phone B 110 has installed the application A, and can query the installation status of the application A in the mobile phone A or the tablet computer 108 in the network 109. If the application A is not installed in the electronic device such as the tablet computer 108, based on the user's operation, The mobile phone B 110 can send the installation package of the installed application A to the tablet computer, so that the tablet computer can install the application A.
  • the mobile phone B 110 has installed the application A, and the mobile phone A 104 can query the installation status of the application A in the mobile phone B 110 in the network 109. Based on the user's operation, the mobile phone A 104 can install the application A installed on the mobile phone B 110. Uninstall it.
  • each electronic device under the network 109 may run 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 at least provides the following interface capabilities : Install apps, update apps, uninstall apps, and query the list of currently installed apps.
  • the distributed management service process is used to manage the information of all electronic devices in the current network 109, and at least provide the following interface capabilities: query the application installation list in the specified electronic device, file transfer between two devices in the distributed network, installation/uninstallation The specified application in the specified device, the broadcast notification after a device in the distributed network goes offline, the broadcast notification after a new device in the distributed network is connected, and so on.
  • a user can query the installation status of one or more applications in one or more other electronic devices (106 and/or 108) through one electronic device (for example, 104). , and install, update, and uninstall one or more applications in the other electronic device according to the installation status of one or more applications in the other electronic device.
  • one electronic device for example, 104
  • install, update, and uninstall one or more applications in the other electronic device according to the installation status of one or more applications in the other electronic device.
  • FIG. 2 is a schematic structural diagram of an electronic device 100 in the network frame 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 charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and user Identity module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • 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, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device.
  • the electronic device may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device.
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface to implement the photographing function of the electronic device.
  • the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device.
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transmit data between the electronic device and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiments of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device.
  • the electronic device may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device. While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting 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 charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G etc. applied on the electronic device.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on electronic devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation
  • FM near field communication technology
  • NFC near field communication
  • IR infrared technology
  • 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 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through
  • the antenna 1 of the electronic device is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS), it should be noted that the number of antennas shown in the figure is only an example, and more can be set, such as 3, 4 or more.
  • the electronic device realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
  • Video codecs are used to compress or decompress digital video.
  • An electronic device may support one or more video codecs.
  • the electronic device can play or record videos in various encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of electronic devices can be realized, such as image recognition, face recognition, speech recognition, text understanding, etc.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device by executing the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor.
  • the electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be received by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device may be provided with at least one microphone 170C.
  • the electronic device may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals.
  • the electronic device may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device can also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B can be used to determine the motion attitude of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (ie, the x, y, and z axes) may be determined by the gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device, calculates the distance to be compensated by the lens module according to the angle, and allows the lens to counteract the shaking of the electronic device through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device calculates the altitude from the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • Distance sensor 180F for measuring distance.
  • Electronic devices can measure distances by infrared or laser. In some embodiments, when shooting a scene, the electronic device can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • Electronic devices emit infrared light outward through light-emitting diodes.
  • Electronic devices use photodiodes to detect reflected infrared light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object in the vicinity of the electronic device. When insufficient reflected light is detected, the electronic device can determine that there is no object in the vicinity of the electronic device.
  • the electronic device can use the proximity light sensor 180G to detect that the user holds the electronic device close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints. Electronic devices can use the collected fingerprint characteristics to unlock fingerprints, access application locks, take photos with fingerprints, and answer incoming calls with fingerprints.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device utilizes the temperature detected by the temperature sensor 180J to implement a temperature handling strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device may reduce the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device when the temperature is lower than another threshold, the electronic device heats the battery 142 to avoid abnormal shutdown of the electronic device caused by the low temperature.
  • the electronic device boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “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, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device, which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device may receive key input and generate key signal input related to user settings and function control of the electronic device.
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device.
  • the electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. 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 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device interacts with the network through the SIM card to realize functions such as call and data communication.
  • the electronic device employs an eSIM, ie: 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 this application can be used for the electronic device 100, and the electronic device 100 includes, but is not limited to, mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR)/virtual reality (virtual reality, VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (personal digital assistants, PDAs), etc.
  • AR augmented reality
  • VR virtual reality
  • UMPCs ultra-mobile personal computers
  • PDAs personal digital assistants
  • FIG. 3( a ) it is specifically related to a graphical interface diagram of an electronic device running the management method of the application of the present application in an embodiment of the present application, which may be a graphical interface of the application market in the electronic device 100 , and the electronic device 100 may be the graphic interface of FIG. 1
  • the mobile phone A104 in wherein the application market is an application program used to display, download and install the application software suitable for 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 the user can search for applications in the search bar 302 .
  • the user enters 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, the mobile phone A can respond to the user's click operation, and display the application A in the mobile phone A in the graphical interface It also displays the installation status of the application in the same network as mobile phone A, paired with each other, in the same trust ring, or in the electronic device with the same account, which indicates a personal account or a family group composed of multiple accounts.
  • the first display area 306 may display the installation status of the application A in the mobile phone A, and the installation status may include installed, not installed, not updated, and updated, etc., wherein the non-updated indicates that the current mobile phone A has installed the application A, but it is not the latest version, the installation package of the latest version of the application can be obtained from the cloud application market or other electronic devices.
  • not updated may also be displayed as updatable, and not installed may also be displayed as installable.
  • an uninstall control can be displayed in the graphical interface, so that the user can click the uninstall control to the mobile phone A and other electronic devices.
  • the installed application A in the device is uninstalled.
  • the second display area 308 of the mobile phone A displays the installation status of the application A in the mobile phone B, the TV and the tablet computer, and the mobile phone B, the TV and the tablet computer are all on the same network as the mobile phone A are in the same trust ring, or have the same account.
  • the first display area 306 shows that the installation status 320 of application A in mobile phone A is not installed
  • the second display area 308 shows that the installation status 312 of application A in mobile phone B is not installed Installation
  • the installation status 314 of application A in the TV is not updated, that is, application A has been installed in the TV, but the current version of application A is lower than the version in the cloud application market, or lower than that of other TVs connected to mobile phone A.
  • App A's version The installation status 316 of application A in the tablet computer is installed.
  • the mobile phone A can respond to the click operation and send the 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 makes the mobile phone B download the installation package of the application A from other applications.
  • the installation package of the application A is obtained from the electronic device on which the application A has been installed.
  • 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 sends the installation package of the application A to the mobile phone B, wherein the mobile phone C has already installed it.
  • Application A is in the same network, paired with each other, in the same trust ring, or has the same account as mobile phone A and mobile phone B.
  • all installation controls 310 may be set in the second display area 308.
  • the electronic device whose installation status is not installed or not updated can download the installation package of application A, and perform Install.
  • the mobile phone A, the mobile phone B, and the TV can obtain the corresponding installation package of the application A from the cloud application market or other electronic devices.
  • all installation controls 310 may also be arranged in other display areas except the second display area 308 .
  • Mobile phone A can obtain the installation status of application A in mobile phone B, TV and tablet computer in real time.
  • the installation status of application A in mobile phone B and TV can be updated in the graphical interface.
  • FIG. 3( b ) it specifically relates to a graphical interface diagram when an electronic device runs an application management method in an embodiment of the present application. It can be found that the installation status 320 of application A in mobile phone A changes from not installed to installed, the installation status 314 of application A in the TV is updated from not updated to updated, and the installation status 316 of application A in the tablet computer is updated from not installed is installed.
  • the second display area 308 in the graphical interface of the mobile phone A includes an uninstall control 322, and the user can click the uninstall control 322 to uninstall the installed application A in the mobile phone A or the mobile phone B, the TV and the tablet computer. It can be understood that the uninstall control 322 can also be arranged in other display areas other than the second display area 308 .
  • the user clicks the uninstall control 322 in the graphical interface shown in (b) of FIG. 3 , so that the electronic device 104 displays the graphical interface shown in (c) of FIG. 3 in response to the user's click operation .
  • application A has been installed in mobile phone A, mobile phone B, TV and tablet computer.
  • a selection control 324 is displayed in the states (eg, 312 , 314 , 316 and 320 ), and the user can click the selection control 324 corresponding to each electronic device to uninstall the application A in the electronic device.
  • the graphical interface in the electronic device 104 can update the installation status of the application A in the TV. Specifically, in Fig. 3(d), the application in the TV The status of A is updated to Uninstalled.
  • the application A in the TV is restored to the version before the update, and the status of the application A in the TV in the image interface of the mobile phone A is displayed as not being updated.
  • the above-mentioned graphical interface for installation or uninstallation is only exemplary, and the user can also set more graphical interfaces as required.
  • FIG. 4 it specifically relates to a graphical interface diagram of an electronic device running the management method of the application of the present application in an embodiment of the present application.
  • the electronic device 100 may be a mobile phone A.
  • mobile phone A may, in response to the user's search operation, display application A and other applications having the same function as application A in the graphical interface of mobile phone A.
  • the installation status can also display the installation status of application A and other applications having the same function as application A in the electronic device associated with mobile phone A at the same time.
  • the user searches for the "browser" application in the search bar 402, and the mobile phone A can respond to the user's search operation and display in the first display area 406 browsing in the mobile phone A, the TV, and the tablet computer.
  • the installation status of the browser 1 is displayed in the second display area 408 , and the installation status of the browser 2 in the mobile phone A, the TV and the tablet computer is displayed, wherein the browser 1 and the browser 2 are applications with the same function.
  • the electronic device 100 may be a mobile phone A 104.
  • mobile phone A may display application A and other applications having the same function as application A in the graphical interface of mobile phone A in response to the user's search operation, The user can view the installation status of the application A and other applications having the same function as the application A in the mobile phone A and the electronic device associated with the mobile phone A.
  • the user searches for a “browser” application in the search bar 502 , and the mobile phone A may display multiple browser applications in the graphical interface in response to the user’s search operation, such as a browser 1. Browser 2 and Browser 3, etc.
  • the user can click the icon 520 of the browser 1, and the mobile phone A responds to the user's click operation and displays the installation status of the browser 1 in the mobile phone A, the TV and the tablet computer.
  • FIG. 6 relates to a flowchart of a management method applied in an embodiment of the present application.
  • electronic device A and electronic device B are used as examples to explain and illustrate the management method shown in the application.
  • Electronic device A and electronic device B can refer to FIG.
  • the structure shown in 2 is implemented, electronic device B is an electronic device associated with electronic device A, and association may refer to electronic device A and electronic device B are in the same local area network, paired with each other, or in the same trust ring or have the same account, for example Accounts of members of the same family group.
  • the electronic device A may be the mobile phone A in the foregoing embodiment, and the electronic device B may be the mobile phone B, the tablet, and the television in the foregoing embodiment.
  • the management methods of this application include:
  • Step 602 the electronic device A detects an operation of the user querying the application A in the application market.
  • An application market is installed in the electronic device A, and the application market is an application program for displaying and downloading application software applicable to electronic devices such as mobile phones.
  • each application may have multiple corresponding installation packages according to different device types.
  • the cloud application market stores multiple installation packages corresponding to multiple electronic device types of Application A, such as installation packages corresponding to mobile phones and tablets, installation packages corresponding to TVs, and the like. Multiple installation packages may form a total installation package 1021 .
  • mobile phone A downloads application A from the application market from the electronic device, it can download the entire general installation package and then install application A, or 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, the configuration file includes configuration items, and the configuration items are used to indicate device types supported by the installation package.
  • the installation packages of the mobile phone and the tablet store a configuration file 1, and the mobile phone A reads the configuration items in the configuration file 1 to determine whether the application A supports the mobile phone A.
  • the installation package of the application A corresponding to each device type also includes unique signature information, and the signature information is unique and cannot be changed. Based on the signature information, it can be determined whether application A is an application issued by the application market. For example, after application A is installed on the mobile phone, it can be determined that application A is an application issued by the application market based on the signature information 1 in the installation package.
  • the signature information includes, but is not limited to, a unique identifier (UUID, Universally Unique IDentifier) and the like.
  • the user After the user opens the application market, the user can query the application A in the application market.
  • step 604 When the electronic device A detects an operation of the user inquiring about the application A in the application market, it goes to step 604 .
  • Step 604 the electronic device A obtains the device type that supports the application A.
  • the electronic device A When the electronic device A detects the operation of the user querying the application A in the application market, it can read the preset configuration items in the installation package of the application A to determine the device type supported by the application A, for example, as shown in FIG. 1 As shown, application A supports installation on mobile phones, tablet computers, and TVs.
  • step 406 After the electronic device A obtains the device type that supports the application A, it proceeds to step 406 .
  • Step 606 the electronic device A sends a query request to at least one electronic device B, where the query request is used to query the installation status of the electronic device B, and the installation status may include installed, not installed, not updated, and the like.
  • electronic device A and at least one electronic device B are in the same local area network, paired with each other, located in the same trust ring, or have the same account, and electronic device A can directly send a query request to electronic device B under the same local area network.
  • Step 608 the electronic device B queries the installation status of the application A.
  • the electronic device A After receiving the query request sent by the electronic device A, the electronic device A also queries the installation status of the application A in the electronic device A and the electronic device B through the above application management service process.
  • electronic device B under the same local area network as electronic device A includes a watch, a TV, and a tablet computer.
  • the watch does not support application A, so application A must not be installed in the watch. It can be understood that the type of device based on the watch does not Supports the installation of application A. In subsequent steps, you can no longer query the installation status of application A in the watch to save resources.
  • both the TV and the tablet computer support application A, and the installation package of application A is not installed on the TV, and application A is installed on the tablet computer, but the version of application A on the tablet computer is not the latest version.
  • the above query request may include the version number of application A in the application market, and the tablet computer may compare the version number of the currently installed application A with the version number in the query request. If they are inconsistent, the version of application A is regarded as Not the latest version, that is, the installation status of application A on the tablet is not updated, and the installation status of application A on the TV is not installed.
  • electronic device A when electronic device A sends a query request, it can also query the installation status of application A in electronic device A (ie, the local machine).
  • step 610 After the electronic device B inquires about the installation status of the application A, it proceeds to step 610 .
  • Step 610 the electronic device B sends a first feedback message to the electronic device A, where the first feedback message includes the installation state of the application A in the electronic device B.
  • Electronic device B inquires about the installation status in its application A, and sends the installation status to electronic device A.
  • Step 612 the electronic device A displays the installation status of the application A in the electronic device A and/or at least one electronic device B.
  • the electronic device A may display the installation status of the application A in the electronic device A and/or at least one electronic device B based on the first feedback message.
  • electronic device B includes an electronic device that does not support application A, such as a watch, and the electronic device can determine the device type of the watch according to the address of the watch to further determine whether it is an electronic device that supports application A.
  • the electronic device determines that the electronic device B does not support the application B, it may not display the installation status of the electronic device B and the application A in the display interface.
  • Step 614 the electronic device A detects an operation for changing the installation state of the application A in the electronic device B.
  • the electronic device A After detecting the operation for changing the installation state of the application A in the electronic device B, the electronic device A proceeds to step 616 .
  • 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 can determine whether the electronic device B downloads the installation package of the application A as required. For example, referring to FIG. 3(a), in the graphical interface, the user clicks the all-install 310 control, so that the electronic device A displays the second display area.
  • the electronic device B (tablet computer, TV, etc.), etc. sends an installation request, so that the electronic device B downloads the installation package of the application A to install the application A.
  • Step 618 the electronic device B obtains the installation package of the application A.
  • the electronic device B after receiving the installation request, can obtain the installation package of the application A from the application market. In another example, after electronic device A downloads the installation package of application A corresponding to electronic device B, it sends it to electronic device B, so that electronic device B installs application A.
  • Step 620 the electronic device B sends a second feedback message to the electronic device A, where the second feedback message includes the installation status of the electronic device B.
  • the electronic device installs the application A after acquiring the installation package, and when the installation is completed, the electronic device A sends the second feedback message.
  • Step 622 the electronic device A updates the installation state of the application A in the electronic device B.
  • the electronic device A 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 relates to a flow chart of a management method applied in another embodiment of the present application.
  • a mobile phone A and a TV are used as examples to explain and illustrate the shown applied management method.
  • the mobile phone A and the TV are in the same local area network, paired with each other or The same trust ring or have the same account, for example, the same family group member account.
  • both the mobile phone A and the TV include an application management service process and a distributed management service process.
  • the application management service process is used to manage the application installation inside each electronic device, and at least provides the following interface capabilities: installing applications , update apps, uninstall apps, and query the list of currently installed apps.
  • the distributed management service process is used to manage the information of all electronic devices in the same local area network, mutual pairing or the same trust ring or the same account, and at least provide the following interface capabilities: query the application installation list in the specified electronic device, File transfer between devices, installation/uninstallation of a specified application in a specified device, broadcast notification after a device in the distributed network goes offline, broadcast notification after a new device in the distributed network is connected, etc.
  • the user can query the installation status of application A on the mobile phone A and the TV in the mobile phone A application market.
  • the application market detects the user's query operation on application A, based on the installation package of application A, it is determined that application A supports The specific determination method has been shown above, and will not be repeated here.
  • Application A supports cell phones, tablets and TVs.
  • the mobile phone A After determining the device type supported by the application A, the mobile phone A sends an instruction to the distributed management service to query the electronic device associated with the mobile phone A.
  • electronic devices associated with cell phones include televisions and watches. Since application A does not support the installation of application A, in the subsequent steps, mobile phone A does not pay attention to the installation status of application A in the watch.
  • the mobile phone A After determining the device type supported by the application A, the mobile phone A sends an instruction to the TV distributed management service through the distributed management service to query the installation status of the application A in the TV. After receiving the instruction, the distributed management service in the TV forwards the instruction to the application management service of the TV.
  • the application management service can query the installation status of application A and feed back the installation status of application A to the distributed management service of the TV.
  • the distributed management service of the TV forwards the installation status of the application A in the TV to the distributed management service of the mobile phone A, and the application management service in the mobile phone A inquires about the installation status of the application A in the received TV, and reports it to the application market to display to users.
  • the application management service of the mobile phone A can simultaneously report the installation status of the application A in the mobile phone A to the application market and display it to the user.
  • the user can manage the installation status of the application A in the TV based on the graphical interface of the mobile phone A.
  • the mobile phone A application market issues an installation instruction to the mobile phone distributed management service.
  • the distributed management service of the mobile phone A forwards the installation instruction to the distributed management service of the TV, so that the application management service of the TV downloads and installs the application A.
  • the distributed management service of the TV can feed back the installed status of the application A to the mobile phone A, so that the mobile phone A can update the installation status of the application A in the TV.
  • the mobile phone A can not only install the application A in the TV, but also perform operations such as uninstallation.
  • the application management method disclosed in this application is not limited to operation in the graphical interface in the application market.
  • the graphical interface of mobile phone A includes multiple installed applications, including but not limited to application A, weather application, calendar application and so on. It can be understood that the mobile phone A may also include more applications, which are not limited here.
  • Figure 8(b) shows the management interface of application A, which is used to install or uninstall application A in the mobile phone and the electronic device associated with mobile phone A, where the electronic device associated with mobile phone A includes Electronic devices on the same local area network, paired with each other, in the same trust ring, or with the same account.
  • the mobile phone A can jump from the interface shown in FIG. 8( a ) to the management interface of the application A shown in FIG. 8( b ).
  • the user can long press the icon 802 of application A to reach the preset market to display the management interface shown in FIG. 8( b ).
  • the management interface of application A is shown in FIG. 8(b).
  • an installation control 804 and/or an uninstallation control 806 may be included, and the user may click the uninstallation control 806 to cause the mobile phone A to display a graphical interface for uninstalling the electronic device on which the application A has been installed , the user can also click the installation control 804 corresponding to the application A, so that the mobile phone A displays a graphical interface for installing the application A.
  • the installation control 804 the mobile phone A enters the graphical interface shown in FIG. 8(c) in response to the user's click operation.
  • the installation status of mobile phone B, mobile phone A (this machine) and application A in the TV is displayed.
  • the installation status of mobile phone B is not installed, and the installation status of this machine is installed.
  • Installation the installation status of application A in the TV is not updated.
  • the user can choose to update or install the application A in any electronic device as required. For example, the user can click on the installation state 810 corresponding to the mobile phone B in the graphical interface shown in FIG. 8( c ), and send an installation request to the mobile phone B, so that the mobile phone B downloads the application A from the cloud application market. It should be noted that if mobile phone A and mobile phone belong to the same type of electronic device, mobile phone B can directly obtain the installation package of application A from mobile phone A instead of downloading the installation package of application A from the application market. This allows for better traffic savings.
  • the user can also click the all installation control 816, so that the mobile phone B, the TV, and the mobile phone B all download the installation package of the application A, so as to install or update the application A.
  • the installation status corresponding to mobile phone A and mobile phone B becomes installed, and the installation status corresponding to TV becomes updated.
  • FIG. 8( b ) it is specifically related to a graphical interface diagram of a method for managing an application executed by a mobile phone A provided by an embodiment of the present application.
  • the graphical interface shown in FIG. 9(a) includes a third display area 924 , which includes other electronic devices associated with mobile phone A that have installed application A, such as mobile phone A and a TV.
  • the user can uninstall the mobile phone A and the application A on the TV as needed.
  • the user can click on the uninstall all control 920 to uninstall application A in mobile phone A (local device), and at the same time, mobile phone A sends an uninstall request to the TV, so that the TV uninstalls application A.
  • the mobile phone A sends an uninstall request to the TV alone, so that the TV uninstalls the application A and updates the TV in the graphical interface shown in FIG. 9(c).
  • the installation status of application A in the TV for example, the installation status of application A in the TV is updated from not uninstalled to uninstalled.
  • the application management method shown in this application is not limited to installing, updating, or uninstalling a single application, and can also operate on multiple applications. 10(a)-(b), it is specifically related to a graphical interface of an electronic device provided by an embodiment of the present application, and the electronic device may be a mobile phone A.
  • the fourth display area 1010 of the mobile phone A includes the installation status of at least one application, such as mail 1016, For applications such as music 1018 and browser 1020, the fourth display area 1010 indicates that mobile phone A can obtain installation packages of all applications in the fourth display area 1010 from other electronic devices (such as tablet computer or mobile phone B) for application installation.
  • application such as mail 1016
  • the fourth display area 1010 indicates that mobile phone A can obtain installation packages of all applications in the fourth display area 1010 from other electronic devices (such as tablet computer or mobile phone B) for application installation.
  • the applications in the fourth display area 1010 indicate applications that are not currently installed or updated on mobile phone A (and the tablet computer or mobile phone B has been installed), and mobile phone A can obtain the fourth Displaying the installation package of the application in the area 1010 prevents the mobile phone A from downloading the installation package to the cloud application market, thus saving traffic.
  • the fifth display area 1012 includes the installation status of at least one application, such as the weather 1022 application, and the fifth display area 1012 indicates that the TV can obtain the installation package of the weather 622 application from the cloud application market.
  • the sixth display area 1014 includes the installation status of at least one application, such as weather 1022, health 1024, and application A 1026, and the sixth display area indicates that mobile phone B can obtain the installation package of application A 1026 from mobile phone A.
  • the user may operate in the fourth display area 1010 , the fifth display area 1012 and the sixth display area 1014 in the figure as required to install applications on mobile phone A, mobile phone B and tablet computer respectively.
  • mobile phone A can send the installation packages of weather 1022, health 1024 and application A 1026 to mobile phone B, so that mobile phone B can install the received installation packages.
  • the mobile phone A may send a request to the mobile phone B to confirm whether the user allows the above-mentioned applications to be installed in the mobile phone B.
  • a request sent by mobile phone A to mobile phone B is displayed to confirm whether the user allows the installation of A in mobile phone B.
  • the electronic device 104 sends the application installation package to the mobile phone B.
  • more confirmation methods can also be set according to user needs, for example.
  • the mobile phone B pops up a box to ask the user, and after the user approves, when the electronic device 104 performs 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 can avoid confirmation, that is, the mobile phone B does not need to ask the user whether to allow the installation package of the electronic device 104 and install the installation package.
  • the fifth display area 1012 and the sixth display area 1014 both include a weather application 1022 .
  • the installation package of the weather application corresponding to the local machine is inconsistent with the installation package corresponding to the TV.
  • the local machine (mobile phone A) and mobile phone B correspond to the same installation package. Therefore, the TV cannot obtain the installation brain of the weather from the local machine. , you can only obtain the weather application installation package corresponding to the TV from the cloud.
  • mobile phone A after mobile phone B installs the installation package received from mobile phone A, mobile phone A can update the installation status of the application installed in mobile phone B in the display interface.
  • the mobile phone A can directly send the installation package of the weather 1022, the health 1024 and the application 1026 to the mobile phone B.
  • the mobile phone B can also obtain the application installation packages from the application market.
  • the mutual acquisition of the application installation package by electronic devices such as mobile phone A and mobile phone B has at least the following advantages: compared with downloading the installation package from the application market, the direct transmission of the installation package file between electronic devices can save traffic.
  • Some applications are not applications issued by the application market. By obtaining application installation packages from other electronic devices, the installation methods of applications are increased and the user experience is improved.
  • a separate menu key may be set on 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.
  • the graphical interface shown in FIG. 10(b) can be displayed.
  • the graphical interface shown in FIG. 10(b) can be displayed.
  • the display shown in Figure 10(b) can be displayed.
  • graphic interface In one example, before displaying the graphical interface shown in FIG. 10(b), the user may be asked for permission to display the graphical interface.
  • the application management method is introduced from the user interaction level.
  • the following describes the application management method provided by the embodiments of the present application from the software implementation strategy level with reference to the above drawings. It should be understood that the method can be implemented in the network as shown in FIG. 1 and in electronic devices (eg, mobile phones, tablet computers, etc.) having the structure as shown in FIG. 2 .
  • FIG. 11 relates to a flowchart of a management method applied in an embodiment of the present application.
  • the first electronic device and at least one second electronic device are taken as examples to explain and illustrate the management method applied as shown, wherein the first electronic device
  • the structure of the device and the second electronic device can refer to the electronic device 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 refers to the first electronic device.
  • 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 an individual account or a family group composed of multiple accounts.
  • the first electronic device may be the mobile phone A in the above embodiment, and the application management method specifically includes:
  • Step 1102 the first electronic device detects a first operation for displaying the management interface, where the first operation may be a preset operation of the user on the first electronic device, such as a user's touch operation.
  • the first operation may also be that the first electronic device detects that the second electronic device is connected to the same local area network, or the like.
  • the first electronic device can install, update, and uninstall applications in the first electronic device and/or one or more second electronic devices through the management interface.
  • FIGS 3(a), 4, 8(b), and 10(a) show exemplary diagrams of the management interface. It should be noted that the user can display the management interface on the first electronic device through various operations.
  • the first electronic device when the first electronic device detects that the user clicks the preset menu key, the first electronic device may display the management interface in response to the user's click operation. In another example, when the first electronic device detects the preset gesture, the management interface may be displayed. In another example, when the first electronic device detects that it is connected to the same local area network as one or more second electronic devices, the management interface may be displayed. In another example, when an application is updated, and support for a certain type of device is added in the update content, and the type of device is an electronic device associated with the first electronic device, the management interface can be displayed. In another example, the first electronic device displays the management interface when detecting that the user touches an application for a preset duration.
  • Step 1104 In response to the detected first operation, the first electronic device queries the installation status of one or more applications in the first electronic device and at least one second electronic device, and the devices supported by the one or more applications type.
  • the installation status of one or more applications in the first electronic device and/or the second electronic device is queried.
  • the installation status of one or more applications in the first electronic device and the one or more second electronic devices is acquired through the application management service process and the distributed management service process.
  • Step 1106 the first electronic device displays a management interface based on the installation status of one or more applications in the first electronic device and the second electronic device, and the device types supported by the one or more applications.
  • the management interface may include a first display area and/or a second display area and/or a third display area.
  • the first display area is used to display 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 device, and the first installation state indicates the display
  • the first application is not installed in each of the second electronic devices in the first display area in the interface, or the first application has been installed in the second electronic device but is not the latest version.
  • it may be determined whether the 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 market.
  • one or more controls can be set, and the user can use one or more controls on the first electronic device (such as mobile phone A), for example, the control 310 in FIG. 3( a ). , 312, 314, 316 and 320, 1030 in FIG.
  • the first electronic device such as mobile phone A
  • the first electronic device may directly send the installation package of the first application to the second electronic device, or the first electronic device may send a second installation request to the third electronic device, so that the third electronic device
  • the device directly sends the installation package of the first application to the second electronic device, so as to install the first application in the second electronic device.
  • the third electronic device, the first electronic device and the second electronic device may be in the same local area network, the same account or the same trust ring.
  • the second display area includes at least a first installation state of a second application in the first electronic device, the second application supports installation on the first electronic device and the second electronic device, and the first application in the display interface
  • the installed state indicates that the second application is not installed in the first electronic device, or the second application has been installed and is not the latest version.
  • whether the installed version of the second application in the first electronic device is the latest version may be determined by comparing the version numbers of the second application in the first electronic device and the second application in the application market.
  • one or more controls can be set, and the user can use the one or more controls on the first electronic device (such as mobile phone A), for example, in the fourth display area 1010 in FIG. 10 control, send a first installation request to the second electronic device, 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
  • the installation package of the second application is directly sent to the second electronic device, so that the second application is installed in the second electronic device.
  • the third electronic device, the first electronic device and the second electronic device may be in the same local area network, the same account or the same trust ring.
  • the third display area includes at least the second installation state of the third application in the first electronic device and/or one or more of the second electronic devices.
  • the second installation state includes that the third application has been installed.
  • one or more controls can be set, such as the control 322 in FIG. 3(c), and the user can send an uninstall request to the second electronic device through the one or more controls to uninstall the second electronic device The third application in .
  • the user can also uninstall the 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 of the first application or a first installation request.
  • the second operation indicates that the user wants to install the first application in the selected second electronic device.
  • the first electronic device when it detects the second operation, it may directly send a first installation request to the second electronic device, where the first installation request is used by the second electronic device to download and install the first application from the cloud application market package to install the first app.
  • the first electronic device when the first electronic device detects the second operation, it can detect whether the first application has been installed in the first electronic device, and if the first application is installed, it can directly send the information of the first application to the second electronic device. Installation package.
  • the first electronic device when the first electronic device detects the second operation, it can detect whether the first application has been installed in the third electronic device, and if the first application is installed, it is further determined whether the first application is under the application market issued application. If it is an application issued by the application market, the first electronic device preferably sends a second installation request to the third electronic device, and the third electronic device sends the installation package of the first application to the second electronic device based on the second installation request, so that the third electronic device sends the installation package of the first application to the second electronic device. The second electronic device installs the first application.
  • the first electronic device when it detects the second operation, it can detect whether the first application has been installed in the third electronic device and the fourth electronic device, if both the third electronic device and the fourth electronic device have installed the first application In the first application, the first electronic device can send a second installation request to any one of 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 second installation request to the second electronic device. Send the installation package of the first application, or, based on the user's selection, make the third electronic device or the fourth electronic device 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 or the same trust ring.
  • the installation package of the first application is directly sent to the second electronic device.
  • step 1110 is entered.
  • Step 1110 when the first electronic device detects a third operation of the user selecting the first electronic device in the second display area, in response to the detected third operation, sends a third installation request to the second electronic device, with the second The electronic device acquires the installation package of the second application, or sends a fourth installation request to the application market, so as to acquire the installation package of the second application from the application market.
  • the third operation indicates that the user wants to install the second application in the first electronic device.
  • the first electronic device detects a third operation by the user to select the first electronic device in the second display area, and the second application has been installed in the second electronic device, the first electronic device can download The second electronic device receives the installation package of the second application.
  • the first electronic device may send an installation request to the application market , and obtain the installation package of the second application to install the second application.
  • step 1106 when the first electronic device detects a fourth operation by the user to select the first electronic device and/or one or more second electronic devices in the third display area, enter the step 1112.
  • Step 1112 the first electronic device detects a fourth operation by the user to select the first electronic device and/or at least one electronic device in the third display area, and sends an uninstall request to the second electronic device in response to the detected fourth operation , to uninstall the third application installed in the second electronic device, or uninstall the third application installed in the first electronic device.
  • applications in other electronic devices associated with the first electronic device can be installed, updated and uninstalled, which improves user experience.
  • FIG. 12 relates to a flowchart of a management method applied in another embodiment of the present application.
  • mobile phone A and mobile phone B are used as examples to explain and illustrate the shown applied management method.
  • Mobile phone A and mobile phone B are in the same local area network and mutually Pairing or the same trust ring or have the same account, for example, the same family group member account.
  • the mobile phone A has installed the application A, and the user can obtain the management interface of the application A in various ways, such as the interface shown in FIG. 8( b ).
  • the user touches the icon of the application A (desktop application) in the mobile phone A for a preset duration to obtain the management interface of the application A.
  • the mobile phone A can determine the device type supported by the application A based on the manner shown above, which is not repeated here.
  • mobile phone A can determine whether application A is an application issued by mobile phone A's application market, if mobile phone A is not an application issued by the application market, based on mobile phone A.
  • the distributed management service and application management service in mobile phone B and the distributed management service and application management service in mobile phone B query the installation status of application A in mobile phone B. For a specific query process, reference may be made to FIG. 7 , which will not be repeated here.
  • mobile phone A can issue an instruction to make mobile phone A send the installation package of application A to mobile phone B, so that mobile phone A can install application A.
  • mobile phone B can ask the user whether to allow the installation of application A.
  • A requests the installation package of application A to install application A.
  • the mobile phone B feeds back the installation status of the application A to the mobile phone A, and uses the management interface of the mobile phone A.
  • FIG. 13 is a flowchart specifically related to 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 examples, the illustrated applied management method is explained and described, wherein , the structure of the first electronic device and the second electronic device can refer to the electronic device 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 refers to 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 an individual account or a family group composed of multiple accounts.
  • the method includes:
  • Step 1302 the first electronic device obtains the device type supported by the first application and the installation status of the first application in one or more second electronic devices and the first electronic device; In the installation state, the application management interface is displayed.
  • the application management interface includes one or more second electronic devices and the installation status of the first application in the first electronic device.
  • the installation status includes at least one of installed, not installed, or not updated.
  • the management interface may refer to the interfaces shown in Figs. 3(a), 4(a), 5(b), 5(c), and Fig. 10(a).
  • the device type supported by the first application can be determined by the configuration items of other installation packages in which the first application has been installed. The above has been described in detail and will not be repeated here.
  • the first electronic device acquires a device type supported by the first application, version information of the first application, and one or more second electronic devices and the installation status of the first application in the first electronic device, include:
  • the first electronic device detects a second operation of searching for the first application in the application market, and in response to the second operation, acquires a device type supported by the first application, version information of the first application, and one or more of the second electronic device and the second electronic device.
  • the installation state of the first application in the first electronic device Exemplarily, reference may be made to FIG. 3 for the specific implementation of this embodiment.
  • the first version information may include version numbers of the first application installed in the first electronic device and the one or more second electronic devices.
  • acquiring the device type supported by the first application, the version information of the first application, and the installation status of the first application in one or more second electronic devices and 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, obtains a device type supported by the first application, version information of the first application, and one or more second electronic devices and the first application.
  • the third operation on the icon of the first application may be a user's touch operation, for example, the user touches the first application for a preset duration.
  • the operation on the icon of the first application can also be understood as an operation on the installation state corresponding to the first application icon.
  • FIG. 8 and the like Exemplarily, for the specific implementation of this embodiment, reference may be made to FIG. 8 and the like.
  • the first electronic device acquires a device type supported by the first application, version information of the first application, and one or more second electronic devices and the installation status of the first application in the first electronic device, include:
  • the first electronic device When the first electronic device detects that the first electronic device and the second electronic device are in the same local area network, it acquires the device type supported by the first application, the version information of the first application, and one or more of the second electronic device and the first electronic device.
  • the installation status of the first application Exemplarily, for the specific implementation of this embodiment, reference may be made to FIG. 10 and the like.
  • the first electronic device displays an application management interface based on the device type supported by the first application and the installation status of the first application, including:
  • the first application acquires one or more second electronic devices and first version information of the first application installed in the first electronic device;
  • the application management interface is displayed.
  • 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.
  • the management interface is displayed based on the version number, the first application may include an unupdated state.
  • the first electronic device sends the first installation request to the target second electronic device based on the installation state of the first application and the device type supported by the first application, including:
  • a first installation request is sent to the target second electronic device.
  • the first installation request may carry the installation status of the first application, the information of the first version, and the device type supported by the first application, so that the target second electronic device can make a decision based on the information and choose which electronic device to obtain the information of the first application from. Installation package.
  • Step 1304 the first electronic device detects the first operation of selecting the target second electronic device in the application management interface, and the target electronic device belongs to one of the one or more second electronic devices;
  • Step 1306 In response to the first operation, the first electronic device sends a first installation request to the target second electronic device based on the installation status of the first application and the device type supported by the first application, so that the second electronic device can download the first installation request from the first application.
  • the installation package of the first application is obtained in the electronic device or a second electronic device other than the target second electronic device, so that the target second electronic device installs the first application.
  • the first electronic device may send a first installation request to the target second electronic device, and after receiving the first installation request, the second electronic device responds to the first installation request and sends other installed
  • the installation package of the local application is obtained from the electronic device of the first application.
  • the target second electronic device can directly obtain the first electronic device from the first electronic device.
  • An application installation package 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 can directly obtain the first electronic device from the first electronic device.
  • the first installation request also carries the installation status 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 status and version information of the first application , to obtain the installation package of the first application.
  • the first installation request may include an installation package of the first application.
  • the first electronic device sends the first installation request to the target second electronic device based on the installation state of the first application and the device type supported by the first application, including:
  • the first electronic device determines whether the first application is an application issued by the application market. Specifically, the first electronic device may determine, based on the signature information of the first application installation package, whether the first application belongs to the application issued by the application market,
  • the first application is not an application issued by the application market, send a first installation request to the target second electronic device based on the installation status of the first application and the device type supported by the first application;
  • the first application is an application issued by the application market
  • obtain the second version information of the first application from the application market and send a second installation request to the target second electronic device based on the first version information and the second version information, to The target second electronic device is caused to download the first application from the application market.
  • the first version information includes one or more second electronic devices and version numbers of the first application installed in the first electronic device
  • the second version information includes the first application in the application market.
  • the version number based on the first version information and the second version information, send a second installation request to the target second electronic device, including:
  • the first electronic device determines whether the version number of the first application in the first version information matches the version number of the first application in the second version information
  • the first application is an application issued by the application market
  • the version in other electronic devices is not the latest version, and the latest version should be downloaded from the application market. If they are consistent, the version in other electronic devices is the latest version, and the target first electronic device can obtain the installation package of the first application from the electronic device on which the latest version is installed.
  • the above method further includes: the first electronic device detects a fourth operation of selecting the second electronic device in the application management interface, and in response to the fourth operation, sends an uninstall request to the second electronic device, so that the second electronic device uninstalls the first application.
  • the fourth operation may be a click operation, and for this embodiment, reference may be made to FIG. 9 .
  • the method further includes: in the management interface, updating the installation state of the first application in the target second electronic device.
  • the method further includes: the first electronic device detects a fifth operation of selecting the first electronic device in the application management interface;
  • a third installation request is sent to one or more second electronic devices, so that the first electronic device obtains from the second electronic device An installation package of the first application, so that the first electronic device installs the first application.
  • the first electronic device can also obtain the installation package from other electronic devices that have installed the first application, and based on this, traffic can also be saved.
  • Each functional unit in each of the embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • a computer-readable storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

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

Abstract

一种应用的管理方法和电子设备,方法包括:获取第一应用支持的设备类型以及一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态;检测到在所述应用管理界面中选取目标第二电子设备的第一操作,所述目标电子设备属于一个或多个所述第二电子设备中的一个;基于所述第一应用的安装状态和所述第一应用支持的设备类型,向所述目标第二电子设备发送第一安装请求,以使得所述第二电子设备从所述第一电子设备或除所述目标第二电子设备之外的第二电子设备中获取所述第一应用的安装包,以使得所述目标第二电子设备安装所述第一应用,通过该管理方法可以实现跨设备安装和节省流量。

Description

一种应用的管理方法和电子设备
本申请要求于2021年04月27日提交中国专利局、申请号为202110462098.2、申请名称为“一种应用的管理方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种应用的管理方法和电子设备。
背景技术
现有技术中,用户需要下载或者更新某一应用时,一般只能从电子设备的应用市场中下载该应用的安装包,这对用户不够友好。此外,一些应用的安装包很大,下载时需要使用很多流量。
发明内容
第一方面,本申请提供了一种应用的管理方法,应用于第一电子设备,包括:
获取第一应用支持的设备类型以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态;
基于第一应用支持的设备类型、第一应用的安装状态,显示应用管理界面;
检测到在应用管理界面中选取目标第二电子设备的第一操作,目标电子设备属于一个或多个第二电子设备中的一个,管理界面中包括一个或多个第二电子设备和第一电子设备中第一应用的安装状态;
响应于第一操作,基于第一应用的安装状态和第一应用支持的设备类型,向目标第二电子设备发送第一安装请求,以使得第二电子设备从第一电子设备或除目标第二电子设备之外的第二电子设备中获取第一应用的安装包,以使得目标第二电子设备安装第一应用。
在本申请的一个实施例中,基于第一应用支持的设备类型、第一应用的安装状态,显示应用管理界面,包括:
获取一个或多个第二电子设备和第一电子设备中已安装的第一应用的第一版本信息;
基于第一应用支持的设备类型、第一应用的安装状态和第一版本信息,显示应用管理界面。
在本申请的一个实施例中,基于第一应用的安装状态和第一应用支持 的设备类型,向目标第二电子设备发送第一安装请求,包括:
基于第一应用的安装状态、第一版本信息和第一应用支持的设备类型,向目标第二电子设备发送第一安装请求。
在本申请的一个实施例中,基于第一应用的安装状态和第一应用支持的设备类型,向目标第二电子设备发送第一安装请求,包括:
判断第一应用是否是应用市场下发的应用;
若第一应用不是应用市场下发的应用,基于第一应用的安装状态和第一应用支持的设备类型,向目标第二电子设备发送第一安装请求;
若第一应用是应用市场下发的应用,从应用市场中获取第一应用的第二版本信息,基于第一版本信息和第二版本信息,向目标第二电子设备发送第二安装请求,以使得目标第二电子设备从应用市场下载第一应用。
在本申请的一个实施例中,第一版本信息包括一个或多个第二电子设备和第一电子设备中已安装的第一应用的版本号,第二版本信息包括应用市场中第一应用的版本号,基于第一版本信息和第二版本信息,向目标第二电子设备发送第二安装请求,包括:
判断第一版本信息中第一应用的版本号与第二版本信息中第一应用的版本号是否匹配;
若不匹配,向目标第二电子设备发送第二安装请求;
若匹配,向目标第二电子设备发送第一安装请求。
在本申请的一个实施例中,第一安装请求中包括第一应用的安装包。
在本申请的一个实施例中,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态,包括:
检测到在应用市场中搜索第一应用的第二操作,响应于第二操作,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态。
在本申请的一个实施例中,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态,包括:
检测到对第一应用的图标的第三操作,响应于第三操作,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态。
在本申请的一个实施例中,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态,包括:
检测到第一电子设备与第二电子设备处于同一局域网时,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态。
在本申请的一个实施例中,安装状态包括已安装、未安装或者未更新中的至少一个。
在本申请的一个实施例中,上述方法还包括:
检测到在应用管理界面中选取第二电子设备的第四操作,响应于第四操作,向第二电子设备发送卸载请求,以使得第二电子设备卸载第一应用。
在本申请的一个实施例中,向目标第二电子设备发送第一安装请求之后,还包括:
在管理界面中,更新目标第二电子设备中第一应用的安装状态。
在本申请的一个实施例中,还包括:
检测到在应用管理界面中选取第一电子设备的第五操作;
响应于第五操作,基于第一应用的安装状态和第一应用支持的设备类型,向一个或多个第二电子设备发送第三安装请求,以使得第一电子设备从第二电子设备中获取第一应用的安装包,以使得第一电子设备安装第一应用。
第二方面,本申请提供了一种应用的管理方法,应用于第一电子设备,包括:
获取第一应用支持的设备类型以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态;
基于第一应用支持的设备类型、第一应用的安装状态,显示应用管理界面;
检测到在应用管理界面中选取第一电子设备的第一操作;
响应于第一操作,基于第一应用的安装状态和第一应用支持的设备类型,向一个或多个第二电子设备发送第一安装请求,以使得第一电子设备从第二电子设备中获取第一应用的安装包,以使得第一电子设备安装第一应用。
第三方面,本申请提供了一种电子设备,包括一个或多个存储器,一个或多个处理器;其中一个或多个储存器存储有一个或多个程序;当一个或多个处理器在执行一个或多个程序时,使得电子设备执行第一方面所述的管理方法。
第四方面,本申请提供了一种电子设备,包括一个或多个存储器,一个或多个处理器;其中一个或多个储存器存储有一个或多个程序;当一个或多个处理器在执行一个或多个程序时,使得电子设备执行第二方面所述的管理方法。
第五方面,本申请提供了一种计算机可读存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行第一方面所述的管理方法。
第六方面,本申请提供了一种计算机可读存储介质,包括计算机指 令,当计算机指令在电子设备上运行时,使得电子设备执行第二方面所述的管理方法。
通过上述管理方法,可以实现跨设备安装,可以节省流量,并提高用户的体验。
附图说明
图1为本申请一实施例提供的网络框架图;
图2为本申请一实施例提供的图1所示的网络框架图中一个电子设备的结构示意图;
图3(a)-(d)为本申请一实施例提供的电子设备运行应用的管理方法的图形界面;
图4为本申请一实施例提供的电子设备运行应用的管理方法的图形界面;
图5(a)-(b)为本申请一实施例提供的电子设备运行应用的管理方法的图形界面;
图6本申请一实施例提供的应用的管理方法的流程图;
图7本申请一实施例提供的应用的管理方法的流程图;
图8(a)-(d)为本申请一实施例提供的电子设备运行应用的管理方法的图形界面;
图9(a)-(c)为本申请一实施例提供的电子设备运行应用的管理方法的图形界面;
图10(a)-(b)为本申请一实施例提供的电子设备运行应用的管理方法的图形界面;
图11本申请一实施例提供的应用的管理方法的流程图;
图12本申请一实施例提供的应用的管理方法的流程图;
图13本申请一实施例提供的应用的管理方法的流程图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或 两个以上。
当前应用市场的应用安装往往是针对本机进行安装,通过本机安装应用通常存在两类问题:
1).部分设备由于操控方式不便,如智能手表由于屏幕太小,或者输入搜索应用体验不好;大屏设备(如电视)不支持触摸,用遥控器选择应用安装和搜索也不容易;无界面的路由器,如果要安装一些特殊应用也需要到特殊的管理App下进行,且各应用安装都是独立割裂状态。
2).随着智能联网设备和个人同时使用的设备越来越多,很多存在设备间互动协作的场景,但由于各设备的应用安装相对比较独立,导致同厂家同类型应用,在不同设备上运行协作,不容易被用户所感知。
3).随着应用功能的增大,其安装包的大小也在增大,这使得电子设备下载应用时需要耗费很多流量。
基于此本申请提出了一种应用的管理方法,以解决或者部分解决上述技术问题。
图1为本申请一实施例提供的由多个电子设备组成的网络109的示意图。
图1所示的网络109中包括多个电子设备,电子设备包括但不限于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。
网络109中的电子设备之间可以相互进行通信,可通过无线方式通信或者有线方式进行通信,其中,无线通信包括进场通信、蓝牙通信以及WIFI通信等。
下文本申请实施例提供的应用的管理方法可应用于网络109中的任一电子设备中,其中每个应用可支持至少一个或多个类型的电子设备,示例性地,图1中的应用A可以支持在手机、平板电脑上安装和运行,还可支持在电视上安装和运行。
需要说明的是,对于支持在不同类型的电子设备安装和运行的应用,每个类型电子设备需从云端应用市场下载与该类型电子设备相对应的应用安装包,以安装并运行该应用。示例性地,以应用A为例,手机B 106需要从云服务器102下载与手机相对应的应用A的安装包,安装并运行该应用A,电视106需要从云服务器102下载与电视相对应的安装包,安装并运行该应用A。
在一个实施例中,电视106需要在应用A的安装包时,可以通过手机B 110在云端服务器102中下载与电视106相对应的安装包,然后将与电视106相对应的安装包并发送给电视106,使得电视106安装并运行应用A。
在一个实施例中,手机B 110已经安装应用A,可以查询网络109中手 机A或平板电脑108中应用A的安装状态,若是平板电脑108等电子设备中未安装应用A,基于用户的操作,手机B 110可以将已安装的应用A的安装包发送给平板电脑,以使平板电脑安装应用A。
在一个实施例中,手机B 110已经安装应用A,手机A 104可以查询网络109中手机B 110中应用A的安装状态,基于用户的操作,手机A 104可以将手机B 110已安装的应用A卸载掉。
在一个实施例中,网络109下的每个电子设备可以运行应用管理服务进程和分布式管理服务进程,该应用管理服务进程用于管理每个电子设备内部的应用安装,并至少提供如下接口能力:安装应用、更新应用、卸载应用以及查询当前已应用安装列表等。分布式管理服务进程用于管理当前网络109中的所有电子设备的信息,并至少提供如下接口能力:查询指定电子设备中的应用安装列表、分布式网络内部两个设备间文件传输、安装/卸载指定设备中的指定应用、分布式网络中某个设备离线后的广播通知、分布式网络中新的设备接入后的广播通知等。
可以理解,基于应用管理服务进程和分布式管理服务进程,用户可以通过一个电子设备(例如104)查询一个或多个其他电子设备(106和/或108)中的一个或多个应用的安装状态,并根据另一个电子设备中一个应用或多个的安装状态,对另一个电子设备中的一个应用或多个应用进行安装、更新以及卸载等。关于应用服务进程和分布式服务进程的具体应用,可参照下文描述。
图2为本申请一实施例提供的图1所示的网络框架图中一个电子设备100的结构示意图。
电子设备可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备的具体限定。在本申请另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所 述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备充电,也可以用于电子设备与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备的结构限定。在本申请另一些实施例中,电子设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些 实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备可以通过无线通信技术与网络以 及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS),需要说明的是图中所示天线数量只是示例性的,还可以设置更多,例如3个、4个或者更多个。
电子设备通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像 信号。在一些实施例中,电子设备可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备可以支持一种或多种视频编解码器。这样,电子设备可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备的各种功能应用以及数据处理。
电子设备可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语 音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备可以设置至少一个麦克风170C。在另一些实施例中,电子设备可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备根据压力传感器180A检测所述触摸操作强度。电子设备也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备是翻盖机时,电子设备可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备在各个方向上(一般为三轴)加速度 的大小。当电子设备静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备通过发光二极管向外发射红外光。电子设备使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备附近有物体。当检测到不充分的反射光时,电子设备可以确定电子设备附近没有物体。电子设备可以利用接近光传感器180G检测用户手持电子设备贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备对电池142加热,以避免低温导致电子设备异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析 心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备可以接收按键输入,产生与电子设备的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备的接触和分离。电子设备可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备中,不能和电子设备分离。
本申请公开的应用的管理方法,可用于电子设备100,电子设备100包括但不限于,手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。
参见图3(a)图,具体涉及本申请一个实施例中电子设备运行本申请应用的管理方法时的图形界面图,可以是电子设备100中应用市场的图形界面,电子设备100可以为图1中的手机A104,其中,该应用市场为用以展示、下载和安装手机A适用的应用软件的应用程序。
图3(a)所示图形界面包括搜索栏302、第一显示区域306、第二显示区域308,其中,用户可以在搜索栏302中搜索应用程序。例如,用户在搜索栏302中输入应用A的名称或者其他可以搜索到应用A的关键字,并点击搜索控件304,手机A可以响应于用户的点击操作,在图形界面中显示手机A中应用A的安装状态,同时显示与手机A处于同一网络中、相互配对、位于同一信任环或者具有同一账号的电子设备中应用的安装状态,该账号指示个人账号或多个账号组成的家庭组。
在一个示例中,第一显示区域306可以显示手机A中应用A的安装状 态,安装状态可以包括已安装、未安装、未更新以及已更新等,其中,未更新指示当前手机A已经安装了应用A,但并不是最新版本,可以从云端应用市场或者其他电子设备中获取最新版本的应用的安装包。示例性地,未更新也可以显示为可更新,未安装也可以显示为可安装。
在一个示例中,在用户点击搜索控件304后,手机A检测到手机A已经安装应用A时,可以在图形界面中显示一个卸载控件,以使得用户通过点击该卸载控件,对手机A以及其他电子设备中已安装的应用A进行卸载。
在一个示例中,参见图3(a),手机A的第二显示区域308显示了手机B、电视以及平板电脑中应用A的安装状态,手机B、电视以及平板电脑皆是与手机A同一网络中、相互配对、位于同一信任环或者具有同一账号。
继续参见图3(a),第一显示区域306中示出了手机A中的应用A的安装状态320为未安装,第二显示区域308中示出了手机B中应用A安装状态312为未安装,电视中应用A的安装状态314为未更新,即电视中已经安装了应用A,但应用A的当前版本低于云端应用市场中的版本,或者低于与手机A建立连接的其他电视中应用A的版本。平板电脑中应用A的安装状态316为已安装。用户可以点击未安装的图标(如312)时,手机A可以响应该点击操作,向手机B发送第一安装请求,使得手机B从云端应用市场下载应用A的安装包,或者使手机B从其他已经安装应用A的电子设备中获取应用A的安装包。或者,用户可以点击未安装的图标(如312)时,手机A可以响应该点击操作,向手机C发送第二安装请求,使得手机向手机B发送应用A的安装包,其中,手机C已经安装应用A,且与手机A和手机B处于同一网络中、相互配对、位于同一信任环或者具有同一账号。
在一个示例中,第二显示区域308中可设置有全部安装控件310,当用户点击全部安装控件310时,可以使得安装状态为未安装或者未更新的电子设备下载应用A的安装包,并进行安装。例如,在用户点击全部安装控件310后,手机A、手机B、电视可以从云端应用市场或者其他电子设备中获取对应的应用A的安装包。
可以理解,全部安装控件310还可设置在除第二显示区域308的其他显示区域。
在一个示例中,手机A、手机B、电视在获取到应用A的安装包后,对应用A进行安装。手机A、可以实时地获取手机B、电视以及平板电脑中应用A的安装状态,当手机B、电视在安装应用A后,可以在图形界面中,更新手机B和电视中应用A的安装状态。参见图3(b)图,具体涉及本申请一个实施例中电子设备运行应用的管理方法时的图形界面图。可以发现,手机A的应用A的安装状态320由未安装变成了已安装,电视中应用A的安装状态314由未更新更新为已更新,平板电脑中应用A的安装状态316 由未安装更新为已安装。
在一个示例中,手机A的图形界面中的第二显示区域308包括卸载控件322,用户可以点击卸载控件322来卸载手机A或者手机B、电视以及平板电脑中的已安装的应用A。可以理解,卸载控件322还可设置在除第二显示区域308的其他显示区域。
在一个示例中,用户在图3中(b)图所示的图形界面中,点击卸载控件322,使得电子设备104响应用户的点击操作,显示了图3中(c)所示的图形示界面。图3中(c)中,手机A、手机B、电视以及平板电脑中皆已经安装了应用A,在用户点击卸载控件322后,手机A、手机B、电视以及平板电脑下的应用A的安装状态(如312、314、316以及320)处显示了选择控件324,用户可以点击每个电子设备对应的选择控件324,来卸载电子设备中的应用A。例如,用户向卸载电视中的应用A,点击了电视对应的选择控件322,手机A响应用户的点击操作,向电视发送卸载请求,使得电视卸载掉电视中的应用A。参见图3中(d)图,在卸载掉电视中应用A后,电子设备104中的图形界面可以更新电视中应用A的安装状态,具体地,图3(d)图中,电视中的应用A的状态更新为了已卸载。在另一个示例中,电视中的应用A卸载后,电视中的应用A恢复到更新前的版本,在手机A中的图像界面中电视中应用A的状态显示为未更新。
可以理解,用户在卸载掉电视中的应用A后,可以在需要时重新安装应用A,例如,重新进入图3(a)图所示的应用市场的图形界面中进行操作。
需要说明的是,上述安装或者卸载的图形界面只是示例性的,用户还可以根据需要设置更多形式的图像界面。参见图4,具体涉及本申请一个实施例中电子设备运行本申请应用的管理方法时的一个图形界面图,示例性地,电子设备100可以为手机A。
在一个实施例中,用户在手机A 104的搜索栏402搜索应用A时,手机A可以响应于用户的搜索操作,在手机A图形界面中显示应用A以及与应用A具有相同功能的其他应用的安装状态,还可以同时显示与手机A相关联的电子设备中应用A以及与应用A具有相同功能的其他应用的安装状态。
示例性地,如图4所示,用户在搜索栏402中搜索“浏览器”应用,手机A可以响应于用户的搜索操作,在第一显示区域406中显示手机A、电视以及平板电脑中浏览器1的安装状态,在第二显示区域408中显示手机A、电视以及平板电脑中浏览器2的安装状态,其中,浏览器1和浏览器2为具有同一功能的应用。
参见图5,具体涉及本申请一个实施例中电子设备运行本申请应用的管理方法时的一个图形界面图,示例性地,电子设备100可以为手机A 104。
在一个实施例中,用户在手机A 104的搜索栏502搜索应用A时,手 机A可以响应于用户的搜索操作,在手机A图形界面中显示应用A以及与应用A具有相同功能的其他应用,用户可以查看手机A以及与手机A相关联的电子设备中应用A以及与应用A具有相同功能的其他应用的安装状态。
示例性地,如图5(a)所示,用户在搜索栏502中搜索“浏览器”应用,手机A可以响应于用户的搜索操作,在图像界面中显示多个浏览器应用,例如浏览器1、浏览器2以及浏览器3等。用户可以点击浏览器1的图标520,手机A响应用户的点击操作,显示浏览器1在手机A、电视以及平板电脑中的安装状态。
上述实施例及相关附图,从用户交互层面介绍了本申请中应用的管理的方法,下面将结合附图6,从软件实现策略层面,进一步介绍本申请实施例提供的应用的管理方法。可以理解,该方法可以在如图1所示的网络下以及具有如图2所述的结构中的电子设备(例如手机、平板电脑等)中实现。
图6涉及本申请一个实施例中应用的管理方法的流程图,具体以电子设备A以及电子设备B为例对所示应用的管理方法进行解释和说明,电子设备A和电子设备B可以参照图2所示的结构实施,电子设备B是与电子设备A相关联的电子设备,相关联可指电子设备A和电子设备B处于同一局域网络、相互配对或者位于同一信任环或具有同一账号,例如同一家庭组成员账号。电子设备A可为上述实施例中的手机A,电子设备B可以为上述实施例中的手机B、平板以及电视。
该应用的管理方法具体包括:
步骤602,电子设备A检测到用户在应用市场中查询应用A的操作。
电子设备A中安装有应用市场,应用市场为用以展示、下载手机等电子设备适用的应用软件的应用程序。本申请中,每个应用可根据不同设备的类型,存在对应的多个安装包。
参见图1,云端应用市场中存储有应用A多个电子设备类型分别对应的多个安装包,例如与手机和平板对应的安装包,与电视对应的安装包等。多个安装包可以组成一个总安装包1021。手机A从电子设备从应用市场下载应用A时,可以下载整个总安装包,然后安装应用A,或者手机A从云端应用市场直接下载与手机对应的安装包。其中,每个设备类型对应的应用A的安装包中均包含配置文件,配置文件中包含配置项,配置项用于指示安装包所支持的设备类型。如图1所示,手机和平板的安装包存储有配置文件1,手机A读取配置文件1中的配置项确定应用A是否支持手机A。此外,每个设备类型对应的应用A的安装包中还包括唯一的签名信息,该签名信息具有唯一性且不可更改。基于签名信息可以判断应用A是否是应用市场下发的应用。例如,手机安装应用A后,基于其安装包中的签名信息1即可确定应用A为应用市场下发的应用。示例性地,该签名信息包括但不限于唯一标识符(UUID,Universally Unique IDentifier)等。
用户打开应用市场后,可以在应用市场中查询应用A。
电子设备A在检测到用户在应用市场中查询应用A的操作时,进入步骤604。
步骤604,电子设备A获取支持应用A的设备类型。
电子设备A检测到用户在应用市场中查询应用A的操作时,可读取应用A的安装包中的预设的配置项,以确定应用A所支持的设备类型,示例性地,如图1所示,应用A支持在手机、平板电脑以及电视中安装。
电子设备A在获取到支持应用A的设备类型后,进入步骤406。
步骤606,电子设备A向至少一个电子设备B发送查询请求,查询请求用于查询电子设备B的安装状态,该安装状态可包括已安装、未安装、未更新等。
示例性地,电子设备A与至少一个电子设备B处于同一局域网、相互配对、位于同一信任环或者具有同一账号,电子设备A可直接向同一局域网下的电子设备B发送查询请求。
步骤608,电子设备B查询应用A的安装状态。
在接收到电子设备A发送的查询请求后,电子设备A也通过上述应用管理服务进程查询电子设备A和电子设备B中应用A的安装状态。
在一个示例中,与电子设备A处于同一局域网下的电子设备B包括手表、电视、平板电脑,其中手表不支持应用A,所以手表中必然未安装应用A,可以理解,基于手表的设备类型不支持安装应用A,后续步骤中,可不再查询手表中应用A的安装状态,以节省资源。
在一个示例中,电视、平板电脑均支持应用A,且电视中未安装应用A的安装包,平板电脑中已安装应用A,但是平板电脑中应用A的版本并不是最新版本。具体地,上述查询请求中可以包括应用市场中应用A的版本号,平板电脑可以将当前安装的应用A的版本号与查询请求中的版本号进行比较,若不一致,则应用A的版本视为非最新版本,即平板电脑中应用A的安装状态为未更新,电视中应用A的安装状态为未安装。
在一个示例中,电子设备A发送查询请求时,也可查询电子设备A(即本机)中应用A的安装状态。
电子设备B查询到应用A的安装状态后,进入步骤610。
步骤610,电子设备B向电子设备A发送第一反馈消息,该第一反馈消息包括电子设备B中应用A安装状态。
电子设备B查询其应用A中的安装状态,并将安装状态发送给电子设备A。
步骤612,电子设备A显示电子设备A和/或至少一个电子设备B中应用A的安装状态。
电子设备A接收到电子设备B发送的第一反馈消息后,可以基于上述第一反馈消息,显示电子设备A和/或至少一个电子设备B中应用A的安装 状态。
在一个示例中,电子设备B中包括不支持应用A的电子设备,例如手表,电子设备可以根据该手表的地址判断出手表的设备类型,以进一步判断是否是支持应用A的电子设备。电子设备当判断电子设备B不支持应用B时,可不在显示界面中显示该电子设备B及其应用A的安装状态。
步骤614,电子设备A检测到用于改变电子设备B中应用A的安装状态的操作。
继续以处于同一局域网下的电子设备A、电子设备B为例,参见图3(a),用户可以根据需要,在显示的图形界面里,点击电子设备A(本机)、电子设备B(如平板电脑和电视)对应的控件,以分别从云端应用市场进行下载应用A的安装包,以进行安装。
示例性地,电子设备A在检测到用于改变电子设备B中应用A的安装状态的操作后,进入步骤616。
步骤616,电子设备A向电子设备B中发送安装请求,以使得电子设备B下载应用A的安装包,并安装应用A。
用户可以根据需要确定电子设备B是否下载应用A的安装包,示例性地,参见图3(a),在对图形界面中,在用户点击全部安装310控件,使得电子设备A向第二显示区域中电子设备B(平板电脑、电视等)等发送安装请求,以使得电子设备B下载应用A的安装包,以安装应用A。
步骤618,电子设备B获取应用A的安装包。
在一个示例中,电子设备B接收到安装请求后,可以从应用市场中获取应用A的安装包。在另一个示例中,电子设备A下载电子设备B对应的应用A的安装包后,发送给电子设备B,以使电子设备B安装应用A。
步骤620,电子设备B向电子设备A发送第二反馈消息,该第二反馈消息包括电子设备B安装状态。
具体地,电子设备在获取应用A的安装包后,进行安装,在完成安装时,电子设备A发送第二反馈消息。
步骤622,电子设备A更新电子设备B中应用A的安装状态。
电子设备A接收到该第二反馈消息后,根据第二反馈消息内的应用A的安装状态,更新对应电子设备B中应用A的安装状态。
图7涉及本申请另一个实施例中应用的管理方法的流程图,具体以手机A以及电视为例对所示应用的管理方法进行解释和说明,手机A以及电视处于同一局域网络、相互配对或者同一信任环或具有同一账号,例如,同一家庭组成员账号。
如图7所示,手机A与电视中皆包含应用管理服务进程和分布式管理服务进程,该应用管理服务进程用于管理每个电子设备内部的应用安装,并至少提供如下接口能力:安装应用、更新应用、卸载应用以及查询当前已应用安装列表等。分布式管理服务进程用于管理同一局域网络、相互配 对或者同一信任环或者同一账号的所有电子设备的信息,并至少提供如下接口能力:查询指定电子设备中的应用安装列表、分布式网络内部两个设备间文件传输、安装/卸载指定设备中的指定应用、分布式网络中某个设备离线后的广播通知、分布式网络中新的设备接入后的广播通知等。
用户在手机A应用市场可以查询应用A在手机A和电视中的安装状态,示例性地,当应用市场检测到用户对应用A的查询操作时,基于应用A的安装包,判断应用A所支持的设备类型,具体判断方法上文已经示出,在此不再赘述。示例性地,应用A支持手机、平板电脑与电视。
在确定应用A所支持的设备类型后,手机A向分布式管理服务发送指令,以查询与手机A相关联的电子设备。示例性地,与手机相关联的电子设备包括电视以及手表。由于应用A不支持安装应用A,后续步骤手机A不在关注手表中应用A的安装状态。
在确定应用A所支持的设备类型后,手机A通过分布式管理服务向电视分布式管理服务发送指令,以查询电视中应用A的安装状态。电视中分布式管理服务接收到指令后,将指令转发给电视的应用管理服务,应用管理服务可以查询应用A的安装状态,并将应用A的安装状态反馈给电视的分布式管理服务。电视的分布式管理服务将电视中应用A安装状态转发给手机A的分布式管理服务,手机A内的应用管理服务对接收到电视中应用A安装状态进行查询,并上报给应用市场,以显示给用户。手机A的应用管理服务可以将手机A中的应用A的安装状态同时上报给应用市场,显示给用户。
用户可以基于手机A的图形界面管理电视中应用A的安装状态,示例性地,当手机A接收到在电视中安装应用A的操作时,手机A应用市场向手机分布式管理服务下发安装指令,手机A分布式管理服务将该安装指令转发给电视的分布式管理服务,以使得电视的应用管理服务下载并安装应用A。电视的分布式管理服务可以将应用A安装后的状态反馈给手机A,使手机A的更新电视中应用A的安装状态。
可以理解,基于分布式管理服务和应用管理服务,手机A不仅可以对电视中应用A进行安装,还可以进行卸载等操作。
需要说明的是,本申请所公开的应用的管理方法,并不限于在应用市场中的图形界面中操作,在当用户在上述电子设备中,下载完应用A后,依然可以执行本申请所示的方法,参见图8,具体涉及本申请另一实施例提供的电子设备执行应用的管理方法的图形界面,电子设备可以为手机A。
参见图8(a),手机A的图形界面中包括已安装的多个应用,包括但不限于应用A、天气应用、日历应用等等。可以理解,手机A中还可以包括更多的应用,在此不进行限定。
图8(b)示出了应用A的管理界面,该管理界面用于在手机以及与手机A相关联的电子设备中安装或卸载应用A,与手机A相关联的电子设备包括 与手机A处于同一局域网络、相互配对、位于同一信任环或者具有同一账号的电子设备。
基于用户的一个或多个操作或手机A的设备状态,手机A可以从图8(a)所示的界面中,跳转到图8(b)所示应用A的管理界面。示例性地,用户可以在图8(a)所示的界面中,长按应用A的图标802达预设市场时,以显示图8(b)所示的管理界面。或者,当手机A检测到与其他相关联电子设备接入同一局域网络时,图8(b)所示的应用A的管理界面。
以用户长按应用A的图标802显示应用A的方式为例,用户点击图8(a)所示应用A的图标802达预设时长时,显示图8(b)所示管理界面。图8(b)所示的管理界面中,可包括安装控件804和/或卸载控件806,用户可以通过点击卸载控件806,以使得手机A显示用于卸载已安装应用A的电子设备的图形界面,用户也可点击应用A对应的安装控件804,以使得手机A显示安装应用A的图形界面。示例性地,用户点击安装控件804后,手机A响应于用户的点击操作,进入图8(c)所示的图形界面。
图8(c)所示的图形界面中,显示了手机B、手机A(本机)以及电视中应用A的安装状态,例如,手机B的安装状态为未安装,本机的安装状态为已安装,电视中应用A的安装状态为未更新。
在图8(c)所示图形界面中,用户可以根据需要,选择对任意一个电子设备中的应用A进行更新或者安装。例如,用户可以在图8(c)所示图形界面中,点击手机B对应的安装状态810,向手机B发送安装请求,使得手机B从云端应用市场中下载应用A。需要说明的是,若手机A与手机属于同一类型电子设备时,手机B可以从手机A中直接获取应用A的安装包,而并非从应用市场下载应用A的安装包。这样可以更好地节省流量。
在一个示例中,用户还可以点击全部安装控件816,使得手机B、电视以及手机B皆下载应用A的安装包,以安装或者更新应用A。如图8(d)所示,每个电子设备安装或者更新应用A后,手机A、手机B对应的安装状态变为了已安装,电视对应的安装状态变为了已更新。
上文已经示出了用户在图8(b)所示图形界面中,可点击卸载控件806,以使得手机A显示用于卸载其他已安装应用A的电子设备的图形界面。参见图9(a)-(c),具体涉及本申请一个实施例提供的手机A执行应用的管理方法的图形界面图。
在图9(a)所示的图形界面中,用户点击卸载控件906后,手机A响应于用户的点击操作,跳转到图9(b)所示的图形界面。图9(b)所示的图形界面包括第三显示区域924,第三显示区域924中包括与手机A相关联的已安装应用A的其他电子设备,例如,手机A以及电视。用户可以根据需要对手机A、电视中应用A进行卸载。示例性地,用户可以点击全部卸载控件920以卸载手机A(本机)中应用A,同时手机A向电视发送卸载请求,使得电视卸载应用A。参见图9(b),用户在点击卸载控件922,手机 A响应于点击操作,单独向电视发送卸载请求,使得电视卸载掉应用A,并在图9(c)所示图形界面中,更新电视中应用A的安装状态,例如,将电视中应用A的安装状态由未卸载更新为已卸载。
本申请所示的应用的管理方法,并不限于对单个应用进行安装、更新或者卸载等,还可以对多个应用进行操作。参见图10(a)-(b),具体涉及本申请一个实施例提供的电子设备的图形界面,电子设备可为手机A。
参见图10(a)包括第四显示区域1010、第五显示区域1012以及第六显示区域1014,在一个示例中,手机A的第四显示区域1010包括至少一个应用的安装状态,例如邮件1016、音乐1018以及浏览器1020等应用,第四显示区域1010指示手机A可从其他电子设备(如平板电脑或者手机B)中获取第四显示区域1010中的所有应用的安装包,以进行应用安装。可以理解,该示例中,第四显示区域1010中应用,指示手机A当前未安装或者未更新(且平板电脑或者手机B已安装)的应用,手机A可从平板电脑或者手机B中获取第四显示区域1010中应用的安装包,避免了手机A向云端应用市场下载安装包,节省了流量。在一个示例中,第五显示区域1012包括至少一个应用的安装状态,例如天气1022应用,第五显示区域1012指示电视可从云端应用市场中获取天气622应用的安装包。第六显示区域1014包括至少一个应用的安装状态,例如天气1022、健康1024以及应用A 1026,第六显示区域指示手机B可从手机A获取应用A 1026的安装包。在一个实施例中,用户可根据需要,在图中第四显示区域1010、第五显示区域1012以及第六显示区域1014中进行操作,以分别在手机A、手机B以及平板电脑中安装应用。例如,用户在第六显示区域1014中点击全部安装1030控件,手机A可向手机B发送天气1022、健康1024以及应用A 1026的安装包,以使得手机B对收到的安装包进行安装。
在一个示例中,手机A在向手机B发送天气622、健康624以及应用626的安装包之前,可以先向手机B发送请求,以确认用户是否允许在手机B中进行安装上述应用。示例性地,如图1中手机B的图形界面中,显示了手机A向手机B发送的安装请求,以确认用户是否允许在手机B中进行安装A。当用户在手机B的图形界面点击确认控件时,电子设备104才向手机B发送应用安装包。当然,还可以根据用户需要设置更多的确认方式,例如。如电子设备104为初次请求时,手机B弹框询问用户,用户允许后,后续电子设备104再次进行分布式安装时,默认允许安装。或者手机A与手机B处于同一局域网络时,手机B可以免确认,即手机B不需要询问用户是否允许接收电子设备104的安装包,并安装该安装包。
在一个实施例中,第五显示区域中1012和第六显示区域1014中,皆包括天气应用1022。示例性地,天气应用与本机对应的安装包和与电视对应的安装包不一致,本机(手机A)与手机B对应于相同的安装包,因此,电视不能从本机获取天气的安装脑,只能从云端获取与电视对应的天气应用安装 包。
在一个示例中,如图10(b),手机B将从手机A接收的安装包进行安装后,手机A可以在显示界面中,更新手机B中安装的应用的安装状态。
在上述实施例中,手机A可以直接将天气1022、健康1024以及应用1026的安装包发送给手机B。可以理解,若是云端应用市场中包括上述部分应用的安装包,手机B也可以从应用市场中获取应用安装包。可以理解,手机A与手机B等电子设备相互获取应用安装包至少具有以下好处:电子设备之间直接传输安装包文件相比于从应用市场下载安装包,可以节省流量。有些应用并非应用市场下发的应用,通过从其他电子设备获取应用安装包,增加了应用的安装方式,提高了用户体验。
需要说明的是,上述图10(b)所示的图形界面可以通过多种方式获得。在一个示例中,可以在手机A的桌面中设置单独地菜单键,当用户点击该菜单键时显示图10(b)所示的图形界面。在另一个示例中,手机A检测到预设手势时,可以显示图10(b)所示的图形界面。在另一个示例中,当手机A检测到与其他电子设备接入同一局域网时,可以显示图10(b)所示的图形界面。在另一个示例中,当某应用发生更新,更新内容中新增了对某类型设备的支持,而该类型设备正好为与手机A相关联的电子设备,可以显示图10(b)所示的图形界面。在一个示例中,在显示图10(b)所示的图形界面之前,可以询问用户是否允许显示该图形界面。
结合上述实施例及相关附图,从用户交互层面介绍了应用的管理的方法,下面将结合上述附图,从软件实现策略层面,介绍本申请实施例提供的应用的管理方法。应理解,该方法可以在如图1所示的网络下以及具有如图2所述的结构中的电子设备(例如手机、平板电脑等)中实现。
图11涉及本申请一个实施例中应用的管理方法的流程图,具体以第一电子设备和至少一个第二电子设备为例,对所示应用的管理方法进行解释和说明,其中,第一电子设备和第二电子设备的结构可以参照图2所示电子设备,第一电子设备和第二电子设备是相关联的电子设备,第一电子设备和第二电子设备相关联是指第一电子设备和第二电子设备处于同一局域网络、相互配对、同一信任环或者具有同一账号,该账号包括个人账号或多个账号组成的家庭组。第一电子设备可为上述实施例中的手机A,该应用的管理方法具体包括:
步骤1102,第一电子设备检测到用于显示管理界面的第一操作,第一操作可为用户对第一电子设备的预设操作,例如用户的触摸操作等。第一操作还可为第一电子设备检测到与第二电子设备接入同一局域网络等。
第一电子设备可以通过该管理界面,对第一电子设备和/或一个或多个第二电子设备中的应用进行安装、更新以及卸载等操作。
如图3(a)、图4、图8(b)以及图10(a),示出了该管理界面的 示例图。需要说明的是,用户可以通过多种操作,在第一电子设备显示该管理界面。
在一个示例中,可以在第一电子设备检测到用户点击预设菜单键时,第一电子设备响应于用户的点击操作,显示该管理界面。在另一个示例中,第一电子设备检测到预设手势时,可以显示该管理界面。在另一个示例中,当第一电子设备检测到与一个或多个第二电子设备接入同一局域网时,可以显示该管理界面。在另一个示例中,当某应用发生更新,更新内容中新增了对某类型设备的支持,而该类型设备为与第一电子设备相关联的电子设备,可以显示该管理界面。在另一个示例中,第一电子设备检测到用户点对某一应用的触摸时间达到预设时长时,显示管理界面。
步骤1104,第一电子设备响应于检测到的第一操作,查询第一电子设备和至少一个第二电子设备中一个或多个应用的安装状态,以及所述一个或多个应用所支持的设备类型。
当第一电子设备检测到该第一操作时,查询第一电子设备和/或第二电子设备中一个或多个应用的安装状态。示例性地,通过应用管理服务进程和分布式管理服务进程获取第一电子设备和一个或多个第二电子设备中一个或多个应用的安装状态。
步骤1106,第一电子设备基于第一电子设备和第二电子设备中一个或多个应用的安装状态,以及所述一个或多个应用所支持的设备类型,显示管理界面。
管理界面可包括第一显示区域和/或第二显示区域和/或第三显示区域。
该第一显示区域用于显示一个或多个第二电子设备中第一应用的第一安装状态,该第一应用支持第一电子设备和第二电子设备的设备类型,第一安装状态表示显示界面中第一显示区域中的每个第二电子设备中皆没有安装第一应用,或者第二电子设备中已安装第一应用但不是最新版本。在一个示例中,可以通过比较第二电子设备中第一应用的版本号和应用市场中第一应用的版本号,确定第一电子设备中第二应用的已安装的版本号是否为最新版本。
在一个示例中,第一显示区域中,可以设置一个或多个控件,用户可以通过在第一电子设备(如手机A)的一个或多个控件,例如,图3(a)中的控件310、312、314、316以及320,图10(a)中的1030等,向一个或多个第二电子设备发送第一安装请求,使得第二电子设备从应用市场下载第一应用的安装包,或者,若第一电子设备已经安装该第一应用,可直接向第二电子设备发送第一应用的安装包,或者,第一电子设备向第三电子设备发送第二安装请求,使第三电子设备直接向第二电子设备发送第一应用的安装包,以在第二电子设备中安装第一应用。该第三电子设备与第一电子设备和第二电子设备可处于同一局域网、同一账号或者同一信任 环。
在一个示例中,该第二显示区域至少包括第一电子设备中第二应用的第一安装状态,该第二应用支持在第一电子设备和第二电子设备上安装,该显示界面中第一安装状态表示第一电子设备中未安装第二应用,或者已安装第二应用且并不是最新版本。示例性地,可以通过比较第一电子设备中第二应用和应用市场中的第二应用的版本号确定第一电子设备中第二应用的安装版本是否为最新版本。
在一个示例中,第二显示区域中,可以设置一个或多个控件,用户可以在第一电子设备(如手机A)通过该一个或多个控件,例如,图10中第四显示区域1010中的控件,向第二电子设备发送第一安装请求,使得第一电子设备从第二电子设备中获取第二应用的安装包,或者向第三电子设备发送第二安装请求,使第三电子设备直接向第二电子设备发送第二应用的安装包,以使得第二电子设备中安装第二应用。该第三电子设备与第一电子设备和第二电子设备可处于同一局域网、同一账号或者同一信任环。
第三显示区域中至少包括第一电子设备和/或一个或多个第二电子设备中第三应用的第二安装状态。其中,第二安装状态包括已安装第三应用。第三显示区域中,可以设置一个或多个控件,如图3(c)中控件322等,用户可以通过该一个或多个控件,向第二电子设备发送卸载请求,以卸载第二电子设备中的第三应用。用户还可以通过该一个或多个控件卸载第一电子设备中的第三应用。
步骤1108,第一电子设备检测到用户在第一显示区域中选取第二电子设备的第二操作,响应于检测到的第二操作,向第二电子设备发送第一数据。该第一数据可以包括第一应用的安装包或者第一安装请求。该第二操作指示用户欲在选取的第二电子设备中安装第一应用。
在一个示例中,第一电子设备在检测到第二操作时,可直接向第二电子设备发送第一安装请求,第一安装请求用于第二电子设备从云端应用市场下载第一应用的安装包,以安装第一应用。
在一个示例中,第一电子设备在检测到第二操作时,可以检测第一电子设备中否已经安装第一应用,如果安装有第一应用,可直接向第二电子设备发送第一应用的安装包。
在一个示例中,第一电子设备在检测到第二操作时,可以检测第三电子设备中否已经安装第一应用,如果安装已安装第一应用,进一步判断该第一应用是否为应用市场下发的应用。如果是应用市场下发的应用,第一电子设备优选地向第三电子设备发送第二安装请求,第三电子设备基于第二安装请求向第二电子设备发送第一应用的安装包,使第二电子设备安装第一应用。
需要说明的是,相比第二电子设备从应用市场下载第一应用的安装包,通过第一电子设备直接向第二电子设备发送第一应用的安装包,可以 节省流量。
在一个实例中,第一电子设备在检测到第二操作时,可以检测第三电子设备和第四电子设备中否已经安装第一应用,如果第三电子设备和第四电子设备皆已安装有第一应用,第一电子设备可以向第三电子设备或第四电子设备中的任意一个发送第二安装请求,使得接收第二安装请求的第三电子设备或第四电子设备向第二电子设备发送第一应用的安装包,或者,基于用户的选择,使第三电子设备或第四电子设备向第二电子设备发送第一应用的安装包。其中,第二电子设备、第三电子设备与第一电子设备和第四电子设备可处于同一局域网、同一账号或者同一信任环。
在一个示例中,如果第一应用不是应用市场下发的应用,在第一电子设备已经安装第一应用的情况下,直接向第二电子设备发送第一应用的安装包。
上文已经示出,可以通过检测第一应用安装包的签名信息,确定第一应用是否为应用市场下发的应用,在此,不进行赘述。
在另一个实施例中,在步骤1106后,当第一电子设备检测到用户在第二显示区域中选取第一电子设备的第三操作时,进入步骤1110。
步骤1110,第一电子设备检测到用户在第二显示区域中选取第一电子设备的第三操作时,响应于检测到的第三操作,向第二电子设备发送第三安装请求,以第二电子设备获取第二应用的安装包,或者,向应用市场发送第四安装请求,以从应用市场获取第二应用的安装包。
在步骤1110中,该第三操作表示用户欲在第一电子设备中安装第二应用。在一个实施例中,当第一电子设备检测到用户在第二显示区域中选取第一电子设备的第三操作时,且第二电子设备中已经安装第二应用,该第一电子设备可以从第二电子设备接收第二应用的安装包。
如果第二电子设备未安装第一应用,或者虽然安装了第二应用,但第二电子设备中安装的第二应用不支持第一电子设备的类型,第一电子设备可向应用市场发送安装请求,获取第二应用的安装包,以安装第二应用。
在另一个实施例中,在步骤1106后,当第一电子设备检测到用户在第三显示区域中选取第一电子设备和/或一个或多个第二电子设备的第四操作时,进入步骤1112。
步骤1112,第一电子设备检测到用户在第三显示区域中选取第一电子设备和/或至少一个电子设备的第四操作,响应于检测到的第四操作,向第二电子设备发送卸载请求,以卸载第二电子设备中已安装的第三应用,或者,卸载第一电子设备中安装的第三应用。
通过本申请提供的应用的管理方法,可对与第一电子设备相关联的其他电子设备中的应用进行安装、更新以及卸载,提高了用户的体验。
图12涉及本申请另一个实施例中应用的管理方法的流程图,具体以手机A以及手机B为例对所示应用的管理方法进行解释和说明,手机A与手 机B处于同一局域网络、相互配对或者同一信任环或具有同一账号,例如,同一家庭组成员账号。
在一个实施例中,手机A已经安装应用A,用户可以通过多种方式获取应用A的管理界面,如图8(b)所示的界面。示例性地,用户触摸手机A中应用A(桌面应用)的图标至预设时长,获取应用A的管理界面。手机A可以基于上文所示的方式,判断应用A所支持设备类型,在此,不进行赘述。
进一步地,手机A通过读取应用A安装包中的签名信息(如UUID),可以判断应用A是否为手机A应用市场下发的应用,若是手机A并非应用市场下发的应用,基于手机A中的分布式管理服务和应用管理服务以及手机B中分布式管理服务和应用管理服务的则查询手机B中应用A的安装状态。具体地查询过程可以参照图7,在此,不进行赘述。
进一步地,若手机B未安装应用A,基于用户的操作,手机A可下发指令,使手机A向手机B发送应用A的安装包,使手机A安装应用A。在本申请的另一个示例中,若手机B未安装应用A,手机A向手机B发送应用A的安装包之前,手机B可以询问用户是否允许安装应用A,若是用户允许,则手机B向手机A请求应用A的安装包,以安装应用A。安装应用A后,手机B将应用A的安装状态,反馈给手机A,以手机A的管理界面。
参见图13,具体涉本申请另一个实施例中应用的管理方法的流程图,具体以第一电子设备和至少一个第二电子设备为例,对所示应用的管理方法进行解释和说明,其中,第一电子设备和第二电子设备的结构可以参照图2所示电子设备,第一电子设备和第二电子设备是相关联的电子设备,第一电子设备和第二电子设备相关联是指第一电子设备和第二电子设备处于同一局域网络、相互配对、同一信任环或者具有同一账号,该账号包括个人账号或多个账号组成的家庭组。该方法包括:
步骤1302,第一电子设备获取第一应用支持的设备类型以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态;基于第一应用支持的设备类型、第一应用的安装状态,显示应用管理界面。其中应用管理界面中包括一个或多个第二电子设备和第一电子设备中第一应用的安装状态。
在本申请的一个实施例中,安装状态包括已安装、未安装或者未更新中的至少一个。
示例性地,该管理界面可以参照图3(a)、4(a)、5(b)、5(c)以及图10(a)等所示的界面。其中,可以通过其他已安装第一应用的安装包的配置项判断第一应用支持的设备类型。上文已经详细说明,对此不进行赘述。
在本申请的一个实施例中,第一电子设备获取第一应用支持的设备类 型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态,包括:
第一电子设备检测到在应用市场中搜索第一应用的第二操作,响应于第二操作,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态。示例性地,该实施例的具体实现可以参照图3。第一版本信息可包括第一电子设备和一个或多个第二电子设备中已安装的第一应用的版本号。
在本申请的一个实施例中,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态,包括:
第一电子设备检测到对第一应用的图标的第三操作,响应于第三操作,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态。该对第一应用的图标的第三操作可以为用户的触摸操作,例如,用户触摸第一应用达预设时长。需要说明的是,该对第一应用的图标的操作也可以理解为对与第一应用图标对应的安装状态的操作,例如,用户触摸第一应对应的安装状态图标用达预设时长。示例性地,该实施例的具体实现可以参照图8等。
在本申请的一个实施例中,第一电子设备获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态,包括:
第一电子设备检测到第一电子设备与第二电子设备处于同一局域网时,获取第一应用支持的设备类型、第一应用的版本信息以及一个或多个第二电子设备和第一电子设备中第一应用的安装状态。示例性地,该实施例的具体实现可以参照图10等。
在本申请的一个实施例中,第一电子设备基于第一应用支持的设备类型、第一应用的安装状态,显示应用管理界面,包括:
第一应用获取一个或多个第二电子设备和第一电子设备中已安装的第一应用的第一版本信息;
基于第一应用支持的设备类型、第一应用的安装状态和第一版本信息,显示应用管理界面。该第一版本信息可以包括每个第二电子设备和/或第一电子设备中已安装第一应用的安装包的版本号。示例性地,管理界面基于版本号显示时,第一应用即可以包括未更新状态。
在本申请的一个实施例中,第一电子设备基于第一应用的安装状态和第一应用支持的设备类型,向目标第二电子设备发送第一安装请求,包括:
基于第一应用的安装状态、第一版本信息和第一应用支持的设备类型,向目标第二电子设备发送第一安装请求。该第一安装请求可以携带第一应用的安装状态、第一版本信息和第一应用支持的设备类型,这样目标 第二电子设备可以基于这些信息决策,选择从哪个电子设备中获取第一应用的安装包。
步骤1304,第一电子设备检测到在应用管理界面中选取目标第二电子设备的第一操作,目标电子设备属于一个或多个第二电子设备中的一个;
步骤1306,第一电子设备响应于第一操作,基于第一应用的安装状态和第一应用支持的设备类型,向目标第二电子设备发送第一安装请求,以使得第二电子设备从第一电子设备或除目标第二电子设备之外的第二电子设备中获取第一应用的安装包,以使得目标第二电子设备安装第一应用。
在一个实施例中,第一电子设备可以向目标第二电子设备发送第一安装请求,第二电子设备接收到该第一安装请求后,对第一安装请求进行响应,并向其他已经安装的第一应用的电子设备中获取该地应用的安装包。示例性地,在第一电子设备已经安装第一应用时,第一电子设备和目标第二电子设备处于同一局域网或者同一信任环时,则目标第二电子设备可以直接从第一电子设备获取第一应用的安装包。
在一个实施例中,第一安装请求中还携带第一电子设备或其他第二电子设备中第一应用的安装状态和版本信息,第二电子设备基于第一应用的安装状态和版本信息进行决策,以获取第一应用的安装包。
在一个实施例中,第一安装请求中可以包括第一应用的安装包。
在本申请的一个实施例中,第一电子设备基于第一应用的安装状态和第一应用支持的设备类型,向目标第二电子设备发送第一安装请求,包括:
在第一电子设备已安装第一应用时,第一电子设备判断第一应用是否是应用市场下发的应用。具体地,第一电子设备可以基于第一应用安装包的签名信息确定第一应用是否属于应用市场下发的应用,
若第一应用不是应用市场下发的应用,基于第一应用的安装状态和第一应用支持的设备类型,向目标第二电子设备发送第一安装请求;
若第一应用是应用市场下发的应用,从应用市场中获取第一应用的第二版本信息,基于第一版本信息和第二版本信息,向目标第二电子设备发送第二安装请求,以使得目标第二电子设备从应用市场下载第一应用。
在本申请的一个实施例中,第一版本信息包括一个或多个第二电子设备和第一电子设备中已安装的第一应用的版本号,第二版本信息包括应用市场中第一应用的版本号,基于第一版本信息和第二版本信息,向目标第二电子设备发送第二安装请求,包括:
第一电子设备判断第一版本信息中第一应用的版本号与第二版本信息中第一应用的版本号是否匹配;
若不匹配,向目标第二电子设备发送第二安装请求;
若匹配,向目标第二电子设备发送第一安装请求。
在该实施例中,若第一应用是应用市场下发的应用,可以判断其他已 安装第一应用的电子设备中的第一应用的版本号与应用市场中的版本号是否一致,如果不一致,则其他电子设备中的版本不是最新版本,应当从应用市场中下载最新版本。若是一致,则其他电子设备中的版本是最新版本,目标第一电子设备可以从安装最新版本的电子设备中获得第一应用的安装包。
在本申请的一个实施例中,上述方法还包括:第一电子设备检测到在应用管理界面中选取第二电子设备的第四操作,响应于第四操作,向第二电子设备发送卸载请求,以使得第二电子设备卸载第一应用。该实施例中,第四操作可以为点击操作,具体地该实施例可以参见图9。
在本申请的一个实施例中,第一电子设备向目标第二电子设备发送第一安装请求之后,还包括:在管理界面中,更新目标第二电子设备中第一应用的安装状态。
在本申请的一个实施例中,还包括:第一电子设备检测到在应用管理界面中选取第一电子设备的第五操作;
响应于第五操作,基于第一应用的安装状态和第一应用支持的设备类型,向一个或多个第二电子设备发送第三安装请求,以使得第一电子设备从第二电子设备中获取第一应用的安装包,以使得第一电子设备安装第一应用。
在该实施例中,第一电子设备也可以从其他已经安装第一应用的电子设备中获取安装包,基于此,也可以节省流量。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以 存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (18)

  1. 一种应用的管理方法,其特征在于,应用于第一电子设备,包括:
    获取第一应用支持的设备类型以及一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态;
    基于所述第一应用支持的设备类型、所述第一应用的安装状态,显示应用管理界面,所述管理界面中包括所述一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态;
    检测到在所述应用管理界面中选取目标第二电子设备的第一操作,所述目标电子设备属于一个或多个所述第二电子设备中的一个;
    响应于所述第一操作,基于所述第一应用的安装状态和所述第一应用支持的设备类型,向所述目标第二电子设备发送第一安装请求,以使得所述第二电子设备从所述第一电子设备或除所述目标第二电子设备之外的第二电子设备中获取所述第一应用的安装包,以使得所述目标第二电子设备安装所述第一应用。
  2. 根据权利要求1所述的管理方法,其特征在于,所述基于所述第一应用支持的设备类型、所述第一应用的安装状态,显示应用管理界面,包括:
    获取一个或多个第二电子设备和所述第一电子设备中已安装的第一应用的第一版本信息;
    基于所述第一应用支持的设备类型、所述第一应用的安装状态和所述第一版本信息,显示应用管理界面。
  3. 根据权利要求2所述的管理方法,其特征在于,所述基于所述第一应用的安装状态和所述第一应用支持的设备类型,向所述目标第二电子设备发送第一安装请求,包括:
    基于所述第一应用的安装状态、所述第一版本信息和所述第一应用支持的设备类型,向所述目标第二电子设备发送第一安装请求。
  4. 根据权利要求1-3任一项所述的管理方法,其特征在于,所述基于所述第一应用的安装状态和所述第一应用支持的设备类型,向所述目标第二电子设备发送第一安装请求,包括:
    判断所述第一应用是否是应用市场下发的应用;
    若所述第一应用不是所述应用市场下发的应用,基于所述第一应用的安装状态和所述第一应用支持的设备类型,向所述目标第二电子设备发送第一安装请求;
    若所述第一应用是应用市场下发的应用,从所述应用市场中获取第一应用的第二版本信息,基于第一版本信息和所述第二版本信息,向所述目标第二电子设备发送第二安装请求,以使得所述目标第二电子设备从应用市场下载所述第一应用。
  5. 根据权利要求4所述的管理方法,其特征在于,所述第一版本信息包 括一个或多个第二电子设备和所述第一电子设备中已安装的所述第一应用的版本号,所述第二版本信息包括所述应用市场中第一应用的版本号,所述基于第一版本信息和所述第二版本信息,向所述目标第二电子设备发送第二安装请求,包括:
    判断所述第一版本信息中第一应用的版本号与所述第二版本信息中第一应用的版本号是否匹配;
    若不匹配,向所述目标第二电子设备发送第二安装请求;
    若匹配,向所述目标第二电子设备发送第一安装请求。
  6. 根据权利要求1-5任一项所述的管理方法,其特征在于,所述第一安装请求中包括所述第一应用的安装包。
  7. 根据权利要求1所述的管理方法,所述获取第一应用支持的设备类型、所述第一应用的版本信息以及一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态,包括:
    检测到在应用市场中搜索所述第一应用的第二操作,响应于所述第二操作,获取第一应用支持的设备类型、所述第一应用的版本信息以及一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态。
  8. 根据权利要求1所述的管理方法,所述获取第一应用支持的设备类型、所述第一应用的版本信息以及一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态,包括:
    检测到对第一应用的图标的第三操作,响应于所述第三操作,获取第一应用支持的设备类型、所述第一应用的版本信息以及一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态。
  9. 根据权利要求1所述的管理方法,所述获取第一应用支持的设备类型、所述第一应用的版本信息以及一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态,包括:
    检测到所述第一电子设备与所述第二电子设备处于同一局域网时,获取第一应用支持的设备类型、所述第一应用的版本信息以及一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态。
  10. 根据权利要求1中任一项所述的管理方法,所述安装状态包括已安装、未安装或者未更新中的至少一个。
  11. 根据权利要求1所述的管理方法,其特征在于,还包括:
    检测到在所述应用管理界面中选取第二电子设备的第四操作,响应于所述第四操作,向所述第二电子设备发送卸载请求,以使得所述第二电子设备卸载所述第一应用。
  12. 根据权利要求1所述的管理方法,其特征在于,所述向所述目标第二电子设备发送第一安装请求之后,所述方法还包括:
    在所述管理界面中,更新所述目标第二电子设备中第一应用的安装状态。
  13. 根据权利要求1所述的管理方法,其特征在于,还包括:
    检测到在所述应用管理界面中选取第一电子设备的第五操作;
    响应于所述第五操作,基于所述第一应用的安装状态和所述第一应用支持的设备类型,向一个或多个所述第二电子设备发送第三安装请求,以使得所述第一电子设备从所述第二电子设备中获取所述第一应用的安装包,以使得所述第一电子设备安装所述第一应用。
  14. 一种应用的管理方法,其特征在于,应用于第一电子设备,包括:
    获取第一应用支持的设备类型以及一个或多个第二电子设备和所述第一电子设备中第一应用的安装状态;
    基于所述第一应用支持的设备类型、所述第一应用的安装状态,显示应用管理界面;
    检测到在所述应用管理界面中选取第一电子设备的第一操作;
    响应于所述第一操作,基于所述第一应用的安装状态和所述第一应用支持的设备类型,向一个或多个所述第二电子设备发送第一安装请求,以使得所述第一电子设备从所述第二电子设备中获取所述第一应用的安装包,以使得所述第一电子设备安装所述第一应用。
  15. 一种电子设备,其特征在于,包括一个或多个存储器,一个或多个处理器;其中所述一个或多个储存器存储有一个或多个程序;当所述一个或多个处理器在执行所述一个或多个程序时,使得所述电子设备执行如权利要求1-13任一项所述管理方法。
  16. 一种电子设备,其特征在于,包括一个或多个存储器,一个或多个处理器;其中所述一个或多个储存器存储有一个或多个程序;当所述一个或多个处理器在执行所述一个或多个程序时,使得所述电子设备执行如权利要求14所述管理方法。
  17. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-13任一项所述管理方法。
  18. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求14所述管理方法。
PCT/CN2022/087389 2021-04-27 2022-04-18 一种应用的管理方法和电子设备 WO2022228180A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110462098.2 2021-04-27
CN202110462098.2A CN115248693A (zh) 2021-04-27 2021-04-27 一种应用的管理方法和电子设备

Publications (1)

Publication Number Publication Date
WO2022228180A1 true WO2022228180A1 (zh) 2022-11-03

Family

ID=83696782

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/087389 WO2022228180A1 (zh) 2021-04-27 2022-04-18 一种应用的管理方法和电子设备

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115622861B (zh) * 2022-12-19 2023-03-14 江西格如灵科技有限公司 互联网设备管理方法、系统、计算机及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777962A (zh) * 2014-02-21 2014-05-07 联想(北京)有限公司 一种信息处理方法和装置
CN111309205A (zh) * 2020-01-23 2020-06-19 维沃移动通信有限公司 一种应用分享方法、第一电子设备及计算机可读存储介质
CN111831176A (zh) * 2020-06-18 2020-10-27 维沃移动通信有限公司 应用程序管理方法及装置
CN112286414A (zh) * 2020-10-27 2021-01-29 维沃移动通信有限公司 信息显示方法、装置、电子设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777962A (zh) * 2014-02-21 2014-05-07 联想(北京)有限公司 一种信息处理方法和装置
CN111309205A (zh) * 2020-01-23 2020-06-19 维沃移动通信有限公司 一种应用分享方法、第一电子设备及计算机可读存储介质
CN111831176A (zh) * 2020-06-18 2020-10-27 维沃移动通信有限公司 应用程序管理方法及装置
CN112286414A (zh) * 2020-10-27 2021-01-29 维沃移动通信有限公司 信息显示方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN115248693A (zh) 2022-10-28

Similar Documents

Publication Publication Date Title
WO2020103764A1 (zh) 一种语音控制方法及电子设备
WO2020134869A1 (zh) 电子设备的操作方法和电子设备
WO2022257977A1 (zh) 电子设备的投屏方法和电子设备
WO2021000804A1 (zh) 锁定状态下的显示方法及装置
CN111628916B (zh) 一种智能音箱与电子设备协作的方法及电子设备
US20230021994A1 (en) Cross-Device Content Projection Method and Electronic Device
WO2021159746A1 (zh) 文件共享方法、系统及相关设备
CN111030990B (zh) 一种建立通信连接的方法及客户端、服务端
WO2021052204A1 (zh) 基于通讯录的设备发现方法、音视频通信方法及电子设备
WO2022068483A1 (zh) 应用启动方法、装置和电子设备
WO2021253975A1 (zh) 应用程序的权限管理方法、装置和电子设备
CN113961157B (zh) 显示交互系统、显示方法及设备
WO2022111665A1 (zh) 应用的管理方法、装置、设备及存储介质
WO2022042770A1 (zh) 控制通信服务状态的方法、终端设备和可读存储介质
WO2022017474A1 (zh) 任务处理方法及相关装置
WO2021031865A1 (zh) 通话方法及装置
WO2022001258A1 (zh) 多屏显示方法、装置、终端设备及存储介质
WO2022042637A1 (zh) 一种蓝牙数据传输方法及相关装置
CN114079893A (zh) 蓝牙通信方法、终端设备及计算机可读存储介质
WO2021073337A1 (zh) 安装插件的方法、装置和存储介质
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
WO2022228180A1 (zh) 一种应用的管理方法和电子设备
WO2020192716A1 (zh) 一种系统语言的切换方法及相关装置
WO2022062902A1 (zh) 一种文件传输方法和电子设备
WO2022095820A1 (zh) 一种文本输入的方法、电子设备和系统

Legal Events

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

Ref document number: 22794651

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22794651

Country of ref document: EP

Kind code of ref document: A1