CN109739692A - Fault recovery method and Related product - Google Patents

Fault recovery method and Related product Download PDF

Info

Publication number
CN109739692A
CN109739692A CN201811572445.1A CN201811572445A CN109739692A CN 109739692 A CN109739692 A CN 109739692A CN 201811572445 A CN201811572445 A CN 201811572445A CN 109739692 A CN109739692 A CN 109739692A
Authority
CN
China
Prior art keywords
register
destination register
liquid crystal
electronic equipment
crystal display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811572445.1A
Other languages
Chinese (zh)
Inventor
李平
蒋国强
易永鹏
冷文华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811572445.1A priority Critical patent/CN109739692A/en
Publication of CN109739692A publication Critical patent/CN109739692A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the present application provides a kind of fault recovery method, it is characterized in that, applied to electronic equipment, the described method includes: obtaining the register value of the back-up registers of the destination register when the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is abnormality;Recovery operation is carried out to the destination register according to predetermined manner using the register value of the back-up registers, if being successfully recovered, data to be displayed is then received by the destination register after recovery operation, and the data to be displayed is shown by the liquid crystal display, therefore, the power consumption of electronic equipment can be reduced.

Description

Fault recovery method and Related product
Technical field
This application involves signal processing technology fields, and in particular to a kind of fault recovery method and Related product.
Background technique
With the continuous development of society, electronic equipment (mobile phone, tablet computer etc.) has been deep into the Fang Fang of daily life Face face, with the use of electronic equipment, the problem of inevitably encountering electrostatic interference.Electro-static Driven Comb detects (Electro- Static discharge, ESD) as mobile phone to a kind of antistatic effective scheme, generallyd use in currently existing scheme Be read display screen register in register value, it is above-mentioned whether to be just detected as the continuous loop test register value of electronic equipment Often, to determine whether electrostatic interference occurs, then interference is restored, due to the cycle detection of itself, electronics is resulted in and sets Standby power consumption increases.
Summary of the invention
The embodiment of the present application provides a kind of fault recovery method and Related product, can reduce the power consumption of electronic equipment.
The first aspect of the embodiment of the present application provides a kind of fault recovery method, is applied to electronic equipment, the method Include:
When the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is abnormality, Obtain the register value of the back-up registers of the destination register;
Recovery operation is carried out to the destination register according to predetermined manner using the register value of the back-up registers, If being successfully recovered, data to be displayed is received by the destination register after recovery operation, and pass through the liquid crystal display Screen shows the data to be displayed.
The second aspect of the embodiment of the present application provides a kind of local fault recovery device, is applied to electronic equipment, described device Including acquiring unit and recovery unit, wherein
Acquiring unit, for the state when the destination register in the integrated circuit of the liquid crystal display of the electronic equipment When for abnormality, the register value of the back-up registers of the destination register is obtained;
Recovery unit, for the register value using the back-up registers according to predetermined manner to the destination register Recovery operation is carried out, if being successfully recovered, data to be displayed is received by the destination register after recovery operation, and pass through The liquid crystal display shows the data to be displayed.
The third aspect of the embodiment of the present application provides a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, wherein above-mentioned computer can Read the computer program that storage medium storage is used for electronic data interchange, wherein above-mentioned computer program executes computer The step some or all of as described in the embodiment of the present application first aspect.
5th aspect of the embodiment of the present application provides a kind of computer program product, wherein above-mentioned computer program produces Product include the non-transient computer readable storage medium for storing computer program, and above-mentioned computer program is operable to make to count Calculation machine executes the step some or all of as described in the embodiment of the present application first aspect.The computer program product can be One software installation packet.
Implement the embodiment of the present application, has the following beneficial effects:
By the embodiment of the present application, when the destination register in the integrated circuit of the liquid crystal display of the electronic equipment When state is abnormality, the register value of the back-up registers of the destination register is obtained, using the back-up registers Register value recovery operation carried out to the destination register according to predetermined manner if being successfully recovered pass through recovery operation The destination register afterwards receives data to be displayed, and shows the data to be displayed by the liquid crystal display, therefore, Relative in existing scheme, whether normally determine whether that electrostatic interference occurs using the register value of cycle detection register, To restore to destination register, only when the state of register is abnormality, the register of back-up registers is obtained Value, and destination register is restored by the register value, cycle detection is avoided, so as to reduce to a certain degree The power consumption of electronic equipment.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 provides a kind of schematic diagram of the electronic equipment of application failure restoration methods for the embodiment of the present application;
Fig. 2A provides a kind of flow diagram of fault recovery method for the embodiment of the present application;
Fig. 2 B provides a kind of flow diagram of fault recovery method for the embodiment of the present application;
Fig. 3 provides the flow diagram of another fault recovery method for the embodiment of the present application;
Fig. 4 provides the flow diagram of another fault recovery method for the embodiment of the present application;
Fig. 5 provides the flow diagram of another fault recovery method for the embodiment of the present application;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 7 provides a kind of structural schematic diagram of local fault recovery device for the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
" embodiment " mentioned in this application is it is meant that a particular feature, structure, or characteristic described can be in conjunction with the embodiments Included at least one embodiment of the application.The phrase, which occurs, in each position in the description might not each mean phase Same embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art are explicitly Implicitly understand, embodiments described herein can be combined with other embodiments.
Electronic equipment involved by the embodiment of the present application may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (user equipment, UE), mobile station (mobile station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment.
In order to better understand the embodiment of the present application, the embodiment of the present application is briefly introduced below.Referring to Fig. 1, Fig. 1 provides a kind of schematic diagram of the electronic equipment of application failure restoration methods for the embodiment of the present application.As shown in Figure 1, in electricity When the liquid crystal display 101 of sub- equipment breaks down, such as electrostatic interference, the state in destination register 102 will be labeled For abnormality, then electronic equipment obtains the register value of the back-up registers 103 of destination register 102, destination register 102 It is located in the integrated circuit of the liquid crystal display of electronic equipment with back-up registers 103, then, using the back-up registers 103 register value carries out recovery operation to the destination register 102 according to predetermined manner, if being successfully recovered, by extensive The destination register 102 after multiple operation receives data to be displayed, and is shown by the liquid crystal display screen display 101 described wait show Whether registration evidence, this example are normally determined whether using the register value of cycle detection register relative in existing scheme Electrostatic interference occurs, to restore to destination register, only when the state of register is abnormality, obtains backup and posts The register value of storage, and being restored by the register value to destination register, avoids cycle detection, so as to The power consumption of electronic equipment is reduced to a certain degree.
Fig. 2A is please referred to, Fig. 2A provides a kind of flow diagram of fault recovery method for the embodiment of the present application.Such as figure Shown in 2A, fault recovery method includes step 201-202, specific as follows:
201, when the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is abnormal shape When state, the register value of the back-up registers of the destination register is obtained.
Optionally, before implementing fault recovery method, the embodiment of the present application also provides following methods, in electronic equipment Touch screen (TouchPanel, TP) firmware in increase cyclic redundancy check (Cyclic Redundancy Check, CRC) Self verification occurs automatic recovery when display exception for realizing the liquid crystal display to electronic equipment.
Optionally, the back-up registers of destination register be with the one-to-one register of destination register, for storing The initial value of destination register.Wherein, destination register can be deposited for the key defaulted in the integrated circuit of liquid crystal display Device, the register in the integrated circuit of liquid crystal display can include: power supply controls register, mode control register, brush screen phase The register etc. of pass.
Optionally, back-up registers can be the register in the integrated circuit of liquid crystal display, or Qi Tadan Solely existing register, or other buffer storages.
202, the destination register is restored according to predetermined manner using the register value of the back-up registers Operation receives data to be displayed by the destination register after recovery operation, and pass through the liquid crystal if being successfully recovered Display screen shows the data to be displayed.
Wherein, carrying out recovery operation to destination register according to predetermined manner can be with are as follows: by the register of destination register Value resets to the register value of back-up registers.It is posted it is also understood that the register value of back-up registers is substituted into target In storage, to complete the recovery operation to destination register.Data to be displayed can be image, video, text information etc..
Optionally, when carrying out recovery operation to destination register, if restoring failure, repeatedly n times execute recovery operation, N For the positive integer greater than 1, if it is pre- that the continuous number for restoring failure is greater than first during repeating n times and executing recovery operation If number, then power down process is carried out to the liquid crystal display, and the destination register is marked, obtain target mark There is hardware fault for identifying the destination register in label, the target labels, and the first preset times are less than N.
Wherein, the first preset times can be inferior for 3 times, 4 times or 5.Destination register is marked, target mark is obtained Label, target labels are used for after user determines that electronic equipment has already appeared failure, and when needing to repair failure, system can be with Determine to have already appeared the register of hardware fault, according to target labels directly so as to more quickly and accurately to appearance The destination register of failure carries out reparation operation.
Optionally, when destination register is repeatedly abnormality, then a possibility that register damages, will increase Add, therefore, certain monitoring or recovery can be carried out to such register, it is a kind of possible above-mentioned register to be restored Method may include step A1-A3, specific as follows:
If the number that the state of A1, the destination register is abnormality is greater than the second preset times, by the mesh Scalar register file is labeled as high-risk register, wherein second preset times are greater than first preset times;
Optionally, high-risk register is it is to be understood that the probability that register breaks down is greater than normal register and goes out The probability of existing failure.
A2, according to the preset time interval carries out recovery operation to the high-risk register;
Optionally, the method for recovery operation is carried out referring to the aforementioned method restored to register to register.
If A3, restoring failure, the high-risk register is marked, the target labels are obtained.
Optionally, preset time interval, the second preset times can based on experience value or historical data is set.
It can be abnormal shape in the state of register by restoring according to the preset time interval to high-risk register Timely register can be restored when state, and if to the register carry out restore failure when, can determine that register To there is the register of hardware fault, from the continuous recovery process without execution to the register, so as to a certain degree The upper energy consumption for reducing electronic equipment.
In one possible example, since electrostatic interference often interferes the operation of electronic equipment, or even it will appear and accidentally touch The case where hair, user experience is seriously affected, the embodiment of the present application provides a kind of possible side for solving electrostatic interference false triggering Method, including step B1-B2, specific as follows:
B1, from obtained in the destination register in the liquid crystal display occur touch control operation target area;
Optionally, obtaining target area is after touch control operation occurs in electronic equipment, and touch control operation herein can also certainly Can be due to electrostatic interference and generate interference operation.Wherein, target area is the region that touch control operation occurs, it can be understood as Liquid crystal display is touched the region of operation, and touch-control area can be the face in the region of liquid crystal display pressure value variation Product.
B2, if it is determined that the pixel in the target area total number be less than default value, it is determined that go out the liquid The touch control operation that crystal display screen occurs in the target area is the interference operation of electrostatic triggering, and by the destination register State be determined as abnormality.
Wherein, default value can based on experience value or historical data is set.
Optionally, it in the interference operation that the touch control operation for determining to occur in target area is electrostatic triggering, can also wrap Following method is included, step C1-C4 is specifically included:
C1, the security level for obtaining display data in the target area, the display data include web page address;
Optionally, display data include web page address, analyze first web page address, determine the class of web page address Type determines the security level of display data then according to the mapping relations between preset type and security level.
Wherein, a kind of possible web page address is analyzed, the method for determining the address style of web page address are as follows:
Domain name analysis is carried out to the web page address, however, it is determined that the domain name for going out web page address is illegal domain name, it is determined that is gone out The web page address is illegal type;If it is determined that the domain name of web page address is legitimate domain name, it is determined that go out the class of web page address Type is legal types.The method for carrying out domain name analysis to web page address can be to pass through China Internet Network Information Center official The true domain name of query site, can also be by logging in Ministry of Industry and Information's Internet protocol address (Internet Protocol Address, IP address) domain-name information puts on record management system, obtain the real information of website.Another kind determines the class of web page address The method of type are as follows: the illegal network address stored in web page address and database is compared, if matching, it is determined that go out web page address Type be illegal type, if mismatch, it is determined that go out web page address type be legal types.
Optionally, however, it is determined that the address style for going out web page address is illegal type, then further determines that it in illegal type In classification, however, it is determined that going out web page address is fishing network address, it is determined that going out its type is the first illegal type of son;If it is determined that net Page address is viral network address, it is determined that going out its type is the second illegal type of son;If it is determined that web page address is illegal advertisement Network address, it is determined that going out web page address is the illegal type of third;If it is determined that web page address is the network address of legal advertisement, it is determined that Web page address is the 4th illegal subtype out.
It is specific as follows shown in a kind of mapping table 1 between possible type and security level:
Table 1
Address style Security level
The second illegal type of son First security level
The first illegal type of son Second security level
The illegal type of third Third security level
4th illegal subtype 4th security level
Legal types 5th security level
Wherein, from the first security level to the 5th security level, degree of safety is increased security level with this, the 5th safety etc. The degree of safety highest of grade.Preset security level is the 4th security level.
If the security level of C2, the display data are lower than preset security level, intercept to the web page address Access;
Optionally, this method can also include: the interception pair when showing the security level of data lower than the second security level The access of web page address, and to using the target user of the electronic equipment to show warning information, to prompt user's electronics to set Standby to be currently at precarious position, precarious position can be understood as electronic equipment may be by poisoning intrusion etc..
C3, to use the electronic equipment target user send access request, the access request includes the webpage Address;
Optionally, into the access request that target user sends, it can also include the security level of web page address, pass through Security level, target user can quickly understand the safety of web page address, make centainly so as to the judgement for user Reference, and then promoted user experience.
C4, the access response that the target user sends is received, if determining to allow to access institute according to the access response Web page address is stated, then is accessed to the web page address.
In this example, when electrostatic interference generates false triggering operation, the display content in display area can be carried out Safety evaluation sends access request to user when safety is lower, therefore, false triggering can be being generated, by safety Grade is determined, and carries out corresponding operation according to security level, can promote the peace of electronic equipment to a certain extent Quan Xing.
Fig. 2 B is please referred to, Fig. 2 B provides the flow diagram of another fault recovery method for the embodiment of the present application.Such as Shown in Fig. 2 B, for the flow chart of fault recovery method word circulation, fault recovery method includes the following steps:
Step 1: the bright screen of key;
Wherein, the bright screen of key can be understood as through key wakeup electronic equipment, so that the liquid crystal display of electronic equipment Work.
Step 2:TP firmware self checking;
Wherein, the method for TP firmware self checking can be CRC check.It is detected using failure of the CRC check to TP.TP Firmware can include: hardware driving and kernel etc..
Step 3: interference register detection;
Wherein, by electrostatic interference in the integrated circuit for the liquid crystal display that interference register can be understood as electronic device Register.
Step 4: exception is not detected, thens follow the steps 6;
Step 5: it detects exception, then restores to abnormal, then follow the steps 6 if being successfully recovered, if restoring failure, The recovery operation in step 3 and step 5 is performed a plurality of times, when the continuous number for restoring failure is 3 times, thens follow the steps 6, and Power operation is executed to the liquid crystal display of electronic equipment, and interference register is marked, obtains target labels, target mark Label are for marking interference register hardware fault occur, as shown in dotted portion in Fig. 2 B;
Step 6: terminating process.
Wherein, if executing circulation process, after step 6 execution, step 2 is repeated, to complete circulation process It executes.
Referring to Fig. 3, Fig. 3 provides the flow diagram of another fault recovery method for the embodiment of the present application.Such as Fig. 3 Shown, fault recovery method includes step 301-304, specific as follows:
301, when the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is abnormal shape When state, the register value of the back-up registers of the destination register is obtained;
302, the destination register is restored according to predetermined manner using the register value of the back-up registers Operation receives data to be displayed by the destination register after recovery operation, and pass through the liquid crystal if being successfully recovered Display screen shows the data to be displayed;
If 303, restoring failure, repeatedly n times execute recovery operation, and N is the positive integer greater than 1;
If the continuous number for restoring failure is pre- greater than first 304, during the repetition n times execute recovery operation If number, then power down process is carried out to the liquid crystal display, and the destination register is marked, obtain target mark There is hardware fault for identifying the destination register in label, the target labels.
In this example, when restoring to destination register, if restoring failure, recovery action is repeated, when even When the continuous number for restoring failure is greater than the first preset times, then power down process is carried out to liquid crystal display, and deposit to target Device is marked, and obtains target labels, can need to tie up failure after user determines that electronic equipment has already appeared failure When repairing, system can directly be determined to have already appeared the register of hardware fault according to target labels, so as to more quickly And reparation operation accurately is carried out to the destination register of failure.
Referring to Fig. 4, Fig. 4 provides the flow diagram of another fault recovery method for the embodiment of the present application.Such as Fig. 4 Shown, fault recovery method includes step 401-405, specific as follows:
401, when the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is abnormal shape When state, the register value of the back-up registers of the destination register is obtained;
402, the destination register is restored according to predetermined manner using the register value of the back-up registers Operation receives data to be displayed by the destination register after recovery operation, and pass through the liquid crystal if being successfully recovered Display screen shows the data to be displayed;
If 403, the state of the destination register is that the number of abnormality is greater than the second preset times, by the mesh Scalar register file is labeled as high-risk register;
Optionally, the second preset times are greater than the first preset times, and the first preset times are to connect to destination register When continuous recovery, the condition of power down process is carried out to liquid crystal display, that is, the continuous number for restoring failure is greater than first default time Number then carries out power down process to the liquid crystal display.
404, recovery operation according to the preset time interval, is carried out to the high-risk register;
Wherein, prefixed time interval can be longer time interval, such as 24 hours, 26 hours etc..
If 405, restoring failure, the high-risk register is marked, target labels are obtained.
It, can be in the shape of register by restoring according to the preset time interval to high-risk register in this example State be abnormality when timely register can be restored, and if to the register carry out restore failure when, can Criterion register is the register for hardware fault occur, from without executing to the continuous recovery process of the register, so as to Enough energy consumptions for reducing electronic equipment to a certain extent.
Referring to Fig. 5, Fig. 5 provides the flow diagram of another fault recovery method for the embodiment of the present application.Such as Fig. 5 Shown, fault recovery method includes step 501-508, specific as follows:
501, when the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is abnormal shape When state, the register value of the back-up registers of the destination register is obtained;
502, the destination register is restored according to predetermined manner using the register value of the back-up registers Operation receives data to be displayed by the destination register after recovery operation, and pass through the liquid crystal if being successfully recovered Display screen shows the data to be displayed;
503, from the target area for obtaining generation touch control operation in the liquid crystal display in the destination register;
504, if it is determined that the total number of the pixel in the target area is less than default value, it is determined that go out the liquid The touch control operation that crystal display screen occurs in the target area is the interference operation of electrostatic triggering, and by the destination register State be determined as abnormality;
505, the security level of the display data in the target area is obtained, the display data include web page address;
If 506, the security level of the display data is lower than preset security level, intercept to the web page address Access;
507, to using the target user of the electronic equipment to send access request, the access request includes the webpage Address;
508, the access response that the target user sends is received, if determining to allow to access institute according to the access response Web page address is stated, then is accessed to the web page address.
In this example, by liquid crystal display occur touch control operation region determine, when be determined as electrostatic trigger Interference operation when, then obtain the display data in target area, judge show data security level, be lower than in security level When preset security level, access request is sent to target user, when the access response and judgement for receiving target user's transmission When allowing to access the web page address out, access to the web page address, thus, false triggering operation is being generated because of electrostatic interference When, safety evaluation can be carried out to the display content in display area, when safety is lower, send access to user and ask It asks, therefore, false triggering can generated, by determining security level, and grasped accordingly according to security level Make, the safety of electronic equipment can be promoted to a certain extent.
It is consistent with above-described embodiment, referring to Fig. 6, Fig. 6 is the knot of a kind of electronic equipment provided by the embodiments of the present application Structure schematic diagram, as shown, the electronic equipment includes processor, memory, communication interface and one or more program, In, said one or multiple programs are stored in above-mentioned memory, and are configured to be executed by above-mentioned processor, above procedure Including the instruction for executing following steps;
When the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is abnormality, Obtain the register value of the back-up registers of the destination register;
Recovery operation is carried out to the destination register according to predetermined manner using the register value of the back-up registers, If being successfully recovered, data to be displayed is received by the destination register after recovery operation, and pass through the liquid crystal display Screen shows the data to be displayed.
In this example, when the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is different When normal state, the register value of the back-up registers of the destination register is obtained, using the register of the back-up registers Value carries out recovery operation to the destination register according to predetermined manner, if being successfully recovered, by described after recovery operation Destination register receives data to be displayed, and shows the data to be displayed by the liquid crystal display, accordingly, with respect to existing Have in scheme, whether normally determines whether that electrostatic interference occurs using the register value of cycle detection register, thus to mesh Scalar register file is restored, and only when the state of register is abnormality, obtains the register value of back-up registers, and pass through The register value restores destination register, avoids cycle detection, so as to reduce electronic equipment to a certain degree Power consumption.
In a possible example, the instruction in described program is also particularly useful for operation below executing:
If restoring failure, repeatedly n times execute recovery operation, and N is the positive integer greater than 1;
If the continuous number for restoring failure is greater than first default time during the repetition n times execute recovery operation Number then carries out power down process to the liquid crystal display, and the destination register is marked, and obtains target labels, There is hardware fault for identifying the destination register in the target labels.
In a possible example, the instruction in described program is also particularly useful for operation below executing:
If the number that the state of the destination register is abnormality is greater than the second preset times, the target is posted Storage is labeled as high-risk register, wherein second preset times are greater than first preset times;
According to the preset time interval, recovery operation is carried out to the high-risk register;
If restoring failure, the high-risk register is marked, the target labels are obtained.
In a possible example, the instruction in described program is also particularly useful for operation below executing:
From the target area for obtaining generation touch control operation in the liquid crystal display in the destination register;
If it is determined that the total number of the pixel in the target area is less than default value, it is determined that go out the liquid crystal The touch control operation that display screen occurs in the target area is the interference operation of electrostatic triggering, and by the shape of the destination register State is determined as abnormality.
In a possible example, the instruction in described program is also particularly useful for operation below executing:
The security level of the display data in the target area is obtained, the display data include web page address;
If the security level of the display data is lower than preset security level, the visit to the web page address is intercepted It asks;
To using the target user of the electronic equipment to send access request, the access request includes the webpage Location;
The access response that the target user sends is received, if determining to allow to access the net according to the access response Page address then accesses to the web page address.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Consistent with the above, referring to Fig. 7, Fig. 7 provides a kind of structure of local fault recovery device for the embodiment of the present application Schematic diagram.Applied to electronic equipment, local fault recovery device includes acquiring unit 701 and recovery unit 702, wherein
Acquiring unit 701, for when the destination register in the integrated circuit of the liquid crystal display of the electronic equipment When state is abnormality, the register value of the back-up registers of the destination register is obtained;
Recovery unit 702, for being posted according to predetermined manner the target using the register value of the back-up registers Storage carries out recovery operation, if being successfully recovered, receives data to be displayed by the destination register after recovery operation, and The data to be displayed is shown by the liquid crystal display.
In this example, when the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is different When normal state, the register value of the back-up registers of the destination register is obtained, using the register of the back-up registers Value carries out recovery operation to the destination register according to predetermined manner, if being successfully recovered, by described after recovery operation Destination register receives data to be displayed, and shows the data to be displayed by the liquid crystal display, accordingly, with respect to existing Have in scheme, whether normally determines whether that electrostatic interference occurs using the register value of cycle detection register, thus to mesh Scalar register file is restored, and only when the state of register is abnormality, obtains the register value of back-up registers, and pass through The register value restores destination register, avoids cycle detection, so as to reduce electronic equipment to a certain degree Power consumption.
Optionally, local fault recovery device also particularly useful for:
If restoring failure, repeatedly n times execute recovery operation, and N is the positive integer greater than 1;
If the continuous number for restoring failure is greater than first default time during the repetition n times execute recovery operation Number then carries out power down process to the liquid crystal display, and the destination register is marked, and obtains target labels, There is hardware fault for identifying the destination register in the target labels.
Optionally, local fault recovery device also particularly useful for:
If the number that the state of the destination register is abnormality is greater than the second preset times, the target is posted Storage is labeled as high-risk register, wherein second preset times are greater than first preset times;
According to the preset time interval, recovery operation is carried out to the high-risk register;
If restoring failure, the high-risk register is marked, the target labels are obtained.
Optionally, local fault recovery device also particularly useful for:
From the target area for obtaining generation touch control operation in the liquid crystal display in the destination register;
If it is determined that the total number of the pixel in the target area is less than default value, it is determined that go out the liquid crystal The touch control operation that display screen occurs in the target area is the interference operation of electrostatic triggering, and by the shape of the destination register State is determined as abnormality.
Optionally, local fault recovery device also particularly useful for:
The security level of the display data in the target area is obtained, the display data include web page address;
If the security level of the display data is lower than preset security level, the visit to the web page address is intercepted It asks;
To using the target user of the electronic equipment to send access request, the access request includes the webpage Location;
The access response that the target user sends is received, if determining to allow to access the net according to the access response Page address then accesses to the web page address.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, it is as any in recorded in above method embodiment which execute computer A kind of some or all of fault recovery method step.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer readable storage medium of machine program, the computer program make computer execute such as above method embodiment Some or all of any fault recovery method of middle record step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, applying for that each functional unit in bright each embodiment can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also be realized in the form of software program module.
If the integrated unit is realized in the form of software program module and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (read-only memory, ROM), random access memory The various media that can store program code such as (random access memory, RAM), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory It may include: flash disk, read-only memory, random access device, disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of fault recovery method, which is characterized in that be applied to electronic equipment, which comprises
When the state of the destination register in the integrated circuit of the liquid crystal display of the electronic equipment is abnormality, obtain The register value of the back-up registers of the destination register;
Recovery operation is carried out to the destination register according to predetermined manner using the register value of the back-up registers, if extensive Multiple success, then receive data to be displayed by the destination register after recovery operation, and pass through the liquid crystal display screen display Show the data to be displayed.
2. the method according to claim 1, wherein the method also includes:
If restoring failure, repeatedly n times execute recovery operation, and N is the positive integer greater than 1;
If the continuous number for restoring failure is greater than the first preset times, then during the repetition n times execute recovery operation Power down process is carried out to the liquid crystal display, and the destination register is marked, obtains target labels, the mesh There is hardware fault for identifying the destination register in mark label.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If the number that the state of the destination register is abnormality is greater than the second preset times, by the destination register Labeled as high-risk register, wherein second preset times are greater than first preset times;
According to the preset time interval, recovery operation is carried out to the high-risk register;
If restoring failure, the high-risk register is marked, the target labels are obtained.
4. method according to claim 1 or 2, which is characterized in that the method also includes:
From the target area for obtaining generation touch control operation in the liquid crystal display in the destination register;
If it is determined that the total number of the pixel in the target area is less than default value, it is determined that go out the liquid crystal display It is operated in the interference that the touch control operation that the target area occurs is electrostatic triggering, and the state of the destination register is true It is set to abnormality.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
The security level of the display data in the target area is obtained, the display data include web page address;
If the security level of the display data is lower than preset security level, the access to the web page address is intercepted;
To using the target user of the electronic equipment to send access request, the access request includes the web page address;
The access response that the target user sends is received, if determining with allowing to access the webpage according to the access response Location then accesses to the web page address.
6. a kind of local fault recovery device, which is characterized in that be applied to electronic equipment, described device includes:
Acquiring unit is different for the state when the destination register in the integrated circuit of the liquid crystal display of the electronic equipment When normal state, the register value of the back-up registers of the destination register is obtained;
Recovery unit carries out the destination register according to predetermined manner for the register value using the back-up registers Recovery operation receives data to be displayed by the destination register after recovery operation, and by described if being successfully recovered Liquid crystal display shows the data to be displayed.
7. device according to claim 6, which is characterized in that described device is also used to:
If restoring failure, repeatedly n times execute recovery operation, and N is the positive integer greater than 1;
If the continuous number for restoring failure is greater than the first preset times, then during the repetition n times execute recovery operation Power down process is carried out to the liquid crystal display, and the destination register is marked, obtains target labels, the mesh There is hardware fault for identifying the destination register in mark label.
8. device according to claim 7, which is characterized in that described device is also used to:
If the number that the state of the destination register is abnormality is greater than the second preset times, by the destination register Labeled as high-risk register, wherein second preset times are greater than first preset times;
According to the preset time interval, recovery operation is carried out to the high-risk register;
If restoring failure, the high-risk register is marked, the target labels are obtained.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet It includes for executing the instruction such as the step in method described in any one of claim 1 to 5.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute such as method described in any one of claim 1 to 5.
CN201811572445.1A 2018-12-21 2018-12-21 Fault recovery method and Related product Pending CN109739692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811572445.1A CN109739692A (en) 2018-12-21 2018-12-21 Fault recovery method and Related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811572445.1A CN109739692A (en) 2018-12-21 2018-12-21 Fault recovery method and Related product

Publications (1)

Publication Number Publication Date
CN109739692A true CN109739692A (en) 2019-05-10

Family

ID=66361050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811572445.1A Pending CN109739692A (en) 2018-12-21 2018-12-21 Fault recovery method and Related product

Country Status (1)

Country Link
CN (1) CN109739692A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703943A (en) * 2019-09-29 2020-01-17 广东美的制冷设备有限公司 Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium
CN113505013A (en) * 2021-09-07 2021-10-15 苏州浪潮智能科技有限公司 Electrostatic interference processing method, device, equipment and readable storage medium
CN113696729A (en) * 2021-08-30 2021-11-26 电装光庭汽车电子(武汉)有限公司 Display safety control method and system of full liquid crystal instrument

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622150A (en) * 2012-02-22 2012-08-01 广东欧珀移动通信有限公司 Static eliminating method for touch screen
CN102830875A (en) * 2012-08-10 2012-12-19 广东欧珀移动通信有限公司 Method for improving electrostatic resistance of capacitive screen by filtering algorithm
US20150276847A1 (en) * 2012-10-10 2015-10-01 Freescale Semiconductor, Inc. Method and system for testing a semiconductor device against electrostatic discharge
US20150331508A1 (en) * 2014-05-16 2015-11-19 Apple Inc. Integrated silicon-oled display and touch sensor panel
CN106250257A (en) * 2016-07-27 2016-12-21 维沃移动通信有限公司 A kind of electrostatic restoration methods and mobile terminal
CN106294048A (en) * 2016-08-24 2017-01-04 昆山国显光电有限公司 The anti-static electricity interference method and device of display screen and display screen
CN106448597A (en) * 2016-10-31 2017-02-22 深圳天珑无线科技有限公司 Liquid crystal display and driving chip thereof
CN106502461A (en) * 2016-10-31 2017-03-15 广东欧珀移动通信有限公司 The method of touch screen state, device and mobile terminal before reduction electrostatic reset
CN106649017A (en) * 2016-12-30 2017-05-10 珠海市魅族科技有限公司 On screen display abnormality processing method and mobile terminal
CN107885406A (en) * 2016-09-30 2018-04-06 乐金显示有限公司 Touch liquid crystal display device and its manufacture method
CN108549587A (en) * 2018-03-28 2018-09-18 努比亚技术有限公司 display module monitoring method, mobile terminal and computer readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622150A (en) * 2012-02-22 2012-08-01 广东欧珀移动通信有限公司 Static eliminating method for touch screen
CN102830875A (en) * 2012-08-10 2012-12-19 广东欧珀移动通信有限公司 Method for improving electrostatic resistance of capacitive screen by filtering algorithm
US20150276847A1 (en) * 2012-10-10 2015-10-01 Freescale Semiconductor, Inc. Method and system for testing a semiconductor device against electrostatic discharge
US20150331508A1 (en) * 2014-05-16 2015-11-19 Apple Inc. Integrated silicon-oled display and touch sensor panel
CN106250257A (en) * 2016-07-27 2016-12-21 维沃移动通信有限公司 A kind of electrostatic restoration methods and mobile terminal
CN106294048A (en) * 2016-08-24 2017-01-04 昆山国显光电有限公司 The anti-static electricity interference method and device of display screen and display screen
CN107885406A (en) * 2016-09-30 2018-04-06 乐金显示有限公司 Touch liquid crystal display device and its manufacture method
CN106448597A (en) * 2016-10-31 2017-02-22 深圳天珑无线科技有限公司 Liquid crystal display and driving chip thereof
CN106502461A (en) * 2016-10-31 2017-03-15 广东欧珀移动通信有限公司 The method of touch screen state, device and mobile terminal before reduction electrostatic reset
CN106649017A (en) * 2016-12-30 2017-05-10 珠海市魅族科技有限公司 On screen display abnormality processing method and mobile terminal
CN108549587A (en) * 2018-03-28 2018-09-18 努比亚技术有限公司 display module monitoring method, mobile terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
方霞 等: "基于数据流分析的寄存器参数恢复方法", 《计算机工程》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703943A (en) * 2019-09-29 2020-01-17 广东美的制冷设备有限公司 Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium
CN110703943B (en) * 2019-09-29 2024-03-19 广东美的制冷设备有限公司 Electrostatic protection method and device for liquid crystal panel, electronic equipment and storage medium
CN113696729A (en) * 2021-08-30 2021-11-26 电装光庭汽车电子(武汉)有限公司 Display safety control method and system of full liquid crystal instrument
CN113505013A (en) * 2021-09-07 2021-10-15 苏州浪潮智能科技有限公司 Electrostatic interference processing method, device, equipment and readable storage medium
CN113505013B (en) * 2021-09-07 2021-11-19 苏州浪潮智能科技有限公司 Electrostatic interference processing method, device, equipment and readable storage medium
US12013744B2 (en) 2021-09-07 2024-06-18 Inspur Suzhou Intelligent Technology Co., Ltd. Electrostatic interference processing method, apparatus, and device, and readable storage medium

Similar Documents

Publication Publication Date Title
CN102129372B (en) Root cause problem identification through event correlation
CN109739692A (en) Fault recovery method and Related product
CN105897947B (en) The Network Access Method and device of mobile terminal
CN106778260A (en) Attack detection method and device
CN114095567B (en) Data access request processing method and device, computer equipment and medium
CN104836696B (en) A kind of detection method and device of IP address
CN104866296A (en) Data processing method and device
CN109738719A (en) Electro-static Driven Comb ESD detection method and Related product
CN108667840A (en) Injection loophole detection method and device
WO2019070341A1 (en) Application regression detection in computing systems
CN106663041A (en) Recovering usability of cloud based service from system failure
US20130198362A1 (en) System for Identifying a Server to be Decommissioned
CN107844374A (en) The task executing method of terminal device, device, electronic equipment, storage medium
CN115277566A (en) Load balancing method and device for data access, computer equipment and medium
WO2016175851A1 (en) Automatic task tracking
CN106656636A (en) Cloud platform fault detection method and device
CN107135199B (en) Method and device for detecting webpage backdoor
CN109714205A (en) A kind of guard method of BIOS dual redundant, device and computer for whitepack interchanger
CN103634167B (en) Security configuration check method and system for target hosts in cloud environment
CN105303373B (en) A kind of anti-detection circuit of frequency and method
CN103186435B (en) System mistake disposal route and the server system using the method
CN107294905A (en) A kind of method and device for recognizing user
CN108986428A (en) The fire alarm method and Related product in warehouse
CN103731315A (en) Server failure detecting method
CN108270921A (en) The detection method and Related product of drop information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510