CN105491071A - Authority control method and authority control system between users - Google Patents
Authority control method and authority control system between users Download PDFInfo
- Publication number
- CN105491071A CN105491071A CN201610028748.1A CN201610028748A CN105491071A CN 105491071 A CN105491071 A CN 105491071A CN 201610028748 A CN201610028748 A CN 201610028748A CN 105491071 A CN105491071 A CN 105491071A
- Authority
- CN
- China
- Prior art keywords
- user
- memory module
- data cell
- module
- authority
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Abstract
The invention discloses an authority control method and an authority control system between users, wherein the authority control method comprises the steps of defining each bit in the data unit of a first storage module by a first user management module; setting corresponding bits in the data unit of the first storage module by the first user management module according to the authority setting requirement of the first user management module to a second user; setting the corresponding bits in the data unit of the second storage module by a system control module according to a bit change in the data unit of the first storage module; and respectively reading the data unit of the first storage module and the data unit of the second storage module by a first state module and a second state module, thereby obtaining authority setting between the first user and the second user. According to the authority control method and the authority control system, a plurality of authorities are stored in one data unit, thereby obtaining ultralow occupation amount and realizing user-only setting; bidirectional functioning and simple operation are realized through system control; and a bidirectional relationship can be obtained from one data unit, thereby saving a transmission code flow.
Description
Technical field
The application relates to user management field, specifically, relates to authority control method and system between a kind of user.
Background technology
Along with developing rapidly of user's request and informationization technology, the business in social network services SNS (SocialNetworkingServices) field obtains expansion at full speed.SNS is intended to by the colourful internet, applications service for user sets up of socialization the Internet.The service systems such as social group, social application and social gaming are also more and more common in routine work life.We and exchanging between other people has been added closely by social type website in life; and social networks is shared as object with what provide information; but in some cases, user to wish that to other authority of certain or certain user limits, thus protects individual privacy.
And relation in social software between user is more, cause and need to store a lot of data with program, carry out the setting between recording user, server and client side also needs to open up a large amount of data cells to store, transmitted data on network must be caused so again to increase, transmission rate and accuracy rate all can reduce, and can not increase by parameter.
Such as, a kind of social network method for authenticating user identity based on relation statement is provided in existing patent application (publication number: CN102035846A), the method concrete steps are as follows: issue relation statement user first for its direct good friend issues relation statement, these parameters are comprised: { the publisher of relation statement in relation statement, recipient, relationship type, timestamp }; At this, user states for its all direct good friend issues relation, and signs to relation statement result, being finally saved on relationship server by relation statement; Relationship server is each user reserved relation statement storage directory, is used for depositing its relation statement issued, and this certainly will cause rolling up of memory space, waste resource.
Summary of the invention
In view of this, technical problems to be solved in this application there is provided authority control method and system between a kind of user, to solve in prior art in social intercourse system the amendment of various authority and the problem of storage between two users or multi-user.
In order to solve the problems of the technologies described above, the application has following technical scheme:
The invention provides authority control method between a kind of user, comprising: first user administration module defines position each in the data cell of the first memory module; Described first user administration module is arranged corresponding positions in the data cell of described first memory module the priority assignation demand of the second user according to self; System control module is arranged the corresponding positions in the data cell of the second memory module according to the change of the data cell meta of described first memory module; First block of state and the second block of state read the data cell of described first memory module and the data cell of described second memory module respectively, thus know the priority assignation between first user and the second user; The priority assignation of described second user to first user is identical with above-mentioned steps, and described first user is different users from described second user.
The present invention also provides authority control system between a kind of user, comprise: first user administration module, the first memory module, the first block of state, system control module, the second user management module, the second memory module, the second block of state, wherein said first user administration module, couple with described first memory module, define for position each in the data cell to the first memory module, and according to self, the priority assignation demand of the second user is arranged corresponding positions in the data cell of described first memory module; Described first memory module, couple with described system control module, first user administration module and the first block of state, for storage data units, and send the information of data cell to described system control module, and receive the instruction of described system control module; Described first block of state, couples with described first memory module, for reading the information of the data cell of described first memory module, knows the priority assignation between first user and the second user; Described system control module, couple with described first memory module and described second memory module, change for the data cell meta according to described first memory module is arranged the corresponding positions in the data cell of the second memory module, or arranges the corresponding positions in the data cell of the first memory module according to the change of the data cell meta of described second memory module; Described second user management module, couple with described second memory module, define for position each in the data cell to the second memory module, and according to self, the priority assignation demand of first user is arranged corresponding positions in the data cell of described second memory module; Described second memory module, couple with described system control module, the second user management module and the second block of state, for storage data units, and send the information of data cell to described system control module, and receive the instruction of described system control module; Described second block of state, couples with described second memory module, for reading the information of the data cell of described second memory module, knows the priority assignation between first user and the second user.
Compared with prior art, the method and system described in the application, reaches following effect:
The first, the invention provides authority control method and system between user, multiple authority be stored in a data cell, occupancy is extremely simple;
The second, the present invention can realize user and unilaterally arrange, and comes into force, operate simple and easy by Systematical control is two-way, with regard to known bidirectional relationship from a data cell, saves transmission code stream;
3rd, in the present invention, Operation system setting comes into force immediately, is pushed to both sides' client, saves time.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the present application, and form a application's part, the schematic description and description of the application, for explaining the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is authority control method flow chart between described a kind of user of the present invention;
Fig. 2 is that between described a kind of user of the present invention, in authority control method, data cell arranges schematic diagram;
Fig. 3 is authority control system structural representation between described a kind of user of the present invention.
Embodiment
As employed some vocabulary to censure specific components in the middle of specification and claim.Those skilled in the art should understand, and hardware manufacturer may call same assembly with different noun.This specification and claims are not used as with the difference of title the mode distinguishing assembly, but are used as the criterion of differentiation with assembly difference functionally." comprising " as mentioned in the middle of specification and claim is in the whole text an open language, therefore should be construed to " comprise but be not limited to "." roughly " refer to that in receivable error range, those skilled in the art can solve the technical problem within the scope of certain error, reach described technique effect substantially.In addition, " couple " word and comprise directly any and indirectly electric property coupling means at this.Therefore, if describe a first device in literary composition to be coupled to one second device, then represent described first device and directly can be electrically coupled to described second device, or be indirectly electrically coupled to described second device by other devices or the means that couple.Specification subsequent descriptions is implement the better embodiment of the application, and right described description is for the purpose of the rule that the application is described, and is not used to the scope limiting the application.The protection range of the application is when being as the criterion depending on the claims person of defining.
Embodiment 1
Specific embodiment for authority control method between user described in the application shown in Figure 1, described in the present embodiment, method comprises the following steps:
Step 101: first user administration module defines position each in the data cell of the first memory module;
Step 102: described first user administration module is arranged corresponding positions in the data cell of described first memory module the priority assignation demand of the second user according to self;
Step 103: system control module is arranged the corresponding positions in the data cell of the second memory module according to the change of the data cell meta of described first memory module;
Step 104: the first block of state and the second block of state read the data cell of described first memory module and the data cell of described second memory module respectively, thus know the priority assignation between first user and the second user;
The priority assignation of described second user to first user is identical with above-mentioned steps, and described first user is different users from described second user.
Wherein, the data cell median of described first memory module is N, and definition wherein 0 ~ M position is the priority assignation of described first user to described second user, and described M ~ N-1 position is that described second user is to the priority assignation of described first user; The data cell median of described second memory module is N, definition wherein 0 ~ M position is that described second user is to the priority assignation of described first user, described m ~ N-1 position is the priority assignation of described first user to described second user, and wherein M, N are natural number.
Wherein, described method also comprises: described first user administration module is arranged K position in the data cell of described first memory module the priority assignation demand of the second user according to self; System control module is arranged the L position in the data cell of the second memory module according to the change of the data cell meta of described first memory module; Wherein, K and L is respectively the corresponding position for same priority assignation in the data cell of described first memory module and the data cell of described second memory module, and its K, L are natural number.
Wherein, time initial, N position is 0 or 1.
Wherein, described priority assignation includes but not limited to draw black, circle of friends authority, space reads authority, picture browsing authority, authority of making comments, stealthy visible authority.
Embodiment 2
For being described in more detail the present invention, the data cell for authority control method between user described in the application shown in Figure 2 is arranged, and as shown in the figure, the data cell of first user and the second user is 64.
For first user, in first user data cell, low 32 is himself priority assignation to the second user, and high 32 what store is the priority assignation of the second user to first user.Time initial, 64 are 0.
Suppose that the 0th is draw black authority, first user is by the second user La Hei, and only need the 0th of data cell in the first memory module the to be set to 1, then system control module by the 32nd of data cell in the second memory module, can be set to 1.
First block of state reads the authority credentials of the second user in data cell, find that the 0th is 1, just know that the second user has been drawn black, the second block of state reads the authority credentials of first user in data cell, find that the 32nd is 1, just can know and oneself drawn by first user black.
Second user arranges first user and draws black in above step.
Wherein, priority assignation is black to draw, but is not limited to circle of friends authority, space reading authority, picture browsing authority, authority, the stealthy visible authority etc. of making comments authority.
Embodiment 3
Specific embodiment for authority control system between user described in the application shown in Figure 3, described in the present embodiment, system comprises: first user administration module 201, first memory module 202, first block of state 203, system control module 204, second user management module 205, second memory module 206, second block of state 207, wherein
Described first user administration module 201, couple with described first memory module 202, define for each position in the data cell to the first memory module 202, and according to self, the priority assignation demand of the second user is arranged corresponding positions in the data cell of described first memory module 202;
Described first memory module 202, couple with described system control module 204, first user administration module 201 and the first block of state 203, for storage data units, and send the information of data cell to described system control module 204, and receive the instruction of described system control module 204;
Described first block of state 203, couples with described first memory module 202, for reading the information of the data cell of described first memory module 202, knows the priority assignation between first user and the second user;
Described system control module 204, couple with described first memory module 202 and described second memory module 206, change for the data cell meta according to described first memory module 202 is arranged the corresponding positions in the data cell of the second memory module 206, or arranges the corresponding positions in the data cell of the first memory module 202 according to the change of the data cell meta of described second memory module 206;
Described second user management module 205, couple with described second memory module 206, define for each position in the data cell to the second memory module 206, and according to self, the priority assignation demand of first user is arranged corresponding positions in the data cell of described second memory module 206;
Described second memory module 206, couple with described system control module 204, second user management module 205 and the second block of state 207, for storage data units, and send the information of data cell to described system control module 204, and receive the instruction of described system control module 204;
Described second block of state 207, couples with described second memory module 206, for reading the information of the data cell of described second memory module 206, knows the priority assignation between first user and the second user.
Wherein, the data cell median of described first memory module 202 is N, and definition wherein 0 ~ M position is the priority assignation of described first user to described second user, and described M ~ N-1 position is that described second user is to the priority assignation of described first user; The data cell median of described second memory module 206 is N, definition wherein 0 ~ M position is that described second user is to the priority assignation of described first user, described m ~ N-1 position is the priority assignation of described first user to described second user, and wherein M, N are natural number.
Wherein, described system also comprises: described first user administration module 201 is arranged K position in the data cell of described first memory module 202 the priority assignation demand of the second user according to self; System control module 204 is arranged the L position in the data cell of the second memory module 206 according to the change of the data cell meta of described first memory module 202; Wherein, K and L is respectively the corresponding position for same priority assignation in the data cell of described first memory module 202 and the data cell of described second memory module 206, and its K, L are natural number.
Wherein, N is 64, time initial, and 64 are 0 or 1.
Wherein, described priority assignation includes but not limited to draw black, circle of friends authority, space reads authority, picture browsing authority, authority of making comments, stealthy visible authority.
Known by above each embodiment, the beneficial effect that the application exists is:
The first, the invention provides authority control method and system between user, multiple authority be stored in a data cell, occupancy is extremely simple;
The second, the present invention can realize user and unilaterally arrange, and comes into force, operate simple and easy by Systematical control is two-way, with regard to known bidirectional relationship from a data cell, saves transmission code stream;
3rd, in the present invention, Operation system setting comes into force immediately, is pushed to both sides' client, saves time.
Those skilled in the art should understand, the embodiment of the application can be provided as method, device or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
Above-mentioned explanation illustrate and describes some preferred embodiments of the application, but as previously mentioned, be to be understood that the application is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope described herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the application, then all should in the protection range of the application's claims.
Claims (10)
1. an authority control method between user, is characterized in that, comprising:
First user administration module defines position each in the data cell of the first memory module;
Described first user administration module is arranged corresponding positions in the data cell of described first memory module the priority assignation demand of the second user according to self;
System control module is arranged the corresponding positions in the data cell of the second memory module according to the change of the data cell meta of described first memory module;
First block of state and the second block of state read the data cell of described first memory module and the data cell of described second memory module respectively, thus know the priority assignation between first user and the second user;
The priority assignation of described second user to first user is identical with above-mentioned steps, and described first user is different users from described second user.
2. authority control method between user according to claim 1, it is characterized in that, the data cell median of wherein said first memory module is N, definition wherein 0 ~ M position is the priority assignation of described first user to described second user, and described M ~ N-1 position is that described second user is to the priority assignation of described first user; The data cell median of described second memory module is N, definition wherein 0 ~ M position is that described second user is to the priority assignation of described first user, described m ~ N-1 position is the priority assignation of described first user to described second user, and wherein M, N are natural number.
3. authority control method between user according to claim 2, it is characterized in that, described method also comprises: described first user administration module is arranged K position in the data cell of described first memory module the priority assignation demand of the second user according to self; System control module is arranged the L position in the data cell of the second memory module according to the change of the data cell meta of described first memory module; Wherein, K and L is respectively the corresponding position for same priority assignation in the data cell of described first memory module and the data cell of described second memory module, and its K, L are natural number.
4. authority control method between user according to claim 3, it is characterized in that, N is 64, time initial, and 64 are 0 or 1.
5. authority control method between user according to any one of claim 1-4, is characterized in that, described priority assignation includes but not limited to draw black, circle of friends authority, authority, picture browsing authority, authority of making comments, stealthy visible authority are read in space.
6. an authority control system between user, is characterized in that, comprising: first user administration module, the first memory module, the first block of state, system control module, the second user management module, the second memory module, the second block of state, wherein
Described first user administration module, couple with described first memory module, define for position each in the data cell to the first memory module, and according to self, the priority assignation demand of the second user is arranged corresponding positions in the data cell of described first memory module;
Described first memory module, couple with described system control module, first user administration module and the first block of state, for storage data units, and send the information of data cell to described system control module, and receive the instruction of described system control module;
Described first block of state, couples with described first memory module, for reading the information of the data cell of described first memory module, knows the priority assignation between first user and the second user;
Described system control module, couple with described first memory module and described second memory module, change for the data cell meta according to described first memory module is arranged the corresponding positions in the data cell of the second memory module, or arranges the corresponding positions in the data cell of the first memory module according to the change of the data cell meta of described second memory module;
Described second user management module, couple with described second memory module, define for position each in the data cell to the second memory module, and according to self, the priority assignation demand of first user is arranged corresponding positions in the data cell of described second memory module;
Described second memory module, couple with described system control module, the second user management module and the second block of state, for storage data units, and send the information of data cell to described system control module, and receive the instruction of described system control module;
Described second block of state, couples with described second memory module, for reading the information of the data cell of described second memory module, knows the priority assignation between first user and the second user.
7. authority control system between user according to claim 6, it is characterized in that, the data cell median of wherein said first memory module is N, definition wherein 0 ~ M position is the priority assignation of described first user to described second user, and described M ~ N-1 position is that described second user is to the priority assignation of described first user; The data cell median of described second memory module is N, definition wherein 0 ~ M position is that described second user is to the priority assignation of described first user, described m ~ N-1 position is the priority assignation of described first user to described second user, and wherein M, N are natural number.
8. authority control system between user according to claim 7, it is characterized in that, described system also comprises: described first user administration module is arranged K position in the data cell of described first memory module the priority assignation demand of the second user according to self; System control module is arranged the L position in the data cell of the second memory module according to the change of the data cell meta of described first memory module; Wherein, K and L is respectively the corresponding position for same priority assignation in the data cell of described first memory module and the data cell of described second memory module, and its K, L are natural number.
9. authority control system between user according to claim 8, it is characterized in that, N is 64, time initial, and 64 are 0 or 1.
10. authority control system between user according to any one of claim 6-9, is characterized in that, described priority assignation includes but not limited to draw black, circle of friends authority, authority, picture browsing authority, authority of making comments, stealthy visible authority are read in space.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610028748.1A CN105491071B (en) | 2016-01-15 | 2016-01-15 | Authority control method and system between a kind of user |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610028748.1A CN105491071B (en) | 2016-01-15 | 2016-01-15 | Authority control method and system between a kind of user |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105491071A true CN105491071A (en) | 2016-04-13 |
CN105491071B CN105491071B (en) | 2019-05-14 |
Family
ID=55677784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610028748.1A Active CN105491071B (en) | 2016-01-15 | 2016-01-15 | Authority control method and system between a kind of user |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105491071B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374148A (en) * | 2008-09-18 | 2009-02-25 | 腾讯科技(深圳)有限公司 | Method and system for managing blog intimate authority |
CN102143493A (en) * | 2011-01-26 | 2011-08-03 | 惠州Tcl移动通信有限公司 | Mobile communication terminal with user management function and user management method thereof |
WO2015154457A1 (en) * | 2014-09-11 | 2015-10-15 | 中兴通讯股份有限公司 | Security control method for user in social network, social application device and terminal |
-
2016
- 2016-01-15 CN CN201610028748.1A patent/CN105491071B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374148A (en) * | 2008-09-18 | 2009-02-25 | 腾讯科技(深圳)有限公司 | Method and system for managing blog intimate authority |
CN102143493A (en) * | 2011-01-26 | 2011-08-03 | 惠州Tcl移动通信有限公司 | Mobile communication terminal with user management function and user management method thereof |
WO2015154457A1 (en) * | 2014-09-11 | 2015-10-15 | 中兴通讯股份有限公司 | Security control method for user in social network, social application device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105491071B (en) | 2019-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453066B (en) | Group session processing method, terminal, server and system | |
CN103067257B (en) | Method and server and system for achieving data mutual communication in social networking service | |
CN103179099B (en) | A kind ofly access the uniform authentication method of open website platform and a kind of website platform | |
CN105991565A (en) | Reading and writing separation method and system and database agent server | |
CN103617255A (en) | Service data exchange synchronizing system and method used for electric information system | |
CN102355509A (en) | Method and device for transmitting and receiving message according to mobile number in contact list | |
CN103491156A (en) | Method and system for enabling circles and groups to be synchronous based on converged communication | |
CN104657435A (en) | Storage management method for application data and network management system | |
CN112000911B (en) | Page management method, device, electronic equipment and storage medium | |
CN103281192A (en) | Method, device and system for retrieving data | |
CN107423635A (en) | A kind of Application share method and its device, user terminal | |
Agur | Insularized connectedness: mobile chat applications and news production | |
CN107241312B (en) | A kind of right management method and device | |
CN101271458A (en) | Distributed computation file management method, system and device thereof | |
CN103973874A (en) | Device associating method and device | |
KR101128623B1 (en) | System and Method for Collaborative Work of Document | |
CN101714920A (en) | Authority management system centralizing a plurality of service account numbers and method thereof | |
CN107644020B (en) | Data storage and calling method and device | |
CN105491071A (en) | Authority control method and authority control system between users | |
US11870746B2 (en) | Method for chatting messages by topic based on subscription channel reference in server and user device | |
KR20120073799A (en) | Data synchronizing and servicing apparatus and method based on cloud storage | |
CN112583919B (en) | Big data-based family-school intercommunication education system | |
Flew | A citizen journalism primer | |
CN108600255A (en) | Mock service management method, device, computer equipment and storage medium | |
CN103631930A (en) | Statistical method and statistical system for search engine space occupation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |