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 some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
It should be understood that in the embodiment of the present invention, the Terminal may be referred to as a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (Mobile Terminal), a computer, a microcomputer, or the like. The terminal may communicate with one or more core networks via a Radio Access Network (RAN), for example, the terminal may be a mobile telephone (or "cellular" telephone), a computer with a mobile terminal, etc., for example, the terminal may also be a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device that exchanges voice and/or data with the RAN. The invention is not limited in this respect, for example, the terminal also includes a terminal with a wired access having a multi-bearer feature. It should be noted that, in the embodiment of the present invention, the term "application" includes various application forms that need to consume power on the UE, such as an application (App or application). As another example, the application may also be an operating system process or a platform system process, or the like. Each application may occupy certain Processing resources, such as a CPU or a Graphics Processing Unit (GPU), during runtime. In addition, the application may occupy other device resources, such as a Global Positioning System (GPS) module, a mobile communication module (e.g., a mobile communication chip, a transceiver, an antenna unit, etc.), other communication modules (e.g., a WiFi module, a bluetooth module, an infrared module, etc.), an audio module (e.g., a speaker, a microphone, etc.), a camera module, a sensor module (e.g., a gyroscope, an accelerometer, a gravimeter, a pedometer, a fingerprint identification module, a touch screen, etc.), a display module (e.g., a liquid crystal display, a backlight module, etc.), and an illumination module (e.g., a flash lamp, a light source module, etc.). Moreover, the Application may occupy certain system resources during runtime, for example, the Application may need to call some components or threads of the operating system during runtime, such as an Application Programming Interface (API). These resources or systems all consume a certain amount of power when called by an application. Those skilled in the art will appreciate that the above described examples of specific resources or systems are merely illustrative and do not limit the scope of embodiments of the invention.
An operating system process is a process that implements the basic functionality of an operating system. The platform system process mainly refers to a process for realizing an enhanced function in a system. The operating system process and the platform system process may be collectively referred to as a system process, and are generally installed in the user equipment in advance by a user equipment manufacturer or an operator, and generally cannot be deleted at will by the user.
FIG. 1 is a schematic flow chart diagram of a method for restoring user equipment settings in accordance with one embodiment of the present invention. The method of fig. 1 may be performed by the user equipment, for example by the operating system of the user equipment, or by a dedicated process, such as a software toolkit pre-installed by the user equipment vendor or operator, or by an application installed by the user. As shown in fig. 1, the method includes:
step 110, at least one historical modification record of the setting parameters of the user equipment is obtained, and each historical modification record in the at least one historical modification record comprises the setting parameter value before the setting parameters of the user equipment are modified.
And step 120, selecting at least one target historical modification record from the at least one historical modification record, and recovering the setting parameters of the user equipment according to the target historical modification record.
And recovering the setting parameters of the user equipment according to the target history modification record, namely: restoring the setting parameter corresponding to the target historical modification record to the setting parameter value before modification recorded in the target historical modification record
The setting parameters which can be modified on the user equipment can be divided into two main types, wherein the first type is system setting parameters, and the second type is exclusive parameters of a certain application;
the modification modes of the system setting parameters generally include the following three modes:
mode 1, completing the modification of system setting parameters, such as backlight brightness, power-on password and the like, by entering a setting menu;
mode 2, modifying part of system setting parameters in the setting menu through an external application program, for example, modifying part of system setting parameters in the setting menu through an application program such as a mobile phone manager;
and in the mode 3, the setting parameters of the contextual model and the operation mode of the user equipment are modified to modify the relevant system setting parameters, for example, the setting of the ring tone to the silent vibration mode can be realized by modifying the contextual model of the user equipment to a conference mode.
Application specific parameters are generally only needed by the application itself and can be modified, e.g. parameters such as resolution, shutter time, etc. in camera applications.
Therefore, during the use of the user equipment, the system setting parameters may change due to user operation to affect the function or performance of the user equipment. In addition, there are many more uncommon parameter setting items, and the user often does not know the specific role of the parameter setting item, such as a "developer mode" in an android handset, or some very specialized settings in a wireless network setting. Thus, when a certain operation performed by the user during use of the user equipment may change the setting parameters of the user equipment, the function or performance of the user equipment may be affected when the user does not know how to recover.
Specifically, according to the technical solution provided in the embodiment of the present invention, when a certain setting parameter of the user equipment is modified, a history modification record is created, and a setting parameter value before the setting parameter is modified is recorded, so that after at least one history modification record stored in the user equipment is obtained in step 110, a user can select at least one target history modification record from the at least one history modification record in step 120, perform recovery setting on the user equipment according to the at least one target history modification record, and recover the setting parameter value of the user equipment to the setting parameter value before the setting parameter recorded in the at least one target history modification record is modified.
Specifically, a name of the modified setting parameter, a value of the setting parameter before the setting parameter is modified, a modification time, and the like may be included in one history modification record, and it is to be understood that the present invention is not limited thereto, and may also include the modified value of the setting parameter.
For example, specifically, the user equipment may provide a "virtual" modification function for the user, a recent modification record is displayed on a display interface of the user equipment, the user may sequentially restore the setting parameters according to the modification record, and confirm whether the function or performance of the user equipment is restored after restoring the setting parameters each time until finding the setting parameters for restoring the function or performance of the user equipment, the setting parameters are restored according to the user instruction, and the user instruction may click a selected confirmation button for the user, so that the remaining "virtual" modifications are restored to the original settings, and only the selected modifications are retained. It should be understood that the above numerical values are merely exemplary, and the present invention is not limited thereto.
As shown in fig. 2, a "modified record" icon (shown as 2-1) is displayed on a display interface of the user equipment, and after receiving an instruction of selecting the icon by the user, a history modified record of the user equipment is displayed, in the embodiment of the present invention, 6 history modified records are taken as an example (shown as 2-2), and the user can view detailed information of the history modified record, such as a parameter value before modification, a parameter value after modification, and the like, by selecting any history modified record; the embodiment of the invention takes the selection of the first historical revision record as an example, and shows the detailed information (shown as 2-3) of the first historical revision record;
or by selecting a "select" icon (as shown in 2-4); setting each history modification record as a state to be selected, namely: each history modification record is positioned on a row which displays a button to be selected (as shown in 2-5); the corresponding history modification record can be selected by selecting a button to be selected; in the embodiment of the invention, the first historical revision record is selected as an example, which shows the selected state of the first historical revision record (as shown in 2-6); through the above operation steps, the first historical modification record is a target historical modification record, and when the target historical modification record is determined, the set parameters can be recovered according to the target historical modification record, so as to confirm whether the function or performance of the user equipment is recovered; illustratively, the setup parameters may be temporarily restored by selecting the "View" icon shown in FIGS. 2-6, i.e.: temporarily recovering the parameter A to a value before modification in 2016, 1 month and 1 day according to a first historical modification record; after temporarily restoring the setting parameters, the user can cancel the temporary restoration setting of the setting parameters by selecting the "cancel" icon shown in fig. 2-7 or when the user equipment restarts the temporary restoration setting of the setting parameters, that is: the parameter A is restored to the value before the parameter is temporarily restored and set; the set parameters can also be formally restored by selecting the "restore" icon shown in fig. 2-6, fig. 2-7 and fig. 2-8, as shown in fig. 2-8, when the set parameters are formally restored by selecting the "restore" icon, that is, the parameter a is restored to the value before 2016 year 1 month 1 day modification, and simultaneously the operation record of the set parameters is saved as a history modification record of the set parameters, such as the 7 th history modification record shown in fig. 2-9.
It should be noted that two or more history modification records may be selected and the setting parameters may be recovered, as shown in fig. 3, each history modification record may be set to a state to be selected by selecting a "select" icon (as shown in fig. 3-1), that is: a row of each history modification record displays a button to be selected (as shown in fig. 3-2); the corresponding history modification record can be selected by selecting a button to be selected; in the embodiment of the invention, a first historical revision record is selected firstly, the first historical revision record is set to be in a selected state (as shown in a figure 3-3), a third historical revision record is continuously selected, and the third historical revision record is also set to be in a selected state (as shown in a figure 3-4); through the above operation steps, the first history modification record and the third history modification record are target history modification records, and after the target history modification record is determined, the setting parameters can be formally recovered according to the first history modification record and the third history modification record by selecting a "recovery" icon (as shown in fig. 3-5), that is: recovering the parameter A to a value before 2016, 1 month and 1 day modification according to a first historical modification record, and recovering the parameter C to a value before 2016, 1 month and 7 days modification according to a third historical modification record; after the setting parameters are formally restored, the operation record of restoring the setting parameters is saved as a modification record of the setting parameters, such as the 7 th and 8 th historical modification records shown in fig. 3-6; after the first history modification record and the third history modification record are determined as the target history modification record, the setting may also be temporarily restored by selecting the "cancel" icon shown in fig. 3-4, which may be referred to the related description of fig. 2-2, and will not be described herein again. .
It should be further explained that, when two or more historical modification records are selected as the target historical modification record and the two or more historical modification records contain the same setting parameter, the setting parameter is recovered according to the latest historical modification record; as shown in fig. 4, after the first historical modification record is set to the to-be-selected state (as shown in fig. 4-1 and 4-2), if the fourth historical modification record is further set to the band-selected state (as shown in fig. 4-3 and 4-4), the first historical revised record and the fourth historical revised record are the target historical revised records, and after the target historical revised record is determined, formal recovery of the set parameters may be performed based on the first and fourth historic modifications by selecting the "recover" icon (as shown in figures 4-5), since the first historical modification record and the fourth historical modification record both contain the modification record of the parameter a, confirming the modification time of the first historical modification record and the fourth historical modification record, selecting the modification time which is the nearer time, and restoring the value of the set parameter A according to the historical modification record which is modified last time; for example: the modification time of the first historical modification record is 2016, 1 month and 1 day; the modification time of the fourth historical modification record is 2016, 1, 10 and 10; the modification time is closer to the fourth historical modification record, and the value of the setting parameter A is recovered according to the fourth historical modification record; the operation record of the recovery setting parameter is saved as the historical modification record of the setting parameter, such as the 7 th historical modification record shown in fig. 4-6.
Therefore, the method can recover the setting parameters of the user equipment according to the setting parameters recorded in the history modification record, thereby not causing all the setting parameters to be recovered to influence the use experience of the user and selectively recovering the setting parameters of the user equipment according to the needs of the user.
Optionally, as an embodiment of the present invention, each of the history modification records includes a time for modifying the setting parameter of the user equipment, at least one target history modification record is selected from the at least one history modification record, and the restoring the setting parameter of the user equipment according to the at least one target history modification record includes: and selecting at least one target historical modification record from the at least one historical modification record according to the modification time of each historical modification record in the at least one historical modification record, and recovering the setting parameters of the user equipment according to the at least one target historical modification record.
For example, specifically, each history modification record includes the time when the setting parameter modification occurs, so that when the user finds that the function or performance of the user equipment is abnormal, the user can select to restore to the parameter setting corresponding to the desired time point. The user only needs to inquire the parameter setting in the history modification record according to the time node, for example, the user selects the parameter setting condition before returning to two days, the user can inquire the setting parameter value from the specified time to the current modification from the history modification record, and then the user can sequentially return the setting parameter value according to the modification content from the specified time to the current modification.
As shown in table 1, table 1 shows the name of a parameter, the modification time, and the value of the parameter before modification in a history modification record.
TABLE 1
Optionally, as an embodiment of the present invention, the history modification record includes a modification record of system settings and/or a modification record of application settings.
That is, the history modification record may be a modification record of system settings or a modification record of application settings.
Optionally, as an embodiment of the present invention, selecting at least one target historical revision record from at least one historical revision record, and performing recovery setting on the user equipment according to the at least one target historical revision record, includes:
in the first case, when the historical modification record is a modification record of the system setting parameter, the value of the system setting parameter of the user equipment is restored, and the specific process of restoring the setting is as described in the foregoing embodiments, and is not described herein again for brevity. It should be understood that the setting parameters of the user equipment can be restored in the above manner, regardless of whether the modification of the setting parameters is directly performed by the system setting module of the user equipment, or the values of the system setting parameters are changed by an operation of an application program or the like.
In the second case, when the history modification record is a modification record of the application setting parameter, the application setting parameter of the user equipment is reset. It should be understood that the application setting parameter herein may be an application specific setting parameter, and also includes a system setting parameter that can be set in the application.
In a specific embodiment, the user equipment may design a function module of common configuration information modification record, for recording and recovering the set parameter value, such as a configuration modification module, which provides two external interfaces:
interface 1: record _ cfg _ modify (app _ name, cfg _ para _ name, cfg _ para _ value)
Inputting parameters:
app _ name: name of application for parameter modification
Cfg _ para _ name: parameter name
Cfg _ para _ value: value of parameter
The interface 1 is used for recording the history modification record of the third-party application, namely the interface is used for the third-party application to call, and after the third-party application calls the configuration modification module, the specific information of parameter modification of the third-party application can be recorded.
Specifically, after the user modifies a certain configuration parameter in the third-party application, the application program will call the interface 1, where the interface 1 is used to record the history modification record of the third-party application.
And (3) interface 2: resume _ cfg _ callback (func _ point, app _ name)
Inputting parameters:
func _ point: and the callback function pointer is used for informing the configuration modification module of an interface pointer of a function for completing the parameter setting by the third-party application, so that the configuration modification module can modify the set parameters of the third-party application by using the interface pointer.
App _ name: name of the app that made the parameter modification.
The interface 2 is used for restoring the application setting of the third-party application, the interface 2 provides an external interface for the third-party application to call, the third-party application can provide an interface pointer of the self-set parameter for the configuration modification module by using the interface 2, and the configuration modification module can use the interface pointer of the third-party application to complete the modification of the set parameter.
Thus, for a certain application a, if it wishes to support the above functionality, it can restore the settings directly using the above interface 1 and interface 2 lines: firstly, for modifying each set parameter of the application A, the interface 1 is called to inform the configuration modification module to store a history modification record, and the interface 2 is called to transfer a function interface used by the application A for completing parameter setting to the configuration modification module, so that the configuration modification module can modify the set parameter. Thus, when a user wishes to restore certain settings of the user device, the user can see through the interface of the configuration modification module which applications have made which changes in the most recent time and restore the parameter settings in a targeted manner.
As shown in fig. 5, a "modification record" icon (as shown in 5-1) is displayed on a display interface of the user equipment, and after an instruction that the user selects the icon is received, a history modification record of the user equipment is displayed, in the embodiment of the present invention, 6 history modification records are taken as an example (as shown in 5-2), and the user can view detailed information of the history modification record, such as a parameter value before modification, a parameter value after modification, and the like, and modify a third-party application corresponding to the parameter value by selecting any history modification record; the embodiment of the present invention takes selecting the first historical revision record as an example, and illustrates the detailed information of the first historical revision record (as shown in 5-3), including applying the parameter a corresponding to 1, and before revision: ON, modified OFF;
or by selecting a "select" icon (as shown in 5-4); setting each history modification record as a state to be selected, namely: a row of each history modification record displays a button to be selected (as shown in 5-5); the corresponding history modification record can be selected by selecting a button to be selected; in the embodiment of the invention, the first historical revision record is selected as an example, which shows the selected state of the first historical revision record (as shown in 5-6); through the above operation steps, the first historical modification record is a target historical modification record, and when the target historical modification record is determined, the set parameters can be recovered according to the target historical modification record, so as to confirm whether the function or performance of the user equipment is recovered; illustratively, the setup parameters may be temporarily restored by selecting the "View" icon shown in FIGS. 5-6, i.e.: temporarily recovering the parameter A to a value before modification in 2016, 1 month and 1 day according to a first historical modification record; after temporarily restoring the setting parameters, the user can cancel the temporary restoration setting of the setting parameters by selecting the "cancel" icon shown in fig. 5-7 or when the user equipment restarts the temporary restoration setting of the setting parameters, that is: the parameter A is restored to the value before the parameter is temporarily restored and set; the setting parameters can also be formally restored by selecting the "restore" icon shown in fig. 5-6, 5-7, and 5-8, as shown in fig. 5-8, when the setting parameters are formally restored by selecting the "restore" icon, that is, the parameter a is restored to the value before 2016 year 1 month 1 day 1 modification according to the first historical modification record, specifically, the module executing the method may be the above-mentioned modification configuration module, and the restoration of the setting parameters is performed through the interface 2 of the module, for example, the interface 2 will call the interface pointer of the application 1 to restore the setting parameters; further, the operation record of the recovery setting parameter is saved as a history modification record of the setting parameter, and the history modification record is saved through the interface 1 of the modification configuration module, so as to obtain the 7 th history modification record shown in fig. 5-9, which includes the name application 1, the parameter a, and the modification time of the third party application.
It should be noted that two or more history modification records may be selected and the setting parameters may be recovered, as shown in fig. 6, each history modification record may be set to a state to be selected by selecting a "select" icon (as shown in fig. 6-1), that is: a row of each history modification record displays a button to be selected (as shown in figure 6-2); the corresponding history modification record can be selected by selecting a button to be selected; in the embodiment of the invention, a first historical revision record is selected firstly, the first historical revision record is set to be in a selected state (as shown in figure 6-3), a third historical revision record is continuously selected, and the third historical revision record is also set to be in a selected state (as shown in figure 6-4); through the above operation steps, the first history modification record and the third history modification record are target history modification records, and after the target history modification record is determined, the setting parameters can be formally recovered according to the first history modification record and the third history modification record by selecting a "recovery" icon (as shown in fig. 6-5), that is: recovering the parameter A to a value before 2016, 1 month and 1 day modification according to a first historical modification record, and recovering the parameter C to a value before 2016, 1 month and 7 days modification according to a third historical modification record; after the setting parameters are formally restored, the operation record of restoring the setting parameters is saved as a modification record of the setting parameters, such as the 7 th and 8 th historical modification records shown in fig. 6-6; after the first history modification record and the third history modification record are determined as the target history modification record, the setting may also be temporarily restored by selecting the "cancel" icon shown in fig. 6-4, which may be referred to the related description of fig. 5-2, and will not be described herein again. .
It should be further explained that, when two or more historical modification records are selected as the target historical modification record and the two or more historical modification records contain the same setting parameter, the setting parameter is recovered according to the latest historical modification record; as shown in fig. 7, after the first historical modification record is set to the to-be-selected state (as shown in fig. 7-1 and 7-2), if the fourth historical modification record is further set to the band-selected state (as shown in fig. 7-3 and 7-4), the first historical revised record and the fourth historical revised record are the target historical revised records, and after the target historical revised record is determined, formal recovery of the set parameters may be performed based on the first and fourth historic modifications by selecting the "recover" icon (as shown in figures 7-5), since the first historical modification record and the fourth historical modification record both contain the modification record of the parameter a, confirming the modification time of the first historical modification record and the fourth historical modification record, selecting the modification time which is the nearer time, and restoring the value of the set parameter A according to the historical modification record which is modified last time; for example: the modification time of the first historical modification record is 2016, 1 month and 1 day; the modification time of the fourth historical modification record is 2016, 1, 10 and 10; the modification time is closer to the fourth historical modification record, and the value of the setting parameter A is recovered according to the fourth historical modification record; the operation record of the recovery setting parameter is saved as the historical modification record of the setting parameter, such as the 7 th historical modification record shown in fig. 7-6.
Therefore, the method can recover the setting parameters of the user equipment according to the setting parameters recorded in the history modification record, so that the use experience of the user is not influenced due to the fact that all the setting parameters are recovered, and the setting parameters of the user equipment can be selectively recovered according to the needs of the user.
Optionally, as an embodiment of the present invention, before acquiring at least one historical modification record of the user equipment, the method further includes: when the setting parameters of the user equipment are modified, the values of the setting parameters of the user equipment before modification are stored as a history modification record.
That is to say, when the user equipment modifies the setting parameters, the setting parameters before being modified by the user equipment need to be saved as a history modification record, and specifically, the history modification record may be a modification record of the system setting parameters, or a modification record of the application setting parameters.
Specifically, the one history modification record may include a name of the setting parameter, a value of the setting parameter, a time for setting the parameter, and the like, and the present invention is not limited thereto.
Therefore, by the method, when the set parameters of the user equipment are recovered, the user equipment can be selected to be recovered to the set parameters recorded in one or more specific historical modification records in at least one historical modification record, so that the use of the user is not influenced by the fact that all the set parameters are removed, and the setting of the user equipment can be selectively recovered according to the needs of the user.
Fig. 8 is a schematic structural diagram of a user equipment of one embodiment of the present invention.
As shown in fig. 8, the user equipment includes:
an obtaining unit 810, where the obtaining unit 810 is configured to obtain at least one historical revision record of the user equipment 800, where each historical revision record in the at least one historical revision record includes a value before a setting parameter of the user equipment is revised.
A recovery unit 820, wherein the recovery unit 820 is configured to select at least one target historical modification record from the at least one historical modification record, and recover the setting parameters of the user equipment according to the at least one target historical modification record.
Therefore, by the method, when the set parameters of the user equipment are recovered, the user equipment can be selected to be recovered to the set parameters recorded in one or more specific historical modification records in at least one historical modification record, so that the use of the user is not influenced by the fact that all the set parameters are removed, and the setting of the user equipment can be selectively recovered according to the needs of the user.
The user equipment of fig. 8 may implement the various processes in the embodiment of fig. 1, and in order to avoid repetition, a detailed description is not provided.
Optionally, as an embodiment of the present invention, each of the history modification records includes a modification time for modifying the setting of the user equipment 800, and the recovery unit 820 is specifically configured to: and selecting at least one target historical modification record from the at least one historical modification record according to the modification time of each historical modification record in the historical modification records, and recovering the setting parameters of the user equipment 800.
Optionally, as an embodiment of the present invention, the history modification record includes a modification record of system settings and/or a modification record of application settings.
Optionally, as an embodiment of the present invention, the recovery unit 820 is specifically configured to: when the history modification record is a modification record of the system setting, recovering the system setting parameters of the user equipment 800; when the history modification record is a modification record of the application setting, the application setting parameters of the user equipment 800 are restored.
Optionally, as an embodiment of the present invention, the user equipment 800 further includes: before obtaining at least one history modification record of the user equipment 800, the storage unit is configured to, when modifying the setting parameter of the user equipment 800, store a value before the setting parameter of the user equipment 800 is modified as one history modification record.
Therefore, by the method, when the set parameters of the user equipment are recovered, the user equipment can be selected to be recovered to the set parameters recorded in one or more specific historical modification records in at least one historical modification record, so that the use of the user is not influenced by the fact that all the set parameters are removed, and the setting of the user equipment can be selectively recovered according to the needs of the user.
Fig. 9 is a schematic structural block diagram of a user equipment of another embodiment of the present invention. The user equipment 900 of fig. 9 may be used to implement the steps and methods in the above method embodiments, and specifically, the user equipment 900 in fig. 9 may be a mobile phone (e.g., a mobile phone or a smart phone), a Personal Digital Assistant (PDA), or the like.
As shown in fig. 9, the user equipment 900 includes: RF (radio frequency) circuitry 920, memory 930, input unit 940, display unit 950, gravity sensor 960, audio circuitry 970, processor 980, and power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 9 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 the components of the user equipment 900 in detail with reference to fig. 9:
the RF circuit 920 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then processing the received downlink information to the processor 980; in addition, the uplink data is transmitted to the base station. Typically, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (low noise amplifier), a duplexer, and the like. In addition, the RF circuit 920 may also communicate with networks and other devices via wireless communications. 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), CDMA (code division multiple access), WCDMA (wideband code division multiple access), LTE (long term evolution), email, SMS (short messaging service), etc.
The memory 930 may be used to store software programs and modules that the processor 980 executes to perform various functional applications and data processing of the user device 900 by executing stored software programs and modules in the memory 950. The memory 930 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for 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, image data, a phonebook, etc.) created according to the use of the user device 900, and the like. Further, the memory 930 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 input unit 940 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the user device 900. Specifically, the input unit 940 may include a touch screen 941 and other input devices 942. The touch screen 941, also referred to as a touch panel, can collect touch operations performed by a user on or near the touch screen 941 (e.g., operations performed by the user on or near the touch screen 941 using a finger, a stylus, or any other suitable object or attachment), and drive a corresponding connection device according to a preset program. Alternatively, the touch screen 941 may include two portions 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 980, and can receive and execute commands sent by the processor 980. In addition, the touch screen 941 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 940 may include other input devices 942 in addition to the touch screen 941. In particular, other input devices 942 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 950 may be used to display information input by a user or information provided to the user and various menus of the user device 900. The Display unit 950 may include a Display panel 951, and the Display panel 941 may be configured by an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch screen 941 may cover the display panel 951, and when the touch screen 941 detects a touch operation thereon or nearby, it is transferred to the processor 980 to determine the type of touch event, and then the processor 980 provides a corresponding visual output on the display panel 951 according to the type of touch event. Although in FIG. 9 the touch screen 941 and the display panel 951 are shown as two separate components to implement input and output functions of the user device 900, in some embodiments the touch screen 941 and the display panel 951 may be integrated to implement input and output functions of the user device 900.
The gravity sensor 960 may detect the acceleration of the ue in all directions (generally three axes), detect the gravity when the ue is stationary, and may be used for applications (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like, for recognizing the posture of the ue.
User device 900 may also include other sensors, such as light sensors. In particular, the light sensor may include an ambient light sensor and a proximity light sensor. The ambient light sensor can adjust the brightness of the display panel 941 according to the brightness of ambient light; the proximity light sensor may detect whether an object is near or touching the user device, and may turn off the display panel 941 and/or the backlight when the user device 900 moves to the ear. User device 900 may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in further detail herein.
Audio circuitry 970, speaker 971, microphone 972 may provide an audio interface between a user and user device 900. The audio circuit 970 can transmit the electrical signal converted from the received audio data to the loudspeaker 971, and the electrical signal is converted into a sound signal by the loudspeaker 971 and output; on the other hand, the microphone 972 converts the collected sound signals into electrical signals, which are received by the audio circuit 970 and converted into audio data, which is output to the RF circuit 920 for transmission to, for example, another user device, or to the memory 930 for further processing.
The processor 980 is a control center of the user equipment 900, connects various parts of the entire user equipment using various interfaces and lines, performs various functions of the user equipment 900 and processes data by running or executing software programs and/or modules stored in the memory 930 and calling data stored in the memory 930, thereby monitoring the user equipment as a whole. Alternatively, processor 980 may include one or more processing units; preferably, the processor 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 processor 980.
The user device 900 also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may be logically coupled to the processor 980 via a power management system, for managing charging, discharging, and power consumption via the power management system.
Although not shown, the user equipment 900 may further include a WiFi (wireless fidelity) module, a bluetooth module, etc., which are not described in detail herein.
The user equipment of fig. 9 may implement the various processes in the embodiment of fig. 1, and in order to avoid repetition, will not be described in detail.
Therefore, by the method, when the setting of the user equipment is recovered, the user equipment can be selected to be recovered to the setting parameters recorded in a specific historical modification record in at least one historical modification record, so that the use of the user is not influenced by the fact that all the setting parameters are cleared, and the setting of the user equipment can be selectively recovered according to the needs of the user.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, 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 through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. 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 storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.