CN111061506A - Application management and control method, wearable device and computer-readable storage medium - Google Patents

Application management and control method, wearable device and computer-readable storage medium Download PDF

Info

Publication number
CN111061506A
CN111061506A CN201911304395.3A CN201911304395A CN111061506A CN 111061506 A CN111061506 A CN 111061506A CN 201911304395 A CN201911304395 A CN 201911304395A CN 111061506 A CN111061506 A CN 111061506A
Authority
CN
China
Prior art keywords
application
wearable device
preset
installation
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911304395.3A
Other languages
Chinese (zh)
Inventor
吴启军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201911304395.3A priority Critical patent/CN111061506A/en
Publication of CN111061506A publication Critical patent/CN111061506A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an application control method, wearable equipment and a computer readable storage medium. By implementing the scheme, the problems that various applications which are installed without limit cause system blocking, application flash back occurs to applications which are not supported by system hardware, and the use experience of a user is seriously influenced are solved, the installation of the installable applications is managed and controlled, the burden borne by the system is reduced, and the use experience of the user is improved.

Description

Application management and control method, wearable device and computer-readable storage medium
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to an application management and control method, a wearable device, and a computer-readable storage medium.
Background
With the rapid development of wearable devices, wearable devices in life have become available to perform various functions, such as: make a call, send a message, record health enforcement data, etc. Although the functions that can be realized by wearable devices are gradually increased, the wearable devices are configured in a lower way, have a smaller memory, have a smaller screen and have a lower resolution, so that the number of applications that can be installed on the wrist phone is limited, and even some applications have requirements on the frequency of a CPU, the screen is smaller and the resolution is also required, so that the applications supported by the wrist phone are limited. Once various applications are installed without limitation and continuously, the memory of the system is occupied, the system is blocked, and even some stability problems occur, and for applications which are not supported by system hardware, the applications enter the application and are flashed off, and even are reported in error, so that the use experience of a user is seriously influenced. In order to solve the problems, a lot of wrist machine manufacturers adopt a relatively rough method, namely all inlets for application installation are sealed, users are not allowed to install the applications by themselves, and only the users are allowed to use the applications preset by a factory, so that the method not only limits the use scene of the wrist machine, but also enables the intelligent machine not to be intelligent, and greatly reduces the use experience of the users.
Disclosure of Invention
The technical problems to be solved by the invention are that various applications which are installed unlimitedly occupy the memory of the system, so that the system is jammed, the stability is poor, and for the applications which are not supported by system hardware, the applications enter application flash back and even report errors, so that the use experience of a user is seriously influenced.
In order to solve the above technical problem, the present invention provides an application control method, where the application control method includes:
and when the system available memory of the wearable device is larger than a first preset threshold value and the installation package of the application is in a preset file, installing the application.
Optionally, detecting the size of the installation package of the application; and when the difference value between the available system memory and the size of the application installation package is larger than a first preset threshold value, detecting whether the application installation package is in a preset file.
Optionally, when the available memory of the system is smaller than a first preset threshold, prohibiting the installation of the application; and sending the first prompt message to the user.
Optionally, when it is detected that the size of the installation package of the application is larger than a second preset threshold, the installation of the application is prohibited.
Optionally, when the installation package of the application is not in the preset file and the preset installation information of the installation package does not execute the judgment event, the application is installed.
Optionally, the preset installation information includes at least one of the following: CPU Frequency, displayMetrics, width pixels, height pixels, lcd _ dense.
Optionally, when the application belongs to a preset application and the system of the wearable device is ROOT, the starting of the application is prohibited.
Optionally, the system of wearable device is ROOT comprising: the ro.build.type attribute of the system of the wearable device does not belong to the user or the ro.build.type attribute of the system of the wearable device belongs to the user but the key of the ROOT of the system is lost.
Further, the present invention also provides a wearable device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor; the computer program, when executed by the processor, implements the steps of the method of governing an application described above.
Further, the present invention also provides a computer-readable storage medium having one or more programs, which are executable by one or more processors to implement the steps of the above-mentioned method for managing and controlling an application.
Advantageous effects
The invention provides an application control method, wearable equipment and a computer readable storage medium, aiming at the problems that the existing various applications which are installed without limit cause system blocking, application flash back occurs to the applications which are not supported by system hardware, and the use experience of a user is seriously influenced. The problem of various applications of unlimited installation lead to the system card pause, to the application that system hardware does not support, the application dodges and retreat, seriously influences user's use experience is solved, the installation of installation application has been realized controlling, the burden that the system bore is reduced, user's experience has been improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device according to an embodiment of the present invention;
fig. 2 is a hardware schematic diagram of an implementation of a wearable device according to an embodiment of the present invention;
fig. 3 is a hardware schematic diagram of an implementation of a wearable device according to an embodiment of the present invention;
fig. 4 is a hardware schematic diagram of an implementation of the wearable device according to the embodiment of the present invention;
fig. 5 is a hardware schematic diagram of an implementation of a wearable device according to an embodiment of the present invention;
fig. 6 is a basic flowchart of an application management and control method according to a first embodiment of the present invention;
fig. 7 is a detailed flowchart of a management and control method for an application according to a second embodiment of the present invention;
fig. 8 is a detailed flowchart of a management and control method for an application according to a third embodiment of the present invention;
fig. 9 is a detailed flowchart of a management and control method for an application according to a fourth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a wearable device according to a sixth embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The wearable device provided by the embodiment of the invention comprises a mobile terminal such as an intelligent bracelet, an intelligent watch, an intelligent mobile phone and the like. With the continuous development of screen technologies, screen forms such as flexible screens and folding screens appear, and mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a wearable device will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, where the wearable device 100 may include: RF (radio frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 1:
the rf unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, the rf unit 101 may transmit uplink information to a base station, in addition, the downlink information sent by the base station may be received and then sent to the processor 110 of the wearable device for processing, the downlink information sent by the base station to the radio frequency unit 101 may be generated according to the uplink information sent by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that the information of the wearable device is updated, for example, after detecting that the geographic location where the wearable device is located changes, the base station may send a message notification of the change in the geographic location to the radio frequency unit 101 of the wearable device, and after receiving the message notification, the message notification may be sent to the processor 110 of the wearable device for processing, and the processor 110 of the wearable device may control the message notification to be displayed on the display panel 1061 of the wearable device; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the wearable device through wireless communication to remind a user of updating the application program if the file resource corresponding to the application program in the server is updated after the wearable device finishes downloading the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (general packet Radio Service), CDMA2000(Code Division Multiple Access2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
In one embodiment, the wearable device 100 may access an existing communication network by inserting a SIM card.
In another embodiment, the wearable device 100 may be configured with an esim card (Embedded-SIM) to access an existing communication network, and by using the esim card, the internal space of the wearable device may be saved, and the thickness may be reduced.
It is understood that although fig. 1 shows the radio frequency unit 101, it is understood that the radio frequency unit 101 does not belong to the essential constituents of the wearable device, and can be omitted entirely as required within the scope not changing the essence of the invention. The wearable device 100 can implement communication connection with other devices or a communication network through the wifi module 102 alone, which is not limited by the embodiments of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the wearable device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the wearable device 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
In one embodiment, the wearable device 100 includes one or more cameras, and by turning on the cameras, capturing of images can be realized, functions such as photographing and recording can be realized, and the positions of the cameras can be set as required.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
In one embodiment, the wearable device 100 further comprises a proximity sensor, and the wearable device can realize non-contact operation by adopting the proximity sensor, so that more operation modes are provided.
In one embodiment, the wearable device 100 further comprises a heart rate sensor, which, when worn, enables detection of heart rate by proximity to the user.
In one embodiment, the wearable device 100 may further include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be implemented.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
In one embodiment, the display panel 1061 is a flexible display screen, and when the wearable device using the flexible display screen is worn, the screen can be bent, so that the wearable device is more conformable. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, the display panel 1061 of the wearable device may take a rectangular shape to wrap around when worn. In other embodiments, other approaches may be taken.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
In one embodiment, the side of the wearable device 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, and is not limited herein. For example, when receiving a message notification of an application program through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and perform a touch operation on the certain area of the touch panel 1071 to control the message notification displayed in the corresponding area on the display panel 1061.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and the external device.
In one embodiment, the interface unit 108 of the wearable device 100 is configured as a contact, and is connected to another corresponding device through the contact to implement functions such as charging and connection. The contact can also be waterproof.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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, or other volatile solid state storage device.
The processor 110 is a control center of the wearable device, connects various parts of the entire wearable device by various interfaces and lines, and performs various functions of the wearable device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling up data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The wearable device 100 may further include a power source 111 (such as a battery) for supplying power to various components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the wearable device 100 may further include a bluetooth module or the like, which is not described herein. The wearable device 100 can be connected with other terminal devices through Bluetooth, so that communication and information interaction are realized.
Please refer to fig. 2-4, which are schematic structural diagrams of a wearable device according to an embodiment of the present invention. The wearable device in the embodiment of the invention comprises a flexible screen. When the wearable device is unfolded, the flexible screen is in a strip shape; when the wearable device is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the wearable device screen when the wearable device screen is unfolded, and fig. 4 shows the structural schematic diagram of the wearable device screen when the wearable device screen is bent.
Based on the above embodiments, it can be seen that, if the device is a watch, a bracelet, or a wearable device, the screen of the device may not cover the watchband region of the device, and may also cover the watchband region of the device. Here, the present invention provides an optional embodiment, in which the device may be a watch, a bracelet, or a wearable device, and the device includes a screen and a connection portion. The screen can be a flexible screen, and the connecting part can be a watchband. Optionally, the screen of the device or the display area of the screen may partially or completely cover the wristband of the device. As shown in fig. 5, fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device according to an embodiment of the present invention, where a screen of the device extends to two sides, and a part of the screen is covered on a watchband of the device. In other embodiments, the screen of the device may also be completely covered on the watchband of the device, and the embodiment of the present invention is not limited thereto.
First embodiment
In order to solve the problems that various applications are installed ceaselessly, the system is jammed due to the fact that the system is full of memory, the stability is poor, and the use experience of a user is seriously influenced by the fact that the applications which are not supported by system hardware enter application flash quit and even report errors.
Fig. 6 is a basic flowchart of an application management and control method provided in this embodiment, where the application management and control method includes:
s601, detecting whether the system available memory of the wearable device is larger than a first preset threshold value.
In this embodiment, when the system available memory of the wearable device is greater than the first preset threshold, S602 is executed, otherwise, S604 is executed. In this embodiment, when it is detected that the system available memory of the wearable device is smaller than the first preset threshold, the step S604 may be executed to prohibit the application from being installed, and send the first prompt message to the user. The first prompt information may be, but is not limited to, that the current system memory is insufficient, the memory is requested to be cleaned and released and then reinstalled, the memory is insufficient, and the memory is requested to be cleaned and then reinstalled, and the like.
S602, detecting whether the installation package of the application is in a preset file.
In this embodiment, the preset file includes applications supported by the wearable device and/or applications with a download amount ranked before a preset rank, where the preset rank may be less than or equal to a rank set by a developer when the wearable device is developed, and the rank set by the developer may be 800, 500, 300, and the like, but is not limited to the above three ranks. Where the preset files may be a list of package names of installation packages for these applications. When detecting that the installation package of the application is in the preset file, executing S603, otherwise executing 604. When the fact that the installation package of the application is not in the preset file is detected, the application can be installed when the fact that the judgment event is not executed according to the preset installation information of the installation package of the application is detected. Wherein the preset installation information includes at least one of: CPU Frequency, display Metrics, width Pixels, height Pixels, lcd _ dense. When the preset installation information of the installation package of the application is detected to have an executed judgment event, prompt information is sent to a user, and the prompt information prompts that the user hardware does not support the installation of the application.
In this embodiment, before detecting that the installation package of the application is in the preset file, the method may further include: and detecting the size of the installation package of the application, and detecting whether the installation package of the application is in a preset file or not when the difference value between the available memory of the system and the size of the installation package of the application is larger than a first preset threshold value.
In this embodiment, when the difference between the system memory and the size of the installation package of the application is smaller than the first preset threshold, the installation of the application is also prohibited, and then the third prompt message is sent to the user, where the third prompt message may be set to be the same as the first prompt message.
In this embodiment, after detecting the size of the installation package of the application, the method further includes: and when the size of the installation package of the application is larger than a second preset threshold value, prohibiting the installation of the application. After prohibiting the installation of the application, the method may further include: and sending second prompt information to the user, wherein the second prompt information may be "limited by the size of the memory, installation of a large application is not allowed", "the application installation package is too large, installation is not allowed", and the like, but is not limited to the above prompt information, and the user is prompted that the installation is not allowed.
And S603, installing the application.
In this embodiment, after the application is installed, the method further includes: when the application belongs to a preset application and a system of the wearable device is ROOT, starting of the application is prohibited. Wherein before or after prohibiting the launching of the application further comprises: and sending the fourth prompt message to the user. Wherein the preset application comprises at least one of: to payment-type applications, to user privacy-type applications. In this embodiment, the system of wearable devices is root comprising: the ro.built.type attribute of the system of the wearable device does not belong to the user or the ro.built.type attribute of the system of the wearable device belongs to the user but the key of the system is lost, or the ro.built.type attribute of the system of the wearable device belongs to the user but there are more or less security-related specific files under the system folder, wherein the security-related specific files comprise: a busy box file.
And S604, ending.
According to the control method for the application, when the available memory of the system is larger than the first preset threshold and the installation package of the application is in the preset file, the application is installed. The problem that the use experience of a user is seriously influenced due to the fact that the system is blocked and the application is flashed back for the application which is not supported by system hardware due to various applications which are installed without limit is solved, the problems of blocking and stability of the system caused by the fact that the system memory is filled with the application are prevented through a method of reserving the system memory, the installation of the installable application is controlled, the burden borne by the system is reduced, and the experience of the user is improved.
Second embodiment
The control method of the invention realizes the control of the installation of the installable application, reduces the burden borne by the system, and improves the experience of the user.
Fig. 7 is a detailed flowchart of a management and control method for an application according to a second embodiment of the present invention, where the management and control method includes:
s701, detecting whether the system available memory of the wearable device is larger than a first preset threshold value.
In this embodiment, when the system available memory of the wearable device is greater than the first preset threshold, S702 is executed, otherwise, S706 is executed.
S702, detecting whether the installation package of the application is in a preset file.
In this embodiment, the preset file includes applications supported by the wearable device and/or applications with a download amount ranked before a preset rank, where the preset rank may be less than or equal to a rank set by a developer when the wearable device is developed, where the rank set by the developer in this embodiment is 800. Where the preset files may be a list of package names of installation packages for these applications. When detecting that the installation package of the application is in the preset file, executing S703, otherwise executing S704.
And S703, installing the application.
In this embodiment, after the application is installed, S706 is executed, where after the application is installed, the method may further include: when the application belongs to a preset application and a system of the wearable device is ROOT, starting of the application is prohibited. Wherein before or after prohibiting the launching of the application further comprises: and sending prompt information to the user. Wherein the preset application comprises at least one of: to payment-type applications, to user privacy-type applications. In this embodiment, the system of wearable devices is root comprising: the ro.built.type attribute of the system of the wearable device does not belong to the user or the ro.built.type attribute of the system of the wearable device belongs to the user but the key of the system is lost, or the ro.built.type attribute of the system of the wearable device belongs to the user but there are more or less security-related specific files under the system folder, wherein the security-related specific files comprise: a busy box file.
S704, whether the preset installation information of the installation package of the application executes a judgment event is detected.
In this embodiment, the preset installation information at least includes one of the following: CPU Frequency, displayMetrics, width pixels, height pixels, lcd _ dense. And executing S703 when detecting that the application does not take the preset installation information of the application installation package to execute the judgment event, otherwise executing S705.
S705, fourth prompt information is sent to the user.
In this embodiment, the fourth prompt message is "the application does not support the current hardware.
And S706, ending.
In the method for managing and controlling an application, when the system available memory of the wearable device is greater than a first preset threshold, and the installation package of the application is in a preset file or the installation of the application is not detected in the preset file, but the application is installed without executing a judgment event on the preset installation information of the installation package of the application, and when the judgment event is detected to be executed on the preset installation information of the installation package of the application, a prompt message is sent to a user to prohibit the installation of the application. The method and the device realize the control of the size of the installation package, prevent the problem that a user installs the big application to fill up the memory and the big application fails to install, realize the control of the installation of the installable application, reduce the burden borne by the system, avoid the application which is not supported by the hardware of the installation system, and improve the use experience of the user.
Third embodiment
The control method of the invention realizes the control of the installation of the installable application, reduces the burden borne by the system, and improves the experience of the user.
Fig. 8 is a detailed flowchart of a management and control method for an application according to a third embodiment of the present invention, where the management and control method includes:
s801, detecting whether the system available memory of the wearable device is larger than a first preset threshold value.
The first preset threshold may be 600M, 500M, or 300M, and in this embodiment, the first preset threshold is 500M. When the system available memory of the wearable device is greater than a first preset threshold, S802 is executed, otherwise, S804 is executed.
S802, detecting the size of the installation package of the application.
And S803, judging whether the difference value between the available memory of the system and the size of the installation package of the application is larger than a first preset threshold value.
In this embodiment, when the difference between the available system memory and the size of the installation package of the application is greater than the first preset threshold, S805 is executed, otherwise, S804 is executed.
S804, the installation of the application is forbidden, and prompt information is sent to the user.
In this embodiment, the prompt message is "the current system memory is insufficient, please clean and release the memory and reinstall it".
S805, detecting whether the installation package of the application is in a preset file.
In this embodiment, the preset file includes applications supported by the wearable device and/or applications with a download amount ranked before a preset rank, where the preset rank may be less than or equal to a rank set by a developer when the wearable device is developed, and the rank set by the developer is 800. Wherein the preset files are a list consisting of package names of installation packages of the applications. When detecting that the package name of the installation package of the application is in the list, S806 is performed, otherwise S810 is performed.
And S806, installing the application.
S807, whether the application belongs to a preset application and whether a system of the wearable device is ROOT or not is detected.
In the embodiment, the preset application includes at least one of the following: to payment-type applications, to user privacy-type applications. In this embodiment, the system of wearable devices is root comprising: the ro.built.type attribute of the system of the wearable device does not belong to the user or the ro.built.type attribute of the system of the wearable device belongs to the user but the key of the system is lost, or the ro.built.type attribute of the system of the wearable device belongs to the user but there are more or less security-related specific files under the system folder, wherein the security-related specific files comprise: a busy box file. When the application belongs to the preset application and the system of the wearable device is ROOT, S808 is executed, otherwise S809 is executed.
And S808, sending fourth prompt information to the user, and forbidding the starting of the application.
In this embodiment, the fourth prompt message is "the system is ROOT, and there is a potential safety hazard when the application is opened".
And S809, starting the application.
And S810, ending.
In the control method for the application, when the system available memory of the wearable device is greater than a first preset threshold, and when a difference value between the system available memory and the size of the installation package of the application is greater than the first preset threshold, and the package name of the installation package of the application is in the list, the application is installed. And after installation, when detecting that the application belongs to the preset application and the system of the wearable device is ROOT, sending fourth prompt information to the user, and forbidding the starting of the application, otherwise, starting the application. When the available system memory of the wearable device is smaller than a first preset threshold value, the application is forbidden to be installed, and first prompt information is sent to a user. The method and the device realize control on installation of the installable application, reduce the burden borne by the system, avoid the application which is not supported by hardware of the installation system, ensure the safety of the system and improve the use experience of a user.
Fourth embodiment
The control method of the invention realizes the control of the installation of the installable application, reduces the burden borne by the system, and improves the experience of the user.
Fig. 9 is a detailed flowchart of a management and control method for an application according to a fourth embodiment of the present invention, where the management and control method includes:
s901, detecting whether the system available memory of the wearable device is larger than a first preset threshold value.
The first preset threshold may be 600M, 500M, or 300M, and in this embodiment, the first preset threshold is 500M. When the system available memory of the wearable device is larger than a first preset threshold, executing S902, otherwise, executing S904.
S902, detecting the size of the installation package of the application.
S903, judging whether the difference value between the available memory of the system and the size of the installation package of the application is larger than a first preset threshold value.
In this embodiment, when the difference between the available system memory and the size of the installation package of the application is greater than the first preset threshold, S905 is executed, otherwise S904 is executed.
And S904, prohibiting the installation of the application and sending prompt information to the user.
In this embodiment, the prompt message is "the current system memory is insufficient, please clean and release the memory and reinstall it".
S905, judging whether the size of the applied installation package is larger than a second preset threshold value.
The second preset threshold may be 60M, 70M, 80M, and so on. In this embodiment, the second predetermined threshold is 80M. And executing S906 when the size of the installation package of the application is larger than a second preset threshold, otherwise, executing S907.
And S906, prohibiting the installation of the application.
In this embodiment, the prohibiting the installation of the application may further include and sending a second prompt message to the user, where the second prompt message is "limited by the size of the memory, and the installation of the large application is not permitted".
S907, detecting whether the installation package of the application is in a preset file.
In this embodiment, the preset file includes applications supported by the wearable device and/or applications with a download amount ranked before a preset rank, where the preset rank may be less than or equal to a rank set by a developer when the wearable device is developed, where the rank set by the developer in this embodiment is 800. Where the preset files may be a list of package names of installation packages for these applications. When the installation package of the application is detected to be in the preset file, S908 is performed, otherwise S909 is performed.
And S908, installing the application.
S911 is executed after the application is installed in the present embodiment.
And S909, detecting whether the preset installation information of the installation package of the application executes a judgment event.
In this embodiment, the preset installation information at least includes one of the following: CPU Frequency, displayMetrics, width pixels, height pixels, lcd _ dense. When detecting that the application does not carry out the judgment event with the preset installation information of the application installation package, executing S908, otherwise executing S910.
S910, fourth prompt information is sent to the user.
In this embodiment, the fourth prompting message is "the application does not support the current hardware", where the fourth prompting message is sent while the installation of the application is prohibited.
S911, detecting whether the application belongs to a preset application and whether a system of the wearable device is ROOT.
In the embodiment, the preset application includes at least one of the following: to payment-type applications, to user privacy-type applications. In this embodiment, the system of wearable devices is root comprising: the ro.built.type attribute of the system of the wearable device does not belong to the user or the ro.built.type attribute of the system of the wearable device belongs to the user but the key of the system is lost, or the ro.built.type attribute of the system of the wearable device belongs to the user but there are more or less security-related specific files under the system folder, wherein the security-related specific files comprise: a busy box file. When the application belongs to the preset application and the system of the wearable device is ROOT, S912 is executed, otherwise S913 is executed.
S912, sending fourth prompt information to the user, and forbidding the starting of the application.
In this embodiment, the fourth prompt message is "the system is ROOT, and there is a potential safety hazard when the application is opened".
And S913, starting the application.
And S914, ending.
The embodiment provides an application management and control method, where when a system available memory of a wearable device is larger than a first preset threshold, and when a difference value between the system available memory and an application installation package size is larger than the first preset threshold, and the application installation package size is smaller than a second preset threshold, an application is installed when the application installation package is in a preset file. After the application is installed, when the application is detected to belong to the preset application and the system of the wearable device is ROOT, fourth prompt information is sent to the user, starting of the application is forbidden, and otherwise, the application is normally started. In the process, if the system available memory of the wearable device is smaller than a first preset threshold or the difference value between the system available memory and the size of the installation package of the application is larger than the first preset threshold, the installation of the application is forbidden, and prompt information is sent to a user. And when the size of the installation package of the application is larger than a second preset threshold value, the installation of the application is forbidden, and prompt information is sent to the user. When the installation package of the application is not in the preset file, whether the preset installation information of the installation package of the application executes the judgment event or not is judged, when the situation that the application does not take the preset installation information of the installation package of the application to execute the judgment event is detected, the application is installed, and otherwise, fourth prompt information is sent to the user. The method and the device have the advantages that the installation of the installable application is controlled, the burden borne by the system is reduced, the application which is not supported by the hardware of the installation system is avoided, the safety of the system is ensured, the privacy of a user is protected, and the use experience of the user is improved.
Fifth embodiment
The present embodiment further provides a wearable device, as shown in fig. 10, which includes a processor 1001, a memory 1002, and a communication bus 1003, wherein:
the communication bus 1003 is used for realizing connection communication between the processor 1001 and the memory 1002;
the processor 1001 is configured to execute one or more programs stored in the memory 1002 to implement the steps of the management and control method applied in any one of the first to fifth embodiments.
The present embodiment also provides a computer storage medium, in which one or more programs are stored, and the one or more programs are executable by one or more processors to implement the steps of the control method applied in any one of the first to fifth embodiments.
In this embodiment, when the available memory of the system is greater than the first preset threshold and the installation package of the application is in the preset file, the application is installed. The problem of various applications of unlimited installation lead to the system card pause, to the application that system hardware does not support, the application dodges and retreat, seriously influences user's use experience is solved, the installation of installation application has been realized controlling, the burden that the system bore is reduced, user's experience has been improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. The application control method is applied to wearable equipment and is characterized by comprising the following steps:
and when the system available memory of the wearable device is larger than a first preset threshold value and the installation package of the application is in a preset file, installing the application.
2. The management and control method according to claim 1, wherein the installation package of the application further comprises before in a preset file:
detecting an installation package size of the application;
and when the difference value between the available system memory and the size of the application installation package is larger than a first preset threshold value, detecting whether the application installation package is in a preset file.
3. The management and control method according to claim 1, characterized by further comprising:
when the available memory of the system is smaller than a first preset threshold value, prohibiting the installation of the application;
and sending the first prompt message to the user.
4. The method of managing as recited in claim 2, wherein said detecting an installation package size of said application further comprises: and when the size of the installation package of the application is larger than a second preset threshold value, prohibiting the installation of the application.
5. The method of managing of any of claims 1-4, wherein the method of managing of the application further comprises: and when the installation package of the application is not in the preset file and the preset installation information of the installation package does not execute the judgment event, installing the application.
6. The management and control method according to claim 5, wherein the preset installation information includes at least one of: CPU Frequency, displayMetrics, width pixels, height pixels, lcd _ dense.
7. The method of managing as recited in any one of claims 1-4, wherein the installing the application further comprises: when the application belongs to a preset application and a system of the wearable device is ROOT, the starting of the application is prohibited.
8. The administration method of claim 7, wherein the system of wearable devices being ROOT comprises: the ro.build.type attribute of the system of the wearable device does not belong to the user or the ro.build.type attribute of the system of the wearable device belongs to the user but the key of the ROOT of the system is lost.
9. A wearable device, characterized in that the wearable device comprises:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implements the steps of a method of governing the regulation of an application as claimed in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the method of managing administration of an application according to any one of claims 1 to 8.
CN201911304395.3A 2019-12-17 2019-12-17 Application management and control method, wearable device and computer-readable storage medium Pending CN111061506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304395.3A CN111061506A (en) 2019-12-17 2019-12-17 Application management and control method, wearable device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304395.3A CN111061506A (en) 2019-12-17 2019-12-17 Application management and control method, wearable device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN111061506A true CN111061506A (en) 2020-04-24

Family

ID=70302093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304395.3A Pending CN111061506A (en) 2019-12-17 2019-12-17 Application management and control method, wearable device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111061506A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6360364B1 (en) * 1999-03-17 2002-03-19 Microsoft Corporation System and method for installing an application on a portable computer
US20100042991A1 (en) * 2008-08-15 2010-02-18 International Business Machines Corporation Business-in-a-box integration server and integration method
CN104182255A (en) * 2014-08-20 2014-12-03 青岛海信宽带多媒体技术有限公司 Method and terminal for upgrading library files of system application
CN105068848A (en) * 2015-08-28 2015-11-18 小米科技有限责任公司 System upgrading method and apparatus
CN106503541A (en) * 2016-10-11 2017-03-15 天脉聚源(北京)传媒科技有限公司 A kind of installation method of installation kit and system
CN108668002A (en) * 2017-10-12 2018-10-16 湖南红手指信息技术有限公司 A kind of application method for down loading of cloud mobile phone
CN108959597A (en) * 2018-07-12 2018-12-07 深圳Tcl新技术有限公司 User's space guard method, device, equipment and display terminal storage medium
CN110221856A (en) * 2019-06-25 2019-09-10 努比亚技术有限公司 A kind of wearable device upgrade method, wearable device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6360364B1 (en) * 1999-03-17 2002-03-19 Microsoft Corporation System and method for installing an application on a portable computer
US20100042991A1 (en) * 2008-08-15 2010-02-18 International Business Machines Corporation Business-in-a-box integration server and integration method
CN104182255A (en) * 2014-08-20 2014-12-03 青岛海信宽带多媒体技术有限公司 Method and terminal for upgrading library files of system application
CN105068848A (en) * 2015-08-28 2015-11-18 小米科技有限责任公司 System upgrading method and apparatus
CN106503541A (en) * 2016-10-11 2017-03-15 天脉聚源(北京)传媒科技有限公司 A kind of installation method of installation kit and system
CN108668002A (en) * 2017-10-12 2018-10-16 湖南红手指信息技术有限公司 A kind of application method for down loading of cloud mobile phone
CN108959597A (en) * 2018-07-12 2018-12-07 深圳Tcl新技术有限公司 User's space guard method, device, equipment and display terminal storage medium
CN110221856A (en) * 2019-06-25 2019-09-10 努比亚技术有限公司 A kind of wearable device upgrade method, wearable device and storage medium

Similar Documents

Publication Publication Date Title
EP4047940A1 (en) Screencast control method and electronic device
CN107734614B (en) Wi-Fi antenna control method, mobile terminal and computer readable storage medium
CN108196947B (en) Application running state control method and mobile terminal
CN110162254B (en) Display method and terminal equipment
US20200150860A1 (en) Mobile terminal and control method therefor, and readable storage medium
CN109819506B (en) Intelligent connection method, wearable device and computer readable storage medium
CN109062634B (en) Application starting method and mobile terminal
CN108009031B (en) Application program control method and mobile terminal
CN108008892B (en) Function starting method and terminal
CN110399195B (en) Desktop icon dynamic replacement method, equipment and computer readable storage medium
CN110086940B (en) Message reminding method, wearable device and readable storage medium
CN107729100B (en) Interface display control method and mobile terminal
CN109947325B (en) Application icon display method, wearable device and computer-readable storage medium
CN109933187B (en) Wearing equipment operation control method, wearing equipment and computer readable storage medium
CN110071866B (en) Instant messaging application control method, wearable device and storage medium
CN110532050B (en) Motion data refreshing method, wearable device and computer readable storage medium
CN109164951B (en) Mobile terminal operation method and mobile terminal
CN108170362B (en) Application running state control method and mobile terminal
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN109976613B (en) Text input implementation method, wearable device and computer-readable storage medium
CN110120208B (en) Method for automatically adjusting screen display, wearable device and storage medium
CN110018775B (en) Content display method, terminal and computer readable storage medium
CN110213441B (en) Voice control method, wearable device and computer-readable storage medium
CN110083244B (en) Anti-false touch method for wearable device, wearable device and storage medium
CN110083205B (en) Page switching method, wearable device and computer-readable storage medium

Legal Events

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