CN106570404B - It is a kind of to prevent the unexpected method and system for modifying LCD setting - Google Patents

It is a kind of to prevent the unexpected method and system for modifying LCD setting Download PDF

Info

Publication number
CN106570404B
CN106570404B CN201610953614.0A CN201610953614A CN106570404B CN 106570404 B CN106570404 B CN 106570404B CN 201610953614 A CN201610953614 A CN 201610953614A CN 106570404 B CN106570404 B CN 106570404B
Authority
CN
China
Prior art keywords
write
lcd
rule
register
registers
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
CN201610953614.0A
Other languages
Chinese (zh)
Other versions
CN106570404A (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.)
Quzhou Dongjukang Photoelectric Technology Co ltd
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201610953614.0A priority Critical patent/CN106570404B/en
Publication of CN106570404A publication Critical patent/CN106570404A/en
Application granted granted Critical
Publication of CN106570404B publication Critical patent/CN106570404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/572Secure firmware programming, e.g. of basic input output system [BIOS]

Abstract

The unexpected method and system for modifying LCD setting are prevented the invention discloses a kind of, which comprises are listened to several LCD registers and are made write operation, obtain the first write-in rule that said write operation carries;Judge whether the first write-in rule and preset write-in rule are consistent;If inconsistent, said write operation is filtered.The present invention configures preset write-in rule by the write operation generated to terminal device, and the write operation for not carrying said write rule is defaulted as accidental operation and is filtered out.The write operation that LCD register can be made to execute in this way is what system generated, avoids the write operation made to LCD register surprisingly generated, and then solves the problems, such as that LCD setting causes LCD display abnormal due to by unexpected modify.

Description

It is a kind of to prevent the unexpected method and system for modifying LCD setting
Technical field
The present invention relates to intelligent terminal technical fields, in particular to a kind of to prevent the unexpected method for modifying LCD setting and be System.
Background technique
With the development of intelligent terminal technology, the intelligent terminal of touch screen is increasingly by the favor of user.Currently, intelligence is eventually The touch screen at end is mainly LCD display, and the display setting of the LCD display is usually by making write-in behaviour to LCD register Make and realize.But one layer of very thin protective film is only covered between existing LCD display screen and user's operation face, so that LCD display is highly susceptible to the influence of the electrostatic in external environment, and LCD setting is caused surprisingly to be modified, and influences the aobvious of LCD Display screen function.For example, electrostatic when winter is dry in user hand is in the display screen for touching terminal device, electrostatic enters display In screen and generates control signal for making from write operation to LCD register, LCD register root is according to control signal execution phase The write operation answered, so that LCD setting is surprisingly modified.
Thus the prior art could be improved and improve.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the deficiencies of the prior art, providing one kind prevents unexpected modification LCD The method and system of setting, to solve the existing easy interference by electrostatic of LCD setting, LCD register under the action of electrostatic The value of write operation write error is executed, and makes LCD setting by bug patch, the problem for causing LCD display abnormal.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is as follows:
A method of prevent the unexpected LCD that modifies to be arranged comprising:
It listens to several LCD registers and makees write operation, obtain the first write-in rule that said write operation carries;
Judge whether the first write-in rule and preset write-in rule are consistent;
If inconsistent, said write operation is filtered.
It is described to prevent the unexpected method for modifying LCD setting, wherein the method also includes:
If consistent, said write operation is carried out to several LCD registers according to the first write-in rule.
It is described to prevent the unexpected method for modifying LCD setting, wherein described listen to several LCD registers makees write-in behaviour Make, obtains said write operation carries first and be written before rule further include: preset to LCD register and make write operation Write-in rule, specifically include:
It obtains the device identification of all LCD registers, and all devices mark is ranked up suitable to be written Sequence;
Said write rule is sequentially generated according to said write, wherein said write rule is every time according to said write Sequence carries out write operation at least two continuous LCD registers.
It is described to prevent the unexpected method for modifying LCD setting, wherein if described consistent, according to the first write-in rule Said write operation is carried out to several LCD registers to specifically include:
If consistent, several LCD registers are grouped according to the serial relation in said write sequence, and obtains respectively The number of every group of LCD register;
When the number is greater than 1, write operation is executed according to said write sequence;
When the number is equal to 1, the current value of the first adjacent LCD register of the LCD register is obtained;
Write operation is carried out to the LCD register and the first LCD register according to said write sequence, wherein The value of the first LCD register write-in is the current value.
It is described to prevent the unexpected method for modifying LCD setting, wherein described listen to several LCD registers makees write-in behaviour Make, obtain said write operation carries first and be written before rule further include:
When terminal device generate to several LCD registers carry out write operation when, according to several LCD registers with And preset write-in rule generates the first write-in rule, and the first write-in rule is configured in said write operation.
It is a kind of to prevent the unexpected system for modifying LCD setting comprising:
Module is obtained, makees write operation for listening to several LCD registers, obtain that said write operation carries the One write-in rule;
Judgment module, for judging whether the first write-in rule and preset write-in rule are consistent;
Filtering module, for when there is inconsistency, filtering said write to operate.
It is described to prevent the unexpected system for modifying LCD setting, further include:
Writing module, for when consistent, then carrying out institute to several LCD registers according to the first write-in rule State write operation.
It is described to prevent the unexpected system for modifying LCD setting, further include:
Presetting module, for presetting the write-in rule of write-in LCD register;
The presetting module specifically includes:
Sequencing unit is ranked up for obtaining the device identification of all LCD registers, and by all devices mark To be written sequence;
Generation unit, for being sequentially generated said write rule according to said write, wherein said write rule is each Write operation is carried out at least two continuous LCD registers according to said write sequence.
It is described to prevent the unexpected system for modifying LCD setting, wherein the write module specifically includes:
Grouped element is used for when consistent, by several LCD registers according to the serial relation in said write sequence Grouping, and the number of every group of LCD register is obtained respectively;
First execution unit, for executing write operation according to said write sequence when the number is greater than 1;
Acquiring unit, for obtaining the first adjacent LCD register of the LCD register when the number is equal to 1 Current value;
Second execution unit, for being write according to said write sequence to the LCD register and the first LCD register Enter operation, wherein the value of the first LCD register write-in is the current value.
It is described to prevent the unexpected system for modifying LCD setting, further include:
Configuration module, for when terminal device generate to several LCD registers carry out write operation when, if according to described Dry LCD register and preset write-in rule generate the first write-in rule, and described in the first write-in rule is configured at In write operation.
The utility model has the advantages that compared with prior art, the present invention provides the invention discloses one kind to prevent the unexpected LCD that modifies from setting The method and system set, which comprises listen to several LCD registers and make write operation, obtain said write operation The the first write-in rule carried;Judge whether the first write-in rule and preset write-in rule are consistent;If inconsistent, mistake Filter said write operation.The present invention configures preset write-in rule by the write operation generated to terminal device, will not carry The write operation of said write rule is defaulted as accidental operation and filters out.The write-in behaviour that LCD register can be made to execute in this way It is generated as system, avoids the write operation made to LCD register surprisingly generated, and then solved LCD and be arranged because of quilt The problem surprisingly modified and cause LCD display abnormal.
Detailed description of the invention
Fig. 1 is the flow chart provided by the invention for preventing the unexpected method for modifying LCD setting from preferably implementing.
Fig. 2 is the structure principle chart provided by the invention for preventing the unexpected system for modifying LCD setting.
Specific embodiment
The present invention provides a kind of method and system for preventing unexpected modification LCD setting, to make the purpose of the present invention, technical side Case and effect are clearer, clear, and the present invention is described in more detail as follows in conjunction with drawings and embodiments.It should be appreciated that Described herein specific examples are only used to explain the present invention, is not intended to limit the present invention.
In the present invention, using the suffix for indicating such as " module ", " component " or " unit " of element only for advantageous In explanation of the invention, there is no specific meanings for itself.Therefore, module ", " component " or " unit " can mixedly make With.
Terminal device can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.However, it will be understood by those skilled in the art that other than the element for being used in particular for mobile purpose, according to this hair The construction of bright embodiment can also apply to the terminal of fixed type.
With reference to the accompanying drawing, by the description of the embodiment, further explanation of the contents of the invention are made.
Fig. 1 is please referred to, Fig. 1 is the stream of the preferred embodiment provided by the invention for preventing the unexpected method for modifying LCD setting Cheng Tu.The described method includes:
S100, it listens to several LCD registers and makees write operation, obtain the first write-in rule that said write operation carries Then.
Specifically, several LCD registers are in the register for storing setting parameter of LCD display configuration One or more.The LCD display is the display screen of the terminal device with touch function.The LCD display is set Set is realized and making write operation to LCD register, wherein said write operation is referred to the progress of LCD register The operation of data is written.Said write operation is divided into two kinds, a kind of write-in behaviour generated for terminal device for modifying LCD setting Make, another kind is the write operation that LCD display receives electrostatic and surprisingly generates.
In the present embodiment, it in order to filter the write operation surprisingly generated due to electrostatic, is generated in terminal device It is the preset write-in rule of said write operative configuration when write operation.Therefore, described listen to is made to several LCD registers Write operation, obtaining before said write operates the first write-in rule carried to include:
S01, when terminal device generates the write operation carried out to several LCD registers, deposited according to several LCD Device and preset write-in rule generate the first write-in rule, and the first write-in rule is configured at said write operation It is interior.
Specifically, the preset write-in rule is to preset and be stored in terminal device.In the present embodiment, Said write rule can be to carry out write-in behaviour at least two continuous LCD registers according to preset write sequence every time Make.That is, said write rule includes write sequence and writing mode, said write sequence can be device identification Sequence, said write mode are at least to carry out write operation to two at least continuous LCD registers every time.First write-in Rule is corresponding for several LCD registers determined according to several LCD registers and preset write-in rule Write-in rule.
Illustratively, described when terminal device generates the write operation carried out to several LCD registers, if according to described Dry LCD register and preset write-in rule generate the first write-in rule, and described in the first write-in rule is configured at It can specifically include in write operation:
S001, when terminal device generates the write operation carried out to several LCD registers, obtain several LCD and post The device identification of all registers in storage;
S002, the device identification is ranked up according to the write sequence that default write-in rule carries to obtain first and write Enter sequence;
S003, the first write-in is generated according to the writing mode of first write sequence and the preset write-in rule Rule;
S004, the first write-in rule is configured in said write operation.
In the present embodiment, described listen to several LCD registers makees write operation, obtains said write operation and carries First write-in rule before can also include preset to LCD register make write operation write-in rule, specifically may be used To include:
All devices mark is ranked up to be written by S10, the device identification for obtaining all LCD registers Sequentially;
S20, said write rule is sequentially generated according to said write, wherein said write rule is every time according to described Write sequence carries out write operation at least two continuous LCD registers.
Specifically, in the step S10, the device identification refers to capableing of unique identification LCD register Identification information, for example, sequence code.The device identification is one-to-one relationship with the LCD register.Said write sequence Refer to that the sequencing of several LCD registers is written in write operation.In the present embodiment, said write sequence is to preset And be stored in a text file, when listening to write operation, it is suitable to obtain said write to directly acquire the text file Sequence improves the treatment effeciency of write operation without resetting every time.
In the step S10, described be ranked up all devices mark can be specific to be written sequence It include: that all devices mark is uniformly numbered first, so that corresponding one unique number of each device identification;Again by institute Number is stated to be arranged according to sequence from big to small or from small to large to obtain said write sequence, it is finally that said write is suitable Sequence is stored in a text file.For example, the device identification of all LCD registers is respectively as follows: R1, R2, R3 ... ...;It will be described Device identification carries out Unified number, so that each device identification uniquely corresponds to a number, e.g., corresponding 0001, the R2 of R1 is corresponding 0002, R3 corresponding 0003 ... ...;Create a text file, by it is described number according to from small to large be sequentially written in the text In file, it may be assumed that 0001,0002,0003 ... ....The number order saved in the text file is said write sequence.When So, in practical applications, directly all device identifications can also be ranked up according to other sequences, then will sequence Device identification afterwards is written in a text file.For example, the device identification of all LCD registers be respectively R1, R2, R3, R4, 5 device identifications are directly ranked up by R5 are as follows: R3, R2, R5, R2, R4, and the sequence of the device identification is saved Into a text file, the sequence of the preservation is said write sequence, i.e. R3 ranked first position, and R2 claps second, with such It pushes away.
It is described said write rule is sequentially generated according to said write to refer specifically to according to institute in the step S20 It states the serial relation in write sequence between the location of all LCD registers and each LCD register and generates said write Rule.Said write rule is to carry out write operation at least two continuous LCD registers according to said write sequence every time. For example, the corresponding LCD register of number 0001 makes number one, the corresponding LCD register of number 0002 comes second ... The corresponding LCD register of number 0007 comes the 7th, and the corresponding LCD register of number 0008 comes the 8th, number 0009 Corresponding LCD register comes the 9th ..., and so on, the position of all LCD registers can be determined by the sequence It sets.Wherein, described first and second LCD register are continuous two LCD registers, described 7th, the 8th and 9th LCD register is continuous three LCD registers.According to said write rule, in write-once operation, Ke Yiyi It secondary write-in first LCD register and second LCD register and/or is sequentially written in the 7th, the 8th and the 9th LCD and posts Storage.
It is worth explanation, the step S01 is between the step S20 and the step S100.The i.e. described terminal is set It is posted after the completion of the preset write-in rule setting generating to several LCD for the preset write-in rule is preset When storage makees write operation, the first write-in rule is configured in said write operation, so that when listening to several When LCD register makees write operation, the first write-in rule that available said write operation carries, in order to which subsequent basis obtains Rule and the preset corresponding relationship being written between rule is written to filter unexpected write operation in first taken.
S200, judge whether the first write-in rule and preset write-in rule are consistent.
Specifically, described to judge the first write-in rule and preset write-in rule whether unanimously specially by described the Compared with one write-in rule carries out one by one with preset write-in rule, determine whether the first write-in rule meets preset write-in rule Then.The default write-in rule is to carry out write-in behaviour at least two continuous LCD registers according to said write sequence every time Make.Judge whether the first write-in rule unanimously can specifically include with preset write-in rule correspondingly, described:
S201, the first write sequence that the first write-in rule carries is obtained, and judges that first write sequence is The no preset write sequence for meeting preset write-in rule and carrying;
S202, when first write sequence meets preset write sequence, determine it is described first write-in rule carry To LCD register carry out writing mode;
S203, judge whether said write mode is that at least two continuous LCD registers execute write operation every time;
S204, when to be, determine the first write-in rule with preset write-in rule unanimously;If it has not, then determining The first write-in rule and preset write-in rule are inconsistent.
Specifically, described to judge whether first write sequence meets preset write-in rule in the step 201 The process of the preset write sequence then carried may include: to obtain setting for all LCD registers in first write sequence The first order sequence of standby mark;By it is described put in order in the preset write sequence all devices identify arrangement it is suitable Sequence is compared, and judges whether the first order sequence meets putting in order in the preset write sequence;If meeting, Then follow the steps S202;If not meeting, directly determine that the first write-in rule and preset write-in rule are inconsistent.
If S300, inconsistent, said write operation is filtered.
Specifically, the filtering said write operation, which refers to operating said write, deletes, and does not execute described write Enter operation.It filters out in this way, realizing configured with the write operation inconsistent with the preset write-in rule, so that described write Entering operation can not modify to the setting of LCD, be effectively reduced LCD and be arranged by the probability of bug patch.
In the present embodiment, the method also includes:
If S400, consistent, said write behaviour are carried out to several LCD registers according to the first write-in rule Make.
Specifically, since said write rule provides that write-in must be sequentially written at least two companies according to said write every time Continuous LCD register, but in practical applications, it is understood that there may be a LCD register or write-in need to be only written in write operation The operation LCD register to be written is discrete situation.Therefore, it is posted in one LCD register of write-in or discrete LCD When storage, in order to make single LCD register can satisfy said write rule, it is adjacent to need to obtain one LCD register LCD register value, be then written according still further to write sequence and one post LCD storage and LCD register adjacent thereto.
Illustratively, if it is described consistent, according to the first write-in rule to described in several LCD registers progress Write operation specifically includes:
If S401, consistent, several LCD registers are grouped according to the serial relation in said write sequence, and point The number of every group of LCD register is not obtained;
S402, when the number be greater than 1 when, according to said write sequence execute write operation;
S403, when the number be equal to 1 when, obtain the current value of the first adjacent LCD register of the LCD register;
S404, write operation is carried out to the LCD register and the first LCD register according to said write sequence, Wherein, the value of the first LCD register write-in is the current value.
Specifically, in the step S401, what the serial relation grouping according in said write sequence referred to It is that continuous LCD register is divided into one group according to said write sequence, discontinuous LCD register is respectively divided into one group. The number is 1 or the value greater than 1, if a certain group of number is 1,1 LCD register of the grouping is several with remaining LCD register is discontinuous;If a certain group of number is the value greater than 1, the grouping includes described several continuous LCD Register.
In the step S402, when the number is greater than 1, the grouping is by least two continuous LCD registers Composition will need the value being written to be sequentially written in described at least two continuous LCD registers in sequence.
In the step S403 and S404, when the number is equal to 1, the grouping only includes a LCD register. The first LCD register refers to an adjacent LCD register of the LCD register.It can be the LCD register Adjacent previous position LCD register, or the adjacent latter position LCD register of the LCD register.In the present embodiment In, the adjacent previous position LCD register of the LCD register is set by the first LCD register.Due to making number one LCD register adjacent previous position LCD register is not present, therefore when the LCD register makes number one, described the One LCD register is the adjacent latter position LCD register of the LCD register.The current value is the first LCD register Currently stored value.
It is described that write operation is carried out to the LCD register and the first LCD register according to said write sequence, In, the value of the first LCD register write-in is that the current value specifically includes: judging whether the LCD register comes the One;If the LCD register makes number one, the LCD first is written into the value for needing to be written according to said write sequence Register, then the first LCD register is written into the current value;If the LCD register does not make number one, according to First current value is written in the first LCD register for said write sequence, then the LCD is written in the value of the write-in of needs and is posted In storage.In this way, being deposited by reading the current value of the first LCD register using the current value as the first LCD Device needs the value being written, and so that it is formed one group of continuous two LCD register with the LCD register and is executed in sequence and writes Enter operation, realizes the value for changing the LCD register while not changing the value of the first LCD register.
Said write is operated below by a specific embodiment and is further illustrated: several LCD register packets It includes: 0001,0002,0005,0007,0008,0009, since 0002 and 0005 is discontinuous, 0005 and 0007 is discontinuous, therefore will Several registers are divided into three groups, are respectively as follows: 0001,0002 for first group, and 0005 is second group, and 0007,0008,0009 For third group;Then the number of first group of LCD register is 2, and it is 3 that second group, which is the 1, the 3rd group, illustrates that described first group has 2 A continuous LCD register group is at described second group only includes 1 LCD register, and the third group is posted by 3 continuous LCD Storage composition.Due to described first group and third group be by least two continuous LCD register groups at, be written When, directly the value being written will be needed to be sequentially written in several continuous LCD registers according to write sequence.That is, writing It is fashionable, it is sequentially written in 0001 and 0002 value in sequence, in sequence the value of write-once 0007,0008 and 0009.It is writing When entering 0005, described 0005 the first LCD register, i.e., 0004 value, then according to write sequence write-once are first obtained 0004,0005.It is worth noting that each group is also to write according to described when several LCD registers are grouped write-in Enter sequence be written, i.e., be first written 0001,0002 in first group, write-in second group 0005, be ultimately written third group 0007,0008 and 0009.
The unexpected system for modifying LCD setting is prevented the present invention also provides a kind of, as described in Figure 2 comprising:
Module 100 is obtained, makees write operation for listening to several LCD registers, said write operation is obtained and carries First write-in rule;
Judgment module 200, for judging whether the first write-in rule and preset write-in rule are consistent;
Filtering module 300, for when there is inconsistency, filtering said write to operate.
It is described to prevent the unexpected system for modifying LCD setting, further include:
Writing module, for when consistent, then carrying out institute to several LCD registers according to the first write-in rule State write operation.
It is described to prevent the unexpected system for modifying LCD setting, further include:
Presetting module, for presetting the write-in rule of write-in LCD register;
The presetting module specifically includes:
Sequencing unit is ranked up for obtaining the device identification of all LCD registers, and by all devices mark To be written sequence;
Generation unit, for being sequentially generated said write rule according to said write, wherein said write rule is each Write operation is carried out at least two continuous LCD registers according to said write sequence.
It is described to prevent the unexpected system for modifying LCD setting, wherein the write module specifically includes:
Grouped element is used for when consistent, by several LCD registers according to the serial relation in said write sequence Grouping, and the number of every group of LCD register is obtained respectively;
First execution unit, for executing write operation according to said write sequence when the number is greater than 1;
Acquiring unit, for obtaining the first adjacent LCD register of the LCD register when the number is equal to 1 Current value;
Second execution unit, for being write according to said write sequence to the LCD register and the first LCD register Enter operation, wherein the value of the first LCD register write-in is the current value.
It is described to prevent the unexpected system for modifying LCD setting, further include:
Configuration module, for when terminal device generate to several LCD registers carry out write operation when, if according to described Dry LCD register and preset write-in rule generate the first write-in rule, and described in the first write-in rule is configured at In write operation.
In embodiment provided by the present invention, it should be understood that disclosed system and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical 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, the functional units in various embodiments of the present invention may be integrated into 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 realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (8)

1. a kind of prevent the unexpected method for modifying LCD setting, characterized in that it comprises:
It listens to several LCD registers and makees write operation, obtain the first write-in rule that said write operation carries;
Judge whether the first write-in rule and preset write-in rule are consistent;
If inconsistent, said write operation is filtered;
Described listen to several LCD registers makees write operation, obtains the first write-in rule that said write operation carries Before further include: the write-in rule for making write operation to LCD register is preset, is specifically included:
The device identification of all LCD registers is obtained, and all device identifications are ranked up to be written sequence;
Said write rule is sequentially generated according to said write, wherein said write rule is every time according to said write sequence Write operation is carried out at least two continuous LCD registers.
2. preventing the unexpected method for modifying LCD setting according to claim 1, which is characterized in that the method also includes: if Unanimously, then said write operation is carried out to several LCD registers according to the first write-in rule.
3. preventing the unexpected method for modifying LCD setting according to claim 2, which is characterized in that if described consistent, according to The first write-in rule carries out said write operation to several LCD registers and specifically includes:
If consistent, several LCD registers are grouped according to the serial relation in the sequence of said write, and obtains respectively The number of every group of LCD register;
When the number is greater than 1, write operation is executed according to the sequence of said write;
When the number is equal to 1, the current value of the first adjacent LCD register of the LCD register is obtained;
Write operation is carried out to the LCD register and the first LCD register according to said write sequence, wherein described The value of first LCD register write-in is the current value.
4. preventing the unexpected method for modifying LCD setting according to claim 1, which is characterized in that described to listen to several LCD register makees write operation, obtains said write operation carries first and is written before rule further include:
When terminal device generates the write operation carried out to several LCD registers, according to several LCD registers and in advance If write-in rule generate first write-in rule, and by it is described first write-in rule be configured at said write operation in.
5. a kind of prevent the unexpected system for modifying LCD setting, characterized in that it comprises:
Module is obtained, makees write operation for listening to several LCD registers, said write operation carries first is obtained and writes Enter rule;
Judgment module, for judging whether the first write-in rule and preset write-in rule are consistent;
Filtering module, for when there is inconsistency, filtering said write to operate;
Presetting module, for presetting the write-in rule of write-in LCD register;
The presetting module specifically includes:
Sequencing unit is ranked up for obtaining the device identification of all LCD registers, and by all device identifications to obtain To write sequence;
Generation unit, for according to said write be sequentially generated said write rule, wherein said write rule be every time according to Said write sequence carries out write operation at least two continuous LCD registers.
6. preventing the unexpected system for modifying LCD setting according to claim 5, which is characterized in that its further include:
Writing module, for carrying out said write to several LCD registers according to the first write-in rule when consistent Operation.
7. preventing the unexpected system for modifying LCD setting according to claim 6, which is characterized in that the write module is specific Include:
Grouped element, for when consistent, several LCD registers to be divided according to the serial relation in the sequence of said write Group, and the number of every group of LCD register is obtained respectively;
First execution unit, for executing write operation according to the sequence of said write when the number is greater than 1;
Acquiring unit, for obtaining the current of the first adjacent LCD register of the LCD register when the number is equal to 1 Value;
Second execution unit, for carrying out write-in behaviour to the LCD register and the first LCD register according to said write sequence Make, wherein the value of the first LCD register write-in is the current value.
8. preventing the unexpected system for modifying LCD setting according to claim 5, which is characterized in that its further include:
Configuration module, for when terminal device generate to several LCD registers carry out write operation when, according to described several LCD register and preset write-in rule generate the first write-in rule, and the first write-in rule is configured at described write Enter in operation.
CN201610953614.0A 2016-11-03 2016-11-03 It is a kind of to prevent the unexpected method and system for modifying LCD setting Active CN106570404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610953614.0A CN106570404B (en) 2016-11-03 2016-11-03 It is a kind of to prevent the unexpected method and system for modifying LCD setting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610953614.0A CN106570404B (en) 2016-11-03 2016-11-03 It is a kind of to prevent the unexpected method and system for modifying LCD setting

Publications (2)

Publication Number Publication Date
CN106570404A CN106570404A (en) 2017-04-19
CN106570404B true CN106570404B (en) 2019-11-26

Family

ID=58535251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610953614.0A Active CN106570404B (en) 2016-11-03 2016-11-03 It is a kind of to prevent the unexpected method and system for modifying LCD setting

Country Status (1)

Country Link
CN (1) CN106570404B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739673B (en) * 2018-12-05 2023-05-09 新华三技术有限公司合肥分公司 Register write-in protection method, logic device and communication equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453514A (en) * 2008-08-27 2009-06-10 嘉兴闻泰通讯科技有限公司 Debugging method for mobile phone liquid crystal screen
WO2015029461A1 (en) * 2013-08-28 2015-03-05 シャープ株式会社 Display device and method for driving same
TWI496125B (en) * 2004-05-27 2015-08-11 Synaptics Display Devices Gk Liquid crystal display drive
CN106027577A (en) * 2016-08-04 2016-10-12 四川无声信息技术有限公司 Exception access behavior detection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI496125B (en) * 2004-05-27 2015-08-11 Synaptics Display Devices Gk Liquid crystal display drive
CN101453514A (en) * 2008-08-27 2009-06-10 嘉兴闻泰通讯科技有限公司 Debugging method for mobile phone liquid crystal screen
WO2015029461A1 (en) * 2013-08-28 2015-03-05 シャープ株式会社 Display device and method for driving same
CN106027577A (en) * 2016-08-04 2016-10-12 四川无声信息技术有限公司 Exception access behavior detection method and device

Also Published As

Publication number Publication date
CN106570404A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
US20180188838A1 (en) Method of disposing touch sensor for enhancing touch accuracy and electronic device using the same
CN104573093B (en) A kind of method and apparatus for managing file directory
CN103729210B (en) It is a kind of to realize that a brush machine bag supports the method and device of multiple types intelligent terminal
CN106101169A (en) A kind of terminal and data reporting method
CN105094707A (en) Method and device for storing and reading data
CN105874682A (en) Charging method and charging apparatus for electronic device
CN103412822A (en) Operation method of non-volatile RAM, data operation method and relevant device
CN107193598A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN110825807B (en) Data interactive conversion method, device, equipment and medium based on artificial intelligence
EP3007033B1 (en) Electronic device adopting key-waterproof structure and method for waterproofing key thereof
CN104714805B (en) A kind of method and device of the setting menu of control application program
CN107480001A (en) System recovery method and device
CN109471626A (en) Page logic structure, page generation method, page data processing method and device
CN107729063A (en) Call method, device and the terminal of SDK
CN108804175A (en) Multilingual adaptation method, mobile terminal and computer readable storage medium
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN103885756A (en) Intelligent terminal basic application functional configuration method, implementing method and device thereof
CN112148337A (en) Firmware upgrading method and device
CN106570404B (en) It is a kind of to prevent the unexpected method and system for modifying LCD setting
CN105718356A (en) Device and method for counting electric energy use time
CN108920704A (en) File access pattern method, file restoring device and mobile terminal
CN108762983A (en) Multi-medium data restoration methods and device
CN108184210A (en) A kind of multimode intelligent wireless communication system and its implementation based on multi-internet integration
CN108038171A (en) Method for writing data, device and data server
CN108490824B (en) Intelligent electric appliance control method, device and mobile terminal

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20191030

Address after: 10 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5

Applicant after: TCL mobile communication technology (Ningbo) Co.,Ltd.

Address before: 516006 Guangdong province Huizhou City Zhongkai high tech Zone and seven West Road No. 86

Applicant before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201026

Address after: 6 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5

Patentee after: TCL COMMUNICATION (NINGBO) Co.,Ltd.

Address before: 10 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5

Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230721

Address after: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province

Patentee after: Xiamen Jiupin sesame Information Technology Co.,Ltd.

Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231111

Address after: 2nd to 3rd floors, Building 1, No. 1-1 Liushan Road, Hangbu Town, Kecheng District, Quzhou City, Zhejiang Province, 324100

Patentee after: Quzhou Dongjukang Photoelectric Technology Co.,Ltd.

Address before: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province

Patentee before: Xiamen Jiupin sesame Information Technology Co.,Ltd.