The content of the invention
The technical problem to be solved in the present invention is, for the deficiencies in the prior art, there is provided one kind prevents unexpected modification LCD
The method and system of setting, are easily disturbed, the LCD depositors in the presence of electrostatic with solving existing LCD settings by electrostatic
The value of write operation write error is performed, and LCD is arranged by bug patch, cause LCD to show abnormal problem.
In order to solve above-mentioned technical problem, the technical solution adopted in the present invention is as follows:
A kind of method for preventing unexpected modification LCD from arranging, it includes:
Listen to some LCD depositors and make write operation, obtain the first write rule that said write operation is carried;
Judge whether first write is regular consistent with default write rule;
If inconsistent, said write operation is filtered.
The method for preventing unexpected modification LCD from arranging, wherein, methods described also includes:
If consistent, said write operation is carried out to some LCD depositors according to the described first write rule.
The method for preventing unexpected modification LCD from arranging, wherein, described listening to some LCD depositors makees write behaviour
Make, obtain also includes before the first write rule that said write operation is carried:Pre-set to LCD depositors and make write operation
Write rule, it is specifically included:
The device identification of all LCD depositors is obtained, and all devices mark is ranked up to be written order;
Said write rule is sequentially generated according to said write, wherein, said write rule is for every time according to said write order
LCD depositors continuous at least two carry out write operation.
The method for preventing unexpected modification LCD from arranging, wherein, if described consistent, according to the described first write rule
Some LCD depositors are carried out with said write operation to specifically include:
If consistent, some LCD depositors are grouped according to the serial relation in said write order, and are obtained respectively per group
The number of LCD depositors;
When the number is more than 1, according to said write order write operation is performed;
When the number is equal to 1, the currency of the adjacent LCD depositors of the LCD depositors is obtained;
Write operation is carried out to the LCD depositors and a LCD depositors according to said write order, wherein, it is described
The value of the first LCD depositors write is the currency.
The method for preventing unexpected modification LCD from arranging, wherein, described listening to some LCD depositors makees write behaviour
Make, obtain also includes before the first write rule that said write operation is carried:
When terminal unit generates the write operation carried out to some LCD depositors, according to some LCD depositors and pre-
If write rule generate first write rule, and by described first write rule be configured at said write operation in.
A kind of system for preventing unexpected modification LCD from arranging, it includes:
Acquisition module, for listening to some LCD depositors write operation is made, and obtain said write operation carrying first is write
Enter rule;
Judge module, for judging whether first write is regular consistent with default write rule;
Filtering module, for when inconsistent, filtering said write operation.
The system for preventing unexpected modification LCD from arranging, it also includes:
Writing module, for when consistent, then some LCD depositors being carried out with described writing according to the described first write rule
Enter operation.
The system for preventing unexpected modification LCD from arranging, it also includes:
Presetting module, for pre-setting the write rule of write LCD depositors;
The presetting module is specifically included:
Sequencing unit, for obtaining the device identification of all LCD depositors, and all devices mark is ranked up to obtain
To write sequence;
Signal generating unit, for being sequentially generated said write rule according to said write, wherein, said write rule for every time according to
Said write order LCD depositors continuous at least two carry out write operation.
The system for preventing unexpected modification LCD from arranging, wherein, said write module is specifically included:
Grouped element, for when consistent, by some LCD depositors according to the serial relation in said write order point
Group, and the number of every group of LCD depositor is obtained respectively;
First performance element, for when the number is more than 1, according to said write order write operation being performed;
Acquiring unit, for when the number is equal to 1, obtaining the current of the adjacent LCD depositors of the LCD depositors
Value;
Second performance element, for carrying out write behaviour to the LCD depositors and a LCD depositors according to said write order
Make, wherein, the value of the LCD depositors write is the currency.
The system for preventing unexpected modification LCD from arranging, it also includes:
Configuration module, for when terminal unit generates the write operation carried out to some LCD depositors, according to described some
LCD depositors and default write rule generate the first write rule, and the described first write rule is configured at into described writing
Enter in operation.
Beneficial effect:Compared with prior art, the invention provides the invention discloses one kind prevents unexpected modification LCD from setting
The method and system put, methods described includes:Listen to some LCD depositors and make write operation, obtain said write operation
The the first write rule for carrying;Judge whether first write is regular consistent with default write rule;If inconsistent, mistake
Filter said write operation.The present invention configures default write rule by the write operation produced to terminal unit, will not carry
The write operation of said write rule is defaulted as accidental operation and filters out.The write behaviour that LCD depositors are performed can so be caused
Produce as system, it is to avoid the write operation made to LCD depositors of unexpected generation, and then solve LCD and arrange because of quilt
Surprisingly change and cause LCD to show abnormal problem.
Specific embodiment
The present invention provides a kind of method and system for preventing unexpected modification LCD from arranging, to make the purpose of the present invention, technical side
Case and effect are clearer, clear and definite, and the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that
Specific embodiment described herein only to explain the present invention, is not intended to limit the present invention.
In the present invention, using the suffix of such as " module ", " part " or " unit " for being used to represent element only for favourable
In the explanation of the present invention, itself do not have specific meaning.Therefore, module ", " part " or " unit " can mixedly make
With.
Terminal unit can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desk computer etc. are consolidated
Determine terminal.However, it will be understood by those skilled in the art that, in addition to being used in particular for moving the element of purpose, according to this
The construction of bright embodiment can also apply to the terminal of fixed type.
Below in conjunction with the accompanying drawings, by the description to embodiment, the content of the invention is described further.
Refer to Fig. 1, the stream of the preferred embodiment for preventing from surprisingly changing the method that LCD is arranged that Fig. 1 is provided for the present invention
Cheng Tu.Methods described includes:
S100, listen to some LCD depositors and make write operation, obtain the first write rule that said write operation is carried.
Specifically, some LCD depositors are in the depositor for storing arrange parameter of LCD display configuration
One or more.The LCD display is the display screen of the terminal unit with touch function.The LCD display sets
Putting is realized by making write operation to LCD depositors, wherein, said write operation refers to what is carried out to LCD depositors
The operation of write data.Said write operation is divided into two kinds, a kind of write behaviour produced for terminal unit for changing LCD settings
Make, another kind of write operation for producing unexpected for LCD display receives electrostatic.
In the present embodiment, in order to filter the write operation for producing unexpected due to electrostatic, produce in terminal unit
It is the default write rule of said write operative configuration during write operation.Therefore, described listening to is made to some LCD depositors
Write operation, obtaining can also include before the first write rule that said write operation is carried:
S01, when terminal unit generates the write operation carried out to some LCD depositors, according to some LCD depositors with
And default write rule generates the first write rule, and the described first write rule is configured in said write operation.
Specifically, the default write rule is to pre-set and be stored in terminal unit.In the present embodiment,
Said write rule can be to carry out write behaviour according to default write sequence LCD depositors continuous at least two every time
Make.That is, said write rule includes write sequence and writing mode, said write order can be device identification
Sequence, said write mode is at least to carry out write operation to two at least continuous LCD depositors every time.First write
Rule is corresponding for the described some LCD depositors determined according to some LCD depositors and default write rule
Write rule.
It is exemplary, it is described when terminal unit generates the write operation carried out to some LCD depositors, if according to described
Dry LCD depositors and default write rule generate the first write rule, and the described first write rule are configured at described
Specifically can include in write operation:
S001, when terminal unit generates the write operation carried out to some LCD depositors, obtain some LCD depositors
The device identification of interior all depositors;
S002, by the device identification according to it is default write rule carry write sequence be ranked up it is suitable to obtain the first write
Sequence;
S003, according to first write sequence and it is described it is default write rule writing mode generate first write rule
Then;
S004, by described first write rule be configured at said write operation in.
In the present embodiment, described listening to some LCD depositors makees write operation, obtains said write operation and carries
First write rule before can also include pre-set to LCD depositors make write operation write rule, it specifically may be used
To include:
S10, the device identification for obtaining all LCD depositors, all devices mark is ranked up to be written order;
S20, said write rule is sequentially generated according to said write, wherein, said write rule is for every time according to said write
Order LCD depositors continuous at least two carry out write operation.
Specifically, in step S10, the device identification refers to be capable of unique mark LCD depositor
Identification information, for example, sequence code.The device identification is one-to-one relation with the LCD depositors.Said write order
Refer to the sequencing that write operation writes some LCD depositors.In the present embodiment, said write order is to pre-set
And be stored in a text, when write operation is listened to, text described in direct access is suitable to obtain said write
Sequence, without resetting every time, improves the treatment effeciency of write operation.
In step S10, described be ranked up all devices mark can be concrete to be written order
Including:All devices mark unification is numbered first so that each unique numbering of device identification correspondence one;Again by institute
State numbering to be arranged according to order from big to small or from small to large to obtain said write order, it is finally that said write is suitable
Sequence is stored in a text.For example, the device identification of all LCD depositors is respectively:R1, R2, R3 ... ...;Will be described
Device identification carries out Unified number so that uniquely correspondence one is numbered for each device identification, e.g., R1 correspondence 0001, R2 correspondences
0002, R3 correspondence 0003 ... ...;Create a text, by it is described numbering according to from small to large be sequentially written in the text
In file, i.e.,:0001,0002,0003 ... ....The number order preserved in the text is said write order.When
So, in actual applications, directly all of device identification can also be ranked up according to other orders, then will sequence
Device identification afterwards is write in a text.For example, the device identification of all LCD depositors be respectively R1, R2, R3, R4,
R5, by 5 device identifications be directly ranked up for:R3, R2, R5, R2, R4, and the sequence of the device identification is preserved
Into a text, the sequence of the preservation is said write order, i.e. R3 ranked first position, and R2 claps second, with such
Push away.
It is described said write rule is sequentially generated according to said write to refer specifically to according to institute in step S20
State the serial relation in write sequence between all LCD depositors locations and each LCD depositors and generate said write
Rule.Said write rule is to carry out write operation according to said write order LCD depositors continuous at least two every time.
For example, the corresponding LCD depositors of numbering 0001 make number one, and the corresponding LCD depositors of numbering 0002 come second ...
The corresponding LCD depositors of numbering 0007 come the 7th, and the corresponding LCD depositors of numbering 0008 come the 8th, numbering 0009
Corresponding LCD depositors come the 9th ..., the like, the position that the sequence determines all LCD depositors can be passed through
Put.Wherein, described first and second LCD depositors are continuous two LCD depositors, described 7th, the 8th and
9th LCD depositor is continuous three LCD depositors.According to said write rule, in write-once operation, Ke Yiyi
It is secondary write first LCD depositor and second LCD depositors and/or successively write the 7th, the 8th and the 9th LCD post
Storage.
It is worth explanation, step S01 to be located between step S20 and step S100.I.e. described terminal sets
It is standby to pre-set the default write rule, after the completion of the default write rule setting, post to some LCD generating
When storage makees write operation, the described first write rule is configured in said write operation, so that when listening to some
When LCD depositors make write operation, said write can be obtained and operate the first write rule for carrying, be obtained in order to follow-up basis
First for taking writes the corresponding relation between regular and default write rule to filter unexpected write operation.
S200, judge it is described first write it is regular with it is default write rule it is whether consistent.
Specifically, it is described to judge that whether consistent specially by described the first write regular with default write rule
One write is regular to be compared one by one with default write rule, determines whether the first write rule meets default write rule
Then.The default write rule is to carry out write behaviour according to said write order LCD depositors continuous at least two every time
Make.Accordingly, it is described to judge that first write is regular and whether consistent with default write rule specifically include:
The first write sequence that S201, acquisition the first write rule are carried, and judge whether first write sequence accords with
Close the default write sequence that default write rule is carried;
S202, when first write sequence meets default write sequence, determine it is described first write rule carry it is right
The writing mode that LCD depositors are carried out;
S203, judge that whether said write mode is that every time at least two continuous LCD depositors perform write operation;
S204, when to be, judge it is described first write it is regular with it is default write rule it is consistent;If it has not, then judging described
First write is regular inconsistent with default write rule.
Specifically, it is described to judge whether first write sequence meets default write rule in the step 201
The process of the default write sequence for then carrying can include:Obtain setting for all LCD depositors in first write sequence
The first order order of standby mark;By it is described put in order with the default write sequence all devices mark arrangement it is suitable
Sequence is compared, and judges whether the first order order meets putting in order in the default write sequence;If meeting,
Then execution step S202;If not meeting, directly judge that first write is regular inconsistent with default write rule.
If S300, inconsistent, filtration said write operation.
Specifically, the filtration said write operation refers to delete said write operation, and does not perform described writing
Enter operation.So, realize to filter out and be configured with the write operation inconsistent with the default write rule, write so as to described
Entering operation cannot modify to the setting of LCD, be effectively reduced LCD and arrange by the probability of bug patch.
In the present embodiment, methods described also includes:
If S400, consistent, said write operation is carried out to some LCD depositors according to the described first write rule.
Specifically, due to said write rule regulation, every time write must be sequentially written at least two companies according to said write
Continuous LCD depositors, but in actual applications, it is understood that there may be write operation need to only write a LCD depositor or write
The operation LCD depositors to be write are discrete situation.Therefore, post in one LCD depositor of write or discrete LCD
During storage, in order that single LCD depositors disclosure satisfy that said write rule, need to obtain one LCD depositors adjacent
LCD depositors value, then write one LCD depositors posted LCD storages and be adjacent according still further to write sequence.
Exemplary, if described consistent, some LCD depositors are carried out according to the described first write rule described
Write operation is specifically included:
If S401, consistent, some LCD depositors are grouped according to the serial relation in said write order, and are obtained respectively
Take the number of every group of LCD depositor;
S402, when the number be more than 1 when, according to said write order perform write operation;
S403, when the number is equal to 1, obtain the currency of the adjacent LCD depositors of the LCD depositors;
S404, write operation is carried out to the LCD depositors and a LCD depositors according to said write order, wherein,
The value of the first LCD depositors write is the currency.
Specifically, in step S401, what the serial relation packet in the order according to said write referred to
It is that continuous LCD depositors are divided into into one group according to said write order, discontinuous LCD depositors is each divided into into one group.
The number is 1 or the value more than 1, if a certain group of number is 1,1 LCD depositor of the packet is some with remaining
LCD depositors are discontinuous;If a certain group of number is the value more than 1, the packet includes described several continuous LCD
Depositor.
In step S402, when the number is more than 1, the packet is by least two continuous LCD depositors
Composition, it would be desirable to which the value of write writes successively in order described at least two continuous LCD depositors.
In step S403 and S404, when the number is equal to 1, the packet only includes a LCD depositor.
The first LCD depositors refer to an adjacent LCD depositor of the LCD depositors.It can be the LCD depositors
Adjacent previous position LCD depositors, or the adjacent latter position LCD depositors of the LCD depositors.In the present embodiment
In, a LCD depositors are set to into the adjacent previous position LCD depositors of the LCD depositors.Due to making number one
LCD depositors there is no adjacent previous position LCD depositors, therefore when the LCD depositors make number one, described
One LCD depositors are the adjacent latter position LCD depositors of the LCD depositors.The currency is a LCD depositors
Currently stored value.
It is described that write operation is carried out to the LCD depositors and a LCD depositors according to said write order, its
In, the value of the LCD depositors write is specifically included for the currency:Judge whether the LCD depositors come
One;If the LCD depositors make number one, first the value for needing write the LCD is write into according to said write order
Depositor, then the currency is write into a LCD depositors;If the LCD depositors do not make number one, according to
Said write order first writes currency in the first LCD depositors, then the value write LCD of the write of needs is posted
In storage.So, the value current by reading a LCD depositors, deposits the currency as a LCD
Device needs the value of write so as to forms one group of continuous two LCD depositor and performs in order with the LCD depositors and writes
Enter operation, realize the value that the LCD depositors are changed while the value of a LCD depositors is not changed.
Said write operation is further illustrated below by a specific embodiment:Some LCD depositors bags
Include:0001,0002,0005,0007,0008,0009, because 0002 and 0005 is discontinuous, 0005 and 0007 is discontinuous, therefore will
Some depositors are divided into three groups, respectively:0001,0002 be first group, 0005 be second group, 0007,0008,0009
For the 3rd group;Then the number of first group of LCD depositor is 2, and it is 3 that second group is the 1, the 3rd group, illustrates that described first group has 2
Individual continuous LCD depositors composition, described second group only includes 1 LCD depositor, and described 3rd group is posted by 3 continuous LCD
Storage is constituted.It is made up of at least two continuous LCD depositors due to described first group and the 3rd group, therefore in write
When, directly the value for needing write is write into successively some continuous LCD depositors according to write sequence.That is, writing
It is fashionable, write 0001 and 0002 value successively in order, in order the value of write-once 0007,0008 and 0009.Writing
When entering 0005, a described 0005 LCD depositors, i.e., 0004 value, then according to write sequence write-once are first obtained
0004,0005.What deserves to be explained is, when some LCD depositors are carried out into packet write, each group is also to write according to described
Enter order write, i.e., first write 0001,0002 in first group, write second group 0005, be ultimately written the 3rd group
0007,0008 and 0009.
Present invention also offers a kind of system for preventing unexpected modification LCD from arranging, as described in Figure 2, it includes:
Acquisition module 100, for listening to some LCD depositors write operation is made, obtain that said write operation carries the
One write rule;
Judge module 200, for judging whether first write is regular consistent with default write rule;
Filtering module 300, for when inconsistent, filtering said write operation.
The system for preventing unexpected modification LCD from arranging, it also includes:
Writing module, for when consistent, then some LCD depositors being carried out with described writing according to the described first write rule
Enter operation.
The system for preventing unexpected modification LCD from arranging, it also includes:
Presetting module, for pre-setting the write rule of write LCD depositors;
The presetting module is specifically included:
Sequencing unit, for obtaining the device identification of all LCD depositors, and all devices mark is ranked up to obtain
To write sequence;
Signal generating unit, for being sequentially generated said write rule according to said write, wherein, said write rule for every time according to
Said write order LCD depositors continuous at least two carry out write operation.
The system for preventing unexpected modification LCD from arranging, wherein, said write module is specifically included:
Grouped element, for when consistent, by some LCD depositors according to the serial relation in said write order point
Group, and the number of every group of LCD depositor is obtained respectively;
First performance element, for when the number is more than 1, according to said write order write operation being performed;
Acquiring unit, for when the number is equal to 1, obtaining the current of the adjacent LCD depositors of the LCD depositors
Value;
Second performance element, for carrying out write behaviour to the LCD depositors and a LCD depositors according to said write order
Make, wherein, the value of the LCD depositors write is the currency.
The system for preventing unexpected modification LCD from arranging, it also includes:
Configuration module, for when terminal unit generates the write operation carried out to some LCD depositors, according to described some
LCD depositors and default write rule generate the first write rule, and the described first write rule is configured at into described writing
Enter in operation.
In embodiment provided by the present invention, it should be understood that disclosed system and method, can pass through other
Mode is realized.For example, device embodiment described above is only schematic, and for example, the division of the module is only
A kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can with reference to or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention each
The part steps of embodiment methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
Can be with the medium of store program codes.
Finally it should be noted that:Above example only to illustrate technical scheme, rather than a limitation;Although
The present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.