CN106095605B - A kind of abnormality eliminating method and device of display terminal - Google Patents

A kind of abnormality eliminating method and device of display terminal Download PDF

Info

Publication number
CN106095605B
CN106095605B CN201610397792.XA CN201610397792A CN106095605B CN 106095605 B CN106095605 B CN 106095605B CN 201610397792 A CN201610397792 A CN 201610397792A CN 106095605 B CN106095605 B CN 106095605B
Authority
CN
China
Prior art keywords
data
information
physical button
specified
restore
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610397792.XA
Other languages
Chinese (zh)
Other versions
CN106095605A (en
Inventor
周正昌
李增波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610397792.XA priority Critical patent/CN106095605B/en
Publication of CN106095605A publication Critical patent/CN106095605A/en
Application granted granted Critical
Publication of CN106095605B publication Critical patent/CN106095605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a kind of abnormality eliminating method of display terminal and devices, this method comprises: detecting the state of the physical button of display terminal when display terminal initialization;When detecting that specified physical button is triggered, exception handling information is set;Abnormality processing is carried out to specified data according to the exception handling information.The embodiment of the present invention is by triggering abnormality processing by physical button in initial phase, on the one hand, since display terminal typically is provided with secondary or physical bond, it can be multiplexed existing secondary or physical bond, reduce hardware cost, on the other hand, press the easy to operate of secondary or physical bond, the operation that can carry out similar selection recovery etc by display screen is avoided, abnormality processing can also be carried out in the case where display screen cannot normally be shown, substantially increases the practicability of abnormality processing.

Description

A kind of abnormality eliminating method and device of display terminal
Technical field
The present invention relates to the technical field of computer disposal, a kind of abnormality eliminating method more particularly to display terminal and A kind of exception handling device of display terminal.
Background technique
With the rapid development of science and technology, in order to meet user for the further need of the quality of life, display terminal Also intelligent and widely available therewith.
Display terminal in use, after user obtains root authority, may carry out some illegal behaviour to system Make, for example, deleting the data in data configuration subregion by browse through folders, the data in data configuration subregion are mainly stored Television services relevant configuration information, etc., causes system to be unable to normal use, for example, system constantly restarts, cannot play video Signal etc..
Furthermore user is in use, also there is certain probability that can lead to systemic breakdown by the attack of virus.Also, Some significant datas of user, it is also possible to be deleted because of virus or maloperation.
In addition, display terminal has accumulated many junk datas in long-term use process, cause display terminal operation slow.
It is since virus, maloperation etc. can not be predicted, user in use, may destroy some important data, If these data include screen file, screen initialization command etc., cause display terminal that can not normally show that user can not yet Abnormality processing is carried out by the operation that display screen carries out similar selection recovery etc, abnormality processing practicability is low.
Summary of the invention
In view of the above problems, in order to which the abnormality processing practicability for solving the problems, such as above-mentioned display terminal is low, the embodiment of the present invention Propose the abnormality eliminating method and a kind of corresponding exception handling device of display terminal of a kind of display terminal.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of abnormality eliminating methods of display terminal, comprising:
When display terminal initialization, the state of the physical button of display terminal is detected;
When detecting that specified physical button is triggered, exception handling information is set;
Abnormality processing is carried out to specified data according to the exception handling information.
Preferably, the specified physical button includes first object physical button, and the exception handling information includes number According to recovery information;
It is described when detecting that specified physical button is triggered, be arranged exception handling information the step of include:
When detecting that first object physical button is triggered, restore letter in preset first data subregion write-in data Breath;
It is described to include: to the step of specified data progress abnormality processing according to the exception handling information
After the os starting of display terminal, the data are read in the first data subregion and restore information;
Restore Information recovering specified data according to the data.
Preferably, the first object physical button includes the first muon physics key, and it includes eventually that the data, which restore information, End operation basic data restores information;
It is described when detecting that first object physical button is triggered, preset first data subregion write-in data restore The step of information includes:
When detecting that the first muon physics key is triggered, terminal operating base is written in preset first data subregion Plinth data restore information;
Restore information according to the terminal operating basic data to transport in the terminal that preset first storage region reads backup Row basic data;
The terminal operating basic data of the backup is covered to current terminal operating basic data.
Preferably, the terminal operating basic data includes following one or more:
Relevant data are played to sound, relevant data are shown with image, is hardware-related data, related with agreement Data, starting configuration data.
Preferably, the first object physical button includes the second muon physics key, and it includes using that the data, which restore information, User data restores information;
It is described when detecting that first object physical button is triggered, preset first data subregion write-in data restore The step of information includes:
It is extensive in preset first data subregion write-in user data when detecting that the second muon physics key is triggered Complex information;
It is described according to the exception handling information restore specified data the step of include:
Restore information according to the user data and reads the user data backed up in preset second storage region;
It will be in the specified path of the user data write-in of the backup.
Preferably, the specified physical button includes the second target physical key, and the exception handling information includes number According to removing information;
It is described when detecting that specified physical button is triggered, be arranged exception handling information the step of include:
When detecting that the second target physical key is triggered, in preset second data subregion write-in data dump letter Breath;
It is described to include: to the step of specified data progress abnormality processing according to the exception handling information
After the kernel starting of the operating system of display terminal, the data dump is read in the second data subregion Information;
According to the data dump erasing of information specified data.
The embodiment of the invention also discloses a kind of exception handling devices of display terminal, comprising:
Key-press status detection module, for detecting the state of the physical button of display terminal in display terminal initialization;
Exception handling information setup module, for abnormality processing to be arranged when detecting that specified physical button is triggered Information;
Exception processing module, for carrying out abnormality processing to specified data according to the exception handling information.
Preferably, the specified physical button includes first object physical button, and the exception handling information includes number According to recovery information;
The exception handling information setup module includes:
Data restore information and submodule are written, for when detecting that first object physical button is triggered, preset First data subregion is written data and restores information;
The exception processing module includes:
Data restore information reading submodule, for being counted after the os starting of display terminal described first The data, which are read, according to subregion restores information;
Data recovery sub-module, for restoring Information recovering specified data according to the data.
Preferably, the first object physical button includes the first muon physics key, and it includes eventually that the data, which restore information, End operation basic data restores information;
The data restore information write-in submodule
Terminal operating basic data restores information writing unit, for detecting that the first muon physics key is triggered When, restore information in preset first data subregion write-in terminal operating basic data;
The data recovery sub-module includes:
First Backup Data reading unit, for restoring information preset first according to the terminal operating basic data Storage region reads the terminal operating basic data of backup;
Terminal operating basic data recovery unit, for the terminal operating basic data of the backup to be covered current end End operation basic data.
Preferably, the terminal operating basic data includes following one or more:
Relevant data are played to sound, relevant data are shown with image, is hardware-related data, related with agreement Data, starting configuration data.
Preferably, the first object physical button includes the second muon physics key, and it includes using that the data, which restore information, User data restores information;
The data restore information write-in submodule
User data restores information writing unit, for when detecting that the second muon physics key is triggered, pre- If the first data subregion write-in user data restore information;
The data recovery sub-module includes:
Second Backup Data reading unit, for restoring information in preset second storage region according to the user data Read the user data of backup;
User data recovery unit, for the user data of the backup to be written in specified path.
Preferably, the specified physical button includes the second target physical key, and the exception handling information includes number According to removing information;
The exception handling information setup module includes:
Submodule is written in data dump information, for when detecting that the second target physical key is triggered, preset Data dump information is written in second data subregion;
The exception processing module includes:
Data dump information reading submodule, after the kernel starting of the operating system in display terminal, described Second data subregion reads the data dump information;
Data dump submodule, for according to the data dump erasing of information specified data.
The embodiment of the present invention includes following advantages:
The embodiment of the present invention detects the state of the physical button of display terminal when display terminal initializes, if specified Physical button is triggered, then exception handling information can be set, and corresponding abnormality processing is carried out to specified data, by first Stage beginning triggers abnormality processing by physical button, on the one hand, since display terminal typically is provided with secondary or physical bond, can be multiplexed existing Some secondary or physical bonds reduce hardware cost and on the other hand press the easy to operate of secondary or physical bond, avoiding can by display screen The operation for carrying out similar selection recovery etc, abnormality processing can also be carried out in the case where display screen cannot normally be shown, greatly The practicability of abnormality processing is improved greatly.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the abnormality eliminating method embodiment 1 of display terminal of the invention;
Fig. 2 is a kind of step flow chart of the abnormality eliminating method embodiment 2 of display terminal of the invention;
Fig. 3 is a kind of step flow chart of the abnormality eliminating method embodiment 3 of display terminal of the invention;
Fig. 4 is a kind of structural block diagram of the exception handling device embodiment of display terminal of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step flow chart of the abnormality eliminating method embodiment 1 of display terminal of the invention is shown, It can specifically include following steps:
Step 101, when the operating system initialization of display terminal, the state of the physical button of display terminal is detected;
Step 102, when detecting that specified physical button is triggered, exception handling information is set;
Step 103, abnormality processing is carried out to specified data according to the exception handling information.
In oneainstance, display terminal can receive TV signal (such as analog signal), then this display device again can be with Referred to as TV (Television, TV, Video) can specifically refer to technology and equipment using electronic equipment transmission live image, That is television receiver.
TV may include LCD (Liquid Crystal Display, liquid crystal display) TV, LED (Light Emitting Diode, light emitting diode) TV, plasm TV etc., the embodiments of the present invention are not limited thereto.
Furthermore, TV may include smart television, can refer to full open model platform, be equipped with operation system System, for example, Android (Android) system, IOS system, Windows system etc., can voluntarily be installed and uninstalled by user and be answered The application (i.e. third-party application) provided with third party service providers such as program, game, by such application come constantly to TV Function is expanded, and online can be realized by cable, wireless network.
In another scenario, display terminal can not receive TV signal (such as analog signal), but can be with such as electricity The electronic equipments such as brain, mobile phone are connected, and the input of the information such as video, game are carried out by electronic equipments such as computer, mobile phones, or carry out Other interactive operations.
In embodiments of the present invention, some illegal operations are carried out to system in user, system is caused to be unable to normal use;Or Person leads to systemic breakdown by the attack of virus;Alternatively, many junk datas are had accumulated, cause display terminal operation slow etc. Under abnormal conditions, user can press the physical button specified in display terminal, then be switched on, and detect in operating system initialization When being pressed to physical button, then exception handling information (i.e. the information of mark progress abnormality processing) can be accordingly set, triggered different Often processing makes display terminal restore normal.
The embodiment of the present invention detects the state of the physical button of display terminal when display terminal initializes, if specified Physical button is triggered, then exception handling information can be set, and corresponding abnormality processing is carried out to specified data, by first Stage beginning triggers abnormality processing by physical button, on the one hand, since display terminal typically is provided with secondary or physical bond, can be multiplexed existing Some secondary or physical bonds reduce hardware cost and on the other hand press the easy to operate of secondary or physical bond, avoiding can by display screen The operation for carrying out similar selection recovery etc, abnormality processing can also be carried out in the case where display screen cannot normally be shown, greatly The practicability of abnormality processing is improved greatly.
Referring to Fig. 2, a kind of step flow chart of the abnormality eliminating method embodiment 2 of display terminal of the invention is shown, It can specifically include following steps:
Step 201, when display terminal initializes, the state of the physical button of display terminal is detected.
In embodiments of the present invention, display terminal has one or more physical buttons, i.e. mechanical key, and non-virtual presses Key, for example, upper key (being generally used for control cursor to move up), down key (being generally used for control cursor to move down), determination key (also known as OK key is generally used for the option that confirmation cursor is chosen).
In the concrete realization, it if the partial data of display terminal is lost, or is accidentally modified, thinks abnormal in user When, it can then start display terminal with some physical button of long-pressing.
The intelligentized feature of display terminal is based on operating system, is the basis and platform that application program is run, It is the main interface that user interacts in use.
Embodiment in order to enable those skilled in the art to better understand the present invention, in the present specification, using Androidx as A kind of example of distributed computing is illustrated.
The start-up course of the display terminal of android system can substantially be divided into Bootloader (bootstrap) starting, Kernel (kernel) starting and os starting three phases.
Wherein, Bootloader can be used for initializing the bases such as memory, clock between bottom hardware and operating system This hardware environment, load operating system kernel mirror image finally start Kernel.
Therefore, display terminal initialization is before kernel starting and os starting.
The start-up course of Bootloader is broadly divided into single phase (Single-Stage) and multistage (Multi- Stage) two kinds, two stages are mostly used greatly, i.e. start-up course can be divided into stage1 and stage2:
Stage1 completes initialization hardware, prepares memory headroom for stage2, and stage2 is copied in memory, is arranged Storehouse then branches to stage2.
Using U-Boot as the example of Bootloader, the start-up course of U-Boot can be divided into stage1 and stage2 Two stages:
The stage1 stage is usually write with assembler language, is generally used for the initialization to some key hardwares;
The stage2 stage usually shows a C language, and generally completes some general functions.
U-Boot can generally complete following initial work:
(1) all interruptions are shielded, CPU (Central Processing Unit, central processing unit) frequency is set, initially Change RAM (random access memory, random access memory) related register;
(2) binary code of stage2 is copied into RAM, and storehouse is set, the execution of stage2 is prepared;
(3) in stage2, serial ports and console are initialized, CPU and plate and relevant configuration are set, finally Kernel's Image file from Nand-flash memory copying to RAM in, and execute Kernel.
In embodiments of the present invention, the physics of display terminal can be detected in the environment of Bootloader (such as U-Boot) The state of key, the state are generally triggered and (are pressed) and non-toggle (not being pressed).
Furthermore, due to the corresponding voltage value of each physical button, display terminal on startup, general meeting It initializes ADC (Analog-to-Digital Converter refers to A/D converter or analog/digital converter), By reading the voltage of ADC in Bootloader (such as U-Boot), then it can decide whether that physical button is pressed.
Step 202, when detecting that first object physical button is triggered, data are written in preset first data subregion Restore information.
In embodiments of the present invention, specified physical button includes first object physical button, it can pre-selects one A or multiple physical buttons are as first object physical button, for example, upper key, down key.
Exception handling information includes that data restore information, the i.e. information of mark progress data recovery.
If user presses first object physical button, key as above, down key, then in preset first data subregion, such as (Electrically Erasable Programmable Read-Only Memory, electric erazable programmable is read-only to be deposited EEPROM Reservoir), Flash memory etc., write-in data restore information, carry out data recovery operation.
In one embodiment of the invention, when the system is first powered on, terminal operating basic data can be set in display terminal The first storage region, which is backuped in first storage region, to realize data separating.
So-called data separating refers to that the part for being involved in terminal operating basic data is all separated, and stores to one Fixed place, system during startup, go to load original terminal operating basic data automatically, to reach by relevant function The purpose that terminal operating basic data is separated with program.
If terminal operating basic data is damaged, can be restored using the terminal operating basic data of backup.
Wherein, terminal operating basic data is the basic data for ensureing display terminal and operating normally, and is generally being dispatched from the factory When be arranged, therefore also known as factory data can specifically include following one or more:
(1) data relevant to sound broadcasting, show relevant data to image;
For example, in audio data, PQ (picture quality, image quality) data, efficiency data, user setting menu All data, etc..
(2) hardware-related data;
For example, DDR (Double Data Rate, Double Data Rate synchronous DRAM) spread spectrum, LVDS (Low- Voltage Differential Signaling, low-voltage differential signal) spread spectrum, screen parameter evidence, etc..
(3) protocol-dependent data;
For example, EDID (Extended Display Identification Data, extending display identification data) data, HDCP ((High-bandwidth Digital Content Protection, high-bandwidth digital content protection technology) data
(4) start configuration data.
Configuration data i.e. in start-up course.
Certainly, above-mentioned terminal operating basic data is intended only as example, in implementing the embodiments of the present invention, can be according to reality Other terminal operating basic datas are arranged in border situation, and the embodiments of the present invention are not limited thereto.In addition, in addition to above-mentioned terminal is transported Outside row basic data, those skilled in the art can also use other terminal operating basic datas according to actual needs, the present invention Embodiment is also without restriction to this.
It should be noted that factory reset at present is usually the data restored in user's use process, such as input method Configuration, starting-up signal source, sound size, backlight illumination etc. generally do not include still above-mentioned audio data, PQ data, efficiency number According to equal terminal operatings basic data.
In embodiments of the present invention, first object physical button includes the first muon physics key, such as down key, data recovery letter Breath includes that terminal operating basic data restores information, the i.e. information of mark progress terminal operating basic data recovery, such as flag bit.
Therefore, when detecting that the first muon physics key is triggered, terminal can be written in preset first data subregion It runs basic data and restores information.
In another embodiment of the present invention, when the system is first powered on, the first of user data can be set in display terminal Storage region, can be using the use of backup if user data damages by the user data backup into first storage region User data is restored.
Wherein, user data is the data of user setting, for example, the file of user, picture, music, video etc..
In embodiments of the present invention, first object physical button includes the second muon physics key, key as above, data recovery letter Breath includes that user data restores information, the i.e. information of mark progress user data recovery, such as flag bit.
Therefore, when detecting that the second muon physics key is triggered, user data is written in preset first data subregion Restore information.
It should be noted that the first storage region, the second storage region are the subregions specially divided, it is not located at generally Cache partitions, as the attribute of Data subregion, also, the first storage region, the second storage region be it is hiding, user is invisible, but The file of storage can have permission limitation, for example, terminal operating basic data is read-only file;In another example in the second storage region When copying user data, " read-write " web-privilege password Web can be randomly generated, store according to system time.Later every time The user data of the backup is accessed with cryptographic acess, etc., prevents from being accidentally overwriten.
When setting upgrade procedure, the first storage region, the second storage region are can not to be wiped free of, institute With upgrade procedure should not operate first storage region, the second storage region.
In addition, the first storage region of storage terminal operating basic data and the second storage region of storage user data can To be identical region, it is also possible to different regions, also, stores the first data that terminal operating basic data restores information Subregion and storage user data restore the first data subregion of information, can be identical region, are also possible to different regions, The embodiments of the present invention are not limited thereto.
Step 203, after the os starting of display terminal, it is extensive that the data are read in the first data subregion Complex information.
By taking Android as an example, the start-up course of operating system can substantially be divided into init process initiation, zygote process Starting and SystermServer process initiation three phases.
Firstly, after init process completes some initialization, the subprocess such as creation servicemanager, zygote.
Then, zygote process continues the starting work of next step, creates Dalvik virtual machine, and create SystermServer process.
Finally, in this process of SystermServer, start each Java service, as ActivityManager, It is entitled to start to send an intent after having started Java service by PackageManager, ContextManager etc. The Home program of com.android.launcher.
So far, Android start completion.
If os starting success, can be generated a detection procedure, detects and whether be stored in the first data subregion Data restore information, as terminal operating basic data restores information, user data restores information.
Step 204, restore Information recovering specified data according to the data.
If being stored with data in the first data subregion restores information, Information recovering can be restored according to the data and carried out Data recovery operation.
In one embodiment of the invention, if restoring information in the first data partitioned storage terminal operating basic data, Then it can restore Information recovering terminal operating basic data according to terminal operating basic data.
In the concrete realization, information can be restored according to terminal operating basic data to read in preset first storage region The terminal operating basic data of backup is covered current terminal operating basic data by the terminal operating basic data of backup.
In order to which the terminal operating basic data after restoring is run, reboot operation can be carried out to display terminal.
It in another embodiment of the present invention, can be with if restoring information in the first data partitioned storage user data Restore Information recovering user data according to user data.
In the concrete realization, the use that information reads backup in preset second storage region can be restored according to user data User data, will be in the specified path of the user data write-in of backup.
If the specified path be user data original storage path, can in user data backup, together with The logical backup in the original storage path one of user data.
Certainly, which may be the path in addition to the original storage path of user data, such as special to use The path of user data etc. after the recovery of stomge of family, the embodiments of the present invention are not limited thereto.
In abnormal cases, user often can only be by the normal use of brush machine recovery system again, and brush machine again, needs The data for deleting user, lead to that the stability of display terminal is poor, defence capability is poor.
In initialization, if detecting, first object physical button is triggered the embodiment of the present invention, and data can be set Restore information, after os starting, restores Information recovering specified data according to the data, number is triggered by secondary or physical bond Guarantee the normal operation of system and the safety of user data while guaranteeing practicability according to recovery operation, avoids and pass through brush The normal use of machine recovery system substantially increases stability, the defence of display terminal so as to avoid the data for deleting user Ability.
Referring to Fig. 3, a kind of step flow chart of the abnormality eliminating method embodiment 3 of display terminal of the invention is shown, It can specifically include following steps:
Step 301, when display terminal initializes, the state of the physical button of display terminal is detected.
In the concrete realization, for video display terminal after using certain time, Caton is obvious, and restarts and also do not do Method improves, then then user can start display terminal with some physical button of long-pressing.
The intelligentized feature of display terminal is based on operating system, is the basis and platform that application program is run, It is the main interface that user interacts in use.
Embodiment in order to enable those skilled in the art to better understand the present invention, in the present specification, using Androidx as A kind of example of distributed computing is illustrated.
The start-up course of the display terminal of android system can substantially be divided into Bootloader (bootstrap) starting, Kernel (kernel) starting and os starting three phases.
Wherein, Bootloader can be used for initializing the bases such as memory, clock between bottom hardware and operating system This hardware environment, load operating system kernel mirror image finally start Kernel.
Therefore, before kernel starting and os starting, kernel starting is opened in operating system for display terminal initialization Before dynamic.
In embodiments of the present invention, the physics of display terminal can be detected in the environment of Bootloader (such as U-Boot) The state of key, the state are generally triggered and (are pressed) and non-toggle (not being pressed).
Furthermore, due to the corresponding voltage value of each physical button, display terminal on startup, general meeting ADC is initialized, by reading the voltage of ADC in Bootloader (such as U-Boot), then can decide whether physical button It presses.
Step 302, when detecting that the second target physical key is triggered, data are written in preset second data subregion Remove information.
In embodiments of the present invention, specified physical button includes the second target physical key, it can pre-selects one A or multiple physical buttons are as the second target physical key, for example, determination key.
Exception handling information includes data dump information, i.e. the information of mark progress data dump, such as boot- recovery。
If user presses the second target physical key, such as determination key, then in preset second data subregion, such as flash Data dump information is written in MISC subregion etc., carries out data-cleaning operation.
Step 303, after the kernel starting of the operating system of display terminal, described in the second data subregion reading Data dump information.
By taking android system as an example, the start-up course of Kernel, be generally divided into smoking cessation institute Kernel, early period initialization and Execute start_kernel function three phases.
Operating system is empty with the storage for saving external equipment generally using the image file zImage of the Kernel of compression Between.In this way, having loaded the image file of Kernel into main memory RAM in Bootloader (such as U-Boot) and having run, Kernel Image file to be decompressed.
Then the initialization of early period is carried out to get out the running environment of Kernel, IRQ and FIQ is such as disabled, processor It is arranged to management mode, and whether decision processor and framework are effective, establishes core page table, opens MMU, cache and buffer Storehouse is set and prepares C language running environment, etc..
Start_kernel function is finally called to continue to start kernel.It is finished initialization in start_kernel function After work, start first consumer process init, to complete the starting of Kernel.
If the kernel of operating system starts successfully, can be generated a detection procedure, detect in the second data subregion whether Storing data removes information.
Step 304, according to the data dump erasing of information specified data.
If being stored with data dump information in the second data subregion, information can be restored according to the data and entered Recovery mode (data dump mode) carries out data-cleaning operation.
In the concrete realization, cache partitions can be removed, such as the data in Data subregion, so not only to application, but also For operating system, the data generated when operation can be removed, are equivalent to the head being restored to using installation for the first time, operating system The secondary state powered on.
In initialization, if detecting, the second target physical key is triggered the embodiment of the present invention, and data can be set Information is removed, after kernel starting, according to the data dump erasing of information specified data, is triggered by secondary or physical bond and removes behaviour Make, while guaranteeing practicability, improves the simplicity of operation, improve the operational efficiency of system.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 4, a kind of structural block diagram of the exception handling device embodiment of display terminal of the invention is shown, specifically May include following module:
Key-press status detection module 401, for detecting the shape of the physical button of display terminal in display terminal initialization State;
Exception handling information setup module 402, for exception to be arranged when detecting that specified physical button is triggered Manage information;
Exception processing module 403, for carrying out abnormality processing to specified data according to the exception handling information.
In one embodiment of the invention, the specified physical button includes first object physical button, described different Often processing information includes that data restore information;
The exception handling information setup module 402 may include following submodule:
Data restore information and submodule are written, for when detecting that first object physical button is triggered, preset First data subregion is written data and restores information;
The exception processing module 403 may include following submodule:
Data restore information reading submodule, for being counted after the os starting of display terminal described first The data, which are read, according to subregion restores information;
Data recovery sub-module, for restoring Information recovering specified data according to the data.
In one embodiment of the invention, the first object physical button includes the first muon physics key, the number It include that terminal operating basic data restores information according to information is restored;
It may include such as lower unit that the data, which restore information write-in submodule:
Terminal operating basic data restores information writing unit, for detecting that the first muon physics key is triggered When, restore information in preset first data subregion write-in terminal operating basic data.
The data recovery sub-module may include such as lower unit:
First Backup Data reading unit, for restoring information preset first according to the terminal operating basic data Storage region reads the terminal operating basic data of backup;
Terminal operating basic data recovery unit, for the terminal operating basic data of the backup to be covered current end End operation basic data.
In the concrete realization, the terminal operating basic data may include following one or more:
Relevant data are played to sound, relevant data are shown with image, is hardware-related data, related with agreement Data, starting configuration data.
In another embodiment of the present invention, the first object physical button includes the second muon physics key, described It includes that user data restores information that data, which restore information,;
It may include such as lower unit that the data, which restore information write-in submodule:
User data restores information writing unit, for when detecting that the second muon physics key is triggered, pre- If the first data subregion write-in user data restore information.
The data recovery sub-module may include such as lower unit:
Second Backup Data reading unit, for restoring information in preset second storage region according to the user data Read the user data of backup;
User data recovery unit, for the user data of the backup to be written in specified path.
In one embodiment of the invention, the specified physical button includes the second target physical key, described different Often processing information includes data dump information;
The exception handling information setup module 402 may include following submodule:
Submodule is written in data dump information, for when detecting that the second target physical key is triggered, preset Data dump information is written in second data subregion;
The exception processing module 403 may include following submodule:
Data dump information reading submodule, after the kernel starting of the operating system in display terminal, described Second data subregion reads the data dump information;
Data dump submodule, for according to the data dump erasing of information specified data.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Abnormality eliminating method to a kind of display terminal provided by the present invention and a kind of exception of display terminal above Device is managed, is described in detail, it is used herein that a specific example illustrates the principle and implementation of the invention, The above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for the one of this field As technical staff, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute It states, the contents of this specification are not to be construed as limiting the invention.

Claims (9)

1. a kind of abnormality eliminating method of display terminal characterized by comprising
When display terminal initialization, the state of the physical button of display terminal is detected, wherein guiding journey in the display terminal The state of the physical button of the display terminal is detected in the environment of sequence starting;
When detecting that specified physical button is triggered, exception handling information is set, and the exception handling information includes data Restore information, wherein when specified physical button is the first muon physics key, it includes terminal operating that the data, which restore information, Basic data restores information;When specified physical button is the second muon physics key, it includes user that the data, which restore information, Data restore information;When specified physical button is the second target physical key, the exception handling information includes that data are clear Except information;
Abnormality processing is carried out to specified data according to the exception handling information;
Wherein, the specified physical button includes first object physical button, and the exception handling information includes that data are restored Information;
It is described when detecting that specified physical button is triggered, be arranged exception handling information the step of include:
When detecting that first object physical button is triggered, restore information in preset first data subregion write-in data;
It is described to include: to the step of specified data progress abnormality processing according to the exception handling information
After the os starting of display terminal, the data are read in the first data subregion and restore information, it is described The attribute of first data subregion is hiding;
Restore Information recovering specified data according to the data.
2. the method according to claim 1, wherein the first object physical button includes that the first muon physics are pressed Key, it includes that terminal operating basic data restores information that the data, which restore information,;
It is described when detecting that first object physical button is triggered, preset first data subregion write-in data restore information The step of include:
When detecting that the first muon physics key is triggered, terminal operating basis number is written in preset first data subregion According to recovery information;
Restore information according to the terminal operating basic data and reads the terminal operating base backed up in preset first storage region Plinth data;
The terminal operating basic data of the backup is covered to current terminal operating basic data.
3. according to the method described in claim 2, it is characterized in that, the terminal operating basic data include following one kind or It is a variety of:
Relevant data are played to sound and image shows relevant data, hardware-related data and protocol-dependent number According to, starting configuration data.
4. the method according to claim 1, wherein the first object physical button includes that the second muon physics are pressed Key, it includes that user data restores information that the data, which restore information,;
It is described when detecting that first object physical button is triggered, preset first data subregion write-in data restore information The step of include:
When detecting that the second muon physics key is triggered, restore letter in preset first data subregion write-in user data Breath;
It is described according to the exception handling information restore specified data the step of include:
Restore information according to the user data and reads the user data backed up in preset second storage region;
It will be in the specified path of the user data write-in of the backup.
5. method according to claim 1 or 2 or 3 or 4, which is characterized in that the specified physical button includes second Target physical key, the exception handling information include data dump information;
It is described when detecting that specified physical button is triggered, be arranged exception handling information the step of include:
When detecting that the second target physical key is triggered, data dump information is written in preset second data subregion;
It is described to include: to the step of specified data progress abnormality processing according to the exception handling information
After the kernel starting of the operating system of display terminal, the data dump letter is read in the second data subregion Breath;
According to the data dump erasing of information specified data.
6. a kind of exception handling device of display terminal characterized by comprising
Key-press status detection module, for detecting the state of the physical button of display terminal in display terminal initialization, wherein The state of the physical button of the display terminal is detected in the environment of display terminal bootstrap starting;
Exception handling information setup module, for exception handling information to be arranged when detecting that specified physical button is triggered, The exception handling information includes that data restore information, wherein described when specified physical button is the first muon physics key It includes that terminal operating basic data restores information that data, which restore information,;When specified physical button is the second muon physics key, It includes that user data restores information that the data, which restore information,;When specified physical button is the second target physical key, institute Stating exception handling information includes data dump information;
Exception processing module, for carrying out abnormality processing to specified data according to the exception handling information;
Wherein, the specified physical button includes first object physical button, and the exception handling information includes that data are restored Information;
The exception handling information setup module includes:
Data restore information and submodule are written, for when detecting that first object physical button is triggered, preset first Data subregion is written data and restores information;
The exception processing module includes:
Data restore information reading submodule, for dividing after the os starting of display terminal in first data Area reads the data and restores information, and the attribute of the first data subregion is hiding;
Data recovery sub-module, for restoring Information recovering specified data according to the data.
7. device according to claim 6, which is characterized in that the first object physical button includes that the first muon physics are pressed Key, it includes that terminal operating basic data restores information that the data, which restore information,;
The data restore information write-in submodule
Terminal operating basic data restores information writing unit, for when detecting that the first muon physics key is triggered, Restore information in preset first data subregion write-in terminal operating basic data;
The data recovery sub-module includes:
First Backup Data reading unit, for restoring information in preset first storage according to the terminal operating basic data Read the terminal operating basic data of backup in region;
Terminal operating basic data recovery unit is transported for the terminal operating basic data of the backup to be covered current terminal Row basic data.
8. device according to claim 7, which is characterized in that the first object physical button includes that the second muon physics are pressed Key, it includes that user data restores information that the data, which restore information,;
The data restore information write-in submodule
User data restores information writing unit, for when detecting that the second muon physics key is triggered, preset First data subregion is written user data and restores information;
The data recovery sub-module includes:
Second Backup Data reading unit is read for restoring information according to the user data in preset second storage region The user data of backup;
User data recovery unit, for the user data of the backup to be written in specified path.
9. device described according to claim 6 or 7 or 8, which is characterized in that the specified physical button includes the second target Physical button, the exception handling information include data dump information;
The exception handling information setup module includes:
Submodule is written in data dump information, for when detecting that the second target physical key is triggered, preset second Data dump information is written in data subregion;
The exception processing module includes:
Data dump information reading submodule, after the kernel starting of the operating system in display terminal, described second Data subregion reads the data dump information;
Data dump submodule, for according to the data dump erasing of information specified data.
CN201610397792.XA 2016-06-03 2016-06-03 A kind of abnormality eliminating method and device of display terminal Active CN106095605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610397792.XA CN106095605B (en) 2016-06-03 2016-06-03 A kind of abnormality eliminating method and device of display terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610397792.XA CN106095605B (en) 2016-06-03 2016-06-03 A kind of abnormality eliminating method and device of display terminal

Publications (2)

Publication Number Publication Date
CN106095605A CN106095605A (en) 2016-11-09
CN106095605B true CN106095605B (en) 2019-08-23

Family

ID=57228484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610397792.XA Active CN106095605B (en) 2016-06-03 2016-06-03 A kind of abnormality eliminating method and device of display terminal

Country Status (1)

Country Link
CN (1) CN106095605B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451015A (en) * 2017-08-08 2017-12-08 四川长虹电器股份有限公司 A kind of intelligent television critical data backup and data reconstruction method
CN108111912A (en) * 2017-12-15 2018-06-01 深圳Tcl新技术有限公司 Image transfer method, terminal and storage medium in multi-screen interactive
CN108235101B (en) * 2017-12-28 2021-04-16 深圳Tcl数字技术有限公司 Smart television initialization method, smart television and computer readable storage medium
CN108304056A (en) * 2018-01-29 2018-07-20 郑州云海信息技术有限公司 A kind of method, apparatus and computer readable storage medium of button multiplexing

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546284B (en) * 2009-04-28 2010-11-03 冠捷科技(武汉)有限公司 Method for recovering data information of liquid crystal display equipment
CN102375748A (en) * 2010-08-25 2012-03-14 深圳Tcl新技术有限公司 Television flash memory recovery method
CN102761789A (en) * 2012-07-26 2012-10-31 冠捷显示科技(厦门)有限公司 Method for recovering data of television
CN103905756B (en) * 2014-03-26 2017-02-01 深圳创维-Rgb电子有限公司 Television set failure processing device and television set
CN104268033B (en) * 2014-09-22 2018-05-15 北京数字天域科技有限责任公司 The storage method of terminal data, the method and device for recovering terminal default setting
CN104461778A (en) * 2014-11-26 2015-03-25 珠海迈越信息技术有限公司 Factory default recovery method and system and terminal

Also Published As

Publication number Publication date
CN106095605A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106095605B (en) A kind of abnormality eliminating method and device of display terminal
CN107172454B (en) Video recommendation method, medium, device and computing equipment
CN105867947B (en) Data processing method and device after preset application program updating
US20190095059A1 (en) Method and device for processing application icon and electronic apparatus
WO2020168899A1 (en) Method and device for exhibition of short video on lock screen of user device
CN103389900A (en) Control method and device for Android equipment camera
CN105607972B (en) A kind of method and device repaired extremely
US20140298245A1 (en) Display Instance Management
CN107577472B (en) Software installation method and device and computer readable storage medium
CN102360298A (en) Software upgrading method of terminal equipment
CN104020960A (en) Method and device for conducting partition formatting and mounting on hard disk
CN102541595A (en) Method and device for upgrading intelligent device and intelligent device
CN104035842A (en) Method for deleting and recovering built-in application program
CN103037257B (en) A kind of startup method
CN109582385A (en) Application program launching method and device, storage medium and electronic equipment
CN105607901A (en) System memory optimization method and apparatus as well as terminal device
CN104267997A (en) Terminal device and starting method of application software in same
US20150324209A1 (en) Operating System Switching Method and Dual-Operating System Electronic Device Using the Same
US9513928B2 (en) Method of operating multiple operating systems and the electronic device thereof
CN108762983B (en) Multimedia data recovery method and device
CN115617223A (en) Switching control method and device, interactive intelligent panel and storage medium
CN104410910A (en) Controlling method and device installing application of storage device in intelligent television
US20150195177A1 (en) Service management in appliance-based solutions
US20170105041A1 (en) Method and device of interactive function card of smart television
CN108958808A (en) Method for starting terminal and device, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CP01 Change in the name or title of a patent holder