Terminal command operation monitoring and protection method, system and storage medium

The blacklist is generated and updated by the cloud server, and the terminal operation instructions are screened and verified, which solves the problem in the existing technology of being unable to prevent the repeated execution of dangerous operation instructions, provides a safer guarantee for the terminal equipment, and reduces the risk of data leakage.

CN114900326BActive Publication Date: 2024-08-27CHINA GRIDCOM +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210332213.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-30
Publication Date
2024-08-27
Estimated Expiration
2042-03-30

AI Technical Summary

Technical Problem

Existing terminal command operation monitoring methods cannot effectively prevent the repeated execution of dangerous operation commands, resulting in terminal equipment still facing security risks, especially when problems such as data leakage occur, causing serious economic losses to users.

Method used

An initial blacklist is generated through the cloud server, and the verification operation instructions are screened based on the identity information of the terminal device to determine its risk level and verified in a sandbox environment. The blacklist is updated to prevent the execution of dangerous instructions and provide a safer guarantee for the terminal device. .

Benefits of technology

It realizes early prevention of dangerous operation instructions, avoids terminal equipment from falling into security risks due to the same operation again, enhances data security, and reduces users' economic losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114900326B
    Figure CN114900326B
Patent Text Reader

Abstract

The present invention discloses a monitoring and protection method, system and storage medium for terminal instruction operations, the method comprising: receiving an initial blacklist sent by a cloud server, wherein the initial blacklist is generated by the cloud server according to the identity information of the terminal device; responding to and executing the operation instruction, and determining the danger level of the operation instruction according to the operation result, and sending the operation information and danger level of the operation instruction to the cloud server; when the cloud server determines to add the operation instruction to the blacklist, receiving the updated blacklist sent by the cloud server. The monitoring and protection method of the present invention can utilize the resource advantages of the cloud server, monitor and protect the terminal operation instructions by screening and verifying the data in the blacklist, and can prevent dangerous operation instructions in advance, providing a safer guarantee for the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a monitoring and protection method for terminal command operations, a computer-readable storage medium, a terminal device, a cloud server, and a monitoring and protection system for terminal command operations. Background Art

[0002] With the rapid development of the Internet of Things, the Internet of Things is integrated with existing industries, and the terminal market has great potential. The Internet of Things terminal is a device that connects the sensor network layer and the transmission network layer in the Internet of Things to collect data and send data to the network layer. It is mainly responsible for data collection, preliminary processing, encryption, transmission and other functions. The rapid popularization of the Internet of Things terminal also poses huge security risks, so higher requirements are placed on the command operation of the terminal.

[0003] The current monitoring of terminal command operations only records dangerous operation commands and uploads them to the cloud platform. It cannot prevent the execution of similar dangerous commands the next time. The terminal will still fall into the same security risk due to the same operation. At the same time, if data leakage occurs, it will cause serious economic losses to users. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to propose a monitoring and protection method for terminal command operations, which can utilize the resource advantages of cloud servers to monitor and protect terminal operation instructions through data screening and verification in the blacklist, and can prevent dangerous operation instructions in advance, providing terminal devices with safer protection.

[0005] The second object of the present invention is to provide a monitoring and protection method for terminal command operations.

[0006] A third object of the present invention is to provide a computer-readable storage medium.

[0007] A fourth objective of the present invention is to provide a terminal device.

[0008] A fifth objective of the present invention is to provide a cloud server.

[0009] The sixth object of the present invention is to provide a monitoring and protection system for terminal command operations.

[0010] To achieve the above-mentioned objectives, the first aspect of the embodiment of the present invention proposes a method for monitoring and protecting terminal command operations, including: receiving an initial blacklist sent by a cloud server, wherein the initial blacklist is generated by the cloud server based on the identity information of the terminal device; responding to and executing operation instructions, and determining the danger level of the operation instructions based on the operation results, and sending the operation information and danger level of the operation instructions to the cloud server; when the cloud server determines to add the operation instruction to the blacklist, receiving the updated blacklist sent by the cloud server.

[0011] According to the terminal instruction operation monitoring and protection method of the embodiment of the present invention, the initial blacklist sent by the cloud server is first received, wherein the initial blacklist is generated by the cloud server according to the identity information of the terminal device, and then responds to and executes the operation instruction, and determines the danger level of the operation instruction according to the operation result, and sends the operation information and danger level of the operation instruction to the cloud server, and finally receives the updated blacklist sent by the cloud server when the cloud server determines to add the operation instruction to the blacklist. Thus, the method can take advantage of the resource advantages of the cloud server, monitor and protect the terminal operation instructions by screening and verifying the data in the blacklist, and can prevent dangerous operation instructions in advance, giving the terminal device a safer guarantee.

[0012] In addition, the terminal instruction operation monitoring and protection method according to the above embodiment of the present invention may also have the following additional technical features:

[0013] According to an embodiment of the present invention, the operation result is determined according to the impact of executing the operation instruction on the terminal device.

[0014] According to one embodiment of the present invention, an operation result is determined based on the impact of the operation instruction on the terminal device, including: when junk data, redundant logs, redundant services or processes are generated in the terminal device without affecting the operation of the terminal system, the operation result is determined to be a first result; when there is an application in the terminal device that cannot be used normally, the operation result is determined to be a second result; when the terminal device cannot be used normally, the operation result is determined to be a third result.

[0015] According to one embodiment of the present invention, when the operation result is the first result, the danger level of the operation instruction is determined to be the first danger level; when the operation result is the second result, the danger level of the operation instruction is determined to be the second danger level, and the danger coefficient of the first danger level is smaller than the danger coefficient of the second danger level; when the operation result is the third result, the danger level of the operation instruction is determined to be the third danger level, and the danger coefficient of the second danger level is smaller than the danger coefficient of the third danger level.

[0016] To achieve the above-mentioned purpose, the second aspect of the embodiment of the present invention proposes a method for monitoring and protecting terminal instruction operations, including: receiving identity information of multiple terminal devices; generating an initial blacklist based on the identity information, and sending the initial blacklist to corresponding terminal devices; receiving danger levels and operation instruction information of operation instructions sent by multiple terminal devices; when determining to add an operation instruction to the blacklist based on the danger level and operation instruction information of the operation instruction, updating the initial blacklist corresponding to the multiple terminal devices, and sending the updated blacklist to the corresponding terminal devices.

[0017] According to the terminal instruction operation monitoring and protection method of the embodiment of the present invention, the identity information of multiple terminal devices is first received, and then an initial blacklist is generated based on the identity information, and the initial blacklist is sent to the corresponding terminal device, and then the danger level and operation instruction information of the operation instruction sent by the multiple terminal devices are received, and finally, when the operation instruction is added to the blacklist based on the danger level and operation instruction information of the operation instruction, the initial blacklist corresponding to the multiple terminal devices is updated, and the updated blacklist is sent to the corresponding terminal device. Therefore, the method can take advantage of the resources of the cloud server, monitor and protect the terminal operation instructions by screening and verifying the data in the blacklist, and can prevent dangerous operation instructions in advance, giving the terminal device a safer guarantee.

[0018] In addition, the terminal instruction operation monitoring and protection method according to the above embodiment of the present invention may also have the following additional technical features:

[0019] According to one embodiment of the present invention, when any one of the following conditions is met, it is determined that the operation instruction is added to the blacklist: the danger level of the operation instruction is the second danger level or the third danger level; the danger level of the operation instruction is the first danger level and the execution frequency of the operation instruction is greater than a first set threshold; the danger level of the operation instruction is the first danger level and the number of terminal devices executing the operation instruction is greater than a second set threshold.

[0020] According to one embodiment of the present invention, before adding the operation instruction to the blacklist, the method also includes: verifying the operation instruction in a sandbox environment, wherein the sandbox environment is similar to the identity information of the terminal device corresponding to the operation instruction; when the operation instruction is verified to be a dangerous operation instruction, updating the current blacklist of the corresponding terminal device.

[0021] According to an embodiment of the present invention, the above-mentioned terminal instruction operation monitoring and protection method further includes: when determining to add the operation instruction to the blacklist, updating the current blacklist of all terminal devices having similar identity information to the terminal device.

[0022] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a computer-readable storage medium, on which a monitoring and protection program for terminal instruction operations is stored. When the monitoring and protection program for terminal instruction operations is executed by a processor, the above-mentioned monitoring and protection method for terminal instruction operations is implemented.

[0023] The computer-readable storage medium of the embodiment of the present invention can prevent dangerous operation instructions in advance and provide a safer protection for the terminal device by executing the above-mentioned terminal instruction operation monitoring and protection method.

[0024] To achieve the above-mentioned purpose, a terminal device proposed in an embodiment of the fourth aspect of the present invention includes: a processor, a memory, and a monitoring and protection program for terminal instruction operations stored in the memory and executable on the processor. When the processor executes the monitoring and protection program for terminal instruction operations, the above-mentioned monitoring and protection method for terminal instruction operations is implemented.

[0025] The terminal device of the embodiment of the present invention can prevent dangerous operation instructions in advance and provide safer protection for the terminal device by executing the monitoring and protection method of terminal instruction operations of the first embodiment.

[0026] To achieve the above-mentioned purpose, a cloud server proposed in an embodiment of the fifth aspect of the present invention includes: a processor, a memory, and a monitoring and protection program for terminal instruction operations stored in the memory and executable on the processor. When the processor executes the monitoring and protection program for terminal instruction operations, the above-mentioned monitoring and protection method for terminal instruction operations is implemented.

[0027] The cloud server of the embodiment of the present invention can take early precautions against dangerous operation instructions and provide a safer protection for the terminal device by executing the monitoring and protection method of the terminal instruction operation of the second embodiment.

[0028] To achieve the above objectives, a sixth aspect of the present invention proposes a terminal command operation monitoring and protection system, including the above-mentioned terminal device and cloud server.

[0029] The terminal command operation monitoring and protection system of the embodiment of the present invention can prevent dangerous operation instructions in advance through the above-mentioned terminal device and cloud server, providing a safer protection for the terminal device.

[0030] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A flowchart of a method for monitoring and protecting terminal instruction operations according to an embodiment of the present invention;

[0032] Figure 2 An interactive schematic diagram of a method for monitoring and protecting terminal operation instructions according to an embodiment of the present invention;

[0033] Figure 3 A flowchart of a method for monitoring and protecting terminal instruction operations according to another embodiment of the present invention;

[0034] Figure 4 is a block diagram of a terminal device according to an embodiment of the present invention;

[0035] Figure 5 is a block diagram of a cloud server according to an embodiment of the present invention;

[0036] Figure 6 Schematic diagram of a block diagram of a monitoring and protection system for terminal command operations according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0038] The following describes, with reference to the accompanying drawings, a terminal instruction operation monitoring and protection method, a computer-readable storage medium, a terminal device, a cloud server, and a terminal instruction operation monitoring and protection system proposed in an embodiment of the present invention.

[0039] In the embodiments of the present invention, the terminal device may be a personal computer (PC), an intelligent mobile device (such as a smart phone), a microprocessor-based system, a set-top box, etc. The terminal device may be one or more, connected to a cloud server, each user may correspond to one terminal device, and the cloud server may be connected to multiple terminal devices. The terminal device is the name of a physical computer, which can be provided to a virtual machine hardware environment. The cloud server, as a cloud computing processing system, refers to a decision-making system for multiple users to exchange, analyze, and perform statistics on data according to specific rules based on the Internet technology network device base. The terminal device and the cloud server can run operating systems such as Windows, Unix, and Linux, as well as the operating instructions corresponding to the operating system.

[0040] Figure 1 The present invention is a flowchart of a method for monitoring and protecting terminal command operations according to an embodiment of the present invention.

[0041] like Figure 1As shown, the terminal instruction operation monitoring and protection method of the embodiment of the present invention may include the following steps:

[0042] S1, receiving an initial blacklist sent by a cloud server, wherein the initial blacklist is generated by the cloud server according to identity information of the terminal device.

[0043] Specifically, see Figure 2 As shown, first, the terminal device is connected to the cloud server for communication, for example, it can be connected via Wi-Fi (wireless communication technology). After successful connection, the terminal device uploads its own identity information to the cloud server, where the identity information may include the unique number of the terminal device, system version, hardware module, installation container and application and other related information. The cloud server can generate dangerous instructions based on the terminal identity information, and store these dangerous instructions in the blacklist corresponding to the terminal device, and send the blacklist to the terminal device according to the unique code of the terminal device. When the terminal device receives the operation instruction, it executes the operation instruction, and the instruction operation monitoring software pre-installed in the terminal device determines whether the current operation instruction is in the blacklist based on the received blacklist, quickly determines whether the instruction is dangerous, and reminds the user whether to proceed to the next step to ensure the safety of the terminal device.

[0044] S2, responding to and executing the operation instruction, determining the danger level of the operation instruction according to the operation result, and sending the operation information and danger level of the operation instruction to the cloud server.

[0045] According to an embodiment of the present invention, the operation result is determined according to the impact of executing the operation instruction on the terminal device.

[0046] That is to say, when it is determined that the operation instruction is not in the initial blacklist, the operation instruction is started to be executed. In the process of executing the operation instruction, the impact of executing the operation instruction on the terminal device is obtained, and then the danger level is determined according to the impact. For example, when the execution of the operation instruction will generate junk data, redundant logs, redundant services or processes without affecting the operation of the terminal system, the danger level is considered to be low; when the execution of the operation instruction will change some configurations of the terminal device and affect the use of some applications, the danger level is considered to be medium; when the execution of the operation instruction will cause the terminal device to fail to operate normally, such as changing the operating system configuration of the terminal device, the danger level is considered to be high.

[0047] According to one embodiment of the present invention, an operation result is determined based on the impact of the operation instruction on the terminal device, including: when junk data, redundant logs, redundant services or processes are generated in the terminal device without affecting the operation of the terminal system, the operation result is determined to be a first result; when there is an application in the terminal device that cannot be used normally, the operation result is determined to be a second result; when the terminal device cannot be used normally, the operation result is determined to be a third result.

[0048] According to one embodiment of the present invention, when the operation result is the first result, the danger level of the operation instruction is determined to be the first danger level; when the operation result is the second result, the danger level of the operation instruction is determined to be the second danger level, and the danger coefficient of the first danger level is smaller than the danger coefficient of the second danger level; when the operation result is the third result, the danger level of the operation instruction is determined to be the third danger level, and the danger coefficient of the second danger level is smaller than the danger coefficient of the third danger level.

[0049] Specifically, when the instruction operation monitoring software determines that the operation instruction is not in the initial blacklist, the terminal device starts to execute the operation instruction issued by the user, and the instruction operation monitoring software records the operation instruction information such as the operation instruction, the execution user of the instruction, and the execution time of the instruction, and formulates the danger level of the operation instruction according to the operation result of the instruction. For example, when the terminal device generates garbage data through the user's operation, such as after the user upgrades the terminal device system, some original functions are updated and optimized, and some related registry information is not removed in time to generate garbage data, or some redundant logs, redundant services or processes generated by the terminal device during operation, these garbage data, logs, services or processes do not affect the normal operation of the terminal system, or do not affect the normal operation of business applications (such as some important business applications involving transactions and power supply in power terminals), the danger level of the operation instruction can be set to the first danger level. When there is an application in the terminal device that cannot be used normally, such as the website accessed by the user through the start iexplore.exe operation instruction has a virus, the terminal device is attacked by the virus, and its application is maliciously tampered with and cannot be started normally, the danger level of the operation instruction can be set to the second danger level. When the terminal device cannot be used normally, such as the system configuration is changed and is incompatible with the original system, causing the device to fail to start normally, or System32 and system files are deleted through the del command, causing the device to fail to work normally, the danger level of the operation instruction can be set to the third danger level. Among them, the danger factor of the first danger level, the danger factor of the second danger level, and the danger factor of the third danger level increase in sequence. If the amount of instruction data recorded by the terminal device is large and occupies a large amount of storage space, the operation instruction information and danger level stored in the terminal device can be uploaded to the cloud server, or a fixed upload cycle can be set to automatically upload the instruction operation information and danger level stored in the terminal device to the cloud server. In addition, after the operation instruction information stored in the terminal device is uploaded to the cloud server, the operation instruction information stored in the terminal device can be deleted to save storage space.

[0050] S3, when the cloud server determines to add the operation instruction to the blacklist, receiving the updated blacklist sent by the cloud server.

[0051] Specifically, see Figure 2As shown, after the cloud server collects and summarizes the instruction operation information reported by multiple terminal devices, it screens the operation instructions according to factors such as the danger level of the instruction, the number of terminal devices involved in the instruction, and the operation frequency of the instruction, and determines whether the execution of the instruction will cause harm to the system software of the terminal device and affect the business functions of the terminal device. For example, when the danger level of the operation instruction is the second danger level or the third danger level, it is initially determined that it will cause harm to the system software of the terminal device. In order to further verify whether the operation instruction is a dangerous operation instruction, the cloud server will also virtually execute and verify the operation instruction in a sandbox environment similar to the reporting terminal device. If it is found in the virtual environment that the operation instruction will cause system crashes, important applications cannot run, etc., then the operation instruction is judged to be a dangerous operation instruction and the operation instruction is added to the blacklist. Alternatively, when the danger level of the operation instruction is the first danger level and the frequency of execution of the operation instruction is high, it is preliminarily determined that frequent operations will generate a lot of junk data, causing harm to the system software of the terminal device. In order to further verify whether the operation instruction is a dangerous operation instruction, the cloud server also virtually executes and verifies the operation instruction in a sandbox environment similar to the reporting terminal device. When the operation instruction is verified to be a dangerous operation instruction, the operation instruction is added to the blacklist. Alternatively, when the danger level of the operation instruction is the first danger level and the number of terminal devices executing the operation instruction is large, it is preliminarily determined that the operation instruction will cause harm to the system software of the terminal device. In order to further verify whether the operation instruction is a dangerous operation instruction, the cloud server also virtually executes and verifies the operation instruction in a sandbox environment similar to the reporting terminal device. When the operation instruction is verified to be a dangerous operation instruction, the operation instruction is added to the blacklist.

[0052] After verifying that the operation instruction is a dangerous operation instruction, the cloud server will add the operation instruction to the blacklist of the corresponding terminal device, and send the updated blacklist to all terminal devices of the same type (such as terminal devices with similar identity information are terminal devices of the same type). The terminal device receives the updated blacklist sent by the cloud server and updates the current blacklist of the corresponding terminal device. When the terminal device executes the same command (the operation instruction) again, the instruction operation monitoring software can prevent the execution of the instruction and upload an alarm message to the cloud server. Therefore, by continuously updating the dangerous operation instructions in the blacklist, it is possible to respond to new dangerous commands instead of only protecting the initially set dangerous commands, giving the terminal a safer guarantee.

[0053] It should be noted that the sandbox environment is equivalent to a security mechanism that provides an isolated environment for running programs. It is usually used to provide experiments for programs whose sources are untrustworthy, destructive, or whose intentions cannot be determined. In a sandbox environment, the resources that the programs can access are usually strictly controlled. For example, the sandbox can provide disk and memory space that are recycled after use. In a sandbox environment, network access, access to the real system, and reading of input devices are usually prohibited or strictly restricted, so there will be no harm to the terminal device, and the normal use of the terminal device can be guaranteed.

[0054] In addition, the cloud server collects the operation information of the terminal device that executes the operation instruction. At this time, the identity information of the terminal device is the same or different. Therefore, when verifying in the sandbox environment, it may be verified once or multiple times, depending on the identity information of the terminal device that executes the operation instruction. For example, if two different identity information execute the operation instruction, then when verifying in the sandbox environment, it is necessary to verify in sandbox environments with similar two identity information respectively.

[0055] In summary, the terminal instruction operation monitoring and protection method of the embodiment of the present invention first receives the identity information of multiple terminal devices, then generates an initial blacklist based on the identity information, and sends the initial blacklist to the corresponding terminal devices, then receives the danger level and operation instruction information of the operation instructions sent by the multiple terminal devices, and finally determines to add the operation instruction to the blacklist based on the danger level and operation instruction information of the operation instruction, updates the initial blacklist corresponding to the multiple terminal devices, and sends the updated blacklist to the corresponding terminal devices. Therefore, the method can take advantage of the resources of the cloud server, monitor and protect the terminal operation instructions by screening and verifying the data in the blacklist, and can prevent dangerous operation instructions in advance, providing a safer protection for the terminal devices.

[0056] Corresponding to the above-mentioned embodiment, the present invention also proposes a monitoring and protection method for terminal instruction operations.

[0057] like Figure 3 As shown, the terminal instruction operation monitoring and protection method of the embodiment of the present invention includes the following steps:

[0058] S101, receiving identity information of multiple terminal devices, wherein the identity information may include: terminal unique number, system version, hardware module, installation container and application, etc.

[0059] S102, generating an initial blacklist according to the identity information, and sending the initial blacklist to the corresponding terminal device.

[0060] Specifically, see Figure 2As shown, the cloud server can communicate and connect with multiple terminal devices, for example, it can be connected via Wi-Fi (wireless communication technology). After successful connection, the identity information sent by each terminal device is received, and different terminal devices have different identity information, for example, different terminal devices have different unique numbers, different terminal devices have different system versions installed, different terminal devices have different hardware modules, installation containers and applications installed, etc. The cloud server determines the corresponding blacklist based on the identity information, and the blacklist contains dangerous operation instructions obtained according to the identity information as the initial blacklist, and sends the initial blacklist to the corresponding terminal device according to the unique number of the terminal device. When the terminal device receives the operation instruction, the instruction operation monitoring software monitors in real time whether the operation instruction is in the blacklist, and quickly determines whether the instruction is dangerous. When the operation instruction is in the blacklist, the instruction is blocked, and the warning information is uploaded to the cloud server to prevent the user's operation instruction from causing data leakage or Trojan virus attacks and other dangers.

[0061] S103, receiving the danger level and operation instruction information of the operation instructions sent by multiple terminal devices.

[0062] S104, when it is determined to add the operation instruction to the blacklist according to the danger level of the operation instruction and the operation instruction information, the initial blacklists corresponding to the plurality of terminal devices are updated, and the updated blacklists are sent to the corresponding terminal devices.

[0063] According to an embodiment of the present invention, when any of the following conditions is met, it is determined that the operation instruction is added to the blacklist: the danger level of the operation instruction is the second danger level or the third danger level; the danger level of the operation instruction is the first danger level and the execution frequency of the operation instruction is greater than the first set threshold; the danger level of the operation instruction is the first danger level and the number of terminal devices that execute the operation instruction is greater than the second set threshold. The first set threshold and the second set threshold can be determined according to actual conditions. For example, the first set threshold can be 3 times.

[0064] According to one embodiment of the present invention, before adding the operation instruction to the blacklist, the method also includes: verifying the operation instruction in a sandbox environment, wherein the sandbox environment is similar to the identity information of the terminal device corresponding to the operation instruction; when the operation instruction is verified to be a dangerous operation instruction, updating the current blacklist of the corresponding terminal device.

[0065] According to an embodiment of the present invention, the above-mentioned terminal instruction operation monitoring and protection method further includes: when determining to add the operation instruction to the blacklist, updating the current blacklist of all terminal devices having the same identity information as the terminal device.

[0066] Specifically, when the instruction operation monitoring software determines that the operation instruction is not in the initial blacklist, the terminal device starts to execute the operation instruction sent by the user, and the instruction operation monitoring software records the operation instruction information such as the operation instruction, the execution user of the instruction, and the execution time of the instruction, and formulates the danger level of the operation instruction according to the operation result. For example, when the terminal device with the unique number A1 generates garbage data through the user's operation, such as after the terminal device system is upgraded, some original functions are updated and optimized, and some related registry information is not removed in time, generating garbage data, or some redundant logs, redundant services or processes generated by the terminal device during operation, these garbage data, logs, services or processes do not affect the normal operation of the terminal system, or do not affect the normal operation of business applications (such as some important business applications involving transactions and power supply in power terminals), the danger level of the operation instruction can be set to the first danger level. For another example, when there is an application that cannot be used normally in the terminal device with the unique number A2, such as the website accessed by the user through the start iexplore.exe operation instruction has a virus, the terminal device is attacked by the virus, the program is maliciously tampered with, and cannot be started normally, the danger level of the operation instruction can be set to the second danger level. For another example, when a terminal device with a unique number of A3 cannot be used normally, such as when the system configuration is changed and is incompatible with the original system, causing the device to be unable to start normally, or when System32 and system files are deleted through the del command, causing the terminal device to be unable to start or be used normally, the danger level of the operation instruction can be set to the third danger level. Multiple terminal devices send the danger level and operation instruction information of the operation instruction to the cloud server, wherein a fixed upload cycle can be set to automatically upload the instruction operation information and danger level stored in the terminal device to the cloud server, or when a terminal device records a large amount of instruction data and occupies a large amount of storage space, the instruction operation information and danger level stored in the terminal device can be uploaded to the cloud server according to the unique number. In addition, after the cloud server receives the danger level and operation instruction information of the operation instruction sent by multiple terminal devices, the operation instruction information stored in the corresponding terminal device can be deleted to save storage space.

[0067] Continue to refer to Figure 2As shown, after the cloud server collects and summarizes the instruction operation information reported by multiple terminals, it screens the operation instructions based on the danger level of the instructions, the number of terminal devices involved in the instructions, the operation frequency of the instructions, and other factors to determine whether the execution of the instructions will cause harm to the system software of the terminal device and affect the business functions of the terminal device. For example, when the danger level of the operation instruction is the second danger level or the third danger level, it is initially determined that it will cause harm to the system software of the terminal device. In order to further verify whether the operation instruction is a dangerous operation instruction, the cloud server will also virtually execute and verify the operation instruction in a sandbox environment similar to the reporting terminal. If it is found in the virtual environment that the operation instruction will cause system crashes, important applications cannot run, and other problems, then the verification operation instruction is determined to be a dangerous operation instruction and the operation instruction is added to the blacklist. Alternatively, when the danger level of the operation instruction is the first danger level and the execution frequency of the operation instruction is high (the execution frequency is greater than the first set threshold), it is preliminarily determined that frequent operations will generate a lot of junk data, a large number of redundant logs, and numerous services or processes, which will cause harm to the system software of the terminal device. In order to further verify whether the operation instruction is a dangerous operation instruction, the cloud server will also virtually execute and verify the operation instruction in a sandbox environment similar to the reported terminal device. When the operation instruction is verified to be a dangerous operation instruction, the operation instruction is added to the blacklist. Alternatively, when the danger level of the operation instruction is the first danger level and there are multiple terminal devices (the number of terminal devices is greater than the second set threshold) executing the operation instruction, it is preliminarily determined that the operation instruction will cause harm to the system software of the terminal device. In order to further verify whether the operation instruction is a dangerous operation instruction, the cloud server will also virtually execute and verify the instruction in a sandbox environment similar to the reported terminal device. When the operation instruction is verified to be a dangerous operation instruction, the operation instruction is added to the blacklist.

[0068] After verifying that the operation instruction is a dangerous operation instruction, the cloud server will include the operation instruction in the blacklist of the corresponding terminal device, and send the updated blacklist to all terminal devices of the same type (such as terminal devices with similar identity information are terminal devices of the same type). Multiple terminal devices receive the updated blacklist sent by the cloud server and update the current blacklist of the corresponding terminal device according to the unique number. For example, the terminal device with the unique number A1 and the terminal device with the unique number A2 are equipped with similar identity information. When some operation instructions are determined to be dangerous in the terminal device with the unique number A1, the instructions are added to the blacklist and the current blacklist is updated. Similarly, the dangerous instructions are also applicable to the update of the blacklist of the terminal device with the unique number A2. The updated blacklist is sent to the corresponding terminal device. When the terminal device executes the instruction again, the instruction operation monitoring software can traverse all the instructions in the blacklist. If the instruction in the blacklist is the same as the instruction executed by the current user on the terminal device, the execution of the instruction is blocked and the alarm information is uploaded to the cloud server. Therefore, the instruction operation monitoring software can respond to new dangerous instructions instead of only protecting against the initially set dangerous instructions by continuously updating the dangerous operation instructions in the blacklist, providing terminal devices with more secure protection.

[0069] In addition, the cloud server collects the operation information of the terminal device that executes the operation instruction. At this time, the identity information of the terminal device is the same or different. Therefore, when verifying in the sandbox environment, it may be verified once or multiple times, depending on the identity information of the terminal device that executes the operation instruction. For example, if two different identity information execute the operation instruction, then when verifying in the sandbox environment, it is necessary to verify in sandbox environments with similar two identity information respectively.

[0070] In summary, the terminal instruction operation monitoring and protection method of the embodiment of the present invention first receives the identity information of multiple terminal devices, then generates an initial blacklist based on the identity information, and sends the initial blacklist to the corresponding terminal devices, then receives the danger level and operation instruction information of the operation instructions sent by the multiple terminal devices, and finally determines to add the operation instruction to the blacklist based on the danger level and operation instruction information of the operation instruction, updates the initial blacklist corresponding to the multiple terminal devices, and sends the updated blacklist to the corresponding terminal devices. Therefore, the method can take advantage of the resources of the cloud server, monitor and protect the terminal operation instructions by screening and verifying the data in the blacklist, and can prevent dangerous operation instructions in advance, providing a safer protection for the terminal devices.

[0071] Corresponding to the above embodiment, the present invention also proposes a computer-readable storage medium.

[0072] The computer-readable storage medium of the present invention stores a monitoring and protection program for terminal instruction operations, and when the monitoring and protection program for terminal instruction operations is executed by a processor, the monitoring and protection method for terminal instruction operations described above is implemented.

[0073] The computer-readable storage medium of the present invention can prevent dangerous operation instructions in advance and provide safer protection for terminal devices by executing the above-mentioned terminal instruction operation monitoring and protection method.

[0074] Corresponding to the above embodiment, the present invention also proposes a terminal device.

[0075] like Figure 4 As shown, the terminal device 200 of the present invention may include: a memory 210 and a processor 220.

[0076] The memory 210 is used to store the monitoring and protection program of the terminal instruction operation and transmit the program code to the processor 220. In other words, the processor 220 can call and run the monitoring and protection program of the terminal instruction operation from the memory 210 to implement the method in the embodiment of the present application.

[0077] like Figure 4 As shown, the terminal device 200 of the present invention may further include: a transceiver 230 , which may be connected to the memory 210 or the processor 220 .

[0078] The processor 220 may control the transceiver 230 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 230 may include a transmitter and a receiver.

[0079] It should be understood that the various components in the terminal device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0080] The terminal device of the present invention, by executing the above-mentioned terminal command operation monitoring and protection method, can take early precautions against dangerous operation instructions and provide a safer protection for the terminal device.

[0081] Corresponding to the above embodiment, the present invention also proposes a cloud server.

[0082] like Figure 5 As shown, the cloud server 300 of the present invention may include: a memory 310 and a processor 320 .

[0083] The memory 310 is used to store the monitoring and protection program of the terminal instruction operation and transmit the program code to the processor 320. In other words, the processor 320 can call and run the monitoring and protection program of the terminal instruction operation from the memory 310 to implement the method in the embodiment of the present application.

[0084] For example, the processor 320 may be used to execute the above method embodiments according to instructions in the monitoring and protection program of the terminal instruction operation.

[0085] like Figure 5 As shown, the cloud server may further include: a transceiver 330 , which may be connected to the memory 310 or the processor 320 .

[0086] The processor 320 may control the transceiver 330 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 330 may include a transmitter and a receiver.

[0087] It should be understood that the various components in the cloud server are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0088] The cloud server of the present invention, by executing the above-mentioned terminal command operation monitoring and protection method, can take early precautions against dangerous operation instructions and provide terminal devices with safer protection.

[0089] Corresponding to the above-mentioned embodiment, the present invention also proposes a monitoring and protection system for terminal command operations.

[0090] like Figure 6 As shown, the terminal command operation monitoring and protection system 400 of the present invention may include a terminal device 200 and a cloud server 300.

[0091] The terminal command operation monitoring and protection system of the present invention can prevent dangerous operation instructions in advance through the above-mentioned terminal device and cloud server, providing a safer protection for the terminal device.

[0092] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0093] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0094] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0095] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0096] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0097] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for monitoring and protecting terminal command operations, characterized in that: include: Receiving an initial blacklist sent by a cloud server, wherein the initial blacklist is generated by the cloud server according to identity information of the terminal device; When the operation instruction is not in the initial blacklist, respond to and execute the operation instruction, determine the danger level of the operation instruction according to the operation result, and send the operation information and danger level of the operation instruction to the cloud server; When the cloud server determines to add the operation instruction to the blacklist, an updated blacklist sent by the cloud server is received; wherein the operation result is determined according to the impact of executing the operation instruction on the terminal device; wherein the cloud server performs virtual execution and verification in a sandbox environment similar to the terminal device based on the danger level of the operation instruction, the number of terminal devices involved in the operation instruction and the operation frequency of the operation instruction, and determines to add the operation instruction to the blacklist when the system software of the terminal device is damaged and the business function of the terminal device is affected.

2. The terminal command operation monitoring and protection method according to claim 1, characterized in that: Determining the operation result according to the influence of the operation instruction on the terminal device includes: When junk data, redundant logs, redundant services or processes are generated in the terminal device without affecting the operation of the terminal system, determining that the operation result is a first result; When there is an application program in the terminal device that cannot be used normally, determining that the operation result is a second result; When the terminal device cannot be used normally, determining that the operation result is a third result.

3. The terminal command operation monitoring and protection method according to claim 2 is characterized in that: Determine the danger level of the operation instruction according to the operation result, including: When the operation result is the first result, determining the danger level of the operation instruction to be the first danger level; When the operation result is the second result, determining that the danger level of the operation instruction is the second danger level, and the danger coefficient of the first danger level is less than the danger coefficient of the second danger level; When the operation result is the third result, the danger level of the operation instruction is determined to be the third danger level, and the danger coefficient of the second danger level is smaller than the danger coefficient of the third danger level.

4. A method for monitoring and protecting terminal command operations, characterized in that: include: Receiving identity information of multiple terminal devices; Generate an initial blacklist according to the identity information, and send the initial blacklist to the corresponding terminal device; Receiving danger levels and operation instruction information of operation instructions sent by a plurality of terminal devices, wherein the danger level is determined according to an operation result, and the operation result is determined according to an impact of executing the operation instruction on the terminal device; When it is determined that the operation instruction is to be added to the blacklist based on the danger level of the operation instruction and the operation instruction information, the initial blacklist corresponding to multiple terminal devices is updated, and the updated blacklist is sent to the corresponding terminal devices; wherein the cloud server virtually executes and verifies the operation instruction in a sandbox environment similar to the terminal device based on the danger level of the operation instruction, the number of terminal devices involved in the operation instruction and the operation frequency of the operation instruction, and determines to add the operation instruction to the blacklist when the system software of the terminal device is harmed and the business function of the terminal device is affected.

5. The method for monitoring and protecting terminal command operations according to claim 4, characterized in that: When any of the following conditions is met, it is determined to add the operation instruction to the blacklist: The danger level of the operation instruction is the second danger level or the third danger level; The danger level of the operation instruction is the first danger level and the execution frequency of the operation instruction is greater than the first set threshold; The danger level of the operation instruction is the first danger level and the number of terminal devices executing the operation instruction is greater than a second set threshold.

6. The method for monitoring and protecting terminal command operations according to claim 5, characterized in that: Before adding the operation instruction to the blacklist, the method further includes: Verifying the operation instruction in a sandbox environment, wherein the sandbox environment is similar to identity information of a terminal device corresponding to the operation instruction; When the operation instruction is verified to be a dangerous operation instruction, the current blacklist of the corresponding terminal device is updated.

7. The method for monitoring and protecting terminal command operations according to claim 4, characterized in that: Also includes: When it is determined to add the operation instruction to the blacklist, the current blacklist of all the terminal devices having similar identity information to the terminal device is updated.

8. A computer-readable storage medium, characterized in that: A monitoring and protection program for terminal instruction operations is stored thereon, and when the monitoring and protection program for terminal instruction operations is executed by a processor, a monitoring and protection method for terminal instruction operations according to any one of claims 1-7 is implemented.

9. A terminal device, characterized in that: It includes a memory, a processor, and a monitoring and protection program for terminal instruction operations stored in the memory and executable on the processor. When the processor executes the monitoring and protection program for terminal instruction operations, it implements the monitoring and protection method for terminal instruction operations according to any one of claims 1 to 3.

10. A cloud server, characterized in that: It includes a memory, a processor, and a monitoring and protection program for terminal instruction operations stored in the memory and executable on the processor. When the processor executes the monitoring and protection program for terminal instruction operations, it implements the monitoring and protection method for terminal instruction operations according to any one of claims 4-7.

11. A monitoring and protection system for terminal command operations, characterized in that: include: The terminal device as claimed in claim 9 and the cloud server as claimed in claim 10.