Data processing method, device, electronic device and storage medium
Through the generation of biometric verification and decryption rules, combined with data attributes and user identity information, a preset cache strategy is adopted to solve the rationality and efficiency of data cache policies in mobile networks, and maximize data security and access efficiency .
Patent Information
- Application Number
- CN202411246663.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-09-06
AI Technical Summary
In mobile networks, with the growth of smart terminals, data transmission traffic and data generation volume have exploded, and how to reasonably choose a caching strategy to ensure data security and access efficiency has become a challenge.
Verify user identity through biometrics, generate decryption rules to decrypt data, and determine the security level and cache priority of the data based on data attributes and user identity information. Combined with application access information, preset cache policies are used for reasonable caching to ensure data security Sex and access efficiency.
It maximizes the security level and cache priority of data, ensures data security and access efficiency, and reduces the waste of bandwidth and storage resources.
Smart Images

Figure CN118760405B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device, electronic device and storage medium. Background Art
[0002] Cloud computing is a typical way of data processing in traditional IoT systems. Specifically, users or terminals use IoT technology to upload data resources to the cloud, that is, the central server, and use the powerful storage and computing capabilities of the central server to centrally store, calculate and process data resources. Then, the central server feeds back the calculation results to the user, completing the cloud computing processing.
[0003] The Internet contains a large number of multimedia resources such as pictures, audio and video, which provide great convenience for people's life, learning and production, and is the foundation of the information society. In recent years, with the rapid development of mobile communication technology and the increasing number of mobile users, mobile users use smartphones and tablets more frequently. Therefore, the number of requests for rich multimedia resources in mobile networks is also increasing, resulting in an explosive growth in transmission traffic in mobile networks.
[0004] However, with the growth of smart terminals, the data generated by them is also growing explosively. How to reasonably select a suitable caching strategy for the data uploaded by different users is a technical problem that technicians in this field urgently need to solve.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of this application is to provide a data processing method, device, electronic device and storage medium, which at least to some extent overcome the problems existing in the prior art, verify the user identity through biometrics, generate decryption rules, decrypt the data, and then determine the security level of the data according to the data attributes and user identity information. Combined with user information, data attributes, security level and application access information, the cache priority and duration of the data are determined, and according to the preset cache strategy, the data to be cached is reasonably cached to generate cached data, ensuring the maximization of data security and access efficiency.
[0007] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present invention.
[0008] According to one aspect of an embodiment of the present application, a data processing method is provided, the method comprising: receiving data upload information sent by an upload terminal, wherein the data upload information comprises encrypted data to be cached, attribute information of the data to be cached, biometric information of a target user, and access information of a target application; processing the biometric information of the target user to generate identity attribute information of the target user, wherein the identity attribute information of the target user comprises the identity information of the target user and usage information of the data to be cached of the target user; processing the identity attribute information of the target user and the attribute information of the data to be cached to generate a preset decryption rule, wherein the preset decryption rule is used to decrypt the encrypted data to be cached of the target user; based on the preset decryption rule The encrypted data to be cached is processed to generate decrypted data to be cached; the decrypted data to be cached is processed to generate security level information of the data to be cached; the identity information of the target user, the attribute information of the data to be cached, the security level information of the data to be cached and the access information of the target application are processed to generate cache priority information of the data to be cached and the target cache duration of the data to be cached; based on a preset cache strategy, the cache priority information of the data to be cached, the target cache duration of the data to be cached and the target user's data usage information are processed to generate a target cache strategy; based on the target cache strategy, the data to be cached in the data upload information is cached to generate cached data of the target user.
[0009] In some embodiments of the present application, the biometric information of the target user is processed to generate the identity attribute information of the target user, including: processing the biometric information of the target user to generate initial facial image information and the identity information of the target user, wherein the initial facial image information is the facial information of the target user within a preset time period; processing the initial facial image information to generate the expression feature influencing factors of the target user; processing the expression feature influencing factors of the target user based on a preset emotion recognition model to generate target facial image information, wherein the target facial image information includes the expression change information of the target user; processing the target facial image information to generate the emotion information of the target user; processing the identity information of the target user and the emotion information of the target user to generate the identity attribute information of the target user.
[0010] In some embodiments of the present application, the identity attribute information of the target user and the attribute information of the data to be cached are processed to generate preset decryption rules, including: obtaining a preset encryption and decryption mapping table, wherein the preset encryption and decryption mapping table includes data encryption and decryption information preset by several users, and the data encryption and decryption information set by different users is not unique; based on the preset encryption and decryption mapping table, the identity attribute information of the target user is processed to generate initial data encryption and decryption information, wherein the initial data encryption and decryption information includes several encryption and decryption rules set by the target user for different types of data to be cached; based on the attribute information of the data to be cached, the initial data encryption and decryption information is processed to generate target data encryption and decryption information.
[0011] In some embodiments of the present application, the identity information of the target user, the attribute information of the data to be cached, the security level information of the data to be cached, and the access information of the target application are processed to generate cache priority information of the data to be cached and a target cache duration of the data to be cached, including: processing the attribute information of the data to be cached and the identity information of the target user to generate cache priority information of the data to be cached; processing the security level information of the data to be cached based on the cache priority information of the data to be cached to generate an initial cache duration of the data to be cached; processing the initial cache duration of the data to be cached based on the access information of the target application to generate a target cache duration of the data to be cached.
[0012] In some embodiments of the present application, cache priority information of the data to be cached, target cache duration of the data to be cached, and usage information of the data to be cached of the target user are processed based on a preset cache strategy to generate a target cache strategy, including: obtaining real-time data cache load information and other cached data information of the target server; processing the usage information of the data to be cached based on the real-time data cache load information of the target server to generate cache importance information of the data to be cached; processing the other cached data information based on the cache importance information of the data to be cached to generate cache data adjustment information, wherein the cache data adjustment information is used to perform data deletion processing on the data to be cached or other cached data information; processing the cache priority information of the data to be cached and the target cache duration of the data to be cached based on the cache data adjustment information to generate cache information of the data to be cached, wherein the cache information of the data to be cached is used to characterize the final cache duration and cache timing of the data to be cached.
[0013] In some embodiments of the present application, after caching the data to be cached in the data upload information based on the target caching strategy to generate the cached data of the target user, it also includes: processing the cached data of the target user based on the usage information of the data to be cached of the target user to generate a disaster recovery warning value for the cached data; if the disaster recovery warning value of the cached data is greater than the preset disaster recovery warning value, sending the cached data of the target user to the central server for data caching.
[0014] In some embodiments of the present application, before receiving the data upload information sent by the upload terminal, it also includes: receiving digital certificate information, upload terminal unique identification information, upload terminal random number and upload terminal key-share information sent by the upload terminal; obtaining the target server random number and target server key-share information; generating a pre-master key according to the upload terminal key-share information and the target server key-share information; generating a temporary session key according to the upload terminal random number, the target server random number and the pre-master key; processing the digital certificate information and the upload terminal unique identification information based on a preset pairing rule to generate a processing result; if the processing result is to allow the target server to pair with the upload terminal, sending an initial data encryption and decryption information request to the upload terminal; receiving the preset processing rule sent by the upload terminal based on the initial data encryption and decryption information request, wherein the preset processing rule is used for subsequent decryption processing of the encrypted data to be cached sent by the upload terminal.
[0015] According to another aspect of an embodiment of the present application, a data processing device is provided, the device comprising: a receiving module, used to receive data upload information sent by an uploading terminal, wherein the data upload information comprises encrypted data to be cached, attribute information of the data to be cached, biometric information of a target user, and access information of a target application; a processing module, used to process the biometric information of the target user to generate identity attribute information of the target user, wherein the identity attribute information of the target user comprises the identity information of the target user and usage information of the data to be cached of the target user; the identity attribute information of the target user and the attribute information of the data to be cached are processed to generate a preset decryption rule, wherein the preset decryption rule is used to decrypt the encrypted data to be cached of the target user; based on The encrypted data to be cached is processed according to the preset decryption rule to generate decrypted data to be cached; the decrypted data to be cached is processed to generate security level information of the data to be cached; the identity information of the target user, the attribute information of the data to be cached, the security level information of the data to be cached and the access information of the target application are processed to generate cache priority information of the data to be cached and the target cache duration of the data to be cached; based on the preset cache strategy, the cache priority information of the data to be cached, the target cache duration of the data to be cached and the target user's data usage information are processed to generate a target cache strategy; based on the target cache strategy, the data to be cached in the data upload information is cached to generate cached data of the target user.
[0016] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising a computer-readable storage medium storing a computer program and a processor, wherein when the computer program is read and executed by the processor, any of the above methods is implemented.
[0017] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, any of the above methods is implemented.
[0018] According to another aspect of an embodiment of the present application, a computer program product is provided, including a computer program, wherein the computer program is executed by a processor to implement any of the methods described above.
[0019] The technical solution provided by one aspect of the embodiments of the present application may include the following beneficial effects: The data processing method provided by the embodiments of the present application verifies the user identity through biometrics, generates decryption rules, decrypts the data, and then determines the security level of the data based on the data attributes and user identity information. Combined with user information, data attributes, security level and application access information, the cache priority and duration of the data are determined, and according to the preset cache strategy, the data to be cached is reasonably cached to generate cached data, thereby ensuring the maximization of data security and access efficiency.
[0020] Other features and advantages of the present application will be described in the subsequent description, and some of them will become obvious from the description, or some of them can be inferred or determined without doubt from the description, or can be understood by implementing the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A flow chart showing a data processing method provided by an embodiment of the present application;
[0023] Figure 2 A schematic diagram showing the structure of a data processing device provided by an embodiment of the present application is shown;
[0024] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present application is shown;
[0025] Figure 4 A schematic diagram of a storage medium provided by an embodiment of the present application is shown;
[0026] Figure 5 A schematic diagram of the structure of a mainboard provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0028] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0029] In content distribution networks, in order to ensure resource redundancy and fault backup, there is a common scenario of using dozens or hundreds of cloud distribution edge nodes to provide file caching services for the same customers and businesses. With the growth of smart terminals, the data generated is also growing explosively. The traditional centralized data processing method based on cloud computing is bound to greatly increase the bandwidth occupied by data transmission, and at the same time increase the storage and computing load pressure of the central server. The above scenario will bring great bandwidth cost consumption and storage resource consumption in the cloud distribution content distribution network, resulting in a waste of network resources.
[0030] In addition, the applicant found that in the prior art, a large number of CPUs do not have integrated network controllers, and the PCIE resources are limited, so it is impossible to realize multiple network port resources; if it can be realized, it will cause cost overflow due to the use of too many network controllers. The prior art relies on PCIE resources and network controllers. As the number of network port requirements increases, PCIE resources and network controllers will inevitably increase. The CPU's PCIE resources are limited, and the cost of network controllers will also increase as the number increases. The implementation method of the prior art is as follows: select a certain model of CPU and divide its PCIE resources. At least 48 groups of PCIE resources are required. Corresponding to this specification, 4 Gigabit electrical network controllers, 4 Gigabit optical network controllers and 2 10 Gigabit optical network controllers are required. In general, 10 network controllers are required.
[0031] The present invention uses the Muchuang N10 network controller to convert the CPU's PCIE resources into the 10GBASE-KR protocol that can connect to the switch chip, thereby reusing the switch chip to realize multiple network port resources, which has a huge cost advantage. Figure 5As shown, the implementation method of this solution is as follows: select a certain model of CPU, divide 8 groups of PCIE resources, connect to the network card chip, where the network card chip is MuChuang N10 chip as an example, and then connect it to the switching chip, where the switching chip is Wuxin WX8086 switching chip as an example, and finally the switching chip will output 16 electrical ports; 16 Gigabit optical ports; 8 10 Gigabit optical ports. The switching chip can also be connected to an external physical layer chip, where the physical layer chip is PHY as an example, which can output 16 Gigabit electrical ports. In general, only one network controller N10 and one switching chip WX8086 are needed. By using the function of the MuChuang N10 chip, whose PCIE can convert to 10GBASE-KR protocol, the switching chip that could not be connected to the CPU can be connected through the N10 chip, thereby opening up the data.
[0032] like Figure 1 As shown, an embodiment of the present application provides a data processing method, which is applied to a target server. In some implementations, the method includes:
[0033] S101, receiving data upload information sent by an upload terminal.
[0034] In one implementation, the upload terminal may be a device such as a smart phone, a desktop computer, a laptop computer, a tablet computer, etc. that can access the Internet. The user sends data upload information to the target server through the upload terminal. The data upload information includes the encrypted data to be cached, attribute information of the data to be cached, biometric information of the target user, and access information of the target application. The access information of the target application is used to indicate whether the target user has the authority to upload corresponding data in the target application, as well as the time period allowed for uploading and the size of the uploaded data.
[0035] S102: Process the biometric information of the target user to generate identity attribute information of the target user.
[0036] In one embodiment, the biometric information of the target user is processed to generate initial facial image information and identity information of the target user, wherein the initial facial image information is the facial information of the target user within a preset time period; the initial facial image information is processed to generate factors affecting the expression characteristics of the target user; the factors affecting the expression characteristics of the target user are processed based on a preset emotion recognition model to generate target facial image information, wherein the target facial image information includes expression change information of the target user; the target facial image information is processed to generate emotional information of the target user; the identity information of the target user and the emotional information of the target user are processed to generate identity attribute information of the target user.
[0037] Specifically, the target user's biometric information (such as the target user's facial information or fingerprint information, etc.) is processed to generate initial facial image information and the target user's identity information, wherein the initial facial image information is the facial information of the target user within a preset time period, and the facial image data of the same person collected within a specific time period are used to create a facial template.
[0038] The initial facial image information is processed based on the preset processing rules to generate the influencing factors of the target user's expression characteristics, extract the key features in the image, such as the changes in facial action units (AU), and then used for subsequent micro-expression recognition. The influencing factors of the target user's expression characteristics are processed based on the preset emotion recognition model to generate the target facial image information, wherein the preset emotion recognition model uses deep learning technology, especially convolutional neural networks (CNNs), to recognize micro-expressions. These networks can learn and extract complex features from a large amount of facial expression data. The real-time captured facial image is input into the trained model, and the model will analyze the image and predict the emotional state. By continuously monitoring the slight changes in facial expressions, the dynamic changes of the user's emotions can be tracked. The target facial image information includes the expression change information of the target user, and the target facial image information is processed to generate the target user's emotional information, including outputting the results of emotional changes, which may include the type and intensity of emotions.
[0039] Specifically, the collected images are preprocessed, including denoising, contrast adjustment, normalization, etc., to improve the image quality. A facial detection algorithm is used to determine the position of the face in the image and locate the key points of the face, such as the eyes, nose, mouth, etc. This solution does not limit the specific facial detection algorithm, and the applicant can choose according to actual needs. Among them, the facial detection algorithm includes but is not limited to the histogram of oriented gradients (HOG), local binary pattern (LBP), and Haar cascade classifier. Facial action units are the basic components of facial expressions. By analyzing the changes in these action units, different micro-expressions can be identified. For example, AU1 indicates the lifting of the inner side of the eyebrows, AU12 indicates the closure of the lips, etc., extract key features in the image, such as changes in facial action units, changes in facial contours, etc., and use machine learning algorithms to classify expressions based on the extracted features to identify different emotions or psychological states.
[0040] By processing the identity information of the target user, the real identity of the target user is obtained, and the data encryption and decryption information used to decrypt the encrypted data to be cached is obtained. The decryption information is set based on the user's personal habits, or a preset encryption and decryption regularity method and is associated with the attribute type of the data to be cached. The purpose is to decrypt the encrypted data to be cached, and to generate identity attribute information exclusive to the target user based on the identity information of the target user and the target user's emotional information. The identity attribute information of the target user includes the identity information of the target user and the target user's data usage information to be cached. The target user's data usage information to be cached will be explained in detail later and will not be repeated here.
[0041] S103: Process the identity attribute information of the target user and the attribute information of the data to be cached to generate a preset decryption rule.
[0042] In one implementation, a preset encryption / decryption mapping table is obtained, wherein the preset encryption / decryption mapping table includes data encryption / decryption information preset by several users, and the data encryption / decryption information set by different users is not unique, that is, the data encryption / decryption information can be the same or different, and the length of encryption and decryption is not limited. The identity attribute information of the target user is processed based on the preset encryption / decryption mapping table to generate initial data encryption / decryption information, wherein the initial data encryption / decryption information includes several encryption / decryption rules set by the target user for different types of data to be cached; the initial data encryption / decryption information is processed based on the attribute information of the data to be cached to generate target data encryption / decryption information, and the target data encryption / decryption information is used as the preset decryption rule to decrypt the target user's encrypted data to be cached.
[0043] The attribute information of the data to be cached includes: one or more of the production cost of the data to be cached, data relevance, and application scenarios. The production cost of the data to be cached includes but is not limited to computing consumption characteristics and storage consumption characteristics. The computing consumption characteristics are the CPU consumption index and memory occupation index mapreduce.map.memory.mb of the data to be cached in the production environment (for example, it can be a hadoop-yarn environment). The CPU consumption index is the resource Aggregate Resource Allocation allocated by the CPU during the production process of the data to be cached; the storage consumption characteristics are the indicators of the data block size (blocksize) of the data to be cached stored in the data node (for example, hadoop-HDFS datanode).
[0044] Data relevance refers to upstream data and upstream tasks used to produce data to be cached, and is a factor affecting the production cost of data to be cached. The more upstream data and upstream tasks there are, the greater the data relevance of the data to be cached. In some embodiments, upstream data and upstream tasks correspond to cache values respectively. The greater the cache values of upstream data and upstream tasks, the greater the data relevance of the data to be cached.
[0045] Corresponding application scenarios are pre-set in the data to be cached, and different application scenarios correspond to different scene values. The scene values are set according to user needs. For example, the scene values corresponding to the data cache requirements of different application scenarios can be set. The data cache requirement is negatively correlated with the scene value, that is, the higher the data cache requirement, the lower the scene value, which improves the cache realization degree of the data to be cached in the corresponding application scenario.
[0046] S104: Process the encrypted data to be cached based on the preset decryption rule to generate decrypted data to be cached.
[0047] In one implementation, the encrypted data to be cached is decrypted based on the target data encryption and decryption information to obtain the decrypted data to be cached, that is, the original data to be cached, so that the target server can subsequently cache the data.
[0048] S105: Process the decrypted data to be cached to generate security level information of the data to be cached.
[0049] In one embodiment, when processing the security level information of the data to be cached, the applicant can define different security levels based on the sensitivity and importance of the data. These levels are generally used to guide the storage, access and transmission methods of data to ensure the security of the data. The following is an exemplary security level classification method: First security level: high-level security, specifically including top secret level and confidential level; among them, top secret level: contains the most sensitive and important data, such as state secrets, design drawings of critical infrastructure, etc. Access is strictly controlled, and only individuals or organizations that have been strictly reviewed can access; confidential level: contains sensitive data, such as business secrets, personal privacy information, etc., access requires specific permissions, usually limited to employees or partners who need to know.
[0050] The second security level: Intermediate security, specifically including secret level and public level; the secret level: contains more sensitive data, such as internal strategy documents, market research reports, etc. The access rights are looser than the confidential level, but still require authorization; the public level: contains data open to the public, such as company press releases, public financial reports, etc. These data are transparent to the public and have no access restrictions.
[0051] Alternatively, the first security level includes L3 and L4 levels; among them, L3 level: may contain critical business data, such as customer databases, product pricing strategies, etc. Access requires advanced permissions and usually has audit trails; L4 level: may contain very critical business data, such as source code, patent information, etc. Access is extremely limited and usually only core team members can access.
[0052] The second security level includes L1 and L2. L1 may contain general business data, such as daily operation reports, customer feedback, etc. Access rights are relatively loose, but basic authorization is still required; L2 may contain more important business data, such as market analysis, project plans, etc. Access rights are stricter than L1, and specific roles or responsibilities are required to access.
[0053] Regarding the security level processing of the data to be cached, first of all, it is necessary to evaluate the data to determine its sensitivity and importance. Based on the evaluation results, the data is assigned to the corresponding security level, and corresponding security measures are formulated for each security level, such as encryption, access control, auditing, etc. The security level is marked on the data for easy management and monitoring. The security level of the data and related security measures are reviewed regularly to ensure their adaptability and effectiveness, and to ensure that the security level information of the data to be cached is properly managed and applied, thereby protecting the security and integrity of the data.
[0054] S106: Process the identity information of the target user, the attribute information of the data to be cached, the security level information of the data to be cached, and the access information of the target application to generate cache priority information of the data to be cached and a target cache duration of the data to be cached.
[0055] In one implementation, when the attribute information of the data to be cached and the identity information of the target user are processed to generate cache priority information, the following steps can be adopted: First, the attributes of the data to be cached need to be analyzed, including but not limited to the access frequency of the data, the timeliness of the data, the size of the data, etc. These attributes can help the applicant determine whether the data is hot data. For example, data with a high access frequency is more likely to be hot data and should be given a higher cache priority. Secondly, the identity information of the target user is evaluated. If the target user is a VIP user or his behavior has a greater impact on the business, the data they request should also have a higher cache priority.
[0056] The judgment of hot data can be achieved through data statistics and analysis. For example, you can create an asynchronous monitoring statistics service and a hot data service to perform request statistics on the Key. After reaching a certain request level, the hot Key is pushed to the business system, and the cache priority information of the data to be cached is generated by combining the results of data attribute analysis and user identity evaluation. Different priority levels can be set, such as L3 and L4 levels, where L3 may contain critical business data and L4 may contain very critical business data. According to the generated cache priority information, implement the corresponding cache strategy. For example, for high-priority data, a more active cache strategy can be adopted, such as extending the cache time, using cache nodes closer to users, etc., and regularly reviewing and adjusting the cache data to ensure that the data in the cache is the current hot data and serves important users. This may involve the elimination and updating of data to maintain the efficiency and relevance of the cache.
[0057] Finally, based on the results of cache priority and cache data adjustment, cache information of the data to be cached is generated, including cache duration and cache timing. This will guide the actual cache operation, ensure that the data is cached at the right time, and be updated or eliminated when necessary, ensuring that the cache system efficiently serves important users while maintaining the popularity and timeliness of the data.
[0058] Based on the cache priority information of the data to be cached, the security level information of the data to be cached is processed to generate the initial cache duration of the data to be cached. The initial cache duration is determined based on the security level of the data to be cached. For example, important data should not be kept for too long to avoid data leakage. Based on the access information of the target application, the initial cache duration of the data to be cached is processed to generate the target cache duration of the data to be cached. This is determined based on the security of the target application. If the target application is easily leaked by hackers, the cache time of its data should not be too long.
[0059] S107: Based on a preset cache strategy, the cache priority information of the data to be cached, the target cache duration of the data to be cached, and the usage information of the data to be cached of the target user are processed to generate a target cache strategy.
[0060] In one implementation, real-time data cache load information and other cached data information of the target server are obtained; wherein, the real-time data cache load information of the server can be obtained by using a server monitoring tool to obtain the current cache load, including the used cache space, cache hit rate, access frequency, etc., and collect key performance indicators such as CPU usage, memory usage, network bandwidth, etc. to evaluate the overall performance of the server.
[0061] Based on the real-time data cache load information of the target server, the purpose information of the data to be cached is processed to generate cache importance information of the data to be cached. The data is classified according to its purpose and importance. For example, the data is classified into transaction data, user information, log records, etc. The importance of each type of data is evaluated to determine their impact on business operations. Different weights are set for different categories of data to reflect their importance to the business. The data is prioritized according to the weights to determine which data needs to be cached first.
[0062] Based on the cache importance information of the data to be cached, other cached data information is processed to generate cache data adjustment information, wherein the cache data adjustment information is used to perform data deletion processing on the data to be cached or other cached data information; according to the importance and access frequency of the cache, a data elimination strategy is formulated, such as LRU (least recently used) or LFU (least frequently used), and according to the elimination strategy, it is determined which data needs to be deleted from the cache to free up space for more important data.
[0063] Based on the cache data adjustment information, the cache priority information of the data to be cached and the target cache duration of the data to be cached are processed to generate cache information of the data to be cached, wherein the cache information of the data to be cached is used to characterize the final cache duration and cache timing of the data to be cached. According to the importance of the data and business needs, cache priority is assigned to the data to be cached, and the maximum time the data is retained in the cache is determined, which may be based on the timeliness of the data or the business cycle. According to the priority and cache duration, specific cache strategies are implemented, such as preloading, delayed loading, etc., to determine the best time to cache data, such as preloading data during low-load periods, and automated tools are used to implement cache strategies and monitor their effects. According to the monitoring results and business feedback, the cache strategies are continuously adjusted to optimize performance.
[0064] For example, suppose the applicant has an e-commerce website whose cached data includes user shopping cart information, product details, user reviews, etc. The applicant can handle it as follows:
[0065] - User shopping cart information : High priority, cached for 30 minutes, because shopping cart information is critical to the user experience and may be updated at any time.
[0066] - Product Details : Medium priority, cache duration 1 hour, because product details are updated less frequently but users visit them frequently.
[0067] - User Reviews : Low priority, cached for 2 hours, because comments are usually not updated frequently and immediacy is not a high requirement.
[0068] By doing so, applicants can ensure that critical data is quickly accessed while optimizing the server's cache usage efficiency.
[0069] In another implementation, cache importance information is generated based on the real-time data cache load information of the target server and in combination with the purpose and importance of the data to be cached. The following steps may be followed: First, monitor the current cache usage, including used space, access frequency, cache hit rate, etc., divide the data to be cached into different categories, such as transaction data, user information, log records, etc., and evaluate the importance of each category of data. Considerations may include the sensitivity of the data, the impact on business decisions, legal and compliance requirements, etc., to determine the extent of the impact of each type of data on business operations. For example, transaction data may be critical to the business, while log records may be used primarily for problem analysis and optimization.
[0070] Based on the evaluation results, different cache priorities are set for different categories of data. For example: high priority: transaction data, because they directly affect finance and customer trust; medium priority: user information, because they are critical to personalized services and user experience; low priority: logging, which is important for system maintenance and improvement, but has less impact on immediate business. According to the priority of the data, formulate corresponding cache rules, including cache duration, cache location (memory or disk), cache replacement strategy, etc., and cache the data according to the formulated rules. Ensure that high-priority data is cached quickly and easily accessed, continuously monitor cache performance and business impact, and adjust and optimize cache strategies according to actual operation conditions, so as to ensure that the server's cache system can both efficiently process data and meet business needs and priorities for different data categories.
[0071] S108: Cache the data to be cached in the data upload information based on the target cache strategy to generate cached data of the target user.
[0072] In one implementation, before actually writing the data into the cache, the data may need to be preprocessed, such as data cleaning, formatting, compression, etc., to optimize storage and access efficiency. The data to be cached is divided into different categories according to the purpose and importance of the data, such as transaction data, user information, log records, etc. According to the classification and priority of the data, the corresponding caching rules are applied. High-priority data should be cached first and may be stored on faster storage media. According to business needs, appropriate caching technology is selected, such as memory cache (such as Redis), distributed cache, CDN, etc.
[0073] Write data to the cache system according to established rules. Ensure that the write operation does not affect the availability and consistency of existing data. Set an appropriate validity period for the data in the cache, determined based on the timeliness of the data and business needs, and ensure synchronization and consistency between the cached data and the original data source, especially for frequently updated data. Monitor key performance indicators such as cache hit rate and response time to ensure that the cache system operates efficiently. For successfully cached data, generate an identifier or record of cached data to facilitate subsequent data management and verification. Design exception handling mechanisms, such as being able to fall back to the original data source for data retrieval when the cache system is unavailable. Provide a feedback mechanism to let users know that their data has been cached and the performance improvement brought by caching, ensuring that the data to be cached is effectively cached according to the target cache strategy, thereby improving data access speed and system performance, while ensuring data security and compliance.
[0074] The data processing method provided by the embodiment of the present application comprises: a target server receives data upload information sent by an upload terminal, wherein the data upload information includes encrypted data to be cached, attribute information of the data to be cached, biometric information of the target user, and access information of the target application; the biometric information of the target user is processed to generate initial facial image information and identity information of the target user, wherein the initial facial image information is facial information of the target user within a preset time period; the initial facial image information is processed to generate factors affecting the expression characteristics of the target user; the factors affecting the expression characteristics of the target user are processed based on a preset emotion recognition model to generate target facial image information, wherein the target facial image information includes expression change information of the target user; the target facial image information is processed to generate emotional information of the target user; the identity information of the target user and the emotional information of the target user are processed to generate identity attribute information of the target user, wherein the identity attribute information of the target user includes the identity information of the target user and information on the purpose of the data to be cached of the target user.
[0075] Obtain a preset encryption and decryption mapping table, wherein the preset encryption and decryption mapping table includes data encryption and decryption information preset by several users, and the data encryption and decryption information set by different users is not unique; based on the preset encryption and decryption mapping table, the identity attribute information of the target user is processed to generate initial data encryption and decryption information, wherein the initial data encryption and decryption information includes several encryption and decryption rules set by the target user for different types of data to be cached; based on the attribute information of the data to be cached, the initial data encryption and decryption information is processed to generate target data encryption and decryption information, wherein the preset decryption rules are used to decrypt the data to be cached encrypted by the target user; based on the preset decryption rules, the encrypted data to be cached is processed to generate decrypted data to be cached; the decrypted data to be cached is processed to generate security level information of the data to be cached.
[0076] Processing the attribute information of the data to be cached and the identity information of the target user to generate cache priority information of the data to be cached; processing the security level information of the data to be cached based on the cache priority information of the data to be cached to generate the initial cache duration of the data to be cached; processing the initial cache duration of the data to be cached based on the access information of the target application to generate the target cache duration of the data to be cached; obtaining the real-time data cache load information and other cached data information of the target server; processing the purpose information of the data to be cached based on the real-time data cache load information of the target server to generate cache importance information of the data to be cached; processing other cached data information based on the cache importance information of the data to be cached to generate cache data adjustment information, wherein the cache data adjustment information is used to perform data deletion processing on the data to be cached or other cached data information; processing the cache priority information of the data to be cached and the target cache duration of the data to be cached based on the cache data adjustment information to generate cache information of the data to be cached, wherein the cache information of the data to be cached is used to characterize the final cache duration and cache timing of the data to be cached; caching the data to be cached in the data upload information based on the target cache strategy to generate cached data of the target user. The user's identity is verified through biometrics, decryption rules are generated, the data is decrypted, and then the data security level is determined based on the data attributes and user identity information. The cache priority and duration of the data are determined by combining user information, data attributes, security level and application access information. According to the preset cache strategy, the data to be cached is reasonably cached and the cached data is generated, ensuring the maximum data security and access efficiency.
[0077] Optionally, in another embodiment of the method of the present application, after caching the data to be cached in the data upload information based on the target cache strategy and generating the cached data of the target user, the method further includes:
[0078] Processing the cached data of the target user based on the usage information of the data to be cached of the target user to generate a disaster recovery warning value of the cached data;
[0079] If the disaster recovery warning value of the cached data is greater than the preset disaster recovery warning value, the cached data of the target user is sent to the central server for data caching.
[0080] In one implementation, based on the target user's cached data usage information and the target server's real-time data cache load information, the step of processing the cached data to generate a disaster recovery warning value may include the following aspects:
[0081] First, classify the data into different categories according to its purpose, such as transaction data, user information, log records, etc., and evaluate the importance of each type of data and the degree of impact on business operations. Monitor the current cache load in real time, including cache hit rate, access frequency, storage space utilization, etc., to evaluate the system's carrying capacity.
[0082] Using statistical and analytical methods, combined with the importance of data and real-time load information, a disaster recovery warning value for cached data is generated. This warning value can be set based on the data access pattern, change frequency, and impact on business continuity. According to business needs and risk tolerance, one or more preset disaster recovery warning values are set to trigger data backup or migration actions. The generated disaster recovery warning value is compared with the preset value. If the warning value is greater than the preset value, it indicates that the risk level of the current cached data exceeds the acceptable range. When the disaster recovery warning value exceeds the preset value, the cached data of the target user is automatically sent to the central server for backup or caching to ensure data security and business continuity.
[0083] Conduct disaster recovery drills regularly to verify the effectiveness of data backup and recovery processes, and update disaster recovery plans based on the drill results. Apply a variety of technical means, such as storage array-based data replication, application-level replication, database log replication, etc., to achieve different levels of data synchronization and business takeover capabilities. According to business development and technological progress, continuously optimize disaster recovery plans and improve data protection and business recovery capabilities.
[0084] Through this series of steps, we can ensure that when data risks increase, timely measures are taken to protect data and maintain business continuity. At the same time, the generation and application of disaster recovery warning values need to be combined with actual business needs and the carrying capacity of IT systems to achieve effective risk management and resource utilization.
[0085] Optionally, in another embodiment of the method of the present application, before receiving the data upload information sent by the upload terminal, the method further includes:
[0086] Receive digital certificate information, unique identification information of the upload terminal, random number of the upload terminal and key-share information of the upload terminal sent by the upload terminal;
[0087] Get the target server random number and target server key-share information;
[0088] Generate a pre-master key according to the upload terminal key-share information and the target server key-share information;
[0089] Generate a temporary session key according to the upload terminal random number, the target server random number and the pre-master key;
[0090] Processing the digital certificate information and the unique identification information of the uploading terminal based on a preset pairing rule to generate a processing result;
[0091] If the processing result is to allow the target server to pair and connect with the uploading terminal, sending an initial data encryption and decryption information request to the uploading terminal;
[0092] Receive the preset processing rule sent by the upload terminal based on the initial data encryption and decryption information request, wherein the preset processing rule is used for subsequent decryption processing of the encrypted data to be cached sent by the upload terminal.
[0093] In one implementation, the upload terminal random number may be 32 bytes generated by a secure random number generator, the upload terminal unique identification information may be the upload terminal's MAC address, key_share is the public key corresponding to the elliptic curve type, and the specific presentation form of the key_share information is not repeated here, and the key-share information includes but is not limited to preset parameters for calculating the pre-master key; for example: the upload terminal sends a request (Client Hello), the extension part carries the supported elliptic curve type, and calculates the upload terminal public key (POINT) for each elliptic curve type supported by itself, and the upload terminal public key is placed in the key-share information in the extension information; after the target server selects the elliptic curve parameter, it multiplies it by the base point of the elliptic curve to obtain the target server public key (POINT); then extracts the corresponding upload terminal public key in the key_share information in the Client Hello, and calculates the pre-master key; after the upload terminal receives the target server public key (POINT) of the target server, it calculates the pre-master key. The upload terminal random number and upload terminal key-share information are generated by the upload terminal; the target server random number and target server key-share information are generated by the target server, and the specific generation method is not limited here. By using the pre-information of the session key transmitted by the message between the upload terminal and the target server during the handshake process (connection establishment process), the session key can be quickly determined without affecting the handshake process (connection establishment process), greatly shortening the time for communication between the two ends after the handshake (connection establishment). After the connection between the upload terminal and the target server is established, when the server receives the face identity information of the target user, it will obtain the initial data encryption and decryption information pre-set by the target user, that is, the encryption and decryption habits of the target user for various types of data to be cached, which is used to decrypt the encrypted data to be cached.
[0094] refer to Figure 2As shown, another embodiment of the present application provides a data processing device, which is applied to a target server. In some implementations, the device includes:
[0095] The receiving module 201 is used to receive data upload information sent by the upload terminal, wherein the data upload information includes the encrypted data to be cached, attribute information of the data to be cached, biometric information of the target user and access information of the target application;
[0096] The processing model 202 is used to process the biometric information of the target user to generate the identity attribute information of the target user, wherein the identity attribute information of the target user includes the identity information of the target user and the purpose information of the data to be cached of the target user; process the identity attribute information of the target user and the attribute information of the data to be cached to generate a preset decryption rule, wherein the preset decryption rule is used to decrypt the encrypted data to be cached of the target user; process the encrypted data to be cached based on the preset decryption rule to generate decrypted data to be cached; process the decrypted data to be cached to generate security level information of the data to be cached; process the identity information of the target user, the attribute information of the data to be cached, the security level information of the data to be cached and the access information of the target application to generate cache priority information of the data to be cached and the target cache duration of the data to be cached; process the cache priority information of the data to be cached, the target cache duration of the data to be cached and the purpose information of the data to be cached of the target user based on the preset cache strategy to generate a target cache strategy; cache the data to be cached in the data upload information based on the target cache strategy to generate cached data of the target user.
[0097] In another embodiment of the present application, the processing module 202 is configured to process the biometric information of the target user and generate identity attribute information of the target user, including: processing the biometric information of the target user to generate initial facial image information and identity information of the target user, wherein the initial facial image information is the facial information of the target user within a preset time period; processing the initial facial image information to generate expression feature influencing factors of the target user; processing the expression feature influencing factors of the target user based on a preset emotion recognition model to generate target facial image information, wherein the target facial image information includes expression change information of the target user; processing the target facial image information to generate emotion information of the target user; processing the identity information of the target user and the emotion information of the target user to generate identity attribute information of the target user.
[0098] In another embodiment of the present application, the processing module 202 is configured to process the identity attribute information of the target user and the attribute information of the data to be cached, and generate preset decryption rules, including: obtaining a preset encryption and decryption mapping table, wherein the preset encryption and decryption mapping table includes data encryption and decryption information pre-set by several users, and the data encryption and decryption information set by different users is not unique; processing the identity attribute information of the target user based on the preset encryption and decryption mapping table to generate initial data encryption and decryption information, wherein the initial data encryption and decryption information includes several encryption and decryption rules set by the target user for different types of data to be cached; processing the initial data encryption and decryption information based on the attribute information of the data to be cached to generate target data encryption and decryption information.
[0099] In another embodiment of the present application, the processing module 202 is configured to process the identity information of the target user, the attribute information of the data to be cached, the security level information of the data to be cached and the access information of the target application to generate cache priority information of the data to be cached and the target cache duration of the data to be cached, including: processing the attribute information of the data to be cached and the identity information of the target user to generate the cache priority information of the data to be cached; processing the security level information of the data to be cached based on the cache priority information of the data to be cached to generate the initial cache duration of the data to be cached; processing the initial cache duration of the data to be cached based on the access information of the target application to generate the target cache duration of the data to be cached.
[0100] In another embodiment of the present application, the processing module 202 is configured to process the cache priority information of the data to be cached, the target cache duration of the data to be cached, and the usage information of the data to be cached of the target user based on a preset cache strategy to generate a target cache strategy, including: obtaining the real-time data cache load information and other cached data information of the target server; processing the usage information of the data to be cached based on the real-time data cache load information of the target server to generate cache importance information of the data to be cached; processing the other cached data information based on the cache importance information of the data to be cached to generate cache data adjustment information, wherein the cache data adjustment information is used to perform data deletion processing on the data to be cached or other cached data information; processing the cache priority information of the data to be cached and the target cache duration of the data to be cached based on the cache data adjustment information to generate cache information of the data to be cached, wherein the cache information of the data to be cached is used to characterize the final cache duration and cache timing of the data to be cached.
[0101] In another embodiment of the present application, the processing module 202 is configured to cache the data to be cached in the data upload information based on the target caching strategy, and after generating the cached data of the target user, it also includes: processing the cached data of the target user based on the usage information of the data to be cached of the target user, and generating a disaster recovery warning value for the cached data; if the disaster recovery warning value of the cached data is greater than the preset disaster recovery warning value, the cached data of the target user is sent to the central server for data caching.
[0102] In another embodiment of the present application, the processing module 202 is configured to, before receiving the data upload information sent by the upload terminal, also include: receiving digital certificate information, upload terminal unique identification information, upload terminal random number and upload terminal key-share information sent by the upload terminal; obtaining the target server random number and target server key-share information; generating a pre-master key according to the upload terminal key-share information and the target server key-share information; generating a temporary session key according to the upload terminal random number, the target server random number and the pre-master key; processing the digital certificate information and the upload terminal unique identification information based on a preset pairing rule to generate a processing result; if the processing result is to allow the target server to pair with the upload terminal, sending an initial data encryption and decryption information request to the upload terminal; receiving the preset processing rule sent by the upload terminal based on the initial data encryption and decryption information request, wherein the preset processing rule is used for subsequent decryption processing of the encrypted data to be cached sent by the upload terminal.
[0103] According to another aspect of an embodiment of the present application, an electronic device is provided, including a computer-readable storage medium storing a computer program and a processor, and when the computer program is read and executed by the processor, any of the above methods is implemented.
[0104] The present application embodiment provides an electronic device, such as Figure 3 As shown, the electronic device 3 includes a first processor 300, a memory 301, a bus 302 and a communication interface 303. The first processor 300, the communication interface 303 and the memory 301 are connected via the bus 302. The memory 301 stores a computer program that can be run on the first processor 300. When the first processor 300 runs the computer program, it executes the data processing method provided in any of the aforementioned embodiments of the present application.
[0105] The memory 301 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 303 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0106] The bus 302 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 301 is used to store programs, and the first processor 300 executes the programs after receiving the execution instruction. The data processing method disclosed in any implementation of the embodiment of the present application may be applied to the first processor 300, or implemented by the first processor 300.
[0107] The first processor 300 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 300. The above-mentioned first processor 300 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be embodied as a hardware decoding processor to execute, or a combination of hardware and software modules in the decoding processor to execute. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 301, and the first processor 300 reads the information in the memory 301 and completes the steps of the above method in combination with its hardware.
[0108] The electronic device provided by the above-mentioned embodiments of the present application and the data processing method provided by the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0109] The present application embodiment provides a computer-readable storage medium, such as Figure 4As shown, the computer-readable storage medium stores 401 a computer program, and when the computer program is read and executed by the second processor 402, the data processing method as described above is implemented.
[0110] The technical solution of the embodiment of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be an air conditioner, a refrigeration device, a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in the embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0111] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the data processing method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0112] An embodiment of the present application provides a computer program product, including a computer program, wherein the computer program is executed by a third processor to implement the method described above.
[0113] The computer program product provided by the above-mentioned embodiments of the present application and the data processing method provided by the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0114] It should be noted that, in this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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 still includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0115] Each embodiment in the present application is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the evaluation data processing method, electronic device, electronic device, and readable storage medium embodiment, since they are basically similar to the data processing method embodiment described above, the description is relatively simple, and the relevant parts can be referred to the partial description of the data processing method embodiment described above.
[0116] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application shall be subject to the scope defined by the claims.
Claims
1. A data processing method, characterized in that: The method comprises: Receiving data upload information sent by the upload terminal, wherein the data upload information includes encrypted data to be cached, attribute information of the data to be cached, biometric information of the target user, and access information of the target application; Processing the biometric information of the target user to generate identity attribute information of the target user, wherein the identity attribute information of the target user includes the identity information of the target user and the usage information of the target user's data to be cached; Processing the identity attribute information of the target user and the attribute information of the data to be cached to generate a preset decryption rule, wherein the preset decryption rule is used to decrypt the data to be cached after being encrypted by the target user; Processing the encrypted data to be cached based on the preset decryption rule to generate decrypted data to be cached; Processing the decrypted data to be cached to generate security level information of the data to be cached; Processing the identity information of the target user, the attribute information of the data to be cached, the security level information of the data to be cached, and the access information of the target application to generate cache priority information of the data to be cached and a target cache duration of the data to be cached; Based on the preset cache strategy, the cache priority information of the data to be cached, the target cache duration of the data to be cached, and the usage information of the data to be cached of the target user are processed to generate a target cache strategy; Cache the data to be cached in the data upload information based on the target cache strategy to generate cached data of the target user; The identity attribute information of the target user and the attribute information of the data to be cached are processed to generate a preset decryption rule, including: Obtaining a preset encryption and decryption mapping table, wherein the preset encryption and decryption mapping table includes data encryption and decryption information preset by a number of users, and the data encryption and decryption information set by different users is not unique; Processing the identity attribute information of the target user based on a preset encryption and decryption mapping table to generate initial data encryption and decryption information, wherein the initial data encryption and decryption information includes a number of encryption and decryption rules set by the target user for different types of data to be cached; Processing the initial data encryption and decryption information based on the attribute information of the data to be cached to generate target data encryption and decryption information; The identity information of the target user, the attribute information of the data to be cached, the security level information of the data to be cached, and the access information of the target application are processed to generate cache priority information of the data to be cached and a target cache duration of the data to be cached, including: Processing the attribute information of the data to be cached and the identity information of the target user to generate cache priority information of the data to be cached; Processing the security level information of the data to be cached based on the cache priority information of the data to be cached to generate an initial cache duration of the data to be cached; Processing the initial cache duration of the data to be cached based on the access information of the target application to generate a target cache duration of the data to be cached; The cache priority information of the data to be cached, the target cache duration of the data to be cached, and the usage information of the data to be cached of the target user are processed based on the preset cache strategy to generate a target cache strategy, including: Obtain the target server's real-time data cache load information and other cached data information; Processing the purpose information of the data to be cached based on the real-time data cache load information of the target server to generate cache importance information of the data to be cached; Processing the other cached data information based on the cache importance information of the data to be cached to generate cache data adjustment information, wherein the cache data adjustment information is used to perform data deletion processing on the data to be cached or other cached data information; The cache priority information of the data to be cached and the target cache duration of the data to be cached are processed based on the cache data adjustment information to generate cache information of the data to be cached, wherein the cache information of the data to be cached is used to characterize the final cache duration and cache timing of the data to be cached.
2. The method according to claim 1, characterized in that: The biometric information of the target user is processed to generate identity attribute information of the target user, including: Processing the biometric information of the target user to generate initial facial image information and identity information of the target user, wherein the initial facial image information is facial information of the target user within a preset time period; Processing the initial facial image information to generate expression feature influencing factors of the target user; Processing the influencing factors of the target user's expression characteristics based on a preset emotion recognition model to generate target face image information, wherein the target face image information includes expression change information of the target user; Processing the target face image information to generate emotion information of the target user; The identity information of the target user and the emotion information of the target user are processed to generate identity attribute information of the target user.
3. The method according to claim 1, characterized in that After caching the data to be cached in the data upload information based on the target cache strategy to generate cached data of the target user, the method further includes: Processing the cached data of the target user based on the usage information of the to-be-cached data of the target user to generate a disaster recovery warning value of the cached data; If the disaster recovery warning value of the cached data is greater than the preset disaster recovery warning value, the cached data of the target user is sent to the central server for data caching.
4. The method according to claim 1, characterized in that: Before receiving the data upload information sent by the upload terminal, the method further includes: Receive digital certificate information, unique identification information of the upload terminal, random number of the upload terminal and key-share information of the upload terminal sent by the upload terminal; Get the target server random number and target server key-share information; Generate a pre-master key according to the upload terminal key-share information and the target server key-share information; Generate a temporary session key according to the upload terminal random number, the target server random number and the pre-master key; Processing the digital certificate information and the unique identification information of the uploading terminal based on a preset pairing rule to generate a processing result; If the processing result is to allow the target server to pair and connect with the uploading terminal, sending an initial data encryption and decryption information request to the uploading terminal; Receive the preset processing rule sent by the upload terminal based on the initial data encryption and decryption information request, wherein the preset processing rule is used for subsequent decryption processing of the encrypted data to be cached sent by the upload terminal.
5. A data processing device, characterized in that: The device comprises: A receiving module, used to receive data upload information sent by an uploading terminal, wherein the data upload information includes encrypted data to be cached, attribute information of the data to be cached, biometric information of a target user, and access information of a target application; a processing module, configured to process the biometric information of the target user to generate the identity attribute information of the target user, wherein the identity attribute information of the target user includes the identity information of the target user and the purpose information of the data to be cached of the target user; process the identity attribute information of the target user and the attribute information of the data to be cached to generate a preset decryption rule, wherein the preset decryption rule is used to decrypt the encrypted data to be cached of the target user; process the encrypted data to be cached based on the preset decryption rule to generate the decrypted data to be cached; process the decrypted data to be cached to generate the security level information of the data to be cached; process the identity information of the target user, the attribute information of the data to be cached, the security level information of the data to be cached and the access information of the target application to generate the cache priority information of the data to be cached and the target cache duration of the data to be cached; process the cache priority information of the data to be cached, the target cache duration of the data to be cached and the purpose information of the data to be cached of the target user based on the preset cache strategy to generate the target cache strategy; cache the data to be cached in the data upload information based on the target cache strategy to generate the cached data of the target user; The method comprises: obtaining a preset encryption and decryption mapping table, wherein the preset encryption and decryption mapping table includes data encryption and decryption information preset by a plurality of users, and the data encryption and decryption information set by different users is not unique; processing the identity attribute information of the target user based on the preset encryption and decryption mapping table to generate initial data encryption and decryption information, wherein the initial data encryption and decryption information includes a plurality of encryption and decryption rules set by the target user for different types of data to be cached; processing the initial data encryption and decryption information based on the attribute information of the data to be cached to generate target data encryption and decryption information; processing the identity information of the target user, the The method comprises: processing the attribute information of the data to be cached, the security level information of the data to be cached, and the access information of the target application to generate the cache priority information of the data to be cached and the target cache duration of the data to be cached, including: processing the attribute information of the data to be cached and the identity information of the target user to generate the cache priority information of the data to be cached; processing the security level information of the data to be cached based on the cache priority information of the data to be cached to generate the initial cache duration of the data to be cached; processing the initial cache duration of the data to be cached based on the access information of the target application to generate the target cache duration of the data to be cached;Based on the preset cache strategy, the cache priority information of the data to be cached, the target cache duration of the data to be cached, and the target user's data usage information to be cached are processed to generate a target cache strategy, including: obtaining the real-time data cache load information and other cached data information of the target server; processing the data usage information to be cached based on the real-time data cache load information of the target server to generate cache importance information of the data to be cached; processing the other cached data information based on the cache importance information of the data to be cached to generate cache data adjustment information, wherein the cache data adjustment information is used to perform data deletion processing on the data to be cached or other cached data information; processing the cache priority information of the data to be cached and the target cache duration of the data to be cached based on the cache data adjustment information to generate cache information of the data to be cached, wherein the cache information of the data to be cached is used to characterize the final cache duration and cache timing of the data to be cached. ; 6. An electronic device, characterized in that: The invention comprises a computer-readable storage medium storing a computer program and a processor, wherein when the computer program is read and executed by the processor, the method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the method according to any one of claims 1 to 4 is implemented.
