腘窝囊肿是什么原因引起的| 融字五行属什么| 酷暑难当是什么意思| 雌二醇高说明什么| 法身是什么意思| 行李为什么叫行李| 尿痛是什么原因| 9月24号是什么星座| 7月出生的是什么星座| 1936年属什么生肖| 递增是什么意思| 急性鼻窦炎吃什么药| 什么食物降尿酸效果好| 5月14日什么星座| 男人吃洋葱有什么好处| 为什么屎是臭的| christmas是什么意思| 樱花是什么样子的| 肺结节是什么原因| 为什么尿频繁怎么回事| 今天是什么日子 农历| 念珠菌吃什么药最好| 什么叫脑卒中| 害羞的反义词是什么| 防蓝光眼镜有什么用| 尾椎骨疼痛是什么原因| 水为什么会结冰| 嗓子突然哑了是什么原因引起的| 中性粒细胞百分比低是什么原因| 蜂蜜什么时候喝比较好| 梳子断了有什么预兆| 脸部过敏红痒抹什么药| 猫咪弓背是什么原因| 敏感是什么意思| 桉字五行属什么| 丢包率是什么意思| Picu病房是什么意思| 阴壁有许多颗粒是什么原因| 铁铁什么意思| 父母宫代表什么| 手脚冰凉是什么原因| 三个子字念什么| 荷叶茶有什么作用| 得寸进尺是什么生肖| 仰仗是什么意思| 大米粉做什么好吃| 肝胆相照是什么生肖| 子宫息肉是什么| 血压突然升高是什么原因| 手起倒刺吃什么维生素| 天生一对是什么意思| 巫山云雨是什么意思| 吃青椒有什么好处| 鸡咳嗽吃什么药| 乐五行属性是什么| 男人嘴小代表什么意思| 维生素e有什么作用| 胃火重吃什么药| 锦纶是什么| 导火索是什么意思| 左手食指有痣代表什么| 怀疑心衰做什么检查| 他们吃什么| 花仙子是什么意思| 五月十日是什么星座| 什么是九宫格| 皲裂是什么意思| 梦见小鬼是什么预兆| 梦见男朋友是什么意思| hd什么意思| 中国红是什么颜色| 人中浅的女人代表什么| 阴虚火旺有什么表现症状| 愿闻其详是什么意思| 六指是什么原因导致的| 智商135是什么水平| 儿童头疼吃什么药| 阴茎硬度不够吃什么好| 苏武牧羊是什么意思| 后面的牙齿叫什么| 尿中泡沫多是什么原因| 微商是什么| 胃疼适合吃什么食物| 为什么时间越来越快| 诸葛亮属相是什么生肖| 扁桃体发炎不能吃什么东西| 不知道叫什么名字好| 什么牌子的氨基酸洗面奶好| 玄牝是什么意思| 鹿参膏有什么作用和功效| 为什么经常做梦| 节点是什么意思| 什么病不能吃西洋参| 沙棘有什么功效| 风疹病毒抗体阳性是什么意思| 恍然大悟什么意思| 什么不能带上飞机| 什么是1型和2型糖尿病| 数字17代表什么意思| 吃什么能变白| 浮瓜沉李什么意思| 鹿的角像什么| 农历五月二十一是什么星座| 白兰地属于什么酒| 花对什么| 什么驴技穷成语| 冰是什么意思| 挖空细胞是什么意思啊| 8月11日是什么星座| 肺癌积水意味什么结果| 现在什么手机好用| 96年属鼠的是什么命| minute什么意思| 荷花的寓意是什么| 职称是什么| 车机是什么| 一什么泪珠| 莽是什么意思| 低血糖是什么原因引起的| b超是什么| 什么草药能治痔疮| 盐茶是什么茶| 大红袍是什么茶| 肝掌是什么样子| 手腕发麻是什么原因| 为什么会起鸡皮疙瘩| 锦鲤是什么意思| 脸部出汗多是什么原因引起的| 增加白细胞吃什么食物最好| 日金念什么| 用什么擦地最干净| 梦见种树是什么兆头| 夏天喝什么汤好| 脖子落枕挂什么科| 国安局是干什么的| 海蜇丝是什么做的| 蜜蜂糖冲开水有什么好处| 吃丹参有什么好处| pci手术全称是什么| 肌肉酸痛是什么原因| 肺部磨玻璃结节需要注意什么| 烤鱼放什么配菜好吃| 半什么半什么| panadol是什么药| s是什么化学元素| 女性手麻是什么原因| spss是什么| 鱼用什么呼吸| 敖虫读什么| 嘴麻是什么原因| 两个吉念什么| 什么的草原| 孩子半夜咳嗽是什么原因| 乙肝五项第二项阳性是什么意思| 腮腺炎什么症状| 黄瓜为什么会发苦| 耳朵真菌感染用什么药| 如意丹的作用是什么| 孕妇什么不能吃| 正方形纸能折什么| 尿酸高可以喝什么饮料| 胳膊上的肌肉叫什么| 前列腺增生吃什么药见效快| 指尖发麻是什么原因| 拉肚子发烧是什么原因| 玫瑰金是什么颜色| 梦游的人为什么不能叫醒| 尿有泡沫是什么原因| 均为是什么意思| 女人贫血吃什么补血最快| 吃什么东西增强免疫力| 宫外孕什么意思| 安坦又叫什么药| 双肺斑索是什么意思| 老犯困是什么原因| 迎春花什么时候开| 东方美人茶属于什么茶| 梅花什么季节开| lv中文名叫什么| 炖汤用什么鸡| 天公作美什么意思| 脾的主要功能是什么| 什么叫做缘分| 过期橄榄油有什么用途| co是什么气体| 尿酸高什么不能吃| 长期便秘吃什么药好| 孔子孟子什么关系| 上飞机不能带什么| 焦虑症吃什么中成药| 胀气打嗝是什么原因| 紫水晶属于五行属什么| 跳蚤吃什么| 感受是什么意思| 什么是风水| 骨骼闭合了还有什么办法可以长高| 补肾益精是什么意思| 类风湿关节炎吃什么好| 女生肚子疼是什么原因| 为什么家里有蚂蚁| 为什么特别招蚊子| 总胆红素高是什么原因| 为什么故宫龙椅坐不得| 筑基期后面是什么| 认贼作父是什么意思| 迟脉是什么意思| 土中金是什么生肖| 梅雨季节什么时候结束| 缺铁性贫血吃什么药好| 裘皮是什么皮| 天空为什么是蓝色| 身份证后四位代表什么| 眼睛干涩模糊用什么药| 检查怀没怀孕挂什么科| 双环醇片治什么病| 怀孕梦见蛇是什么意思| 杆菌是什么意思| 胃疼适合吃什么食物| 吃哈密瓜有什么好处| 更年期是什么意思| 虎眼石五行属什么| 痰是绿色的是什么原因| 鸽子咕咕叫是什么意思| 第二次世界大战是什么时候| 白细胞酯酶阳性什么意思| 梦见买鞋子是什么意思| 将军是指什么生肖| 睡觉放屁是什么原因| 胃胀气吃什么药| 骨骺是什么意思| 每天喝酸奶有什么好处和坏处| 没有斗代表什么| 狼入虎口是什么意思| 喉咙痛用什么药好得快| 健胃消食片什么时候吃| 经期喝酒会有什么危害| 冷冻液是什么| 拉杆是什么意思| 吃什么补精最快| 耳石症是什么意思| 拔完火罐要注意什么| 钢琴8级什么水平| 大肠杆菌是什么| 抻是什么意思| nokia是什么牌子的手机| 什么的流动| 太形象了是什么意思| 孕前检查挂什么科| 扁桃体切除对身体有什么影响| 单亲是什么意思| cordura是什么面料| 跟着好人学好人下句是什么| 怀孕前三个月需要注意什么| m代表什么意思| 碱和小苏打有什么区别| 心气虚吃什么药| 人为什么怕死| 乳臭未干是什么意思| 鲨鱼是什么动物| 日不落是什么意思| 吃什么对肺部好| 西红柿炒什么好吃| 老虎拉车的歇后语是什么| 今天是什么冲什么生肖| 百度Jump to content

美的去年净利147亿 还花了300亿元投入海外并购

From Wikipedia, the free encyclopedia
百度 六速手自一体变速箱来自日本爱信,在这个领域是最高的配备规格了。

In computing, data validation or input validation is the process of ensuring data has undergone data cleansing to confirm it has data quality, that is, that it is both correct and useful. It uses routines, often called "validation rules", "validation constraints", or "check routines", that check for correctness, meaningfulness, and security of data that are input to the system. The rules may be implemented through the automated facilities of a data dictionary, or by the inclusion of explicit application program validation logic of the computer and its application.

This is distinct from formal verification, which attempts to prove or disprove the correctness of algorithms for implementing a specification or property.

Overview

[edit]

Data validation is intended to provide certain well-defined guarantees for fitness and consistency of data in an application or automated system. Data validation rules can be defined and designed using various methodologies, and be deployed in various contexts.[1] Their implementation can use declarative data integrity rules, or procedure-based business rules.[2]

The guarantees of data validation do not necessarily include accuracy, and it is possible for data entry errors such as misspellings to be accepted as valid. Other clerical and/or computer controls may be applied to reduce inaccuracy within a system.

Different kinds

[edit]

In evaluating the basics of data validation, generalizations can be made regarding the different kinds of validation according to their scope, complexity, and purpose.

For example:

  • Data type validation;
  • Range and constraint validation;
  • Code and cross-reference validation;
  • Structured validation; and
  • Consistency validation

Data-type check

[edit]

Data type validation is customarily carried out on one or more simple data fields.

The simplest kind of data type validation verifies that the individual characters provided through user input are consistent with the expected characters of one or more known primitive data types as defined in a programming language or data storage and retrieval mechanism.

For example, an integer field may require input to use only characters 0 through 9.

Simple range and constraint check

[edit]

Simple range and constraint validation may examine input for consistency with a minimum/maximum range, or consistency with a test for evaluating a sequence of characters, such as one or more tests against regular expressions. For example, a counter value may be required to be a non-negative integer, and a password may be required to meet a minimum length and contain characters from multiple categories.

Code and cross-reference check

[edit]

Code and cross-reference validation includes operations to verify that data is consistent with one or more possibly-external rules, requirements, or collections relevant to a particular organization, context or set of underlying assumptions. These additional validity constraints may involve cross-referencing supplied data with a known look-up table or directory information service such as LDAP.

For example, a user-provided country code might be required to identify a current geopolitical region.

Structured check

[edit]

Structured validation allows for the combination of other kinds of validation, along with more complex processing. Such complex processing may include the testing of conditional constraints for an entire complex data object or set of process operations within a system.

Consistency check

[edit]

Consistency validation ensures that data is logical. For example, the delivery date of an order can be prohibited from preceding its shipment date.

Example

[edit]

Multiple kinds of data validation are relevant to 10-digit pre-2007 ISBNs (the 2005 edition of ISO 2108 required ISBNs to have 13 digits from 2007 onwards[3]).

  • Size. A pre-2007 ISBN must consist of 10 digits, with optional hyphens or spaces separating its four parts.
  • Format checks. Each of the first 9 digits must be 0 through 9, and the 10th must be either 0 through 9 or an X.
  • Check digit. To detect transcription errors in which digits have been altered or transposed, the last digit of a pre-2007 ISBN must match the result of a mathematical formula incorporating the other 9 digits (ISBN-10 check digits).

Validation types

[edit]
Allowed character checks
Checks to ascertain that only expected characters are present in a field. For example a numeric field may only allow the digits 0–9, the decimal point and perhaps a minus sign or commas. A text field such as a personal name might disallow characters used for markup. An e-mail address might require at least one @ sign and various other structural details. Regular expressions can be effective ways to implement such checks.
Batch totals
Checks for missing records. Numerical fields may be added together for all records in a batch. The batch total is entered and the computer checks that the total is correct, e.g., add the 'Total Cost' field of a number of transactions together.
Cardinality check
Checks that record has a valid number of related records. For example, if a contact record is classified as "customer" then it must have at least one associated order (cardinality > 0). This type of rule can be complicated by additional conditions. For example, if a contact record in a payroll database is classified as "former employee" then it must not have any associated salary payments after the separation date (cardinality = 0).
Check digits
Used for numerical data. To support error detection, an extra digit is added to a number which is calculated from the other digits.
Consistency checks
Checks fields to ensure data in these fields correspond, e.g., if expiration date is in the past then status is not "active".
Cross-system consistency checks
Compares data in different systems to ensure it is consistent. Systems may represent the same data differently, in which case comparison requires transformation (e.g., one system may store customer name in a single Name field as 'Doe, John Q', while another uses First_Name 'John' and Last_Name 'Doe' and Middle_Name 'Quality').
Data type checks
Checks input conformance with typed data. For example, an input box accepting numeric data may reject the letter 'O'.
File existence check
Checks that a file with a specified name exists. This check is essential for programs that use file handling.
Format check
Checks that the data is in a specified format (template), e.g., dates have to be in the format YYYY-MM-DD. Regular expressions may be used for this kind of validation.
Presence check
Checks that data is present, e.g., customers may be required to have an email address.
Range check
Checks that the data is within a specified range of values, e.g., a probability must be between 0 and 1.
Referential integrity
Values in two relational database tables can be linked through foreign key and primary key. If values in the foreign key field are not constrained by internal mechanisms, then they should be validated to ensure that the referencing table always refers to a row in the referenced table.
Spelling and grammar check
Looks for spelling and grammatical errors.
Uniqueness check
Checks that each value is unique. This can be applied to several fields (i.e. Address, First Name, Last Name).
Table look up check
A table look up check compares data to a collection of allowed values.

Post-validation actions

[edit]
Enforcement Action
Enforcement action typically rejects the data entry request and requires the input actor to make a change that brings the data into compliance. This is most suitable for interactive use, where a real person is sitting on the computer and making entry. It also works well for batch upload, where a file input may be rejected and a set of messages sent back to the input source for why the data is rejected.
Another form of enforcement action involves automatically changing the data and saving a conformant version instead of the original version. This is most suitable for cosmetic change. For example, converting an [all-caps] entry to a [Pascal case] entry does not need user input. An inappropriate use of automatic enforcement would be in situations where the enforcement leads to loss of business information. For example, saving a truncated comment if the length is longer than expected. This is not typically a good thing since it may result in loss of significant data.
Advisory Action
Advisory actions typically allow data to be entered unchanged but sends a message to the source actor indicating those validation issues that were encountered. This is most suitable for non-interactive system, for systems where the change is not business critical, for cleansing steps of existing data and for verification steps of an entry process.
Verification Action
Verification actions are special cases of advisory actions. In this case, the source actor is asked to verify that this data is what they would really want to enter, in the light of a suggestion to the contrary. Here, the check step suggests an alternative (e.g., a check of a mailing address returns a different way of formatting that address or suggests a different address altogether). You would want in this case, to give the user the option of accepting the recommendation or keeping their version. This is not a strict validation process, by design and is useful for capturing addresses to a new location or to a location that is not yet supported by the validation databases.
Log of validation
Even in cases where data validation did not find any issues, providing a log of validations that were conducted and their results is important. This is helpful to identify any missing data validation checks in light of data issues and in improving

Validation and security

[edit]

Failures or omissions in data validation can lead to data corruption or a security vulnerability.[4] Data validation checks that data are fit for purpose,[5] valid, sensible, reasonable and secure before they are processed.

See also

[edit]

References

[edit]
[edit]
荷兰猪吃什么 梦见猪肉是什么意思 漫游什么意思 吃什么提神 定增是什么意思
轩尼诗是什么酒 吃什么利于排便 什么是零重力座椅 k代表什么意思 肝火旺盛是什么意思
为什么端午节要吃粽子 眼睛飞蚊症吃什么药 脚心痒是什么预兆 邓超的公司叫什么名字 预祝是什么意思
美尼尔氏综合症是什么病 坐月子能吃什么菜 前列腺增生有什么症状 肾虚是什么意思 l1椎体在什么位置
子宫糜烂有什么症状hcv7jop9ns5r.cn 小孩睡觉说梦话是什么原因hcv7jop4ns5r.cn QQ什么意思hcv8jop3ns5r.cn 大小便失禁是什么意思hcv9jop5ns8r.cn 什么的冬瓜kuyehao.com
特需号是什么意思wuhaiwuya.com 雕琢是什么意思hcv8jop1ns4r.cn 鹅蛋炒香菜治什么病xianpinbao.com nit是什么意思liaochangning.com 丸吞是什么意思hebeidezhi.com
土地确权是什么意思hcv9jop5ns4r.cn 肚子有水声是什么原因clwhiglsz.com 资金流入股价下跌为什么hcv8jop7ns6r.cn 身是什么结构hcv9jop6ns2r.cn 石英岩玉是什么hcv9jop7ns3r.cn
激光脱毛对人体有没有什么危害hcv9jop1ns8r.cn 唐氏儿是什么意思hcv8jop2ns6r.cn 素的部首是什么hcv8jop9ns6r.cn 学什么设计最赚钱hcv9jop4ns1r.cn 结婚60年是什么婚hcv8jop3ns4r.cn
百度