Updated data calling method and device, electronic equipment and storage medium
By encrypting the target business data of the target user and generating security auxiliary files, the data calling process is simplified, the problem of low data calling efficiency in the existing technology is solved, and more efficient data transmission and timely acquisition are achieved.
Patent Information
- Application Number
- CN202311753465.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2024-10-18
AI Technical Summary
The data calling process in the existing technology is cumbersome, the periodic update data transmission efficiency is low, and frequent approval and encryption and decryption are required, resulting in low efficiency.
By detecting whether update data exists in the target business of the target user, encrypting the data and generating security auxiliary files, simplifying the data calling process and directly transmitting update encrypted data, the target user can obtain update data based on decryption of the auxiliary files.
It improves the transmission efficiency of update data during the calling process, simplifies the data calling process, meets the requirements of data timeliness, and reduces the encryption and decryption steps for each update.
Smart Images

Figure CN118798798A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data management, and in particular to a method, device, electronic device and storage medium for updating data. Background Art
[0002] The business support system is a system used to support network service operations and Internet content provision. The business support system includes but is not limited to network management systems, billing systems, customer relationship management systems, and Internet content management systems. The user data included in the operator's business support system often has user privacy and is sensitive data. With the promotion of big data analysis, the demand for such data is increasing and becoming more frequent.
[0003] Each time big data is called, the user must submit a demand report, and then the mobile operator will review and approve the data based on the user's qualifications and the content requested. The review process is performed during data encryption and decryption and data transmission. Therefore, the existing technical approval process is relatively cumbersome, and some data usually needs to be updated periodically. Each updated data also needs to be approved, which leads to low transmission efficiency of periodically updated data during the call process. Summary of the invention
[0004] The embodiments of the present invention provide a method, device, electronic device and storage medium for updating data calling, so as to solve the problem of low efficiency of updating data calling.
[0005] In a first aspect, an embodiment of the present invention provides a method for updating data calling, comprising:
[0006] Detecting that there is updated data for a target service of a target user, and determining updated data to be called for the target service;
[0007] Encrypting the update data to be called to obtain updated encrypted data;
[0008] Generate a first security auxiliary file; the security auxiliary file is used to provide the target user with a method for decrypting the updated encrypted data;
[0009] The updated encrypted data and the first security auxiliary file are sent to the target user; wherein, after receiving the updated encrypted data and the first security auxiliary file, the target user extracts the update data to be called based on the updated encrypted data and the first security auxiliary file.
[0010] In one embodiment, before detecting that the target service of the target user has updated data, the method further includes:
[0011] Based on the data call request of the target user, obtaining the target business data required by the target user;
[0012] Encrypting the target business data to obtain target encrypted data;
[0013] Generate a second security auxiliary file; the second security auxiliary file is used to provide the target user with a method for decrypting the target encrypted data;
[0014] The target encrypted data and the second security auxiliary file are sent to the target user; wherein, after receiving the target encrypted data and the second security auxiliary file, the target user extracts the target business data based on the target encrypted data and the second security auxiliary file.
[0015] In one embodiment, obtaining the target service data required by the target user based on the data call request of the target user includes:
[0016] Authenticate the target user;
[0017] If the identity authentication of the target user is successful, the data call request is parsed to obtain the request content, and the request content is approved; the request content includes the purpose of the target business data call and the frequency of use of the target business data;
[0018] If the request content is approved, the target business data is obtained.
[0019] In one embodiment, encrypting the target service data to obtain target encrypted data includes:
[0020] Determining the security level of the target business data;
[0021] Based on the security level, determining a data encryption method for the target business data;
[0022] Based on the data encryption method, the target business data is encrypted to obtain target encrypted data.
[0023] In one embodiment, encrypting the target business data based on the data encryption method to obtain target encrypted data includes:
[0024] Based on the data encryption method, determine a key generation algorithm;
[0025] Based on the key generation algorithm, generate a first seed key;
[0026] Generate a first encryption key based on the key generation algorithm and the first seed key;
[0027] The target business data is encrypted based on the first encryption key to obtain target encrypted data.
[0028] In one embodiment, before generating the second security auxiliary file, the method further includes:
[0029] Based on the global hash function, the target business data is hashed to obtain the global hash value of the target business data; the global hash function is used to map different input data to unique hash values stored in a hash table.
[0030] In one embodiment, encrypting the update data to be called to obtain updated encrypted data includes:
[0031] Determine the global hash value of the target business data as a second seed key;
[0032] generating a second encryption key based on the key generation algorithm and the second seed key;
[0033] The update data to be called is encrypted based on the second encryption key to obtain updated encrypted data.
[0034] In a second aspect, an embodiment of the present invention provides an update data calling device, comprising:
[0035] A determination module, configured to detect that there is updated data for a target service of a target user, and determine the updated data to be called for the target service;
[0036] An encryption module, used for encrypting the update data to be called to obtain updated encrypted data;
[0037] An auxiliary file generation module, used to generate a first security auxiliary file; the security auxiliary file is used to provide the target user with a method for decrypting the updated encrypted data;
[0038] A sending module is used to send the updated encrypted data and the first security auxiliary file to the target user; wherein, after sending the updated encrypted data and the first security auxiliary file to the target user, the target user extracts the update data to be called based on the updated encrypted data and the first security auxiliary file.
[0039] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory storing a computer program, wherein when the processor executes the program, the update data calling method described in the first aspect is implemented.
[0040] In a fourth aspect, an embodiment of the present invention provides a storage medium, which is a data management technology readable storage medium, including a data management technology program, and when the data management technology program is executed by a processor, it implements the update data calling method described in the first aspect.
[0041] The updated data calling method, device, electronic device and storage medium provided in the embodiments of the present invention only need to encrypt the updated data and transmit it to the target user when it is detected that there is updated data for the target business of the target user, thereby simplifying the data calling process and improving the transmission efficiency of the updated data during the calling process. At the same time, the target user does not need to obtain the full encrypted calling data every time there is updated data in the target business data, and can obtain the updated data in time, thereby meeting the data timeliness requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 is a flow chart of a method for updating data and calling the method provided by an embodiment of the present invention;
[0044] Figure 2 It is a flow chart of the overall solution of the update data calling method provided by an embodiment of the present invention;
[0045] Figure 3 It is a functional module diagram of an embodiment of a device for updating data and calling the device of the present invention;
[0046] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of the present invention. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of mutual contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.
[0048] The update data calling method, device, electronic device and storage medium provided by the present invention are described in detail below in conjunction with the embodiments.
[0049] Figure 1 1 is a flow chart of a method for updating data provided by an embodiment of the present invention. Figure 1 , an embodiment of the present invention provides a method for updating data calling, which may include:
[0050] Step 100, detecting that there is updated data for the target service of the target user, and determining the updated data to be called for the target service;
[0051] Step 200, encrypting the update data to be called to obtain updated encrypted data;
[0052] Step 300, generating a first security auxiliary file; the security auxiliary file is used to provide the target user with a method for decrypting the updated encrypted data;
[0053] Step 400: Send the updated encrypted data and the first security auxiliary file to the target user.
[0054] It should be noted that the update data calling method provided in the embodiment of the present invention is implemented based on the update data calling device, and the update data calling method is applied to the operation equipment. The database of the operation equipment stores large-scale business data. Business data refers to data related to specific business activities. Business data includes but is not limited to various communication data generated by customers in the communication network. Therefore, the operation equipment can respond to the data calling request of the target user and can also realize the interaction between the target user and the operator. Therefore, the embodiment of the present invention takes the operation equipment as the execution subject as an example to describe the update data calling method.
[0055] It should be further explained that the target users refer to the business data demanders. The business data demanders analyze, mine and model the retrieved business data, thereby achieving in-depth understanding and prediction of user behavior, business needs, service quality, etc., and providing data support and decision-making basis for the business data demanders. Target users include but are not limited to operators, government departments, financial institutions, advertising and marketing companies, research institutions and academia. Operators can use business data mining technology to analyze customers' communication behaviors to determine their needs and trends, provide more targeted services, and optimize and plan networks based on the predicted results; government departments can use business data mining technology to accurately monitor and manage urban migrant populations, traffic congestion, public safety and other aspects to determine more effective policy decisions; banks, credit card companies and other financial institutions can use business data mining technology to analyze customers' credit, consumption characteristics, risk assessment and other aspects, specify more reasonable financial products and pricing strategies to improve risk control capabilities; advertising and marketing companies can use business data mining technology to analyze customer needs and preferences to specify more accurate advertising and marketing strategies to improve advertising effectiveness and return on investment; research institutions and academia can use business data to conduct social science research, data mining and model building, and provide theoretical and practical support for social and economic development.
[0056] Specifically, when the target user needs to retrieve the required target business data from the operating device, the target user will send a data call request to the operating device through the terminal device. Further, after the operating device receives the data call request sent by the target user through the terminal device, the operating device authenticates the target user to determine the target user's data call qualification.
[0057] Furthermore, if the identity authentication of the target user is successful, the operation device parses the data call request, obtains the request content, and approves the request content.
[0058] Furthermore, if the request content is approved, the operating device obtains the target business data.
[0059] Furthermore, the operation device determines a data encryption method and a data transmission method of the target business data.
[0060] Further, the operation device determines a key generation algorithm based on the data encryption method, and generates a first seed key based on the key generation algorithm. Further, the operation device encrypts the target business data based on the key generation algorithm and the first seed key to obtain target encrypted data, so that the target user can perform data mining and analysis on the target encrypted data.
[0061] Furthermore, the operating device calculates a hash value for the target business data based on a global hash function to obtain a global hash value for the target business data, wherein the global hash function is used to map different input data to a unique hash value stored in a hash table.
[0062] Furthermore, the operating device generates a second security auxiliary file based on the data encryption method, the first seed key, the key generation algorithm, and the global hash function, wherein the second security auxiliary file is used to provide a method for the target user to decrypt the target encrypted data.
[0063] Furthermore, the operating device sends the target encrypted data and the second security auxiliary file to the target user through data transmission.
[0064] Furthermore, after the target user receives the target encrypted data and the second security auxiliary file sent by the operating device through the terminal device, the terminal device decrypts the target encrypted data based on the data encryption method, the first seed key, the key generation algorithm, and the global hash function in the second security auxiliary file to obtain the target business data, so that the target user can perform data mining and analysis on the target encrypted data.
[0065] It should be noted that the update of business data is a dynamic process. Business data will be updated in business activities, customer interactions, external environment changes and data quality management, that is, the business data generated by the original related business will be modified, added or deleted.
[0066] Further, when there is updated data for the target service of the target user, the operating device detects that there is updated data for the target service of the target user and obtains the updated data. Further, the operating device determines the updated data to be called for the target service based on the obtained updated data.
[0067] Furthermore, the operating device determines the global hash value of the target service data originally called by the target user as the second seed key. Furthermore, the operating device encrypts the update data to be called based on the key generation algorithm and the second seed key to obtain updated encrypted data.
[0068] It should be noted that after the operating device obtains the updated encrypted data, the operating device will calculate the hash value of the update data to be called based on the global hash function, and obtain the global hash value of the update data to be called, so that in the subsequent process of continuing to call the update data, the global hash value of the update data to be called can be used as a new seed key to generate a new security auxiliary file. In other words, in each update data call process, the global hash function will be used to calculate the hash value of the current update data to be called, and the global hash value of the current update data to be called will be obtained, and the global hash value will be determined as the seed key of the current update data call process. Then, each subsequent update data call process only needs to change the seed key according to the global hash value, and there is no need for the strict encryption process used in the first call, which greatly simplifies the encryption process of the update data to be called, and also greatly simplifies the decryption process of the update encrypted data.
[0069] Furthermore, the operating device generates a first security auxiliary file based on the data encryption method, the second seed key, the key generation algorithm, and the global hash function, wherein the first security auxiliary file is used to provide a method for the target user to decrypt the updated encrypted data.
[0070] Furthermore, the operating device sends the updated encrypted data and the first security auxiliary file to the target user through data transmission.
[0071] Furthermore, after the target user receives the updated encrypted data and the first security auxiliary file sent by the operating device through the terminal device, the terminal device decrypts the updated encrypted data based on the data encryption method, the second seed key, the key generation algorithm, and the global hash function in the first security auxiliary file to obtain the updated data to be called.
[0072] Furthermore, the target user merges the target service data and the updated data to be called through the terminal device to obtain updated calling data, so that the target user can perform data mining and analysis on the updated calling data.
[0073] It should be noted that since the update of business data is a dynamic process, the operating equipment will use the above-mentioned update data calling method to obtain the update data to be called and send it to the target user each time the existence of update data is detected, so that the target user can decrypt the update data to be called and merge it into the update data obtained in the last update data calling process, and further perform data mining and analysis on the integrated update data.
[0074] The updated data calling method provided in the embodiment of the present invention, when it is detected that there is updated data for the target business of the target user, only needs to encrypt the updated data and transmit it to the target user, which simplifies the data calling process and can improve the transmission efficiency of the updated data during the calling process. At the same time, the target user does not need to obtain the full encrypted calling data every time there is updated data in the target business data, and can obtain the updated data in time, thereby meeting the data timeliness requirements.
[0075] Furthermore, before detecting that the target service of the target user has updated data, the method further includes:
[0076] Based on the data call request of the target user, obtaining the target business data required by the target user;
[0077] Encrypting the target business data to obtain target encrypted data;
[0078] Generate a second security auxiliary file; the second security auxiliary file is used to provide the target user with a method for decrypting the target encrypted data;
[0079] The target encrypted data and the second security auxiliary file are sent to the target user; wherein, after receiving the target encrypted data and the second security auxiliary file, the target user extracts the target business data based on the target encrypted data and the second security auxiliary file.
[0080] Specifically, when the target user needs to retrieve the required target business data from the operating device, the target user will send a data call request to the operating device through the terminal device. Further, after the operating device receives the data call request sent by the target user through the terminal device, the operating device authenticates the target user to determine the target user's data call qualification.
[0081] Furthermore, if the identity authentication of the target user is successful, the operation device parses the data call request, obtains the request content, and approves the request content.
[0082] Furthermore, if the request content is approved, the operating device obtains the target business data.
[0083] Furthermore, the operating device encrypts the target business data to obtain target encrypted data.
[0084] Furthermore, the operating device generates a second security auxiliary file, wherein the second security auxiliary file is used to provide a method for the target user to decrypt the target encrypted data.
[0085] Furthermore, the operating device sends the target encrypted data and the second security auxiliary file to the target user through data transmission.
[0086] Furthermore, after the target user receives the target encrypted data and the second security auxiliary file sent by the operating device through the terminal device, the terminal device decrypts the target encrypted data based on the second security auxiliary file to obtain the target business data.
[0087] The embodiment of the present invention obtains the target business data required by the target user based on the data call request of the target user, encrypts the target business data to obtain target encrypted data, further generates a second security auxiliary file, and sends the target encrypted data and the second security auxiliary file to the target user, so that the target user can extract the target business data based on the target encrypted data and the second security auxiliary file, thereby implementing strict security measures for the target business data, which can effectively protect the security of the target business data and improve the reliability, confidentiality and security of the called data.
[0088] Furthermore, the step of acquiring target service data required by the target user based on the data call request of the target user includes:
[0089] Authenticate the target user;
[0090] If the identity authentication of the target user is successful, the data call request is parsed to obtain the request content, and the request content is approved; the request content includes the purpose of the target business data call and the frequency of use of the target business data;
[0091] If the request content is approved, the target business data is obtained.
[0092] Specifically, the operating device obtains the identity information of the target user and authenticates the target user based on the identity information of the target user, wherein the identity information of the target user includes but is not limited to the user account, user password, and digital certificate. Therefore, the operating device can perform identity matching on the user account, user password, and digital certificate of the target user. If the identity information of the user who has pre-signed the cooperation agreement is matched, it indicates that the identity authentication of the target user is successful, and the user who has pre-signed the cooperation agreement has the authority to call the business data stored in the database of the operating device.
[0093] Furthermore, if the identity authentication of the target user is successful, the operating device parses the data request to obtain the request content, wherein the request content includes the target business data that the target user needs to call, the purpose of calling the target business data, and the frequency of use of the target business data.
[0094] Furthermore, the operation device approves the request content, that is, the operation device approves the purpose of calling the target business data and the frequency of use of the target business data to determine whether the purpose of calling the target business data and the frequency of use of the target business data comply with the call authority corresponding to the identity of the target user. It should be noted that the operation device's approval of the request content can ensure that the use of the target business data complies with regulations and prevents data from being abused or leaked, and can further implement strict security measures.
[0095] Furthermore, if the request content is approved, the operating device obtains the target business data.
[0096] The embodiment of the present invention authenticates the identity of the target user. If the identity authentication of the target user is successful, the data call request is parsed to obtain the request content, and the request content is approved. Further, if the request content is approved, the target business data is obtained, and then the encryption process of the target business data is implemented and a second security auxiliary file is generated, so that the target user can extract the target business data based on the target encrypted data and the second security auxiliary file, thereby implementing strict security measures for the target business data, which can effectively protect the security of the target business data and improve the reliability, confidentiality and security of the called data.
[0097] Further, the encrypting the target business data to obtain target encrypted data includes:
[0098] Determining the security level of the target business data;
[0099] Based on the security level, determining a data encryption method for the target business data;
[0100] Based on the data encryption method, the target business data is encrypted to obtain target encrypted data.
[0101] Specifically, the operating device performs security level matching according to the acquired target business data to obtain the security level of the target business data. It should be noted that the security level of the business data is preset before the data is collected and stored in the database, and no special security level setting is made here.
[0102] It should be further explained that different data security levels correspond to different data encryption and decryption methods and data transmission methods. Data encryption and decryption methods correspond to different encryption and decryption processes. Data encryption and decryption methods include but are not limited to symmetric encryption methods and asymmetric encryption methods. Among them, the symmetric encryption method uses the same key in the encryption and decryption process, which is easy to cause key leakage and data attack. Then, the security level of the symmetric encryption method is relatively low, so its corresponding data security level is relatively low; the asymmetric encryption method uses different public keys and private keys for encryption and decryption, and the key confidentiality is higher. Then, the asymmetric encryption method has a higher security level than the symmetric encryption method, so its corresponding data security level is relatively high. By setting different data security levels to match the appropriate data encryption and decryption methods, the efficiency of data transmission can be improved. The means of data transmission mainly selects physical transmission methods with different security. The physical transmission methods include but are not limited to public networks, private networks, quantum communication networks or removable physical media. Different data transmission methods bring different security effects. Generally speaking, for better confidentiality and security, private network transmission methods are used to transmit data.
[0103] Furthermore, the operating device determines a data encryption method and a data transmission method of the target business data based on the security level of the target business data.
[0104] Furthermore, the operating device encrypts the target business data based on the data encryption method to obtain target encrypted data.
[0105] The embodiment of the present invention determines the security level of the target business data, and based on the security level, determines the data encryption method and data transmission method of the target business data, and further encrypts the target business data based on the data encryption method to obtain target encrypted data, thereby implementing the encryption process of the target business data and generating a second security auxiliary file, so that the target user can extract the target business data based on the target encrypted data and the second security auxiliary file, thereby implementing strict security measures for the target business data, which can effectively protect the security of the target business data and improve the reliability, confidentiality and security of the called data.
[0106] Further, the target business data is encrypted based on the data encryption method to obtain target encrypted data, including:
[0107] Based on the data encryption method, determine a key generation algorithm;
[0108] Based on the key generation algorithm, generate a first seed key;
[0109] Generate a first encryption key based on the key generation algorithm and the first seed key;
[0110] The target business data is encrypted based on the first encryption key to obtain target encrypted data.
[0111] Specifically, the operating device determines the key generation algorithm based on the data encryption method, and generates a first seed key based on the key generation algorithm. Further, the operating device generates a first encryption key based on the key generation algorithm and the first seed key. It should be noted that after determining the key generation algorithm, according to the rules of the key generation algorithm, a seed key can be generated through a random number generator. The seed key is one of the input parameters of the key generation algorithm. By using the seed key as an input parameter of the key generation algorithm, a corresponding key can be generated based on the seed.
[0112] Furthermore, the operating device encrypts the target business data based on the first encryption key to obtain target encrypted data.
[0113] The embodiment of the present invention determines a key generation algorithm based on a data encryption method, generates a first seed key based on the key generation algorithm, generates a first encryption key based on the key generation algorithm and the first seed key, and further encrypts the target business data based on the first encryption key to obtain target encrypted data, thereby realizing the encryption process of the target business data, and then generating a second security auxiliary file, so that the target user can extract the target business data based on the target encrypted data and the second security auxiliary file, thereby realizing strict security measures for the target business data, which can effectively protect the security of the target business data and improve the reliability, confidentiality and security of the called data.
[0114] Furthermore, before generating the second safety auxiliary file, the method further includes:
[0115] Based on the global hash function, the target business data is hashed to obtain the global hash value of the target business data; the global hash function is used to map different input data to unique hash values stored in a hash table.
[0116] Specifically, the operating device calculates a hash value of the target business data based on a global hash function to obtain a global hash value of the target business data.
[0117] It should be noted that the global hash function is a function that quickly maps data to a hash table. In a hash table, each data item is stored in a position in an array, and the global hash function is required to calculate the location of the data item to obtain the data item. The global hash function is a special hash function applied to hash tables with a large amount of data. When using the global hash function, each data item can use the same global hash function to calculate a unique hash value for the data item, and each data item will not conflict with other data items when stored in the hash table, so as to reduce the collision rate of the hash table and improve the efficiency of the hash table.
[0118] The embodiment of the present invention calculates the hash value of the target business data based on the global hash function, obtains the global hash value of the target business data, and then determines it as the second seed key, and generates the corresponding key. By using the hash value of the data transmitted between the sender and the receiver as the key, a simplified security measure can be implemented, and the transmission efficiency and encryption and decryption efficiency in the update data call can also be improved.
[0119] Further, based on step 200, the update data to be called is encrypted to obtain updated encrypted data, including:
[0120] Determine the global hash value of the target business data as a second seed key;
[0121] generating a second encryption key based on the key generation algorithm and the second seed key;
[0122] The update data to be called is encrypted based on the second encryption key to obtain updated encrypted data.
[0123] Specifically, the operation device determines the global hash value of the target business data as the second seed key. Further, the operation device generates a second encryption key based on the key generation algorithm and the second seed key.
[0124] Furthermore, the operating device encrypts the update data to be called based on the second encryption key to obtain updated encrypted data.
[0125] The embodiment of the present invention determines the global hash value of the target business data as the second seed key, generates a second encryption key based on the key generation algorithm and the second seed key, and further encrypts the update data to be called based on the second encryption key to obtain updated encrypted data, and then generates a first security auxiliary file, so that the target user can extract the update data to be called based on the updated encrypted data and the first security auxiliary file. During the entire data update process, it is only necessary to encrypt the update data and transmit it to the target user, which simplifies the data calling process and can improve the transmission efficiency of the update data during the calling process. At the same time, the target user does not need to obtain the full encrypted calling data every time there is updated data in the target business data, and can obtain the updated data in time, thereby meeting the data timeliness requirements.
[0126] Further, refer to Figure 2 , Figure 2 : is a flow chart of the overall solution of the update data calling method provided by an embodiment of the present invention. Therefore, taking the update data occurring once as an example, the overall process of the update data calling method provided by the present invention can be understood as follows:
[0127] When the target user needs to retrieve the required target business data from the operating device, the target user will send a data call request to the operating device through the terminal device.
[0128] Furthermore, after the operating device receives the data call request sent by the target user through the terminal device, the operating device obtains the identity information of the target user, and performs identity authentication on the target user based on the identity information of the target user to determine the data call qualification of the target user.
[0129] Furthermore, if the identity authentication of the target user is successful, the operation device parses the data request, obtains the request content, and approves the request content.
[0130] Furthermore, if the request content is approved, the operating device obtains the target business data.
[0131] Furthermore, the operating device performs security level matching based on the acquired target business data to obtain the security level of the target business data.
[0132] Furthermore, the operating device determines a data encryption method and a data transmission method of the target business data based on the security level of the target business data.
[0133] Furthermore, the operating device determines a key generation algorithm based on the data encryption method, and generates a first seed key based on the key generation algorithm. Furthermore, the operating device generates a first encryption key based on the key generation algorithm and the first seed key.
[0134] Furthermore, the operating device encrypts the target business data based on the first encryption key to obtain target encrypted data.
[0135] Furthermore, the operating device calculates a hash value for the target business data based on a global hash function to obtain a global hash value of the target business data.
[0136] Furthermore, the operating device generates a second security auxiliary file based on the data encryption method, the first seed key, the key generation algorithm, and the global hash function.
[0137] Furthermore, the operating device sends the target encrypted data and the second security auxiliary file to the target user through data transmission.
[0138] Furthermore, after the target user receives the target encrypted data and the second security auxiliary file sent by the operating device through the terminal device, the terminal device decrypts the target encrypted data based on the data encryption method, the first seed key, the key generation algorithm, and the global hash function in the second security auxiliary file to obtain the target business data, so that the target user can perform data mining and analysis on the target encrypted data.
[0139] Furthermore, when there is updated data for the target service data required by the target user, the operating device detects that there is updated data for the target service of the target user and obtains the updated data. Furthermore, the operating device determines the updated data to be called for the target service based on the obtained updated data.
[0140] Furthermore, the operating device determines the global hash value of the target service data originally called by the target user as the second seed key. Furthermore, the operating device encrypts the update data to be called based on the key generation algorithm and the second seed key to obtain updated encrypted data.
[0141] Furthermore, the operating device generates a first security auxiliary file based on the data encryption method, the second seed key, the key generation algorithm, and the global hash function.
[0142] Furthermore, the operating device sends the updated encrypted data and the first security auxiliary file to the target user through data transmission.
[0143] Furthermore, after the target user receives the updated encrypted data and the first security auxiliary file sent by the operating device through the terminal device, the terminal device decrypts the updated encrypted data based on the data encryption method, the second seed key, the key generation algorithm, and the global hash function in the first security auxiliary file to obtain the updated data to be called.
[0144] Furthermore, the target user merges the target service data and the updated data to be called through the terminal device to obtain updated calling data, so that the target user can perform data mining and analysis on the updated calling data.
[0145] Furthermore, the present invention also provides an update data calling device.
[0146] Reference Figure 3 , Figure 3 It is a functional module diagram of an embodiment of the updating data calling device of the present invention.
[0147] The update data calling device comprises:
[0148] A determination module 310 is used to detect that there is updated data of a target service of a target user, and determine the updated data to be called of the target service;
[0149] The encryption module 320 is used to encrypt the update data to be called to obtain updated encrypted data;
[0150] The auxiliary file generation module 330 is used to generate a first security auxiliary file; the security auxiliary file is used to provide the target user with a method for decrypting the updated encrypted data;
[0151] The sending module 340 is used to send the updated encrypted data and the first security auxiliary file to the target user; wherein, after sending the updated encrypted data and the first security auxiliary file to the target user, the target user extracts the update data to be called based on the updated encrypted data and the first security auxiliary file.
[0152] The updated data calling device provided by the present invention, when detecting that there is updated data for the target business of the target user, only needs to encrypt the updated data and transmit it to the target user, thereby simplifying the data calling process and improving the transmission efficiency of the updated data during the calling process. At the same time, the target user does not need to obtain the full encrypted calling data every time there is updated data in the target business data, and can obtain the updated data in time, thereby meeting the data timeliness requirements.
[0153] In one embodiment, the update data calling device is further used for:
[0154] Based on the data call request of the target user, obtaining the target business data required by the target user;
[0155] Encrypting the target business data to obtain target encrypted data;
[0156] Generate a second security auxiliary file; the second security auxiliary file is used to provide the target user with a method for decrypting the target encrypted data;
[0157] The target encrypted data and the second security auxiliary file are sent to the target user; wherein, after receiving the target encrypted data and the second security auxiliary file, the target user extracts the target business data based on the target encrypted data and the second security auxiliary file.
[0158] In one embodiment, the update data calling device is further used for:
[0159] Authenticate the target user;
[0160] If the identity authentication of the target user is successful, the data call request is parsed to obtain the request content, and the request content is approved; the request content includes the purpose of the target business data call and the frequency of use of the target business data;
[0161] If the request content is approved, the target business data is obtained.
[0162] In one embodiment, the update data calling device is further used for:
[0163] Determining the security level of the target business data;
[0164] Based on the security level, determining a data encryption method for the target business data;
[0165] Based on the data encryption method, the target business data is encrypted to obtain target encrypted data.
[0166] In one embodiment, the update data calling device is further used for:
[0167] Based on the data encryption method, determine a key generation algorithm;
[0168] Based on the key generation algorithm, generate a first seed key;
[0169] Generate a first encryption key based on the key generation algorithm and the first seed key;
[0170] The target business data is encrypted based on the first encryption key to obtain target encrypted data.
[0171] In one embodiment, the update data calling device is further used for:
[0172] Based on the global hash function, the target business data is hashed to obtain the global hash value of the target business data; the global hash function is used to map different input data to unique hash values stored in a hash table.
[0173] In one embodiment, the encryption module 320 is further configured to:
[0174] Determine the global hash value of the target business data as a second seed key;
[0175] generating a second encryption key based on the key generation algorithm and the second seed key;
[0176] The update data to be called is encrypted based on the second encryption key to obtain updated encrypted data.
[0177] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the data management technology program in the memory 430 to execute the steps of the update data calling method, for example, including:
[0178] Detecting that there is updated data for a target service of a target user, and determining updated data to be called for the target service;
[0179] Encrypting the update data to be called to obtain updated encrypted data;
[0180] Generate a first security auxiliary file; the security auxiliary file is used to provide the target user with a method for decrypting the updated encrypted data;
[0181] The updated encrypted data and the first security auxiliary file are sent to the target user; wherein, after receiving the updated encrypted data and the first security auxiliary file, the target user extracts the update data to be called based on the updated encrypted data and the first security auxiliary file.
[0182] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a data management technology readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the data management technology software product is stored in a storage medium, including a number of instructions to enable a data management technology device (which can be a personal data management technology, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0183] On the other hand, an embodiment of the present invention further provides a medium, which is a data management technology readable storage medium, and the data management technology readable storage medium stores a data management technology program, and the data management technology program is used to enable a processor to execute the steps of the methods provided in the above embodiments, for example, including:
[0184] Detecting that there is updated data for a target service of a target user, and determining updated data to be called for the target service;
[0185] Encrypting the update data to be called to obtain updated encrypted data;
[0186] Generate a first security auxiliary file; the security auxiliary file is used to provide the target user with a method for decrypting the updated encrypted data;
[0187] The updated encrypted data and the first security auxiliary file are sent to the target user; wherein, after receiving the updated encrypted data and the first security auxiliary file, the target user extracts the update data to be called based on the updated encrypted data and the first security auxiliary file.
[0188] The data management technology readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.
[0189] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0190] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution can essentially or in other words, contribute to the prior art in the form of a software product, and the data management technology software product can be stored in a data management technology readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for enabling a data management technology device (which can be a personal data management technology, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0191] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for updating data calling, characterized in that: Applied to operating equipment, the update data calling method includes: Detecting that there is updated data for a target service of a target user, and determining updated data to be called for the target service; Encrypting the update data to be called to obtain updated encrypted data; Generate a first security auxiliary file; the security auxiliary file is used to provide the target user with a method for decrypting the updated encrypted data; The updated encrypted data and the first security auxiliary file are sent to the target user; wherein, after receiving the updated encrypted data and the first security auxiliary file, the target user extracts the update data to be called based on the updated encrypted data and the first security auxiliary file.
2. The update data calling method according to claim 1, characterized in that: Before detecting that the target service of the target user has updated data, the following steps are also included: Based on the data call request of the target user, obtaining the target business data required by the target user; Encrypting the target business data to obtain target encrypted data; Generate a second security auxiliary file; the second security auxiliary file is used to provide the target user with a method for decrypting the target encrypted data; The target encrypted data and the second security auxiliary file are sent to the target user; wherein, after receiving the target encrypted data and the second security auxiliary file, the target user extracts the target business data based on the target encrypted data and the second security auxiliary file.
3. The update data calling method according to claim 2, characterized in that: The step of acquiring target service data required by the target user based on the data call request of the target user includes: Authenticate the target user; If the identity authentication of the target user is successful, the data call request is parsed to obtain the request content, and the request content is approved; the request content includes the purpose of calling the target business data and the frequency of use of the target business data; If the request content is approved, the target business data is obtained.
4. The update data calling method according to claim 3, characterized in that: The step of encrypting the target business data to obtain target encrypted data includes: Determining the security level of the target business data; Based on the security level, determining a data encryption method for the target business data; Based on the data encryption method, the target business data is encrypted to obtain target encrypted data.
5. The update data calling method according to claim 4, characterized in that: The step of encrypting the target business data based on the data encryption method to obtain target encrypted data includes: Based on the data encryption method, determine a key generation algorithm; Based on the key generation algorithm, generate a first seed key; Generate a first encryption key based on the key generation algorithm and the first seed key; The target business data is encrypted based on the first encryption key to obtain target encrypted data.
6. The update data calling method according to claim 5, characterized in that: Before generating the second safety auxiliary file, it also includes: Based on the global hash function, the target business data is subjected to hash value calculation to obtain the global hash value of the target business data; the global hash function is used to map different input data to unique hash values stored in a hash table.
7. The update data calling method according to claim 6, characterized in that: The step of encrypting the update data to be called to obtain updated encrypted data includes: Determine the global hash value of the target business data as a second seed key; generating a second encryption key based on the key generation algorithm and the second seed key; The update data to be called is encrypted based on the second encryption key to obtain updated encrypted data.
8. An update data calling device, characterized in that: Applied to operators, the update data calling device includes: A determination module, configured to detect that there is updated data for a target service of a target user, and determine the updated data to be called for the target service; An encryption module, used for encrypting the update data to be called to obtain updated encrypted data; An auxiliary file generation module, used to generate a first security auxiliary file; the security auxiliary file is used to provide the target user with a method for decrypting the updated encrypted data; A sending module is used to send the updated encrypted data and the first security auxiliary file to the target user; wherein, after sending the updated encrypted data and the first security auxiliary file to the target user, the target user extracts the update data to be called based on the updated encrypted data and the first security auxiliary file.
9. An electronic device comprising a processor and a memory storing a data management technology program, characterized in that: When the processor executes the data management technology program, the update data calling method described in any one of claims 1 to 7 is implemented.
10. A storage medium, the storage medium being a data management technology readable storage medium, comprising a data management technology program, characterized in that: When the data management technology program is executed by a processor, the update data calling method described in any one of claims 1 to 7 is implemented.
