CN102467643A - Method, device and terminal for controlling operation permission - Google Patents

Method, device and terminal for controlling operation permission Download PDF

Info

Publication number
CN102467643A
CN102467643A CN201010549168XA CN201010549168A CN102467643A CN 102467643 A CN102467643 A CN 102467643A CN 201010549168X A CN201010549168X A CN 201010549168XA CN 201010549168 A CN201010549168 A CN 201010549168A CN 102467643 A CN102467643 A CN 102467643A
Authority
CN
China
Prior art keywords
control code
operating right
operating
authorized
operation permission
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.)
Granted
Application number
CN201010549168XA
Other languages
Chinese (zh)
Other versions
CN102467643B (en
Inventor
余锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201010549168.XA priority Critical patent/CN102467643B/en
Publication of CN102467643A publication Critical patent/CN102467643A/en
Application granted granted Critical
Publication of CN102467643B publication Critical patent/CN102467643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is suitable for the field of computer software and provides a method, a device and a terminal for controlling operation permission. The method comprises the following steps of: receiving a setting command of an operation permission control code, and judging the operation permission of which a control code is to be set; judging whether the operation permission of which the control code is to be set contains the operation permission of which the control code is set or not; receiving the setting command of the control code of the operation permission of which the control code is set, wherein the control code comprises the set operation permission control code; performing control code and-operation on the operation permission to be authorized and other operation permission; and authorizing the operation permission to be authorized and authorizing the operation permission of which the and-operation result is other operation permission control codes according to the and-operation result simultaneously. The efficiency and accuracy rate of authorizing the operation permission can be effectively improved by setting the operation permission control codes and through the and-operation among the operation permission control codes in the embodiment of the invention.

Description

A kind of control method of operating right, device and terminal
Technical field
The invention belongs to computer software fields, relate in particular to a kind of control method, device and terminal of operating right.
Background technology
In AMS, user's operating right generally comprises search access right, revises authority and print right etc.Prior art drives user's search access right, modification authority and print right five equilibrium into row setting usually when user's operating right is authorized, complex operation, and consider necessary contact between the operating right, easy error is set.For example: the keeper will authorize the power of amendment in limited time to certain user; Only carried out corresponding setting to revising authority; And this user's search access right is not set; Because the general inquiry authority does not have this user of search access right can't land corresponding interface revising on the authority, cause the modification authority to report an error.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of operating right control method, is intended to solve in the existing operating right control user's operating right branch is arranged, and causes easily to be provided with and makes mistakes and the problem of complex operation.
The embodiment of the invention is achieved in that a kind of operating right control method, and said method comprises the steps:
Receive the instruction that is provided with of operating right control code, treat the operating right that control code is set and judge;
Judge whether the said operating right that control code is set of waiting comprises the operating right that control code has been set;
Reception comprises the instruction that is provided with of operating right control code that the control code operating right is set, and said control code comprises the operating right control code that has been provided with;
Operating right to control code is set is authorized, and operating right to be authorized and other operating right are carried out control code and operation;
According to said and operating result, when treating the Authorized operation permission grant, to operating result be that the operating right of other operating right control codes is also authorized.
Another purpose of the embodiment of the invention is to provide a kind of operating right control device, and said device comprises:
The command reception unit is set, is used to receive the instruction that is provided with of operating right control code, treat the operating right that control code is set and judge;
The operating right judging unit is used to judge whether the said operating right that control code is set of waiting comprises the operating right that control code has been set;
Secondary is provided with the command reception unit, is used to receive the instruction that is provided with that comprises operating right control code that the control code operating right is set, and said control code comprises the operating right control code that has been provided with;
With operating unit, be used for the operating right that control code is set is authorized, operating right to be authorized and other operating right are carried out control code and operation;
The operating right control module is used for according to said and operating result, when treating the Authorized operation permission grant, to operating result be that the operating right of other operating right control codes is also authorized.
Another purpose of the embodiment of the invention is to provide a kind of terminal that comprises aforesaid operations control of authority device.
In embodiments of the present invention; Through between the setting of operating right control code and the operating right control code with operation; According to said and operating result; When treating the Authorized operation permission grant, to operating result be that the operating right of other operating right control codes is also authorized, can effectively improve the efficient and the accuracy rate of operating right mandate.
Description of drawings
Fig. 1 is the realization flow figure of the operating right control method that provides of the embodiment of the invention;
Fig. 2 is the structural drawing of the operating right control device that provides of the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention through between the setting of operating right control code and the operating right control code with operation; According to said and operating result; When treating the Authorized operation permission grant; To with operating result be that the operating right of other operating right control codes is also authorized, can effectively improve the efficient and the accuracy rate of operating right mandate.
For technical scheme of the present invention is described, describe through specific embodiment below.
Embodiment one:
Fig. 1 shows the realization flow of the operating right control method that the embodiment of the invention provides; This method through between the setting of operating right control code and the operating right control code with operation; According to said and operating result, when treating the Authorized operation permission grant, to operating result be that the operating right of other operating right control codes is also authorized; Can effectively improve the efficient and the accuracy rate of operating right mandate, details are as follows for this procedure:
In step S101, receive the instruction that is provided with of operating right control code, treat the operating right that control code is set and judge.
In embodiments of the present invention; Operating right is including, but not limited to user's search access right, modification authority and print right; In said operating right, possibly there is relation of inclusion, promptly certain operating right possibly be on the basis of another operating right, to operate.For example in search access right, modification authority and print right, revising authority and print right is on the search access right basis, to operate, and promptly the user must also will be provided with user's search access right when make amendment authority and print right are provided with.Therefore; Receive first operating right control code instruction is set after; Second operating right carried out the judgement before control code is provided with; Judge whether second operating right comprises first operating right, equally n operating right carried out before control code is provided with, judge n operating right whether comprise before in n-1 operating right one or more.
As one embodiment of the present of invention, operating right is provided with control code, said control code can be set to one or the integer more than, can certainly be set to the combination of letter or numeral and letter etc., can be defined in advance by the user.For example: can the search access right control code be set to 8 or 12 etc.
In step S102, judge whether the said operating right that control code is set of waiting comprises the operating right that control code has been set, otherwise execution in step S103, be execution in step S104 then.
As one embodiment of the present of invention; Treat the operating right that control code is set preceding judgement is set; Judge whether the said operating right of waiting to be provided with control code comprises one or more in the operating right that control code has been set, if then receive the instruction that is provided with that comprises operating right control code that the control code operating right is set; Said control code comprises the operating right control code that has been provided with; If not, the control code that receives said operating right is provided with instruction, said control code does not comprise the operating right control code that has been provided with.
In step S103, receive the instruction that is provided with of said operating right control code, said control code does not comprise the operating right control code that has been provided with.
In step S104, receive the instruction that is provided with comprise operating right control code that the control code operating right is set, said control code comprises the operating right control code that has been provided with.
In embodiments of the present invention, control code comprise the operating right control code that has been provided with refer to wait to be provided with the operating right of control code and the operating right that control code has been set and carry out control code and operation after, the result equals setting operation control of authority sign indicating number.
Setting to comprising the operating right control code that the control code operating right is set is exemplified below: the search access right control code that has been provided with is 12, wherein, waits that the modification authority that control code is set comprises search access right; Treat the modification authority that control code is set and carry out control code and operation with the search access right that has been provided with; After said and operation were meant that the digital conversion with " and " both sides becomes scale-of-two, step-by-step compared, if the numeral of corresponding position all is 1; Result after then comparing is 1, otherwise is 0.Promptly revise the scale-of-two and 1100=1100 that authority control code and 12=revises the authority control code, drawing the scale-of-two of revising the authority control code is 1101,1110; 1111 etc.; Converting the decimal system to is 13,14,15 etc.; Revise the authority control code and get wherein that any gets final product, said modification authority control code comprises the search access right control code that has been provided with.
In step S105, the operating right that control code is set is authorized, operating right to be authorized and other operating right are carried out control code and operation.
As one embodiment of the present of invention, said other operating right refers to the operating right except that treating the Authorized operation authority in the operating right that control code is set.In the time need authorizing, said operating right and other operating rights that has set control code are carried out control code and operation to certain operating right that has set control code.
In step S106, according to said and operating result, when treating the Authorized operation permission grant, to operating result be that the operating right of other operating right control codes is also authorized.
In embodiments of the present invention; Aforesaid operations is illustrated as follows: treat the Authorized operation authority for revising authority, revising the authority control code is 13, and other operating rights that set control code are print right and search access right; Its control code is respectively 10 and 12; To revise authority control code and print right and search access right control code and carry out respectively and operation, the result is 13 and 12=1101 and 1100=1100,13 and 10=1101 and 1010=1000.Can find out that from said result the result who revises authority control code and search access right control code is the search access right control code, so when the modification authority is authorized, search access right is also authorized.
Fig. 2 shows the structure of the operating right control device that the embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.
This operating right control device can be used for the various application terminals that possess operating right; For example notebook computer, ATM cash dispenser, pocket computing machine (Pocket Personal Computer; PPC), personal digital assistant (Personal Digital Assistant; PDA) etc. in, can be the software unit that runs in these application terminals, also can be used as independently, suspension member be integrated in these application terminals; The operating right control device comprise be provided with command reception unit 21, operating right judging unit 22, secondary be provided with command reception unit 23, with operating unit 24 and operating right control module 25, wherein:
The instruction that is provided with that command reception unit 21 receives the operating right control code is set, treats the operating right that control code is set and judge.
Operating right judging unit 22 judges whether the said operating right that control code is set of waiting comprises the operating right that control code has been set; If the said operating right of waiting to be provided with control code comprises in the operating right that control code is set one or more; Then secondary is provided with command reception unit 24 and receives the instruction that is provided with that comprises operating right control code that the control code operating right is set, and said control code comprises the operating right control code that has been provided with.Wherein, said control code comprise the operating right control code that has been provided with refer to treat that setting operation authority and setting operation authority have been carried out control code and operation after, the result equals setting operation control of authority sign indicating number.If the said operating right that control code is set of waiting does not comprise the operating right that control code has been set, then to wait the instruction that is provided with that command reception unit 23 receives said operating right control code is set, said control code does not comprise the operating right control code that has been provided with.
Authorize with 25 pairs of operating rights that control code has been set of operating unit; Operating right to be authorized and other operating right are carried out control code and operation; And said result sent to operating right control module 26 according to said and operating result; When treating the Authorized operation permission grant, to operating result be that the operating right of other operating right control codes is also authorized.
In embodiments of the present invention; Through between the setting of operating right control code and the operating right control code with operation; According to said and operating result; When treating the Authorized operation permission grant, to operating result be that the operating right of other operating right control codes is also authorized, can effectively improve the efficient and the accuracy rate of operating right mandate.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. an operating right control method is characterized in that, said method comprises the steps:
Receive the instruction that is provided with of operating right control code, treat the operating right that control code is set and judge;
Judge whether the said operating right that control code is set of waiting comprises the operating right that control code has been set;
Reception comprises the instruction that is provided with of operating right control code that the control code operating right is set, and said control code comprises the operating right control code that has been provided with;
Operating right to control code is set is authorized, and operating right to be authorized and other operating right are carried out control code and operation;
According to said and operating result, to said treat the Authorized operation permission grant in, to operating result be that the operating right of other operating right control codes is also authorized.
2. the method for claim 1 is characterized in that, said method further comprises the steps:
When judging that the said operating right of waiting to be provided with control code does not comprise the operating right that control code has been set, receive the instruction that is provided with of the said operating right control code of waiting to be provided with control code, said control code does not comprise the operating right control code that has been provided with.
3. an operating right control device is characterized in that, said device comprises:
The command reception unit is set, is used to receive the instruction that is provided with of operating right control code, treat the operating right that control code is set and judge;
The operating right judging unit is used to judge whether the said operating right that control code is set of waiting comprises the operating right that control code has been set;
Secondary is provided with the command reception unit, is used to receive the instruction that is provided with that comprises operating right control code that the control code operating right is set, and said control code comprises the operating right control code that has been provided with;
With operating unit, be used for the operating right that control code is set is authorized, operating right to be authorized and other operating right are carried out control code and operation; And
The operating right control module is used for according to said and operating result, when treating the Authorized operation permission grant, to operating result be that the operating right of other operating right control codes is also authorized.
4. device as claimed in claim 3 is characterized in that, said device also comprises:
Wait to be provided with the command reception unit; Be used for when judging that the said operating right of waiting to be provided with control code does not comprise the operating right that control code has been set; Receive the said instruction that is provided with of waiting to be provided with control code operating right control code, said control code does not comprise the operating right control code that has been provided with.
5. terminal that comprises the said operating right control device of claim 3.
CN201010549168.XA 2010-11-18 2010-11-18 Method, device and terminal for controlling operation permission Active CN102467643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010549168.XA CN102467643B (en) 2010-11-18 2010-11-18 Method, device and terminal for controlling operation permission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010549168.XA CN102467643B (en) 2010-11-18 2010-11-18 Method, device and terminal for controlling operation permission

Publications (2)

Publication Number Publication Date
CN102467643A true CN102467643A (en) 2012-05-23
CN102467643B CN102467643B (en) 2014-12-10

Family

ID=46071269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010549168.XA Active CN102467643B (en) 2010-11-18 2010-11-18 Method, device and terminal for controlling operation permission

Country Status (1)

Country Link
CN (1) CN102467643B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5018096A (en) * 1987-12-28 1991-05-21 Kabushiki Kaisha Toshiba Security administrator for automatically updating security levels associated with operator personal identification data
CN1609826A (en) * 2003-10-18 2005-04-27 鸿富锦精密工业(深圳)有限公司 Method for traversing licensing rights in access control list
CN1848022A (en) * 2005-04-13 2006-10-18 华为技术有限公司 Authority control method based on access control list

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5018096A (en) * 1987-12-28 1991-05-21 Kabushiki Kaisha Toshiba Security administrator for automatically updating security levels associated with operator personal identification data
CN1609826A (en) * 2003-10-18 2005-04-27 鸿富锦精密工业(深圳)有限公司 Method for traversing licensing rights in access control list
CN1848022A (en) * 2005-04-13 2006-10-18 华为技术有限公司 Authority control method based on access control list

Also Published As

Publication number Publication date
CN102467643B (en) 2014-12-10

Similar Documents

Publication Publication Date Title
CN1684412B (en) Apparatus and method for secure hash algorithm
CN100504827C (en) Establishing command order in an out of order dma command queue
CN101567013B (en) Method and apparatus for implementing ETL scheduling
CN104820613A (en) Compiling method for heterogeneous multi-core routine
CN111954195B (en) RFID label digital baseband system
CN100524318C (en) Ordering method and system for different attribute haracter
CN103646206B (en) A kind of access method of compatible different encryption devices
CN101246449A (en) Tracking function invocation track method and device
CN103617045A (en) Plug-in development system and method based on user-defined Excel function
CN102404786B (en) Method and device for controlling service jam
CN102541517A (en) Authority configuration method, device and system
CN102467643A (en) Method, device and terminal for controlling operation permission
CN102314643A (en) Intelligent ticket proposing method of power network dispatch operation ticket system
Gui et al. An approximate evaluation method for neighbourhood solutions in job shop scheduling problem
CN106529305A (en) Embedded trusted computing module communication protocol
CN101546301A (en) Method of synergetic computer comprising heterogeneous processors
CN103338063A (en) Android electric intelligent key and Bluetooth unlock system, as well as implementation method thereof
CN110377332B (en) Online reloading method for safe computer platform software program
Hou et al. Deadlock control for a class of generalized Petri nets based on proper resource allocation
CN101894008B (en) The apparatus and method of switch interrupts
CN205427989U (en) Mobile phone access control system
CN107220053A (en) A kind of BIOS management methods and electronic equipment
CN110288316A (en) The method and terminal device of transforming plant primary equipment work card arrangement
CN104809073A (en) System on chip and bit manipulation logic control method thereof
CN101763031A (en) System for intelligently leading in and checking control strategy of safety auto-mechanism

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant