Data updating method and device, computer equipment and storage medium
By automatically detecting data table changes, matching change fields and generating update information, the problem of inefficient update of privacy protocols for financial APPs is solved, and efficient and intelligent privacy protocol updates are achieved to ensure data accuracy and adaptability.
Patent Information
- Application Number
- CN202411774336.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-18
AI Technical Summary
The privacy protocol update of existing financial APPs mainly relies on manual operations, is inefficient, difficult to adapt to the rapidly changing market demand and APP iteration speed, and the update processing lacks intelligence.
By determining whether there are any information changes in the target data table, obtain the change field, and match it with the preset user information list, generate update information corresponding to the original privacy agreement, automatically update the privacy agreement, and form the target privacy agreement.
It improves the efficiency and intelligence of privacy protocol update processing, ensures the accuracy of the updated privacy protocol data, and adapts to rapidly changing market demand and APP iteration speed.
Smart Images

Figure CN119646012A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the fields of data processing technology, financial technology, and digital medicine, and in particular to data updating methods, devices, computer equipment, and storage media. Background Art
[0002] With the rapid development of information technology, especially in the financial field, personal information privacy protection has become a focus of widespread concern within and outside the industry. As an important platform for users to conduct various financial transactions and services, the compliance of financial APPs’ privacy policies is directly related to the user’s trust and the legal security of the enterprise. As an important document between APPs and users regarding the processing of personal information, the privacy agreement must be detailed, accurate and transparent so that users can fully understand and agree to the APP’s collection, use and protection of their personal information.
[0003] According to current rules, the privacy agreement of financial apps must clearly inform users of the specific product functions of the app, the types of user information collected, and the purpose of using this information. This regulation is intended to protect users' right to know and right to choose, and to ensure the legality and legitimacy of personal information processing activities. However, in actual operations, with the continuous optimization and iteration of app functions, the types of user information involved in a certain function and its purpose are often added, modified, or deleted. This requires that the content of the privacy agreement must be updated in a timely manner to maintain consistency with the actual functions of the app and avoid compliance risks caused by inconsistent information.
[0004] However, the update of privacy protocols of existing applications mainly relies on manual operations, which is inefficient and difficult to adapt to the rapidly changing market demands and APP iteration speed. The update process lacks intelligence. Summary of the invention
[0005] The purpose of the embodiments of the present application is to propose a data update method, apparatus, computer device and storage medium to solve the technical problems that the update of the privacy protocol of existing applications mainly relies on manual operation, the manual update efficiency is low, and the update processing lacks intelligence.
[0006] In order to solve the above technical problems, the present application provides a data updating method, which adopts the following technical solution:
[0007] Determine whether an information change event is detected in the target data table;
[0008] If yes, obtain the changed fields in the target data table;
[0009] Matching the changed field with a preset user information list, and determining whether there is a specified information type corresponding to the changed field in the user information list;
[0010] If yes, obtain the preset original privacy agreement;
[0011] Generate update information corresponding to the original privacy agreement based on the changed field;
[0012] The original privacy protocol is updated based on the update information to obtain a corresponding target privacy protocol.
[0013] Furthermore, the step of determining whether an information change event is detected in the target data table specifically includes:
[0014] Call the preset event scheduler;
[0015] Perform monitoring processing on the structure information change of the target data table based on the event scheduler;
[0016] If a change signal triggered by the event scheduler is received, determining that an information change event occurs in the target data table;
[0017] If the change signal triggered by the event scheduler is not received, it is determined that no information change event occurs in the target data table.
[0018] Furthermore, the step of generating update information corresponding to the original privacy agreement in the changed field specifically includes:
[0019] Calling the target data table;
[0020] Performing information query on the target data table based on the changed field, so as to query target field annotation information corresponding to the changed field from the target data table;
[0021] The target field annotation information is used as the update information.
[0022] Furthermore, the step of updating the original privacy protocol based on the update information to obtain the corresponding target privacy protocol specifically includes:
[0023] Based on the update information, generate update description information corresponding to the original privacy agreement;
[0024] Merging the update description information with the original privacy agreement to obtain a corresponding merged agreement;
[0025] The merged protocol is used as the target privacy protocol.
[0026] Furthermore, after the step of updating the original privacy protocol based on the update information to obtain the corresponding target privacy protocol, the method further includes:
[0027] Conducting compliance assessment on the target privacy protocol to obtain corresponding compliance assessment results;
[0028] If the compliance assessment result is that the target privacy agreement has passed the compliance assessment, the target privacy agreement is published online;
[0029] If the compliance assessment result is that the target privacy protocol fails the compliance assessment, the target privacy protocol is optimized to obtain an optimized designated privacy protocol;
[0030] The designated privacy agreement is published online.
[0031] Furthermore, the step of performing compliance assessment on the target privacy protocol to obtain a corresponding compliance assessment result specifically includes:
[0032] Evaluate the target privacy protocol based on a preset rule database to obtain a corresponding first evaluation result;
[0033] Performing risk assessment on the target privacy protocol based on a preset risk assessment strategy to obtain a corresponding second assessment result;
[0034] The first assessment result and the second assessment result are analyzed and processed to generate a compliance assessment result corresponding to the target privacy agreement.
[0035] Further, based on the first evaluation result and the second evaluation result, problematic information in the target privacy protocol is located;
[0036] Obtaining a specified modification suggestion template corresponding to the problem information;
[0037] Generate a corresponding modification suggestion based on the problem information and the specified modification suggestion template;
[0038] Based on a preset modification tool, modify the target privacy protocol using the modification suggestion to obtain a modified privacy protocol;
[0039] The modified privacy protocol is used as the designated modified protocol.
[0040] In order to solve the above technical problems, the embodiment of the present application further provides a data updating device, which adopts the following technical solution:
[0041] A first judgment module is used to judge whether an information change event is detected in the target data table;
[0042] A first acquisition module, configured to acquire the changed fields in the target data table;
[0043] A second judgment module is used to match the changed field with a preset user information list, and judge whether there is a specified information type corresponding to the changed field in the user information list;
[0044] A second acquisition module, for acquiring a preset original privacy agreement if yes;
[0045] A generating module, configured to generate update information corresponding to the original privacy agreement based on the changed field;
[0046] An updating module is used to update the original privacy protocol based on the update information to obtain a corresponding target privacy protocol.
[0047] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:
[0048] Determine whether an information change event is detected in the target data table;
[0049] If yes, obtain the changed fields in the target data table;
[0050] Matching the changed field with a preset user information list, and determining whether there is a specified information type corresponding to the changed field in the user information list;
[0051] If yes, obtain the preset original privacy agreement;
[0052] Generate update information corresponding to the original privacy agreement based on the changed field;
[0053] The original privacy protocol is updated based on the update information to obtain a corresponding target privacy protocol.
[0054] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0055] Determine whether an information change event is detected in the target data table;
[0056] If yes, obtain the changed fields in the target data table;
[0057] Matching the changed field with a preset user information list, and determining whether there is a specified information type corresponding to the changed field in the user information list;
[0058] If yes, obtain the preset original privacy agreement;
[0059] Generate update information corresponding to the original privacy agreement based on the changed field;
[0060] The original privacy protocol is updated based on the update information to obtain a corresponding target privacy protocol.
[0061] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0062] The present application first determines whether an information change event is detected in the target data table; if so, obtains the change field in the target data table; then matches the change field with the preset user information list to determine whether there is a specified information type corresponding to the change field in the user information list; if so, obtains the preset original privacy agreement; subsequently generates update information corresponding to the original privacy agreement based on the change field; finally, updates the original privacy agreement based on the update information to obtain the corresponding target privacy agreement. When the present application detects an information change event in the target data table, by obtaining the change field in the target data table and matching the change field with the preset user information list, if it is detected that there is a specified information type corresponding to the change field in the user information list, it will generate update information corresponding to the preset original privacy agreement based on the change field, and then automatically and accurately update the original privacy agreement based on the use of the update information, and obtain the corresponding target privacy agreement. Different from the existing manual processing method for updating the privacy agreement, the present application can effectively improve the processing efficiency and processing intelligence for updating the privacy agreement, and ensure the data accuracy of the updated target privacy agreement. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0064] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0065] Figure 2 A flowchart of an embodiment of a data updating method according to the present application;
[0066] Figure 3 is a structural schematic diagram of an embodiment of a data updating device according to the present application;
[0067] Figure 4It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION
[0068] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0069] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0070] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0071] like Figure 1 As shown, the system architecture 100 may include a terminal device 101, a network 102 and a server 103. The terminal device 101 may be a laptop 1011, a tablet computer 1012 or a mobile phone 1013. The network 102 is used to provide a medium for a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0072] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0073] The terminal device 101 can be any electronic device with a display screen and supporting web browsing. In addition to the laptop computer 1011, tablet computer 1012 or mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a laptop computer, a desktop computer, etc.
[0074] The server 103 may be a server that provides various services, such as a background server that provides support for a web page displayed on the terminal device 101 .
[0075] It should be noted that the data updating method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the data updating device is generally arranged in the server / terminal device.
[0076] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0077] Continue to refer Figure 2 , shows a flow chart of an embodiment of the data update method according to the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The data update method provided in the embodiment of the present application can be applied to any scenario where data update is required, and the data update method can be applied to products in these scenarios, for example, protocol updates in the financial insurance field. The data update method comprises the following steps:
[0078] Step S201, determining whether an information change event is detected in a target data table.
[0079] In this embodiment, the data updating method is executed on the electronic device (eg Figure 1The server / terminal device shown in the figure) can obtain information change events through a wired connection or a wireless connection. It should be noted that the above-mentioned wireless connection method may include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or developed in the future. The execution subject of this application is specifically a data update system, or simply referred to as a system, and the data update system is integrated into the target application. In the business scenario of the financial field, the target application may include claims application, financial management application, insurance application, etc. In the business scenario of the medical field, the target application may include medical application, health consultation application, etc. The above-mentioned target data table is a pre-constructed database metadata table storing each type of user information collected by each business function. And the user information will be stored in the database metadata table in the form of a column structure. Each column corresponds to multiple fields, and field annotation information corresponding to each field. Among them, the specific implementation process of the above-mentioned judgment on whether an information change event is detected in the target data table will be further described in detail in the subsequent specific embodiments of this application, and will not be elaborated on here.
[0080] Step S202: If yes, obtain the changed fields in the target data table.
[0081] In this embodiment, an analysis component is pre-built, and the change information corresponding to the information change event appearing in the target data table is parsed by using the analysis component, and which fields are newly added, which fields are modified, and which fields are deleted, thereby obtaining the corresponding changed fields. The change information may include the change type, field name, data type, etc. In addition to the field name, the change field may also carry the corresponding change type.
[0082] Step S203: Match the changed field with a preset user information list to determine whether there is a specified information type corresponding to the changed field in the user information list.
[0083] In this embodiment, a user information list is pre-constructed, and the information types listed in the user information list are consistent with the information types described in the privacy agreement. If the service adds a new type of information to be collected, then both documents (user information list and privacy agreement) should be updated accordingly. Among them, by matching the above-mentioned changed fields with the above-mentioned user information list, if it is detected that there is a specified information type corresponding to the changed field in the user information list, it is determined that the information change in the target data table is correct and compliant, and then the original privacy agreement needs to be updated accordingly. Specifically, the corresponding field annotation information of the target data table can be automatically used to update the description of the user information type and purpose in the original privacy agreement of the target application.
[0084] Step S204: If yes, obtain the preset original privacy protocol.
[0085] In this embodiment, the above-mentioned original privacy agreement refers to the privacy agreement currently set by the target application. The content of the privacy agreement generally requires that users be clearly informed of the product functions of the application (APP), the types of user information collected, and the purpose. For example, for the registration and login of the APP, it is generally stated in the privacy agreement: When you register and log in to your APP account to use our services, we will collect your mobile phone number for login and receiving SMS verification codes; the hash value of the user password for password login; SMS verification codes for SMS verification login.
[0086] Step S205: Generate update information corresponding to the original privacy agreement based on the changed field.
[0087] In this embodiment, the specific implementation process of generating the update information corresponding to the original privacy agreement based on the changed field will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.
[0088] Step S206: updating the original privacy protocol based on the update information to obtain a corresponding target privacy protocol.
[0089] In this embodiment, the specific implementation process of updating the original privacy protocol based on the update information to obtain the corresponding target privacy protocol will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.
[0090] The present application first determines whether an information change event is detected in the target data table; if so, obtains the change field in the target data table; then matches the change field with the preset user information list to determine whether there is a specified information type corresponding to the change field in the user information list; if so, obtains the preset original privacy agreement; subsequently generates update information corresponding to the original privacy agreement based on the change field; finally, updates the original privacy agreement based on the update information to obtain the corresponding target privacy agreement. When the present application detects an information change event in the target data table, by obtaining the change field in the target data table and matching the change field with the preset user information list, if it is detected that there is a specified information type corresponding to the change field in the user information list, it will generate update information corresponding to the preset original privacy agreement based on the change field, and then automatically and accurately update the original privacy agreement based on the use of the update information, and obtain the corresponding target privacy agreement. Different from the existing manual processing method for updating the privacy agreement, the present application can effectively improve the processing efficiency and processing intelligence for updating the privacy agreement, and ensure the data accuracy of the updated target privacy agreement.
[0091] In some optional implementations, step S201 includes the following steps:
[0092] Call the default event scheduler.
[0093] In this embodiment, according to actual business requirements, an event listener for monitoring information changes of the table structure of the target data table is pre-written.
[0094] The target data table is monitored for changes in structural information based on the event scheduler.
[0095] In this embodiment, the above-mentioned event scheduler is used to monitor the changes in the structural information of the target data table. When a new, modified or deleted field is detected, the event scheduler triggers a change signal to notify the subsequent processing flow. For example, when data changes occur in business collection, the data columns of the target data table will also change accordingly, that is, they will be directly reflected in the target data table. For example, if the application needs to add other ways to log in, the relevant column structure information of the nickname, avatar, and ID corresponding to the other methods will be added to the target data table.
[0096] If a change signal triggered by the event scheduler is received, it is determined that an information change event occurs in the target data table.
[0097] In this embodiment, if a change signal triggered by the event scheduler is received, it is determined that an information change event currently occurs in the target data table.
[0098] If the change signal triggered by the event scheduler is not received, it is determined that no information change event occurs in the target data table.
[0099] In this embodiment, if the change signal triggered by the event scheduler is not received, it is determined that no information change event currently occurs in the target data table.
[0100] The present application calls a preset event scheduler; then monitors the target data table for changes in structural information based on the event scheduler; if a change signal triggered by the event scheduler is received, it is determined that an information change event has occurred in the target data table; and if a change signal triggered by the event scheduler is not received, it is determined that no information change event has occurred in the target data table. The present application monitors the target data table for changes in structural information based on the use of an event scheduler, and then detects and processes information change events in the target data table efficiently and accurately by determining whether a change signal triggered by the event scheduler is received, thereby improving the processing efficiency and processing intelligence of the detection process.
[0101] In some optional implementations of this embodiment, step S205 includes the following steps:
[0102] The target data table is called.
[0103] In this embodiment, the target data table is a pre-built database metadata table storing each type of user information collected by each business function. The user information is stored in the database metadata table in the form of a column structure. Each column corresponds to multiple fields, and field annotation information corresponding to each field. Exemplarily, the fields may include id, phone_number, password_hash, sms_code, status, created_at, updated_at, nickname, avatar, and operid; the field annotation information of id includes: user ID, unique identifier; the field annotation information of phone_number includes: mobile phone number, used for login and receiving SMS verification code; the field annotation information of password_hash includes: hash value of user password, used for password login; the field annotation information of sms_code includes: SMS verification code, used for SMS verification login; the field annotation information of status includes: user account status, 0-inactivated, 1-activated, 2-frozen; the field annotation information of created_at includes: user creation time; the field annotation information of updated_at includes: user information last updated time; the field annotation information of nickname includes: nickname, used to set account nickname; the field annotation information of avatar includes: avatar URL, used to set account avatar; the field annotation information of operid includes: account ID, used for registration and login.
[0104] The target data table is queried based on the changed field to obtain target field annotation information corresponding to the changed field from the target data table.
[0105] In this embodiment, the designated field matching the changed field can be first queried from the target data table, and then the designated field annotation information corresponding to the designated field can be obtained from the target data table and used as the target field annotation information.
[0106] The target field annotation information is used as the update information.
[0107] The present application calls the target data table, and then performs an information query on the target data table based on the use of the changed field, so as to query the target field annotation information corresponding to the changed field from the target data table; and subsequently uses the target field annotation information as the updated information. The present application calls the target data table, and then performs an information query on the target data table based on the use of the changed field, so as to query the target field annotation information corresponding to the changed field from the target data table and use it as the final updated information, thereby effectively improving the generation efficiency of the updated information and ensuring the accuracy of the updated information obtained.
[0108] In some optional implementations, step S206 includes the following steps:
[0109] Based on the update information, update description information corresponding to the original privacy protocol is generated.
[0110] In this embodiment, a generation component can be pre-built, which can automatically read the received update information and automatically convert it into the description in the original privacy protocol. Specifically, all update information can be integrated by using appropriate spacing symbols (such as semicolons) to generate corresponding update description information.
[0111] The update description information is merged with the original privacy agreement to obtain a corresponding merged agreement.
[0112] In this embodiment, the generated update description information can be merged with the existing initial privacy protocol according to a preset sorting order to form an updated privacy protocol, namely the merged protocol. The sorting order can specifically adopt the order of initial privacy protocol-update description information.
[0113] The merged protocol is used as the target privacy protocol.
[0114] In this embodiment, for example, when the APP adds, modifies or deletes the type / purpose of user information collected by a certain function, the description in the privacy agreement must also be updated at the same time, otherwise the inconsistency between the privacy agreement and the actual situation will lead to compliance risks. For example, if the original privacy agreement is described as: When you register and log in to your APP account to use our services, we will collect your mobile phone number for login and receiving SMS verification code; the hash value of the user password is used for password login; the SMS verification code is used for SMS verification login. For the above registration and login, assuming that a new login authentication method - a third-party account is needed, the content of the privacy agreement needs to be modified accordingly: When you register and log in to your APP account to use our services, we will collect your mobile phone number for login and receiving SMS verification code; the hash value of the user password is used for password login; the SMS verification code is used for SMS verification login; the nickname is used to set the account nickname; the avatar URL is used to set the account avatar; the account ID is used for registration and login. Among them, the above "nickname, used to set the account nickname; avatar URL, used to set the account avatar; account ID, used for registration and login" is the update description information, and the update description information can be marked for distinction.
[0115] This application generates update description information corresponding to the original privacy protocol based on the update information; then merges the update description information with the original privacy protocol to obtain the corresponding merged protocol; and subsequently uses the merged protocol as the target privacy protocol. This application automatically generates update description information corresponding to the original privacy protocol based on the update information, and then merges the update description information with the original privacy protocol, so that the update processing of the original privacy protocol can be completed quickly and accurately and the corresponding target privacy protocol can be obtained, thereby improving the update efficiency of the update processing of the original privacy protocol and ensuring the data accuracy of the obtained target privacy protocol.
[0116] In some optional implementations, after step S206, the electronic device may further perform the following steps:
[0117] Perform a compliance assessment on the target privacy protocol to obtain a corresponding compliance assessment result.
[0118] In this embodiment, the above-mentioned specific implementation process of performing compliance assessment on the target privacy protocol and obtaining the corresponding compliance assessment result will be further described in detail in subsequent specific embodiments of this application, and will not be elaborated in detail here.
[0119] If the compliance assessment result is that the target privacy agreement has passed the compliance assessment, the target privacy agreement is published online.
[0120] In this embodiment, according to business needs, an update component is pre-built to publish the privacy agreement that has passed the compliance assessment online. The update component can handle tasks such as version control and release notifications. Specifically, the privacy agreement that has passed the compliance assessment can be published online by using the update component. In addition, the update component can record the version number of the privacy agreement in the database. It is also possible to notify users that the privacy agreement has been updated through a push system or other channels, so that when users open the application, they are guided to view the new privacy agreement content.
[0121] If the compliance assessment result is that the target privacy protocol fails the compliance assessment, the target privacy protocol is optimized to obtain an optimized designated privacy protocol.
[0122] In this embodiment, the above-mentioned optimization processing of the target privacy protocol is performed to obtain the specific implementation process of the optimized designated privacy protocol. This application will further describe this in detail in subsequent specific embodiments, and will not be elaborated on here.
[0123] The designated privacy agreement is published online.
[0124] In this embodiment, the specified privacy protocol that has passed the compliance assessment can be published online by using the above-mentioned update component.
[0125] This application performs a compliance assessment on the target privacy agreement to obtain a corresponding compliance assessment result; if the compliance assessment result is that the target privacy agreement has passed the compliance assessment, the target privacy agreement is published online; and if the compliance assessment result is that the target privacy agreement has not passed the compliance assessment, the target privacy agreement is optimized to obtain an optimized designated privacy agreement; and the designated privacy agreement is subsequently published online. This application automatically and intelligently performs a compliance assessment on the target privacy agreement after updating the original privacy agreement based on the update information to obtain the target privacy agreement, and when it is detected that the target privacy agreement has not passed the compliance assessment, it automatically and intelligently optimizes the target privacy agreement to obtain the optimized designated privacy agreement, so as to effectively ensure that the updated privacy agreement can meet the relevant regulations and requirements, thereby ensuring the compliance of the published target privacy agreement and improving the user experience, and improving the intelligence and accuracy of the publishing process of the updated privacy agreement.
[0126] In some optional implementations of this embodiment, performing compliance assessment on the target privacy protocol to obtain a corresponding compliance assessment result includes the following steps:
[0127] The target privacy protocol is evaluated based on a preset rule database to obtain a corresponding first evaluation result.
[0128] In this embodiment, the rule database may be a pre-built database storing the requirements related to the privacy agreement. By matching the clauses in the target privacy agreement with the rule requirements in the rule database, it is detected whether there is content in the target privacy agreement that does not meet the requirements. If it is detected that there is content in the target privacy agreement that does not meet the requirements, a first evaluation result is generated that the target privacy agreement fails the evaluation. If it is detected that there is no content in the target privacy agreement that does not meet the requirements, a first evaluation result is generated that the target privacy agreement passes the evaluation.
[0129] The process of building a rule database includes: collecting all the rule requirements related to privacy protection. Then, the collected rule requirements are structured, key terms, requirements and penalties are extracted, and stored in the database to obtain the rule database. The rule database is updated regularly to ensure that it contains the latest rule requirements.
[0130] Based on a preset risk assessment strategy, a risk assessment process is performed on the target privacy protocol to obtain a corresponding second assessment result.
[0131] In this embodiment, the privacy agreement is deeply analyzed by using natural language processing (NLP) and machine learning (ML) technology. Specifically, the key information in the target privacy agreement is identified by NLP technology, such as information collection, use, storage, sharing and other terms. And by using ML technology to identify whether there are potential compliance risk points in the key information of the target privacy agreement, such as data leakage risk, unauthorized data use, etc. If the key information in the target privacy agreement is detected to have potential compliance risk points, a second assessment result is generated that the target privacy agreement fails the risk assessment. If it is detected that there are no potential compliance risk points in the key information in the target privacy agreement, a second assessment result is generated that the target privacy agreement passes the risk assessment.
[0132] The first assessment result and the second assessment result are analyzed and processed to generate a compliance assessment result corresponding to the target privacy agreement.
[0133] In this embodiment, only when the contents of the first evaluation result and the second evaluation result are respectively that the target privacy protocol passes the evaluation and the target privacy protocol passes the risk assessment, will a compliance assessment result that the target privacy protocol passes the compliance assessment be generated; otherwise, a compliance assessment result that the target privacy protocol fails the compliance assessment will be generated.
[0134] This application evaluates and processes the target privacy protocol based on a preset rule database to obtain a corresponding first evaluation result; and performs risk assessment on the target privacy protocol based on a preset risk assessment strategy to obtain a corresponding second evaluation result; and then analyzes and processes the first evaluation result and the second evaluation result to generate a compliance evaluation result corresponding to the target privacy protocol. This application evaluates and processes the target privacy protocol based on the use of a rule database to obtain a corresponding first evaluation result, and performs risk assessment on the target privacy protocol based on the use of a risk assessment strategy to obtain a corresponding second evaluation result, and then analyzes and processes the first evaluation result and the second evaluation result, so that the compliance evaluation result corresponding to the target privacy protocol can be accurately generated from multiple dimensions, effectively ensuring the accuracy of the generated compliance evaluation result.
[0135] In some optional implementations of this embodiment, the optimizing the target privacy protocol to obtain an optimized designated privacy protocol includes the following steps:
[0136] Based on the first evaluation result and the second evaluation result, problematic information in the target privacy protocol is located.
[0137] In this embodiment, when it is detected that the target privacy agreement has not passed the compliance assessment, the specific clauses in the target privacy agreement that do not comply with the rule requirements can be located based on the assessment results based on the rule database and the results based on the risk assessment, thereby obtaining the above-mentioned problem information.
[0138] Obtain a specified modification suggestion template corresponding to the problem information.
[0139] In this embodiment, corresponding modification suggestion templates are pre-designed for different types of compliance issues based on actual business needs. For example, in the case where the information collection terms do not comply with regulations, a template is pre-designed to suggest how to more clearly describe the purpose, scope and method of information collection. The above-mentioned specified modification suggestion template refers to a modification suggestion template that matches the problem type of the above-mentioned problem information.
[0140] Generate corresponding modification suggestions based on the problem information and the specified modification suggestion template.
[0141] In this embodiment, the located problem information and the specified rule requirements corresponding to the problem information may be filled into the specified modification suggestion template, thereby generating a specific modification suggestion.
[0142] Based on a preset modification tool, the target privacy protocol is modified using the modification suggestion to obtain a modified privacy protocol.
[0143] In this embodiment, the modification tool is a pre-built tool with the function of automatically modifying the privacy agreement. The modification suggestion generated by the modification tool is used to implement the corresponding modification processing of the target privacy agreement, thereby obtaining the modified privacy agreement.
[0144] The modified privacy protocol is used as the designated modified protocol.
[0145] This application locates the problem information in the target privacy protocol based on the first evaluation result and the second evaluation result; then obtains the specified modification suggestion template corresponding to the problem information; then generates corresponding modification suggestions based on the problem information and the specified modification suggestion template; subsequently, based on a preset modification tool, uses the modification suggestions to modify the target privacy protocol to obtain a modified privacy protocol; and finally uses the modified privacy protocol as the specified modification protocol. This application locates the problem information in the target privacy protocol based on the first evaluation result and the second evaluation result; then generates modification suggestions based on the problem information and the corresponding specified modification suggestion template; and then, based on the modification tool, uses the modification suggestions to modify the target privacy protocol, thereby automatically and accurately completing the optimization processing of the target privacy protocol, effectively improving the accuracy and compliance of the generated specified privacy protocol.
[0146] In some optional implementations, the user information obtained is subject to the user's consent and complies with relevant laws and policies.
[0147] In addition, the non-Company software tools or components that appear in the embodiments of the present application are merely examples and do not represent actual use.
[0148] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0149] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned target privacy protocol, the above-mentioned target privacy protocol can also be stored in a node of a blockchain.
[0150] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0151] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0152] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0153] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0154] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0155] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a data updating device, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0156] like Figure 3 As shown, the data updating device 300 described in this embodiment includes: a first judgment module 301, a first acquisition module 302, a second judgment module 303, a second acquisition module 304, a generation module 305 and an update module 306. Among them:
[0157] The first judgment module 301 is used to judge whether an information change event occurs in the target data table;
[0158] A first acquisition module 302, configured to acquire the changed fields in the target data table;
[0159] The second judgment module 303 is used to match the changed field with a preset user information list, and judge whether there is a specified information type corresponding to the changed field in the user information list;
[0160] A second acquisition module 304, for acquiring a preset original privacy agreement if yes;
[0161] A generating module 305, configured to generate update information corresponding to the original privacy agreement based on the changed field;
[0162] The updating module 306 is used to update the original privacy protocol based on the update information to obtain a corresponding target privacy protocol.
[0163] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the data updating method in the above-mentioned implementation mode, and are not described in detail here.
[0164] In some optional implementations of this embodiment, the first determination module 301 includes:
[0165] The first calling submodule is used to call a preset event scheduler;
[0166] A monitoring submodule, used for monitoring changes in structure information of the target data table based on the event scheduler;
[0167] A first determination submodule, configured to determine whether an information change event occurs in the target data table if a change signal triggered by the event scheduler is received;
[0168] The second determination submodule is configured to determine that no information change event occurs in the target data table if no change signal triggered by the event scheduler is received.
[0169] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the data updating method in the above-mentioned implementation mode, and are not described in detail here.
[0170] In some optional implementations of this embodiment, the generation module 305 includes:
[0171] A second calling submodule, used for calling the target data table;
[0172] A query submodule, configured to query the target data table based on the changed field, so as to query the target field annotation information corresponding to the changed field from the target data table;
[0173] The first determining submodule is configured to use the target field annotation information as the update information.
[0174] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the data updating method in the above-mentioned implementation mode, and are not described in detail here.
[0175] In some optional implementations of this embodiment, the updating module 306 includes:
[0176] A first generating submodule, configured to generate, based on the update information, update description information corresponding to the original privacy protocol;
[0177] A merging submodule, used to merge the update description information with the original privacy agreement to obtain a corresponding merged agreement;
[0178] The second determination submodule is used to use the merged protocol as the target privacy protocol.
[0179] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the data updating method in the above-mentioned implementation mode, and are not described in detail here.
[0180] In some optional implementations of this embodiment, the data updating device further includes:
[0181] An evaluation module, used to perform compliance evaluation on the target privacy protocol and obtain corresponding compliance evaluation results;
[0182] A first publishing module, configured to perform online publishing processing on the target privacy protocol if the compliance assessment result is that the target privacy protocol has passed the compliance assessment;
[0183] An optimization module, configured to optimize the target privacy protocol to obtain an optimized designated privacy protocol if the compliance assessment result indicates that the target privacy protocol has failed the compliance assessment;
[0184] The second publishing module is used to perform online publishing processing on the specified privacy agreement.
[0185] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the data updating method in the above-mentioned implementation mode, and are not described in detail here.
[0186] In some optional implementations of this embodiment, the evaluation module includes:
[0187] A first evaluation submodule, used to evaluate the target privacy protocol based on a preset rule database to obtain a corresponding first evaluation result;
[0188] A second assessment submodule, configured to perform risk assessment processing on the target privacy protocol based on a preset risk assessment strategy to obtain a corresponding second assessment result;
[0189] An analysis submodule is used to analyze and process the first evaluation result and the second evaluation result to generate a compliance evaluation result corresponding to the target privacy agreement.
[0190] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the data updating method in the above-mentioned implementation mode, and are not described in detail here.
[0191] In some optional implementations of this embodiment, the optimization module includes:
[0192] A positioning submodule, used to locate problem information in the target privacy protocol based on the first evaluation result and the second evaluation result;
[0193] An acquisition submodule, used to acquire a specified modification suggestion template corresponding to the problem information;
[0194] A second generating submodule, configured to generate corresponding modification suggestions based on the problem information and the specified modification suggestion template;
[0195] A modification submodule, for modifying the target privacy protocol using the modification suggestion based on a preset modification tool to obtain a modified privacy protocol;
[0196] The third determination submodule is used to use the modified privacy protocol as the designated modified protocol.
[0197] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the data updating method in the above-mentioned implementation mode, and are not described in detail here.
[0198] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.
[0199] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0200] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0201] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions of a data update method, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.
[0202] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run computer-readable instructions stored in the memory 41 or process data, such as computer-readable instructions for running the data update method.
[0203] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
[0204] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0205] In the embodiment of the present application, the present application first determines whether an information change event is detected in the target data table; if so, obtains the change field in the target data table; then matches the change field with the preset user information list to determine whether there is a specified information type corresponding to the change field in the user information list; if so, obtains the preset original privacy agreement; subsequently generates update information corresponding to the original privacy agreement based on the change field; finally, updates the original privacy agreement based on the update information to obtain the corresponding target privacy agreement. When the present application detects an information change event in the target data table, by obtaining the change field in the target data table and matching the change field with the preset user information list, if it is detected that there is a specified information type corresponding to the change field in the user information list, it will generate update information corresponding to the preset original privacy agreement based on the change field, and then automatically and accurately update the original privacy agreement based on the use of the update information, and obtain the corresponding target privacy agreement. Different from the existing manual processing method for updating the privacy agreement, the present application can effectively improve the processing efficiency and processing intelligence for updating the privacy agreement, and ensure the data accuracy of the updated target privacy agreement.
[0206] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the data updating method as described above.
[0207] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0208] In the embodiment of the present application, the present application first determines whether an information change event is detected in the target data table; if so, obtains the change field in the target data table; then matches the change field with the preset user information list to determine whether there is a specified information type corresponding to the change field in the user information list; if so, obtains the preset original privacy agreement; subsequently generates update information corresponding to the original privacy agreement based on the change field; finally, updates the original privacy agreement based on the update information to obtain the corresponding target privacy agreement. When the present application detects an information change event in the target data table, by obtaining the change field in the target data table and matching the change field with the preset user information list, if it is detected that there is a specified information type corresponding to the change field in the user information list, it will generate update information corresponding to the preset original privacy agreement based on the change field, and then automatically and accurately update the original privacy agreement based on the use of the update information, and obtain the corresponding target privacy agreement. Different from the existing manual processing method for updating the privacy agreement, the present application can effectively improve the processing efficiency and processing intelligence for updating the privacy agreement, and ensure the data accuracy of the updated target privacy agreement.
[0209] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0210] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A data updating method, characterized in that: The steps include: Determine whether an information change event is detected in the target data table; If yes, obtain the changed fields in the target data table; Matching the changed field with a preset user information list, and determining whether there is a specified information type corresponding to the changed field in the user information list; If yes, obtain the preset original privacy agreement; Generate update information corresponding to the original privacy agreement based on the changed field; The original privacy protocol is updated based on the update information to obtain a corresponding target privacy protocol.
2. The data updating method according to claim 1, characterized in that: The step of determining whether an information change event has been detected in the target data table specifically includes: Call the preset event scheduler; Perform monitoring processing on the structure information change of the target data table based on the event scheduler; If a change signal triggered by the event scheduler is received, determining that an information change event occurs in the target data table; If the change signal triggered by the event scheduler is not received, it is determined that no information change event occurs in the target data table.
3. The data updating method according to claim 1, characterized in that: The step of generating update information corresponding to the original privacy agreement in the change field specifically includes: Calling the target data table; Performing information query on the target data table based on the changed field, so as to query target field annotation information corresponding to the changed field from the target data table; The target field annotation information is used as the update information.
4. The data updating method according to claim 1, characterized in that: The step of updating the original privacy protocol based on the update information to obtain the corresponding target privacy protocol specifically includes: Based on the update information, generate update description information corresponding to the original privacy agreement; Merging the update description information with the original privacy agreement to obtain a corresponding merged agreement; The merged protocol is used as the target privacy protocol.
5. The data updating method according to claim 1, characterized in that: After the step of updating the original privacy protocol based on the update information to obtain the corresponding target privacy protocol, the method further includes: Conducting compliance assessment on the target privacy protocol to obtain corresponding compliance assessment results; If the compliance assessment result is that the target privacy agreement has passed the compliance assessment, the target privacy agreement is published online; If the compliance assessment result is that the target privacy protocol fails the compliance assessment, the target privacy protocol is optimized to obtain an optimized designated privacy protocol; The designated privacy agreement is published online.
6. The data updating method according to claim 5, characterized in that: The step of performing compliance assessment on the target privacy protocol to obtain a corresponding compliance assessment result specifically includes: Evaluate the target privacy protocol based on a preset rule database to obtain a corresponding first evaluation result; Performing risk assessment on the target privacy protocol based on a preset risk assessment strategy to obtain a corresponding second assessment result; The first assessment result and the second assessment result are analyzed and processed to generate a compliance assessment result corresponding to the target privacy agreement.
7. The data updating method according to claim 6, characterized in that: The step of optimizing the target privacy protocol to obtain an optimized designated privacy protocol specifically includes: Based on the first evaluation result and the second evaluation result, locate the problem information in the target privacy protocol; Obtaining a specified modification suggestion template corresponding to the problem information; Generate a corresponding modification suggestion based on the problem information and the specified modification suggestion template; Based on a preset modification tool, modify the target privacy protocol using the modification suggestion to obtain a modified privacy protocol; The modified privacy protocol is used as the designated modified protocol.
8. A data updating device, characterized in that: include: A first judgment module is used to judge whether an information change event is detected in the target data table; A first acquisition module, configured to acquire the changed fields in the target data table; A second judgment module is used to match the changed field with a preset user information list, and judge whether there is a specified information type corresponding to the changed field in the user information list; A second acquisition module, for acquiring a preset original privacy agreement if yes; A generating module, configured to generate update information corresponding to the original privacy agreement based on the changed field; An updating module is used to update the original privacy protocol based on the update information to obtain a corresponding target privacy protocol.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the data updating method according to any one of claims 1 to 7 when executing the computer-readable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the data updating method according to any one of claims 1 to 7 are implemented.