CN107818246A - Multi-stage user right of using functions configures and determined method and device - Google Patents
Multi-stage user right of using functions configures and determined method and device Download PDFInfo
- Publication number
- CN107818246A CN107818246A CN201711038582.2A CN201711038582A CN107818246A CN 107818246 A CN107818246 A CN 107818246A CN 201711038582 A CN201711038582 A CN 201711038582A CN 107818246 A CN107818246 A CN 107818246A
- Authority
- CN
- China
- Prior art keywords
- user
- functions
- user class
- mask
- configuration data
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of configuration of multi-stage user right of using functions and determine method and device.Authority configuration data include the Permission Levels mask of multiple user class and right of using functions mask corresponding with Permission Levels.The right of using functions of the low user of the high user's configurable user's rank of user class.Whether the right of using functions of corresponding user class is limited by the Permission Levels mask configuration of user class, passes through the limitation used with the right of using functions mask configuration corresponding to limitation user class the function of corresponding user class.The present invention realizes the limitation of multi-stage user right of using functions.
Description
Technical field
The present invention relates to user authority management technical field, in particular to a kind of multi-stage user right of using functions
Configuration and determination method and device.
Background technology
In correlation technique, substantial amounts of equipment be present has multiple functions, for example, air-conditioning equipment, has regulation temperature, system
The functions such as cold, heating, the setting of temperature upper limit lower limit.These equipment usually use for more people, and in some scenarios, different user makes
Function difference is, it is necessary to limit the function that user uses.
For the technical problem of multi-stage user right of using functions management in correlation technique, not yet propose effectively to solve at present
Certainly scheme.
The content of the invention
The invention provides a kind of configuration of multi-stage user right of using functions and method and device is determined, it is existing at least to solve
There is the technical problem of multi-stage user right of using functions management in technology.
A kind of in order to solve the above technical problems, one side according to embodiments of the present invention, there is provided multi-stage user function
Access right collocation method, this method include:Obtain configuration input;Inputted based on the configuration and produce authority configuration data, wherein
The authority configuration data include:The Permission Levels mask of multiple user class and right of using functions corresponding with Permission Levels
Mask;Wherein, the right of using functions of the low user of the high user's configurable user's rank of user class, wherein, pass through user
Whether the Permission Levels mask configuration of rank limits the right of using functions of corresponding user class, by with by limitation user class
The limitation that corresponding right of using functions mask configuration is used the function of corresponding user class.
In certain embodiments, above-mentioned authority configuration data may also include password corresponding with user class.
In certain embodiments, the high user of user class can configure all user class lower than own user rank
Right of using functions.
A kind of in order to solve the above technical problems, other side according to embodiments of the present invention, there is provided multi-stage user work(
Energy access right configuration device, the device include:Acquisition module, for obtaining configuration input;Configuration module, for being matched somebody with somebody based on this
Put input and produce authority configuration data, the wherein authority configuration data include:The Permission Levels mask of multiple user class and with
Right of using functions mask corresponding to Permission Levels;Wherein, the high user's configurable user's rank of user class low user
Right of using functions, wherein, the function of corresponding user class whether is limited by the Permission Levels mask configuration of user class to be made
With authority, the function of corresponding user class is used by being configured with the right of using functions mask corresponding to limitation user class
Limitation.
In certain embodiments, above-mentioned authority configuration data may also include password corresponding with user class.
In certain embodiments, the high user of user class can configure all user class lower than own user rank
Right of using functions.
A kind of in order to solve the above technical problems, another aspect according to embodiments of the present invention, there is provided multi-stage user work(
Energy access right determines method, and this method includes:Authority configuration data are read, the wherein authority configuration data include:Multiple use
The Permission Levels mask of family rank and right of using functions mask corresponding with Permission Levels;It is true based on the authority configuration data
Determine right of using functions, wherein, determine whether to limit the function of corresponding user class by the Permission Levels mask of user class
Access right, by making with the right of using functions mask configuration corresponding to limitation user class to the function of corresponding user class
Limitation.
In certain embodiments, this method can also be determined close by password corresponding with user class in authority configuration data
Code.
In order to solve the above technical problems, another aspect according to embodiments of the present invention, a kind of multi-stage user function uses
Authority determining device, the device include:Read module, for reading authority configuration data, wherein the authority configuration data include:
The Permission Levels mask of multiple user class and right of using functions mask corresponding with Permission Levels;Determining module, for base
Right of using functions is determined in the authority configuration data, wherein, determine whether to limit by the Permission Levels mask of user class
The right of using functions of corresponding user class, by with by the corresponding right of using functions mask configuration of limitation user class to right
The limitation for answering the function of user class to use.
In certain embodiments, determining module, it is additionally operable to by password corresponding with user class in authority configuration data
Determine password.
In the present invention, the Permission Levels mask of authority configuration data including multiple user class and with Permission Levels pair
The right of using functions mask answered.The right of using functions of the low user of the high user's configurable user's rank of user class.It is logical
Whether the Permission Levels mask configuration for crossing user class limits the right of using functions of corresponding user class, by with being used by limitation
The limitation that right of using functions mask configuration corresponding to the rank of family is used the function of corresponding user class.Realize multi-stage user
Right of using functions limits.
Brief description of the drawings
Fig. 1 is the flow chart of multi-stage user right of using functions collocation method provided in an embodiment of the present invention;
Fig. 2 is the structured flowchart of multi-stage user right of using functions configuration device provided in an embodiment of the present invention;
Fig. 3 is the flow chart that multi-stage user right of using functions provided in an embodiment of the present invention determines method;And
Fig. 4 is the structured flowchart of multi-stage user right of using functions determining device provided in an embodiment of the present invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
The embodiments of the invention provide a kind of configuration of multi-stage user right of using functions and method and device is determined, with least
Solves the technical problem of multi-stage user right of using functions management in the prior art.
A kind of in order to solve the above technical problems, one side according to embodiments of the present invention, there is provided multi-stage user function
Access right collocation method.As shown in figure 1, the method comprising the steps of S102 to step S104.
Step S102, obtain configuration input.
Step S104, inputted based on the configuration and produce authority configuration data.
In step S104, authority configuration data may include:The Permission Levels mask of multiple user class and with authority level
Not corresponding right of using functions mask.
In certain embodiments, the right of using functions of the low user of the high user's configurable user's rank of user class.
In certain embodiments, the function of the configurable all user class lower than own user rank of the high user of user class uses
Authority, thus achieve across level-right configuration.
In certain embodiments, whether the work(of corresponding user class is limited by the Permission Levels mask configuration of user class
Energy access right, by configuring the function to corresponding user class with the right of using functions mask corresponding to limitation user class
The limitation used.
In certain embodiments, above-mentioned authority configuration data may also include password corresponding with user class.Pass through user
Password corresponding to rank, the security that function uses can be increased.
Corresponding with method as shown in Figure 1, the embodiments of the invention provide a kind of configuration of multi-stage user right of using functions
Device.As shown in Fig. 2 the device includes:Acquisition module 202, for obtaining configuration input;Configuration module 204, with acquisition module
202 are connected, and authority configuration data are produced for being inputted based on the configuration.
In certain embodiments, the authority configuration data may include multiple user class Permission Levels mask and with power
Limit right of using functions mask corresponding to rank.
In certain embodiments, the right of using functions of the low user of the high user's configurable user's rank of user class.
In certain embodiments, the function of the configurable all user class lower than own user rank of the high user of user class uses
Authority.
In certain embodiments, whether the work(of corresponding user class is limited by the Permission Levels mask configuration of user class
Energy access right, by configuring the function to corresponding user class with the right of using functions mask corresponding to limitation user class
The limitation used.
In certain embodiments, above-mentioned authority configuration data may also include password corresponding with user class.
In certain embodiments, it is possible to provide graphic user interface (GUI), graphic user interface input function is passed through by user
Authority configuration, with the right of using functions of the lower user of restriction ratio own user rank.It can be obtained by graphic user interface
Configuration input.But the embodiment of the present invention is not limited to this, other input media are also to be utilized, such as phonetic entry etc..
In certain embodiments, it is possible to provide PC client software or smart mobile phone and tablet personal computer application journey
Sequence (APP) is for carrying out authority configuration.But the present embodiment is not limited to this, any other software, hardware and its mode of combination,
It is that can be contemplated for realizing the authority configuration of the embodiment of the present invention.
In order to solve the above technical problems, the embodiment of the present invention additionally provides a kind of multi-stage user right of using functions determination side
Method, as shown in figure 3, the method comprising the steps of S302 to step S304.
Step S302, read authority configuration data.
In certain embodiments, authority configuration data may include:The Permission Levels mask and and authority of multiple user class
Right of using functions mask corresponding to rank.
Step S304, based on determining right of using functions in the authority configuration data.
In certain embodiments, determine whether limitation to application by the Permission Levels mask of user class in step S304
The right of using functions of family rank, by being configured with the right of using functions mask corresponding to limitation user class to corresponding user
The limitation that the function of rank uses.
In certain embodiments, this method can also be determined close by password corresponding with user class in authority configuration data
Code.
Corresponding with method as shown in Figure 3, the embodiment of the present invention additionally provides a kind of multi-stage user right of using functions
Determining device, as shown in figure 4, the device includes:Read module 402, for reading authority configuration data;Determining module 404, with
Read module 402 is connected, for determining right of using functions based on the authority configuration data.
In certain embodiments, authority configuration data include:The Permission Levels mask of multiple user class and with authority level
Not corresponding right of using functions mask.Determining module 404 can determine whether to limit by the Permission Levels mask of user class
The right of using functions of corresponding user class, by with by the corresponding right of using functions mask configuration of limitation user class to right
The limitation for answering the function of user class to use.
In certain embodiments, determining module 404, it is additionally operable to by corresponding with user class close in authority configuration data
Code determines password.
The authority configuration data of the embodiment of the present invention are illustrated below, it will be appreciated that the explanation, which is only used as, to be shown
Example property explanation, is not the restriction to the embodiment of the present invention.
In certain embodiments, authority configuration data format is as shown in table 1.In table 1, primary user is used to be highest
Family, there is all right of using functions, and the right of using functions of configurable secondary user and three-level user.Secondary user can match somebody with somebody
Put the right of using functions of three-level user.
The authority configuration data format table of table 1
Table 2 shows that two level, three-level user have the example of all right of using functions with primary user.
0101 | 123456 | 0+123456 | 0+123456 | (no mask) |
Table 3 shows the example of limitation secondary user.
0101 | 123456 | 1+123456 | 0+123456 | Secondary user's right of using functions mask |
Table 4 shows the example of limitation three-level user.
0101 | 123456 | 0+123456 | 1+123456 | Three-level user function access right mask |
Table 5 shows limitation two level and the example of three-level user.
Table 6 shows the example of right of using functions mask.
Wind speed is adjusted | Pattern is selected | Wind speed is adjusted | Water valve is opened | Temperature upper limit is set | Lowest temperature is set | … |
1 | 1 | 0 | 0 | 1 | 1 |
On the device in above-described embodiment, wherein unit, module performs the concrete mode of operation relevant
It is described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
By the embodiment of the present invention, authority configuration data include the Permission Levels mask and and authority of multiple user class
Right of using functions mask corresponding to rank.The function right to use of the low user of the high user's configurable user's rank of user class
Limit.The right of using functions of corresponding user class whether is limited by the configuration of the Permission Levels mask of user class, by with quilt
The limitation that right of using functions mask configuration corresponding to limitation user class is used the function of corresponding user class.Realize more
The access right limitation of level user function.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein
Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or
Person's adaptations follow the general principle of the present invention and the common knowledge in the art do not invented including the present invention
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (10)
- A kind of 1. multi-stage user right of using functions collocation method, it is characterised in that including:Obtain configuration input;Authority configuration data are produced based on the configuration input, wherein the authority configuration data include:Multiple user class Permission Levels mask and right of using functions mask corresponding with Permission Levels;Wherein, the high user of user class is configurable uses The right of using functions of the low user of family rank, wherein, whether limited correspondingly by the Permission Levels mask configuration of user class The right of using functions of user class, by with by the configuration of limitation user class corresponding right of using functions mask to application The limitation that the function of family rank uses.
- 2. the method as described in claim 1, it is characterised in that the authority configuration data also include:It is corresponding with user class Password.
- 3. the method as described in claim 1, it is characterised in that the high user of user class is configurable lower than own user rank All user class right of using functions.
- 4. a kind of multi-stage user right of using functions determines method, it is characterised in that including:Authority configuration data are read, wherein, the authority configuration data include:The Permission Levels mask of multiple user class and Right of using functions mask corresponding with Permission Levels;Right of using functions is determined based on the authority configuration data, wherein, determined by the Permission Levels mask of user class Whether limitation corresponds to the right of using functions of user class, by with by the corresponding right of using functions mask of limitation user class Configure the limitation used the function of corresponding user class.
- 5. method as claimed in claim 4, it is characterised in that also include:By in the authority configuration data with user class Not corresponding password determines password.
- A kind of 6. multi-stage user right of using functions configuration device, it is characterised in that including:Acquisition module, for obtaining configuration input;Configuration module, for producing authority configuration data based on the configuration input, wherein the authority configuration data include:It is more The Permission Levels mask of individual user class and right of using functions mask corresponding with Permission Levels;Wherein, user class is high The right of using functions of the low user of user's configurable user's rank, wherein, configured by the Permission Levels mask of user class Whether limitation corresponds to the right of using functions of user class, by with by the corresponding right of using functions mask of limitation user class Configure the limitation used the function of corresponding user class.
- 7. device as claimed in claim 6, it is characterised in that the authority configuration data also include:It is corresponding with user class Password.
- 8. device as claimed in claim 6, it is characterised in that the high user of user class is configurable lower than own user rank All user class right of using functions.
- A kind of 9. multi-stage user right of using functions determining device, it is characterised in that including:Read module, for reading authority configuration data, wherein, the authority configuration data include:The power of multiple user class Limit rank mask and right of using functions mask corresponding with Permission Levels;Determining module, for determining right of using functions based on the authority configuration data, wherein, pass through the authority of user class Rank mask determines whether to limit the right of using functions of corresponding user class, by with by the corresponding function of limitation user class The limitation that the configuration of access right mask is used the function of corresponding user class.
- 10. device as claimed in claim 9, it is characterised in that the determining module, be additionally operable to by the authority configuration number Password corresponding with user class determines password in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711038582.2A CN107818246A (en) | 2017-10-30 | 2017-10-30 | Multi-stage user right of using functions configures and determined method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711038582.2A CN107818246A (en) | 2017-10-30 | 2017-10-30 | Multi-stage user right of using functions configures and determined method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107818246A true CN107818246A (en) | 2018-03-20 |
Family
ID=61604328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711038582.2A Pending CN107818246A (en) | 2017-10-30 | 2017-10-30 | Multi-stage user right of using functions configures and determined method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107818246A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101178757A (en) * | 2007-11-23 | 2008-05-14 | 珠海博睿科技有限公司 | Right managing method and apparatus |
US20110231364A1 (en) * | 2010-03-19 | 2011-09-22 | Hitachi, Ltd. | Id management method, id management system, and computer-readable recording medium |
CN102393889A (en) * | 2011-09-19 | 2012-03-28 | 北京信城通数码科技有限公司 | Permissions configuration management system |
US20120259812A1 (en) * | 2011-04-07 | 2012-10-11 | Bmc Software, Inc. | Cooperative Naming for Configuration Items in a Distributed Configuration Management Database Environment |
CN102930226A (en) * | 2012-10-25 | 2013-02-13 | 无锡中科泛在信息技术研发中心有限公司 | Method for controlling use permission of fine-grained client |
CN107104943A (en) * | 2017-03-08 | 2017-08-29 | 芜湖美智空调设备有限公司 | Internet of Things user management method, device and air conditioner |
CN107120811A (en) * | 2017-06-14 | 2017-09-01 | 珠海格力电器股份有限公司 | Authority control method, device and air-conditioning for air-conditioning |
-
2017
- 2017-10-30 CN CN201711038582.2A patent/CN107818246A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101178757A (en) * | 2007-11-23 | 2008-05-14 | 珠海博睿科技有限公司 | Right managing method and apparatus |
US20110231364A1 (en) * | 2010-03-19 | 2011-09-22 | Hitachi, Ltd. | Id management method, id management system, and computer-readable recording medium |
US20120259812A1 (en) * | 2011-04-07 | 2012-10-11 | Bmc Software, Inc. | Cooperative Naming for Configuration Items in a Distributed Configuration Management Database Environment |
CN102393889A (en) * | 2011-09-19 | 2012-03-28 | 北京信城通数码科技有限公司 | Permissions configuration management system |
CN102930226A (en) * | 2012-10-25 | 2013-02-13 | 无锡中科泛在信息技术研发中心有限公司 | Method for controlling use permission of fine-grained client |
CN107104943A (en) * | 2017-03-08 | 2017-08-29 | 芜湖美智空调设备有限公司 | Internet of Things user management method, device and air conditioner |
CN107120811A (en) * | 2017-06-14 | 2017-09-01 | 珠海格力电器股份有限公司 | Authority control method, device and air-conditioning for air-conditioning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102968602B (en) | A kind of method to set up of keyboard and device | |
RU2656685C1 (en) | Password formation method and device for its implementation | |
US20030177366A1 (en) | Method and apparatus for dynamic personal identification number management | |
CN105009123A (en) | Method and apparatus for requesting and providing access to information associated with an image | |
CN104091129A (en) | Data processing method and device | |
CN103488940A (en) | Password protection system and method for application programs of intelligent equipment | |
CN102982272B (en) | keyboard layout method and device | |
CN104217494B (en) | A kind of card number method of calibration and device | |
CN107995158A (en) | Authentication device, authentication method, electronic equipment and recording medium | |
CN101309478B (en) | Method for mobile terminal data access | |
CN111066018B (en) | Information processing apparatus, information processing method, and program | |
CN108932434B (en) | Data encryption method and device based on machine learning technology | |
Siadati et al. | Fortifying android patterns using persuasive security framework | |
CN107451036A (en) | Input reminding method, device and equipment | |
KR20150000634A (en) | Key input method and apparatus | |
CN107818246A (en) | Multi-stage user right of using functions configures and determined method and device | |
CN109542899A (en) | A kind of data method for automatically inputting and system based on target symbol | |
US7715560B2 (en) | Systems and methods for hiding a data group | |
CN105590044A (en) | Information authentication method and apparatus | |
CN104980435B (en) | A kind of identity authorization system and method | |
CN105303085A (en) | File sharing method and sharing system | |
CN104732155B (en) | System and method for specifying encryption policy automatically for user equipment | |
CN108985042A (en) | A kind of Android graphics unlocking method based on figure addend word | |
CN109873806A (en) | Numerical control device register method and system based on two dimensional code | |
CN107085727A (en) | The determination method and its device of a kind of image boundary function |
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: 20180320 |
|
RJ01 | Rejection of invention patent application after publication |