CN107765885B - Input verification method and system for intelligent monitoring management - Google Patents
Input verification method and system for intelligent monitoring management Download PDFInfo
- Publication number
- CN107765885B CN107765885B CN201710830400.9A CN201710830400A CN107765885B CN 107765885 B CN107765885 B CN 107765885B CN 201710830400 A CN201710830400 A CN 201710830400A CN 107765885 B CN107765885 B CN 107765885B
- Authority
- CN
- China
- Prior art keywords
- character
- special
- input
- special character
- characters
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0237—Character 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 invention aims to provide an input verification method and system for intelligent monitoring management, and aims to solve the problem that in the prior art, the time spent for judging whether an input character is a special character is long. The method comprises the steps of obtaining input characters, obtaining special characters in a special character database, and judging whether the input characters are the special characters or not according to the input characters and the special characters in the special character database; and adjusting the sequence of the special characters in the special character database according to the judgment result. The implementation of the invention can achieve the following beneficial technical effects: according to the input characters, the sequence of the special characters in the special character database is automatically adjusted, the characteristic characters with high occurrence probability are arranged in front, and the characteristic characters with high continuous occurrence probability are preferentially arranged in front by a simple calculation method, so that the recognition speed of the characteristic characters is improved.
Description
Technical Field
The invention relates to a verification method, in particular to an input verification method and system for intelligent monitoring management.
Background
The intelligent monitoring management system needs to verify the special characters in the input process and carries out the next processing according to the verification result, the method in the prior art is to establish a fixed special character database, and sequentially compare the input characters with the characters in the special character database until the input characters are obtained to have the same characters with the characters in the special character database, or the input characters are compared with all the characters in the special character database, and the judgment is finished. The defects are as follows: when the characters which are the same as the input characters exist in the special character database and are arranged at the rearmost end of the special character database, the time spent on judging is longer; therefore, it is necessary to design an input verification method to reduce the judgment time of the special character.
Disclosure of Invention
The invention aims to provide an input verification method and system for intelligent monitoring management, and aims to solve the problem that in the prior art, the time spent for judging whether an input character is a special character is long.
In order to achieve the object, the present invention provides an input verification method for intelligent monitoring management, comprising: establishing a special character database, wherein the special character database stores special characters, weights corresponding to the special characters and continuous identifications corresponding to the special characters, the special characters are stored in the special character database according to the sequence of the weights from large to small, and when a character is input, the following steps are executed:
step 1: acquiring an input character, acquiring a special character in a special character database, and judging whether the input character is the same as the special character or not; if not, entering the step 2, and if the same, entering the step 3;
step 2: acquiring a next special character in the special characters in the special character database, and judging whether the input character is the same as the currently acquired characteristic character; if the input character is different from the currently acquired characteristic character, judging whether the currently acquired special character is the last special character in the special character database, if so, entering the step 4, and if not, repeating the step 2; if the input character is the same as the currently acquired characteristic character, entering step 3;
and step 3: recognizing the current input character as a special character, judging whether a continuous mark corresponding to the current special character is 1, if so, increasing the weight of the current special character by b, if not, increasing the weight of the current special character by a, meanwhile, setting the continuous mark of the current special character to 1, and setting the continuous marks corresponding to all special characters except the current characteristic character to 0, wherein b is more than or equal to 3 and more than a and more than or equal to 1;
and 4, step 4: and identifying the current input character as a non-special character.
Preferably, b is 2, a is 1;
preferably, b is 3, a is 1;
preferably, in step 3, when the input character is verified as a special character, the input character is deleted.
In order to achieve the object, the present invention provides an input verification system for intelligent monitoring management, comprising:
the special character database stores special characters, weights corresponding to the special characters and continuous identifications corresponding to the special characters, and the special characters are stored in the special character database according to the sequence of the weights from large to small;
an input verification module: when characters are input, the following steps are executed:
step 1: acquiring an input character, acquiring a special character in a special character database, and judging whether the input character is the same as the special character or not; if not, entering the step 2, and if the same, entering the step 3;
step 2: acquiring a next special character in the special characters in the special character database, and judging whether the input character is the same as the currently acquired characteristic character; if the input character is different from the currently acquired characteristic character, judging whether the currently acquired special character is the last special character in the special character database, if so, entering the step 4, and if not, repeating the step 2; if the input character is the same as the currently acquired characteristic character, entering step 3;
and step 3: verifying that the input character is a special character, judging whether a continuous identification corresponding to the current special character is 1, if so, increasing the weight of the current special character in a special character database by b, if not, increasing the weight of the current special character in the special character database by a, meanwhile, setting the continuous identification of the current special character in the special character database to 1, and setting the continuous identifications corresponding to all special characters except the current characteristic character in the special character database to 0, wherein, b is more than or equal to 3 and more than a and more than or equal to 1;
and 4, step 4: and identifying the input character as a non-special character.
Preferably, b is 2, a is 1;
preferably, b is 3, a is 1;
preferably, in step 3, when the input character is verified as a special character, the input character is deleted.
The implementation of the invention can achieve the following beneficial technical effects: according to the input characters, the sequence of the special characters in the special character database is automatically adjusted, the characteristic characters with high occurrence probability are arranged in front, and the characteristic characters with high continuous occurrence probability are preferentially arranged in front by a simple calculation method, so that the recognition speed of the characteristic characters is improved.
Drawings
FIG. 1 is a flow chart of an input verification method for intelligent monitoring management according to the present invention.
Detailed Description
To facilitate understanding of those skilled in the art, the present invention will be further described with reference to specific examples:
example 1:
as shown in fig. 1, the present invention provides an input verification method for intelligent monitoring management, which includes: establishing a special character database, wherein the special character database stores special characters, weights corresponding to the special characters and continuous identifications corresponding to the special characters, the special characters are stored in the special character database according to the sequence of the weights from large to small, and when a character is input, the following steps are executed:
step 1: acquiring an input character, acquiring a special character in a special character database, and judging whether the input character is the same as the special character or not; if not, entering the step 2, and if the same, entering the step 3;
step 2: acquiring a next special character in the special characters in the special character database, and judging whether the input character is the same as the currently acquired characteristic character; if the input character is different from the currently acquired characteristic character, judging whether the currently acquired special character is the last special character in the special character database, if so, entering the step 4, and if not, repeating the step 2; if the input character is the same as the currently acquired characteristic character, entering step 3;
and step 3: recognizing the current input character as a special character, judging whether a continuous mark corresponding to the current special character is 1, if so, increasing the weight of the current special character by b, if not, increasing the weight of the current special character by a, meanwhile, setting the continuous mark of the current special character to 1, and setting the continuous marks corresponding to all special characters except the current characteristic character to 0, wherein b is more than or equal to 3 and more than a and more than or equal to 1;
and 4, step 4: and identifying the current input character as a non-special character.
The implementation of the invention can achieve the following beneficial technical effects: according to the input characters, the sequence of the special characters in the special character database is automatically adjusted, the characteristic characters with high occurrence probability are arranged in front, and the characteristic characters with high continuous occurrence probability are preferentially arranged in front by a simple calculation method, so that the recognition speed of the characteristic characters is improved.
As an optional embodiment of the above input authentication method for intelligent monitoring management, b is 2, and a is 1;
as an optional embodiment of the above input authentication method for intelligent monitoring management, b is 3, and a is 1;
as an optional implementation manner of the above input verification method for intelligent monitoring management, in step 3, when the input character is verified to be a special character, the input character is deleted.
Example 2:
the invention also provides an input verification system for intelligent monitoring management, which comprises:
the special character database stores special characters, weights corresponding to the special characters and continuous identifications corresponding to the special characters, and the special characters are stored in the special character database according to the sequence of the weights from large to small;
an input verification module: when characters are input, the following steps are executed:
step 1: acquiring an input character, acquiring a special character in a special character database, and judging whether the input character is the same as the special character or not; if not, entering the step 2, and if the same, entering the step 3;
step 2: acquiring a next special character in the special characters in the special character database, and judging whether the input character is the same as the currently acquired characteristic character; if the input character is different from the currently acquired characteristic character, judging whether the currently acquired special character is the last special character in the special character database, if so, entering the step 4, and if not, repeating the step 2; if the input character is the same as the currently acquired characteristic character, entering step 3;
and step 3: verifying that the input character is a special character, judging whether a continuous identification corresponding to the current special character is 1, if so, increasing the weight of the current special character in a special character database by b, if not, increasing the weight of the current special character in the special character database by a, meanwhile, setting the continuous identification of the current special character in the special character database to 1, and setting the continuous identifications corresponding to all special characters except the current characteristic character in the special character database to 0, wherein, b is more than or equal to 3 and more than a and more than or equal to 1;
and 4, step 4: and identifying the input character as a non-special character.
As an optional embodiment of the above input authentication method for intelligent monitoring management, b is 2, and a is 1;
as an optional embodiment of the above input authentication method for intelligent monitoring management, b is 3, and a is 1;
as an optional implementation manner of the above input verification method for intelligent monitoring management, in step 3, when the input character is verified to be a special character, the input character is deleted.
The above description is only an embodiment of the present invention, but the technical features of the present invention are not limited thereto, and any changes or modifications within the technical field of the present invention by those skilled in the art are covered by the claims of the present invention.
Claims (8)
1. The input verification method for intelligent monitoring management is characterized by comprising the following steps: the method comprises the following steps: establishing a special character database, wherein the special character database stores special characters, weights corresponding to the special characters and continuous identifications corresponding to the special characters, the special characters are stored in the special character database according to the sequence of the weights from large to small, and when a character is input, the following steps are executed:
step 1: acquiring an input character, acquiring a special character in a special character database, and judging whether the input character is the same as the special character or not; if not, entering the step 2, and if the same, entering the step 3;
step 2: acquiring a next special character in the special characters in the special character database, and judging whether the input character is the same as the currently acquired characteristic character; if the input character is different from the currently acquired characteristic character, judging whether the currently acquired special character is the last special character in the special character database, if so, entering the step 4, and if not, repeating the step 2; if the input character is the same as the currently acquired characteristic character, entering step 3;
and step 3: recognizing the current input character as a special character, judging whether a continuous mark corresponding to the current special character is 1, if so, increasing the weight of the current special character by b, if not, increasing the weight of the current special character by a, meanwhile, setting the continuous mark of the current special character to 1, and setting the continuous marks corresponding to all special characters except the current characteristic character to 0, wherein b is more than or equal to 3 and more than a and more than or equal to 1;
and 4, step 4: and identifying the current input character as a non-special character.
2. The input validation method for intelligent monitoring management of claim 1, wherein: the b is 2, and the a is 1.
3. The input validation method for intelligent monitoring management of claim 1, wherein: the b is 3, and the a is 1.
4. The input validation method for intelligent monitoring management of claim 1, wherein: in the step 3, when the input character is verified to be the special character, the input character is deleted.
5. An input validation system for intelligent monitoring management, comprising:
the special character database stores special characters, weights corresponding to the special characters and continuous identifications corresponding to the special characters, and the special characters are stored in the special character database according to the sequence of the weights from large to small;
an input verification module: when characters are input, the following steps are executed:
step 1: acquiring an input character, acquiring a special character in a special character database, and judging whether the input character is the same as the special character or not; if not, entering the step 2, and if the same, entering the step 3;
step 2: acquiring a next special character in the special characters in the special character database, and judging whether the input character is the same as the currently acquired characteristic character; if the input character is different from the currently acquired characteristic character, judging whether the currently acquired special character is the last special character in the special character database, if so, entering the step 4, and if not, repeating the step 2; if the input character is the same as the currently acquired characteristic character, entering step 3;
and step 3: verifying that the input character is a special character, judging whether a continuous identification corresponding to the current special character is 1, if so, increasing the weight of the current special character in a special character database by b, if not, increasing the weight of the current special character in the special character database by a, meanwhile, setting the continuous identification of the current special character in the special character database to 1, and setting the continuous identifications corresponding to all special characters except the current characteristic character in the special character database to 0, wherein, b is more than or equal to 3 and more than a and more than or equal to 1;
and 4, step 4: and identifying the input character as a non-special character.
6. The input validation system for intelligent monitoring management of claim 5, wherein: the b is 2, and the a is 1.
7. The input validation system for intelligent monitoring management of claim 5, wherein: the b is 3, and the a is 1.
8. The input validation system for intelligent monitoring management of claim 5, wherein: in the step 3, when the input character is verified to be the special character, the input character is deleted.
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 CN107765885A (en) | 2018-03-06 |
CN107765885B true 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 (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026884A (en) * | 2007-04-03 | 2007-08-29 | 中兴通讯股份有限公司 | Selecting method for switching target community code resource for TD-SCDMA system |
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 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050117403A (en) * | 2004-06-10 | 2005-12-14 | 엘지전자 주식회사 | Input method for special character in mobile phone |
KR101336227B1 (en) * | 2006-09-19 | 2013-12-05 | 삼성전자주식회사 | Method and apparatus for charator inputting in portable communication system |
KR101308679B1 (en) * | 2009-02-19 | 2013-09-13 | 주식회사 팬택 | Special character input apparatus and method for a device had a touch screen |
-
2017
- 2017-09-13 CN CN201710830400.9A patent/CN107765885B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026884A (en) * | 2007-04-03 | 2007-08-29 | 中兴通讯股份有限公司 | Selecting method for switching target community code resource for TD-SCDMA system |
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)
Title |
---|
js禁止输入特殊字符;niuxiaoxia870563296;《https://www.iteye.com/blog/niuxiaoxia870563296-1828189》;20130312;第1页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107765885A (en) | 2018-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109522304B (en) | Abnormal object identification method and device and storage medium | |
CN107967475B (en) | Verification code identification method based on window sliding and convolutional neural network | |
CN109951289B (en) | Identification method, device, equipment and readable storage medium | |
CN113853624A (en) | Method and device for predicting power load data and storage medium | |
CN104105196B (en) | The method and system positioned based on radio-frequency fingerprint | |
CN105261356A (en) | Voice recognition system and method | |
CN104239853B (en) | A kind for the treatment of method and apparatus of image | |
CN103955660A (en) | Method for recognizing batch two-dimension code images | |
CN105117725A (en) | License plate self-correcting identification method based on license plate credibility | |
CN108172212B (en) | Confidence-based speech language identification method and system | |
EP2323066A3 (en) | Biometric authentication method and computer system | |
CN103839041A (en) | Client-side feature identification method and device | |
CN104463178A (en) | Electronic component recognizing method and system | |
CN109492382B (en) | Single input box login verification method | |
CN104036276A (en) | Face recognition method and device | |
CN107104988B (en) | IPv6 intrusion detection method based on probabilistic neural network | |
CN110110162A (en) | A method of VIN code is verified by VIN code check position standard weighting algorithm | |
CN116996330B (en) | Data center access control management system based on network security | |
CN104765664A (en) | PCI (Peripheral Component Interface) equipment detection system and method | |
CN107765885B (en) | Input verification method and system for intelligent monitoring management | |
CN111553241A (en) | Method, device and equipment for rejecting mismatching points of palm print and storage medium | |
CN111402899B (en) | Cross-channel voiceprint recognition method and device | |
CN112435672A (en) | Voiceprint recognition method, device, equipment and storage medium | |
CN107332806A (en) | The method to set up and device of mobile device mark | |
CN111241930A (en) | Method and system for face recognition |
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 |