Cloud archive information management method and device, equipment and storage medium
Patent Information
- Application Number
- CN202411017708.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-08-27
AI Technical Summary
[0003]本申请的主要目的在于提供一种云档案信息管理方法、装置、设备及存储介质,旨在解决现有技术中难以确保云档案信息的安全性的问题
[0018] Beneficial effects: This application receives the query instruction of the first terminal for the corresponding cloud file of the target user, and obtains the IP address related information of the first terminal according to the query instruction; when the IP address related information satisfies the preset address fence range When required, authority verification is performed on the first terminal, where the change of the preset address fence range is completed through a preset verification process; if the first terminal passes authority verification, the query is determined query permission of the cloud file targeted by the instruction, and return the cloud file information corresponding to the query instruction to the first terminal according to the query permission. It can be understood that in this application, the cloud file is not displayed to all other users for query. Instead, when receiving the query instruction, it is first determined based on the IP address related information of the corresponding first terminal that it is within the corresponding preset address fence range. For example, the authority verification of the first terminal is continued within the enterprise or within the corresponding department (this can save the process and ensure security, and the preset address fence range is changeable, and the change requires verification, therefore, it can (Making the verification more flexible while ensuring security), in addition, if the first terminal passes the permission verification, the query permission of the cloud file targeted by the query instruction is determined, and the query permission is returned according to the query permission. Query the cloud file information corresponding to the instruction to the first terminal. Instead of returning all cloud file information, it avoids security issues caused by the original files being displayed to all other users through the network.
Smart Images

Figure CN118551402A
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud archive technology, and in particular to a cloud archive information management method, device, equipment and storage medium. Background Art
[0002] Cloud archives are implemented based on the credit archive management system and an information service platform based on a network virtual ID card. The original files of this archive are stored on the cloud server and can be displayed to other authorized users through the network. Since the original files can be displayed to all other authorized users through the network, there will be security issues. Summary of the invention
[0003] The main purpose of this application is to provide a cloud archive information management method, device, equipment and storage medium, aiming to solve the problem that it is difficult to ensure the security of cloud archive information in the prior art.
[0004] To achieve the above purpose, the present application provides a cloud archive information management method, which is applied to a cloud archive information management system. The cloud archive information management method includes: Receiving a query instruction from the first terminal for the cloud file corresponding to the target user, and obtaining information related to the IP address of the first terminal according to the query instruction; Only when the IP address related information meets the requirements of the preset address fence range, the first terminal is authenticated, wherein the change of the preset address fence range is completed through a preset authentication process; If the first terminal passes the authority verification, the query authority of the cloud file targeted by the query instruction is determined, and the cloud file information corresponding to the query instruction is returned to the first terminal according to the query authority.
[0005] Optionally, the step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority includes: Determining the permission level of the query permission; If the permission level is the highest level, returning all cloud file information to the first terminal; If the permission level is not the highest level, the cloud archive information is partially desensitized according to the stage required for the query permission, and then the corresponding cloud archive information is returned to the first terminal, wherein the query stage is divided according to time and corresponding working nodes, and the time span of different query stages can be different, and the time span is associated with the working node; The step of performing partial desensitization processing on the cloud archive information and then returning the corresponding cloud archive information to the first terminal includes: According to the query authority, desensitized elements in the cloud archive information that need to be desensitized are located, the desensitized elements are fuzzy processed, and then the corresponding cloud archive information is returned to the first terminal, wherein the method of locating the desensitized elements in the cloud archive information that need to be desensitized includes: The cloud archive information is input into a preset positioning model, and the desensitized elements are positioned based on the preset positioning model, wherein the preset positioning model is obtained by iteratively training a preset initial positioning model with training data having preset desensitized element labels, and wherein the preset initial positioning model includes at least 2 or more sub-models.
[0006] Optionally, the step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority includes: Determine the cloud file information corresponding to the query instruction according to the query authority; Sending a key request to a key management system that is in communication connection with the local area, and receiving a key pair fed back by the key management system based on the key request, wherein the key pair carries validity time information, wherein the validity time of the key pair is associated with the query authority; The cloud archive information is encrypted based on the private key in the key pair, and the encrypted cloud archive information and the public key in the key pair are sent to the first terminal, so that the first terminal can obtain the cloud archive information within a valid time period.
[0007] Optionally, before the step of receiving a query instruction from the first terminal for the cloud file corresponding to the target user, the step includes: Receiving a profile picture of a target user uploaded by a second terminal; If the file image has passed the preset verification process, the file image is input into the preset neural network model, and the file image is identified and processed based on the preset neural network model to obtain the cloud file corresponding to the target user; The preset neural network model further includes a residual layer, the residual layer includes an alternating structure of batch normalization layers and convolutional layers, and the residual block also includes a jump connection layer.
[0008] Optionally, the cloud archive information management system is distributed, and the step of receiving a query instruction from the first terminal for the cloud archive corresponding to the target user and acquiring information related to the IP address of the first terminal according to the query instruction includes: receiving a query instruction from the first terminal for a cloud file corresponding to a target user, and assigning the query instruction to a target server; Based on the target server, obtaining information related to the IP address of the first terminal; The step of allocating the query instruction to the target server includes: Determine the load condition of each server, and select an initial server group whose load is lower than a preset value based on the load condition; A server with the strongest disaster recovery capability is selected from the initial server group as the target server, wherein the disaster recovery capability is associated with the CPU performance and network quality of the server, the CPU performance of the server includes at least one of CPU capacity, internal cache and external cache, and the network quality includes at least one of bandwidth, rate, delay, response time and packet loss rate, wherein the CPU performance of the server has a greater impact on the disaster recovery capability than the network quality.
[0009] Optionally, the step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority includes: Determine the query feature corresponding to the query instruction according to the query authority and the query instruction; Determining a corresponding query directory from the first server according to the query feature; Determine the corresponding cloud archive information from a second server matching the query directory, and return the cloud archive information corresponding to the query instruction to the first terminal, wherein a first distance between the first server and the first terminal is greater than a second distance between the second server and the first terminal.
[0010] Optionally, after the step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority, the following steps are included: A query record is generated for this query, and the query record is recorded locally.
[0011] The present application also provides a cloud archive information management device, which is applied to a cloud archive information management system. The cloud archive information management device includes: A receiving module, configured to receive a query instruction from a first terminal for a cloud file corresponding to a target user, and obtain information related to an IP address of the first terminal according to the query instruction; An authority verification module, used to perform authority verification on the first terminal only when the IP address related information meets the requirements of the preset address fence range, wherein the change of the preset address fence range is completed through a preset verification process; a determination module, configured to determine the query authority of the cloud file targeted by the query instruction if the first terminal passes the authority verification, and return the cloud file information corresponding to the query instruction to the first terminal according to the query authority; Optionally, the cloud archive information management device is used to implement: Determining the permission level of the query permission; If the permission level is the highest level, returning all cloud file information to the first terminal; If the permission level is not the highest level, the cloud archive information is partially desensitized according to the stage required for the query permission, and then the corresponding cloud archive information is returned to the first terminal, wherein the query stage is divided according to time and corresponding working nodes, and the time span of different query stages can be different, and the time span is associated with the working node; Wherein, the cloud archive information management device is used to implement: According to the query authority, desensitized elements in the cloud archive information that need to be desensitized are located, the desensitized elements are fuzzy processed, and then the corresponding cloud archive information is returned to the first terminal, wherein the method of locating the desensitized elements in the cloud archive information that need to be desensitized includes: The cloud archive information is input into a preset positioning model, and the desensitized elements are positioned based on the preset positioning model, wherein the preset positioning model is obtained by iteratively training a preset initial positioning model with training data having preset desensitized element labels, and wherein the preset initial positioning model includes at least 2 or more sub-models.
[0012] Optionally, the cloud archive information management device is used to implement: Determine the cloud file information corresponding to the query instruction according to the query authority; Sending a key request to a key management system that is in communication connection with the local area, and receiving a key pair fed back by the key management system based on the key request, wherein the key pair carries validity time information, wherein the validity time of the key pair is associated with the query authority; The cloud archive information is encrypted based on the private key in the key pair, and the encrypted cloud archive information and the public key in the key pair are sent to the first terminal, so that the first terminal can obtain the cloud archive information within a valid time period.
[0013] Optionally, the cloud archive information management device is used to implement: Receiving a profile picture of a target user uploaded by a second terminal; If the file image has passed the preset verification process, the file image is input into the preset neural network model, and the file image is identified and processed based on the preset neural network model to obtain the cloud file corresponding to the target user; The preset neural network model further includes a residual layer, the residual layer includes an alternating structure of batch normalization layers and convolutional layers, and the residual block also includes a jump connection layer.
[0014] Optionally, the cloud archive information management device is used to implement: receiving a query instruction from the first terminal for a cloud file corresponding to a target user, and assigning the query instruction to a target server; Based on the target server, obtaining information related to the IP address of the first terminal; The step of allocating the query instruction to the target server includes: Determine the load condition of each server, and select an initial server group whose load is lower than a preset value based on the load condition; A server with the strongest disaster recovery capability is selected from the initial server group as the target server, wherein the disaster recovery capability is associated with the CPU performance and network quality of the server, the CPU performance of the server includes at least one of CPU capacity, internal cache and external cache, and the network quality includes at least one of bandwidth, rate, delay, response time and packet loss rate, wherein the CPU performance of the server has a greater impact on the disaster recovery capability than the network quality.
[0015] Optionally, the cloud archive information management device is used to implement: Determine the query feature corresponding to the query instruction according to the query authority and the query instruction; Determining a corresponding query directory from the first server according to the query feature; Determine the corresponding cloud archive information from a second server matching the query directory, and return the cloud archive information corresponding to the query instruction to the first terminal, wherein a first distance between the first server and the first terminal is greater than a second distance between the second server and the first terminal.
[0016] Optionally, the cloud archive information management device is used to implement: A query record is generated for this query, and the query record is recorded locally.
[0017] The present application also provides a storage medium, on which a cloud archive information management program is stored. When the cloud archive information management program is executed by a processor, the steps of the cloud archive information management method as described above are implemented.
[0018] Beneficial effects: The present application receives a query instruction for a cloud file corresponding to a target user from a first terminal, and obtains the IP address related information of the first terminal according to the query instruction; only when the IP address related information meets the requirements of a preset address fence range, the first terminal is authenticated, wherein the change of the preset address fence range is completed through a preset authentication process; if the first terminal passes the authentication, the query authority of the cloud file targeted by the query instruction is determined, and the cloud file information corresponding to the query instruction is returned to the first terminal according to the query authority. It can be understood that in the present application, the cloud file is not displayed to all other users for query, but when the query instruction is received, it is first determined based on the IP address related information of the corresponding first terminal that it is within the corresponding preset address fence range, such as within the enterprise or within the corresponding department, and then the authentication of the first terminal is continued (the process can be saved and security can be ensured, and the preset address fence range is changeable, and the change requires authentication, so that the authentication can be made more flexible while ensuring security), and if the first terminal passes the authentication, the query authority of the cloud file targeted by the query instruction is determined, and the cloud file information corresponding to the query instruction is returned to the first terminal according to the query authority. Instead of returning all cloud archive information, it avoids the security issues caused by the original files being displayed to all other users via the network. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a flowchart of the first embodiment of the cloud archive information management method of the present application; Figure 2 A detailed flow chart before the step of receiving a query instruction from a first terminal for a target user's corresponding cloud file in the cloud file information management method of the present application; Figure 3 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment method of the present application.
[0020] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0021] 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.
[0022] The present application provides a cloud archive information management method. In an embodiment of the cloud archive information management method, refer to Figure 1 , applied to a cloud archive information management system, the cloud archive information management method comprises: Step S10, receiving a query instruction from the first terminal for the cloud file corresponding to the target user, and obtaining information related to the IP address of the first terminal according to the query instruction; Step S20, when the IP address related information meets the requirements of the preset address fence range, the first terminal is authenticated, wherein the change of the preset address fence range is completed through a preset authentication process; Step S30: If the first terminal passes the authority verification, the query authority of the cloud file targeted by the query instruction is determined, and the cloud file information corresponding to the query instruction is returned to the first terminal according to the query authority.
[0023] The specific steps are as follows: Step S10, receiving a query instruction from the first terminal for the cloud file corresponding to the target user, and obtaining information related to the IP address of the first terminal according to the query instruction; In this embodiment, the cloud archive information management method is applied to a cloud archive information management system, which belongs to a cloud archive information management device. The cloud archive information management system can be deployed in the cloud, and the cloud can include multiple server terminals. The multiple server terminals can be distributedly deployed, and the multiple server terminals can include a primary server terminal and a backup server terminal.
[0024] In this embodiment, the cloud file is implemented based on the credit file management system and the information service platform based on the network virtual ID card, wherein a certain unit or individual can trigger a query instruction for the corresponding cloud file of the target user through the first terminal, for example, M individuals can trigger a query instruction for the corresponding cloud file of N users (target users) on terminal a. The query instruction carries the information to be queried, and can also carry the range of the cloud file to be queried and the related information of the IP address of the first terminal, wherein the related information of the IP address of the first terminal includes the IP address, MAC address information, etc.
[0025] It should be noted that a unit or individual may trigger a query instruction for the corresponding cloud file of a target user through the first terminal in the following ways: First, a unit or individual can trigger a query instruction for the corresponding cloud file of the target user through the applet in the first terminal; Second, a unit or individual can trigger a query instruction for the corresponding cloud file of the target user through the application software in the first terminal; Third, a unit or individual can trigger a query instruction for the corresponding cloud file of the target user through the public account in the first terminal.
[0026] In this embodiment, after receiving the query instruction, the cloud archive information management system obtains the IP address related information of the first terminal according to the query instruction. Specifically, the cloud archive information management system can obtain the IP address related information of the first terminal through the built-in data packet parsing tool. It should be noted that in order to quickly obtain the IP address related information of the first terminal, the IP address related information of the first terminal is set in the outermost message of the data packet corresponding to the query instruction. In addition, the query efficiency can be improved, because if the IP address related information does not meet the requirements, it is not necessary to parse the inner message of the data packet, thereby improving the query efficiency.
[0027] Wherein, the cloud archive information management system is distributed, and the step of receiving a query instruction from a first terminal for a cloud archive corresponding to a target user and obtaining information related to an IP address of the first terminal according to the query instruction includes: Step S11, receiving a query instruction from the first terminal for a cloud file corresponding to a target user, and assigning the query instruction to a target server; Step S12, based on the target server, obtaining information related to the IP address of the first terminal; In this embodiment, the cloud server needs to determine the target server for processing the query instruction.
[0028] In addition, the cloud server needs to determine the target server for processing the query instruction in the following ways: First, randomly select the target server; Second, select the server with the lowest load as the target server; Third, based on the location information of the first terminal, the nearest distributed deployment server is selected as the target server (which can improve the response speed).
[0029] Fourth, the step of allocating the query instruction to the target server includes: Determine the load condition of each server, and select an initial server group whose load is lower than a preset value based on the load condition; A server with the strongest disaster recovery capability is selected from the initial server group as the target server, wherein the disaster recovery capability is associated with the CPU performance and network quality of the server, the CPU performance of the server includes at least one of CPU capacity, internal cache and external cache, and the network quality includes at least one of bandwidth, rate, delay, response time and packet loss rate, wherein the CPU performance of the server has a greater impact on the disaster recovery capability than the network quality.
[0030] In the present application, it is determined that the impact of the server's CPU performance on the disaster recovery capability is greater than the impact of the network quality on the disaster recovery capability, so that the target server with strong actual processing performance can be screened more accurately to improve the processing efficiency of the query instruction.
[0031] Furthermore, if the initial server group is greater than a preset number, the closest server group is selected from the initial server group, and then the server with the strongest disaster recovery capability is selected as the target server, thereby improving the processing efficiency of the query instruction from multiple angles.
[0032] After the target server is determined, the IP address related information of the first terminal can be obtained based on the query instruction.
[0033] It can be understood that in this embodiment, the security of the server that processes the query instructions is also taken into consideration, which further enhances the security of cloud archive processing.
[0034] In this embodiment, if Figure 2 As shown, it also describes how to obtain the cloud file corresponding to the target user. Before the step of receiving the query instruction of the first terminal for the cloud file corresponding to the target user, it includes: Step S01, receiving a profile picture of a target user uploaded by a second terminal; Step S02: If the file image has passed the preset verification process, the file image is input into the preset neural network model, and the file image is identified based on the preset neural network model to obtain the cloud file corresponding to the target user; The preset neural network model further includes a residual layer, the residual layer includes an alternating structure of batch normalization layers and convolutional layers, and the residual block also includes a jump connection layer.
[0035] In this embodiment, a method for generating a cloud file is provided, wherein the method for generating a cloud file may also be that a corresponding person manually inputs evaluation information for a target user, and then obtains a corresponding cloud file.
[0036] In addition, in this embodiment, the cloud archive may also be generated in the following manner: Receive the profile picture of the target user uploaded by the second terminal, and obtain the corresponding cloud profile of the target user by identifying the profile picture in the cloud.
[0037] Specifically, the cloud archive information management system receives an archive picture for a target user uploaded by a second terminal; if the archive picture has passed a preset verification process (for example, it can be determined whether the archive picture has corresponding stamped content at a preset position, and if so, it is determined that the preset verification process has been passed), the archive picture is input into a preset neural network model (which can avoid processing irrelevant pictures), and the archive picture is recognized and processed based on the preset neural network model to obtain a cloud archive corresponding to the target user; wherein the preset neural network model is a trained model, and the preset neural network model also includes a residual layer, and the residual layer includes an alternating structure of batch normalization layers and convolutional layers, and the residual block also includes a skip connection layer, that is, the residual layer is used for The shallow information of the corresponding archive picture is fused with the corresponding archive picture information after convolution to avoid information omission, that is, in this embodiment, specifically, the preset neural network model first pre-processes the cloud archive picture, and after the pre-processing is completed, the pre-processed cloud archive picture is obtained, and then the pre-processed cloud archive picture is processed by the convolution layer, and the convolution layer can perform up-sampling and down-sampling processing on the pre-processed cloud archive picture, wherein, after the convolution layer performs up-sampling and down-sampling on the pre-processed cloud archive picture, the cloud archive information after down-sampling is obtained, and the residual layer fuses the cloud archive information obtained after down-sampling with the shallow information of the archive picture to obtain fusion information, and after obtaining a layer of fusion information, a new round of processing is performed. That is, because the residual layer includes an alternating structure of batch normalization layer and convolution layer and a jump connection layer, the shallow features of the image will not be lost during the image processing process, so that a processing result of an image with higher accuracy can be obtained.
[0038] Among them, the training method of the preset neural network model can be: The training data with preset cloud archive labels are obtained, and the preset basic model to be trained is iteratively trained based on the training data until the preset training times are iterated or the preset loss function converges, so as to obtain a preset neural network model that meets the requirements.
[0039] The step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority includes: Determine the query feature corresponding to the query instruction according to the query authority and the query instruction; In this embodiment, the query feature includes two parts of features, one part is the authority feature (query authority), and the other part is the instruction feature (query instruction), wherein the instruction feature includes the features of the specific query content, such as user name, user unit, etc.
[0040] Determining a corresponding query directory from the first server according to the query feature; In this embodiment, according to the query characteristics, a corresponding query directory is determined from the first server. That is, in this embodiment, since there may be a lot of cloud archives stored in the cloud, a corresponding query directory needs to be formed. The query directory can be determined based on the query characteristics. For example, the query directory can be associated with the query unit in the query characteristics, or associated with the user's area in the query characteristics, etc., without specific limitation.
[0041] In this embodiment, it should be emphasized that, in this embodiment, the directory is stored by a separate first server (there are also servers that back up each other), so the query efficiency can be improved.
[0042] Determine the corresponding cloud archive information from a second server matching the query directory, and return the cloud archive information corresponding to the query instruction to the first terminal, wherein a first distance between the first server and the first terminal is greater than a second distance between the second server and the first terminal.
[0043] In this embodiment, after the cloud archive information is determined through the first server, the corresponding cloud archive information is determined from the second server that matches the query directory, and the cloud archive information corresponding to the query instruction is returned to the first terminal, thereby improving the query efficiency while ensuring the query security.
[0044] It can be understood that in the present application, the first distance between the first server and the first terminal is greater than the second distance between the second server and the first terminal. That is, since the query workload and feedback workload of the second server are greater, the first distance between the first server and the first terminal is greater than the second distance between the second server and the first terminal. This can enable the second server to feedback information faster, and thus, the feedback efficiency can also be improved.
[0045] Step S20, when the IP address related information meets the requirements of the preset address fence range, the first terminal is authenticated, wherein the change of the preset address fence range is completed through a preset authentication process; Step S30: if the first terminal passes the authority verification, determining the query authority of the cloud file targeted by the query instruction, and returning the cloud file information corresponding to the query instruction to the first terminal according to the query authority; In this embodiment, the permission verification is performed on the first terminal only when the IP address related information meets the preset address fence range requirements, wherein, if the user identification of the first terminal meets the preset identification rules, the first terminal has passed the corresponding permission verification. In this embodiment, the change of the preset address fence range is completed through a preset verification process, that is, the preset address fence range can be changed, but the change needs to pass the preset verification process before it can take effect, wherein the preset verification process can be: determining the local area network where the changed preset address fence range is located, determining whether a preset verification code token can be retrieved from the relevant gateway information in the local area network, if the preset verification code token can be retrieved, then determining that the corresponding change of the preset address fence range has passed the preset verification process, if the preset verification code token cannot be retrieved, then determining that the corresponding changed preset address fence range has not passed the preset verification process, and the corresponding change or modification is invalid.
[0046] Further, based on the first embodiment, the present application provides another embodiment of the cloud archive information management method. In this embodiment, the step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority includes: Step A1, determining the permission level of the query permission; In this embodiment, the permission level of the query permission is also determined, wherein different levels can query the user's profile in different time periods.
[0047] Step A2: if the permission level is the highest level, return all cloud file information to the first terminal; If the permission level is the highest level, all cloud file information is returned to the first terminal, such as feeding back the cloud file information of the target user in all time periods to the first terminal.
[0048] Step A3, if the permission level is not the highest level, the cloud archive information is partially desensitized according to the stage required for the query permission, and then the corresponding cloud archive information is returned to the first terminal, wherein the query stage is divided according to time and corresponding working nodes, and the time span of different query stages can be different, and the time span is associated with the working node; Specifically, if the authority level is not the highest level, the cloud archive information is partially desensitized according to the stage required for the query authority, and then the corresponding cloud archive information is returned to the first terminal, wherein the partial desensitization may be desensitizing the cloud archive information of other stages. For example, if the cloud archive of the target user includes 3 stages, and according to the corresponding authority level, only the cloud archive of the third stage can be displayed, the features of the first and second stages are desensitized, and then the cloud archive information of the first stage is returned to the first terminal.
[0049] Among them, the query stages are divided according to time (such as 5 years after work) and corresponding work nodes (such as project nodes or nodes in different units), and the time spans of different query stages can be different (the first stage can be 2 years, and the second stage can be 3 years), and the time span is associated with the work nodes (the time span of the first stage can be 2 years, which may be because the individual has worked in a certain unit for 2 years, and the second stage can be 3 years, which may be because the individual has worked in a certain unit for 3 years). Since the time span of this application is associated with the work nodes, the cloud archive information can be fed back to the first terminal in a more reasonable and orderly manner.
[0050] The step of performing partial desensitization processing on the cloud archive information and then returning the corresponding cloud archive information to the first terminal includes: Step B1, according to the query authority, locate the desensitized elements in the cloud archive information that need to be desensitized, perform fuzzy processing on the desensitized elements, and then return the corresponding cloud archive information to the first terminal, wherein the method of locating the desensitized elements in the cloud archive information that need to be desensitized includes: The cloud archive information is input into a preset positioning model, and the desensitized elements are positioned based on the preset positioning model, wherein the preset positioning model is obtained by iteratively training a preset initial positioning model with training data having preset desensitized element labels, and wherein the preset initial positioning model includes at least 2 or more sub-models.
[0051] In this embodiment, the features of the first stage and the second stage may be partially desensitized instead of fully desensitized. According to the query authority, the desensitized elements in the cloud archive information that need to be desensitized, such as the evaluation level or the evaluation content (at the preset position), are first located, the desensitized elements are fuzzy processed, and then the corresponding cloud archive information is returned to the first terminal.
[0052] Specifically, the method of locating the desensitized elements in the cloud archive information that needs to be desensitized includes: The cloud archive information is input into a preset positioning model, and the desensitized elements are positioned based on the preset positioning model, wherein the preset positioning model is obtained by iteratively training a preset initial positioning model with training data having preset desensitized element labels, wherein the preset initial positioning model includes at least 2 or more sub-models. In the present application, since the preset initial positioning model includes at least 2 or more sub-models (not determined by a single sub-model, but by comprehensively considering the classification results), the preset positioning model can more accurately locate the desensitized elements.
[0053] It can be understood that in this embodiment, not all cloud file information is always fed back to the first terminal, thus, security issues caused by partial leakage of the target user's cloud file can be avoided.
[0054] Further, based on the first embodiment, the present application provides another embodiment of the cloud archive information management method. In this embodiment, the step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority includes: Step C1, determining the cloud file information corresponding to the query instruction according to the query authority; Step C2, sending a key request to a key management system that is in communication connection with the local, and receiving a key pair fed back by the key management system based on the key request, wherein the key pair carries validity time information, wherein the validity time of the key pair is associated with the query authority; It can be understood that in this embodiment, after determining the cloud archive information corresponding to the query instruction according to the query authority, the cloud archive information corresponding to the query instruction needs to be returned to the first terminal, and the cloud archive information needs to be encrypted to avoid security issues. In this embodiment, it is not the cloud archive information management system that performs encryption, but a key request is sent to the key management system that is connected to the local communication, and the key management system receives a key pair based on the key request (faster and safer), wherein the key pair carries validity time information, such as the key pair is valid for 5 minutes.
[0055] In addition, in the present application, the validity period of the key pair is associated with the query authority. It can be understood that the higher the query authority, the longer the validity period, and the lower the query authority, the shorter the validity period, which makes the cloud archive information more secure (the shorter the validity period, the less corresponding cloud archive information, which can reduce the security risks caused by excessive time).
[0056] Step C3, encrypting the cloud archive information based on the private key in the key pair, and sending the encrypted cloud archive information and the public key in the key pair to the first terminal, so that the first terminal can obtain the cloud archive information within a valid time period.
[0057] In this embodiment, the cloud archive information is encrypted by the private key in the key pair, and the encrypted cloud archive information and the public key in the key pair are sent to the first terminal, so that the first terminal can obtain the cloud archive information within a valid time period and open the corresponding cloud archive information based on the public key.
[0058] In this embodiment, it should be noted that if the corresponding cloud archive information is opened based on the public key, if the public key is not within the valid time period, the corresponding cloud archive information cannot be opened and a request must be made again.
[0059] In this embodiment, after the step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority, the following steps are included: A query record is generated for this query, and the query record is recorded locally.
[0060] It can be understood that in this embodiment, after each query, a query record is formed and recorded locally, so that when there is a possible leakage event in the future, it can be traced back, thereby improving security.
[0061] In this embodiment, the cloud archive information corresponding to the query instruction is determined according to the query authority; a key request is sent to a key management system that is in communication connection with the local area, and a key pair fed back by the key management system based on the key request is received, wherein the key pair carries effective time information; the cloud archive information is encrypted based on the private key in the key pair, and the encrypted cloud archive information and the public key in the key pair are sent to the first terminal, so that the first terminal can obtain the cloud archive information within the effective time period. It can be understood that in this embodiment, a key request is sent to a key management system that is in communication connection with the local area, thereby improving the encryption speed and security at the same time.
[0062] Reference Figure 3 , Figure 3 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.
[0063] The cloud archive information management device in the embodiment of the present application can be a PC, or a terminal device such as a smart phone, a tablet computer, or a portable computer.
[0064] like Figure 3As shown, the cloud archive information management device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0065] Optionally, the cloud archive information management device may also include a target user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. The target user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional target user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
[0066] Those skilled in the art will understand that Figure 3 The cloud archive information management device structure shown in the figure does not constitute a limitation of the cloud archive information management device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0067] like Figure 3 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, and a cloud archive information management program. The operating system is a program that manages and controls the hardware and software resources of the cloud archive information management device, and supports the operation of the cloud archive information management program and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 1005, and the communication with other hardware and software in the cloud archive information management device.
[0068] exist Figure 3 In the cloud archive information management device shown, the processor 1001 is used to execute the cloud archive information management program stored in the memory 1005 to implement the steps of the cloud archive information management method described in any one of the above items.
[0069] The specific implementation methods of the cloud archive information management device of the present application are basically the same as the above-mentioned embodiments of the cloud archive information management method, and will not be repeated here.
[0070] In addition, the embodiment of the present application also proposes a cloud archive information management device, which is applied to a cloud archive information management system, and is applied to a cloud archive information management system. The cloud archive information management device includes: A receiving module, configured to receive a query instruction from a first terminal for a cloud file corresponding to a target user, and obtain information related to an IP address of the first terminal according to the query instruction; An authority verification module, used to perform authority verification on the first terminal only when the IP address related information meets the requirements of the preset address fence range, wherein the change of the preset address fence range is completed through a preset verification process; a determination module, configured to determine the query authority of the cloud file targeted by the query instruction if the first terminal passes the authority verification, and return the cloud file information corresponding to the query instruction to the first terminal according to the query authority; Optionally, the cloud archive information management device is used to implement: Determining the permission level of the query permission; If the permission level is the highest level, returning all cloud file information to the first terminal; If the permission level is not the highest level, the cloud archive information is partially desensitized according to the stage required for the query permission, and then the corresponding cloud archive information is returned to the first terminal, wherein the query stage is divided according to time and corresponding working nodes, and the time span of different query stages can be different, and the time span is associated with the working node; Wherein, the cloud archive information management device is used to implement: According to the query authority, desensitized elements in the cloud archive information that need to be desensitized are located, the desensitized elements are fuzzy processed, and then the corresponding cloud archive information is returned to the first terminal, wherein the method of locating the desensitized elements in the cloud archive information that need to be desensitized includes: The cloud archive information is input into a preset positioning model, and the desensitized elements are positioned based on the preset positioning model, wherein the preset positioning model is obtained by iteratively training a preset initial positioning model with training data having preset desensitized element labels, and wherein the preset initial positioning model includes at least 2 or more sub-models.
[0071] Optionally, the cloud archive information management device is used to implement: Determine the cloud file information corresponding to the query instruction according to the query authority; Sending a key request to a key management system that is in communication connection with the local area, and receiving a key pair fed back by the key management system based on the key request, wherein the key pair carries validity time information, wherein the validity time of the key pair is associated with the query authority; The cloud archive information is encrypted based on the private key in the key pair, and the encrypted cloud archive information and the public key in the key pair are sent to the first terminal, so that the first terminal can obtain the cloud archive information within a valid time period.
[0072] Optionally, the cloud archive information management device is used to implement: Receiving a profile picture of a target user uploaded by a second terminal; If the file image has passed the preset verification process, the file image is input into the preset neural network model, and the file image is identified and processed based on the preset neural network model to obtain the cloud file corresponding to the target user; The preset neural network model further includes a residual layer, the residual layer includes an alternating structure of batch normalization layers and convolutional layers, and the residual block also includes a jump connection layer.
[0073] Optionally, the cloud archive information management device is used to implement: receiving a query instruction from the first terminal for a cloud file corresponding to a target user, and assigning the query instruction to a target server; Based on the target server, obtaining information related to the IP address of the first terminal; The step of allocating the query instruction to the target server includes: Determine the load condition of each server, and select an initial server group whose load is lower than a preset value based on the load condition; A server with the strongest disaster recovery capability is selected from the initial server group as the target server, wherein the disaster recovery capability is associated with the CPU performance and network quality of the server, the CPU performance of the server includes at least one of CPU capacity, internal cache and external cache, and the network quality includes at least one of bandwidth, rate, delay, response time and packet loss rate, wherein the CPU performance of the server has a greater impact on the disaster recovery capability than the network quality.
[0074] Optionally, the cloud archive information management device is used to implement: Determine the query feature corresponding to the query instruction according to the query authority and the query instruction; Determining a corresponding query directory from the first server according to the query feature; Determine the corresponding cloud archive information from a second server matching the query directory, and return the cloud archive information corresponding to the query instruction to the first terminal, wherein a first distance between the first server and the first terminal is greater than a second distance between the second server and the first terminal.
[0075] Optionally, the cloud archive information management device is used to implement: A query record is generated for this query, and the query record is recorded locally.
[0076] The specific implementation of the cloud archive information management device is basically the same as the above-mentioned embodiments of the cloud archive information management method, and will not be repeated here.
[0077] In addition, an embodiment of the present application also proposes a cloud archive information management device, which includes: a memory 1005, a processor 1001, and a cloud archive information management program stored on the memory 1005 and executable on the processor 1001. When the cloud archive information management program is executed by the processor 1001, the steps of each embodiment of the above-mentioned cloud archive information management method are implemented.
[0078] In addition, the present application also provides a computer storage medium, which stores one or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of each embodiment of the above-mentioned cloud archive information management method.
[0079] The expanded content of the specific implementation methods of the device and storage medium (i.e., computer storage medium) of this application is basically the same as the above-mentioned embodiments of the cloud archive information management method, and will not be repeated here.
[0080] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0081] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0082] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0083] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A cloud archive information management method, characterized in that: Applied to a cloud archive information management system, the cloud archive information management method includes: Receiving a query instruction from the first terminal for the cloud file corresponding to the target user, and obtaining information related to the IP address of the first terminal according to the query instruction; When the IP address related information meets the requirements of the preset address fence range, the first terminal is authenticated, wherein the change of the preset address fence range is completed through a preset authentication process; If the first terminal passes the authority verification, the query authority of the cloud file targeted by the query instruction is determined, and the cloud file information corresponding to the query instruction is returned to the first terminal according to the query authority; The step of receiving a query instruction from the first terminal for the cloud file corresponding to the target user, and obtaining information related to the IP address of the first terminal according to the query instruction includes: Receiving a query instruction from the first terminal for a cloud file corresponding to a target user, and assigning the query instruction to a target server; based on the target server, obtaining information related to the IP address of the first terminal; The step of allocating the query instruction to the target server includes: Determine the load of each server, and select an initial server group with a load lower than a preset value based on the load; Select the server with the strongest disaster recovery capability from the initial server group as the target server. The disaster recovery capability is associated with the CPU performance and network quality of the server. The CPU performance of the server includes at least one of the CPU capacity, internal cache and external cache. The network quality includes at least one of the bandwidth, rate, delay, response time and packet loss rate. The CPU performance of the server has a greater impact on the disaster recovery capability than the network quality. Before the step of receiving a query instruction from the first terminal for the target user's corresponding cloud file, the method includes: Receiving a profile picture of a target user uploaded by a second terminal; If the archive image has passed the preset verification process, the archive image will be input into the preset neural network model, and the archive image will be recognized and processed based on the preset neural network model to obtain the corresponding cloud archive of the target user; wherein, the preset neural network model also includes a residual layer, the residual layer includes an alternating structure of batch normalization layers and convolutional layers, and the residual block also includes a jump connection layer.
2. The cloud archive information management method according to claim 1, characterized in that: The step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority includes: Determining the permission level of the query permission; If the permission level is the highest level, returning all cloud file information to the first terminal; If the permission level is not the highest level, the cloud archive information is partially desensitized according to the stage required for the query permission, and then the corresponding cloud archive information is returned to the first terminal, wherein the query stage is divided according to time and corresponding working nodes, and the time span of different query stages can be different, and the time span is associated with the working node; The step of performing partial desensitization processing on the cloud archive information and then returning the corresponding cloud archive information to the first terminal includes: According to the query authority, desensitized elements in the cloud archive information that need to be desensitized are located, the desensitized elements are fuzzy processed, and then the corresponding cloud archive information is returned to the first terminal, wherein the method of locating the desensitized elements in the cloud archive information that need to be desensitized includes: The cloud archive information is input into a preset positioning model, and the desensitized elements are positioned based on the preset positioning model, wherein the preset positioning model is obtained by iteratively training a preset initial positioning model with training data having preset desensitized element labels, and wherein the preset initial positioning model includes at least 2 or more sub-models.
3. The cloud archive information management method according to claim 1, characterized in that: The step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority includes: Determine the cloud file information corresponding to the query instruction according to the query authority; Sending a key request to a key management system that is in communication connection with the local area, and receiving a key pair fed back by the key management system based on the key request, wherein the key pair carries validity time information, wherein the validity time of the key pair is associated with the query authority; The cloud archive information is encrypted based on the private key in the key pair, and the encrypted cloud archive information and the public key in the key pair are sent to the first terminal, so that the first terminal can obtain the cloud archive information within a valid time period.
4. The cloud archive information management method according to claim 1, characterized in that: The step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority includes: Determine the query feature corresponding to the query instruction according to the query authority and the query instruction; Determining a corresponding query directory from the first server according to the query feature; Determine the corresponding cloud archive information from a second server matching the query directory, and return the cloud archive information corresponding to the query instruction to the first terminal, wherein a first distance between the first server and the first terminal is greater than a second distance between the second server and the first terminal.
5. The cloud archive information management method according to any one of claims 1 to 4, characterized in that: After the step of returning the cloud archive information corresponding to the query instruction to the first terminal according to the query authority, the method further includes: A query record is generated for this query, and the query record is recorded locally.
6. A cloud archive information management device, characterized in that: Applied to a cloud archive information management system, the cloud archive information management device comprises: A receiving module, configured to receive a query instruction from the first terminal for a cloud file corresponding to a target user, and obtain information related to the IP address of the first terminal according to the query instruction; The permission verification module is used to verify the permission of the first terminal only when the IP address related information meets the requirements of the preset address fence range, wherein the change of the preset address fence range is completed through a preset verification process; A determination module, configured to determine the query authority of the cloud file targeted by the query instruction if the first terminal passes the authority verification, and return the cloud file information corresponding to the query instruction to the first terminal according to the query authority; The receiving module is used to implement: receiving a query instruction from the first terminal for a cloud file corresponding to a target user, and assigning the query instruction to a target server; Based on the target server, obtaining information related to the IP address of the first terminal; The step of allocating the query instruction to the target server includes: Determine the load of each server, and select an initial server group with a load lower than a preset value based on the load; Select the server with the strongest disaster recovery capability from the initial server group as the target server, wherein the disaster recovery capability is associated with the CPU performance and network quality of the server, the CPU performance of the server includes at least one of the CPU capacity, internal cache and external cache, and the network quality includes at least one of the bandwidth, rate, delay, response time and packet loss rate, wherein the impact of the CPU performance of the server on the disaster recovery capability is greater than the impact of the network quality on the disaster recovery capability; The cloud archive information management device is used to achieve: Receiving a profile picture of a target user uploaded by a second terminal; If the archive image has passed the preset verification process, the archive image will be input into the preset neural network model, and the archive image will be recognized and processed based on the preset neural network model to obtain the corresponding cloud archive of the target user; wherein, the preset neural network model also includes a residual layer, the residual layer includes an alternating structure of batch normalization layers and convolutional layers, and the residual block also includes a jump connection layer.
7. A cloud archive information management device, characterized in that: The device includes: a memory, a processor, and a cloud archive information management program stored in the memory and executable on the processor. When the cloud archive information management program is executed by the processor, the steps of the cloud archive information management method as described in any one of claims 1 to 5 are implemented.
8. A storage medium, characterized in that: The storage medium stores a cloud archive information management program, which, when executed by a processor, implements the steps of the cloud archive information management method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Streaming media distribution system, method and device
CN101729273A
Aberrant splicing detection using convolutional neural networks (CNNS)
CN110870020A
File downloading method, server, client and storage medium
CN112231603A
Method and device for desensitizing document image, electronic equipment and medium
CN112380566A
Archive management system based on cloud archive library
CN114168529A
