A data processing method and system
By parsing and verifying the information input by users, the data processing permissions between big data education platforms are determined, and the mirror database and assessment steps are used to achieve data interoperability, solving the problem of data islands and improving the efficiency and accuracy of data sharing.
Patent Information
- Application Number
- CN202011384200.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-01
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-12-01
AI Technical Summary
The data between various big data education platforms are not interoperable, forming information islands, making it difficult to achieve data sharing and interoperability.
By obtaining the user's data processing request, parsing and verifying the stroke order information and identification information entered by the user, determining the source database and target database, performing data processing based on permissions, and achieving data interoperability and correlation through mirror databases and assessment steps.
It realizes data interoperability between big data education platforms, ensures the security and effectiveness of data, solves the problem of data islands, and improves the efficiency and accuracy of data sharing.
Smart Images

Figure CN112527897B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of database management, and in particular to a data processing method and system. Background Art
[0002] At present, big data is the product of the new generation of information technology after cloud computing, the Internet of Things and mobile Internet. It is becoming a new hot spot and new direction of information technology, and will have a huge impact on human production and life. Grasping the development direction of big data and developing a big data education platform will help improve the quality of education. Based on the above purpose, various educational institutions and departments have established multiple big data education platforms accordingly. However, because the responsible units for establishing big data education platforms are different, the data between various big data education platforms are not interoperable, forming information islands. Summary of the invention
[0003] One of the purposes of the present invention is to provide a data processing method to achieve data intercommunication between various big data education platforms.
[0004] An embodiment of the present invention provides a data processing method, comprising:
[0005] Obtaining a data processing request of a first user;
[0006] Parsing the data processing request, obtaining first stroke order information input by the first user and / or first identification information recognized by OCR;
[0007] Inputting the first stroke order information and / or the first identification information into a pre-established first verification model to verify the data processing request;
[0008] When the verification is passed, the data processing request is parsed again to obtain the source database and the target database;
[0009] Based on the target database, determining a second user;
[0010] Sending a data processing query to the second user, and receiving feedback information from the second user regarding the data processing query;
[0011] When the feedback information is agreed, the data in the source database is processed based on the data in the target database;
[0012] The first user has the first-level authority of the source database, and the second user has the first-level authority of the target database.
[0013] Preferably, the data processing method further includes:
[0014] Before receiving the feedback information, second stroke order information input by a second user and / or second identification information recognized by OCR is also received;
[0015] Inputting the second stroke order information and / or the second identification information into a pre-established second verification model to verify the feedback information;
[0016] When the verification is passed, the feedback information is received; otherwise, the feedback information is rejected and abnormal information is returned to the first user.
[0017] Preferably, the data processing method further includes:
[0018] Before obtaining the data processing request of the first user, obtaining first positioning information of the first user,
[0019] Determining whether a first position corresponding to the first positioning information is located in a first preset area;
[0020] When the user is in the first preset area, receiving a data processing request from the first user; otherwise, rejecting the data processing request from the first user;
[0021] and / or,
[0022] Before receiving the feedback information from the second user, obtaining second positioning information of the second user;
[0023] Determining whether the second position corresponding to the second positioning information is located in a second preset area;
[0024] When located in the second preset area, receiving feedback information from the second user; otherwise, refusing to receive feedback information from the second user;
[0025] and / or,
[0026] The relative position relationship between the first position and the second position is determined, and when the relative position relationship meets a preset first rule, feedback information from the second user is received; otherwise, feedback information from the second user is refused to be received.
[0027] Preferably, inputting the first stroke order information and / or the first identification information into a pre-established first verification model to verify the data processing request includes:
[0028] Extracting feature values of the first stroke order information and / or the first identification information, substituting the feature values into a pre-established neural network model, obtaining a verification factor, querying a preset verification table, and when the verification factor exists in the verification table, the data processing request is verified to be successful;
[0029] or,
[0030] Constructing a verification vector based on the first stroke order information and / or the first identification information, matching the verification vector with a standard vector in a pre-established verification library, and when the matching degree between the verification vector and the standard vector is greater than a preset matching value, the data processing request is verified to be successful;
[0031] The matching degree calculation formula between the verification vector and the standard vector is as follows:
[0032]
[0033] Among them, P q is the matching degree between the verification vector and the qth standard vector in the verification library; n is the dimension of the verification vector and the standard vector; a i,q is the data value of the ith dimension of the qth standard vector; b i is the data value of the i-th dimension of the verification vector;
[0034] The first stroke order information includes: a stroke type, an order between stroke types, and parameter information of each stroke, or one or more combinations thereof;
[0035] The parameter information of each stroke includes: the position relationship parameters between the starting point, the end point, and a preset number of sampling points between the starting point and the end point of each stroke, and / or the handwriting force parameters of the starting point, the end point, and a preset number of sampling points between the starting point and the end point of each stroke;
[0036] The first identification information includes: one or a combination of text, graphics, and symbols.
[0037] Preferably, processing the data in the source database based on the data in the target database includes:
[0038] Establish a mirror database and copy the data in the source database to the mirror database;
[0039] Sequentially obtain source data in the mirror database, calculate similarity between the obtained source data and target data in the target database, and associate target data with a similarity greater than a preset first threshold with the source data;
[0040] and / or,
[0041] After all the source data in the mirror database have been acquired once, target data whose similarity with the source data is less than or equal to a preset second threshold is extracted, and the target data is evaluated using a preset evaluation step. When the evaluation passes, the target data is copied to the mirror database;
[0042] The target data is evaluated using preset evaluation steps, including:
[0043] When the target data is test data, the user information of the user currently accessing the source database is obtained;
[0044] Grouping users based on user information, and selecting at least one evaluation user in each group according to a preset first selection rule;
[0045] Send target data to evaluation users;
[0046] Receive evaluation users' evaluation of target data and results of questions;
[0047] Based on the test results, determine the error rate of each group of evaluation users;
[0048] Based on the evaluation and error rate, the evaluation value of the target data is calculated using the following formula:
[0049]
[0050] Among them, Z is the evaluation value, c j is the error rate of the jth packet; α j is the preset weight of the jth group; m is the number of groups; M is the number of evaluation users; d l is the evaluation value of the lth evaluation user determined by the evaluation model; β l is the weight value configured for the lth evaluation user; δ1 is the correlation coefficient about the error rate; δ2 is the correlation coefficient about the evaluation;
[0051] When the evaluation value is greater than the preset evaluation threshold, the target data passes the evaluation.
[0052] The present invention also provides a data processing system, comprising:
[0053] A first acquisition module, used to acquire a data processing request of a first user;
[0054] A first parsing module, used for parsing the data processing request, and obtaining first stroke order information input by a first user and / or first identification information recognized by OCR;
[0055] A first verification module is used to input the first stroke order information and / or the first identification information into a pre-established first verification model to verify the data processing request; when the verification is passed, the data processing request is parsed again to obtain the source database and the target database;
[0056] A first determining module, used to determine a second user based on a target database;
[0057] A first inquiry module, used to send a data processing inquiry to the second user, and receive feedback information of the second user on the data processing inquiry;
[0058] A data processing module, used for processing the data in the source database based on the data in the target database when the feedback information is agreed;
[0059] The first user has the first-level authority of the source database, and the second user has the first-level authority of the target database.
[0060] Preferably, the data processing system further includes:
[0061] A second acquisition module is used to receive second stroke order information input by a second user and / or second identification information recognized by OCR before receiving the feedback information;
[0062] The second verification module is used to input the second stroke order information and / or the second identification information into a pre-established second verification model to verify the feedback information; when the verification is passed, the feedback information is received, otherwise, the feedback information is rejected and abnormal information is returned to the first user.
[0063] Preferably, the data processing system further includes:
[0064] The first positioning module is used to obtain first positioning information of the first user before obtaining the data processing request of the first user.
[0065] A first determination module is configured to determine whether the first position corresponding to the first positioning information is located in a first preset area; if the first position is located in the first preset area, the first user's data processing request is received; otherwise, the first user's data processing request is rejected;
[0066] and / or,
[0067] A second positioning module, used for obtaining second positioning information of the second user before receiving feedback information of the second user;
[0068] A second determination module is used to determine whether the second position corresponding to the second positioning information is located in a second preset area; if it is located in the second preset area, receiving the feedback information of the second user; otherwise, refusing to receive the feedback information of the second user;
[0069] and / or,
[0070] The third judgment module is used to determine the relative position relationship between the first position and the second position, and when the relative position relationship meets the preset first rule, receive the feedback information of the second user; otherwise, refuse to receive the feedback information of the second user.
[0071] Preferably, the first verification module performs the following operations:
[0072] Extracting feature values of the first stroke order information and / or the first identification information, substituting the feature values into a pre-established neural network model, obtaining a verification factor, querying a preset verification table, and when the verification factor exists in the verification table, the data processing request is verified to be successful;
[0073] or,
[0074] Constructing a verification vector based on the first stroke order information and / or the first identification information, matching the verification vector with a standard vector in a pre-established verification library, and when the matching degree between the verification vector and the standard vector is greater than a preset matching value, the data processing request is verified to be successful;
[0075] The matching degree calculation formula between the verification vector and the standard vector is as follows:
[0076]
[0077] Among them, P q is the matching degree between the verification vector and the qth standard vector in the verification library; n is the dimension of the verification vector and the standard vector; a i,q is the data value of the ith dimension of the qth standard vector; b i is the data value of the i-th dimension of the verification vector;
[0078] The first stroke order information includes: a stroke type, an order between stroke types, and parameter information of each stroke, or one or more combinations thereof;
[0079] The parameter information of each stroke includes: the position relationship parameters between the starting point, the end point, and a preset number of sampling points between the starting point and the end point of each stroke, and / or the handwriting force parameters of the starting point, the end point, and a preset number of sampling points between the starting point and the end point of each stroke;
[0080] The first identification information includes: one or a combination of text, graphics, and symbols.
[0081] Preferably, the data processing module performs the following operations:
[0082] Establish a mirror database and copy the data in the source database to the mirror database;
[0083] Sequentially obtain source data in the mirror database, calculate similarity between the obtained source data and target data in the target database, and associate target data with a similarity greater than a preset first threshold with the source data;
[0084] and / or,
[0085] After all the source data in the mirror database have been acquired once, target data whose similarity with the source data is less than or equal to a preset second threshold is extracted, and the target data is evaluated using a preset evaluation step. When the evaluation passes, the target data is copied to the mirror database;
[0086] The target data is evaluated using preset evaluation steps, including:
[0087] When the target data is test data, the user information of the user currently accessing the source database is obtained;
[0088] Grouping users based on user information, and selecting at least one evaluation user in each group according to a preset first selection rule;
[0089] Send target data to evaluation users;
[0090] Receive evaluation users' evaluation of target data and results of questions;
[0091] Based on the test results, determine the error rate of each group of evaluation users;
[0092] Based on the evaluation and error rate, the evaluation value of the target data is calculated using the following formula:
[0093]
[0094] Among them, Z is the evaluation value, c j is the error rate of the jth packet; α j is the preset weight of the jth group; m is the number of groups; M is the number of evaluation users; d l is the evaluation value of the lth evaluation user determined by the evaluation model; β l is the weight value configured for the lth evaluation user; δ1 is the correlation coefficient about the error rate; δ2 is the correlation coefficient about the evaluation;
[0095] When the evaluation value is greater than the preset evaluation threshold, the target data passes the evaluation.
[0096] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0097] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0099] Figure 1 A schematic diagram of a data processing method in an embodiment of the present invention;
[0100] Figure 2 is a schematic diagram of yet another data processing method in an embodiment of the present invention;
[0101] Figure 3 Schematic diagram of a data processing system in an embodiment of the present invention. DETAILED DESCRIPTION
[0102] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0103] The embodiment of the present invention provides a data processing method, such as Figure 1 As shown, including:
[0104] Step S1: Obtaining a data processing request from a first user;
[0105] Step S2: parsing the data processing request, obtaining the first stroke order information input by the first user and / or the first identification information recognized by OCR;
[0106] Step S3: inputting the first stroke order information and / or the first identification information into a pre-established first verification model to verify the data processing request;
[0107] When the verification is passed, the data processing request is parsed again to obtain the source database and the target database;
[0108] Step S4: determining a second user based on the target database;
[0109] Step S5: sending a data processing query to the second user, and receiving feedback information from the second user regarding the data processing query;
[0110] Step S6: When the feedback information is agreement, the data in the source database is processed based on the data in the target database;
[0111] The first user has the first-level authority of the source database, and the second user has the first-level authority of the target database.
[0112] The working principle and beneficial effects of the above technical solution are:
[0113] In order to solve the problem of data islands, data intercommunication can be adopted. In order to ensure the security and effectiveness of data intercommunication, the following scheme can be adopted: the first user with the first-level authority of the source database (the first data platform) issues a data processing request for data intercommunication. First, the identity of the first user is verified based on the first stroke order information and / or the first identification information of the first user to determine that the data processing request is initiated by the first user himself, wherein the first identification information is text, graphics, characters, etc. recognized based on OCR (Optical Character Recognition) recognition technology; when the verification is passed, it means that the data processing request is valid, and the data processing request is parsed again to determine the source database and target database (the second data platform) that need data intercommunication; according to the information of the target database, the second user with the first-level authority of the database can be determined, and the query can be obtained according to the pre-stored authority information table; the data processing query is sent to the second user, and after the second user agrees, the source database and the target database are intercommunication. Through the authorization intercommunication method, the data island problem is solved and the security of the data on the data platform is guaranteed. Among them, the first-level authority is the highest authority of the database, which can realize database operations such as deletion and modification.
[0114] The data processing method of the present invention realizes data intercommunication between various big data education platforms.
[0115] In one embodiment, a data processing method, such as Figure 2 As shown, it also includes:
[0116] Step S11: before receiving the feedback information, receiving the second stroke order information input by the second user and / or the second identification information recognized by OCR;
[0117] Step S12: inputting the second stroke order information and / or the second identification information into a pre-established second verification model to verify the feedback information;
[0118] When the verification is passed, the feedback information is received; otherwise, the feedback information is rejected and abnormal information is returned to the first user.
[0119] The working principle and beneficial effects of the above technical solution are:
[0120] In order to further ensure the security of data intercommunication, the second user needs to be verified by using the second stroke order information and / or second identification information of the second user through a second verification model.
[0121] In one embodiment, the data processing method further includes:
[0122] Before obtaining the data processing request of the first user, obtaining first positioning information of the first user,
[0123] Determining whether a first position corresponding to the first positioning information is located in a first preset area;
[0124] When the user is in the first preset area, receiving a data processing request from the first user; otherwise, rejecting the data processing request from the first user;
[0125] and / or,
[0126] Before receiving the feedback information from the second user, obtaining second positioning information of the second user;
[0127] Determining whether the second position corresponding to the second positioning information is located in a second preset area;
[0128] When located in the second preset area, receiving feedback information from the second user; otherwise, refusing to receive feedback information from the second user;
[0129] and / or,
[0130] The relative position relationship between the first position and the second position is determined, and when the relative position relationship meets a preset first rule, feedback information from the second user is received; otherwise, feedback information from the second user is refused to be received.
[0131] The working principle and beneficial effects of the above technical solution are:
[0132] By confirming whether the first user's location information is in the first preset area, the timing of initiating a data processing request for the first user is restricted, thereby further ensuring the security of data interoperability. For example, if the big data platform is established in a province / city / county mode, the first preset area may correspond to the specific geographical location of the province / city / county corresponding to the big data platform. That is, when the data of the big data platform corresponds to a county, the first user can initiate a data processing request only within the county. Similarly, when the second user agrees to the first user's data processing request, the restriction on whether the location information is in the second preset area must also be adopted. In addition, a restriction rule may also be set, and the first preset area and the second preset area are the same location recognized by the source database and the target database, that is, they are pre-set. At the same location, the first user and the second user adopt a face-to-face signing method, and whether the first user and the second user face-to-face signing is determined by the relative position relationship between the first location and the second location, that is, the relative position relationship conforms to the first rule. The first rule may be that they are at the same location and the distance is less than the preset distance.
[0133] In one embodiment, inputting the first stroke order information and / or the first identification information into a pre-established first verification model to verify the data processing request includes:
[0134] Extracting feature values of the first stroke order information and / or the first identification information, substituting the feature values into a pre-established neural network model, obtaining a verification factor, querying a preset verification table, and when the verification factor exists in the verification table, the data processing request is verified to be successful;
[0135] or,
[0136] Constructing a verification vector based on the first stroke order information and / or the first identification information, matching the verification vector with a standard vector in a pre-established verification library, and when the matching degree between the verification vector and the standard vector is greater than a preset matching value, the data processing request is verified to be successful;
[0137] The matching degree calculation formula between the verification vector and the standard vector is as follows:
[0138]
[0139] Among them, P q is the matching degree between the verification vector and the qth standard vector in the verification library; n is the dimension of the verification vector and the standard vector; a i,q is the data value of the ith dimension of the qth standard vector; b i is the data value of the i-th dimension of the verification vector;
[0140] The first stroke order information includes: a stroke type, an order between stroke types, and parameter information of each stroke, or one or more combinations thereof;
[0141] The parameter information of each stroke includes: the position relationship parameters between the starting point, the end point, and a preset number of sampling points between the starting point and the end point of each stroke, and / or the handwriting force parameters of the starting point, the end point, and a preset number of sampling points between the starting point and the end point of each stroke;
[0142] The first identification information includes: one or a combination of text, graphics, and symbols.
[0143] The working principle and beneficial effects of the above technical solution are:
[0144] The present embodiment provides two schemes for verification. Scheme 1: adopt a pre-trained neural network model, extract the characteristic value of stroke order information and / or identification information and input it therein, obtain the verification factor, and determine the final verification result based on the verification factor. Scheme 2: adopt a pre-established verification library, construct a verification vector based on stroke order information and / or identification information, match the verification vector with the standard vector in the verification library, and verify by the matching result. Further, the stroke order information and identification information are integrated to improve the verification accuracy, that is, when writing text, it is also possible not to follow the standard, and realize the user-defined stroke order as the verification point, improve the granularity of verification, and realize the operability of user-defined. In addition, considering the handwriting strength parameters between the strokes, the recognition of the same stroke of different people writing the same word is realized, and the recognition of personnel based on the stroke order information and identification information scheme is improved. In addition, the present embodiment can also verify the second stroke order and / or second identification information of the second user by the user.
[0145] In one embodiment, processing the data in the source database based on the data in the target database includes:
[0146] Establish a mirror database and copy the data in the source database to the mirror database;
[0147] Sequentially obtain source data in the mirror database, calculate similarity between the obtained source data and target data in the target database, and associate target data with a similarity greater than a preset first threshold with the source data;
[0148] and / or,
[0149] After all the source data in the mirror database have been acquired once, target data whose similarity with the source data is less than or equal to a preset second threshold is extracted, and the target data is evaluated using a preset evaluation step. When the evaluation passes, the target data is copied to the mirror database;
[0150] The target data is evaluated using preset evaluation steps, including:
[0151] When the target data is test data, the user information of the user currently accessing the source database is obtained;
[0152] Grouping users based on user information, and selecting at least one evaluation user in each group according to a preset first selection rule;
[0153] Send target data to evaluation users;
[0154] Receive evaluation users' evaluation of target data and results of questions;
[0155] Based on the test results, determine the error rate of each group of evaluation users;
[0156] Based on the evaluation and error rate, the evaluation value of the target data is calculated using the following formula:
[0157]
[0158] Among them, Z is the evaluation value, c j is the error rate of the jth packet; α j is the preset weight of the jth group; m is the number of groups; M is the number of evaluation users; d l is the evaluation value of the lth evaluation user determined by the evaluation model; β l is the weight value configured for the lth evaluation user; δ1 is the correlation coefficient about the error rate; δ2 is the correlation coefficient about the evaluation;
[0159] When the evaluation value is greater than the preset evaluation threshold, the target data passes the evaluation.
[0160] The working principle and beneficial effects of the above technical solution are:
[0161] When processing data, first establish a mirror database and mirror the contents of the source database to the mirror database; this does not affect the use of users who log in to the source database; by calculating the similarity between the data in the source database and the data in the target database, the data in the two databases are associated; after the association, the user who logs in to the source database can directly click the association link to jump between databases, thereby improving the user's grasp of similar or related data; when similar data exists in the target database but not in the mirror database, the mirror database needs to be expanded, but not all data needs to be expanded, and it needs to be evaluated before expansion, and only after the evaluation is passed does it need to be added to the mirror database; by extracting the source database in Online users can be grouped based on user information. For example, an education platform can group users according to their answer accuracy and / or their regular grades and / or class rankings entered into the system. A certain number of users can be drawn from each group as evaluation users. Evaluations are conducted based on the evaluated users' use of the target data (test results) and evaluations. When the evaluation threshold is exceeded, the users can be added to the mirror database. Taking the test results as one of the evaluation items can effectively avoid the situation where all selected users answer the test questions correctly, indicating that the data is too simple and does not need to be added to the mirror database. Taking evaluation as one of the evaluation items, test questions that the evaluating users consider to be difficult or representative can be added to the mirror database.
[0162] In one embodiment, after the data processing is completed, the weight values of the configurations of the users participating in the evaluation are adjusted, and the adjustment formula is as follows:
[0163]
[0164] Where D' is the weight value after adjustment; D is the weight value before adjustment; d is determined based on the evaluation of the evaluation user and the impact of the evaluation results. When it is a positive impact, the value is 1, and when it is a negative impact, the value is -1; γ represents the preset adjustment value, and γ0 represents the difference between the preset positive adjustment and the adjustment; T h It is the time from when the hth evaluation user receives the target data to when he makes an evaluation, that is, the time from when the user who currently adjusts the weight receives the target data to when he makes an evaluation.
[0165] The working principle and beneficial effects of the above technical solution are:
[0166] By adjusting the weight of the evaluation user, we can ensure that the impact of the evaluation user on the final evaluation result is increased or reduced when the target data is evaluated next time, thereby ensuring the accuracy of the evaluation result.
[0167] In one embodiment, the data processing method further includes:
[0168] Get the associated information of the target database;
[0169] Based on the associated information, the association of data in the third-party database is established.
[0170] The working principle and beneficial effects of the above technical solution are:
[0171] Through the association information between the target database and the third-party database, the data in the third-party database is directly associated, eliminating the steps of sequentially calculating the similarity between the source database and the third-party database, thereby improving the efficiency of data association. Direct association through association information is achieved based on the association information of the target database and the association information between the source database and the target database after data processing.
[0172] In one embodiment, the data processing method further includes: after the source data is associated with the target data, obtaining a first historical usage of the source data from the source database and obtaining a second historical usage of the target data from the target database;
[0173] According to the multi-level classification of the users, a plurality of first usage situations representing users at each level are selected from the first historical usage situations to form a first usage situation representative set;
[0174] According to the multi-level classification of the users, a plurality of second usage situations representing users at each level are selected from the second historical usage situations to form a second usage situation representative set;
[0175] The usage difference is calculated according to the first usage representative set and the second usage representative set; when the usage difference is greater than a preset difference, the difference is marked.
[0176] The working principle and beneficial effects of the above technical solution are:
[0177] The usage situation may be a result of taking a test, and the usage situation difference may be a test accuracy rate. By comparing the differences, the data in the source database is marked to remind the user who logs into the source database to pay special attention to the data.
[0178] The present invention also provides a data processing system, such as Figure 3 As shown, including:
[0179] A first acquisition module, used to acquire a data processing request of a first user;
[0180] A first parsing module, used for parsing the data processing request, and obtaining first stroke order information input by a first user and / or first identification information recognized by OCR;
[0181] A first verification module is used to input the first stroke order information and / or the first identification information into a pre-established first verification model to verify the data processing request; when the verification is passed, the data processing request is parsed again to obtain the source database and the target database;
[0182] A first determining module, used to determine a second user based on a target database;
[0183] A first inquiry module, used to send a data processing inquiry to the second user, and receive feedback information of the second user on the data processing inquiry;
[0184] A data processing module, used for processing the data in the source database based on the data in the target database when the feedback information is agreed;
[0185] The first user has the first-level authority of the source database, and the second user has the first-level authority of the target database.
[0186] The working principle and beneficial effects of the above technical solution are:
[0187] In order to solve the problem of data islands, data intercommunication can be adopted. In order to ensure the security and effectiveness of data intercommunication, the following scheme can be adopted: the first user with the first-level authority of the source database (the first data platform) issues a data processing request for data intercommunication. First, the identity of the first user is verified based on the first stroke order information and / or the first identification information of the first user to determine that the data processing request is initiated by the first user himself, wherein the first identification information is text, graphics, characters, etc. recognized based on OCR (Optical Character Recognition) recognition technology; when the verification is passed, it means that the data processing request is valid, and the data processing request is parsed again to determine the source database and target database (the second data platform) that need data intercommunication; according to the information of the target database, the second user with the first-level authority of the database can be determined, and the query can be obtained according to the pre-stored authority information table; the data processing query is sent to the second user, and after the second user agrees, the source database and the target database are intercommunication. Through the authorization intercommunication method, the data island problem is solved and the security of the data on the data platform is guaranteed. Among them, the first-level authority is the highest authority of the database, which can realize database operations such as deletion and modification.
[0188] The data processing system of the present invention realizes data intercommunication between various big data education platforms.
[0189] In one embodiment, the data processing system further includes:
[0190] A second acquisition module is used to receive second stroke order information input by a second user and / or second identification information recognized by OCR before receiving the feedback information;
[0191] The second verification module is used to input the second stroke order information and / or the second identification information into a pre-established second verification model to verify the feedback information; when the verification is passed, the feedback information is received, otherwise, the feedback information is rejected and abnormal information is returned to the first user.
[0192] The working principle and beneficial effects of the above technical solution are:
[0193] In order to further ensure the security of data intercommunication, the second user needs to be verified by using the second stroke order information and / or second identification information of the second user through a second verification model.
[0194] In one embodiment, the data processing system further includes:
[0195] The first positioning module is used to obtain first positioning information of the first user before obtaining the data processing request of the first user.
[0196] A first determination module is configured to determine whether the first position corresponding to the first positioning information is located in a first preset area; if the first position is located in the first preset area, the first user's data processing request is received; otherwise, the first user's data processing request is rejected;
[0197] and / or,
[0198] A second positioning module, used for obtaining second positioning information of the second user before receiving feedback information of the second user;
[0199] A second determination module is used to determine whether the second position corresponding to the second positioning information is located in a second preset area; if it is located in the second preset area, receiving the feedback information of the second user; otherwise, refusing to receive the feedback information of the second user;
[0200] and / or,
[0201] The third judgment module is used to determine the relative position relationship between the first position and the second position, and when the relative position relationship meets the preset first rule, receive the feedback information of the second user; otherwise, refuse to receive the feedback information of the second user.
[0202] The working principle and beneficial effects of the above technical solution are:
[0203] By confirming whether the first user's location information is in the first preset area, the timing of initiating a data processing request for the first user is restricted, thereby further ensuring the security of data interoperability. For example, if the big data platform is established in a province / city / county mode, the first preset area may correspond to the specific geographical location of the province / city / county corresponding to the big data platform. That is, when the data of the big data platform corresponds to a county, the first user can initiate a data processing request only within the county. Similarly, when the second user agrees to the first user's data processing request, the restriction on whether the location information is in the second preset area must also be adopted. In addition, a restriction rule may also be set, and the first preset area and the second preset area are the same location recognized by the source database and the target database, that is, they are pre-set. At the same location, the first user and the second user adopt a face-to-face signing method, and whether the first user and the second user face-to-face signing is determined by the relative position relationship between the first location and the second location, that is, the relative position relationship conforms to the first rule. The first rule may be that they are at the same location and the distance is less than the preset distance.
[0204] In one embodiment, the first verification module performs the following operations:
[0205] Extracting feature values of the first stroke order information and / or the first identification information, substituting the feature values into a pre-established neural network model, obtaining a verification factor, querying a preset verification table, and when the verification factor exists in the verification table, the data processing request is verified to be successful;
[0206] or,
[0207] Constructing a verification vector based on the first stroke order information and / or the first identification information, matching the verification vector with a standard vector in a pre-established verification library, and when the matching degree between the verification vector and the standard vector is greater than a preset matching value, the data processing request is verified to be successful;
[0208] The matching degree calculation formula between the verification vector and the standard vector is as follows:
[0209]
[0210] Among them, P q is the matching degree between the verification vector and the qth standard vector in the verification library; n is the dimension of the verification vector and the standard vector; a i,q is the data value of the ith dimension of the qth standard vector; b i is the data value of the i-th dimension of the verification vector;
[0211] The first stroke order information includes: a stroke type, an order between stroke types, and parameter information of each stroke, or one or more combinations thereof;
[0212] The parameter information of each stroke includes: the position relationship parameters between the starting point, the end point, and a preset number of sampling points between the starting point and the end point of each stroke, and / or the handwriting force parameters of the starting point, the end point, and a preset number of sampling points between the starting point and the end point of each stroke;
[0213] The first identification information includes: one or a combination of text, graphics, and symbols.
[0214] The working principle and beneficial effects of the above technical solution are:
[0215] The present embodiment provides two schemes for verification. Scheme 1: adopt a pre-trained neural network model, extract the characteristic value of stroke order information and / or identification information and input it therein, obtain the verification factor, and determine the final verification result based on the verification factor. Scheme 2: adopt a pre-established verification library, construct a verification vector based on stroke order information and / or identification information, match the verification vector with the standard vector in the verification library, and verify by the matching result. Further, the stroke order information and identification information are integrated to improve the verification accuracy, that is, when writing text, it is also possible not to follow the standard, and realize the user-defined stroke order as the verification point, improve the granularity of verification, and realize the operability of user-defined. In addition, considering the handwriting strength parameters between the strokes, the recognition of the same stroke of different people writing the same word is realized, and the recognition of personnel based on the stroke order information and identification information scheme is improved. In addition, the present embodiment can also verify the second stroke order and / or second identification information of the second user by the user.
[0216] In one embodiment, the data processing module performs the following operations:
[0217] Establish a mirror database and copy the data in the source database to the mirror database;
[0218] Sequentially obtain source data in the mirror database, calculate similarity between the obtained source data and target data in the target database, and associate target data with a similarity greater than a preset first threshold with the source data;
[0219] and / or,
[0220] After all the source data in the mirror database have been acquired once, target data whose similarity with the source data is less than or equal to a preset second threshold is extracted, and the target data is evaluated using a preset evaluation step. When the evaluation passes, the target data is copied to the mirror database;
[0221] The target data is evaluated using preset evaluation steps, including:
[0222] When the target data is test data, the user information of the user currently accessing the source database is obtained;
[0223] Grouping users based on user information, and selecting at least one evaluation user in each group according to a preset first selection rule;
[0224] Send target data to evaluation users;
[0225] Receive evaluation users' evaluation of target data and results of questions;
[0226] Based on the test results, determine the error rate of each group of evaluation users;
[0227] Based on the evaluation and error rate, the evaluation value of the target data is calculated using the following formula:
[0228]
[0229] Among them, Z is the evaluation value, c j is the error rate of the jth packet; α j is the preset weight of the jth group; m is the number of groups; M is the number of evaluation users; d l is the evaluation value of the lth evaluation user determined by the evaluation model; β l is the weight value configured for the lth evaluation user; δ1 is the correlation coefficient about the error rate; δ2 is the correlation coefficient about the evaluation;
[0230] When the evaluation value is greater than the preset evaluation threshold, the target data passes the evaluation.
[0231] The working principle and beneficial effects of the above technical solution are:
[0232] When processing data, first establish a mirror database and mirror the contents of the source database to the mirror database; this does not affect the use of users who log in to the source database; by calculating the similarity between the data in the source database and the data in the target database, the data in the two databases are associated; after the association, the user who logs in to the source database can directly click the association link to jump between databases, thereby improving the user's grasp of similar or related data; when similar data exists in the target database but not in the mirror database, the mirror database needs to be expanded, but not all data needs to be expanded, and it needs to be evaluated before expansion, and only after the evaluation is passed does it need to be added to the mirror database; by extracting the source database in Online users can be grouped based on user information. For example, an education platform can group users according to their answer accuracy and / or their regular grades and / or class rankings entered into the system. A certain number of users can be drawn from each group as evaluation users. Evaluations are conducted based on the evaluated users' use of the target data (test results) and evaluations. When the evaluation threshold is exceeded, the users can be added to the mirror database. Taking the test results as one of the evaluation items can effectively avoid the situation where all selected users answer the test questions correctly, indicating that the data is too simple and does not need to be added to the mirror database. Taking evaluation as one of the evaluation items, test questions that the evaluating users consider to be difficult or representative can be added to the mirror database.
[0233] In one embodiment, the data processing system further includes: an adjustment module, which is used to adjust the weight values of the configurations of the users participating in the assessment after the data processing is completed. The adjustment formula is as follows:
[0234]
[0235] Where D' is the weight value after adjustment; D is the weight value before adjustment; d is determined based on the evaluation of the evaluation user and the impact of the evaluation results. When it is a positive impact, the value is 1, and when it is a negative impact, the value is -1; γ represents the preset adjustment value, and γ0 represents the difference between the preset positive adjustment and the adjustment; T h It is the time from when the hth evaluation user receives the target data to when he makes an evaluation, that is, the time from when the user who currently adjusts the weight receives the target data to when he makes an evaluation.
[0236] The working principle and beneficial effects of the above technical solution are:
[0237] By adjusting the weight of the evaluation user, we can ensure that the impact of the evaluation user on the final evaluation result is increased or reduced when the target data is evaluated next time, thereby ensuring the accuracy of the evaluation result.
[0238] In one embodiment, the data processing system further includes:
[0239] The association module is used to obtain the association information of the target database; based on the association information, establish the association of data in the third-party database.
[0240] The working principle and beneficial effects of the above technical solution are:
[0241] Through the association information between the target database and the third-party database, the data in the third-party database is directly associated, eliminating the steps of sequentially calculating the similarity between the source database and the third-party database, thereby improving the efficiency of data association. Direct association through association information is achieved based on the association information of the target database and the association information between the source database and the target database after data processing.
[0242] In one embodiment, the data processing system further includes: a difference annotation module, configured to obtain a first historical usage of the source data from the source database and a second historical usage of the target data from the target database after the source data is associated with the target data;
[0243] According to the multi-level classification of the users, a plurality of first usage situations representing users at each level are selected from the first historical usage situations to form a first usage situation representative set;
[0244] According to the multi-level classification of the users, a plurality of second usage situations representing users at each level are selected from the second historical usage situations to form a second usage situation representative set;
[0245] The usage difference is calculated according to the first usage representative set and the second usage representative set; when the usage difference is greater than a preset difference, the difference is marked.
[0246] The working principle and beneficial effects of the above technical solution are:
[0247] The usage situation may be a result of taking a test, and the usage situation difference may be a test accuracy rate. By comparing the differences, the data in the source database is marked to remind the user who logs into the source database to pay special attention to the data.
[0248] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A data processing method, characterized in that: include: Obtaining a data processing request of a first user; Parsing the data processing request, obtaining the first stroke order information input by the first user and / or the first identification information recognized by OCR; Inputting the first stroke order information and / or the first identification information into a pre-established first verification model to verify the data processing request; When the verification is passed, the data processing request is parsed again to obtain the source database and the target database; Based on the target database, determining a second user; sending a data processing query to the second user, and receiving feedback information from the second user regarding the data processing query; When the feedback information is in agreement, processing the data in the source database based on the data in the target database; The first user has the first-level authority of the source database, and the second user has the first-level authority of the target database; The step of inputting the first stroke order information and / or the first identification information into a pre-established first verification model to verify the data processing request includes: Extracting feature values of the first stroke order information and / or the first identification information, substituting the feature values into a pre-established neural network model to obtain a verification factor, querying a preset verification table, and when the verification factor exists in the verification table, the data processing request is verified to be successful; or, constructing a verification vector based on the first stroke order information and / or the first identification information, matching the verification vector with a standard vector in a pre-established verification library, and when the matching degree between the verification vector and the standard vector is greater than a preset matching value, the data processing request is verified to be successful; The matching degree calculation formula between the verification vector and the standard vector is as follows: Among them, P q is the matching degree between the verification vector and the qth standard vector in the verification library; n is the dimension of the verification vector and the standard vector; a i,q is the data value of the ith dimension of the qth standard vector; b i is the i-th dimension data value of the verification vector; The first stroke order information includes: a stroke type, an order between stroke types, and parameter information of each stroke, or one or more combinations thereof; The parameter information of each stroke includes: a position relationship parameter between a starting point, an end point, and a preset number of sampling points between the starting point and the end point of each stroke, and / or a handwriting force parameter of a starting point, an end point, and a preset number of sampling points between the starting point and the end point of each stroke; The first identification information includes: one or more combinations of text, graphics, and symbols; The processing of the data in the source database based on the data in the target database includes: Establishing a mirror database, and copying the data in the source database to the mirror database; Sequentially acquiring source data in the mirror database, calculating similarity between the acquired source data and target data in the target database, and associating the target data with a similarity greater than a preset first threshold with the source data; and, After all the source data in the mirror database have been acquired once, the target data whose similarity with the source data is less than or equal to a preset second threshold is extracted, the target data is evaluated using a preset evaluation step, and when the evaluation passes, the target data is copied to the mirror database; The target data is evaluated by using preset evaluation steps, including: When the target data is test question data, obtaining user information currently accessing the source database; Grouping the users based on the user information, and selecting at least one evaluation user in each group according to a preset first selection rule; sending the target data to the evaluation user; Receiving the evaluation of the target data and the result of the test by the evaluation user; Based on the test results, determining the error rate of each group of evaluation users; Based on the evaluation and the error rate, the evaluation value of the target data is calculated, and the calculation formula is as follows: Wherein, Z is the evaluation value, c j is the error rate of the jth packet; α j is the preset weight of the jth group; m is the number of groups; M is the number of evaluation users; d l is the evaluation value of the evaluation of the lth evaluation user determined by the evaluation model; β l is the weight value configured for the lth evaluation user; δ1 is the correlation coefficient about the error rate; δ2 is the correlation coefficient about the evaluation; When the evaluation value is greater than a preset evaluation threshold, the target data passes the evaluation; After the data processing is completed, the weight values of the configurations of the users participating in the assessment are adjusted. The adjustment formula is as follows: Where D' is the weight value after adjustment; D is the weight value before adjustment; d is determined based on the evaluation of the evaluation user and the impact of the evaluation results. When it is a positive impact, the value is 1, and when it is a negative impact, the value is -1; γ represents the preset adjustment value, and γ0 represents the difference between the preset positive adjustment and the adjustment; T h It is the time from when the h-th evaluation user receives the target data to when he makes an evaluation, that is, the time from when the user who currently adjusts the weight receives the target data to when he makes an evaluation.
2. The data processing method according to claim 1, characterized in that: Also includes: Before receiving the feedback information, further receiving second stroke order information input by the second user and / or second identification information recognized by OCR; Inputting the second stroke order information and / or the second identification information into a pre-established second verification model to verify the feedback information; When the verification is passed, the feedback information is received; otherwise, the feedback information is rejected and abnormal information is returned to the first user.
3. The data processing method according to claim 2, characterized in that: Also includes: Before obtaining the data processing request of the first user, obtaining first location information of the first user, Determining whether a first position corresponding to the first positioning information is located in a first preset area; When the user is in the first preset area, receiving the data processing request of the first user; otherwise, rejecting the data processing request of the first user; and / or, Before receiving the feedback information of the second user, obtaining second positioning information of the second user; Determining whether a second position corresponding to the second positioning information is located in a second preset area; When located in the second preset area, receiving the feedback information of the second user; Otherwise, refuse to receive the feedback information of the second user; and / or, Determine a relative position relationship between the first position and the second position, and when the relative position relationship meets a preset first rule, receive the feedback information of the second user; Otherwise, refuse to receive the feedback information of the second user.
4. A data processing system, characterized in that: include: A first acquisition module, used to acquire a data processing request of a first user; A first parsing module, used for parsing the data processing request, and obtaining the first stroke order information input by the first user and / or the first identification information recognized by OCR; A first verification module, configured to input the first stroke order information and / or the first identification information into a pre-established first verification model to verify the data processing request; when the verification is passed, parsing the data processing request again to obtain a source database and a target database; A first determining module, configured to determine a second user based on the target database; a first inquiry module, configured to send a data processing inquiry to the second user, and receive feedback information of the second user regarding the data processing inquiry; A data processing module, configured to process the data in the source database based on the data in the target database when the feedback information is in agreement; The first user has the first-level authority of the source database, and the second user has the first-level authority of the target database; The first verification module performs the following operations: Extracting feature values of the first stroke order information and / or the first identification information, substituting the feature values into a pre-established neural network model to obtain a verification factor, querying a preset verification table, and when the verification factor exists in the verification table, the data processing request is verified to be successful; or, constructing a verification vector based on the first stroke order information and / or the first identification information, matching the verification vector with a standard vector in a pre-established verification library, and when the matching degree between the verification vector and the standard vector is greater than a preset matching value, the data processing request is verified to be successful; The matching degree calculation formula between the verification vector and the standard vector is as follows: Among them, P q is the matching degree between the verification vector and the qth standard vector in the verification library; n is the dimension of the verification vector and the standard vector; a i,q is the data value of the ith dimension of the qth standard vector; b i is the i-th dimension data value of the verification vector; The first stroke order information includes: a stroke type, an order between stroke types, and parameter information of each stroke, or one or more combinations thereof; The parameter information of each stroke includes: a position relationship parameter between a starting point, an end point, and a preset number of sampling points between the starting point and the end point of each stroke, and / or a handwriting force parameter of a starting point, an end point, and a preset number of sampling points between the starting point and the end point of each stroke; The first identification information includes: one or more combinations of text, graphics, and symbols; The data processing module performs the following operations: Establishing a mirror database, and copying the data in the source database to the mirror database; Sequentially acquiring source data in the mirror database, calculating similarity between the acquired source data and target data in the target database, and associating the target data with a similarity greater than a preset first threshold with the source data; and, After all the source data in the mirror database have been acquired once, the target data whose similarity with the source data is less than or equal to a preset second threshold is extracted, the target data is evaluated using a preset evaluation step, and when the evaluation passes, the target data is copied to the mirror database; The target data is evaluated by using preset evaluation steps, including: When the target data is test question data, obtaining user information currently accessing the source database; Grouping the users based on the user information, and selecting at least one evaluation user in each group according to a preset first selection rule; sending the target data to the evaluation user; Receiving the evaluation of the target data and the result of the test by the evaluation user; Based on the test results, determining the error rate of each group of evaluation users; Based on the evaluation and the error rate, the evaluation value of the target data is calculated, and the calculation formula is as follows: Wherein, Z is the evaluation value, c j is the error rate of the jth packet; α j is the preset weight of the jth group; m is the number of groups; M is the number of evaluation users; d l is the evaluation value of the evaluation of the lth evaluation user determined by the evaluation model; β l is the weight value configured for the lth evaluation user; δ1 is the correlation coefficient about the error rate; δ2 is the correlation coefficient about the evaluation; When the evaluation value is greater than a preset evaluation threshold, the target data passes the evaluation; After the data processing is completed, the weight values of the configurations of the users participating in the assessment are adjusted. The adjustment formula is as follows: Where D' is the weight value after adjustment; D is the weight value before adjustment; d is determined based on the evaluation of the evaluation user and the impact of the evaluation results. When it is a positive impact, the value is 1, and when it is a negative impact, the value is -1; γ represents the preset adjustment value, and γ0 represents the difference between the preset positive adjustment and the adjustment; T h It is the time from when the h-th evaluation user receives the target data to when he makes an evaluation, that is, the time from when the user who currently adjusts the weight receives the target data to when he makes an evaluation.
5. The data processing system according to claim 4, characterized in that Also includes: A second acquisition module is used to receive second stroke order information input by the second user and / or second identification information recognized by OCR before receiving the feedback information; The second verification module is used to input the second stroke order information and / or the second identification information into a pre-established second verification model to verify the feedback information; when the verification is passed, the feedback information is received, otherwise, the feedback information is rejected and abnormal information is returned to the first user.
6. The data processing system according to claim 5, characterized in that Also includes: A first positioning module is used to obtain first positioning information of the first user before obtaining the data processing request of the first user. a first determination module, configured to determine whether the first position corresponding to the first positioning information is located in a first preset area; if located in the first preset area, receiving the data processing request of the first user; otherwise, rejecting the data processing request of the first user; and / or, A second positioning module, used for obtaining second positioning information of the second user before receiving the feedback information of the second user; A second determination module is configured to determine whether the second position corresponding to the second positioning information is located in a second preset area; when located in the second preset area, receive the feedback information of the second user; Otherwise, refuse to receive the feedback information of the second user; and / or, A third judgment module is used to determine the relative position relationship between the first position and the second position, and when the relative position relationship meets a preset first rule, receive the feedback information of the second user; Otherwise, refuse to receive the feedback information of the second user.
Citation Information
Patent Citations
Distributed monitoring system and database server, fault processing device and fault processing method thereof
CN102929220A
Data importing processing method and data processing device
CN103279542A
Database safety access control method based on independent authorization
CN104166812A
Method, device and system for providing database access control
CN104216907A
Data synchronization method and device for databases
CN106570135A
