CN107765885A - Input validation method and system for intelligent monitoring management - Google Patents

Input validation method and system for intelligent monitoring management Download PDF

Info

Publication number
CN107765885A
CN107765885A CN201710830400.9A CN201710830400A CN107765885A CN 107765885 A CN107765885 A CN 107765885A CN 201710830400 A CN201710830400 A CN 201710830400A CN 107765885 A CN107765885 A CN 107765885A
Authority
CN
China
Prior art keywords
character
spcial
input
spcial character
database
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.)
Granted
Application number
CN201710830400.9A
Other languages
Chinese (zh)
Other versions
CN107765885B (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.)
ZHEJIANG ELECTRIC POWER CONSTRUCTION SUPERVISION Co Ltd
State Grid Zhejiang Electric Power Co Ltd
Economic and Technological Research Institute of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
ZHEJIANG ELECTRIC POWER CONSTRUCTION SUPERVISION Co Ltd
State Grid Zhejiang Electric Power Co Ltd
Economic and Technological Research Institute of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHEJIANG ELECTRIC POWER CONSTRUCTION SUPERVISION Co Ltd, State Grid Zhejiang Electric Power Co Ltd, Economic and Technological Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical ZHEJIANG ELECTRIC POWER CONSTRUCTION SUPERVISION Co Ltd
Priority to CN201710830400.9A priority Critical patent/CN107765885B/en
Publication of CN107765885A publication Critical patent/CN107765885A/en
Application granted granted Critical
Publication of CN107765885B publication Critical patent/CN107765885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Character Discrimination (AREA)

Abstract

The present invention is intended to provide whether a kind of input validation method and system for intelligent monitoring management, be that the spcial character time to be spent is longer with the character for judging input solved the problems, such as in prior art.Character is inputted including obtaining, obtains the spcial character in spcial character database, the spcial character in input character and spcial character database judges whether input identification current input character is spcial character;And the order of the spcial character in spcial character database is adjusted according to judged result.Following advantageous effects can be obtained by implementing the present invention:According to the character of input, the order of spcial character in adjust automatically spcial character database, it will appear from the high characteristic character of probability and be arranged in front, and pass through simple computational methods, by the high characteristic character prioritization of continuous probability of occurrence in recognition speed that is preceding, and then improving characteristic character.

Description

Input validation method and system for intelligent monitoring management
Technical field
The present invention relates to a kind of verification method, and in particular to a kind of input validation method for intelligent monitoring management and is System.
Background technology
Intelligent monitoring management system, it is necessary to verified to spcial character, is carried out in input process according to the result Handle in next step, the method for prior art is to establish a fixed spcial character database, by the character of input and special word Character is compared successively in symbol database, identical characters be present until obtaining inputting character in character and spcial character database When, or input character completed with all characters in spcial character database compared with when, judge to terminate.Its deficiency is:When Exist in spcial character database with inputting character identical character, and come the rearmost end of spcial character database again, then Need to judge that the time to be spent is longer;Therefore when needing to design a kind of input validation method to reduce the judgement of spcial character Between.
The content of the invention
The present invention is intended to provide a kind of input validation method and system for intelligent monitoring management, to solve prior art In scheme judge input character whether be the spcial character time to be spent it is longer the problem of.
In order to realize the purpose, the present invention provides a kind of input validation method for intelligent monitoring management, including:Build Vertical spcial character database, the spcial character database purchase spcial character, the weights corresponding with spcial character and with The corresponding continuous mark of spcial character, the spcial character according to weight it is descending be stored sequentially in spcial character data In storehouse, when there is character input, following steps are performed:
Step 1:Obtain input character, obtain spcial character database in spcial character, judge input character with it is special Whether character is identical;If it is not the same, then enter step 2, if identical, into step 3;
Step 2:Next spcial character in the spcial character of spcial character database is obtained, judges to input character with working as Whether the characteristic character of preceding acquisition is identical;If input character differs with the characteristic character currently obtained, current obtain is judged Spcial character whether be last spcial character in spcial character database, if it is, into step 4, if not It is, then repeat step 2;If it is identical with the characteristic character currently obtained to input character, into step 3;
Step 3:Identification current input character is spcial character, judges that current spcial character is corresponding and continuously identifies whether For 1, if 1, then the weights of current spcial character are increased into b, if not being 1, by the weights increase of current spcial character A, while the continuous mark of current spcial character is put 1, and by corresponding to all spcial characters in addition to current signature character Continuous mark is set to 0, wherein 3 >=b > a >=1;
Step 4:Identification current input character is no special character.
Preferably, the b=2, a=1;
Preferably, the b=3, a=1;
Preferably, in the step 3, when it is spcial character to verify the input character, the input character is deleted.
In order to realize the purpose, the present invention provides a kind of input validation system for intelligent monitoring management, including:
Spcial character database, the spcial character database purchase spcial character, the weights corresponding with spcial character And the continuous mark corresponding with spcial character, the spcial character according to weight it is descending be stored sequentially in special word Accord with database;
Input validation module:When there is character input, following steps are performed:
Step 1:Obtain input character, obtain spcial character database in spcial character, judge input character with it is special Whether character is identical;If it is not the same, then enter step 2, if identical, into step 3;
Step 2:Next spcial character in the spcial character of spcial character database is obtained, judges to input character with working as Whether the characteristic character of preceding acquisition is identical;If input character differs with the characteristic character currently obtained, current obtain is judged Spcial character whether be last spcial character in spcial character database, if it is, into step 4, if not It is, then repeat step 2;If it is identical with the characteristic character currently obtained to input character, into step 3;
Step 3:It is spcial character to verify the input character, judge corresponding continuous of current spcial character identify whether as 1, if 1, then the weights of the current spcial character in spcial character database are increased into b, if being not 1, by special word The weights increase a of the current spcial character in database is accorded with, while by the company of the current spcial character in spcial character database Continuous mark puts 1, and the continuous mark corresponding to by all spcial characters in addition to current signature character in spcial character database Knowledge is set to 0, wherein 3 >=b > a >=1;
Step 4:It is no special character to identify the input character.
Preferably, the b=2, a=1;
Preferably, the b=3, a=1;
Preferably, in the step 3, when it is spcial character to verify the input character, the input character is deleted.
Following advantageous effects can be obtained by implementing the present invention:According to the character of input, the special word of adjust automatically The order of spcial character in database is accorded with, the high characteristic character of probability is will appear from and is arranged in front, and pass through the simply side of calculating Method, by the high characteristic character prioritization of continuous probability of occurrence in recognition speed that is preceding, and then improving characteristic character.
Brief description of the drawings
Fig. 1 is the flow chart for the input validation method that the present invention is used for intelligent monitoring management.
Embodiment
For the ease of the understanding of those skilled in the art, the present invention is made further with reference to specific embodiment It is bright:
Embodiment 1:
As shown in figure 1, the present invention provides a kind of input validation method for intelligent monitoring management, including:It is special to establish Character database, the spcial character database purchase spcial character, the weights corresponding with spcial character and with special word Corresponding continuous mark is accorded with, the spcial character is stored sequentially in spcial character database according to weight is descending, When there is character input, following steps are performed:
Step 1:Obtain input character, obtain spcial character database in spcial character, judge input character with it is special Whether character is identical;If it is not the same, then enter step 2, if identical, into step 3;
Step 2:Next spcial character in the spcial character of spcial character database is obtained, judges to input character with working as Whether the characteristic character of preceding acquisition is identical;If input character differs with the characteristic character currently obtained, current obtain is judged Spcial character whether be last spcial character in spcial character database, if it is, into step 4, if not It is, then repeat step 2;If it is identical with the characteristic character currently obtained to input character, into step 3;
Step 3:Identification current input character is spcial character, judges that current spcial character is corresponding and continuously identifies whether For 1, if 1, then the weights of current spcial character are increased into b, if not being 1, by the weights increase of current spcial character A, while the continuous mark of current spcial character is put 1, and by corresponding to all spcial characters in addition to current signature character Continuous mark is set to 0, wherein 3 >=b > a >=1;
Step 4:Identification current input character is no special character.
Following advantageous effects can be obtained by implementing the present invention:According to the character of input, the special word of adjust automatically The order of spcial character in database is accorded with, the high characteristic character of probability is will appear from and is arranged in front, and pass through the simply side of calculating Method, by the high characteristic character prioritization of continuous probability of occurrence in recognition speed that is preceding, and then improving characteristic character.
As the optional embodiment of the above-mentioned input validation method for intelligent monitoring management, the b=2, a=1;
As the optional embodiment of the above-mentioned input validation method for intelligent monitoring management, the b=3, a=1;
As the optional embodiment of the above-mentioned input validation method for intelligent monitoring management, in the step 3, when testing When to demonstrate,prove the input character be spcial character, the input character is deleted.
Embodiment 2:
The present invention also provides a kind of input validation system for intelligent monitoring management, including:
Spcial character database, the spcial character database purchase spcial character, the weights corresponding with spcial character And the continuous mark corresponding with spcial character, the spcial character according to weight it is descending be stored sequentially in special word Accord with database;
Input validation module:When there is character input, following steps are performed:
Step 1:Obtain input character, obtain spcial character database in spcial character, judge input character with it is special Whether character is identical;If it is not the same, then enter step 2, if identical, into step 3;
Step 2:Next spcial character in the spcial character of spcial character database is obtained, judges to input character with working as Whether the characteristic character of preceding acquisition is identical;If input character differs with the characteristic character currently obtained, current obtain is judged Spcial character whether be last spcial character in spcial character database, if it is, into step 4, if not It is, then repeat step 2;If it is identical with the characteristic character currently obtained to input character, into step 3;
Step 3:It is spcial character to verify the input character, judge corresponding continuous of current spcial character identify whether as 1, if 1, then the weights of the current spcial character in spcial character database are increased into b, if being not 1, by special word The weights increase a of the current spcial character in database is accorded with, while by the company of the current spcial character in spcial character database Continuous mark puts 1, and the continuous mark corresponding to by all spcial characters in addition to current signature character in spcial character database Knowledge is set to 0, wherein 3 >=b > a >=1;
Step 4:It is no special character to identify the input character.
As the optional embodiment of the above-mentioned input validation method for intelligent monitoring management, the b=2, a=1;
As the optional embodiment of the above-mentioned input validation method for intelligent monitoring management, the b=3, a=1;
As the optional embodiment of the above-mentioned input validation method for intelligent monitoring management, in the step 3, when testing When to demonstrate,prove the input character be spcial character, the input character is deleted.
The specific embodiment of the present invention is the foregoing is only, but the technical characteristic of the present invention is not limited thereto, Ren Heben The technical staff in field in the field of the invention, all cover among the scope of the claims of the present invention by the change or modification made.

Claims (8)

1. the input validation method for intelligent monitoring management, it is characterised in that:Including:Spcial character database is established, it is described Spcial character database purchase spcial character, the weights corresponding with spcial character and the continuous mark corresponding with spcial character Know, the spcial character is stored sequentially in spcial character database according to weight is descending, when there is character input, held Row following steps:
Step 1:Input character is obtained, obtains the spcial character in spcial character database, judges to input character and spcial character It is whether identical;If it is not the same, then enter step 2, if identical, into step 3;
Step 2:Next spcial character in the spcial character of spcial character database is obtained, judges to input character with currently obtaining Whether the characteristic character taken is identical;If input character differs with the characteristic character currently obtained, the spy currently obtained is judged Whether different character is last spcial character in spcial character database, if it is, into step 4, if it is not, then Repeat step 2;If it is identical with the characteristic character currently obtained to input character, into step 3;
Step 3:Identification current input character is spcial character, judges that current spcial character is corresponding and continuously identifies whether as 1, If 1, then the weights of current spcial character are increased into b, if not being 1, the weights of current spcial character are increased into a, together When the continuous mark of current spcial character put 1, and will be continuous corresponding to all spcial characters in addition to current signature character Mark is set to 0, wherein 3 >=b > a >=1;
Step 4:Identification current input character is no special character.
2. it is used for the input validation method of intelligent monitoring management as claimed in claim 1, it is characterised in that:The b=2, a= 1。
3. it is used for the input validation method of intelligent monitoring management as claimed in claim 1, it is characterised in that:The b=3, a= 1。
4. it is used for the input validation method of intelligent monitoring management as claimed in claim 1, it is characterised in that:In the step 3, When it is spcial character to verify the input character, the input character is deleted.
5. the input validation system for intelligent monitoring management, it is characterised in that including:
Spcial character database, the spcial character database purchase spcial character, the weights corresponding with spcial character and The continuous mark corresponding with spcial character, the spcial character according to weight it is descending be stored sequentially in spcial character number According in storehouse;
Input validation module:When there is character input, following steps are performed:
Step 1:Input character is obtained, obtains the spcial character in spcial character database, judges to input character and spcial character It is whether identical;If it is not the same, then enter step 2, if identical, into step 3;
Step 2:Next spcial character in the spcial character of spcial character database is obtained, judges to input character with currently obtaining Whether the characteristic character taken is identical;If input character differs with the characteristic character currently obtained, the spy currently obtained is judged Whether different character is last spcial character in spcial character database, if it is, into step 4, if it is not, then Repeat step 2;If it is identical with the characteristic character currently obtained to input character, into step 3;
Step 3:It is spcial character to verify the input character, judges that current spcial character is corresponding and continuously identifies whether for 1, such as Fruit is 1, then the weights of the current spcial character in spcial character database is increased into b, if being not 1, by spcial character number Increase a according to the weights of the current spcial character in storehouse, while by the continuous mark of the current spcial character in spcial character database Knowledge puts 1, and the continuous mark corresponding to all spcial characters in addition to current signature character in spcial character database is put 0, wherein 3 >=b > a >=1;
Step 4:It is no special character to identify the input character.
6. it is used for the input validation system of intelligent monitoring management as claimed in claim 5, it is characterised in that:The b=2, a= 1。
7. it is used for the input validation system of intelligent monitoring management as claimed in claim 5, it is characterised in that:The b=3, a= 1。
8. it is used for the input validation system of intelligent monitoring management as claimed in claim 5, it is characterised in that:In the step 3, When it is spcial character to verify the input character, the input character is deleted.
CN201710830400.9A 2017-09-13 2017-09-13 Input verification method and system for intelligent monitoring management Active CN107765885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710830400.9A CN107765885B (en) 2017-09-13 2017-09-13 Input verification method and system for intelligent monitoring management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710830400.9A CN107765885B (en) 2017-09-13 2017-09-13 Input verification method and system for intelligent monitoring management

Publications (2)

Publication Number Publication Date
CN107765885A true CN107765885A (en) 2018-03-06
CN107765885B CN107765885B (en) 2021-10-19

Family

ID=61266025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710830400.9A Active CN107765885B (en) 2017-09-13 2017-09-13 Input verification method and system for intelligent monitoring management

Country Status (1)

Country Link
CN (1) CN107765885B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050117403A (en) * 2004-06-10 2005-12-14 엘지전자 주식회사 Input method for special character in mobile phone
CN101026884A (en) * 2007-04-03 2007-08-29 中兴通讯股份有限公司 Selecting method for switching target community code resource for TD-SCDMA system
KR20080025972A (en) * 2006-09-19 2008-03-24 삼성전자주식회사 Method and apparatus for charator inputting in portable communication system
KR20100094777A (en) * 2009-02-19 2010-08-27 주식회사 팬택 Special character input apparatus and method for a device had a touch screen
CN102833753A (en) * 2012-08-07 2012-12-19 杭州米普科技有限公司 Speech input authentication method and device
CN103314335A (en) * 2011-01-31 2013-09-18 欧姆龙株式会社 Data collection device, and control method and control program for data collection device
CN104063067A (en) * 2014-06-06 2014-09-24 Tcl通讯(宁波)有限公司 Method, system and mobile terminal for ordering alternative characters in input methods
JP5767913B2 (en) * 2011-09-05 2015-08-26 株式会社東芝 Word recognition device, word recognition method, and paper sheet processing device provided with word recognition device
CN105306208A (en) * 2014-07-21 2016-02-03 腾讯科技(深圳)有限公司 Identity verification method and identity verification device
CN105469033A (en) * 2015-11-13 2016-04-06 广东欧珀移动通信有限公司 Fingerprint identification method, fingerprint identification device and terminal equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050117403A (en) * 2004-06-10 2005-12-14 엘지전자 주식회사 Input method for special character in mobile phone
KR20080025972A (en) * 2006-09-19 2008-03-24 삼성전자주식회사 Method and apparatus for charator inputting in portable communication system
CN101026884A (en) * 2007-04-03 2007-08-29 中兴通讯股份有限公司 Selecting method for switching target community code resource for TD-SCDMA system
KR20100094777A (en) * 2009-02-19 2010-08-27 주식회사 팬택 Special character input apparatus and method for a device had a touch screen
CN103314335A (en) * 2011-01-31 2013-09-18 欧姆龙株式会社 Data collection device, and control method and control program for data collection device
JP5767913B2 (en) * 2011-09-05 2015-08-26 株式会社東芝 Word recognition device, word recognition method, and paper sheet processing device provided with word recognition device
CN102833753A (en) * 2012-08-07 2012-12-19 杭州米普科技有限公司 Speech input authentication method and device
CN104063067A (en) * 2014-06-06 2014-09-24 Tcl通讯(宁波)有限公司 Method, system and mobile terminal for ordering alternative characters in input methods
CN105306208A (en) * 2014-07-21 2016-02-03 腾讯科技(深圳)有限公司 Identity verification method and identity verification device
CN105469033A (en) * 2015-11-13 2016-04-06 广东欧珀移动通信有限公司 Fingerprint identification method, fingerprint identification device and terminal equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NIUXIAOXIA870563296: "js禁止输入特殊字符", 《HTTPS://WWW.ITEYE.COM/BLOG/NIUXIAOXIA870563296-1828189》 *

Also Published As

Publication number Publication date
CN107765885B (en) 2021-10-19

Similar Documents

Publication Publication Date Title
CN103336766B (en) Short text garbage identification and modeling method and device
CN106557747B (en) The method and device of identification insurance single numbers
CN104067567B (en) System and method for carrying out spam detection using character histogram
CN107566358A (en) A kind of Risk-warning reminding method, device, medium and equipment
CN106682906B (en) Risk identification and service processing method and equipment
CN106951925A (en) Data processing method, device, server and system
CN103514238B (en) Sensitive word identifying processing method based on classification searching
CN109726735A (en) A kind of mobile applications recognition methods based on K-means cluster and random forests algorithm
CN109005145A (en) A kind of malice URL detection system and its method extracted based on automated characterization
CN105824825B (en) A kind of sensitive data recognition methods and device
CN105787743A (en) Fraudulent trading detection method based on sample clustering
CN110909224B (en) Sensitive data automatic classification and identification method and system based on artificial intelligence
CN110276357A (en) A kind of method for recognizing verification code based on convolutional neural networks
CN111174370A (en) Fault detection method and device, storage medium and electronic device
CN107491674A (en) Feature based information carries out the method and device of user's checking
CN107729928A (en) Information acquisition method and device
CN103077401A (en) Method and system for detecting context histogram abnormal behaviors based on light streams
CN106845990A (en) A kind of rules process method and equipment
CN107729924A (en) Picture review probability interval generation method and picture review decision method
CN103324888A (en) Method and system for automatically extracting virus characteristics based on family samples
US20220046039A1 (en) Method, device, and computer program product for abnormality detection
CN107765885A (en) Input validation method and system for intelligent monitoring management
CN107402878A (en) Method of testing and device
CN108470065A (en) A kind of determination method and device of exception comment text
CN110942180B (en) Industrial design matching service side prediction method based on xgboost algorithm

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
GR01 Patent grant
GR01 Patent grant