Data processing method, device, terminal and storage medium
By setting up multiple secure workspaces in the terminal and determining the operation permissions, the problem of being unable to control the scope of data flow after data encryption is solved, the isolation and security control of data at different security levels are realized, and data security is improved.
Patent Information
- Application Number
- CN202010451341.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-25
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-05-25
AI Technical Summary
Existing technology cannot effectively control the scope of data transfer after data encryption, and cannot distinguish between data storage at different security levels, resulting in the risk of data leakage.
By setting multiple secure workspaces in the terminal, the first secure workspace that initiates the control operation is determined, and whether it has the operating authority to perform the control operation is determined to control the processing and transmission of data.
It realizes the control of operation permissions of different secure workspaces, avoids illegal transfer and leakage of data, and improves data security.
Smart Images

Figure CN111680309B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer network security technology, and in particular to a data processing method, device, terminal and storage medium. Background Art
[0002] The development of intelligent technology is inseparable from data, and data security issues are becoming increasingly important in the evolution of intelligent technology. In related technologies, encryption algorithms are mainly used to encrypt data to prevent data from being maliciously read, thereby protecting data security.
[0003] Although this method can protect data to a certain extent, the encrypted data still has the problem of uncontrollable data flow due to illegal copying. At the same time, since the data is stored indiscriminately on the local disk, there is a problem of being unable to distinguish data of different security levels. Summary of the invention
[0004] In order to solve at least one of the above technical problems, the present application provides a data processing method, device, terminal and storage medium.
[0005] According to a first aspect of the present application, a data processing method is provided, the method comprising:
[0006] Detect control operations on the target to be processed;
[0007] Determine a first safe working space in which a control operation is initiated among a plurality of preset safe working spaces;
[0008] Determining whether the first safe workspace has the operation authority to perform the control operation;
[0009] The target to be processed is processed according to the judgment result.
[0010] According to a second aspect of the present application, a data processing device is provided, the device comprising:
[0011] A detection module, used for detecting control operations on the target to be processed;
[0012] A first space determination module, used to determine a first safe working space for initiating a control operation among a plurality of preset safe working spaces;
[0013] A judgment module, used to judge whether the first safe workspace has the operation authority to perform the control operation;
[0014] The processing module is used to process the target to be processed according to the judgment result.
[0015] According to a third aspect of the present application, a terminal is provided, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the above-mentioned data processing method when executing the computer program.
[0016] According to a fourth aspect of the present application, a computer-readable storage medium is provided, which stores computer-executable instructions for executing the above-mentioned data processing method.
[0017] The present application achieves the effect of isolating data by setting up multiple secure workspaces, and processes the control operation by determining the first secure workspace that initiates the control operation and judging whether the first secure workspace has the operation authority to perform the control operation. This achieves the purpose of controlling the operation authority of different secure workspaces, avoids data leakage caused by illegal transfer of data in the secure workspace, and improves the security of data in the secure workspace. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0019] Figure 1 A flowchart of a data processing method provided according to an embodiment of the present application;
[0020] Figure 2 A flowchart of an embodiment of determining operation authority in a data processing method provided according to an embodiment of the present application;
[0021] Figure 3 A schematic diagram of an application architecture of a data processing method provided according to an embodiment of the present application;
[0022] Figure 4 A schematic diagram of a processing flow of a file control module in an application architecture of a data processing method provided according to an embodiment of the present application;
[0023] Figure 5 A schematic diagram of a processing flow of a write operation in an application architecture of a data processing method provided according to an embodiment of the present application;
[0024] Figure 6 A schematic diagram of a processing flow of a network control module in an application architecture of a data processing method provided according to an embodiment of the present application;
[0025] Figure 7 A schematic diagram of a processing flow of an application control module in an application architecture of a data processing method provided according to an embodiment of the present application; and
[0026] Figure 8 The present invention is a block diagram of a data processing device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0028] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.
[0029] In the embodiment of the present application, the secure workspace refers to a virtual workspace created locally on the terminal using container technology, which runs on a physical platform and can automatically allocate physical resources to different secure workspaces through virtual technology.
[0030] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0031] According to an embodiment of the present application, a data processing method is provided, such as Figure 1 As shown, the method includes: step S101 to step S104.
[0032] Step S101: Detecting a control operation on a target to be processed.
[0033] Specifically, this step may be performed after the terminal device is started.
[0034] Specifically, the target to be processed may be an application program or a file.
[0035] Specifically, this step may be performed when the preconfigured application interface is switched to the current display interface of the terminal screen.
[0036] Step S102: Determine a first safe working space in which a control operation is initiated among a plurality of preset safe working spaces.
[0037] Specifically, a plurality of secure workspaces are set in the terminal.
[0038] In the embodiment of the present application, the safe workspace is used to represent the operation area for processing data.
[0039] Specifically, the user of the terminal can be a corporate user or an individual user. More specifically, the user type can be selected through user registration, that is, the user can be registered as a corporate user or an individual user.
[0040] Specifically, a secure workspace can be created based on the work department. For example, a secure workspace for the finance department, a secure workspace for the R&D department, a secure workspace for the business department, etc. can be created. More specifically, different secure workspaces can correspond to different space information (such as space account and space key). For example, the space information of the secure workspace for the finance department is username: aaa; password: AAA; the space information of the secure workspace for the R&D department is username: bbb; password: BBB.
[0041] Specifically, the secure workspace that the current terminal user can enter can be limited according to the space information corresponding to different secure workspaces. For example, if it is detected that the terminal user inputs the space information of the secure workspace for the finance department, the current terminal user is controlled to enter the secure workspace for the finance department, so that the terminal user can operate inside the secure workspace for the finance department.
[0042] Specifically, the secure workspaces that terminal users can access can be limited based on user accounts, that is, different user accounts correspond to different management permissions. For example, assuming that the management permission corresponding to the terminal user "xxx" is the administrator permission, if the terminal user corresponding to the detected user account is "xxx", then the terminal user "xxx" can directly enter any secure workspace and perform operations without having to enter the space information of different secure workspaces.
[0043] Specifically, a plurality of secure workspaces created in the terminal may be displayed through an interactive interface, and the first secure workspace for initiating a control operation may be detected based on the interactive interface.
[0044] For example, when a single-click operation is detected through the interactive interface, a preconfigured file transfer window may be started, and the file transfer window may provide different controls to determine the type of the detected control operation based on different spaces.
[0045] Specifically, the interactive interface may also provide a variety of display controls, such as a thumbnail display control, so that the user can control the display mode of multiple safe workspaces by selecting the thumbnail display control.
[0046] Step S103: Determine whether the first secure workspace has the operation authority to execute the control operation.
[0047] Specifically, the control operation may be an operation within the first secure workspace, or a control operation across spaces within the same terminal, or a control operation across hosts. For example, the read / write operation of a file stored in the second secure workspace in the first secure workspace, the operation of transmitting data from the first secure workspace to other secure workspaces, the operation of reading or transmitting data from the first secure workspace to an external device such as a USB flash drive, etc.
[0048] For example, assuming that the terminal includes secure workspace a, secure workspace b, and secure workspace c, secure workspace b may only have the authority to transmit data to secure workspace c, but not to transmit data to secure workspace a; or may only have the operation authority to read files in secure workspace a. Therefore, it is necessary to determine whether the first secure workspace has the operation authority to perform the control operation, so as to provide a processing basis for subsequent processing.
[0049] Step S104: Process the target to be processed according to the judgment result.
[0050] In the embodiment of the present application, the setting of multiple secure workspaces is used to isolate data. The control operation is processed by determining the first secure workspace that initiates the control operation and judging whether the first secure workspace has the operation authority to perform the control operation. This achieves the purpose of controlling the operation authority of different secure workspaces, avoids data leakage caused by illegal transfer of data in the secure workspace, and improves the security of data in the secure workspace.
[0051] In some embodiments, Figure 2 As shown, step S103 determines whether the first secure workspace has the operation authority to perform the control operation, including: steps S1031 to S1034.
[0052] Step S1031: If the control operation is a cross-space control operation, then a second safe working space to which the cross-space control operation points is determined in a plurality of preset safe working spaces.
[0053] Specifically, the first secure workspace and the second secure workspace are both secure workspaces in the same terminal.
[0054] Specifically, the cross-space control operation may include operations of transmitting data between different secure workspaces, operations of reading and writing data in other secure workspaces, and the like.
[0055] For example, assuming that secure workspace a and secure workspace b are created in the current terminal, if secure workspace a initiates a data transmission operation to secure workspace b or a read or write operation on a file in secure workspace b, then secure workspace a is the first secure workspace and secure workspace b is the second secure workspace that receives the transmitted data.
[0056] Step S1032: Determine the spatial weight of the first safe working space and the spatial weight of the second safe working space.
[0057] Specifically, the spatial weight can be set when the safe workspace is created, and can also be adjusted according to the user's adjustment operation during the application process.
[0058] Step S1033: Compare the spatial weight of the first safe working space with the spatial weight of the second safe working space.
[0059] Step S1034: According to the comparison result and the type of the cross-space control operation, it is determined whether the first safe workspace has the operation authority to execute the control operation.
[0060] In the embodiment of the present application, the safe workspace and the non-safe workspace can be distinguished by the spatial weight. For example, if the spatial weight value is 0, it is determined to be a non-safe workspace; if the spatial weight value is greater than 0, it is determined to be a safe workspace.
[0061] When applied, a workspace with a spatial weight value of 0 is generally used as a personal workspace, that is, a non-secure workspace. When the second secure workspace is a personal workspace, it means that the controlled file is transferred from the secure workspace to the non-secure workspace. In order to ensure the security of data transmission, the file transfer policy from the secure workspace with a spatial weight greater than 0 to the personal workspace with a spatial weight of 0 is generally set to prohibited. In other words, the flow range of file transfer provided by the embodiment of the present application is between secure workspaces with a spatial weight greater than 0, and the flow method is from a workspace with a low spatial weight to a workspace with a high spatial weight.
[0062] It should be noted that the safe working space can also be distinguished by space level parameters, virtual experience values, etc., which are not listed here one by one.
[0063] The embodiment of the present application uses the comparison of spatial weights as a basis for determining whether the first secure workspace has the operating authority to perform control operations. This method of defining spatial weights for different secure workspaces not only serves to classify data in different secure workspaces by spatial weights, but also achieves the purpose of setting the respective operating authorities of different secure workspaces by defining spatial weights, thereby effectively avoiding data leakage by limiting the scope of data circulation in different secure workspaces.
[0064] In such Figure 2 In some of the embodiments shown, step S1034 determines whether the first safe working space has the operating authority to perform the control operation based on the comparison result and the type of the cross-space control operation, and further includes: step S10341 (not shown in the figure): If the type of the cross-space control operation is a cross-space data transmission operation of the target to be processed, and the spatial weight of the first work is not higher than the spatial weight of the second safe working space, then it is determined that the first safe working space has the operating authority to perform the cross-space data transmission operation.
[0065] The step of processing the control operation according to the judgment result in step S104 includes: step S1041 (not shown in the figure): if the first secure working space has the operation authority to perform the cross-space data transmission operation, then control the first secure working space to send the target to be processed to the second secure working space.
[0066] The embodiment of the present application provides a data transmission function for the target to be processed, and limits the data transmission function to: allowing a safe workspace with a low spatial weight to send data transmission to a safe workspace with a high spatial weight.
[0067] In the embodiment of the present application, by taking the comparison result of the spatial weight and the type of cross-space control operation as the basis for determining whether the first safe workspace has the operating authority to perform the control operation, the cross-work control operations are refined and classified, thereby improving the accuracy of the judgment in step S1034 of determining whether the first safe workspace has the operating authority to perform the control operation.
[0068] For example, assuming that the spatial weight of workspace a is N and the spatial weight of workspace b is M, if N≤M, then the data in workspace a can be sent to workspace b.
[0069] In such Figure 2In some of the embodiments shown, before the step of determining in step S10341 that the first secure workspace has the operating permission to perform cross-space data transmission operations, the method also includes: determining a first application that initiates data transmission processing, the first application running in the first secure workspace; determining a second application for accepting data transmission processing, the second application running in the second secure workspace; determining in step S10341 that the first secure workspace has the operating permission to perform cross-space data transmission operations, including: if the second application is a communicative application of the first application, then determining that the first secure workspace has the operating permission to perform cross-space data transmission operations.
[0070] Specifically, the application information of the second application may be matched with the application information of each of the plurality of communicative applications preconfigured for the first application. If the match is successful, the second application is determined to be a communicative application of the first application.
[0071] More specifically, the application information may be information such as an application identifier and an application version number.
[0072] The embodiment of the present application serves to restrict applications in cross-space data transmission, that is, to restrict applications that initiate data transmission and applications that are allowed to receive data transmission. Through such application restrictions, the purpose of restricting applications in the second security workspace that can obtain the transmitted data is achieved, thereby preventing data from being obtained by illegal applications in the second security workspace.
[0073] In some embodiments, before the step of determining the first application to initiate the data transmission process, it further includes: detecting the operation of starting the first application; and determining whether the first application is an authorized application of the first secure workspace.
[0074] The embodiment of the present application provides a function for determining which applications can be run in a secure workspace, thereby configuring authorized applications for the secure workspace and preventing unauthorized applications from running in the secure workspace.
[0075] Specifically, the pre-configured application control policy can be used to determine whether the first application is an authorized application of the first secure workspace, that is, to determine whether the first application is allowed to run in the first secure workspace. The application control policy can be used to configure the authorized applications of different workspaces to prevent illegal applications from running in the secure workspace, thereby achieving the purpose of controlling the flow of data in different secure workspaces through authorized applications, preventing data from being illegally transferred, and improving data security.
[0076] Specifically, the application can establish an association relationship with the workspace through an interactive interface, or by dragging the application icon to establish an association relationship with the workspace. After the association relationship is established, further authorization operations can be performed to configure whether it is an authorized application.
[0077] For example, after detecting that the user drags the Excel icon into secure workspace 1, Excel establishes an association relationship with secure workspace 1. At this time, secure workspace 1 can send an application authorization prompt message so that the user can choose whether to authorize Excel as an authorized application of secure workspace 1. If it is detected that the user selects authorization, then Excel is determined to be a legitimate application of secure workspace 1, that is, Excel is an authorized application of secure workspace 1.
[0078] For example, a dragging operation of a user dragging a browser icon to secure workspace 1 is detected, and after receiving an instruction from the user to authorize the browser as an authorized application of secure workspace 1, the browser corresponding to the browser icon is determined to be an authorized application.
[0079] In some embodiments, Figure 2 The step S1034 shown is a step of judging whether the first secure workspace has the operating authority to perform the control operation based on the comparison result and the type of the cross-space control operation, including: if the type of the cross-space operation is a cross-space data read operation on the target to be processed, and the spatial weight of the first secure workspace is higher than the spatial weight of the second secure workspace, then determining that the first secure workspace has the operating authority to perform the cross-space data read operation.
[0080] In step S104, the target to be processed is processed according to the judgment result, including: step S1042 (not shown in the figure): if the first secure workspace has the operation authority to perform cross-space data reading operations, the target to be processed is synchronized from the second secure workspace to the first secure workspace.
[0081] The embodiment of the present application provides a cross-space file reading function, and limits the cross-space file reading function to: allowing a secure workspace with a high space weight to read files in a secure workspace with a low space weight.
[0082] For example, assuming that file yy.doc is stored in secure workspace a, if file yy.doc is read in secure workspace b, the spatial weight of secure workspace a needs to be compared with the spatial weight of secure workspace b. If the spatial weight of secure workspace a is higher than that of secure workspace b, reading file yy.doc in secure workspace b is prohibited; if the spatial weight of secure workspace a is lower than that of secure workspace b, reading file yy.doc in secure workspace b is allowed, that is, secure workspace b has the operation permission to read file yy.doc in secure workspace b.
[0083] In some embodiments, Figure 1 As shown, step S103 determines whether the first secure workspace has the operating authority to perform the control operation, and further includes step S1035 (not shown in the figure), that is, if the control operation is a data operation within the space, it is determined that the first secure workspace has the operating authority to perform the control operation.
[0084] The step of processing the target to be processed according to the judgment result in step S104 further includes: if the target to be processed is an application, controlling the operation of the application in the first security space; if the target to be processed is a file, reading the file in the first security space and editing the file.
[0085] In the embodiment of the present application, the target to be processed can be either a file stored in the first secure workspace or an application. More specifically, when the target to be processed is a file, the file is decrypted according to the file key of the file to display the decrypted file; more specifically, when the target to be processed is an application, the above-mentioned steps of judging the launched application can be referred to to determine whether it is an authorized application of the first secure workspace, so as to control the operation of the application in the first secure workspace.
[0086] In some embodiments, Figure 1 As shown, step S103 determines whether the first secure workspace has the operation authority to perform the control operation, including steps S1036 to S1038 (not shown in the figure), and step S104 includes S1045 (not shown in the figure).
[0087] Step S1036: If the control operation is a cross-host control operation, determine the operated device.
[0088] Specifically, the operated device can be an external device such as a USB shield, a USB flash drive, or other terminals.
[0089] Step S1037: Determine corresponding operation-related information according to the device type corresponding to the operated device.
[0090] Step S1038: If the operation-related information is to allow the target terminal running the first secure workspace to communicate with the operated device, it is determined that the first secure workspace has the operation authority to perform the control operation.
[0091] Specifically, if the operated device is an external device, the operation-related information may be information on whether the external device is allowed to communicate with the initiating terminal; if the operated device is another terminal, the operation-related information may be information on whether the initiating terminal is allowed to communicate with another terminal.
[0092] Step S1045: executing a startup process on the communication interface between the target terminal and the operated device, so that the target terminal sends the target to be processed to the operated device.
[0093] Specifically, if the first secure workspace and the second secure workspace are created in different terminals respectively, then the control operation is a cross-host control operation between different terminals. For example, assuming that secure workspace a1 and secure workspace a2 are created in terminal A, if secure workspace a1 in terminal A initiates a data transmission operation to terminal B, then the control operation is a cross-host control operation, and the operated device is another terminal.
[0094] Specifically, different operated devices have different communication interfaces with the target terminal. For example, the communication interface between the target terminal and the external device may be a USB interface; the communication interface between the target terminal and other terminals may be a VPN network interface, that is, the target terminal communicates with other terminals through a VPN protocol.
[0095] In some embodiments, Figure 1 As shown, the method also includes:
[0096] Step S105 (not shown in the figure): determine the operation event record for processing the control operation, so as to perform analysis based on the operation event record.
[0097] The embodiment of the present application provides an analysis basis for subsequent behavior analysis of file transfer operations in different security workspaces by determining the operation event record.
[0098] Considering that the control operation in this step can be a control operation within the space or a control operation across the space, the control operation across the space can be either an operation to read data from other secure workspaces or an operation to transmit data to other secure workspaces.
[0099] Therefore, when the control operation is a cross-space operation control, the operation event record may include information such as the timestamp (the time when the control operation is executed), the operation event type, the workspace that initiates the control operation (i.e., the first safe workspace), the workspace being operated (i.e., the second safe workspace), and the data being operated; when the control operation is an intra-space operation control, the operation event record may include information such as the timestamp (i.e., the time when the control operation is executed), the operation event type, the workspace that initiates the control operation, and the data being operated.
[0100] In order to further illustrate the method provided by the present application, Figures 3 to 7 The data processing method provided in the embodiment of the present application is described.
[0101] like Figure 3 As shown, there are multiple secure workspaces configured in the current terminal, and the multiple secure workspaces correspond to different weight values. Each secure workspace can be managed by a file control module, a network control module, and an application control module. Among them, the file control module is used to provide file reading and writing services, and can encrypt files; the network control module can provide VPN services, that is, generate VPN data through the VPN module to transfer files; the application control module is used to authenticate the application behavior, that is, to determine whether the application is an authorized application.
[0102] Specifically, the current terminal may be a mobile terminal or a fixed terminal pre-installed with an operating system, such as a smart phone, a tablet computer, a desktop computer, etc.
[0103] Combine the following Figure 4 The file read and write operations of different weight spaces are described. The read and write operations of the virtual disk or virtual file in the secure workspace 23 are described by taking the secure workspace 21 and the secure workspace 22 as examples. The spatial weights of the three workspaces in this embodiment are as follows: the spatial weight of the secure workspace 21 < the spatial weight of the secure workspace 22 < the spatial weight of the secure workspace 23.
[0104] In some application scenarios, the file control module processes the read operation initiated by the secure workspace 21 to the virtual disk or virtual folder in the secure workspace 22, and the processing flow is as follows:
[0105] S11: Obtaining a read operation initiated by secure workspace 21 to secure workspace 22;
[0106] S12: Determine whether the secure workspace 21 is allowed to perform a read operation on the virtual disk or virtual folder of the secure workspace 22, and perform processing according to the determination result.
[0107] If the preconfigured file control policy prohibits low-weight secure workspace applications from performing read operations on virtual disks or virtual files in high-weight secure workspaces, the file control module rejects the read operation, that is, S12 is rejected.
[0108] In some application scenarios, the file control module processes the read operation initiated by the secure workspace 23 to the virtual disk or virtual folder of the secure workspace 22, and the processing flow is as follows:
[0109] S21: Obtaining a read operation initiated by an application in the secure workspace 23 on a virtual disk or virtual folder in the secure workspace 22;
[0110] S22: Determine whether the secure workspace 23 is allowed to perform a read operation on the virtual disk or virtual folder of the secure workspace 22, and perform processing according to the determination result.
[0111] Since the pre-configured file control policy is to allow the high-weight security space application to perform a read operation on the virtual disk or virtual file in the low-weight security space, an instruction to allow the read operation is generated, that is, S22 allows;
[0112] S23: Control the data encryption and decryption module to read and parse the ciphertext to obtain decrypted data;
[0113] S24: Return the decrypted data to the virtual disk or virtual folder of the secure workspace 22;
[0114] S25: The decrypted data is returned to the application in the secure workspace 23, completing the read operation of the application in the secure workspace 23 on the virtual disk or virtual folder of the secure workspace 22.
[0115] In addition, since the execution process of the application of the secure workspace 22 on the virtual disk or virtual folder of the secure workspace 22 is the same as S21 to S24, it will not be repeated here.
[0116] In some application scenarios, the file control module processes the write operation initiated by the application in other spaces to the virtual disk or virtual folder of the secure workspace 22, and the processing flow is as follows:
[0117] S31: Obtaining write operations initiated by applications in other spaces to the virtual disk or virtual folder of the secure workspace 22;
[0118] S32: Determine whether to allow applications in other secure workspaces to perform write operations on the virtual disk or virtual folder of the secure workspace 22, and execute processing according to the determination result.
[0119] If the determination result of the file control module is rejection, then the application programs in other spaces are prohibited from performing write operations on the virtual disk or virtual folder of the secure workspace 22 .
[0120] Specifically, the file control module makes a judgment based on a preconfigured write operation control policy. For example, if the write operation control policy is to prohibit low-weight secure workspace applications from performing write operations on virtual disks or virtual files in high-weight secure workspaces, then the file control module prohibits write operations initiated by applications in other spaces to virtual disks or virtual folders in secure workspace 22.
[0121] In some application scenarios, the write operation initiated by the file control operation on the secure workspace 22 to the virtual disk or virtual folder of the secure workspace 22 is processed, and the processing flow is as follows:
[0122] S41: Acquire a write operation initiated by an application in the secure workspace 22 to a virtual disk or virtual folder of the secure workspace 22;
[0123] S42: Determine whether the application program in the secure workspace 22 is allowed to write to the virtual disk or virtual folder of the secure workspace 22, and perform processing according to the determination result.
[0124] Since the pre-configured file control policy allows the application in the space to perform write operations on the virtual disk or virtual file of the secure workspace, an instruction to allow the read operation is generated;
[0125] S43: Control the data encryption and decryption module to read the ciphertext and perform a write operation.
[0126] Based on the above description of the read and write operation process, the following takes the reading and writing of the disk of the personal space by the application in the secure workspace as an example. Figure 5 It can be seen that when the read and write operations initiated by the application in the current secure workspace to the disk of the personal space are detected, the file control module will query the pre-configured policy to determine whether it is allowed; if it is allowed, the read and write operations of the personal space disk will be mapped and synchronized to the virtual disk or virtual folder in the current secure workspace. Through this synchronization of the workspace, the purpose of isolating data is achieved and the use of Figure 4 The data encryption and decryption module provided encrypts the data after the operation is completed to improve the confidentiality of the data.
[0127] Combine the following Figure 6 The processing flow of the network control module is described, and in this embodiment, it includes a personal space, a safe workspace 61 and a safe workspace 62. The personal space refers to a workspace with a weight of zero, that is, a non-safe workspace.
[0128] In some application scenarios, when the current terminal detects that the application 001 in the secure workspace 61 initiates data interaction with the application 002 in the personal workspace, the network control module, based on the pre-configured policy, makes an approval judgment on whether to allow the application 001 in the secure workspace 61 to interact with the application 002 in the personal space. Since the personal space is not a secure workspace, the policy does not allow it.
[0129] In some application scenarios, when the current terminal detects that the application 001 in the secure workspace 61 initiates the local network data for interaction with the application 003 in the secure workspace 62, the network control module makes an approval judgment based on the pre-configured policy on whether to allow the application 001 in the secure workspace 61 to interact with the application 003 in the secure workspace 62. If the policy allows data interaction with the application 003 in the secure workspace 62, the local network data interacted between the application 001 in the secure workspace 61 and the application 003 is sent to the application 003 in the secure workspace 62.
[0130] In some application scenarios, if the current terminal detects cross-host data initiated by the application numbered 001 in the secure workspace 61, the network control module will review and determine whether to allow the cross-host data to be transmitted between different hosts based on the pre-configured policy; if the policy allows, the cross-host data will be sent to the target device (such as other terminals, USB flash drives, Bluetooth devices, etc.). For example, when the current terminal detects VPN data initiated by the application numbered 001 in the secure workspace 61, the pre-configured policy will be used to determine whether to allow data transmission using the VPN protocol; if the policy allows, the current terminal IP will be set to a VPN connection.
[0131] Combine the following Figure 7 The processing flow of the application control module is described. This embodiment includes two secure workspaces, namely: secure workspace 71 and secure workspace 72. Among them, the secure workspace uses the application control module to control the communication of different applications in the same secure space, and the communication between different applications in different secure workspaces.
[0132] In this embodiment, the secure workspace 71 includes two types of applications, namely, application 004 and application 005. When a communication request between application 004 in the secure workspace 71 and application 005 in the secure workspace 71 is detected, the application control module in the secure workspace 71 queries the pre-configured policy to determine whether the communication is allowed. Since the policy is a policy that allows communication between different applications in the same secure workspace, both applications 004 in the secure workspace 71 and application 005 in the secure workspace 71 are allowed to communicate, and applications 005 in the secure workspace 71 and application 004 in the secure workspace 71 are allowed to communicate. In addition, whether application 005 in the secure workspace 71 is allowed to communicate with application 006 in the secure workspace 72 is also determined by the application control module in the secure workspace 71. If allowed, the cross-workspace communication data is released.
[0133] In addition, in some embodiments, whether the secure workspace allows access to external devices such as USB flash drives and USB shields, as well as other high-risk operations (such as modification operations of USB shield digital certificates), is also controlled by the application control module in the secure workspace.
[0134] Another embodiment of the present application provides a data processing device, such as Figure 8 As shown, the device includes: a detection module 801, a first space determination module 802, a judgment module 803 and a processing module 804.
[0135] A detection module 801 is used to detect the control operation on the target to be processed;
[0136] A first safe space determination module 802 is used to determine a first safe working space for initiating a control operation among a plurality of preset safe working spaces;
[0137] A determination module 803 is used to determine whether the first secure workspace has the operation authority to perform the control operation;
[0138] The processing module 804 is used to process the target to be processed according to the judgment result.
[0139] In the embodiment of the present application, the setting of multiple secure workspaces is used to isolate data. The control operation is processed by determining the first secure workspace that initiates the control operation and judging whether the first secure workspace has the operation authority to perform the control operation. This achieves the purpose of controlling the operation authority of different secure workspaces, avoids data leakage caused by illegal transfer of data in the secure workspace, and improves the security of data in the secure workspace.
[0140] Furthermore, the judgment module 803 includes: a second space determination submodule, a space weight determination submodule, a space weight comparison submodule and a first operation authority judgment submodule (not shown in the figure).
[0141] A second space determination submodule, for determining, if the control operation is a cross-space control operation, a second safe working space to which the cross-space control operation points from among a plurality of preset safe working spaces;
[0142] A spatial weight determination submodule, used to determine the spatial weight of the first safe working space and the spatial weight of the second safe working space;
[0143] A spatial weight comparison submodule, for comparing the spatial weight of the first safe working space with the spatial weight of the second safe working space;
[0144] The first operation authority judgment submodule is used to judge whether the first safe workspace has the operation authority to execute the control operation according to the comparison result and the type of the cross-space control operation.
[0145] Furthermore, the first operation authority determination submodule includes:
[0146] First judgment unit (not shown in the figure): if the type of cross-space operation is a cross-space data transmission operation on the target to be processed, and the spatial weight of the first safe working space is not higher than the spatial weight of the second safe working space, then it is determined that the first safe working space has the operation authority to perform the cross-space data transmission operation.
[0147] Furthermore, before the step of determining whether the first secure workspace has the operation authority to perform the cross-space data transmission operation, the first judgment unit includes: a first application determination subunit, a second application determination subunit and a permission judgment subunit (not shown in the figure).
[0148] A first application determining subunit, used to determine a first application that initiates data transmission processing, the first application running in a first secure working space;
[0149] A second application determining subunit, used to determine a second application for receiving data transmission processing, the second application running in a second secure working space;
[0150] The permission judgment subunit is used to determine whether the first secure working space has the operation permission to perform the cross-space data transmission operation if the second application is a communicable application of the first application.
[0151] Further, before determining the first application for sending the data transmission process, the first determination unit further includes:
[0152] An application startup detection subunit, used to detect an operation of starting a first application program;
[0153] The application determination subunit is used to determine whether the first application is an authorized application of the first secure workspace.
[0154] Furthermore, the processing module includes:
[0155] The first processing submodule (not shown in the figure) is used to control the first secure working space to send the target to be processed to the second secure working space if the first secure working space has the operation authority to perform the cross-space data transmission operation.
[0156] Furthermore, the first operation authority determination submodule includes:
[0157] The second judgment unit (not shown in the figure) is used to determine that the first safe working space has the operation authority to perform the cross-space data reading operation if the type of the cross-space operation is a cross-space data reading operation on the target to be processed, and the spatial weight of the first safe working space is not lower than the spatial weight of the second safe working space.
[0158] Furthermore, the processing module includes:
[0159] The second processing submodule (not shown in the figure) is used to synchronize the target to be processed from the second secure workspace to the first secure workspace if the first secure workspace has the operation authority to perform the cross-space data reading operation.
[0160] Further, the determination module 803 includes:
[0161] The second operation authority judgment submodule (not shown in the figure) is used to determine whether the first secure workspace has the operation authority to execute the control operation if the control operation is a data operation within the space.
[0162] Furthermore, the processing module includes at least one of the following submodules:
[0163] A third processing submodule is used for controlling the running of the application program in the first security space if the target to be processed is an application program;
[0164] The fourth processing submodule is used to read the file in the first security space and edit the file if the target to be processed is a file.
[0165] Furthermore, the judgment module 803 includes: a cross-host operation determination submodule (not shown in the figure), an operation related information determination submodule (not shown in the figure) and
[0166] A cross-host operation determination submodule, used to determine the operated device if the control operation is a cross-host control operation;
[0167] An operation related information determination submodule, used to determine corresponding operation related information according to the device type corresponding to the operated device;
[0168] The third operation authority judgment submodule is used to determine whether the first secure workspace has the operation authority to execute the control operation if the operation related information allows the target terminal running the first secure workspace to communicate with the operated device.
[0169] Furthermore, the processing module includes:
[0170] The fifth processing submodule (not shown in the figure) is used to perform a startup process on the communication interface between the target terminal and the operated device, so that the target terminal sends the target to be processed to the operated device.
[0171] Furthermore, the device also includes:
[0172] The operation event record determination module (not shown in the figure) is used to determine the operation event record of executing the control operation so as to perform analysis based on the operation event record.
[0173] The data processing device of this embodiment can execute the data processing method provided in the embodiment of the present application. The implementation principle is similar and will not be repeated here.
[0174] Another embodiment of the present application provides a terminal, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned data processing method when executing the computer program.
[0175] Specifically, the processor may be a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0176] Specifically, the processor is connected to the memory via a bus, and the bus may include a path for transmitting information. The bus may be a PCI bus or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.
[0177] The memory can be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.
[0178] Optionally, the memory is used to store the code of the computer program for executing the solution of the present application, and the execution is controlled by the processor. The processor is used to execute the application program code stored in the memory to implement Figure 8 The illustrated embodiment provides the operation of the data processing apparatus.
[0179] In the embodiment of the present application, the setting of multiple secure workspaces is used to isolate data. The control operation is processed by determining the first secure workspace that initiates the control operation and judging whether the first secure workspace has the operation authority to perform the control operation. This achieves the purpose of controlling the operation authority of different secure workspaces, avoids data leakage caused by illegal transfer of data in the secure workspace, and improves the security of data in the secure workspace.
[0180] Another embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for executing the above-mentioned Figure 1 or Figure 2 The data processing method shown.
[0181] In the embodiment of the present application, the setting of multiple secure workspaces is used to isolate data. The control operation is processed by determining the first secure workspace that initiates the control operation and judging whether the first secure workspace has the operation authority to perform the control operation. This achieves the purpose of controlling the operation authority of different secure workspaces, avoids data leakage caused by illegal transfer of data in the secure workspace, and improves the security of data in the secure workspace.
[0182] The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0183] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0184] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A data processing method, characterized in that: include: Displaying multiple secure workspaces created in the terminal through an interactive interface, wherein the multiple secure workspaces are preset locally in the terminal based on the container technology of the microkernel; wherein the multiple secure workspaces correspond to different spatial weights respectively, and the spatial weight of the secure workspace is set when the secure workspace is created, and can be adjusted according to the user's adjustment operation during the application process; wherein different secure workspaces correspond to different spatial information; According to the space information corresponding to different secure workspaces, the secure workspaces that the current terminal user can enter are limited, so that the terminal user can operate within the corresponding secure workspace; Detecting a first safe working space for initiating a control operation according to the interactive interface, and detecting a control operation on a target to be processed; According to the space weight of the secure workspace and the type of the control operation, determining whether the first secure workspace has the operation authority to perform the control operation; the control operation is any one of the following: an operation within the first secure workspace, a cross-space control operation within the same terminal, or a cross-host control operation; The target to be processed is processed according to the judgment result; including: for data transmission operations, the file transfer flow is from the workspace with low spatial weight to the workspace with high spatial weight; for data reading and writing operations, the security workspace with high spatial weight is allowed to read files in the security workspace with low spatial weight, and the security workspace with low spatial weight is prohibited from reading and editing files in the security workspace with high spatial weight; for application control operations, the authorized application of the security workspace is allowed to run in the security workspace.
2. The method according to claim 1, characterized in that The step of judging whether the first safe working space has the operation authority to perform the control operation according to the space weight of the safe working space and the type of the control operation includes: If the control operation is a cross-space control operation, determining a second safe working space to which the cross-space control operation points from among a plurality of preset safe working spaces; Determining a spatial weight of the first safe working space and a spatial weight of the second safe working space; comparing the spatial weight of the first safe working space with the spatial weight of the second safe working space; According to the comparison result and the type of the cross-space control operation, it is determined whether the first secure workspace has the operation authority to perform the control operation.
3. The method according to claim 2, characterized in that The step of judging whether the first safe workspace has the operation authority to perform the control operation based on the comparison result and the type of the cross-space control operation includes: If the type of the cross-space control operation is a cross-space data transmission operation on the target to be processed, and the spatial weight of the first safe working space is not higher than the spatial weight of the second safe working space, it is determined that the first safe working space has the operation authority to perform the cross-space data transmission operation.
4. The method according to claim 3, characterized in that Before the step of determining that the first secure working space has the operation authority to perform the cross-space data transmission operation, the method further includes: Determine a first application that initiates data transmission processing, where the first application is an authorized application of a first secure workspace and runs in the first secure workspace; Determine a second application for receiving data transmission processing, where the second application is an authorized application of the second secure working space and runs in the second secure working space; If the second application is a communicative application of the first application, it is determined that the first secure workspace has the operating authority to perform cross-space data transmission operations, thereby achieving the purpose of controlling the flow of data in different secure workspaces through authorized applications and preventing data from being illegally transferred.
5. The method according to claim 4, characterized in that The method further comprises: Establishing an association relationship between the application and the workspace through the interactive interface, or establishing an association relationship between the application and the workspace by dragging the application icon; After establishing the association, use the authorization operation to configure whether the application is an authorized application.
6. The method according to claim 3, characterized in that The step of processing the target to be processed according to the judgment result includes: If the first secure workspace has the operation authority to perform cross-space data transmission operations, the first secure workspace is controlled to send the target to be processed to the second secure workspace to realize the flow of data from the workspace with low spatial weight to the workspace with high spatial weight.
7. The method according to claim 2, characterized in that The step of judging whether the first safe workspace has the operation authority to perform the control operation based on the comparison result and the type of the cross-space control operation includes: If the type of the cross-space control operation is a cross-space data read operation on the target to be processed, and the space weight of the first secure working space is not lower than the space weight of the second secure working space, determining that the first secure working space has the operation authority to perform the cross-space data read operation; If the type of the cross-space control operation is a cross-space data read operation on the target to be processed and the space weight of the first secure working space is lower than the space weight of the second secure working space, reading files in the first secure working space is prohibited.
8. The method according to claim 7, characterized in that The step of processing the target to be processed according to the judgment result includes: If the first secure workspace has the operation permission to perform the cross-space data reading operation, the target to be processed is synchronized from the second secure workspace to the first secure workspace.
9. The method according to claim 1, characterized in that: The step of determining whether the first secure workspace has the operation authority to perform the control operation includes: If the control operation is a data operation within a secure workspace, it is determined that the first secure workspace has an operation permission to perform the control operation.
10. The method according to claim 9, characterized in that The step of processing the target to be processed according to the judgment result includes at least one of the following steps: If the target to be processed is an application, controlling the running of the application in the first secure workspace; If the target to be processed is a file, the file is read in the first secure workspace.
11. The method according to claim 1, characterized in that: The step of determining whether the first secure workspace has the operation authority to perform the control operation includes: If the control operation is a cross-host control operation, determining the operated device; Determine corresponding operation related information according to the device type corresponding to the operated device; If the operation-related information is to allow the target terminal running the first secure workspace to communicate with the operated device, determining that the first secure workspace has the operation authority to perform the control operation; The step of processing the target to be processed according to the judgment result includes at least one of the following steps: A start-up process is performed on the communication interface between the target terminal and the operated device, so that the target terminal sends the target to be processed to the operated device.
12. The method according to claim 1, characterized in that The method further comprises: An operation event record for processing the control operation is determined.
13. A data processing device, characterized in that: include: A detection module, used for detecting control operations on the target to be processed; A first space determination module, configured to detect a first safe working space for initiating a control operation according to an interactive interface; A judgment module, used to judge whether the first secure workspace has the operation authority to perform the control operation according to the space weight of the secure workspace and the type of the control operation; the control operation is any one of the following: an operation within the first secure workspace, a cross-space control operation within the same terminal, and a cross-host control operation; A processing module is used to process the target to be processed according to the judgment result; including: for data transmission operations, the file transmission flow mode is to flow from the workspace with low spatial weight to the workspace with high spatial weight; for data reading and writing operations, the security workspace with high spatial weight is allowed to read the files in the security workspace with low spatial weight, and the security workspace with low spatial weight is prohibited from reading and editing the files in the security workspace with high spatial weight; for application control operations, the authorized application of the security workspace is allowed to run in the security workspace; It also includes: displaying multiple secure workspaces created in the terminal through an interactive interface, wherein the multiple secure workspaces are preset locally in the terminal based on the container technology of the microkernel; wherein the multiple secure workspaces correspond to different spatial weights, respectively, and the spatial weight of the secure workspace is set when the secure workspace is created, and can be adjusted according to the user's adjustment operation during the application process; wherein different secure workspaces correspond to different spatial information; and limiting the secure workspace that the current terminal user can enter according to the spatial information corresponding to each of the different secure workspaces, so that the terminal user can operate within the corresponding secure workspace.
14. A terminal, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method according to any one of claims 1 to 12.
15. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method according to any one of claims 1 to 12.
