Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the technical problems of long occupation time during system updating and insufficient convenience caused by the fact that the system needs to be updated again after updating fails, the embodiment of the invention provides a system updating method and a related product.
In a first aspect, embodiments of the present invention provide a method of system update, which method may be implemented in dependence on a computer program which is executable on a computer system based on the von neumann architecture, which computer program may be a stand-alone application in system update software on a mobile terminal, or a functional option or application plug-in developed based on the system update software application. May be installed in mobile terminals running operating systems such as IOS, Android, Windows Phone, etc., including but not limited to personal computers, server computers, hand-held or laptop, consumer electronics, smart phones, tablets, media players, and multiprocessor systems, among others.
Specifically, as shown in fig. 1, a method for updating a system includes:
step S102: and acquiring the work and rest time of the user.
In this embodiment, the work and rest time of the user may be rest time set by the user, or may be obtained by analyzing behavior data collected by the three-dimensional acceleration sensor, according to a face image collected by the camera and/or sound collected by the microphone, or may be obtained by time record on the mobile terminal, such as alarm clock ringing time, reminding items, memo or time record in a calendar.
Step S104: and determining the updating time of the system application according to the work and rest time, wherein the system application comprises N sub-applications.
In this embodiment, N is a positive integer. The system update process of the mobile terminal may be a process of reinstalling the operating system of the mobile terminal, which may be referred to as a flush, for example: updating the mobile phone with the Android system from the Android4.0 system to the Android4.3 system; the process of the application update by the mobile terminal may also be, for example: the system includes a plurality of update sub-applications. The updating time of the system application is determined according to the work and rest time, so that the use of the mobile terminal is not influenced, and the convenience of operation and the user experience can be improved.
Optionally, determining the update time of the system application according to the work and rest time specifically includes: after the work and rest time is up, acquiring sleep data of a user; and analyzing the sleep data, and taking the time when the user enters a deep sleep state as the updating time of the system application.
That is, the system update is performed after the user enters a deep sleep state. For example, if the work and rest time of the user is 24 hours, the user starts to acquire sleep data after 24 hours, and if the user enters a deep sleep state at 1 hour 30 minutes, the user takes 1 hour 30 minutes as the update time. The user is not easy to wake up in the deep sleep state, so that the user experience is improved.
Step S106: and when the updating time arrives, acquiring the network rate.
In this embodiment, the network rate at the update time is obtained. It should be noted that the network status for performing system update may be under Wi-Fi or under 2G \3G \4G data traffic, and in order to save the usage amount of user traffic, reduce unnecessary cost waste, and improve the downloading efficiency, the mobile terminal may perform system update only under Wi-Fi.
Step S108: and determining the maximum updated memory capacity according to the network rate.
Because the maximum updating memory capacity is determined according to the network rate at the updating time, the sub-application meeting the maximum updating memory capacity can be ensured to be updated in the system at the updating time, thereby improving the success rate of the system updating.
Optionally, the maximum updated memory capacity is determined according to the network rate and the remaining power. The system updating can be carried out under the condition of meeting the residual electric quantity and the network rate, the problem of updating failure caused by insufficient electric quantity due to long time required by the system updating is avoided, and the success rate of the system updating is further improved.
Step S110: and determining M sub-applications which are preferentially updated from the N sub-applications according to the maximum updating memory capacity, and updating the M sub-applications.
In this embodiment, M is a positive integer smaller than N. The method for updating a system shown in fig. 1 includes obtaining a work and rest time of a user, determining an update time of a system application according to the work and rest time, obtaining a network rate when the update time arrives, determining a maximum update memory capacity according to the network rate, determining M sub-applications that are preferentially updated from the N sub-applications according to the maximum update memory capacity, and updating the M sub-applications. Because the updating time is determined according to the work and rest time of the user, and the maximum updating memory capacity is determined according to the network rate of the updating time, M sub-applications can be successfully updated at the updating time, thereby improving the operation convenience and the success rate of system updating.
Optionally, determining, from the N sub-applications, M sub-applications to be preferentially updated according to the updated memory capacity specifically, acquiring attribute information of an update package corresponding to each sub-application in the N sub-applications, where the attribute information at least includes the memory capacity and a preset priority; and determining M sub-applications according to the preset priority and the memory capacity of the update package.
That is to say, the sub-applications are prioritized, and the sub-applications which are preferentially updated are determined according to the memory capacity of the update package corresponding to each sub-application and the preset priority, so that the sub-applications which are preferentially updated can be preferentially updated.
For example, the system update includes 3 sub-applications in total, the first sub-application, the second sub-application, and the third sub-application. Wherein, the priority of the first sub-application is 3, and the memory capacity is 20M; the priority of the second sub-application is 2, and the memory capacity is 10M; the priority of the third sub-application is 1 and the memory capacity is 8M. Assuming that the maximum update memory capacity is 15M, the memory capacity of the first sub-application with priority 3 is greater than the maximum update memory capacity, delaying the update, while the memory capacity of the second sub-application with priority 2 is less than the maximum update memory capacity, prioritizing the update, and the memory capacity of the third sub-application with priority 1 is greater than the remaining memory capacity between the maximum update memory capacity and the memory capacity of the second sub-application, delaying the update, so the sub-application updated at the update time is the second sub-application.
Optionally, obtaining an update network speed corresponding to an update time of each sub-application of the N sub-applications; and if the updated network speed is greater than the preset threshold value, reducing the preset priority of the sub-application.
That is, when the update network speed is greater than the preset threshold, it is determined that the sub-application occupies a large amount of network speed in the background at the update time, and thus the preset priority of the sub-application is reduced.
For example, the system update includes 3 sub-applications in total, the first sub-application, the second sub-application, and the third sub-application. Wherein, the priority of the first sub-application is 4, the memory capacity is 20M, and the updating network speed at the updating time is 10 kb/s; the priority of the second sub-application is 3, the memory capacity is 10M, and the updating network speed at the updating moment is 25 kb/s; the priority of the third sub-application is 2, the memory capacity is 8M, and the updating network speed at the updating moment is 12 kb/s. Assuming that the maximum update memory capacity is 15M and the preset threshold is 20kb/s, the priority of the second sub-application is lowered to 1, the memory capacity of the first sub-application with priority 4 is greater than the maximum update memory capacity, and the update is delayed, and the memory capacity of the third sub-application with priority 2 is less than the memory capacity of the maximum update memory capacity, and the update is prioritized, and the memory capacity of the second sub-application with priority 1 is greater than the remaining memory capacity between the maximum update memory capacity and the memory capacity of the third sub-application, and the update is delayed, so that the sub-application updated at the update time is the third sub-application.
Referring to fig. 2, fig. 2 is another system updating method according to an embodiment of the present invention, as shown in fig. 2, the system updating method includes:
step S202: a system update request is received.
In this embodiment, the mobile terminal is connected to the cloud server via a network, and when the device vendor issues the system update package or the software provider issues the application update package, the mobile terminal selects an update package corresponding to the device identifier and the model information of the mobile terminal to generate a system update request.
Step S204: and acquiring an application type corresponding to the system updating request, and dividing the system application into N sub-applications according to the application type.
In this embodiment, the system application is divided into N sub-applications according to the application type in the system update request, each sub-application can be executed independently, and when the sub-applications are updated independently, update failure is not caused, and other applications are not affected, so that the efficiency of updating the system is improved.
Step S206: and acquiring the work and rest time of the user.
Step S208: and determining the updating time of the system application according to the work and rest time, wherein the system application comprises N sub-applications.
Step S210: and when the updating time arrives, acquiring the network rate.
Step S212: and determining the maximum updated memory capacity according to the network rate.
Step S214: and determining M sub-applications which are preferentially updated from the N sub-applications according to the maximum updating memory capacity, and updating the M sub-applications.
Steps S206 to S208 in the method for updating a system of this embodiment may be implemented according to the method of the embodiment of fig. 1, and are not described herein again.
Optionally, after updating the M sub-applications, the method further includes: and detecting the network rate, and updating the applications except the M sub-applications in the N sub-applications when the network rate is greater than or equal to a second threshold value.
That is, when the network rate is greater than or equal to the second threshold, the applications other than M sub-applications among the N sub-applications are updated. For example, assuming that the second threshold is 30kb/s, the system update includes 3 sub-applications including the first sub-application, the second sub-application and the third sub-application, the updated application is preferably the second sub-application at the 1 point of the update time point by 30 points, and the network rate at the 2 point is 50kb/s, the first sub-application and the third sub-application are updated.
When the update is abnormal, the mobile terminal returns prompt information to the user, so that the user knows that the update process has a failure and update fails. Or when the update is completed, the mobile terminal updates information to the user, so that the user knows which sub-applications are updated and which sub-applications are not updated. Specifically, the method comprises the following steps: and when an exception occurs in the updating process or when the updating is completed, sending prompt information.
Optionally, after updating the M sub-applications, the method further includes: and deleting the update package of the M sub-applications. That is to say, the update package is deleted after the installation is finished, so that the storage space of the mobile terminal is saved, and the speed of downloading other installation packages is improved.
As shown in fig. 2, in the method for updating a system, when a system update request is received, an application type corresponding to the system update request is obtained, the system application is divided into N sub-applications according to the application type, the work and rest time of a user is obtained, an update time of the system application is determined according to the work and rest time, when the update time arrives, a network rate is obtained, a maximum update memory capacity is determined according to the network rate, M sub-applications that are preferentially updated are determined from the N sub-applications according to the maximum update memory capacity, and the M sub-applications are updated. Because the updating time is determined according to the work and rest time of the user, and the maximum updating memory capacity is determined according to the network rate of the updating time, partial updating can be carried out, thereby improving the operation convenience and the success rate of system updating.
Referring to fig. 3, fig. 3 is a system updating apparatus according to an embodiment of the present invention, as shown in fig. 3, the system updating apparatus includes a working time obtaining unit 102, an update time determining unit 104, a network rate obtaining unit 106, a memory capacity determining unit 108, and a priority updating unit 110, where:
a work and rest time acquiring unit 102, configured to acquire a work and rest time of a user.
In this embodiment, the work and rest time of the user may be rest time set by the user, or may be obtained by analyzing behavior data collected by the three-dimensional acceleration sensor, according to a face image collected by the camera and/or sound collected by the microphone, or may be obtained by time record on the mobile terminal, such as alarm clock ringing time, reminding items, memo or time record in a calendar.
An update time determining unit 104 is configured to determine an update time of a system application according to the work and rest time, where the system application includes N sub-applications.
In this embodiment, N is a positive integer. The system update process of the mobile terminal may be a process of reinstalling the operating system of the mobile terminal, which may be referred to as a flush, for example: updating the mobile phone with the Android system from the Android4.0 system to the Android4.3 system; the process of the application update by the mobile terminal may also be, for example: the system includes a plurality of update sub-applications. The updating time of the system application is determined according to the work and rest time, so that the use of the mobile terminal is not influenced, and the convenience of operation and the user experience can be improved.
Optionally, the update time determining unit 104 is specifically configured to: after the work and rest time is up, acquiring sleep data of a user; and analyzing the sleep data, and taking the time when the user enters a deep sleep state as the updating time of the system application.
That is, the system update is performed after the user enters a deep sleep state. For example, if the work and rest time of the user is 24 hours, the user starts to acquire sleep data after 24 hours, and if the user enters a deep sleep state at 1 hour 30 minutes, the user takes 1 hour 30 minutes as the update time. The user is not easy to wake up in the deep sleep state, so that the user experience is improved.
A network rate obtaining unit 106, configured to obtain the network rate when the update time arrives.
In this embodiment, the network rate at the update time is obtained. It should be noted that the network status for performing system update may be under Wi-Fi or under 2G \3G \4G data traffic, and in order to save the usage amount of user traffic, reduce unnecessary cost waste, and improve the downloading efficiency, the mobile terminal may perform system update only under Wi-Fi.
A memory capacity determining unit 108, configured to determine a maximum updated memory capacity according to the network rate.
Because the maximum updating memory capacity is determined according to the network rate at the updating time, the sub-application meeting the maximum updating memory capacity can be ensured to be updated in the system at the updating time, thereby improving the success rate of the system updating.
Optionally, the maximum updated memory capacity is determined according to the network rate and the remaining power. The system updating can be carried out under the condition of meeting the residual electric quantity and the network rate, the problem of updating failure caused by insufficient electric quantity due to long time required by the system updating is avoided, and the success rate of the system updating is further improved.
The priority updating unit 110 is configured to determine M sub-applications that are preferentially updated from the N sub-applications according to the maximum update memory capacity, and update the M sub-applications.
In this embodiment, M is a positive integer smaller than N. Because the updating time is determined according to the work and rest time of the user, and the maximum updating memory capacity is determined according to the network rate of the updating time, M sub-applications can be successfully updated at the updating time, thereby improving the operation convenience and the success rate of system updating.
Optionally, the priority updating unit 110 shown in fig. 3A includes:
an attribute information obtaining unit 1102, configured to obtain attribute information of an update package corresponding to each sub-application in the N sub-applications, where the attribute information at least includes a memory capacity and a preset priority;
and a priority sub-application determining unit 1104, configured to determine M sub-applications according to the preset priority and the memory capacity of the update package.
That is to say, the sub-applications are prioritized, and the sub-applications which are preferentially updated are determined according to the memory capacity of the update package corresponding to each sub-application and the preset priority, so that the sub-applications which are preferentially updated can be preferentially updated.
For example, the system update includes 3 sub-applications in total, the first sub-application, the second sub-application, and the third sub-application. Wherein, the priority of the first sub-application is 3, and the memory capacity is 20M; the priority of the second sub-application is 2, and the memory capacity is 10M; the priority of the third sub-application is 1 and the memory capacity is 8M. Assuming that the maximum update memory capacity is 15M, the memory capacity of the first sub-application with priority 3 is greater than the maximum update memory capacity, delaying the update, while the memory capacity of the second sub-application with priority 2 is less than the maximum update memory capacity, prioritizing the update, and the memory capacity of the third sub-application with priority 1 is greater than the remaining memory capacity between the maximum update memory capacity and the memory capacity of the second sub-application, delaying the update, so the sub-application updated at the update time is the second sub-application.
Optionally, the priority updating unit 110 shown in fig. 3B further includes:
an update network speed obtaining unit 1106, configured to obtain an update network speed corresponding to an update time of each sub-application of the N sub-applications;
the priority setting unit 1108 is configured to decrease the preset priority of the sub-application if the updated network speed is greater than the preset threshold.
That is, when the update network speed is greater than the preset threshold, it is determined that the sub-application occupies a large amount of network speed in the background at the update time, and thus the preset priority of the sub-application is reduced.
For example, the system update includes 3 sub-applications in total, the first sub-application, the second sub-application, and the third sub-application. Wherein, the priority of the first sub-application is 4, the memory capacity is 20M, and the updating network speed at the updating time is 10 kb/s; the priority of the second sub-application is 3, the memory capacity is 10M, and the updating network speed at the updating moment is 25 kb/s; the priority of the third sub-application is 2, the memory capacity is 8M, and the updating network speed at the updating moment is 12 kb/s. Assuming that the maximum update memory capacity is 15M and the preset threshold is 20kb/s, the priority of the second sub-application is lowered to 1, the memory capacity of the first sub-application with priority 4 is greater than the maximum update memory capacity, and the update is delayed, and the memory capacity of the third sub-application with priority 2 is less than the memory capacity of the maximum update memory capacity, and the update is prioritized, and the memory capacity of the second sub-application with priority 1 is greater than the remaining memory capacity between the maximum update memory capacity and the memory capacity of the third sub-application, and the update is delayed, so that the sub-application updated at the update time is the third sub-application.
The apparatus for system update shown in fig. 3 obtains the work and rest time of the user, determines the update time of the system application according to the work and rest time, obtains the network rate when the update time arrives, determines the maximum update memory capacity according to the network rate, determines M sub-applications that are preferentially updated from the N sub-applications according to the maximum update memory capacity, and updates the M sub-applications. Because the updating time is determined according to the work and rest time of the user, and the maximum updating memory capacity is determined according to the network rate of the updating time, partial updating can be carried out, thereby improving the operation convenience and the success rate of system updating.
Referring to fig. 4, fig. 4 is another system updating apparatus according to an embodiment of the present invention, as shown in fig. 4, the system updating apparatus includes an update request receiving unit 202, a sub-application dividing unit 204, a working time obtaining unit 206, an update time determining unit 208, a network rate obtaining unit 210, a memory capacity determining unit 212, and a priority updating unit 214, where:
an update request receiving unit 202, configured to receive a system update request.
In this embodiment, the mobile terminal is connected to the cloud server via a network, and when the device vendor issues the system update package or the software provider issues the application update package, the mobile terminal selects an update package corresponding to the device identifier and the model information of the mobile terminal to generate a system update request.
And the sub-application dividing unit 204 is configured to obtain an application type corresponding to the system update request, and divide the system application into N sub-applications according to the application type.
In this embodiment, the system application is divided into N sub-applications according to the application type in the system update request, each sub-application can be executed independently, and when the sub-applications are updated independently, update failure is not caused, and other applications are not affected, so that the efficiency of updating the system is improved.
A work and rest time acquiring unit 206, configured to acquire a work and rest time of the user.
The update time determining unit 208 is configured to determine an update time of a system application according to the work and rest time, where the system application includes N sub-applications.
A network rate obtaining unit 210, configured to obtain the network rate when the update time arrives.
A memory capacity determining unit 212, configured to determine a maximum updated memory capacity according to the network rate.
The priority updating unit 214 is configured to determine M sub-applications that are preferentially updated from the N sub-applications according to the maximum update memory capacity, and update the M sub-applications.
The functions of 206-208 in the system updating apparatus of the present embodiment can be specifically implemented according to the functions of the method embodiment of fig. 3, and are not described herein again.
Optionally, the apparatus further comprises:
and a hysteresis updating unit 216, configured to detect a network rate, and update the applications other than the M sub-applications in the N sub-applications when the network rate is greater than or equal to a second threshold.
That is, when the network rate is greater than or equal to the second threshold, the applications other than M sub-applications among the N sub-applications are updated. For example, assuming that the second threshold is 30kb/s, the system update includes 3 sub-applications including the first sub-application, the second sub-application and the third sub-application, the updated application is preferably the second sub-application at the 1 point of the update time point by 30 points, and the network rate at the 2 point is 50kb/s, the first sub-application and the third sub-application are updated.
When the update is abnormal, the mobile terminal returns prompt information to the user, so that the user knows that the update process has a failure and update fails. Or when the update is completed, the mobile terminal updates information to the user, so that the user knows which sub-applications are updated and which sub-applications are not updated. Specifically, the method comprises the following steps: the apparatus further comprises a prompting unit 218 for sending a prompt when an anomaly occurs during the update or when the update is completed.
Optionally, the apparatus further comprises:
an update package deleting unit 220, configured to delete the update packages of the M sub-applications when the priority updating unit 214 is completed.
That is to say, the update package is deleted after the installation is finished, so that the storage space of the mobile terminal is saved, and the speed of downloading other installation packages is improved.
As shown in fig. 4, in the system updating apparatus, when a system updating request is received, an application type corresponding to the system updating request is obtained, the system application is divided into N sub-applications according to the application type, the work and rest time of a user is obtained, an updating time of the system application is determined according to the work and rest time, when the updating time arrives, a network rate is obtained, a maximum updating memory capacity is determined according to the network rate, M sub-applications that are preferentially updated are determined from the N sub-applications according to the maximum updating memory capacity, and the M sub-applications are updated. Because the updating time is determined according to the work and rest time of the user, and the maximum updating memory capacity is determined according to the network rate of the updating time, partial updating can be carried out, thereby improving the operation convenience and the success rate of system updating.
Referring to fig. 5, fig. 5 is a mobile terminal according to an embodiment of the present invention, including: an application processor AP 510 and a memory 520, the AP 510 being connected to the memory 520 by a bus 530; and one or more programs;
one or more programs are stored in the memory 520 and configured to be executed by the AP 510, the programs including instructions for performing the steps of:
acquiring the work and rest time of a user through the AP 510;
determining the updating time of the system application according to the work and rest time through the AP 510, wherein the system application comprises N sub-applications, and N is a positive integer;
acquiring a network rate when the update time arrives through the AP 510;
determining a maximum updated memory capacity according to the network rate through the AP 510;
and determining M sub-applications which are preferentially updated from the N sub-applications through the AP 510 according to the maximum updating memory capacity, and updating the M sub-applications, wherein M is a positive integer smaller than N.
In this embodiment, the AP 510 obtains the work and rest time of the user, determines the update time of the system application according to the work and rest time, obtains the network rate when the update time arrives, determines the maximum update memory capacity according to the network rate, determines M sub-applications that are preferentially updated from the N sub-applications according to the maximum update memory capacity, and updates the M sub-applications. Since the update time is determined by the AP 510 according to the work and rest time of the user, and the maximum update memory capacity is determined according to the network rate at the update time, man-machine exchange between the user and the mobile terminal is realized, and partial update can be performed, thereby improving the operational convenience and success rate of system update.
In one possible example, in determining, by the AP 510, M sub-applications to be preferentially updated from among the N sub-applications according to the maximum updated memory capacity, the instructions in the program are specifically configured to perform the following steps: obtaining an updating network speed corresponding to each sub-application in the N sub-applications at the updating time through the AP 510; and if the updated network speed is greater than the preset threshold value, the AP 510 reduces the preset priority of the sub-application.
In one possible example, in determining the update time of the system application from the work-break time by the AP 510, the instructions in the program are specifically configured to perform the following steps: after the work and rest time is up, acquiring sleep data of a user; and analyzing the sleep data, and taking the time when the user enters a deep sleep state as the updating time of the system application.
In one possible example, in determining the update time of the system application from the work-break time by the AP 510, the instructions in the program are specifically configured to perform the following steps: acquiring sleep data of the user after the work and rest time is reached through the AP 510; the AP 510 analyzes the sleep data, and takes the time when the user enters a deep sleep state as the update time of the system application.
In one possible example, prior to acquiring sleep data of a user by the AP 510, the program further includes instructions for performing the steps of: receiving a system updating request through the AP 510, and acquiring an application type corresponding to the system updating request; the system application is divided into N sub-applications according to application type by the AP 510.
As shown in fig. 6, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part in the embodiment of the present invention. The mobile terminal may be any mobile terminal including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the mobile terminal as a mobile phone as an example:
fig. 6 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 6, the handset includes: radio Frequency (RF) circuit 910, memory 920, input unit 930, sensor 950, audio circuit 960, Wireless Fidelity (Wi-Fi) module 970, application processor AP 980, and power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 6:
the input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. In particular, the input unit 930 may include a touch-sensitive display 931 and other input devices 932. The touch screen 931 may collect a touch operation (for example, an operation of the user on the touch screen 931 or near the touch screen 931 by using any suitable object or accessory such as a finger or a stylus) and drive the corresponding connection device according to a preset program. Alternatively, the touch display screen 931 may include two parts, namely, 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 detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the AP 980, and can receive and execute commands sent by the AP 680. In addition, the touch display screen 931 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. Other input devices 932 may include, but are not limited to, one or more of physical keys, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. Acquiring work and rest time of a user through an AP 980; determining the updating time of the system application according to the work and rest time through the AP 980, wherein the system application comprises N sub-applications, and N is a positive integer; acquiring a network rate when the updating moment arrives through the AP 980; determining the maximum updated memory capacity according to the network rate through the AP 980; and determining M sub-applications which are preferentially updated from the N sub-applications through the AP 980 according to the maximum updating memory capacity, and updating the M sub-applications, wherein M is a positive integer smaller than N.
The AP 980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions and processes of the mobile phone by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Optionally, AP 980 may include one or more processing units; the AP 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the AP 980.
The memory 920 may be used to store Android systems and screen locking applications, where the Android systems include a fingerprint Service, and a power management Service PMS. Further, the memory 920 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.
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the touch display screen according to the brightness of ambient light, and the proximity sensor may turn off the touch display screen and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 960 and converted into audio data, and the audio data is processed by the audio playing AP 980, and then sent to another mobile phone via the RF circuit 910, or played to the memory 920 for further processing.
Wi-Fi belongs to short-distance wireless transmission technology, and a mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 970, and provides wireless broadband internet access for the user. Although fig. 6 shows the Wi-Fi module 970, it is understood that it does not belong to the essential constitution of the cellular phone and can be omitted entirely as needed within the scope not changing the essence of the invention.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, and preferably, the power supply may be logically connected to the AP 980 via a power management system, so that functions such as managing charging, discharging, and power consumption may be performed via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiments shown in fig. 1 and fig. 2, the method flows of the steps may be implemented based on the structure of the mobile phone.
In the embodiments shown in fig. 3 and 4, the functions of the units may be implemented based on the structure of the mobile phone.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the unlocking control methods described in the above method embodiments.
Embodiments of the present invention also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to execute part or all of the steps of any one of the unlocking control methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.