Operating system management method and device, storage medium and terminal
By comparing the time difference between the local timing point of the operating system and the standard timing point, it is determined whether the system is cloned and management operations are performed. This solves the problem of the operating system evading management through cloning and ensures the security of the operating system.
Patent Information
- Application Number
- CN202310370874.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2024-10-15
AI Technical Summary
Existing technology is difficult to supervise and prevent operating systems from evading management policies through cloning, leading to security risks.
By obtaining the time difference between the local timing point and the standard timing point in the operating system, it is determined whether the operating system is a cloned system, and preset management operations are performed to prevent evasion of management.
Accurately determine whether the operating system is a cloned system, prevent it from evading management policies through cloning, and protect the data and environment security of the operating system.
Smart Images

Figure CN118779060A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer network security technology, and in particular to an operating system management method, device, storage medium and terminal. Background Art
[0002] In order to protect the security of computer operating systems, the operating system can usually be managed through client programs to achieve management and restrictions on computer operations. However, in some work scenarios, it is necessary to temporarily cancel the client program's management policy for the operating system. At this time, if someone clones the unmanaged operating system and continues to use the cloned unsupervised system, it can achieve the purpose of evading management. Therefore, an operating system management method is needed to supervise the behavior of evading management to protect the management mechanism of the operating system. Summary of the invention
[0003] The present application provides an operating system management method, device, storage medium and terminal, which can solve the technical problem of escaping management by cloning the system in the related art.
[0004] In a first aspect, an embodiment of the present application provides an operating system management method, the method comprising:
[0005] Obtaining the local timing point of the operating system according to a preset period, and obtaining the standard timing point through network communication;
[0006] Comparing the local time difference between two consecutive local timing points with the standard time difference between the two corresponding standard timing points, if the local time difference is smaller than the standard time difference, confirming that the operating system is a cloned system;
[0007] Perform preset management operations on the terminal where the operating system is located.
[0008] Optionally, the terminal where the operating system is located includes a system disk and a non-system disk, and after obtaining the local timing point of the operating system according to a preset period, it also includes: writing the local timing point to the system disk and the non-system disk; after confirming that the operating system is a cloned system, it also includes: comparing the local timing points in the system disk and the non-system disk, and if they are inconsistent, re-confirming that the operating system is a cloned system.
[0009] Optionally, the obtaining of the standard timing point through network communication includes: obtaining the standard timing point of the local area network server through network communication with the local area network server.
[0010] Optionally, the obtaining of the standard timing point through network communication includes: obtaining the standard timing point of the terminal in the same network segment by performing network communication with the terminal in the same network segment.
[0011] Optionally, the obtaining of the standard timing point through network communication includes: obtaining the standard timing point of the Internet server through network communication with the Internet server.
[0012] Optionally, before obtaining the local timing point of the operating system according to a preset period, the method further includes: responding to a temporary cancellation policy sent by the management server, wherein the temporary cancellation policy is used to cancel the operating system management policy in the operating system within a preset time period.
[0013] Optionally, the preset management operation includes at least one of a shutdown operation, an alarm prompt operation, and an operating system management policy recovery operation.
[0014] In a second aspect, an embodiment of the present application provides an operating system management device, the device comprising:
[0015] A timing module, used to obtain the local timing point of the operating system according to a preset period, and obtain the standard timing point through network communication;
[0016] A verification module, used for comparing a local time difference between two consecutive local timing points and a standard time difference between two corresponding standard timing points, and if the local time difference is smaller than the standard time difference, confirming that the operating system is a cloned system;
[0017] The management module is used to perform preset management operations on the terminal where the operating system is located.
[0018] Optionally, the terminal where the operating system is located includes a system disk and a non-system disk, and the device includes: a writing module, used to write the local timing point into the system disk and the non-system disk; a secondary judgment module, used to compare the local timing points in the system disk and the non-system disk, and if they are inconsistent, confirming for the second time that the operating system is a cloned system.
[0019] Optionally, the timing module is further used to obtain the standard timing point of the local area network server by performing network communication with the local area network server.
[0020] Optionally, the timing module is further used to obtain the standard timing point of the terminal in the same network segment by performing network communication with the terminal in the same network segment.
[0021] Optionally, the timing module is further used to obtain the standard timing point of the Internet server by performing network communication with the Internet server.
[0022] Optionally, the device includes: a cancellation policy response module, which is used to respond to a temporary cancellation policy sent by a management server, where the temporary cancellation policy is used to cancel an operating system management policy in the operating system within a preset time period.
[0023] Optionally, the preset management operation includes at least one of a shutdown operation, an alarm prompt operation, and an operating system management policy recovery operation.
[0024] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the above-mentioned method.
[0025] In a fourth aspect, an embodiment of the present application provides a terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is suitable for being loaded by the processor and executing the steps of the above method.
[0026] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:
[0027] The present application provides an operating system management method, which obtains the local timing point of the operating system according to a preset period, and obtains the standard timing point through network communication; compares the local time difference of two consecutive local timing points and the standard time difference of the corresponding two standard timing points, and if the local time difference is less than the standard time difference, it is confirmed that the operating system is a cloned system; and performs a preset management operation on the terminal where the operating system is located. Since the local time of the cloned operating system starts from the moment when the cloning operation occurs, that is, when the cloned system is used, its local time will be earlier than the real time, so if the cloned operating system is used, the local time difference of two consecutive local timing points obtained according to the preset period will be shorter than the corresponding standard time difference, and then it can be accurately judged whether the operating system is a cloned system based on the comparison result of the local time difference and the standard time difference. When it is determined to be a cloned system, the preset management operation is performed to prevent the cloned system from escaping the management strategy through cloning means and protect the data and environmental security of the operating system. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0029] Figure 1 An exemplary system architecture diagram of an operating system management method provided in an embodiment of the present application. ;
[0030] Figure 2 A flowchart of an operating system management method provided in an embodiment of the present application;
[0031] Figure 3 A flowchart of an operating system management method provided in an embodiment of the present application;
[0032] Figure 4 A schematic diagram of a standard time acquisition process provided in an embodiment of the present application;
[0033] Figure 5 A structural block diagram of an operating system management device provided in an embodiment of the present application;
[0034] Figure 6 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0036] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0037] With the rapid development of computer technology and the Internet industry, users can download many target resources to personal terminals through the Internet to meet their own usage needs. However, in the Internet network environment, there are some computer controls that threaten computer data privacy and system security, such as computer viruses, computer monitoring controls, and data copying and tampering controls. They are often attached to some hardware devices (such as USB flash drives, hard drives, optical disks, etc.) and / or software programs (application software, files, etc.) of unknown origin. When users open or download them in the terminal, these dangerous information will flow into the terminal and cause serious harm to the terminal. Therefore, in order to protect the security of the computer operating system, security monitoring client programs are usually provided to users to manage the operating system, such as checking the resources that the computer needs to obtain, checking the external hardware information connected to the computer, etc., to limit the access and reception of resources with potential dangers, so as to protect the security of the computer operating system and the user's usage experience.
[0038] In some work scenarios, it is necessary to temporarily cancel the operating system management policy of the client program on the operating system. At this time, if someone clones the unmanaged operating system and then continuously restores the operation, the cloned unmanaged system is used to change the temporary cancellation of management into permanent cancellation of management. For example, in the operating system, a temporary cancellation of management policy from 14:00 to 18:00 is issued. During this period, the operating system can be free from management restrictions. The operating system at 14:00 is cloned. When the real time reaches 18:00, that is, the normal management policy needs to be restored, the operating system is restored to the cloned system cloned at 14:00. At this time, the operating system will have a 4-hour unmanaged period again. When the cloned system is restored again after 4 hours, the operating system is always in an unmanaged state, thereby achieving the purpose of escaping management. An unmanaged operating system will cause the terminal to face huge security risks. Therefore, an operating system management method is needed to supervise the behavior of escaping management, determine whether the operating system is a cloned system, and avoid escaping the management mechanism of the operating system by cloning.
[0039] Therefore, an embodiment of the present application provides an operating system management method, which obtains the local timing point of the operating system according to a preset period, and obtains the standard timing point through network communication; compares the local time difference between two consecutive local timing points and the standard time difference between the two corresponding standard timing points, and if the local time difference is less than the standard time difference, it is confirmed that the operating system is a cloned system; and performs preset management operations on the terminal where the operating system is located to solve the above-mentioned technical problem of escaping management by cloning the system.
[0040] See also Figure 1 , Figure 1An exemplary system architecture diagram of an operating system management method provided in an embodiment of the present application.
[0041] like Figure 1 As shown, the system architecture may include a terminal 101, a network 102, and a server 103. The network 102 is used to provide a medium for a communication link between the terminal 101 and the server 103. The network 102 may include various types of wired communication links or wireless communication links, for example, the wired communication link includes an optical fiber, a twisted pair, or a coaxial cable, and the wireless communication link includes a Bluetooth communication link, a Wireless-Fidelity (Wi-Fi) communication link, or a microwave communication link.
[0042] The terminal 101 can interact with the server 103 through the network 102 to receive messages from the server 103 or send messages to the server 103, or the terminal 101 can interact with the server 103 through the network 102 to receive messages or data sent by other users to the server 103. The terminal 101 can be hardware or software. When the terminal 101 is hardware, it can be various electronic devices, including but not limited to smart watches, smart phones, tablet computers, laptop portable computers and desktop computers. When the terminal 101 is software, it can be installed in the electronic devices listed above, which can be implemented as multiple software or software modules (for example: used to provide distributed services), or it can be implemented as a single software or software module, which is not specifically limited here.
[0043] In the embodiment of the present application, the terminal 101 first obtains the local timing point of the operating system according to a preset period, and obtains the standard timing point through network communication; then, the terminal 101 compares the local time difference of two consecutive local timing points obtained with the standard time difference of the corresponding two standard timing points obtained, and if the local time difference is less than the standard time difference, it is confirmed that the operating system is a cloned system; finally, the terminal 101 performs a preset management operation on the terminal where the operating system is located.
[0044] The server 103 may be a business server that provides various services. It should be noted that the server 103 may be hardware or software. When the server 103 is hardware, it may be implemented as a distributed server cluster consisting of multiple servers, or it may be implemented as a single server. When the server 103 is software, it may be implemented as multiple software or software modules (for example, for providing distributed services), or it may be implemented as a single software or software module, which is not specifically limited herein.
[0045] Alternatively, the system architecture may not include the server 103. In other words, the server 103 may be an optional device in the embodiments of this specification. That is, the method provided in the embodiments of this specification may be applied to a system structure that only includes the terminal 101, and the embodiments of this application do not limit this.
[0046] It should be understood that Figure 1 The number of terminals, networks and servers in the figure is only for illustration and any number of terminals, networks and servers may be used according to implementation requirements.
[0047] See also Figure 2 , Figure 2 A flowchart of an operating system management method provided for an embodiment of the present application. The execution subject of the embodiment of the present application can be a terminal that executes operating system management, or a processor in a terminal that executes the operating system management method, or an operating system management service in a terminal that executes the operating system management method. For the convenience of description, the specific execution process of the operating system management method is introduced below by taking the execution subject being a processor in a terminal as an example.
[0048] like Figure 2 As shown, the operating system management method may at least include:
[0049] S202: Acquire the local timing point of the operating system according to a preset period, and acquire the standard timing point through network communication.
[0050] Optionally, when a user uses the method of cloning the operating system to evade the management policy of the operating system, the operating system will face security threats. In order to protect the security of the operating system, it is necessary to judge the operating system status. In order to continuously judge the operating system status, a preset period can be set to verify the operating system status once every preset period. The setting of the preset period can be adaptively adjusted according to the specific situation of the terminal operating system. For example, it can be set to 24 hours, 12 hours, 6 hours, etc.
[0051] Optionally, when the operating system is cloned, the local time of the operating system will also be cloned, that is, when the terminal uses the cloned operating system, the local time starts from the cloned time point, for example, at 13:50 on A year B month C day, the operating system X is cloned to obtain the cloned operating system Y, and when the normal operating system X is restored to the cloned operating system Y at 16:20 on A year B month D day, the local time of the terminal will be displayed as 13:50 on A year B month C day. That is, the local time displayed by the operating system in the terminal is different from the original normal real standard time, so it can be judged from the time perspective whether the state of the operating system is a cloned state.
[0052] Optionally, since the time in the operating system can be set manually, if the time point of the local time of the operating system is directly compared with the time point of the real time, it is inaccurate, so the timer can be used for timing. The timer does not depend on the real time. Unlike the timing of the real time, the timer can be used for timing at intervals. For example, starting from timing point 0, the timing point number increases by 1 every second, that is, 0, 1, 2, ..., 100, ..., where the time interval between each number is 1 second. The specific time interval between adjacent timing points can be set according to demand, for example, it can be every second, every minute, every ten minutes, etc.
[0053] Optionally, at this time, in different terminals, even if the local times of different terminals cannot accurately correspond, the time intervals of the timing points of different terminals in the same time period are the same. For example, a timer is set to simultaneously obtain the timing points of terminal A and terminal B every ten minutes. The local time in terminal A is 12:00, and the timing point is counted to 20 at this time, while the local time in terminal B is 6:00, and the timing point is counted to 50 at this time. After ten minutes, even if the local times of terminal A and terminal B have been arbitrarily tampered with so that they no longer have the original corresponding relationship, the timing point of terminal A is 21 and the timing point of terminal B is 51, at this time, it can still be explained that ten minutes have passed for terminal A and terminal B based on the respective time difference between terminal A and terminal B, and then the time status of terminal A and terminal B can be accurately determined without relying on the local display time.
[0054] Furthermore, when using a timer, the timer of the client program can be used for timing, and the local timing point of the operating system can be obtained according to a preset period. In order to compare with the real time and thus determine the status of the operating system, it is necessary to obtain the timing point of the actual time passage in the external environment each time the local timing point of the operating system is obtained. Then, after establishing contact with external devices, terminals, etc. through network communication, the standard timing point under real circumstances can be obtained.
[0055] S204: Compare the local time difference between two consecutive local timing points with the standard time difference between the two corresponding standard timing points. If the local time difference is smaller than the standard time difference, confirm that the operating system is a cloned system.
[0056] Optionally, the standard time difference between two standard timing points indicates the actual length of time that has passed. For an operating system, when cloning an operating system, the timing point recorded in the system disk of the operating system is the timing point at the time of cloning. When the cloned system is used, the timing point in its system disk will also become the timing point at the time of cloning. That is, if the system is cloned at timing point 10, then when the system is restored to the previously cloned operating system at timing point 100, the timing point of the restored operating system becomes 10. This directly results in the local time difference between the local timing point obtained before the cloning and the local timing point obtained after the cloning being inconsistent with the actual length of time that has passed, that is, it will be shorter than the standard time difference between the same two standard timing points obtained. For ease of understanding, an example is given here. For example, the first local timing point obtained is 20, and the standard timing point obtained is 50. After a preset period, the local timing point obtained for the second time is 30, and the standard timing point obtained is 100. This means that the real time in the external network environment has passed 50 timing points, and the local time of the operating system should also pass 50 timing points. In this way, the correct local timing point for the second time should be 70. However, at this time, the local timing point is 30, and only 10 timing points have passed from the timing point 20. This means that the time passed by the operating system is shorter, which further indicates that the time of the operating system has rolled back, that is, the operating system at this time is a cloned operating system.
[0057] Optionally, compare the local time difference between two consecutive local timing points and the standard time difference between the corresponding two standard timing points. If the local time difference is smaller than the standard time difference, it means that the operating system has been cloned in the time interval between the two timing points, and the operating system is confirmed to be a cloned system; if the local time difference is greater than or equal to the standard time difference, it at least means that the operating system time has not been rolled back, that is, the current operating system is not a cloned operating system.
[0058] S206: Perform preset management operations on the terminal where the operating system is located.
[0059] Optionally, when it is determined that the operating system is a cloned system, it can be considered that the current operating system may have security risks. In order to protect the operating system and the terminal, it is necessary to perform preset management operations on the terminal where the cloned operating system is located. Among them, the preset management operation can include at least one of a shutdown operation, an alarm prompt operation, and an operating system management policy recovery operation. The shutdown operation is to directly shut down the terminal, but considering that direct shutdown may affect the user's operating experience, the client program can also display an alarm prompt message in the terminal and provide the user with a management policy solution to guide the user to correct the operating system in a gentle manner; in addition, in order to avoid the user being unable or subjectively unwilling to restore the operating system management policy, the client program can also be used to automatically restore the operating system management policy by restarting the terminal, so as to avoid the cloned system escaping the management policy through cloning, and protect the data and environmental security of the operating system.
[0060] In an embodiment of the present application, an operating system management method is provided, which obtains the local timing point of the operating system according to a preset period, and obtains the standard timing point through network communication; compares the local time difference of two consecutive local timing points and the standard time difference of the corresponding two standard timing points, and if the local time difference is less than the standard time difference, it is confirmed that the operating system is a cloned system; and performs a preset management operation on the terminal where the operating system is located. Since the local time of the cloned operating system starts from the moment when the cloning operation occurs, that is, when the cloned system is used, its local time will be earlier than the real time, so if the cloned operating system is used, the local time difference of the local timing points obtained twice in a row according to the preset period will be shorter than the corresponding standard time difference, and then it can be accurately judged whether the operating system is a cloned system based on the comparison result of the local time difference and the standard time difference. When it is determined to be a cloned system, the preset management operation is performed to prevent the cloned system from escaping the management strategy through cloning means and protect the data and environmental security of the operating system.
[0061] See also Figure 3 , Figure 3 A flowchart of an operating system management method provided in an embodiment of the present application.
[0062] like Figure 3 As shown, the operating system management method may at least include:
[0063] S302: Respond to the temporary cancellation policy sent by the management server, where the temporary cancellation policy is used to cancel the operating system management policy in the operating system within a preset time period.
[0064] Optionally, if the local timing points of the operating system and the standard timing points in the external network environment are continuously obtained according to a preset period, for an operating system that has not been temporarily unmanaged, there is no subsequent behavior of escaping management by cloning. In this case, there is actually no need to time the operating system and compare the local timing and the standard timing according to the preset period. Based on this, the client program can receive a temporary cancellation policy issued by the management server. The temporary cancellation policy is used to cancel the operating system management policy in the operating system within a preset time period. After the operating system responds to the temporary cancellation policy issued by the management server, it determines that the operating system will be in an unmanaged state for a period of time, and then obtains the timing points and subsequent time difference comparison operations. This can reduce the waste of computing resources used for timing in the operating system and also reduce the waste of storage space on the disk.
[0065] S304: Obtain the local timing point of the operating system according to a preset period.
[0066] Optionally, after responding to the temporary cancellation policy issued by the management server, the operating system may be cloned during the period of management cancellation, and subsequently evade the management policy by restoring the cloned system. At this time, the timer can be started to time the operating system, and the local timing points of the operating system can be obtained according to a preset period, so as to determine the time status of the operating system by comparing the local time difference between the two local timing points with the standard time difference between the corresponding two standard timing points, and then determine whether the operating system is a cloned system.
[0067] S306: Write the local timing point into the system disk and the non-system disk.
[0068] Optionally, since when the operating system is cloned, most cloning only involves cloning of the system disk, but non-system disks in the terminal will not be cloned, then when using the cloned operating system, the time information in the system disk will return to the time information at the time of cloning, while the information in the non-system disk will not change. Therefore, for terminals with system disks and non-system disks, the local timing points can be obtained and then written to the system disk and non-system disk in a hidden manner. In this way, when it is believed that the operating system may be cloned in the future, the status of the operating system can be determined by the local timing points in the system disk and non-system disk.
[0069] S308. Obtain standard timing points through network communication.
[0070] Optionally, when obtaining the local timing point of the operating system, you also need to obtain the standard timing point through network communication. There are three methods for obtaining the standard timing point through network communication. Please refer to Figure 4 , Figure 4 A schematic diagram of a standard time acquisition process provided in an embodiment of the present application. Figure 4 As shown, first, the first method for obtaining the standard timing point is to verify the network communication with the LAN server. If the communication with the LAN server is successful, the standard timing point of the LAN server is obtained. The LAN server is a server that can communicate with the local terminal in a specific LAN, which may be a management server, etc. If the communication with the LAN server fails, the second method for obtaining the standard timing point is used to verify the network communication with the terminal in the same network segment. If the communication with the terminal in the same network segment is successful, the standard timing point of the terminal in the same network segment is obtained. The terminal in the same network segment may be other networked terminals connected to the current terminal. If the communication with the terminal in the same network segment fails, the third method for obtaining the standard timing point is used to verify the network communication with the Internet server. If the communication with the Internet server is successful, the standard timing point of the Internet server is obtained. The Internet server may be any other accessible server in the Internet. At this time, if the communication with the Internet server fails, it can only be directly confirmed that the current operating system has not undergone clone recovery behavior; after obtaining the standard timing point, the local time difference and the standard time difference can be further calculated, and then it can be determined whether the time state of the operating system is cloned.
[0071] Optionally, there may be only one or only two of the three network communication methods mentioned above, or there may be network communication methods for other scenarios, and the order of use of each method is not limited. The embodiments of the present application do not limit the specific implementation method and implementation order of the network communication method.
[0072] S3010: Compare the local time difference between two consecutive local timing points with the standard time difference between the two corresponding standard timing points. If the local time difference is smaller than the standard time difference, confirm that the operating system is a cloned system.
[0073] Regarding step S3010, please refer to the detailed description in step S204, which will not be repeated here.
[0074] S3012: Compare the local timing points in the system disk and the non-system disk. If they are inconsistent, confirm again that the operating system is the cloned system.
[0075] Optionally, when the local time difference between two consecutive local timing points is less than the standard time difference between the corresponding two standard timing points, it means that the operating system is a cloned system. However, considering that the network communication link and the external object for establishing communication may have problems, in order to improve the accuracy of the judgment and protect the user experience, a second judgment can be made through the local timing points written in the system disk and the non-system disk to further ensure the correctness of the judgment result of the cloned system.
[0076] Specifically, the local timing points in the system disk and the non-system disk are compared. If they are inconsistent, it means that the timing information of the system disk does not match the real timing information in the non-system disk. That is, the timing information of the system disk is restored to the previous timing information, and the operating system can be confirmed to be the cloned system for the second time.
[0077] S3014. Perform preset management operations on the terminal where the operating system is located.
[0078] Regarding step S3014, please refer to the detailed description in step S206, which will not be repeated here.
[0079] In an embodiment of the present application, an operating system management method is provided, which obtains the local timing point of the operating system and the standard timing point of other devices in the network communication according to a preset period in response to a temporary cancellation policy issued by a management server, thereby reducing the waste of computing resources used for timing in the operating system and also reducing the waste of storage space in the disk; considering that the cloned object is usually the system disk corresponding to the operating system, and the non-system disk is not cloned, then for a terminal with a system disk and a non-system disk, the obtained local timing point is written to the system disk and the non-system disk at the same time, so that the local timing points in the system disk and the non-system disk can be used to determine whether the operating system is a cloned system in the future; when obtaining the standard timing point for network communication, three network communication methods can be used at the same time to ensure that accurate standard timing points can be obtained, and finally it is possible to accurately determine whether the operating system is a cloned system, and when a cloned system is determined, a preset management operation is performed to prevent the cloned system from escaping the management policy by cloning means, thereby protecting the data and environmental security of the operating system.
[0080] See also Figure 5 , Figure 5 This is a structural block diagram of an operating system management device provided in an embodiment of the present application. Figure 5 As shown, the operating system management device 500 includes:
[0081] The timing module 510 is used to obtain the local timing point of the operating system according to a preset period, and obtain the standard timing point through network communication;
[0082] Verification module 520, used to compare the local time difference between two consecutive local timing points and the standard time difference between the two corresponding standard timing points, and if the local time difference is smaller than the standard time difference, confirm that the operating system is a cloned system;
[0083] The management module 530 is used to perform preset management operations on the terminal where the operating system is located.
[0084] Optionally, the terminal where the operating system is located includes a system disk and a non-system disk, and the operating system management device 500 also includes: a writing module, used to write local timing points into the system disk and the non-system disk; a secondary judgment module, used to compare the local timing points in the system disk and the non-system disk, and if they are inconsistent, confirm for the second time that the operating system is a cloned system.
[0085] Optionally, the timing module 510 is further configured to obtain a standard timing point of the LAN server by performing network communication with the LAN server.
[0086] Optionally, the timing module 510 is further configured to obtain a standard timing point of a terminal in the same network segment by performing network communication with the terminal in the same network segment.
[0087] Optionally, the timing module 510 is further configured to obtain a standard timing point of the Internet server by performing network communication with the Internet server.
[0088] Optionally, the operating system management device 500 further includes: a cancellation policy response module, which is used to respond to a temporary cancellation policy sent by the management server, where the temporary cancellation policy is used to cancel the operating system management policy in the operating system within a preset time period.
[0089] Optionally, the preset management operation includes at least one of a shutdown operation, an alarm prompt operation, and an operating system management policy recovery operation.
[0090] In an embodiment of the present application, an operating system management device is provided, wherein a timing module is used to obtain the local timing point of the operating system according to a preset period, and obtain the standard timing point through network communication; a verification module is used to compare the local time difference of two consecutive local timing points and the standard time difference of the corresponding two standard timing points, and if the local time difference is less than the standard time difference, the operating system is confirmed to be a cloned system; and a management module is used to perform a preset management operation on the terminal where the operating system is located. Since the local time of the cloned operating system starts from the moment when the cloning operation occurs, that is, when the cloned system is used, its local time will be earlier than the real time, so if the cloned operating system is used, the local time difference of the local timing points obtained twice in a preset period will be shorter than the corresponding standard time difference, and then it can be accurately judged whether the operating system is a cloned system based on the comparison result of the local time difference and the standard time difference. When it is determined to be a cloned system, the preset management operation is performed to prevent the cloned system from escaping the management strategy through cloning means and protect the data and environmental security of the operating system.
[0091] An embodiment of the present application further provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the steps of any method in the above embodiments.
[0092] See also Figure 6 , Figure 6 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. Figure 6 As shown, the terminal 600 may include: at least one terminal processor 601 , at least one network interface 604 , a user interface 603 , a memory 605 , and at least one communication bus 602 .
[0093] The communication bus 602 is used to realize the connection and communication between these components.
[0094] The user interface 603 may include a display screen (Display) and a camera (Camera), and the optional user interface 603 may also include a standard wired interface and a wireless interface.
[0095] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0096] Among them, the terminal processor 601 may include one or more processing cores. The terminal processor 601 uses various interfaces and lines to connect various parts in the entire terminal 600, and executes various functions and processes data of the terminal 600 by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the terminal processor 601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The terminal processor 601 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the terminal processor 601, and it can be implemented separately through a chip.
[0097] Among them, the memory 605 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory, ROM). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 605 may also be optionally at least one storage device located away from the aforementioned terminal processor 601. As Figure 6 As shown, the memory 605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating system management program.
[0098] exist Figure 6 In the terminal 600 shown, the user interface 603 is mainly used to provide an input interface for the user and obtain data input by the user; and the terminal processor 601 can be used to call the operating system management program stored in the memory 605 and specifically perform the following operations:
[0099] Obtaining the local timing point of the operating system according to a preset period, and obtaining the standard timing point through network communication;
[0100] Compare the local time difference between two consecutive local timing points with the standard time difference between the two corresponding standard timing points. If the local time difference is smaller than the standard time difference, it is confirmed that the operating system is a cloned system.
[0101] Perform preset management operations on the terminal where the operating system is located.
[0102] In some embodiments, the terminal where the operating system is located includes a system disk and a non-system disk. After the terminal processor 601 obtains the local timing point of the operating system according to a preset period, it also specifically performs the following steps: writes the local timing point to the system disk and the non-system disk; after the terminal processor 601 confirms that the operating system is a cloned system, it also specifically performs the following steps: compares the local timing points in the system disk and the non-system disk, and if they are inconsistent, confirms again that the operating system is a cloned system.
[0103] In some embodiments, when the terminal processor 601 executes the acquisition of the standard timing point through network communication, it specifically performs the following steps: acquiring the standard timing point of the local area network server by performing network communication with the local area network server.
[0104] In some embodiments, when the terminal processor 601 executes the acquisition of standard timing points through network communication, it specifically performs the following steps: acquiring the standard timing points of the terminals in the same network segment by performing network communication with the terminals in the same network segment.
[0105] In some embodiments, when the terminal processor 601 executes the acquisition of the standard timing point through network communication, it specifically performs the following steps: acquiring the standard timing point of the Internet server by performing network communication with the Internet server.
[0106] In some embodiments, before obtaining the local timing point of the operating system according to a preset period, the terminal processor 601 further specifically performs the following steps: responding to a temporary cancellation policy issued by the management server, the temporary cancellation policy is used to cancel the operating system management policy in the operating system within a preset time period.
[0107] In some embodiments, the preset management operation includes at least one of a shutdown operation, an alarm prompt operation, and an operating system management policy recovery operation.
[0108] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0109] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0110] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The above computer program product includes one or more computer instructions. When the above computer program instructions are loaded and executed on a computer, the above process or function according to the embodiment of this specification is generated in whole or in part. The above computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The above computer instructions can be stored in a computer-readable storage medium or transmitted by the above computer-readable storage medium. The above computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The above computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The above-mentioned available media can be magnetic media (for example, floppy disks, hard disks, tapes), optical media (for example, digital versatile discs (DVD)), or semiconductor media (for example, solid state drives (SSD)), etc.
[0111] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences 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 application.
[0112] 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.
[0113] The above is a description of an operating system management method, device, storage medium and terminal provided in the present application. For technical personnel in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. An operating system management method, characterized in that: The method comprises: Obtaining the local timing point of the operating system according to a preset period, and obtaining the standard timing point through network communication; Comparing the local time difference between two consecutive local timing points with the standard time difference between the two corresponding standard timing points, if the local time difference is smaller than the standard time difference, confirming that the operating system is a cloned system; Perform preset management operations on the terminal where the operating system is located.
2. The method according to claim 1, characterized in that The terminal where the operating system is located includes a system disk and a non-system disk. After obtaining the local timing point of the operating system according to the preset period, the method further includes: Writing the local timing point into the system disk and the non-system disk; After confirming that the operating system is a cloned system, the method further includes: The local timing points in the system disk and the non-system disk are compared, and if they are inconsistent, the operating system is confirmed to be a cloned system for a second time.
3. The method according to claim 1, characterized in that The obtaining of the standard timing point through network communication includes: By performing network communication with the local area network server, the standard timing point of the local area network server is obtained.
4. The method according to claim 1, characterized in that The obtaining of the standard timing point through network communication includes: By performing network communication with the terminals in the same network segment, the standard timing points of the terminals in the same network segment are obtained.
5. The method according to claim 1, characterized in that The obtaining of the standard timing point through network communication includes: By performing network communication with an Internet server, a standard timing point of the Internet server is obtained.
6. The method according to claim 1, characterized in that Before obtaining the local timing point of the operating system according to the preset period, the method further includes: In response to the temporary cancellation policy sent by the management server, the temporary cancellation policy is used to cancel the operating system management policy in the operating system within a preset time period.
7. The method according to claim 1, characterized in that The preset management operation includes at least one of a shutdown operation, an alarm prompt operation, and an operating system management policy recovery operation.
8. An operating system management device, characterized in that: The device comprises: A timing module, used to obtain the local timing point of the operating system according to a preset period, and obtain the standard timing point through network communication; A verification module, used for comparing a local time difference between two consecutive local timing points and a standard time difference between two corresponding standard timing points, and if the local time difference is smaller than the standard time difference, confirming that the operating system is a cloned system; The management module is used to perform preset management operations on the terminal where the operating system is located.
9. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the steps of the method according to any one of claims 1 to 7.
10. A terminal, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the program.
