Input behavior identification method and device, electronic equipment and readable storage medium

By obtaining the input behavior data of the terminal device and using the remote control recognition model for identification processing, the problem of the terminal device being abnormally controlled remotely is solved and security and user experience are improved.

CN118862060APending Publication Date: 2024-10-29RIVER INFORMATION TECH SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410884039.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Terminal devices are prone to abnormal remote control during use, resulting in privacy and important information being stolen, and users facing monetary losses and security threats. It is difficult to effectively identify and prevent this situation with existing technology.

Method used

By obtaining the input behavior data of the specified application, the pre-trained remote control recognition model is used to perform control recognition processing, and security control processing is performed based on the recognition results to prevent the terminal from being abnormally controlled remotely.

Benefits of technology

Effectively identify the input behavior of the terminal, prevent abnormal remote control, and improve the security of the terminal and applications without affecting the user experience and improving the user's sense of security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118862060A_ABST
    Figure CN118862060A_ABST
Patent Text Reader

Abstract

The invention discloses an input behavior recognition method and device, electronic equipment and a readable storage medium, and relates to the technical field of data processing, in particular to the technical field of artificial intelligence such as big data and information security. The specific implementation scheme is as follows: acquiring input behavior data of a specified application; based on a remote control identification model, performing control identification processing on the input behavior data to obtain a control identification result of the input behavior data; and according to the control identification result, performing security control processing on the input behavior data so as to control the operation of the specified application based on the input behavior data. According to the method, the input behavior of the terminal can be effectively identified, so that the terminal is prevented from being controlled abnormally and remotely, and the safety of the terminal and the application is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and specifically to the field of artificial intelligence technology such as big data and information security. Background Art

[0002] With the in-depth development of the Internet, applications (Application, APP) applied to terminals emerge in an endless stream. When using applications, users may encounter abnormal remote control of the terminal. For example, the terminal is invaded by exploiting system vulnerabilities, and remote control applications are automatically installed, and the remote desktop control function is enabled, and then personal privacy information and important information are stolen from the invaded terminal. In this way, not only the core content of the application and the user's privacy content on the terminal are stolen, but also the terminal user may suffer financial losses.

[0003] Therefore, it is of great significance to effectively identify the input behavior of the terminal and prevent the terminal from being abnormally remotely controlled. Summary of the invention

[0004] The present disclosure provides a method, device, electronic device and readable storage medium for identifying an input behavior.

[0005] According to one aspect of the present disclosure, a method for identifying an input behavior is provided, comprising:

[0006] Get the input behavior data of the specified application;

[0007] Based on the remote control recognition model, performing control recognition processing on the input behavior data to obtain a control recognition result of the input behavior data;

[0008] According to the control identification result, security control processing is performed on the input behavior data to control the operation of the designated application based on the input behavior data.

[0009] According to another aspect of the present disclosure, there is provided an input behavior recognition device, comprising:

[0010] An acquisition unit, used to acquire input behavior data of a specified application;

[0011] an identification unit, configured to perform control identification processing on the input behavior data based on a remote control identification model to obtain a control identification result of the input behavior data;

[0012] A control unit is used to perform security control processing on the input behavior data according to the control identification result, so as to control the operation of the designated application based on the input behavior data.

[0013] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any possible implementation manner and the aspects described above.

[0017] According to yet another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method of the above-mentioned aspect and any possible implementation manner.

[0018] According to yet another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements the above-mentioned aspects and any possible implementation method.

[0019] It can be seen from the above technical solution that the embodiment of the present disclosure obtains the input behavior data of the specified application, and then performs control identification processing on the input behavior data based on the remote control identification model to obtain the control identification result of the input behavior data, so that the input behavior data can be safely controlled according to the control identification result to control the operation of the specified application based on the input behavior data. Since the pre-trained remote control identification model is used to perform control identification processing on the input behavior data of the specified application, the input behavior of the terminal can be effectively identified to avoid abnormal remote control of the terminal, thereby improving the security of the terminal and the application.

[0020] In addition, by adopting the technical solution provided by the present disclosure, it is possible to effectively identify the input behavior of the terminal without affecting the user experience of the terminal, and to prevent the terminal from being abnormally remotely controlled in a timely manner.

[0021] In addition, the technical solution provided by the present disclosure can effectively improve the user experience.

[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments or prior art descriptions. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. The drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. Among them:

[0024] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;

[0025] Figure 2 is a schematic diagram according to a second embodiment of the present disclosure;

[0026] Figure 3 The block diagram is a block diagram of an electronic device used to implement the input behavior recognition method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0028] Obviously, the described embodiments are only part of the embodiments of the present disclosure, but not all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.

[0029] It should be noted that the terminals involved in the embodiments of the present disclosure may include but are not limited to computers (Personal Computer, PC), mobile phones, personal digital assistants (Personal Digital Assistant, PDA), wireless handheld devices, tablet computers and other smart devices; display devices may include but are not limited to personal computers, televisions and other devices with display functions.

[0030] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0031] Remote desktop control is a technology that logs in from one computer to another through a computer network and displays the desktop environment of another computer on the current computer. Through this technology, you can control the remote computer from the current computer. Everything seems to be operated directly on the current computer.

[0032] For those remote locations where it is not convenient for a large number of computer professionals to work on site, this technology greatly facilitates the work in these scenarios and saves costs. But at the same time, some network hackers or fraud groups have also set their sights on this technology. They can use computer vulnerabilities and other means to break into users' computers, automatically trigger the installation of remote control applications, turn on the remote desktop control function, and then steal personal privacy information, important documents, account passwords, etc. from users' computers. Or by deceiving users, you can first let users actively install remote control applications on their computers, log in to the bank system, and then let users hand over desktop control rights, so as to remotely control users' computers and achieve illegal acts such as stealing bank account passwords or transferring funds. Currently popular remote control applications include TeamViewer, AnyDesk, ToDesk, etc.

[0033] Similarly, other terminals such as mobile phones also have the same problem.

[0034] Therefore, there is an urgent need to provide an identification method that can identify abnormal remote control of terminals such as computers and mobile phones to improve the security of terminals and applications.

[0035] Figure 1 is a schematic diagram according to the first embodiment of the present disclosure, such as Figure 1 shown.

[0036] 101. Obtain input behavior data of a specified application.

[0037] Among them, the input behavior data obtained may include but is not limited to local input data generated by the input device of the terminal (i.e., local input data of the input device of the terminal) and remote input data generated by the input device of the remote terminal (i.e., remote input data of the input device of the remote terminal), and this embodiment does not specifically limit this.

[0038] Local input data refers to input data generated by an input device of the terminal, such as input data generated by a local mouse, input data generated by a local keyboard, input data generated by a local touch screen, etc.

[0039] Remote input data refers to input data generated by an input device of a remote terminal, such as input data generated by a remote mouse, input data generated by a remote keyboard, input data generated by a remote touch screen, etc.

[0040] 102. Perform control recognition processing on the input behavior data based on a remote control recognition model to obtain a control recognition result of the input behavior data.

[0041] 103. Perform security control processing on the input behavior data according to the control identification result to control the operation of the designated application based on the input behavior data.

[0042] At this point, by using the pre-trained remote control recognition model to identify the input behavior data of the specified application, it is possible to detect whether the terminal is under abnormal remote control, thereby detecting abnormal remote control that the terminal user is unaware of, and timely intercepting the control operation triggered by the input behavior data.

[0043] In this application, the word "specified" in the designated application does not have any special meaning. It is just to specify the current operation object. Therefore, the designated application is an ordinary application.

[0044] It should be noted that part or all of the execution entities of 101 to 103 may be applications located in the local terminal, or may also be functional units such as plug-ins or software development kits (SDK) set in the applications located in the local terminal, or may also be processing engines located in the network-side server, or may also be distributed systems located on the network side, for example, a processing engine or distributed system in an input behavior recognition device on the network side, etc. This embodiment does not specifically limit this.

[0045] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.

[0046] In this way, by obtaining the input behavior data of the specified application, and then based on the remote control recognition model, control recognition processing is performed on the input behavior data to obtain the control recognition result of the input behavior data, so that the input behavior data can be safely controlled according to the control recognition result to control the operation of the specified application based on the input behavior data. Since the pre-trained remote control recognition model is used to perform control recognition processing on the input behavior data of the specified application, the input behavior of the terminal can be effectively identified to avoid abnormal remote control of the terminal, thereby improving the security of the terminal and the application.

[0047] Optionally, in a possible implementation of this embodiment, before 102, a step of constructing the remote control recognition model may be further included.

[0048] In a specific implementation process, input behavior sample data of at least one specified application may be collected.

[0049] Specifically, the input behavior data of the specified application generated by the user operating the input device can be collected to generate a sample data sequence. In order to ensure that the data of each user can be uniquely identified, a session identifier (session_id) can be used to uniquely identify a user, and the sample data sequence corresponding to a user can be used as a sample.

[0050] Among these input behavior data, the sample data sequence containing remote input data is a positive sample, and the sample data sequence not containing remote input data is a negative sample.

[0051] Specifically, the characteristic timestamps of input events of the input devices operated by the user can be collected as sample data sequences. For example, for mouse events, the timestamps of cursor movement events and event occurrences can be collected; for keyboard events, the timestamps of when each key is pressed and when it is released can be collected. Then, the characteristic timestamps of each input event can be arranged in the order of the time when the event occurred, and a user can be uniquely identified by a session identifier (session_id). The sample data sequence corresponding to a user can be regarded as a sample. The sample data sequence containing remote input data is a positive sample, and the label (label) is 1. The sample data sequence that does not contain remote input data is a negative sample, and the label (label) is 0.

[0052] Then, the input behavior sample data of each designated application in the at least one designated application may be used to perform model training to construct the remote control recognition model.

[0053] Specifically, after collecting the input behavior sample data of at least one designated application, the input behavior sample data of each designated application can be subjected to data splitting processing to obtain the behavior sample data of at least two input devices of each designated application. Furthermore, the feature data of each input device of each designated application can be obtained based on the behavior sample data of each input device in the behavior sample data of the at least two input devices. Then, the feature data of each input device of each designated application can be used for model training to construct the remote control recognition model.

[0054] After collecting input behavior sample data of at least one specified application, it is necessary to filter out samples containing missing values ​​or outliers during data processing. This can ensure the quality of the collected data and improve the accuracy of subsequent analysis.

[0055] Through the observation and analysis of a large amount of input behavior data, it is found that the remote input data generated by the mouse or keyboard in the samples of the sample data sequence containing remote input data is different from the local input data generated by the mouse or keyboard in the samples of the sample data sequence not containing remote input data (that is, the samples that are all local input data).

[0056] For example, when performing remote control operations through TeamViewer, the key duration of the keyboard is lower than that of the keyboard during local control operations.

[0057] Or, for another example, when a remote control operation of an application on a WINDOWS system is performed on a MAC operating system through AnyDesk, the key duration of the keyboard is shorter than the key duration of the keyboard during the local control operation.

[0058] Therefore, the sample data sequence can be further preprocessed. The specific steps are as follows:

[0059] a) Splitting the sample data sequence according to the input device to obtain input behavior data of different input devices as behavior sample data of different input devices.

[0060] Since a sample may contain input behavior data of multiple input devices at the same time, for example, input behavior data of a mouse and a keyboard at the same time, the input behavior data of different input devices can be extracted according to the time sequence.

[0061] b) Calculate the key duration based on the keyboard input behavior data.

[0062] The time difference between the release moment and the pressing moment of a key can be called a key duration.

[0063] Specifically, the keydurations of all keys after filtering out larger abnormal values ​​(for example, greater than 1.0 second) are formed into a key duration sequence.

[0064] c) Calculate the mouse duration based on the mouse input behavior data.

[0065] For every two adjacent mouse move events, the time difference between the latter mouse move event and the previous mouse move event is calculated, and the average value of the time difference within a preset time (eg, 1 second) can be taken as a mouse movement duration (mouse duration).

[0066] Specifically, all mouse mousedurations after filtering out larger abnormal values ​​(for example, greater than 0.5 seconds) are formed into a mouse duration sequence.

[0067] At this point, after preprocessing the sample data sequence, the input behavior data of different input devices are obtained to serve as the behavior sample data of different input devices.

[0068] After obtaining the behavior sample data of different input devices of each specified application, feature extraction processing may be further performed on the behavior sample data of different input devices to obtain feature data of each input device of each specified application. The specific steps are as follows:

[0069] a) Divide the window.

[0070] You can set a value (count), for example, 5, to specify the number of windows that the duration sequence is divided into. Taking the mouse behavior sample data and keyboard behavior sample data as examples, divide the mouse duration and keyduration into windows according to the count value, so that the number of durations in each group of windows is equal.

[0071] b) Calculate the distribution characteristics of duration.

[0072] Filter out samples whose window number is less than the count value, and then calculate the distribution characteristics of the duration in each group of windows, for example, the minimum value min, maximum value max, mean value mean, and standard deviation std, and you can get a set of distribution characteristics [min, max, mean, std].

[0073] c) Distribution characteristics of splicing mouse duration and key duration.

[0074] Taking the behavior sample data of the mouse and the behavior sample data of the keyboard as examples, each group of distribution features of mouse duration and key duration are spliced ​​together according to the order of event occurrence to obtain the mouse input behavior distribution feature sequence (mouse duration stat) and the keyboard input behavior distribution feature sequence (key duration stat). Finally, the mouse input behavior distribution feature sequence (mouse duration stat) and the keyboard input behavior distribution feature sequence (key duration stat) are spliced ​​to obtain the final feature data sequence.

[0075] Furthermore, in order to eliminate the dimensional effects between different features, we need to standardize the features. Here we use the z-score algorithm to standardize the feature data.

[0076] In another specific implementation process, during the model training process, model training can be performed for at least one remote control application respectively using the input behavior sample data of each specified application in the at least one specified application to construct a remote control recognition model for each remote control application in the at least one remote control application.

[0077] Since the input behavior data of the mouse and keyboard generated by different remote control applications are obviously different, the feature data generated by all remote control applications cannot be mixed together for model training. Therefore, the positive samples generated by each remote control application can be split, and then each standardized positive sample and negative sample can be divided into a training set, a verification set, and a test set in a ratio of 7:1:2, so as to be used for training, verification, and testing a binary classification model (such as random forest) respectively.

[0078] Among them, the training set and validation set are used to train the binary classification model, and the test set is used to test the trained binary classification model and evaluate the generalization ability of the binary classification model. If the generalization ability meets the expectations, the model training is completed. If the generalization ability does not meet the expectations, it is necessary to analyze the reasons and retrain the model by adjusting the model hyperparameters, collecting more complete data, adjusting the model, etc. until the generalization ability of the model meets the expectations.

[0079] In this way, a binary classification model is obtained by training each positive and negative sample, and multiple binary classification models can be trained to serve as remote control recognition models for each remote control application.

[0080] At this point, each binary classification model has been trained, and each trained binary classification model can be applied to predict new input behavior data. Each binary classification model can divide the input behavior data into two categories, 1 means that the user has been controlled by the remote control application corresponding to the binary classification model during the process of accessing the application; 0 means that the user has not been controlled by the remote control application corresponding to the binary classification model during the process of accessing the application.

[0081] In this embodiment, as long as one of the binary classification models predicts that the new input behavior data is 1, it means that the terminal operated by the user has been controlled by the remote control application. At this time, the input behavior data can be intercepted. For example, the access request of the user corresponding to the session_id can be intercepted by adding the IP to the blacklist, etc., and access is denied to protect the interests of the user; if all the binary classification models predict that the new input behavior data is 0, it means that the terminal operated by the user has not been controlled by the remote control application and the entire process is a local operation. At this time, the input behavior data can be released without any additional operation processing on the input behavior data.

[0082] Optionally, in a possible implementation of this embodiment, in 103, the control identification result may be specifically judged and processed to determine whether the input behavior data is remote desktop control data.

[0083] In this implementation, if the control identification result is that the input behavior data is remote desktop control data, the input behavior data can be intercepted; if the control identification result is that the input behavior data is local input control data, no additional operations are required on the input behavior data, and the input behavior data can be directly transmitted, that is, the input behavior data is transparently transmitted to provide the input behavior data to the designated application.

[0084] For example, if the control identification result is that the input behavior data is remote desktop control data, a prompt message can be output to inform the user of the terminal that the current input behavior data of the terminal is remote desktop control data, and the user needs to confirm whether this is remote control authorized by the user or remote control not authorized by the user, that is, abnormal remote control.

[0085] The user can perform an interactive operation based on the prompt message, and at this time, the user's interactive operation based on the prompt message is further obtained. The interactive operation may include but is not limited to an interactive operation gesture, and the interactive operation gesture may include but is not limited to at least one of the following interactive operation gestures:

[0086] The user's operation gesture on the interactive operation control corresponding to the prompt message;

[0087] A user's hovering gesture above the prompt message;

[0088] A user's touch operation gesture on the prompt message; and

[0089] The user drives the movement trend of the terminal based on the prompt message.

[0090] The so-called user operation gesture on the interactive operation control corresponding to the prompt message may refer to a user operation such as clicking on the interactive operation control on the prompt message displayed on the display device of the operation terminal. The so-called interactive operation control is an object with which the user can interact to input or operate data, and may be composed of one or more page elements. Among them, the so-called click operation can be a trigger operation performed by the user using an external input device such as a mouse or keyboard to control the cursor, or it can also be a touch operation performed by the user using a touch input device such as a finger or an input pen, and this embodiment does not specifically limit this.

[0091] For example, the user can specifically perform a click operation on the authorized operation control or the unauthorized operation control on the prompt message. After obtaining the user's click operation gesture on the unauthorized operation control on the prompt message, the input behavior data can be directly intercepted. After obtaining the user's click operation gesture on the authorized operation control on the prompt message, no additional operations are performed on the input behavior data, and the input behavior data is directly transmitted, that is, the input behavior data is transparently transmitted.

[0092] The so-called user's suspended operation gesture above the prompt message may refer to the suspended sliding track of the user above the prompt message displayed on the display device of the terminal within the acquisition range of the terminal's image sensor. The image sensor may be a charge coupled device (CCD) sensor, or may be a complementary metal-oxide semiconductor (CMOS) sensor, which is not particularly limited in this embodiment. The suspended sliding track may include, but is not limited to, a straight line composed of a number of stop points corresponding to a number of continuous sliding events or a curve of any shape, which is not particularly limited in this embodiment.

[0093] The so-called contact operation gesture of the user on the prompt message may refer to the contact sliding track of the user on the prompt message displayed by the display device of the terminal. Generally, the terminal can be divided into two types according to whether the display device has a touch-sensitive feature, one type is a touch-sensitive terminal, and the other type is a non-touch-sensitive terminal. Specifically, the contact sliding track of the user on the prompt message displayed on the touch screen of the touch-sensitive terminal can be detected. The contact sliding track may include but is not limited to a straight line or a curve of any shape composed of a number of touch points corresponding to a number of continuous touch events, and this embodiment does not specifically limit this. Specifically, it can be a click operation gesture of the user in any area on the prompt message, or it can also be a long press operation gesture of the user in any area on the prompt message, or it can also be a sliding operation gesture of the user in any area on the prompt message, and this embodiment does not specifically limit this.

[0094] For example, the user can perform a long press operation on any area on the prompt message. After obtaining the long press operation gesture of the user on any area on the prompt message, the authorized option and the unauthorized option can be output for the user to operate. After the user operates the unauthorized option, the input behavior data can be directly intercepted. After the user operates the authorized option, no additional operation is performed on the input behavior data, and the input behavior data is directly transmitted, that is, the input behavior data is transparently transmitted.

[0095] The so-called movement trend of the terminal driven by the user based on the prompt message may refer to the movement trajectory of the terminal driven by the user holding the terminal and moving the terminal when the display device of the terminal displays the prompt message, such as shaking, flipping, etc.

[0096] In a specific implementation process, a sensor device may be used to detect the user's operation gesture based on the prompt message. Specifically, the sensor device may include but is not limited to at least one of a gravity sensor, an acceleration sensor, a pressure sensor, an infrared sensor, a distance sensor, and an image sensor, which is not particularly limited in this embodiment.

[0097] The distance sensor may be an ultrasonic distance sensor, an infrared distance sensor, a laser distance sensor, or a microwave distance sensor, which is not particularly limited in this embodiment. These distance sensors are all existing mature technologies, and detailed descriptions can be found in the relevant contents of the prior art, which will not be repeated here.

[0098] The image sensor may be a charge coupled device (CCD) sensor, or a complementary metal-oxide semiconductor (CMOS) sensor, which is not particularly limited in this embodiment.

[0099] In the implementation process, the so-called detection of the user's operation gesture based on the prompt message may specifically refer to detecting the starting point, the ending point and the trajectory formed by the starting point to the ending point of the user's operation gesture based on the prompt message, or further detecting the arc data corresponding to the trajectory.

[0100] To achieve the above functions, optionally, in a possible implementation of this embodiment, before obtaining the user's interactive operation based on the prompt message, a specified operation may be further preset. Only when the obtained interactive operation satisfies the preset specified operation, can the corresponding control operation on the obtained input behavior data be executed.

[0101] Taking the acquired interactive operation including an interactive operation gesture as an example, after acquiring the interactive operation gesture of the user based on the prompt message, the operation gesture can be compared with the pre-set specified gesture. Only when the acquired interactive operation gesture satisfies the pre-set specified gesture can the corresponding control operation of the acquired input behavior data be executed.

[0102] Specifically, the data of the designated gesture may be stored in a storage device of the terminal.

[0103] In a specific implementation process, the storage device of the terminal can be a slow storage device, specifically a hard disk of a computer system, or it can also be a non-operating memory of a mobile phone, that is, a physical memory, for example, a read-only memory (ROM) and a memory card, etc. This embodiment does not specifically limit this.

[0104] In another specific implementation process, the storage device of the terminal may also be a fast storage device, specifically the memory of a computer system, or may also be the running memory of a mobile phone, i.e., the system memory, for example, a random access memory (RAM), etc. This embodiment does not specifically limit this.

[0105] In this implementation, as a response to the user's interactive operation based on the prompt message of the specified application, an operation control instruction can be obtained, and then, based on the operation control instruction, the input behavior data can be intercepted or provided to the specified application.

[0106] In this embodiment, the input behavior data of the specified application is obtained, and then control identification processing is performed on the input behavior data based on a remote control identification model to obtain a control identification result of the input behavior data, so that the input behavior data can be securely controlled according to the control identification result to control the operation of the specified application based on the input behavior data. Since the input behavior data of the specified application is controlled and identified using a pre-trained remote control identification model, the input behavior of the terminal can be effectively identified to avoid abnormal remote control of the terminal, thereby improving the security of the terminal and the application.

[0107] In addition, by adopting the technical solution provided by the present disclosure, it is possible to effectively identify the input behavior of the terminal without affecting the user experience of the terminal, and to prevent the terminal from being abnormally remotely controlled in a timely manner.

[0108] In addition, the technical solution provided by the present disclosure can effectively improve the user experience.

[0109] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present disclosure.

[0110] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0111] Figure 2 is a schematic diagram according to the second embodiment of the present disclosure, such as Figure 2 As shown. The input behavior recognition device 200 of this embodiment may include an acquisition unit 201, an identification unit 202 and a control unit 203. Among them, the acquisition unit 201 is used to acquire the input behavior data of the specified application; the identification unit 202 is used to perform control identification processing on the input behavior data based on the remote control identification model to obtain the control identification result of the input behavior data; the control unit 203 is used to perform security control processing on the input behavior data according to the control identification result to control the operation of the specified application based on the input behavior data.

[0112] It should be noted that part or all of the input behavior recognition device of this embodiment may be an application located in the local terminal, or may also be a functional unit such as a plug-in or software development kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in an input behavior recognition platform on the network side, etc. This embodiment does not specifically limit this.

[0113] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.

[0114] Optionally, in a possible implementation of this embodiment, the identification unit 202 can be further used to collect input behavior sample data of at least one specified application; and perform model training for at least one remote control application, using the input behavior sample data of each specified application in the at least one specified application, so as to construct a remote control identification model for each remote control application in the at least one remote control application.

[0115] In a specific implementation process, the identification unit 202 can be specifically used to perform data splitting processing on the input behavior sample data of each specified application to obtain behavior sample data of at least two input devices of each specified application; obtain feature data of each input device of each specified application based on the behavior sample data of each input device in the behavior sample data of the at least two input devices; and perform model training using the feature data of each input device of each specified application for at least one remote control application respectively to construct a remote control recognition model for each remote control application in the at least one remote control application.

[0116] Optionally, in a possible implementation of this embodiment, the control unit 203 may be specifically configured to intercept the input behavior data if the control identification result is that the input behavior data is remote desktop control data.

[0117] In a specific implementation process, the control unit 203 can be specifically used to output a prompt message if the control identification result is that the input behavior data is remote desktop control data; obtain an operation control instruction in response to the interactive operation of the user of the terminal based on the prompt message; and intercept the input behavior data or provide the input behavior data to the specified application according to the operation control instruction.

[0118] In another specific implementation process, the control unit 203 may be further configured to provide the input behavior data to the designated application if the control identification result is that the input behavior data is local input control data.

[0119] It should be noted that Figure 1 The corresponding method in the embodiment can be implemented by the input behavior recognition device provided in this embodiment. Figure 1 The relevant contents in the corresponding embodiments will not be repeated here.

[0120] In this embodiment, the input behavior data of the specified application is acquired by the acquisition unit, and then the identification unit performs control identification processing on the input behavior data based on the remote control identification model to obtain a control identification result of the input behavior data, so that the control unit can perform security control processing on the input behavior data according to the control identification result to control the operation of the specified application based on the input behavior data. Since the pre-trained remote control identification model is used to perform control identification processing on the input behavior data of the specified application, the input behavior of the terminal can be effectively identified to avoid abnormal remote control of the terminal, thereby improving the security of the terminal and the application.

[0121] In addition, by adopting the technical solution provided by the present disclosure, it is possible to effectively identify the input behavior of the terminal without affecting the user experience of the terminal, and to prevent the terminal from being abnormally remotely controlled in a timely manner.

[0122] In addition, the technical solution provided by the present disclosure can effectively improve the user experience.

[0123] In the technical solution disclosed herein, the acquisition, storage and application of the input behavior data involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0124] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0125] Figure 3A schematic block diagram of an example electronic device 300 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0126] like Figure 3 As shown, the electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0127] A number of components in the electronic device 300 are connected to the I / O interface 305, including: an input unit 306, such as a keyboard, a mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a disk, an optical disk, etc.; and a communication unit 309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 309 allows the electronic device 300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0128] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 301 performs the various methods and processes described above, such as the input behavior recognition method. For example, in some embodiments, the input behavior recognition method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 300 via ROM 302 and / or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of the input behavior recognition method described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the input behavior recognition method in any other appropriate manner (e.g., by means of firmware).

[0129] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0130] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0131] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0132] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0133] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0134] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0135] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0136] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for identifying input behavior, It is characterized in that include: Get the input behavior data of the specified application; Based on the remote control recognition model, performing control recognition processing on the input behavior data to obtain a control recognition result of the input behavior data; According to the control identification result, security control processing is performed on the input behavior data to control the operation of the designated application based on the input behavior data.

2. The method according to claim 1, It is characterized in that Before performing control recognition processing on the input behavior data based on the remote control recognition model to obtain the control recognition result of the designated application, the method further includes: Collecting input behavior sample data of at least one specified application; For at least one remote control application respectively, model training is performed using input behavior sample data of each designated application in the at least one designated application to construct a remote control recognition model for each remote control application in the at least one remote control application.

3. The method according to claim 2, It is characterized in that The method of performing model training for at least one remote control application respectively using input behavior sample data of each designated application in the at least one designated application to construct a remote control recognition model for each remote control application in the at least one remote control application includes: Performing data splitting processing on the input behavior sample data of each designated application to obtain behavior sample data of at least two input devices of each designated application; Obtaining feature data of each input device of each designated application according to the behavior sample data of each input device among the behavior sample data of the at least two input devices; For at least one remote control application respectively, model training is performed using feature data of each input device of each designated application to construct a remote control recognition model for each remote control application in the at least one remote control application.

4. The method according to any one of claims 1 to 3, It is characterized in that The step of performing security control processing on the input behavior data according to the control identification result to control the operation of the designated application based on the input behavior data includes: If the control identification result is that the input behavior data is remote desktop control data, the input behavior data is intercepted.

5. The method according to claim 4, It is characterized in that If the control identification result is that the input behavior data is remote desktop control data, intercepting the input behavior data includes: If the control identification result is that the input behavior data is remote desktop control data, output a prompt message; In response to an interactive operation of a user of the terminal based on the prompt message, acquiring an operation control instruction; According to the operation control instruction, the input behavior data is intercepted or provided to the designated application.

6. The method according to claim 4, It is characterized in that The step of performing security control processing on the input behavior data according to the control identification result to control the operation of the designated application based on the input behavior data further includes: If the control identification result is that the input behavior data is local input control data, the input behavior data is provided to the designated application.

7. A device for identifying input behavior, It is characterized in that include: An acquisition unit, used to acquire input behavior data of a specified application; an identification unit, configured to perform control identification processing on the input behavior data based on a remote control identification model to obtain a control identification result of the input behavior data; A control unit is used to perform security control processing on the input behavior data according to the control identification result, so as to control the operation of the designated application based on the input behavior data.

8. The device according to claim 7, It is characterized in that The identification unit is further configured to collect input behavior sample data of at least one specified application; and For at least one remote control application respectively, model training is performed using input behavior sample data of each designated application in the at least one designated application to construct a remote control recognition model for each remote control application in the at least one remote control application.

9. The device according to claim 8, It is characterized in that The identification unit is specifically used to perform data splitting processing on the input behavior sample data of each specified application to obtain behavior sample data of at least two input devices of each specified application; Obtaining feature data of each input device of each designated application according to the behavior sample data of each input device among the behavior sample data of the at least two input devices; as well as For at least one remote control application respectively, model training is performed using feature data of each input device of each designated application to construct a remote control recognition model for each remote control application in the at least one remote control application.

10. The device according to any one of claims 7 to 9, It is characterized in that The control unit is specifically used for If the control identification result is that the input behavior data is remote desktop control data, the input behavior data is intercepted.

11. The device according to claim 10, It is characterized in that The control unit is specifically used for If the control identification result is that the input behavior data is remote desktop control data, output a prompt message; In response to an interactive operation of a user of the terminal based on the prompt message, acquiring an operation control instruction; as well as According to the operation control instruction, the input behavior data is intercepted or provided to the designated application.

12. The device according to claim 11, It is characterized in that The control unit is also used to If the control identification result is that the input behavior data is local input control data, the input behavior data is provided to the designated application.

13. An electronic device, It is characterized in that include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

14. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.

15. A computer program product, It is characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 6.