CN109711188A - Data permission processing method, device, equipment and storage medium - Google Patents
Data permission processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109711188A CN109711188A CN201811551560.0A CN201811551560A CN109711188A CN 109711188 A CN109711188 A CN 109711188A CN 201811551560 A CN201811551560 A CN 201811551560A CN 109711188 A CN109711188 A CN 109711188A
- Authority
- CN
- China
- Prior art keywords
- data
- permission
- historical
- default basic
- permissions
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Storage Device Security (AREA)
Abstract
Data permission processing method, device, equipment and storage medium provided by the invention, belong to field of computer technology.The data permission processing method includes: to obtain the permissions data of user's input;The determining and matched default basic data of the permissions data;The determining data permission with historical data corresponding to the default basic data;Operation corresponding with the data permission is executed in target database.In the present invention, unified form management is carried out to the initial data of multiple and different databases by default basic data, and then pass through the determining data permission with historical data corresponding to the default basic data again, initial data corresponding with the historical data is inquired in target database to realize, so that executing inquiry in unified rights filtering, corresponding conversion can then be done, basic data will be preset and be converted into historical data, it is inquired by historical data, and then realizes the technical effect to data permission filtering.
Description
Technical field
The present invention relates to field of computer technology, in particular to data permission processing method, device, equipment and deposit
Storage media.
Background technique
With the arrival of big data era, the rapid development of Construction of Information Network is modernized, software office, internet is already
Incorporate all trades and professions.Along with the progress of software industry, the business of all trades and professions is while Fast Construction, by year in year out
Accumulation, necessarily lead to a large amount of data.Data are collected, and fusion is largely mentioned in various industries Constructing data center
And and application.However in tradition application, the application of data permission is very extensive.Such as traditional relevant database,
Hadoop has been applied, but semi-structured data library (such as mongodb, elasticsearch etc.) does not correspond to
Data permission scheme can not unify centralized management data permission, in turn so that each data source has the rights management of oneself
Great inconvenience is brought to user.
Summary of the invention
Data permission processing method, device, equipment and storage medium provided in an embodiment of the present invention, can solve existing skill
It can not unify centralized management data permission in art, and then bring the technical problem of great inconvenience to user.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, a kind of data permission processing method provided in an embodiment of the present invention, comprising: obtain the power of user's input
Limit data;The determining and matched default basic data of the permissions data;Determination is gone through with corresponding to the default basic data
The data permission of history data;Operation corresponding with the data permission, the target data inventory are executed in target database
Contain the initial data of multiple and different databases.
In embodiments of the present invention, the permissions data inputted by obtaining user, then determination are matched with the permissions data
Default basic data, the determining data permission with historical data corresponding to the default basic data;In target database
Middle to execute operation corresponding with the data permission, the target database is stored with the initial data of multiple and different databases.
To carry out unified form management to the initial data of multiple and different databases by default basic data, and then again by true
The fixed data permission with historical data corresponding to the default basic data, with realize in target database inquiry with it is described
The corresponding initial data of historical data can then do corresponding conversion so that executing inquiry in unified rights filtering, i.e., will be pre-
If basic data is converted into historical data, inquired by historical data, and then realizes the technology to data permission filtering
Effect.
With reference to first aspect, the embodiment of the invention provides the first possible embodiment of first aspect, determine with
The matched default basic data of permissions data, comprising: obtain identification information entrained by the permissions data;Determining and institute
State the matched default basic data of identification information.
In embodiments of the present invention, by obtaining identification information entrained by the permissions data;The determining and identification
The default basic data of information matches.To quickly determine default basic data corresponding with permissions data, and then saving is handled
Time.
With reference to first aspect, the embodiment of the invention provides second of possible embodiment of first aspect, it is described
Target database executes operation corresponding with the data permission, comprising: determines the permission according to the default basic data
Historical data corresponding to data;Initial data corresponding with the historical data is inquired in target database;Alternatively, in mesh
Mark modification initial data corresponding with the historical data in database;Alternatively, being deleted and the history in target database
The corresponding initial data of data.
In embodiments of the present invention, by determining history corresponding to the permissions data according to the default basic data
Data;Initial data corresponding with the historical data is inquired in target database, so that in unified rights filtering
Inquiry is executed, then can do corresponding conversion, historical data is converted by default basic data, is inquired by historical data, into
And realize the technical effect to data permission filtering.
The possible embodiment of second with reference to first aspect, the embodiment of the invention provides the third of first aspect
Possible embodiment, it is described that historical data corresponding to the permissions data is determined according to the default basic data, comprising:
Inquire mapping table in the default matched historical data of basic data;Using the matched historical data as the permission
Historical data corresponding to data.
In embodiments of the present invention, by inquire in the mapping table with the default matched historical data of basic data,
Data query amount can be effectively reduced, and then accelerate query time, and by only being inquired in the mapping table, it can be effective
Improve data query accuracy rate.
With reference to first aspect, the embodiment of the invention provides the kind of four possible embodiment of first aspect, it is described really
The fixed data permission with historical data corresponding to the default basic data, comprising: obtain the default basic data and taken
The identification information of band;Determine the historical data in mapping table with the identification information match;By the power of the default basic data
Limit is as the corresponding data permission of the historical data.
In embodiments of the present invention, the corresponding data permission of historical data is quickly determined by default basic data, thus
Inquiry, modification or deletion is rapidly completed by the data permission, and then has saved data processing time, meanwhile, pass through the data
Permission can data in the multiple databases of quick search after reunification, and then bring great advantage to the user.
Second aspect, a kind of data permission processing unit provided in an embodiment of the present invention, comprising: data capture unit is used
In the permissions data for obtaining user's input;Data query unit, for the matched default basic number of the determining and permissions data
According to;Data processing unit, for the determining data permission with historical data corresponding to the default basic data;Execute list
Member, for executing corresponding with data permission operation in target database, the target database be stored with it is multiple not
With the initial data of database.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiment of second aspect, the numbers
It according to query unit, is also used to: obtaining identification information entrained by the permissions data;Determination is matched pre- with the identification information
If basic data.
It is described to hold the embodiment of the invention provides second of possible embodiment of second aspect in conjunction with second aspect
Row unit is also used to: determining historical data corresponding to the permissions data according to the default basic data;In target data
Initial data corresponding with the historical data is inquired in library;Alternatively, modification and the historical data pair in target database
The initial data answered;Alternatively, deleting initial data corresponding with the historical data in target database.
In conjunction with second of possible embodiment of second aspect, the embodiment of the invention provides the thirds of second aspect
Kind possible embodiment, the execution unit are also used to: in inquiry mapping table with the default matched history of basic data
Data;Using the matched historical data as historical data corresponding to the permissions data;It is inquired in target database
Initial data corresponding with the historical data;Alternatively, being modified in target database corresponding with the historical data original
Data;Alternatively, deleting initial data corresponding with the historical data in target database.
In conjunction with second aspect, the embodiment of the invention provides the 4th kind of possible embodiment of second aspect, at data
Unit is managed, is also used to obtain identification information entrained by the default basic data;Determine in mapping table with the identification information
Matched historical data;Using the permission of the default basic data as the corresponding data permission of the historical data.
The third aspect, a kind of terminal device provided in an embodiment of the present invention, comprising: memory, processor and be stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes as described in any one of first aspect the step of data permission processing method.
Fourth aspect, a kind of storage medium provided in an embodiment of the present invention are stored with instruction on the storage medium, work as institute
Instruction is stated when running on computers, so that the computer executes such as the described in any item data permission processing sides of first aspect
Method.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with
Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the flow chart for the data permission processing method that first embodiment of the invention provides;
Fig. 2 is the functional block diagram for the data permission processing unit that second embodiment of the invention provides;
Fig. 3 is a kind of schematic diagram for terminal device that third embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.Therefore,
The model of claimed invention is not intended to limit to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
It encloses, but is merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following
Feature in embodiment and embodiment can be combined with each other.
First embodiment
Due to existing data permission processing method be only applicable to image tag low to diversity and that classification number is less into
Row classification is precision to improve the classification of processing data high to diversity, more than classification number, and the present embodiment provides firstly one
Kind data permission processing method, it should be noted that step shown in the flowchart of the accompanying drawings can be in such as one group of computer
It is executed in the computer system of executable instruction, although also, logical order is shown in flow charts, in certain situations
Under, it can be with the steps shown or described are performed in an order that is different from the one herein.It describes in detail below to the present embodiment.
Referring to Fig. 1, being the flow chart of data permission processing method provided in an embodiment of the present invention.It below will be to Fig. 1 institute
The detailed process shown is described in detail.
Step S101 obtains the permissions data of user's input.
Optionally, permissions data is a certain data in default basic data.For example, permissions data can be default basis
Account, department and/or area in data.
As a kind of implement scene, user log in a certain system (for example, the management system of user parent company, or
Person is CRM (customer relationship management, customer relation management) system etc.) when, it obtains user and logs in
Account, department and/or the area inputted when a certain system, at this point, account, department and/or area that user logs in input are
Permissions data.For example, user have input account, department and area when logging in or user merely entered account and
Department.
Certainly, in actual use, input area can be chosen whether according to actual needs.Here, being not especially limited.
Step S102, the determining and matched default basic data of the permissions data.
Wherein, presetting basic data includes area, department, account.
As an implementation, step S102 includes: to obtain identification information entrained by the permissions data;Determine with
The matched default basic data of identification information.
Wherein, identification information can be character, be also possible to character string, here, being not especially limited.
In embodiments of the present invention, by obtaining identification information entrained by the permissions data;The determining and identification
The default basic data of information matches.To quickly determine default basic data corresponding with permissions data, and then saving is handled
Time.
Step S103, the determining data permission with historical data corresponding to the default basic data.
Wherein, each default basic data has data permission corresponding with itself in advance.For example, in default basic data
Department when being DataR, be in advance inquiry for the DataR data permission imparted, certainly, in actual use, can also be with
The data permissions such as modification and/or deletion are assigned for DataR.
As an implementation, step S103 includes: to obtain identification information entrained by the default basic data;Really
Determine the historical data in mapping table with the identification information match;Using the permission of the default basic data as the history number
According to corresponding data permission.
Wherein, identification information can be character, be also possible to character string.Here, being not especially limited.
Optionally, the historical data and default basic data of multiple and different databases are previously stored in the mapping table
Mapping relations.For example, multiple and different databases can be traditional relevant database (for example, mySQL, oracle,
PostgreSQL etc.), hadoop, semi-structured data library (for example, mongoDB or elasticsearch) etc..
Optionally, historical data includes area, department, account.
Optionally, by default basic data area, department, account respectively with the history number in multiple and different databases
It is mapped according to doing one by one, i.e., the area in default basic data is done with the area in the historical data in multiple and different databases and reflected
It penetrates, the department in default basic data does with the department in the historical data in multiple and different databases to be mapped, and basis number is preset
Account in is done with the account in the historical data in multiple and different databases to be mapped, thus by multiple and different databases
Historical data carries out uniform format, allows to through unified format convenient for management data permission.
As an example it is assumed that having multiple subdivisions, respectively B, C, D, E in some company's (or unit), B, C, D, E4 are a
Department is at the same level, and each department can mutually inquire data, but since the data permission that each department is configured is all different,
When then the user of B department needs to inquire the data of C department, it is necessary to go to inquire by the administrator of either B department, general headquarters, in this way
It results in user that inquiry can not be gone either to bring great inconvenience to user query, but is weighed by the data of unified format
After limit, after user is by inputting the department's information of oneself, according to mapping table, the department of the corresponding unified format of the user is inquired
(department in i.e. default basic data), so that permission filtering is carried out by the default basic data, so that user's energy
It enough sees the data in oneself corresponding authority, further brings great convenience for user query.
Certainly, in actual use, other than inquiry, can also modify, delete etc. is operated, specifically, here,
It repeats no more.
In the possible embodiment, data permission processing method further include: obtain and stored in multiple and different databases
Historical data;Mapping processing is carried out to the historical data and default basic data, generates mapping table.
In the present embodiment, by synchronizing the historical data stored in multiple and different databases to the first present count
According to library (presetting database is for storing synchronized data), then according to the second presetting database is pre-configured in, (this is pre-
If database is used to store default basic data) in default basic data do and map with permissions data, generation mapping table.
Optionally, mapping table can also be stored separately in a certain database, to mitigate data processing pressure.
In embodiments of the present invention, pre- to first by synchronizing the historical data stored in multiple and different databases
If database, is then done and mapped with historical data according to the default basic data being pre-configured in the second presetting database, it is raw
At mapping table.To realize that the unification of data format, the unified management convenient for the later period to data permission are brought greatly to user
Convenience.
For example, there are department X in storage table A in a certain database, A, the identification information of department X is
Information entrained by departmentId field, since A table derives from other operation systems, so the value of departmentId is
Corresponding value in multiple and different databases, it is assumed that be DataA.Corresponding in the second presetting database there are department X, still
The value of departmentId is the value stored in the second presetting database, it is assumed that is DataB.Due in the second presetting database
In, DataA and DataB are mapped and (do mapping processing).User is when logging in application system, due to needing by default
Basic data is logged in, therefore the department of login user must be DataB, to be determined by the corresponding identification information of DataB
The data permission of DataA (i.e. permissions data).And then execute inquiry in unified rights filtering, then corresponding conversion can be done, i.e., will
DataB is converted into DataA, and then reaches the technical effect of data permission filtering.
In embodiments of the present invention, it is quickly defined the competence the corresponding data permission of data by default basic data, thus
Inquiry, modification or deletion is rapidly completed by the data permission, and then realizes the technical effect to data permission filtering, together
When, by the data permission can data in the multiple databases of quick search after reunification, and then brought greatly to user
Convenience.
Step S104 executes operation corresponding with the data permission in target database.
Optionally, operation corresponding with the data permission can be inquiry data, be also possible to modify data, can be with
It is to delete data.Here, being not especially limited.
As an implementation, history number corresponding to the permissions data is determined according to the default basic data
According to;Initial data corresponding with the historical data is inquired in target database;Alternatively, modification and institute in target database
State the corresponding initial data of historical data;Alternatively, deleting initial data corresponding with the historical data in target database.
Optionally, the target database is stored with the initial data of multiple and different databases.
Wherein, initial data includes but is not limited to area, department, account.
Wherein, historical data is characterized in do not mapped with default basic data before, be stored in multiple and different databases
In data.
Continue for by taking above-mentioned example as an example, the identification information of department X is entrained by departmentId field in A
Information, the value of departmentId are DataA (i.e. historical data is DataA).
In embodiments of the present invention, by determining history corresponding to the permissions data according to the default basic data
Data;Initial data corresponding with the historical data is inquired in target database, so that in unified rights filtering
Inquiry is executed, then can do corresponding conversion, historical data is converted by default basic data, is inquired by historical data, into
And realize the technical effect to data permission filtering.
Optionally, historical data corresponding to the permissions data is determined according to the default basic data, comprising: inquiry
In mapping table with the default matched historical data of basic data;Using the matched historical data of institute as the permissions data institute
Corresponding historical data.
Optionally, the historical data and default basic data of multiple and different databases are previously stored in the mapping table
Mapping relations.For example, multiple and different databases can be traditional relevant database (for example, mySQL, oracle,
PostgreSQL etc.), hadoop, semi-structured data library (for example, mongoDB or elasticsearch) etc..
In embodiments of the present invention, by inquire in the mapping table with the default matched historical data of basic data,
Data query amount can be effectively reduced, and then accelerate query time, and by only being inquired in the mapping table, it can be effective
Improve data query accuracy rate.
Data permission processing method provided by the embodiment of the present invention, the permissions data inputted by obtaining user, then really
The fixed and matched default basic data of the permissions data, the determining number with historical data corresponding to the default basic data
According to permission;Execute corresponding with data permission operation in target database, the target database be stored with it is multiple not
With the initial data of database.To carry out unified lattice to the initial data of multiple and different databases by default basic data
Formula management, and then again by the determining data permission with historical data corresponding to the default basic data, to realize in mesh
Inquiry initial data corresponding with the historical data in database is marked, so that inquiry is executed in unified rights filtering,
Corresponding conversion can be then done, i.e., converts historical data for default basic data, is inquired by historical data, and then realize
To the technical effect of data permission filtering.The unified management of the data permission to centralized and unified storing data is furthermore achieved
Technical effect.
Second embodiment
Corresponding to the data permission processing method in first embodiment, Fig. 2 shows using number shown in first embodiment
According to the one-to-one data permission processing unit of permission processing method.As shown in Fig. 2, the data permission processing unit 400 is wrapped
Include data capture unit 410, data query unit 420, data processing unit 430 and execution unit 440.Wherein, data acquisition
Unit 410, data query unit 420, data processing unit 430 and execution unit 440 realization function and first embodiment in
Corresponding step is poly- to be corresponded, and to avoid repeating, the present embodiment is not described in detail one by one.
Data capture unit 410, for obtaining the permissions data of user's input.
Optionally, permissions data includes area, department and/or account.
Data query unit 420, for the determining and matched default basic data of the permissions data.
Optionally, the default basic data includes area, department and account.
Optionally, the data query unit 420, is also used to: obtaining identification information entrained by the permissions data;Really
The fixed and matched default basic data of the identification information.
Data processing unit 430, for the determining data permission with historical data corresponding to the default basic data.
Optionally, data processing unit 430 are also used to obtain identification information entrained by the default basic data;Really
Determine the historical data in mapping table with the identification information match;Using the permission of the default basic data as the history number
According to corresponding data permission.
Execution unit 440, for executing operation corresponding with the data permission, the number of targets in target database
The initial data of multiple and different databases is contained according to inventory.
Optionally, the execution unit 440 is also used to: determining that the permissions data institute is right according to the default basic data
The historical data answered;Initial data corresponding with the historical data is inquired in target database;Alternatively, in target database
It is middle to modify initial data corresponding with the historical data;Alternatively, being deleted in target database corresponding with the historical data
Initial data.
Optionally, the execution unit 440 is also used to: inquiry mapping table in the default matched history of basic data
Data;Using the matched historical data as historical data corresponding to the permissions data;It is inquired in target database
Initial data corresponding with the historical data;Alternatively, being modified in target database corresponding with the historical data original
Data;Alternatively, deleting initial data corresponding with the historical data in target database.
3rd embodiment
As shown in figure 3, being the schematic diagram of terminal device 500.The terminal device 500 includes memory 502, processor
504 and it is stored in the computer program 503 that can be run in the memory 502 and on the processor 504, the calculating
The data permission processing method in first embodiment is realized when machine program 503 is executed by processor 504, to avoid repeating,
Details are not described herein again.Alternatively, realizing that data described in second embodiment are weighed when the computer program 503 is executed by processor 504
The function of each module/unit in processing unit is limited, to avoid repeating, details are not described herein again.
Illustratively, computer program 503 can be divided into one or more module/units, one or more mould
Block/unit is stored in memory 502, and is executed by processor 504, to complete the present invention.One or more module/units
It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing computer program 503
Implementation procedure in terminal device 500.For example, the data that computer program 503 can be divided into second embodiment obtain
Take unit 410, data query unit 420, data processing unit 430 and execution unit 440, the concrete function of each module such as first
Described in embodiment or second embodiment, it will not repeat them here.
Optionally, terminal device 500 can be the meter such as desktop PC, notebook, palm PC and cloud server
Calculate equipment.
Wherein, memory 502 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-
Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-OnlyMemory,
EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-OnlyMemory,
EEPROM) etc..Wherein, memory 502 is for storing program, and the processor 504 is after receiving and executing instruction, described in execution
The method of program, the flow definition that aforementioned any embodiment of the embodiment of the present invention discloses can be applied in processor 504, or
It is realized by processor 504.
Processor 504 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 504 can
To be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network
Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), dedicated integrated
Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..
It is understood that structure shown in Fig. 3 is only a kind of structural schematic diagram of terminal device 500, terminal device 500
It can also include than more or fewer components shown in Fig. 3.Each component shown in Fig. 3 can use hardware, software or its group
It closes and realizes.
Fourth embodiment
The embodiment of the present invention also provides a kind of storage medium, and instruction is stored on the storage medium, when described instruction exists
The data permission processing in first embodiment is realized when running on computer, when the computer program is executed by processor
Method, to avoid repeating, details are not described herein again.Alternatively, the computer program realizes second embodiment when being executed by processor
The function of each module/unit in the data permission processing unit, to avoid repeating, details are not described herein again.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this hair
Bright technical solution can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment etc.) method that executes each implement scene of the present invention.
In conclusion data permission processing method, device, equipment and storage medium provided by the embodiment of the present invention, lead to
Cross the permissions data for obtaining user's input, then determining with the matched default basic data of the permissions data, it is determining with it is described pre-
If the data permission of historical data corresponding to basic data;Behaviour corresponding with the data permission is executed in target database
Make, the target database is stored with the initial data of multiple and different databases.To by default basic data to it is multiple not
Initial data with database carries out unified form management, and then again by corresponding to the determining and default basic data
The data permission of historical data inquires initial data corresponding with the historical data to realize in target database, thus
So that executing inquiry in unified rights filtering, then corresponding conversion can be done, i.e., converts historical data for default basic data, is led to
It crosses historical data to be inquired, and then realizes the technical effect to data permission filtering.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
Claims (10)
1. a kind of data permission processing method characterized by comprising
Obtain the permissions data of user's input;
The determining and matched default basic data of the permissions data;
The determining data permission with historical data corresponding to the default basic data;
Operation corresponding with the data permission is executed in target database, the target database is stored with multiple and different numbers
According to the initial data in library.
2. the method according to claim 1, wherein the determination and the matched default basis of the permissions data
Data, comprising:
Obtain identification information entrained by the permissions data;
The determining and matched default basic data of the identification information.
3. the method according to claim 1, wherein described execute and the data permission pair in target database
The operation answered, comprising:
Historical data corresponding to the permissions data is determined according to the default basic data;
Initial data corresponding with the historical data is inquired in target database;
Alternatively, modifying initial data corresponding with the historical data in target database;
Alternatively, deleting initial data corresponding with the historical data in target database.
4. according to the method described in claim 3, it is characterized in that, described determine the permission according to the default basic data
Historical data corresponding to data, comprising:
Inquire mapping table in the default matched historical data of basic data;
Using the matched historical data as historical data corresponding to the permissions data.
5. the method according to claim 1, wherein the determination is gone through with corresponding to the default basic data
The data permission of history data, comprising:
Obtain identification information entrained by the default basic data;
Determine the historical data in mapping table with the identification information match;
Using the permission of the default basic data as the corresponding data permission of the historical data.
6. a kind of data permission processing unit characterized by comprising
Data capture unit, for obtaining the permissions data of user's input;
Data query unit, for the determining and matched default basic data of the permissions data;
Data processing unit, for the determining data permission with historical data corresponding to the default basic data;
Execution unit, for executing operation corresponding with the data permission, the target data inventory in target database
Contain the initial data of multiple and different databases.
7. device according to claim 6, which is characterized in that the data query unit is also used to:
Obtain identification information entrained by the permissions data;
The determining and matched default basic data of the identification information.
8. device according to claim 6, which is characterized in that the execution unit is also used to:
Historical data corresponding to the permissions data is determined according to the default basic data;
Initial data corresponding with the historical data is inquired in target database;
Alternatively, modifying initial data corresponding with the historical data in target database;
Alternatively, deleting initial data corresponding with the historical data in target database.
9. a kind of terminal device characterized by comprising memory, processor and storage are in the memory and can be
The computer program run on the processor, the processor realize such as claim 1 to 5 when executing the computer program
The step of described in any item data permission processing methods.
10. a kind of storage medium, which is characterized in that the storage medium for storing instruction, when described instruction on computers
When operation, so that the computer executes such as data permission processing method described in any one of claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811551560.0A CN109711188A (en) | 2018-12-18 | 2018-12-18 | Data permission processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811551560.0A CN109711188A (en) | 2018-12-18 | 2018-12-18 | Data permission processing method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109711188A true CN109711188A (en) | 2019-05-03 |
Family
ID=66255880
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811551560.0A Pending CN109711188A (en) | 2018-12-18 | 2018-12-18 | Data permission processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109711188A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402548A (en) * | 2010-09-17 | 2012-04-04 | 金蝶软件(中国)有限公司 | Method and system for controlling data query of application system |
CN103620616A (en) * | 2013-03-28 | 2014-03-05 | 华为技术有限公司 | Access control right management method and device |
US9319563B1 (en) * | 2015-02-05 | 2016-04-19 | Kabushiki Kaisha Toshiba | Image processing device and method for processing image data |
-
2018
- 2018-12-18 CN CN201811551560.0A patent/CN109711188A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402548A (en) * | 2010-09-17 | 2012-04-04 | 金蝶软件(中国)有限公司 | Method and system for controlling data query of application system |
CN103620616A (en) * | 2013-03-28 | 2014-03-05 | 华为技术有限公司 | Access control right management method and device |
US9319563B1 (en) * | 2015-02-05 | 2016-04-19 | Kabushiki Kaisha Toshiba | Image processing device and method for processing image data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11093631B2 (en) | Data access authority management method, apparatus, terminal device and storage medium | |
CN105183735B (en) | The querying method and inquiry unit of data | |
US10726356B1 (en) | Target variable distribution-based acceptance of machine learning test data sets | |
US20190268283A1 (en) | Resource Demand Prediction for Distributed Service Network | |
CN103902702A (en) | Data storage system and data storage method | |
CN104102702A (en) | Software and hardware combined application-oriented big data system and method | |
CN107168977A (en) | A kind of optimization method and device of data query | |
US10394788B2 (en) | Schema-free in-graph indexing | |
CN110390607A (en) | Objective cost measuring method, system and computer readable storage medium based on subject index system | |
US20160092801A1 (en) | Using complexity probability to plan a physical data center relocation | |
US9959268B2 (en) | Semantic modeling of geographic information in business intelligence | |
US11741101B2 (en) | Estimating execution time for batch queries | |
US11487824B2 (en) | Automated database query filtering for spatial joins | |
US9116970B2 (en) | In-database connectivity components analysis of data | |
US8688605B2 (en) | Incremental context accumulating systems with information co-location for high performance and real-time decisioning systems | |
US11017874B2 (en) | Data and memory reorganization | |
JP5206268B2 (en) | Rule creation program, rule creation method and rule creation device | |
JP2008225686A (en) | Data arrangement management device and method in distributed data processing platform, and system and program | |
US11645283B2 (en) | Predictive query processing | |
CN109711188A (en) | Data permission processing method, device, equipment and storage medium | |
Huang et al. | Processing continuous K-nearest skyline query with uncertainty in spatio-temporal databases | |
US11393050B2 (en) | Resource accommodation device, schedule management device, and resource accommodation system | |
RU2013132608A (en) | METHOD FOR SCENARIOUS DYNAMIC MODELING OF TECHNICAL AND ECONOMIC INDICATORS OF A LIFE CYCLE OF A POWER OBJECT AND A SOFTWARE AND HARDWARE COMPLEX FOR ITS IMPLEMENTATION | |
US20240045878A1 (en) | Building and using a sparse time series database (tsdb) | |
US20240004610A1 (en) | String similarity based weighted min-hashing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190503 |
|
RJ01 | Rejection of invention patent application after publication |