WO2020155773A1 - 文本输入异常监控方法、装置、计算机设备及存储介质 - Google Patents
文本输入异常监控方法、装置、计算机设备及存储介质 Download PDFInfo
- Publication number
- WO2020155773A1 WO2020155773A1 PCT/CN2019/118406 CN2019118406W WO2020155773A1 WO 2020155773 A1 WO2020155773 A1 WO 2020155773A1 CN 2019118406 W CN2019118406 W CN 2019118406W WO 2020155773 A1 WO2020155773 A1 WO 2020155773A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- input
- character
- text input
- preset
- preset condition
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- This application relates to the field of computer application technology. Specifically, this application relates to a method, device, computer equipment, and storage medium for monitoring abnormal text input.
- Abnormal user behavior refers to "abnormal" behavior that violates the social civilization norms or group behavior habits and standards. Especially with the improvement of people's awareness of public safety and network safety, there is increasing attention to abnormal behavior detection in crowd scenes, networks and other environments.
- Abnormal behaviors include text box input abnormalities.
- the verification code input or in the account password login input
- the ticketing system when the verification code is input, if the machine automatically recognizes The input speed is very fast, which speeds up the login input.
- the number of tickets is limited, if the automatic input method is used, it is easy to be stolen by people maliciously, resulting in unfair transactions. Therefore, a way to identify malicious enter.
- the purpose of this application is to solve at least one of the above technical defects, and to disclose a method, device, computer equipment, and storage medium for monitoring abnormal text input, which can accurately and quickly monitor whether the text input box is abnormal input.
- this application discloses a method for monitoring text input abnormalities, including:
- the characteristic data includes the character type of the input character, the character input speed, and the first time difference when different characters are input;
- the preset condition includes that the speed of the character input does not exceed a first threshold, and at the same time, the first time difference of each character input does not exceed a second threshold, and the method for judging whether the characteristic data meets the preset condition includes :
- the speed of the character input and the first time difference are compared with the preset condition to determine whether the preset condition is met.
- the preset condition includes that the character input speed does not exceed a first threshold, and at the same time, the first time difference of each character input does not exceed a second threshold, and it is determined whether the characteristic data meets the preset conditions.
- Methods include:
- the speed of the character input and the first time difference are compared with the preset condition to determine whether the preset condition is met.
- the character type of the text input includes inputting one or more of numbers, symbols or text
- the method of matching the preset conditions mapped by the character type from the condition library includes:
- the method of comparing the character input speed and the first time difference with the preset condition includes:
- the speed of character input in each subspace and the first time difference are compared with the corresponding sub-preset conditions in turn to determine whether the preset conditions are met.
- the method for determining whether the preset conditions are met includes:
- the characteristic data further includes a second time difference between the time when the user wakes up the text input box and the time when the first character is input; the preset condition further includes: the user wakes up the text input The second time difference between the time of the box and the time of inputting the first character is greater than the fourth threshold.
- the method further includes:
- the operation mode is a preset operation mode
- the monitoring conditions mapped by the preset operation mode are compared to determine whether the input behavior is an abnormal input.
- this application also discloses a text input abnormal monitoring device, including:
- Obtaining module configured to perform the acquisition of characteristic data during character input in the text input box, where the characteristic data includes the character type of the input character, the character input speed, and the first time difference when different characters are input ;
- Processing module judging whether the characteristic data meets a preset condition, wherein the preset condition changes according to the change of the character type;
- Execution module configured to execute when the preset condition is not met, confirm that the input behavior in the text input box is abnormal input;
- processing module includes:
- the first recognition module recognize the character type of the text input
- the first matching module matching the preset conditions for the character type mapping from a preset condition library, wherein the condition library is a set of mapping relationships between all character types and the preset conditions;
- the first comparison module compares the character input speed and the first time difference with the preset condition to determine whether the preset condition is met.
- the present application discloses a computer device including a memory and a processor.
- the memory stores computer readable instructions.
- the processor executes the above The steps of the published text input abnormal monitoring method.
- this application also discloses a storage medium storing computer-readable instructions.
- the computer-readable instructions are executed by one or more processors, one or more processors execute the above-disclosed text input exception. Steps of the monitoring method.
- the present application discloses a method, device, computer equipment and storage medium for monitoring text input abnormalities.
- the characteristic data is matched with corresponding preset conditions to determine whether the text input box is abnormal input
- there are many kinds of feature data which can be used alone as matching data or combined for data evaluation.
- the preset conditions are also different.
- the text input box can be recognized Abnormal input is accurate and fast.
- Figure 1 is a schematic diagram of a method for monitoring abnormalities in text input according to this application
- Figure 2 is a flowchart of a method for determining whether the application meets the preset conditions
- FIG. 3 is a flowchart of a method for mapping preset conditions by matching character types in this application
- Figure 4 is a flowchart of a method for comparing character input speed and first time difference with preset conditions in this application;
- Fig. 5 is a flowchart of a method for identifying abnormalities in the operating method of this application.
- FIG. 6 is a schematic structural diagram of a device block diagram of a method for monitoring abnormal text input according to this application.
- FIG. 7 is a block diagram of the basic structure of the computer equipment of this application.
- terminal and terminal equipment used herein include both wireless signal receiver equipment, which only has wireless signal receiver equipment without transmitting capability, and also includes receiving and transmitting hardware equipment.
- Such equipment may include: cellular or other communication equipment with a single-line display or multi-line display or cellular or other communication equipment without a multi-line display; PCS (Personal Communications Service, personal communication system), which can combine voice, data processing, fax and/or data communication capabilities; PDA (Personal Digital Assistant, personal digital assistant), which can include radio frequency receivers, pagers, Internet/Intranet access, web browsers, notepads, calendars and/or GPS (Global Positioning System (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device, which has and/or includes a radio frequency receiver, a conventional laptop and/or palmtop computer or other device.
- PCS Personal Communications Service
- PDA Personal Digital Assistant
- GPS Global Positioning System (Global Positioning System) receiver
- a conventional laptop and/or palmtop computer or other device which has and/or includes a radio frequency receiver, a conventional laptop and/or palmtop computer or other device.
- terminal and terminal equipment used here may be portable, transportable, installed in vehicles (aviation, sea and/or land), or suitable and/or configured to operate locally, and/or In a distributed form, it runs on the earth and/or any other location in space.
- the "terminal” and “terminal equipment” used here can also be communication terminals, Internet terminals, music/video playback terminals, such as PDA, MID (Mobile Internet Device, mobile Internet device) and/or mobile phone with music/video playback function, it can also be a smart TV, set-top box and other devices.
- This application discloses a method for monitoring abnormal text input, including:
- the text input box is an interface for the user to input related information in a web page or application program. By entering related information in the text input box, the purpose of logging in to the web page, application program or searching for related content is achieved.
- the text input box has many different types according to the specific location of the webpage or application.
- the type of the text input box here refers to the type of the input label of the input box and the type of characters allowed to be input in the input box.
- Common types of input tags in the text input box include: 1) Only numbers can be input; 2) Text and numbers can be input at the same time; 3) Text, numbers and symbols can be input at the same time; 3) Numbers and symbols can be input at the same time.
- characters include Chinese characters, English characters, and characters in other languages, and symbols include punctuation marks or other characters that are not characters and numbers.
- other combination types are also included, such as a combination of words and symbols.
- it includes a character database, a number database, and a symbol database. By matching the obtained character in the text input box in each database, the character type of the character can be recognized.
- the characteristic data obtained during character input in the text input box also includes the time interval when different characters are input. This time interval is the first Time difference, through the first time interval, you can get the speed of character input.
- the preset condition is a condition set for the characteristic data according to the acquired characteristic data.
- characteristic data There are multiple types of characteristic data, and different characteristic data are mapped to different preset conditions.
- the feature data can be used alone to match the corresponding preset conditions, or multiple different feature data can be combined for matching, and the preset conditions of the combination method are different depending on the combined feature data.
- the preset condition includes that the character input speed does not exceed the first threshold, and the first time difference of each character input does not exceed the first threshold.
- the second threshold and the first threshold are a critical value for judging whether the character input speed is too fast. When the character input speed exceeds the critical value, it means that the current character input is too fast, which may not be manual input; the second threshold is for Determine whether the first time difference of each character input is too short and set the critical value. When the first time difference is lower than the second threshold, it means that the interval between each character input by the user is too fast, which may be through plug-in etc. Or the characters entered in the abnormal input mode have abnormal input phenomenon.
- the comparison of the first threshold and the second threshold disclosed above can be used alone as the basis for the judgment of the corresponding preset condition, and similarly, the two can also be combined as the basis for the judgment of the preset condition.
- the character input speed does not exceed the first threshold
- it does not exceed the second threshold it means that the input character is too fast, and the input of each character
- the time interval is short and does not belong to the normal input condition range.
- the method of judging whether the characteristic data meets the preset conditions includes:
- the text input box can be set by input permissions, so that multiple types of characters can be input at the same time. For example, numbers, characters, and symbols can be input in the text input box. Easy program, its input speed and time interval when inputting multiple characters will be different. Therefore, in this embodiment, the character type of the text input can be recognized from the text input box.
- character databases are set for different types of characters, including text databases, digital databases, and symbol databases. All corresponding databases are collected in each database. Types of data, or designated commonly used data, when the input characters are obtained from the text input box, these characters are sequentially compared with the data in the character database to obtain the determined character type.
- the character type of the recognition text input can also be recognized by a neural network model. Only the characters in the obtained text input box are input into the character recognition neural network model, and the corresponding character type can be output.
- S2200 Match the preset conditions for mapping with the character type from a preset condition library, where the condition library is a set of mapping relationships between all character types and the preset conditions;
- the preset condition library is for all character types and preset conditions. The set of mapping relationships between the two, by identifying the character type of the text input, and matching the type in the preset condition library, the corresponding preset condition can be matched.
- the character type of the text input includes inputting one or more of numbers, symbols, or words, and the input speed of individually recognizing each character and the first time difference between the individual characters will cause data processing The amount increases, so that the matching workload increases. Therefore, in another embodiment, when there are multiple types of characters in the text input box and the number of characters is large, a method of matching the preset conditions mapped by the types of the characters is disclosed. Please refer to FIG. 3. include:
- Preset a specified number value Due to the large number of characters in the text input box, these characters are cut into multiple subspaces according to this specified number. For example, when there are 80 characters in the text input box, the default specified number value is 20 , The text input box is cut into four subspaces. When multiple types of characters can be input in the text input box, each subspace may contain multiple types of characters, and different types of characters and combinations of different types of characters correspond to different preset conditions.
- each subspace is recognized separately, and the type of characters in each subspace is recognized.
- the recognition method is the same as that disclosed above. By dividing the characters Compare with the data in the character database to get the corresponding type.
- a condition library is set, and the condition library is for A collection of mapping relationships between all character types and preset conditions, including preset conditions corresponding to a single type of character, and preset conditions corresponding to multiple different character combinations.
- the corresponding sub-preset conditions are matched in the preset condition library. Since the character types of each subspace are different, the preset conditions for comparison of different subspaces are different. The characters in the same text input box are matched in segments to make the recognition of abnormal text input more accurate.
- the preset conditions include the speed of character input and the first time difference of each character input
- the speed of recognized character input is compared with the first threshold in the preset conditions, when the character When the input speed is greater than the first threshold, the current input is considered to be abnormal.
- the character input speed is less than the first threshold, the first time difference is continued to match, and the first time difference is compared with the second threshold.
- the time difference does not exceed the second threshold, it means that the current character input time interval is short and there may be an abnormal input.
- the first time difference exceeds the second threshold, it can be regarded as a normal input.
- the method of comparing the speed of character input and the first time difference with the preset condition includes:
- S2320 Compare the speed of character input in each subspace and the first time difference with the corresponding sub-preset conditions in sequence to determine whether the preset conditions are met.
- the speed of character input in each subspace and the first time difference are recognized, and the speed and first time difference of each character input obtained in the subspace are compared with the subspace.
- the first threshold and the second threshold of the preset conditions corresponding to the space are compared.
- each character can be The input speed is compared with the first threshold in the corresponding preset condition, and the first time difference between each character in the subspace is compared with the second threshold in the corresponding preset condition to determine whether the subspace Meet the sub-preset conditions.
- the third threshold is a ratio value, which means that the number of subspaces that meet the respective sub-preset conditions accounts for the proportion of all subspaces.
- the proportion of subspaces in the text input box reaches the third threshold, it means text input Most of the characters entered in the box are normal, and the characters entered in the entire text entry box can be considered legal input.
- a threshold can also be set.
- the threshold is the same as the third threshold and is a percentage value.
- the speed of character input in this subspace is less than the first threshold of the corresponding preset condition, and the threshold between characters If the first time difference is greater than the second threshold, the sub-preset conditions of the subspace are satisfied, and the proportion of all characters that meet the sub-preset conditions to the number of characters is calculated.
- the proportion reaches the above threshold, it means that the subspace The input of the space as a whole meets the preset conditions, and the characters in the subspace range are normal input.
- alarm information may be generated according to the compared data to notify the user to view or process.
- the characteristic data further includes a second time difference between the time when the user wakes up the text input box and the time when the first character is input; the preset condition further includes: the user wakes up the The second time difference between the time of the text input box and the time of inputting the first text does not exceed the fourth threshold.
- the text input box When the user needs to enter characters in the text input box, the text input box needs to be awakened first.
- a more common wake-up method is to click on the text input box with the mouse, or to change the current target working position in some way Move to the text input box for text input.
- the characteristic data is defined as the second time difference.
- the fourth threshold When it belongs to normal input, such as manual input, the user There will be a certain interval between waking up the text input box and inputting the first character, and when abnormal input is made, the second time difference from waking up the text input box to inputting the first character will be less than a certain threshold. This is called the fourth threshold.
- the fourth threshold represents the shortest time difference that the user can reach from when the user manually wakes up the text input box to input the first character.
- the second time difference is less than this shortest time difference, it means that the current text input is not human input. It can be considered an abnormal input.
- the method further includes:
- the operation mode is a preset operation mode
- the operation method is the way to characterize the input in the text input box, such as manual input or copy and paste, or file import.
- the text input box When it is manually input, the text input box will be connected to the corresponding input software. And can receive the input information about the input software.
- it When it is copy and paste or file import, it will get the input instructions about copy and paste or file import.
- the input information of the relevant input software and the corresponding input instructions are monitored, Then you can get the operation mode of the character.
- an operation mode database stores all operation modes that conform to normal input.
- the operation mode of the character is matched in the operation mode database to determine whether it belongs to the normal input mode.
- the operation mode of the recognized character is no longer in the operation mode database, the current operation mode is determined to be an abnormal input.
- this application also discloses a text input abnormal monitoring device, including:
- the acquiring module 1000 configured to perform acquiring characteristic data during character input in a text input box, wherein the characteristic data includes the character type of the input character, the character input speed, and the first character when inputting different characters. Time difference; processing module 2000: configured to perform judgment whether the characteristic data meets a preset condition, wherein the preset condition changes according to changes in the character type; execution module 3000: configured to execute when the When the condition is preset, it is confirmed that the input behavior in the text input box is abnormal input.
- FIG. 7 Please refer to FIG. 7 for the basic structural block diagram of the computer equipment provided by the embodiment of the present application.
- the computer device includes a processor, a nonvolatile storage medium, a memory, and a network interface connected through a system bus.
- the non-volatile storage medium of the computer device stores an operating system, a database, and computer-readable instructions.
- the database may store control information sequences.
- the processor can implement a A method for monitoring abnormal text input.
- the processor of the computer equipment is used to provide calculation and control capabilities, and supports the operation of the entire computer equipment.
- a computer readable instruction may be stored in the memory of the computer device, and when the computer readable instruction is executed by the processor, the processor may execute a method for monitoring abnormal text input.
- the network interface of the computer device is used to connect and communicate with the terminal.
- FIG. 7 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
- the specific computer device may Including more or less parts than shown in the figure, or combining some parts, or having a different part arrangement.
- the computer device receives the status information of the prompt behavior sent by the associated client, that is, whether the associated terminal opens the prompt and whether the lender closes the prompt task. By verifying whether the above task conditions are fulfilled, and then sending corresponding preset instructions to the associated terminal, so that the associated terminal can perform corresponding operations according to the preset instruction, thereby realizing effective supervision of the associated terminal.
- the server side controls the associated terminal to continue ringing, so as to prevent the prompt task of the associated terminal from automatically terminating after a period of execution.
- the present application also provides a storage medium storing computer-readable instructions.
- the computer-readable instructions When the computer-readable instructions are executed by one or more processors, the one or more processors execute the text input described in any of the above embodiments. Abnormal monitoring method.
- the computer-readable storage medium may be a non-volatile readable storage medium.
- the computer program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments.
- the aforementioned storage medium can be a magnetic disk, an optical disk, a read-only storage memory (Read-Only Memory, ROM) and other non-volatile storage media, or random access memory (Random Access Memory, RAM), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Debugging And Monitoring (AREA)
Abstract
本申请公开一种文本输入异常监控方法、装置、计算机设备及存储介质,包括:获取文本输入框中字符输入时的特征数据,其中,所述特征数据包括输入的所述字符的字符类型、所述字符输入的速度和输入不同字符时的第一时间差;判断所述特征数据是否符合预设条件,其中,所述预设条件根据所述字符类型变化而变化;当不符合所述预设条件时,确认所述文本输入框中的输入行为为异常输入。本申请通过获取文本输入框中字符输入时的特征数据,通过该特征数据匹配对应的预设条件,以判断文本输入框是否为异常输入,特征数据有多种,且根据特征数据的不同,预设条件也不同,采用这种动态识别的方式,让文本输入框中识别异常输入为精准和快速。
Description
本申请要求于2019年1月28日提交中国专利局、申请号为201910081141.3、发明名称为“文本输入异常监控方法、装置、设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及计算机应用技术领域,具体而言,本申请涉及一种文本输入异常监控方法、装置、计算机设备及存储介质。
背景技术
用户异常行为是指违反社会文明准则或成群体行为习惯和标准的“反常”行为。特别是随着人们对公共安全意识、网络安全意识的提高,因此对人群场景、网络等环境中的异常行为检测的关注度越来越高。
异常行为中包括文本框输入异常,比如在进行验证码输入,或者在进行账号密码登陆输入中,存在非人为输入的方式,在购票系统中,在进行验证码输入时,若采用机器自动识别输入,速度很快,使登入输入加快,当票的数量有限制的情况下,若采用机器自动输入的方式,很容易被人恶意抢走,造成交易的不公平,因此需要有一种方式识别恶意输入。
发明内容
本申请的目的旨在至少能解决上述的技术缺陷之一,公开一种文本输入异常监控方法、装置、计算机设备及存储介质,能够准确、快速地监控文本输入框中是否为异常输入。
为了达到上述目的,本申请公开一种文本输入异常监控方法,包括:
获取文本输入框中字符输入时的特征数据,其中,所述特征数据包括输入的所述字符的字符类型、所述字符输入的速度和输入不同字符时的第一时间差;
判断所述特征数据是否符合预设条件,其中,所述预设条件根据所述字符类型变化而变化;当不符合所述预设条件时,确认所述文本输入框中的输入行为为异常输入;
其中,所述预设条件包括所述字符输入的速度不超过第一阈值的,同时,每个字符输入的第一时间差不超过第二阈值,判断所述特征数据是否符合预设条件的方法包括:
识别所述文本输入的字符类型;
从预设的条件库中匹配与所述字符类型映射的预设条件,其中,所述条件库为针对所有字符类型与预设条件之间映射关系的集合;
将所述字符输入的速度和所述第一时间差与所述预设条件进行比对,以判断是否符合预设条件。
可选的,所述预设条件包括所述字符输入的速度不超过第一阈值的,同时,每个字符输入的第一时间差不超过第二阈值,判断所述特征数据是否符合预设条件的方法包括:
识别所述文本输入的字符类型;
从预设的条件库中匹配与所述字符类型映射的预设条件,其中,所述条件库为针对所有字符类型与预设条件之间映射关系的集合;
将所述字符输入的速度和所述第一时间差与所述预设条件进行比对,以判断是否符合预设条件。
可选的,所述文本输入的字符类型包括输入数字、符号或文字中的一种或多种,所述从条件库中匹配所述字符的类型所映射的预设条件的方法包括:
将文本输入框中输入的所有字符按照指定数量切割成多个子空间;
识别每个子空间中所包含的字符的类型;
在条件库中对每个子空间匹配对应的子预设条件。
可选的,所述将所述字符输入的速度和所述第一时间差与所述预设条件进行比对的方法包括:
识别每个子空间中字符输入的速度和第一时间差;
依次对每个子空间中的字符输入的速度和第一时间差与对应的子预设条件进行比对,以判断是否符合预设条件。
可选的,判断是否符合预设条件的方法包括:
当符合所映射的子预设条件的子空间的比例达到第三阈值时,判断所述文本输入框为正常输入。
可选的,所述特征数据还包括用户唤醒所述文本输入框的时间与输入第一个字符的时间之间的第二时间差;所述预设条件还包括:所述用户唤醒所述文本输入框的时间与输入第一个字符的时间的第二时间差大于第四阈值。
可选的,当不符合所述预设条件时,在判断所述文本输入框中的输入行为异常输入之前,还包括:
识别输入所述字符的操作方式;
当所述操作方式为预设操作方式时,按照所述预设操作方式所映射的监控条件进行比对以判断所述输入行为是否为异常输入。
另一方面,本申请还公开一种文本输入异常监控装置,包括:
获取模块:被配置为执行获取文本输入框中字符输入时的特征数据,其中,所述特征数据包括输入的所述字符的字符类型、所述字符输入的速度和输入不同字符时的第一时间差;
处理模块:判断所述特征数据是否符合预设条件,其中,所述预设条件根据所述字符类型变化而变化;
执行模块:被配置为执行当不符合所述预设条件时,确认所述文本输入框中的输入行为为异常输入;
其中,所述处理模块包括:
第一识别模块:识别所述文本输入的字符类型;
第一匹配模块:从预设的条件库中匹配与所述字符类型映射的预设条件,其中,所述条件库为针对所有字符类型与预设条件之间映射关系的集合;
第一比对模块:将所述字符输入的速度和所述第一时间差与所述预设条件进行比对,以判断是否符合预设条件。
另一方面,本申请公开一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行上述公开的文本输入异常监控方法的步骤。
另一方面,本申请还公开一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述公开的文本输入异常监控方法的步骤。
本申请的有益效果是:
本申请公开文本输入异常监控方法、装置、计算机设备及存储介质,通过获取文本输入框中字符输入时的特征数据,通过该特征数据匹配对应的预设条件,以判断文本输入框是否为异常输入,其中,特征数据有多种,可以单独作为匹配的数据,也可以组合进行数据评价,且根据特征数据的不同,预设条件也不同,采用这种动态识别的方式,让文本输入框中识别异常输入为精准和快速。
本申请附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本申请一种文本输入异常监控方法示意图;
图2为本申请判断是否符合预设条件的方法流程图;
图3为本申请匹配字符的类型所映射的预设条件的方法流程图;
图4为本申请字符输入速度和第一时间差与预设条件比对方法流程图;
图5为本申请操作方法识别是否异常的方法流程图;
图6为本申请一种文本输入异常监控方法装置框图结构示意图;
图7为本申请计算机设备基本结构框图。
具体实施方式
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。
本技术领域技术人员可以理解,这里所使用的“终端”、“终端设备”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal
Communications Service,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(Personal Digital
Assistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global
Positioning
System,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”、“终端设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”、“终端设备”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile
Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。
具体的,请参阅图1,本申请公开一种文本输入异常监控方法,包括:
S1000、获取文本输入框中字符输入时的特征数据,其中,所述特征数据包括输入的所述字符的字符类型、所述字符输入的速度和输入不同字符时的第一时间差;
文本输入框为在网页或者应用程序中供用户输入相关信息的界面,通过在文本输入框中输入相关信息以达到登录网页、应用程序或者查找相关内容的目的。
文本输入框根据所处的网页或者应用程序的具体位置具有多种不同的类型,这里的文本输入框的类型是指输入框输入标签的类型,及允许在输入框中输入的字符类型。文本输入框中常见的输入标签的类型包括:1)只能输入数字;2)同时能输入文字和数字;3)同时能输入文字、数字和符号;3)同时能输入数字和符号。其中,文字包括中文文字、英文文字以及其他语言的文字,符号包括标点符号或者其他不属于文字和数字的字符。在一些实施例中,还包括其他的组合类型,比如文字和符号的组合等。
在一实施例中,包括文字数据库、数字数据库和符号数据库,通过将获取的文本输入框中的字符在各个数据库中进行匹配,即可识别出该字符的字符类型。
在正常输入过程中,输入不同的字符时会产生时间差,当文本输入框中的字符是以词组的形式在文本输入框中显示的时候,其在输入该不同词组的时间间隔也会呈一定的规律,当监测到该时间间隔超过某一阈值,则表示存在输入异常,因此获取的文本输入框中字符输入时的特征数据中,也包括输入不同字符时的时间间隔,该时间间隔为第一时间差,通过第一时间间隔,则可获取得到字符输入的速度。
S2000、判断所述特征数据是否符合预设条件,其中,所述预设条件根据所述字符类型变化而变化;
预设条件为根据获取的特征数据,对该特征数据设定的条件,特征数据有多种,不同的特征数据映射不同的预设条件。特征数据可以单独用于匹配对应的预设条件,也可以是多种不同的特征数据组合起来进行匹配,该组合方式的预设条件因所组合的特征数据的不同而不同。
在一实施例中,由于特征数据中包括字符输入的速度,因此在一实施例中,该预设条件包括字符输入的速度不超过第一阈值,同时每个字符输入的第一时间差不超过第二阈值、第一阈值是为了判断字符输入速度是否过快的一个临界值,当字符输入速度超过该临界值,则表示当前的字符输入过快,可能不是手动人为的输入;第二阈值是为了判断每个字符输入的第一时间差是否过短而设定的临界值,当第一时间差低于这个第二阈值,则表示用户输入每个字符之间的间隔过快,可能是通过外挂等方式或者异常的输入方式输入的字符,存在异常输入现象。
上述公开的第一阈值与第二阈值的比对可以单独使用,作为对应的预设条件的判断基础,同样,也可以将二者组合起来作为预设条件的判断基础。比如当字符输入的速度不超过第一阈值的情况下,识别每个字符输入的第一时间差是否超过第二阈值,当不超过第二阈值,则表示输入字符过快,且每个字符输入的时间间隔短,不属于正常输入的条件范围。
基于以上的字符输入速度和字符输入的第一时间差组合的判断方式,请参阅图2,判断所述特征数据是否符合预设条件的方法包括:
S2100、识别所述文本输入的字符类型;
在一些实施例中,文本输入框中可通过输入权限设置,被设置成可以同时输入多种类型的字符,比如可以在文本输入框中输入数字、文字和符号,由于多种不同字符输入的难易程序,其输入的速度以及输入多个字符时的时间间隔会不一样,因此,在本实施例中,可从文本输入框中识别所述文本输入的字符类型。
不同的字符类型具有不同的特征,这些字符的形态是固定的,在本实施例中,对不同类型的字符设置字符数据库,包括文字数据库、数字数据库和符号数据库,每个数据库中收集了所有对应类型的数据,或者是指定的常用的数据,当从文本输入框中获取了输入的字符后,则将这些字符依次与字符数据库中的数据进行比对,以得到确定的字符类型。
进一步的,识别文本输入的字符类型还可以通过神经网络模型的方式进行识别,只需要将获取的文本输入框中的字符输入到字符识别神经网络模型中,则可输出对应的字符类型。
S2200、从预设的条件库中匹配与所述字符类型映射的预设条件,其中,所述条件库为针对所有字符类型与预设条件之间映射关系的集合;
由于在文本输入框中可输入多种不同类型的字符,可输入的字符或者字符的组合不同,对应的预设条件也不同,因此,预设的条件库为针对所有字符类型与预设条件之间映射关系的集合,通过识别出文本输入的字符类型,将该类型在预设的条件库中进行匹配,则可匹配对应的预设条件。
在一实施例中,所述文本输入的字符类型包括输入数字、符号或文字中的一种或多种,单独识别每个字符的输入速度以及单独的字符之间的第一时间差会使数据处理量增大,从而使匹配的工作量增加。因此,在另一实施例中,针对文本输入框中有多种类型的字符,且字符数量较多时,公开一种匹配所述字符的类型所映射的预设条件的方法,请参阅图3,包括:
S2210、将文本输入框中输入的所有字符按照指定数量切割成多个子空间;
S2220、识别每个子空间中所包含的字符的类型;
S2230、在条件库中对每个子空间匹配对应的子预设条件。
预设一个指定数量值,由于文本输入框中字符数量较多,将这些字符按照这个指定数量切割成多个子空间,比如,当文本输入框中有80个字符时,预设指定数量值为20,则该文本输入框中被切割成四个子空间。当文本输入框中可输入多种类型的字符时,每个子空间中可能包含多种类型的字符,不同类型的字符,以及不同类型的字符的组合对应的预设条件不同。
当将文本输入框中的所有字符按照指定数量切割成多个子空间后,分别对每一个子空间进行识别,识别每个子空间中字符的类型,其识别的方法与上述公开的一样,通过将字符与字符数据库中的数据进行对比,以得到对应的类型。在一实施例中,由于每个子空间可能存在多种不同的字符类型,而这些字符类型的组合对应的预设条件也不一样,但是在本申请中,设置有条件库,该条件库为针对所有字符类型与预设条件之间映射关系的集合,其中包括单独的某一种字符对应的预设条件,也包括多种不同的字符组合所对应的预设条件。通过识别每个子空间中的字符类型,在预设的条件库中匹配对应的子预设条件。由于每个子空间的字符类型不同,因此不同的子空间所进行比对的预设条件也不一样,将同一文本输入框中的字符进行分段匹配,使文本输入异常的识别更为准确。
S2300、将所述字符输入的速度和所述第一时间差与所述预设条件进行比对,以判断是否符合预设条件。
由于预设条件包括字符输入的速度以及每个字符输入的第一时间差,因此,按照上述公开的比对方法,将识别的字符输入的速度与预设条件中的第一阈值进行对比,当字符输入的速度大于第一阈值时,则认定当前为异常输入,当字符输入的速度小于第一阈值时,继续匹配第一时间差,将所述第一时间差与第二阈值进行对比,当该第一时间差不超过第二阈值时,则表示当前字符输入的时间间隔较短,可能存在异常输入,当该第一时间差超过第二阈值时,则可认定为是正常的输入。
进一步的,请参阅图4,所述将所述字符输入的速度和所述第一时间差与所述预设条件进行比对的方法包括:
S2310、识别每个子空间中字符输入的速度和第一时间差;
S2320、依次对每个子空间中的字符输入的速度和第一时间差与对应的子预设条件进行比对,以判断是否符合预设条件。
当将文本输入框中的所有字符分割成多个子空间后,识别每个子空间中字符输入的速度和第一时间差,将该子空间中获取的每一个字符输入的速度和第一时间差与该子空间对应的预设条件的第一阈值和第二阈值进行比对。
在一实施例中,对于某一子空间中,由于每一个字符都有输入的速度,且每两个字符之间都有第一时间差,因此,在这一子空间中,可对每一个字符输入的速度与对应预设条件中的第一阈值进行对比,将该子空间中每个字符之间的第一时间差与对应的预设条件中的第二阈值进行对比,以判断该子空间是否符合子预设条件。
进一步的,在该文本输入框中的所有子空间中
,当符合所映射的子预设条件的子空间的比例达到第三阈值时,则判断整个文本输入框为正常输入。这里第三阈值为一个比例值,表示符合各自的子预设条件的子空间数量占所有子空间数量的占比,当文本输入框中的子空间占比达到第三阈值时,则表示文本输入框中大部分的字符输入是正常的,可以认定该整个文本输入框中输入的字符属于合法输入。
进一步的,由于判断子空间是否符合子预设条件是通过识别该子空间中每一个字符输入的速度和相邻两个字符之间的第一时间差,因此,在判断该子空间是否子预设条件时,也可设置一个阈值,该阈值与第三阈值一样,是一个占比值,在该子空间中的字符输入的速度小于对应的预设条件的第一阈值,且字符与字符之间的第一时间差大于第二阈值则满足该子空间的子预设条件,计算所有符合子预设条件的字符占所有字符的数量的占比,当该占比达到上述的阈值时,则表示该子空间的输入整体上符合预设条件,该子空间范围内的字符属于正常输入。
S3000、当不符合所述预设条件时,确认所述文本输入框中的输入行为为异常输入。
当通过上述对比,识别出所获取的特征数据不符合预设条件时,则确认当前的文本输入框的输入行为为异常输入。进一步的,当识别出当前输入为异常输入时,可根据比对的数据生成警报信息通知用户进行查看或者处理。
在一实施例中,所述特征数据还包括用户唤醒所述文本输入框的时间与输入第一个字符的时间之间的第二时间差;所述预设条件还包括:所述用户唤醒所述文本输入框的时间与输入第一个文本的时间的第二时间差不超过第四阈值。
当用户需要在文本输入框中输入字符时,需要先唤醒该文本输入框,较为常见的一种唤醒方法为,通过鼠标点击该文本输入框,或者说是通过某种方式将当前的目标工作位置移动至文本输入框中,以进行文本输入。基于该现象,可获取用户唤醒所述文本输入框的时间以及输入第一个字符的时间间隔作为特征数据,该特征数据定义为第二时间差,当属于正常的输入时,比如人工输入时,用户唤醒文本输入框与输入第一个字符之间是会有一定的间隔的,而异常输入时,从唤醒该文本输入框到输入第一个字符的时间的第二时间差会小于某一个阈值,此处称为第四阈值,第四阈值表征用户人为唤醒文本输入框到输入第一个字符所能达到的最短时间差,当第二时间差小于这个最短时间差时,则表示当前的文本输入非人为输入,可以认为是异常输入。
进一步的,请参阅图5,当通过上述的方式获取到特征数据不符合对应的所述预设条件时,在判断所述文本输入框中的输入行为异常输入之前,还包括:
S3100、识别输入所述字符的操作方式;
S3200、当所述操作方式为预设操作方式时,按照所述预设操作方式所映射的监控条件进行比对以判断所述输入行为是否为异常输入。
操作方式为表征用在文本输入框中输入的方式,比如手动输入或者通过复制粘贴的方式,或者是文件导入的方式,当为手动输入的方式时,文本输入框会与对应的输入软件连接,并能接收到关于输入软件的输入信息,当为复制粘贴或者文件导入方式时,会获取得到关于复制粘贴或者文件导入的输入指令,当监测到相关输入软件的输入信息以及对应的输入指令时,则可获取得到该字符的操作方式。
在一实施例中,设置有操作方式数据库,该操作方式数据库中存储有所有符合正常输入的操作方式,在本申请中,当识别了文本输入框中字符的输入的操作方式后,根据识别的所述字符的操作方式在操作方式数据库中进行匹配,判断是否属于正常的输入方式。当所识别出的字符的操作方式不再操作方式数据库中时,则认定当前的操作方式为异常输入。
另一方面,请参阅图6,本申请还公开一种文本输入异常监控装置,包括:
获取模块1000:被配置为执行获取文本输入框中字符输入时的特征数据,其中,所述特征数据包括输入的所述字符的字符类型、所述字符输入的速度和输入不同字符时的第一时间差;处理模块2000:被配置为执行判断所述特征数据是否符合预设条件,其中,所述预设条件根据所述字符类型变化而变化;执行模块3000:被配置为执行当不符合所述预设条件时,确认所述文本输入框中的输入行为为异常输入。
由于上述的文本输入异常监控装置是文本输入异常监控方法一一对应的装置,其功能和执行原理一样,此处不再赘述。
本申请实施例提供计算机设备基本结构框图请参阅图7。
该计算机设备包括通过系统总线连接的处理器、非易失性存储介质、存储器和网络接口。其中,该计算机设备的非易失性存储介质存储有操作系统、数据库和计算机可读指令,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种文本输入异常监控方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种文本输入异常监控方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
计算机设备通过接收关联的客户端发送的提示行为的状态信息,即关联终端是否开启提示以及贷款人是否关闭该提示任务。通过验证上述任务条件是否达成,进而向关联终端发送对应的预设指令,以使关联终端能够根据该预设指令执行相应的操作,从而实现了对关联终端的有效监管。同时,在提示信息状态与预设的状态指令不相同时,服务器端控制关联终端持续进行响铃,以防止关联终端的提示任务在执行一段时间后自动终止的问题。
本申请还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述任一实施例所述的文本输入异常监控方法。计算机可读存储介质可以为非易失性可读存储介质。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only
Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。
Claims (20)
- 一种文本输入异常监控方法,其中,包括:获取文本输入框中字符输入时的特征数据,其中,所述特征数据包括输入的所述字符的字符类型、所述字符输入的速度和输入不同字符时的第一时间差;判断所述特征数据是否符合预设条件,其中,所述预设条件根据所述字符类型变化而变化;当不符合所述预设条件时,确认所述文本输入框中的输入行为为异常输入;其中,所述预设条件包括所述字符输入的速度不超过第一阈值的,同时,每个字符输入的第一时间差不超过第二阈值,判断所述特征数据是否符合预设条件的方法包括:识别所述文本输入的字符类型;从预设的条件库中匹配与所述字符类型映射的预设条件,其中,所述条件库为针对所有字符类型与预设条件之间映射关系的集合;将所述字符输入的速度和所述第一时间差与所述预设条件进行比对,以判断是否符合预设条件。
- 根据权利要求1所述的文本输入异常监控方法,其中,所述文本输入的字符类型包括输入数字、符号或文字中的一种或多种,所述从条件库中匹配所述字符的类型所映射的预设条件的方法包括:将文本输入框中输入的所有字符按照指定数量切割成多个子空间;识别每个子空间中所包含的字符的类型;在条件库中对每个子空间匹配对应的子预设条件。
- 根据权利要求2所述的文本输入异常监控方法,其中,所述将所述字符输入的速度和所述第一时间差与所述预设条件进行比对的方法包括:识别每个子空间中字符输入的速度和第一时间差;依次对每个子空间中的字符输入的速度和第一时间差与对应的子预设条件进行比对,以判断是否符合预设条件。
- 根据权利要求3所述的文本输入异常监控方法,其中,判断是否符合预设条件的方法包括:当符合所映射的子预设条件的子空间的比例达到第三阈值时,判断所述文本输入框为正常输入。
- 根据权利要求1所述的文本输入异常监控方法,其中,所述特征数据还包括用户唤醒所述文本输入框的时间与输入第一个字符的时间之间的第二时间差;所述预设条件还包括:所述用户唤醒所述文本输入框的时间与输入第一个字符的时间的第二时间差大于第四阈值。
- 根据权利要求1所述的文本输入异常监控方法,其中,当不符合所述预设条件时,在判断所述文本输入框中的输入行为异常输入之前,还包括:识别输入所述字符的操作方式;当所述操作方式为预设操作方式时,按照所述预设操作方式所映射的监控条件进行比对以判断所述输入行为是否为异常输入。
- 一种文本输入异常监控装置,其中,包括:获取模块:被配置为执行获取文本输入框中字符输入时的特征数据,其中,所述特征数据包括输入的所述字符的字符类型、所述字符输入的速度和输入不同字符时的第一时间差;处理模块:判断所述特征数据是否符合预设条件,其中,所述预设条件根据所述字符类型变化而变化;执行模块:被配置为执行当不符合所述预设条件时,确认所述文本输入框中的输入行为为异常输入;其中,所述处理模块包括:第一识别模块:识别所述文本输入的字符类型;第一匹配模块:从预设的条件库中匹配与所述字符类型映射的预设条件,其中,所述条件库为针对所有字符类型与预设条件之间映射关系的集合;第一比对模块:将所述字符输入的速度和所述第一时间差与所述预设条件进行比对,以判断是否符合预设条件。
- 根据权利要求7所述的文本输入异常监控装置,其中,所述处理模块还包括:切割模块:将文本输入框中输入的所有字符按照指定数量切割成多个子空间;第二识别模块:识别每个子空间中所包含的字符的类型;第二匹配模块:在条件库中对每个子空间匹配对应的子预设条件。
- 根据权利要求8所述的文本输入异常监控装置,其中,所述处理模块还包括:第三识别模块:识别每个子空间中字符输入的速度和第一时间差;条件比对模块:依次对每个子空间中的字符输入的速度和第一时间差与对应的子预设条件进行比对,以判断是否符合预设条件。
- 根据权利要求9所述的文本输入异常监控装置,其中,所述条件对比模块包括:异常判断模块:当符合所映射的子预设条件的子空间的比例达到第三阈值时,判断所述文本输入框为正常输入。
- 根据权利要求8所述的文本输入异常监控装置,其中,所述特征数据还包括用户唤醒所述文本输入框的时间与输入第一个字符的时间之间的第二时间差;所述预设条件还包括:所述用户唤醒所述文本输入框的时间与输入第一个字符的时间的第二时间差大于第四阈值。
- 根据权利要求8所述的文本输入异常监控装置,其中,所述执行模块还包括:第四识别模块:识别输入所述字符的操作方式;第二比对模块:当所述操作方式为预设操作方式时,按照所述预设操作方式所映射的监控条件进行比对以判断所述输入行为是否为异常输入。
- 一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行如下步骤:获取文本输入框中字符输入时的特征数据,其中,所述特征数据包括输入的所述字符的字符类型、所述字符输入的速度和输入不同字符时的第一时间差;识别所述文本输入的字符类型,从预设的条件库中匹配与所述字符类型映射的预设条件,其中,所述条件库为针对所有字符类型与预设条件之间映射关系的集合,将所述字符输入的速度和所述第一时间差与所述预设条件进行比对,以判断是否符合预设条件,其中,所述预设条件根据所述字符类型变化而变化;当不符合所述预设条件时,确认所述文本输入框中的输入行为为异常输入。
- 根据权利要求13所述的计算机设备,其中,所述文本输入的字符类型包括输入数字、符号或文字中的一种或多种,所述从条件库中匹配所述字符的类型所映射的预设条件的方法包括:将文本输入框中输入的所有字符按照指定数量切割成多个子空间;识别每个子空间中所包含的字符的类型;在条件库中对每个子空间匹配对应的子预设条件。
- 根据权利要求14所述的计算机设备,其中,所述将所述字符输入的速度和所述第一时间差与所述预设条件进行比对的方法包括:识别每个子空间中字符输入的速度和第一时间差;依次对每个子空间中的字符输入的速度和第一时间差与对应的子预设条件进行比对,以判断是否符合预设条件。
- 根据权利要求15所述的计算机设备,其中,判断是否符合预设条件的方法包括:当符合所映射的子预设条件的子空间的比例达到第三阈值时,判断所述文本输入框为正常输入。
- 根据权利要求13所述的计算机设备,其中,所述特征数据还包括用户唤醒所述文本输入框的时间与输入第一个字符的时间之间的第二时间差;所述预设条件还包括:所述用户唤醒所述文本输入框的时间与输入第一个字符的时间的第二时间差大于第四阈值。
- 根据权利要求13所述的计算机设备,其中,当不符合所述预设条件时,在判断所述文本输入框中的输入行为异常输入之前,还包括:识别输入所述字符的操作方式;当所述操作方式为预设操作方式时,按照所述预设操作方式所映射的监控条件进行比对以判断所述输入行为是否为异常输入。
- 一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:获取文本输入框中字符输入时的特征数据,其中,所述特征数据包括输入的所述字符的字符类型、所述字符输入的速度和输入不同字符时的第一时间差;判断所述特征数据是否符合预设条件,其中,所述预设条件根据所述字符类型变化而变化;当不符合所述预设条件时,确认所述文本输入框中的输入行为为异常输入;其中,所述预设条件包括所述字符输入的速度不超过第一阈值的,同时,每个字符输入的第一时间差不超过第二阈值,判断所述特征数据是否符合预设条件的方法包括:识别所述文本输入的字符类型;从预设的条件库中匹配与所述字符类型映射的预设条件,其中,所述条件库为针对所有字符类型与预设条件之间映射关系的集合;将所述字符输入的速度和所述第一时间差与所述预设条件进行比对,以判断是否符合预设条件。
- 根据权利要求19所述的计算机可读指令的存储介质,其中,所述文本输入的字符类型包括输入数字、符号或文字中的一种或多种,所述从条件库中匹配所述字符的类型所映射的预设条件的方法包括:将文本输入框中输入的所有字符按照指定数量切割成多个子空间;识别每个子空间中所包含的字符的类型;在条件库中对每个子空间匹配对应的子预设条件。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910081141.3A CN109873813B (zh) | 2019-01-28 | 2019-01-28 | 文本输入异常监控方法、装置、计算机设备及存储介质 |
| CN201910081141.3 | 2019-01-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020155773A1 true WO2020155773A1 (zh) | 2020-08-06 |
Family
ID=66918165
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/118406 Ceased WO2020155773A1 (zh) | 2019-01-28 | 2019-11-14 | 文本输入异常监控方法、装置、计算机设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109873813B (zh) |
| WO (1) | WO2020155773A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113343189A (zh) * | 2021-07-01 | 2021-09-03 | 百融云创科技股份有限公司 | 防止恶意刷取短信验证码的方法及装置 |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109873813B (zh) * | 2019-01-28 | 2022-01-14 | 平安科技(深圳)有限公司 | 文本输入异常监控方法、装置、计算机设备及存储介质 |
| CN110399281A (zh) * | 2019-06-28 | 2019-11-01 | 平安科技(深圳)有限公司 | 异常操作识别方法、装置、计算机设备及存储介质 |
| CN110502127A (zh) * | 2019-08-26 | 2019-11-26 | 北京美鲜科技有限公司 | 一种基于输入框的智能输入提示方法及装置 |
| CN110536017B (zh) * | 2019-09-03 | 2021-05-11 | 中国联合网络通信集团有限公司 | 消息发送控制方法、消息发送控制装置 |
| CN112307005B (zh) * | 2020-11-11 | 2022-08-02 | 天津汇商共达科技有限责任公司 | 一种写入检查方法及装置 |
| CN116049074A (zh) * | 2022-12-19 | 2023-05-02 | 上海芯联芯智能科技有限公司 | 串口通信中识别字符串发送类型的方法、系统、计算装置及可读介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080059119A1 (en) * | 2006-08-29 | 2008-03-06 | Matsushita Electric Works, Ltd. | Anomaly monitoring device and method |
| CN108182000A (zh) * | 2017-12-25 | 2018-06-19 | 科大讯飞股份有限公司 | 键盘输入检测方法及装置、存储介质、电子设备 |
| CN108400980A (zh) * | 2018-02-08 | 2018-08-14 | 平安科技(深圳)有限公司 | 用户身份验证方法、装置、计算机设备和存储介质 |
| CN108959869A (zh) * | 2018-07-03 | 2018-12-07 | 北京润信恒达科技有限公司 | 一种自然人操作的识别方法及装置 |
| CN109873813A (zh) * | 2019-01-28 | 2019-06-11 | 平安科技(深圳)有限公司 | 文本输入异常监控方法、装置、计算机设备及存储介质 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9465789B1 (en) * | 2013-03-27 | 2016-10-11 | Google Inc. | Apparatus and method for detecting spam |
| CN104301286B (zh) * | 2013-07-15 | 2018-03-23 | 中国移动通信集团黑龙江有限公司 | 用户登录认证方法及装置 |
| US9619045B1 (en) * | 2014-04-28 | 2017-04-11 | Amazon Technologies, Inc. | User input source identification based on delayed input |
| CN105243301B (zh) * | 2014-07-09 | 2019-01-18 | 阿里巴巴集团控股有限公司 | 键盘输入异常检测方法、装置以及安全提示方法、装置 |
| CN104932712A (zh) * | 2015-06-25 | 2015-09-23 | 小米科技有限责任公司 | 文本输入方法和装置 |
| CN109145554A (zh) * | 2018-07-12 | 2019-01-04 | 温州大学苍南研究院 | 一种基于支持向量机的击键特征异常用户识别方法及系统 |
-
2019
- 2019-01-28 CN CN201910081141.3A patent/CN109873813B/zh active Active
- 2019-11-14 WO PCT/CN2019/118406 patent/WO2020155773A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080059119A1 (en) * | 2006-08-29 | 2008-03-06 | Matsushita Electric Works, Ltd. | Anomaly monitoring device and method |
| CN108182000A (zh) * | 2017-12-25 | 2018-06-19 | 科大讯飞股份有限公司 | 键盘输入检测方法及装置、存储介质、电子设备 |
| CN108400980A (zh) * | 2018-02-08 | 2018-08-14 | 平安科技(深圳)有限公司 | 用户身份验证方法、装置、计算机设备和存储介质 |
| CN108959869A (zh) * | 2018-07-03 | 2018-12-07 | 北京润信恒达科技有限公司 | 一种自然人操作的识别方法及装置 |
| CN109873813A (zh) * | 2019-01-28 | 2019-06-11 | 平安科技(深圳)有限公司 | 文本输入异常监控方法、装置、计算机设备及存储介质 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113343189A (zh) * | 2021-07-01 | 2021-09-03 | 百融云创科技股份有限公司 | 防止恶意刷取短信验证码的方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109873813A (zh) | 2019-06-11 |
| CN109873813B (zh) | 2022-01-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020155773A1 (zh) | 文本输入异常监控方法、装置、计算机设备及存储介质 | |
| WO2020258657A1 (zh) | 异常检测方法、装置、计算机设备及存储介质 | |
| WO2019037197A1 (zh) | 主题分类器的训练方法、装置及计算机可读存储介质 | |
| WO2019174090A1 (zh) | 截屏文件分享的控制方法、装置、设备和计算机存储介质 | |
| WO2015020354A1 (en) | Apparatus, server, and method for providing conversation topic | |
| WO2019024485A1 (zh) | 数据共享方法、装置及计算机可读存储介质 | |
| WO2015122691A1 (en) | Dynamically modifying elements of user interface based on knowledge graph | |
| WO2021027143A1 (zh) | 信息推送方法、装置、设备及计算机可读存储介质 | |
| WO2020233060A1 (zh) | 事件通知方法、事件通知服务器、存储介质及装置 | |
| WO2020258672A1 (zh) | 网络访问的异常检测方法和装置 | |
| WO2020073494A1 (zh) | 网页后门检测方法、设备、存储介质及装置 | |
| WO2020077832A1 (zh) | 云桌面的访问方法、装置、设备及存储介质 | |
| WO2020085558A1 (ko) | 고속분석 영상처리장치 및 그 장치의 구동방법 | |
| WO2015129983A1 (ko) | 분산 퍼지 연관 규칙 마이닝에 기반한 영화 추천 장치 및 방법 | |
| WO2016123898A1 (zh) | 一种短信管理方法及其移动终端 | |
| WO2023282371A1 (ko) | 인공지능 학습모델을 이용하여 다국어 자막 서비스를 제공하는 서버 및 방법과, 서버의 제어 방법 | |
| WO2012165761A2 (ko) | 집단지성 서비스 시스템 및 그 방법 | |
| WO2014148784A1 (en) | Linguistic model database for linguistic recognition, linguistic recognition device and linguistic recognition method, and linguistic recognition system | |
| WO2019124770A1 (ko) | 단말 장치 및 단말 장치의 제어 방법 | |
| WO2020007099A1 (zh) | 电视终端控制方法、设备及计算机可读存储介质 | |
| WO2021010578A1 (en) | Electronic apparatus and method for recognizing speech thereof | |
| WO2015009037A1 (ko) | 통신 기록 정보를 이용한 그룹 형성 방법 및 장치 | |
| WO2016186326A1 (ko) | 검색어 리스트 제공 장치 및 이를 이용한 방법 | |
| WO2016093652A2 (ko) | 전화번호를 통하여 클라우드 서버에 접속하여 가족 앨범을 이용할 수 있도록 하는 가족 앨범서비스 제공방법 | |
| WO2020258658A1 (zh) | 异常操作识别方法、装置、计算机设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19913650 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19913650 Country of ref document: EP Kind code of ref document: A1 |