CN110348236A - A kind of operating right setting method, device and the storage medium of file - Google Patents

A kind of operating right setting method, device and the storage medium of file Download PDF

Info

Publication number
CN110348236A
CN110348236A CN201810284796.6A CN201810284796A CN110348236A CN 110348236 A CN110348236 A CN 110348236A CN 201810284796 A CN201810284796 A CN 201810284796A CN 110348236 A CN110348236 A CN 110348236A
Authority
CN
China
Prior art keywords
group
interface
user
permission
operating right
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
CN201810284796.6A
Other languages
Chinese (zh)
Other versions
CN110348236B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810284796.6A priority Critical patent/CN110348236B/en
Publication of CN110348236A publication Critical patent/CN110348236A/en
Application granted granted Critical
Publication of CN110348236B publication Critical patent/CN110348236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the present application discloses operating right setting method, device and the storage medium of a kind of file;Request is arranged using the operating right for receiving file destination in the embodiment of the present application, and request is arranged according to operating right and generates associated first permission configuration interface of local terminal user identifier;The selection instruction of interface user is selected by the group identification in the first permission configuration interface, and obtains the mark of target group indicated by selection instruction;User setting permission type in corresponding group is identified to target group.The program selects interface triggering to obtain target group mark by group identification, target group can be identified to corresponding group as a whole, permission is uniformly arranged to user in the group, reduces the fussy degree operated during priority assignation, group's permission is quickly arranged to realize.

Description

A kind of operating right setting method, device and the storage medium of file
Technical field
This application involves image processing technologies, and in particular to a kind of operating right setting method of file, device and Storage medium.
Background technique
In the management of multi-user computer system, it is specific that permission (privilege) refers to that some special object has System resource uses power, such as permission to document management and reading in document.By taking On-line Control document as an example, i.e., document is deposited It is placed in remote server, document provider side is that different document recipient assigns different document access authority, and Document Creator side exists When accessing document content, it is arranged by authority control system in remote server according to the difference of document provider side, real-time control text The operating right of shelves recipient.
In the related technology, the operating right of On-line Control document needs when there are the user of a large number of users permission to be placed The operating right of document to be separately provided for each user, it is cumbersome, cause the speed of priority assignation slower.
Summary of the invention
The embodiment of the present application provides operating right setting method, device and the storage medium of a kind of file, can promote behaviour Make the setting speed of permission.
The embodiment of the present application provides a kind of operating right setting method of file, comprising:
The operating right for receiving file destination is arranged request, operating right setting request include local terminal user identifier and Permission type;
It is arranged according to the operating right and is requested, generates associated first permission configuration interface of the local terminal user identifier, First permission configuration interface includes at least group identification and selects interface;
The selection instruction of interface user is selected by the group identification, and is obtained indicated by the selection instruction Target group mark;
Permission type described in user setting in corresponding group is identified to the target group.
Correspondingly, the embodiment of the present application also provides a kind of operating rights of file, and device is arranged, comprising:
Request, the operating right setting request is arranged in instruction receiving unit, the operating right for receiving file destination Including local terminal user identifier and permission type;
First interface generation unit is requested for being arranged according to the operating right, is generated the local terminal user identifier and is closed First permission configuration interface of connection, first permission configuration interface include at least group identification and select interface;
First identifier acquiring unit for selecting the selection instruction of interface user by the group identification, and obtains Target group indicated by the selection instruction is taken to identify;
Priority assignation unit, for identifying permission type described in user setting in corresponding group to the target group.
Optionally, in some embodiments, first interface generation unit includes:
First obtains subelement, requests for being arranged according to the operating right, obtains the local terminal user identifier association Group information and interface to be launched interface identification;
Subelement is initialized, for calling interface run function creation initialization interface, and obtains the interface identification pair The topology file answered;
Subelement is drawn, for drawing corresponding control in the initialization interface according to the topology file;
It shows subelement, is shown for the group information to be loaded onto the control, to obtain the first permission Set interface.
Optionally, in some embodiments, the priority assignation unit includes:
Mark addition subelement identifies conduct for the target group to be identified all candidate users in corresponding group It identifies to authorized user, and is added to described to authorized user's mark wait authorize in logo collection;
Priority assignation subelement, for, wait authorize identifying in logo collection to authorized user, the power being arranged to described Limit type.
Optionally, in some embodiments, the priority assignation subelement is used for:
Authorization requests are generated to authorization object set and the permission type based on described;
Send the authorization requests to server so that the server according to the authorization requests to described wait authorize pair As identifying in set to authorized user, the operating right of the permission type is authorized.
Optionally, in some embodiments, the first identifier acquiring unit includes:
Second obtains subelement, touches letter to first of display area where group identification selection interface for obtaining Breath;
Instruction obtains subelement, for being based on described first when first touch information meets the first preset condition Touch information generates selection instruction;
Position acquisition subelement, for obtaining the position of the display area according to selection instruction calling mapping function Information;
Mark obtains subelement, for obtaining corresponding group identification according to the positional information, using as the selection The indicated target group mark of instruction.
Optionally, in some embodiments, described device further include:
Information acquisition unit, for the target group identify in corresponding group permission type described in user setting it Afterwards, the second touch information of display area where identifying selection interface to the target group is obtained;
Second contact surface generation unit is used for when second touch information meets the second preset condition, according to the mesh It marks group identification and generates the second permission configuration interface, second permission configuration interface includes all candidate users in the group The user identifier of mark selects interface;
Permission cancels unit, cancels instruction for selecting interface to trigger permission by the user identifier, and according to described Permission cancels the operating right that corresponding candidate user identifier is cancelled in instruction.
Optionally, in some embodiments, described device further include:
Instruction triggers unit, for passing through after identifying the second permission configuration interface of generation according to the target group The user identifier selection interface triggers permission change directive;
Permission changing unit is used for according to the permission change directive, to permission set by corresponding candidate user identifier Permission type is modified.
Optionally, in some embodiments, first touch information includes the first touch pressure value, and described second touches Information includes the second touch pressure value;
Described instruction obtains subelement and is used for: when the first touch pressure value is less than preset pressure value, generating selection Instruction;
Described instruction trigger unit is used for: when the second touch pressure value is not less than preset pressure value, according to described Target group mark generates the second permission configuration interface.
Optionally, in some embodiments, first touch information includes the first touch number in preset time period, Second touch information includes the second touch number in preset time period;
Described instruction obtains subelement and is used for: when it is the first preset times that described first, which touches number, generating selection and refers to It enables;
Described instruction trigger unit is used for: when it is the second preset times that described second, which touches number, according to the target Group identification generates the second permission configuration interface.
Optionally, in some embodiments, described device further include:
Gather acquiring unit, for identifying permission type described in user setting in corresponding group to the target group Before, the associated good friend's user identifier set of local terminal user identifier is obtained, and obtains the target group and identifies corresponding time Select family logo collection;
First judging unit, for total when containing in good friend's user identifier set and the candidate user logo collection When with user identifier, judge whether the operating right to the setting of co-user mark to the file destination;
The priority assignation unit, for executing to the target group when first judging unit is determined as no Identify the operation of permission type described in user setting in corresponding group.
Optionally, in some embodiments, the priority assignation unit is also used to:
The operating rights to the setting of co-user mark to the file destination is determined in first judging unit In limited time, other candidate users in the group in addition to co-user mark are identified, the permission type is set.
Optionally, in some embodiments, first permission configuration interface further includes object set clutch;Described device is also Include:
Icon acquiring unit for selecting the selection instruction of interface user by the group identification, and obtains After the mark of target group indicated by the selection instruction, user setting institute in corresponding group is identified to the target group Before stating permission type, obtains the target group and identify corresponding group series icon;
Icon display unit, for the group series icon to be loaded onto the object set clutch and show.
Optionally, in some embodiments, described device further include:
Second identifier acquiring unit, for identifying permission described in user setting in corresponding group to the target group After type, the mark of the candidate user in the group is obtained every prefixed time interval;
Second judgment unit, current candidate user identifier and the last history got for will currently get are waited It selects user identifier to be compared, judges whether there is the mark that Adds User newly increased;
The priority assignation unit is also used to when the second judgment unit is judged to being, to the mark that Adds User Know the operating right that the permission type is set.
Correspondingly, the embodiment of the present application also provides a kind of storage medium, the storage medium is stored with instruction, described instruction The operating right setting method of the file of any offer of the embodiment of the present application is provided when being executed by processor.
Request is arranged using the operating right for receiving file destination in the embodiment of the present application, please be sought survival according to operating right setting Cost end subscriber identifies associated first permission configuration interface;Interface is selected by the group identification in the first permission configuration interface The selection instruction of user is received, and obtains the mark of target group indicated by selection instruction;Corresponding group is identified to target group The operating right of the identical permission type of user setting in group.The program selects interface triggering to obtain target group by group identification Target group, can be identified corresponding group as a whole, permission is uniformly arranged to user in the group, reduces by mark The fussy degree operated during priority assignation is quickly arranged group's permission to realize.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the schematic diagram of a scenario of information interaction system provided by the embodiments of the present application.
Fig. 2 is the flow diagram of the operating right setting method of file provided by the embodiments of the present application.
Fig. 3 is another flow diagram of the operating right setting method of file provided by the embodiments of the present application.
Fig. 4 is the application scenarios schematic diagram of the operating right setting method of file provided by the embodiments of the present application.
Fig. 5 is the operating right setting method another kind application scenarios schematic diagram of file provided by the embodiments of the present application.
Fig. 6 is another application scenarios schematic diagram of the operating right setting method of file provided by the embodiments of the present application.
Fig. 7 is another application scenarios schematic diagram of the operating right setting method of file provided by the embodiments of the present application.
Fig. 8 is the structural schematic diagram of the operating right setting device of file provided by the embodiments of the present application.
Fig. 9 is another structural schematic diagram of the operating right setting device of file provided by the embodiments of the present application.
Figure 10 is another structural schematic diagram of the operating right setting device of file provided by the embodiments of the present application.
Figure 11 is another structural schematic diagram of the operating right setting device of file provided by the embodiments of the present application.
Figure 12 is another structural schematic diagram of the operating right setting device of file provided by the embodiments of the present application.
Figure 13 is the structural schematic diagram of terminal provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall in the protection scope of this application.
The embodiment of the present application provides a kind of information interaction system, which includes the file of any offer of the embodiment of the present application Operating right device is set, the operating right setting device of this document can integrate in the equipment such as terminal, the wherein terminal It can be mobile phone or tablet computer etc..In addition, the system can also include other equipment, for example, can also include server, The equipment such as router.
With reference to Fig. 1, the embodiment of the present application provides a kind of information interaction system, comprising: terminal 11 and server 12, terminal 11 are connect with server 12 by network 13.Wherein, include router, gateway etc. network entity in network 13, in figure and be It illustrates.Terminal 11 can carry out information exchange by cable network or wireless network and server 12, such as can be from service Device 12 downloading application (such as instant messaging application) and/or application updated data package and/or to apply relevant data information or industry Business information.Wherein, terminal 11 can be to be for mobile phone with terminal 11 for equipment, Fig. 1 such as mobile phone, tablet computer, laptops Example.Application needed for various users can be equipped in the terminal 11, for example have the application of amusement function (such as instant messaging is answered With audio plays application, game application), for another example have the application of service function (such as digital map navigation application is purchased by group and applied).
Based on above-mentioned system shown in FIG. 1, by taking instant messaging is applied as an example, terminal 11 can be by network 12 from server Instant messaging application, instant messaging application updated data package are downloaded in 12 as desired, and/or to instant messaging using relevant Data information or business information, the instant messaging application in can create in line file, such as online document or online picture etc.. Using the embodiment of the present application, after the completion of online document creation, terminal 11 can receive the operating right setting request of file destination, Operating right setting request carries local terminal user identifier and permission type, and then terminal 11 please seek survival according to operating right setting Cost end subscriber identifies associated first permission configuration interface and (includes at least group identification selection in the first permission configuration interface to connect Mouthful), then select the selection instruction of interface user (or to select for object by the group identification in the first permission configuration interface Select instruction), and the mark of target group indicated by selection instruction is obtained, finally, terminal 11 identifies corresponding group to target group The operating right of the above-mentioned permission type of user setting in group.
Optionally, after terminal 11 is provided with operating right to candidate user mark, terminal 11 can also will be arranged Data information after the completion is synchronized in server 12, so that logging in the instant messaging application proper account in other terminals When, synchrodata can be obtained from server 12.
Above-mentioned Fig. 1 example is only to realize that a system architecture example of the embodiment of the present application, the embodiment of the present application are simultaneously unlimited In above-mentioned system structure shown in FIG. 1, it is based on the system architecture, proposes each embodiment of the application.
In one embodiment, a kind of operating right setting method of file is provided, can be executed by the processor of terminal, As shown in Fig. 2, the operating right setting method of this document includes:
201, request is arranged in the operating right for receiving file destination, and operating right setting request includes local terminal user identifier With the information such as permission type.
Wherein, file destination can be stored in cloud in line file, specifically may include the editables such as document, picture And/or can consult in line file.Permission type can determine according to the actual conditions for operating right set by file destination, Such as consult one of permission, duplication permission, download permission and editing authority or a variety of.
In the embodiment of the present application, local terminal user identifier is for indicating terminal current account (such as instant messaging account) body The identification information of part, such as account, mailbox, and/or title.For example, an instant messaging application can be installed at the terminal, this is immediately Communication applications have an Account Logon interface, (may also include close by inputting the account that user is registered at Account Logon interface Code and/or identifying code etc.) proper account can be logged in, which is then the identification information for identifying account identity, i.e. local terminal is used Family mark.
Specifically, can where file destination display interface setting one for triggering the control of priority assignation.Then, it uses Family can trigger the initial interface of access entitlements setting by clicking the control, and the initial interface of the priority assignation includes having permission The selection interface of type and the selection interface of priority assignation object.According to the actual situation, pass through the selection interface of permission type The permission type for needing to be arranged is chosen in triggering, and this end subscriber of terminal is obtained by the selection interface triggering of priority assignation object Mark.Finally, request is arranged based on the operating right that local terminal user identifier and selected permission type generate file destination.
202, it is arranged according to operating right and is requested, generation associated first permission configuration interface of local terminal user identifier, first Permission configuration interface includes at least group identification and selects interface.
Wherein, group user is identified as the identification information for indicating group identities, such as account, mailbox, and/or title Deng.For example, group identification can be in instant communication applications by user create group application account, mailbox, and/or Title etc..
In some embodiments, group identification selection interface is specifically as follows for triggering the selection control for obtaining group identification Part.Group identification select interface display form can there are many, such as set choice box control (choosing by choosing expression) or face Color filling control (being chosen by Fill Color mark) etc..
In the embodiment of the present application, generate permission configuration interface mode can there are many, optionally, can be from local slow Acquisition and the associated data information of local terminal user identifier in deposit data recall corresponding interface run function starting target interface Show the data information obtained.That is, step " is arranged according to the operating right and requests, generate in some embodiments Associated first permission configuration interface of local terminal user identifier ", may include following below scheme:
It is arranged according to operating right and is requested, obtains the associated group information of local terminal user identifier and interface to be launched Interface identification;
Interface run function creation initialization interface is called, and obtains the corresponding topology file of interface identification;
Corresponding control is drawn in initialization interface according to topology file;
Group information is loaded onto the control and is shown, to obtain the first permission configuration interface.
Wherein, group information may include group's head portrait, group name, group identification selection interface schema is marked with and related category The information such as property.Interface identification is then the identification information for being directed toward some interface, and there is corresponding interface identification at each interface, with Topology file needed for allowing terminal to obtain startup interface according to the interface identification.Calling the creation of interface run function just Behind beginningization interface, corresponding control (such as touch-control figure is drawn according to corresponding position of the topology file of acquisition in initialization interface Mark, navigation bar and/or status bar etc.), and group information is loaded into drawn correspondence control and is shown, to generate first Permission configuration interface.
Optionally, when generating the first permission configuration interface, for the integrality and accuracy of the showed information in interface, The associated data information of local terminal user identifier can also be obtained from server.Specifically, terminal can send number to server According to acquisition request, which carries local terminal user identifier, so that server returns to this according to the data acquisition request End subscriber identifies associated data information.Data information and interface run function, the interface identification etc. for being then based on acquisition open Dynamic respective interface identifies corresponding first permission configuration interface to obtain local terminal.Specific interface starting step can refer to above-mentioned Content repeats no more this.
In some embodiments, the first permission configuration interface can also include the associated good friend user's letter of local terminal user identifier Breath, such as good friend user's head portrait, good friend's user's name, good friend's user identifier interface and correlation attribute information.
203, the selection instruction of interface user is selected by group identification, and obtains target indicated by selection instruction Group identification.
In some embodiments, step " selects the instruction of interface triggering selection by group identification, and obtains selection instruction institute The target group of instruction identifies ", may include following below scheme:
Obtain the first touch information to display area where group identification selection interface;
When the first touch information meets the first preset condition, selection instruction is generated based on first touch information;
The location information of mapping function acquisition display area is called according to selection instruction;
Corresponding group identification is obtained according to location information, alternatively to instruct indicated target group to identify.
Wherein, the first touch information can be the information such as touch pressure, touch number or touch duration, specifically can root It is set according to actual conditions.Mapping function has the function of that the location information with acquisition display screen any point can be used, uses Where touch location of the positioning user on terminal display screen.Wherein, location information is specifically as follows coordinate information.
In some embodiments, the selected group identification got is checked for the ease of user, it can also be by group identification pair The avatar icon answered is filtered out to be placed in the first permission configuration interface one and be particularly shown area and be shown, wherein this is particularly shown area can Show one or more avatar icons.That is, the first permission configuration interface may also include object set clutch;Passing through group identification Select interface user selection instruction, and obtain target group indicated by selection instruction mark after, to target group It identifies in corresponding group before user setting permission type, the operating right setting method of this document can also include:
It obtains target group and identifies corresponding group series icon;
Group series icon is loaded onto object set clutch and is shown.
Wherein, object set clutch be it is above-mentioned be particularly shown area, can be used for showing multiple group's avatar icons and/or use account As icon.It, can be according to when number of icons is excessive, and the corresponding display box of object set clutch is caused to be not enough to accommodate so many icon The icon being first added in object set clutch is successively hidden by sequencing, until object set clutch be enough to show it is newest Until the icon of addition.
204, user setting permission type in corresponding group is identified to target group, that is, the behaviour of the permission type is set Make permission.
Wherein, candidate user is identified as the identification information for indicating user identity, such as account, mailbox, and/or title Deng.For example, candidate user mark can be user's applied account, mailbox, and/or name when registering in instant communication applications Claim etc..
It should be noted that here all candidate users mark in not include local terminal user identifier.
In the embodiment of the present application, be arranged operating right mode can there are many.For example, in some embodiments, step " identifying user setting permission type in corresponding group to target group ", may include following below scheme:
Target group is identified all candidate users mark in corresponding group to identify as to authorized user, and will be wait award Power user identifier is added to wait authorize in logo collection;
Identifying in authorization logo collection to authorized user is treated, which is set, (permission type is set Operating right).
It is identified specifically, all candidate users in corresponding group can be obtained according to the target group mark chosen, and The candidate user is identified and is added to as to authorized user's mark wait authorize in logo collection.Then, authorization identification sets are treated Setting operating right should be identified to authorized user in conjunction.
In addition, other group identifications equally to be corresponded to all times in group when user also chooses other group identifications It selects user identifier to be used as to identify to authorized user, and will identify and be added to wait authorize in logo collection to authorized user.Then, right Wait authorize needed authorized user original, newly-increased in logo collection to identify setting operating right.
In specific implementation process, can be somebody's turn to do logo collection to be authorized be can store in the buffer of terminal local, so as to data Deletion or update.
In some embodiments, step " treats identifying in authorization logo collection to authorized user, the permission class is arranged Type " may include following below scheme:
Based on to authorization object set and permission type generation authorization requests;
To server send authorization requests so that server according to authorization requests treat in authorization object set wait authorize User identifier authorizes the operating right of the permission type.
Specifically, authorization requests can be sent from terminal to it is serviced, make the authorization of server online updating file destination Setting information allows relevant device directly to obtain priority assignation information from server, and based on the information to file destination It accesses.
In some embodiments, in order to promote the flexibility that priority assignation treats authorization object selection in the process, to mesh It marks in the corresponding group of group identification after user setting permission type, the operating right setting method of this document can also wrap It includes:
Obtain the second touch information of display area where identifying selection interface to target group;
When the second touch information meets the second preset condition, is identified according to target group and generate the second priority assignation circle Face, the second permission configuration interface include the user identifier selection interface of all candidate user marks in group;
It selects interface to trigger permission by user identifier and cancels instruction, and corresponding candidate is cancelled according to permission cancellation instruction and is used The operating right of family mark.
Wherein, the second touch information can be the information such as touch pressure, touch number, touch duration, specifically can basis Actual conditions are set.User identifier selection interface is specifically as follows for triggering the selection control for obtaining group identification.It waits Choosing mark selection interface display form can there are many, such as set choice box control (choosing by choosing expression), color filling Control (being chosen by Fill Color mark) etc..
Specifically, second permission configuration interface is next stage interface namely the second permission of the first permission configuration interface Set interface is the expanded form that target group identifies corresponding group.Second permission configuration interface may include the target group The candidate user information in corresponding group is identified, as candidate user head portrait, candidate user title, above-mentioned user identifier selection connect Mouth and correlation attribute information.Wherein, the generating mode of the second permission configuration interface specifically refers to the life at the first permission interface At mode, this is repeated no more.
In some embodiments, after identifying the second permission configuration interface of generation according to target group, the behaviour of this document Making authority setting method can also include:
Interface is selected to trigger permission change directive by user identifier;
According to permission change directive, the permission type of permission set by corresponding candidate user identifier is modified.
For example, can by double-click user identifier select interface trigger permission change directive, according to permission change directive into Enter the priority assignation details interface for candidate user mark, the settable permission change in the priority assignation details interface is more Change control.User can trigger the permission type that set permission is identified to candidate user by the change control.
Optionally, the first touch information includes the first touch pressure value in some embodiments, and the second touch information includes Second touch pressure value;
Step " when the first touch information meets the first preset condition, selection instruction is generated based on the first touch information " tool Body may include:
When the first touch pressure value is less than preset pressure value, selection instruction is generated;
Step " when the second touch information meets the second preset condition, identifies the second permission of generation according to target group and sets Set interface ", it can specifically include:
When the second touch pressure value is not less than preset pressure value, is identified according to target group and generate the second priority assignation circle Face.
In practical application, preset pressure value can be configured by those skilled in the art or production manufacturer, as 1N, 10N etc. is not specifically limited in this embodiment.
Optionally, in some embodiments the first touch information include in preset time period first touch number, second Touch information includes the second touch number in preset time period;
Step " when the first touch information meets the first preset condition, selection instruction is generated based on the first touch information " tool Body may include:
When it is the first preset times that first, which touches number, selection instruction is generated;
Step " when the second touch information meets the second preset condition, identifies the second permission of generation according to target group and sets Set interface ", it can specifically include:
When it is the second preset times that second, which touches number, is identified according to target group and generate the second permission configuration interface.
In practical application, the first preset times can be 1 time, and the second preset times can be 2 times.Namely first touch behaviour It actually clicks, triggering generates selection instruction at this time;Second touch operation is actually double-clicked, and triggering generates the second priority assignation at this time Interface.
In some embodiments, in order to promoted operating right setting reliability and accuracy, need by group The some user identifiers for pre-setting permission foreclose.For example, the priority of priority assignation can be set, for individually setting The individual consumer of operating right is set, permission keeps highest finite weight, before covering during group's priority assignation The permission that it is separately provided.That is, identifying identifying all candidate users in corresponding group to target group, which is set Before the operating right for limiting type, can also include:
The associated good friend's user identifier set of local terminal user identifier is obtained, and obtains target group and identifies corresponding candidate User identifier set;
When in good friend's user identifier set and candidate user logo collection containing co-user mark, it is right to judge whether Operating right of the co-user mark setting to the file destination;
If it is not, then executing the step of identifying user setting permission type in corresponding group to target group.
Wherein, the logo collection for having user is got well associated by good friend's user identifier set namely local terminal user identifier.Due to Different establish a capital of candidate user in candidate user logo collection is that getting well for local terminal user identifier has user, it is therefore desirable to therefrom be screened The co-user mark that may result in priority assignation disorder out is handled.Co-user mark namely candidate user identification sets There are associated good friend's user identifiers with local terminal user identifier in conjunction.Determining common friend user identifier granted permission When, then its permission is not covered;If not identifying setting permission to common friend, the permission type is arranged to it in execution Operating right.
In some embodiments, if it is determined that the setting of co-user mark to the operating right of file destination, then to this Target group identifies other candidate users mark in corresponding group in addition to co-user mark, and the operation of the permission type is arranged Permission.
In some embodiments, in order to which the group is newly added for the group of permission has been arranged in the efficiency for promoting priority assignation Group user can inherit automatically before to operating right set by the group identification.That is, being corresponded to being identified to target group Group in after the user setting permission type, the operating right setting method can with the following steps are included:
The mark of the candidate user in the group is obtained every prefixed time interval;
The history candidate user mark that the current candidate user identifier currently got is got with the last time is compared Compared with judging whether there is the mark that Adds User newly increased;
If so, the mark that Adds User is arranged the operating right of the permission type.
Specifically, data acquisition instruction can be sent to server in preset time period, so that server returns to local terminal Newest subscriber identity data in the corresponding group of group identification.The newest subscriber identity data currently obtained is obtained with the last time The historical user's mark data taken is compared, with the mark that determines whether to Add User.And it is then straight for the mark that Adds User It succeeds and honours operating right set by the group.For example, being before editing authority to operating right set by the group, then The mark that Adds User can inherit the editing authority and can operate to file destination executive editor.
From the foregoing, it will be observed that request is arranged using the operating right for receiving file destination in the embodiment of the present application, according to operating right Setting request generates associated first permission configuration interface of local terminal user identifier;It is marked by the group in the first permission configuration interface Know the selection instruction of selection interface user, and obtains the mark of target group indicated by selection instruction;To target group mark Know the operating right of the identical permission type of user setting in corresponding group.The program selects interface triggering to obtain by group identification It takes target group to identify, target group can be identified to corresponding group as a whole, it is unified to user in the group to be arranged Permission reduces the fussy degree operated during priority assignation, group's permission is quickly arranged to realize.
In one embodiment, a kind of operating right setting method of file is provided, can be executed by the processor of terminal, With reference to Fig. 3~Fig. 6, the operating right setting method of this document includes:
301, request is arranged in the operating right that terminal receives online document, and operating right setting request carries this end subscriber Mark and permission type.
With reference to Fig. 4, left figure is interface where online document, and user can directly edit online document at this.It is real In the application of border, which specifically be can integrate in instant communication applications.Interface where the online document includes a use Share control in the control A and document of triggering priority assignation, the online document sharing can be given by sharing control by document Any good friend or group in local terminal instant messaging record.In addition, user can click upper right horn shape in the interface of online document place Interface is simultaneously jumped to the initial of priority assignation by the control icons A that state column is shown, the clicking operation of terminal handler response user Interface (i.e. Fig. 4 middle graph).
As shown in figure 4, the selection control that the initial interface of priority assignation may include permission type (" obtains document People " region) and priority assignation object selection control (i.e. " open to whom " region).Wherein, when click permission When the selection control of type, then the menu bar (not shown) of permission type can be popped up, which may include one or more The permission type option of a operating right, such as consult one in permission, duplication permission, download permission and editing authority Or it is multiple.When the selection control for clicking priority assignation object, then the big Class Options of object can be popped up, " the institute as shown in Fig. 4 middle graph Someone ", " special member " and " only oneself " option.If selecting " owner " option, which will be to all users It is open;If selection " special member " option, the online document by local terminal user identifier associated user whole or portion User is divided to disclose;If selecting " only oneself " option, only this end subscriber oneself has permission to access the online document.
302, terminal is arranged according to operating right and requests, and generates associated first permission configuration interface of local terminal user identifier, First permission configuration interface includes at least group identification and selects interface.
When it is implemented, with reference to Fig. 4, by taking the big Class Options of priority assignation object are " special member " as an example, when click is " special Determine member " corresponding to control when, obtained from local cache data with the associated data information of local terminal user identifier, and trigger end End calls corresponding interface run function starting target interface to show the data information obtained, so that display interface will be set from permission The initial interface set, which is jumped to, corresponds to associated first permission configuration interface (Fig. 4 right part of flg) for local terminal user identifier.
Wherein, which includes group identification selection interface B and group information (including head portrait figure Mark, group name etc.), group identification selection interface and group information can be shown in the form of a list: such as " group contacted recently " " 1xx groups ", the title of " 2xx groups ", head portrait and group identification select interface under list, for another example " 1xx under " my group " list Group ", " 2xx group ", " 3xx groups ", " 4xx groups " and " 5xx groups " group identification selection interface.Furthermore it is also possible to include good friend User identifier selection interface (not shown) and good friend's user information (including avatar icon, there is user's name etc. well).It needs It is bright, group identification select interface display form can there are many, it is not limited to it is shown in Fig. 4 circle choice box, such as The group indicates that selecting interface can also be rectangular selection frame or the choice box of other forms etc..
In addition, first permission configuration interface can also include that multi-user identifies selection interface and multi-user information (packet Avatar icon, multi-user's title etc.), with the proviso that multi-user's chat group has the mark of the chat group for identification.
303, terminal obtains the touch pressure value to display area where group identification selection interface, and judges whether to be greater than Preset threshold;If so, step 304 is executed, if it is not, thening follow the steps 305.
In practical application, preset pressure value can be configured by those skilled in the art or production manufacturer, as 1N, Or 10N etc., it is not specifically limited in this embodiment.
304, terminal selects interface to obtain target group mark by the group identification, and is identified and generated according to target group Second permission configuration interface, the second permission configuration interface include at least user identifier interface.
Wherein, group user is identified as the identification information for indicating group identities, such as account, mailbox, and/or title Deng.For example, group identification can be in instant communication applications by user create group application account, mailbox, and/or Title etc., if target group mark can be group's account 112345.
Wherein, which is that the next stage interface of the first permission configuration interface namely the second permission are set Setting interface is the expanded form that target group identifies corresponding group.Second permission configuration interface may include the target group mark The candidate user information in corresponding group is known, as candidate user head portrait, candidate user title, above-mentioned user identifier select interface And correlation attribute information.
For example, with reference to Fig. 5, the second permission configuration interface include user identifier selection interface C and user information (including Avatar icon, user's name etc.), user identifier interface and user information can be shown in the form of a list: as under " 1xx groups " list " Liu one ", " old two ", " Zhang San ", " Li Si ", " king five ", " Zhao six ", " grandson seven ", " week eight ", " Wu nine ", " Zheng ten " user's mark Know selection interface.
305, terminal selects interface to obtain target group mark by the group identification, and target group is identified corresponding group All candidate users mark in group is added to logo collection to be authorized as to authorized user's mark.
Specifically, wherein candidate user is identified as the identification information for indicating user identity, as account, mailbox and/ Or title etc..For example, candidate user mark can for user when being registered in instant communication applications applied account, mailbox, And/or title etc., if candidate user mark can be user account 123456789.
It should be noted that here all candidate users mark in not include local terminal user identifier.
In some embodiments, with reference to Fig. 5, the first permission configuration interface may also include object set clutch S, object set clutch S is displayed for group's avatar icon and user's avatar icon, in order to which user checks the selected permission to be placed got Object.It, can be according to elder generation when number of icons is excessive, and the corresponding display box of object set clutch is caused to be not enough to accommodate so many icon Sequence afterwards, the icon being first added in object set clutch is successively hidden, until object set clutch is enough to show newest add Until the icon added.
For example, with reference to Fig. 5, by taking the region S that dotted line frame is drawn a circle to approve is object set clutch as an example, as the group for passing through " 1xx crowds " When group mark selection interface chooses corresponding group identification, icon acquisition instruction is triggered.Terminal is according to the icon acquisition instruction tune First group's avatar icon of " 1xx groups " is obtained with associated process, and the first group avatar icon is loaded into object set It is shown in device.Selected group indicates that selection interface can be also labeled simultaneously, and as shown in Figure 5 chooses label.
Likewise, triggering icon obtains when selecting interface to choose corresponding group identification by the group identification of " 2xx groups " Instruction fetch, terminal call associated process to obtain second group's avatar icon of " 2xx groups " according to the icon acquisition instruction, and by the Two group's avatar icons are loaded into object set clutch to be shown together with first group's head portrait image.A group can chosen After interior candidate user mark, directly the mark of the candidate user in another group is selected to be added in current first permission configuration interface Wait authorize in logo collection, realize that corresponding to the permission that candidate user identifies in group to multiple group identifications at same interface sets It sets, without entering the step of next stage interface is selected entirely to candidate user mark, simplifies object selection operation.
It should be noted that in some embodiments, which can also be integrated with function of search.By right at this As the crucial character/word of input in collector, the group in group list can be screened according to the crucial character/word inputted, To realize group to a group fast selecting for mark.For example, when the object set wherein inputs " 2 ", then current interface will be " 2xx groups " corresponding group information and group identification select top-mounted joint, the corresponding display position for adjusting other group informations;Or Person will only show " 2xx groups " corresponding group information, and other group informations are hidden.
306, terminal is treated in authorization logo collection and identifies the operating right that the permission type is arranged to authorized user.
In some embodiments, terminal can be based on authorization requests be generated to authorization object set and permission type, then The authorization requests are sent to server, so that server treats marking in authorization object set to authorized user according to authorization requests Know the operating right for authorizing the permission type.
In some embodiments, in order to promoted operating right setting reliability and accuracy, need by group The some user identifiers for pre-setting permission foreclose.For example, the priority of priority assignation can be set, for individually setting The individual consumer of operating right is set, permission keeps highest finite weight, before covering during group's priority assignation The permission that it is separately provided.
Optionally, the associated good friend's user identifier set of local terminal user identifier can be obtained, and obtains target group mark Corresponding candidate user logo collection, and two set are compared.When good friend's user identifier set and candidate user identify When in set containing co-user mark, judge whether the operating right to the setting of co-user mark to the file destination. If permission has been arranged, co-user is identified from wait authorize in logo collection and is removed, to avoid to co-user duplicate identity Authorization.
Such as, it is assumed that local terminal user identifier is local terminal instant messaging account, then good friend's user identifier set is then the local terminal User identifier corresponds to the set of all good friend users in instant messaging record.Candidate user logo collection is then this end subscriber mark Know the groups of users in corresponding instant messaging record.
With reference to Fig. 5 and Fig. 6, wherein " Zhang San " and " Li Si " corresponding candidate user is identified then in Fig. 5 right part of flg dotted line frame For common friend mark.In practical application, the co-user for individually authorizing permission before, which identifies interface, will will do it area Not in the label of other users mark ("×" label as shown in the figure), and user corresponding to co-user mark selects interface It will be set as invalid interface and cannot respond to the operation of user.
307, terminal identifies interface the second permission configuration interface of starting by target group, and passes through the second priority assignation circle User identifier selection interface in face cancels the operating right of corresponding candidate user identifier.
Specifically, with reference to Fig. 6, selection interface C can be identified by single click user, triggering permission cancels instruction, terminal according to The permission cancels the operating right authorized before instruction is cancelled to user identifier corresponding to the interface.Such as click " Liu one " and " user identifier at where old two " selects interface C, then the operating right of the action type is authorized before cancelling.
308, terminal changes the behaviour of corresponding candidate user identifier by the user identifier interface in the second permission configuration interface Make permission.
Specifically, interface can be selected to trigger permission change directive by double-clicking user identifier, according to permission change directive Into the priority assignation details interface identified for the candidate user, the settable permission change in the priority assignation details interface Change control.User can trigger the permission type that set permission is identified to candidate user by the change control.
309, terminal obtains target group from server in real time and identifies the candidate user mark corresponded in group, is with monitoring The no mark that Adds User.
Specifically, data acquisition instruction can be sent to server in preset time period, so that server returns to local terminal Newest subscriber identity data in the corresponding group of group identification.The newest subscriber identity data currently obtained is obtained with the last time The historical user's mark data taken is compared, with the mark that determines whether to Add User.
310, when monitored Add User identify when, the mark that Adds User is arranged the operating rights of above-mentioned permission type Limit.
For example, being before editing authority to operating right set by the group, then the mark that Adds User can be inherited The editing authority can simultaneously operate above-mentioned online document executive editor;If being before only to look into operating right set by the group See permission, then the mark that Adds User can inherit this and check permission and can check operation to the execution of above-mentioned online document.
From the foregoing, it will be observed that scheme provided by the embodiments of the present application, can select interface triggering to obtain target by group identification Target group can be identified corresponding group as a whole by group identification, and permission is uniformly arranged to user in the group, drop The fussy degree operated during low priority assignation is quickly arranged group's permission to realize;In addition, for power has been arranged The mark that Adds User in group is limited, the operating right that group is arranged before it can be authorized automatically, it is another without user Outside newly user identifier setting operating right is increased into this, simplifies the process of priority assignation, improve the flexibility and just of operation Benefit.
For the ease of the operating right setting method of better implementation file provided by the embodiments of the present application, in an embodiment In additionally provide a kind of operating right setting device of file.The wherein operating right setting side of the meaning of noun and above-mentioned file Identical in method, specific implementation details can be with reference to the explanation in embodiment of the method.
In one embodiment, a kind of operating right setting device of file is additionally provided, as shown in fig. 7, the behaviour of this document Making priority assignation device may include: instruction receiving unit 401, the first interface generation unit 402, first identifier acquiring unit 403 and priority assignation unit 404, as follows:
Request, operating right setting request is arranged in instruction receiving unit 401, the operating right for receiving file destination Including the information such as local terminal user identifier and permission type;
First interface generation unit 402 is requested for being arranged according to the operating right, generates the association of local terminal user identifier The first permission configuration interface, first permission configuration interface include at least group identification select interface;
First identifier acquiring unit 403 for selecting the selection instruction of interface user by the group identification, and obtains Target group indicated by the selection instruction is taken to identify;
Priority assignation unit 404 is used for user setting permission type in the corresponding group of target group mark (i.e. The operating right of the permission type is set).
In some embodiments, with reference to Fig. 8, which includes first obtaining subelement 4021, just Beginning beggar's unit 4022, initialization subelement 4022 draw subelement 4023 and display subelement 4024, as follows:
First obtains subelement 4021, can be used for being arranged according to the operating right and request, obtains local terminal user identifier pass The group information of connection and the interface identification at interface to be launched;
Subelement 4022 is initialized, can be used for calling interface run function creation initialization interface, and obtain interface mark Know corresponding topology file;
Subelement 4023 is drawn, can be used for drawing corresponding control in the initialization interface according to the topology file;
It shows subelement 4024, can be used for being loaded onto the group information in the control and show, to obtain the first power Limit set interface.
In some embodiments, with reference to Fig. 9, which includes mark addition subelement 4041 and permission Subelement 4042 is set, as follows:
Mark addition subelement 4041 can be used for identifying the target group all candidate users mark in corresponding group It is identified as to authorized user, and this is waited for that authorized user's mark is added to wait authorize in logo collection;
Priority assignation subelement 4042 can be used for identifying in the logo collection to be authorized to authorized user, and setting should Permission type.
In some embodiments, the priority assignation subelement 4042 is specifically used for being based on being somebody's turn to do to authorization object set and being somebody's turn to do Permission type generates authorization requests, the authorization requests is sent to server, so that the server waits for this according to the authorization requests Identifying in authorization object set to authorized user, authorizes the operating right of the permission type.
In some embodiments, with reference to Figure 10, the first identifier acquiring unit 403 include second obtain subelement 4031, Instruction obtains subelement 4032, position acquisition subelement 4033 and mark and obtains subelement 4034, as follows:
Second obtains subelement 4031, touches for obtaining to first of display area where group identification selection interface Information;
Instruction obtain subelement 4032, for when first touch information meet the first preset condition when, based on this first Touch information generates selection instruction;
Position acquisition subelement 4033, for obtaining the position of the display area according to selection instruction calling mapping function Information;
Mark obtains subelement 4034, for obtaining corresponding group identification according to the location information, using as the selection The indicated target group mark of instruction.
In some embodiments, with reference to Figure 11, the operating right setting device of this document may also include information acquisition unit 405, second contact surface generation unit 406 and permission cancel unit 407, as follows:
Information acquisition unit 405 can be used for identifying user setting permission class in corresponding group to the target group After type, the second touch information of display area where identifying selection interface to the target group is obtained;
Second contact surface generation unit 406 can be used for when second touch information meets the second preset condition, according to the mesh It marks group identification and generates the second permission configuration interface, which includes all candidate user marks in the group User identifier select interface;
Permission cancels unit 407, can be used for that interface is selected to trigger permission by the user identifier to cancel instruction, and according to this Permission cancels the operating right that corresponding candidate user identifier is cancelled in instruction.
In some embodiments, with reference to Figure 12, the operating right setting device of this document may also include instruction triggers unit 408 and permission changing unit 409, as follows:
Instruction triggers unit 408 can be used for after identifying the second permission configuration interface of generation according to the target group, lead to Cross user identifier selection interface triggering permission change directive;
Permission changing unit 409 can be used for according to the permission change directive, to permission set by corresponding candidate user identifier Permission type be modified.
In some embodiments, which may include the first touch pressure value, which includes Second touch pressure value;
Then at this point, instruction acquisition subelement 4032 is particularly used in: when the first touch pressure value is less than preset pressure When value, selection instruction is generated;
The instruction triggers unit 408 is particularly used in: when the second touch pressure value is not less than preset pressure value, according to Target group mark generates the second permission configuration interface.
In some embodiments, which may include the first touch number in preset time period, this second Touch information may include the second touch number in preset time period;
Then at this point, instruction acquisition subelement 4032 is particularly used in: when the first touch number is the first preset times When, generate selection instruction;
The instruction triggers unit 408 is particularly used in: when the second touch number is the second preset times, according to the mesh It marks group identification and generates the second permission configuration interface.
In some embodiments, the operating right setting device of this document can also include that set acquiring unit and first is sentenced Disconnected unit, as follows:
Gather acquiring unit, for the target group identify in corresponding group the user setting permission type it Before, the associated good friend's user identifier set of local terminal user identifier is obtained, and obtain the corresponding candidate use of target group mark Family logo collection;
First judging unit, for being used with the candidate user logo collection containing common when good friend's user identifier set When family identifies, judge whether the operating right to the setting of co-user mark to the file destination;
The priority assignation unit 404 specifically can be used for when first judging unit is determined as no, execute to the target The operation of the user setting permission type in the corresponding group of group identification.
In some embodiments, which can be also used for:
It is right when first judging unit determines that the operating right to the file destination is arranged to co-user mark Other candidate users mark in the group in addition to co-user mark, is arranged the operating right of the permission type.
In some embodiments, which can also include object set clutch;The operating rights of this document Limit setting device further includes icon acquiring unit and icon display unit, as follows:
Icon acquiring unit can be used for selecting the selection instruction of interface user by the group identification, and obtain After the mark of target group indicated by the selection instruction, user setting permission in corresponding group is identified to the target group Before type, obtains the target group and identify corresponding group series icon;
Icon display unit can be used for for the group series icon being loaded onto the object set clutch and show.
In some embodiments, the operating right setting device of this document further includes second identifier acquiring unit and second Judging unit, as follows:
Second identifier acquiring unit can be used for identifying the target group all candidate user marks in corresponding group Know, be arranged after the operating right of the permission type, obtains the mark of the candidate user in the group every prefixed time interval;
Second judgment unit, the current candidate user identifier that can be used for currently getting and the last history got Candidate user mark is compared, and judges whether there is the mark that Adds User newly increased;
The priority assignation unit 402, it may also be used for when the second judgment unit is judged to being, to the mark that Adds User The operating right of the permission type is set.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not It repeats again.
The operating right setting device of this document specifically can integrate in terminal, for example end is integrated in the form of client In end, which can be the equipment such as mobile phone, tablet computer.
From the foregoing, it will be observed that device is arranged in the operating right of the embodiment of the present application file, mesh is received using instruction receiving unit 401 Request is arranged in the operating right for marking file, and operating right setting request carries the information such as local terminal user identifier and permission type;The One interface generation unit 402 is arranged request according to operating right and generates associated first priority assignation circle of the local terminal user identifier Face, the first permission configuration interface include at least group identification and select interface;First identifier acquiring unit 403 is selected by group identification The instruction of interface triggering selection is selected, and obtains the mark of target group indicated by selection instruction;Priority assignation unit 404 is to target complex Group identifies the operating right of the above-mentioned permission type of user setting in corresponding group.The program selects interface touching by group identification Hair obtains target group mark, target group can be identified to corresponding group as a whole, unified to user in the group Permission is set, reduces the fussy degree operated during priority assignation, group's permission is quickly arranged to realize.
With reference to Figure 13, the embodiment of the present application provides a kind of terminal 500, may include one or more than one processing core The processor 501 of the heart, the memory 502 of one or more computer readable storage mediums, radio frequency (Radio Frequency, RF) components such as circuit 503, power supply 504, input unit 505 and display unit 506.Those skilled in the art It is appreciated that the restriction of terminal structure not structure paired terminal shown in Figure 13, may include more more or fewer than illustrating Component perhaps combines certain components or different component layouts.Wherein:
Processor 501 is the control centre of the terminal, using the various pieces of various interfaces and the entire terminal of connection, By running or execute the software program and/or module that are stored in memory 502, and calls and be stored in memory 502 Data, execute terminal various functions and processing data, thus to terminal carry out integral monitoring.Optionally, processor 501 can Including one or more processing cores;Preferably, processor 501 can integrate application processor and modem processor, wherein The main processing operation system of application processor, user interface and application program etc., modem processor mainly handles channel radio Letter.It is understood that above-mentioned modem processor can not also be integrated into processor 501.
Memory 502 can be used for storing software program and module, and processor 501 is stored in memory 502 by operation Software program and module, thereby executing various function application and data processing.
During RF circuit 503 can be used for receiving and sending messages, signal is sended and received.
Terminal further includes the power supply 504 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 501 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
The terminal may also include input unit 505, which can be used for receiving the number or character letter of input Breath, and generation keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal are defeated Enter.
The terminal may also include display unit 506, which can be used for showing information input by user or mention The information of user and the various graphical user interface of terminal are supplied, these graphical user interface can be by figure, text, figure Mark, video and any combination thereof are constituted.Specifically in the present embodiment, the processor 501 in terminal is understood according to following instruction, The corresponding executable file of the process of one or more application program is loaded into memory 502, and by processor 501 run the application program being stored in memory 502, thus realize various functions, it is as follows:
The operating right for receiving file destination is arranged request, operating right setting request include local terminal user identifier and The information such as permission type;It is arranged according to the operating right and is requested, is generated associated first permission of the local terminal user identifier and set Interface is set, first permission configuration interface includes at least group identification and selects interface;Interface is selected by the group identification User's selection instruction is received, and obtains the mark of target group indicated by the selection instruction;The target group is identified corresponding The operating right of the user setting permission type in group.
From the foregoing, it will be observed that the embodiment of the present application terminal can receive the operating right setting request of file destination, according to operation Priority assignation request generates associated first permission configuration interface of local terminal user identifier;Pass through the group in the first permission configuration interface Group mark selection interface triggering selection instruction, and obtain the mark of target group indicated by selection instruction;Target group is identified The operating right of the identical permission type of user setting in corresponding group.The program selects interface triggering to obtain by group identification Target group, can be identified corresponding group as a whole by target group mark, to the unified setting power of user in the group Limit reduces the fussy degree operated during priority assignation, group's permission is quickly arranged to realize.
It will appreciated by the skilled person that all or part of the steps in the various methods of above-described embodiment can be with It is completed by instructing, or relevant hardware is controlled by instruction to complete, which can store computer-readable deposits in one In storage media, and is loaded and executed by processor.
For this purpose, the embodiment of the present invention provides a kind of storage medium, wherein being stored with a plurality of instruction, which can be processed Device is loaded, the step in operating right setting method to execute any file provided by the embodiment of the present invention.Example Such as, which can execute following steps:
The operating right for receiving file destination is arranged request, operating right setting request include local terminal user identifier and The information such as permission type;It is arranged according to the operating right and is requested, generates associated first priority assignation circle of the local terminal user identifier Face, first permission configuration interface include at least group identification and select interface;Interface is selected to use by the group identification The selection instruction at family, and obtain the mark of target group indicated by the selection instruction;Corresponding group is identified to the target group User setting permission type in group.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
Wherein, which may include: read-only memory (ROM, Read Only Memory), random access memory Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, any file provided by the embodiment of the present invention can be executed Step in operating right setting method, it is thereby achieved that the operating rights of any file provided by the embodiment of the present invention Beneficial effect achieved by setting method is limited, is detailed in the embodiment of front, details are not described herein.
Above to operating right setting method, device and the storage medium of a kind of file provided by the embodiment of the present application into It has gone and has been discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation The explanation of example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification It should not be construed as the limitation to the application.

Claims (15)

1. a kind of operating right setting method of file characterized by comprising
Request is arranged in the operating right for receiving file destination, and the operating right setting request includes local terminal user identifier and permission Type;
It is arranged according to the operating right and is requested, generates associated first permission configuration interface of the local terminal user identifier, it is described First permission configuration interface includes at least group identification and selects interface;
The selection instruction of interface user is selected by the group identification, and obtains target indicated by the selection instruction Group identification;
Permission type described in user setting in corresponding group is identified to the target group.
2. the operating right setting method of file according to claim 1, which is characterized in that described according to the operating rights Limit setting request, the step of generating the local terminal user identifier associated first permission configuration interface, comprising:
It is arranged according to the operating right and is requested, obtains the associated group information of the local terminal user identifier and boundary to be launched The interface identification in face;
Interface run function creation initialization interface is called, and obtains the corresponding topology file of the interface identification;
Corresponding control is drawn in the initialization interface according to the topology file;
The group information is loaded onto the control and is shown, to obtain the first permission configuration interface.
3. the operating right setting method of file according to claim 1, which is characterized in that described to the target group Identify permission type described in user setting in corresponding group, comprising:
The target group is identified all candidate users mark in corresponding group to identify as to authorized user, and will be described It is added to authorized user's mark wait authorize in logo collection;
To described wait authorize identifying in logo collection to authorized user, the permission type is set.
4. the operating right setting method of file according to claim 3, which is characterized in that described to be marked to described wait authorize Know identifying in set to authorized user, the step of permission type is set, comprising:
Authorization requests are generated to authorization object set and the permission type based on described;
Send the authorization requests to server so that the server according to the authorization requests to described to authorization object collection Identifying in conjunction to authorized user, authorizes the operating right of the permission type.
5. the operating right setting method of file according to claim 1, which is characterized in that described to be marked by the group Know the selection instruction of selection interface user, and the step of obtaining the mark of target group indicated by the selection instruction, packet It includes:
Obtain the first touch information to display area where group identification selection interface;
When first touch information meets the first preset condition, selection instruction is generated based on first touch information;
The location information of the display area is obtained according to selection instruction calling mapping function;
Corresponding group identification is obtained according to the positional information, using as target group mark indicated by the selection instruction Know.
6. the operating right setting method of file according to claim 5, which is characterized in that the target group mark Know in corresponding group after permission type described in user setting, the method also includes:
Obtain the second touch information of display area where identifying selection interface to the target group;
When second touch information meets the second preset condition, is identified according to the target group and generate the second priority assignation Interface, second permission configuration interface include the user identifier selection interface of all candidate user marks in the group;
It selects interface to trigger permission by the user identifier and cancels instruction, and instruction is cancelled according to the permission and cancels corresponding wait Select the operating right of user identifier.
7. the operating right setting method of file according to claim 6, which is characterized in that according to the target group After mark generates the second permission configuration interface, the method also includes:
Interface is selected to trigger permission change directive by the user identifier;
According to the permission change directive, the permission type of permission set by corresponding candidate user identifier is modified.
8. the operating right setting method of the described in any item files of according to claim 6 or 7, which is characterized in that described first Touch information includes the first touch pressure value, and second touch information includes the second touch pressure value;
It is described when first touch information meet the first preset condition when, based on first touch information generate selection instruction The step of, comprising: when the first touch pressure value is less than preset pressure value, generate selection instruction;
It is described when second touch information meet the second preset condition when, according to the target group identify generate the second permission The step of set interface, comprising: when the second touch pressure value is not less than preset pressure value, according to the target group mark Know and generates the second permission configuration interface.
9. the operating right setting method of the described in any item files of according to claim 6 or 7, which is characterized in that described first Touch information includes the first touch number in preset time period, and second touch information includes second in preset time period Touch number;
It is described when first touch information meet the first preset condition when, based on first touch information generate selection instruction The step of, comprising: when it is the first preset times that described first, which touches number, generate selection instruction;
It is described when second touch information meet the second preset condition when, according to the target group identify generate the second permission The step of set interface, comprising: when it is the second preset times that described second, which touches number, is identified and given birth to according to the target group At the second permission configuration interface.
10. the operating right setting method of file according to claim 1, which is characterized in that the target group It identifies in corresponding group before permission type described in user setting, the method also includes:
The associated good friend's user identifier set of local terminal user identifier is obtained, and obtains the target group and identifies corresponding candidate User identifier set;
When in good friend's user identifier set and the candidate user logo collection containing co-user mark, judge whether To the setting of co-user mark to the operating right of the file destination;
If it is not, then executing the step of identifying permission type described in user setting in corresponding group to the target group.
11. the operating right setting method of file according to claim 10, which is characterized in that the method also includes:
If described total to being removed in the group to the setting of co-user mark to the operating right of the file destination With other candidate users mark outside user identifier, the permission type is set.
12. the operating right setting method of file according to claim 1, which is characterized in that first priority assignation Interface further includes object set clutch;
The selection instruction of interface user is being selected by the group identification, and obtains mesh indicated by the selection instruction After marking group identification, the target group is identified in corresponding group before permission type described in user setting, the side Method further include:
It obtains the target group and identifies corresponding group series icon;
The group series icon is loaded onto the object set clutch and is shown.
13. the operating right setting method of file according to claim 1, which is characterized in that the target group It identifies in corresponding group after permission type described in user setting, the method also includes:
The mark of the candidate user in the group is obtained every prefixed time interval;
The history candidate user mark that the current candidate user identifier currently got is got with the last time is compared, is sentenced It is disconnected whether to have the mark that Adds User newly increased;
If so, the permission type is arranged to the mark that Adds User.
14. device is arranged in a kind of operating right of file characterized by comprising
Request is arranged in instruction receiving unit, the operating right for receiving file destination, and the operating right setting request includes Local terminal user identifier and permission type;
First interface generation unit requests for being arranged according to the operating right, it is associated to generate the local terminal user identifier First permission configuration interface, first permission configuration interface include at least group identification and select interface;
First identifier acquiring unit for selecting the selection instruction of interface user by the group identification, and obtains institute State the mark of target group indicated by selection instruction;
The permission type is arranged for identifying user identifier in corresponding group to the target group in priority assignation unit.
15. a kind of storage medium, which is characterized in that the storage medium is stored with instruction, when described instruction is executed by processor Realize the operating right setting method such as the described in any item files of claim 1-13.
CN201810284796.6A 2018-04-02 2018-04-02 File operation authority setting method and device and storage medium Active CN110348236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810284796.6A CN110348236B (en) 2018-04-02 2018-04-02 File operation authority setting method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810284796.6A CN110348236B (en) 2018-04-02 2018-04-02 File operation authority setting method and device and storage medium

Publications (2)

Publication Number Publication Date
CN110348236A true CN110348236A (en) 2019-10-18
CN110348236B CN110348236B (en) 2024-07-26

Family

ID=68173483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810284796.6A Active CN110348236B (en) 2018-04-02 2018-04-02 File operation authority setting method and device and storage medium

Country Status (1)

Country Link
CN (1) CN110348236B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078655A (en) * 2019-12-23 2020-04-28 腾讯科技(深圳)有限公司 Document content sharing method and device, terminal and storage medium
CN111680328A (en) * 2020-07-09 2020-09-18 腾讯科技(深圳)有限公司 Data processing method and device, server and computer readable storage medium
CN111800426A (en) * 2020-07-07 2020-10-20 腾讯科技(深圳)有限公司 Method, device, equipment and medium for accessing native code interface in application program
CN111817946A (en) * 2020-06-28 2020-10-23 北京字节跳动网络技术有限公司 Processing method, device, equipment, medium and system for document sharing
CN112163398A (en) * 2020-09-30 2021-01-01 金蝶软件(中国)有限公司 Chart sharing method and related equipment thereof
CN112183045A (en) * 2020-09-23 2021-01-05 北京字跳网络技术有限公司 Online document processing method and device and electronic equipment
CN112257104A (en) * 2020-10-10 2021-01-22 北京字跳网络技术有限公司 Authority control method and device and electronic equipment
CN112487451A (en) * 2020-11-30 2021-03-12 北京字跳网络技术有限公司 Display method and device and electronic equipment
CN113486327A (en) * 2021-07-26 2021-10-08 上海中通吉网络技术有限公司 Code warehouse management method and system based on gitlab
CN113746831A (en) * 2021-09-02 2021-12-03 杭州海康威视数字技术股份有限公司 Authority verification method and device and storage medium
CN114693242A (en) * 2022-02-21 2022-07-01 北京快确信息科技有限公司 Method, device, system and medium for controlling file receiving and sending authority
CN115859246A (en) * 2023-02-16 2023-03-28 天津联想协同科技有限公司 Online document authority control method, device, server and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177202A (en) * 2011-12-22 2013-06-26 苏州威世博知识产权服务有限公司 Method and system for realizing consulting authority limit management of patent tree
CN104360817A (en) * 2014-12-08 2015-02-18 联想(北京)有限公司 Information processing method and electronic equipment
CN105373296A (en) * 2015-10-08 2016-03-02 广东欧珀移动通信有限公司 Task selection method and apparatus in terminal
CN106131055A (en) * 2016-08-18 2016-11-16 北京百度网讯科技有限公司 Method and apparatus for batch operation authority
CN106161176A (en) * 2015-03-23 2016-11-23 腾讯科技(深圳)有限公司 Cluster conversation message treatment method and device
CN107220558A (en) * 2017-05-24 2017-09-29 郑州云海信息技术有限公司 A kind of method of rights management, apparatus and system
US20180083976A1 (en) * 2016-09-22 2018-03-22 Facebook, Inc. Determining user access to groups generated in a closed online system based on categories determined for the groups

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177202A (en) * 2011-12-22 2013-06-26 苏州威世博知识产权服务有限公司 Method and system for realizing consulting authority limit management of patent tree
CN104360817A (en) * 2014-12-08 2015-02-18 联想(北京)有限公司 Information processing method and electronic equipment
CN106161176A (en) * 2015-03-23 2016-11-23 腾讯科技(深圳)有限公司 Cluster conversation message treatment method and device
CN105373296A (en) * 2015-10-08 2016-03-02 广东欧珀移动通信有限公司 Task selection method and apparatus in terminal
CN106131055A (en) * 2016-08-18 2016-11-16 北京百度网讯科技有限公司 Method and apparatus for batch operation authority
US20180083976A1 (en) * 2016-09-22 2018-03-22 Facebook, Inc. Determining user access to groups generated in a closed online system based on categories determined for the groups
CN107220558A (en) * 2017-05-24 2017-09-29 郑州云海信息技术有限公司 A kind of method of rights management, apparatus and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
坚果云帮助中心: "坚果云群组访问权限设置", Retrieved from the Internet <URL:https://help.jianguoyun.com/?p=2429> *
苹果恢复大师: "微信朋友圈的功能如何使用?朋友圈功能使用方法介绍", Retrieved from the Internet <URL:https://www.ifonebox.cn/news/wei-xin-pyq-657.html> *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078655B (en) * 2019-12-23 2023-12-26 腾讯科技(深圳)有限公司 Document content sharing method, device, terminal and storage medium
CN111078655A (en) * 2019-12-23 2020-04-28 腾讯科技(深圳)有限公司 Document content sharing method and device, terminal and storage medium
CN111817946A (en) * 2020-06-28 2020-10-23 北京字节跳动网络技术有限公司 Processing method, device, equipment, medium and system for document sharing
CN111800426A (en) * 2020-07-07 2020-10-20 腾讯科技(深圳)有限公司 Method, device, equipment and medium for accessing native code interface in application program
CN111680328A (en) * 2020-07-09 2020-09-18 腾讯科技(深圳)有限公司 Data processing method and device, server and computer readable storage medium
CN112183045A (en) * 2020-09-23 2021-01-05 北京字跳网络技术有限公司 Online document processing method and device and electronic equipment
CN112163398A (en) * 2020-09-30 2021-01-01 金蝶软件(中国)有限公司 Chart sharing method and related equipment thereof
CN112257104A (en) * 2020-10-10 2021-01-22 北京字跳网络技术有限公司 Authority control method and device and electronic equipment
CN112487451B (en) * 2020-11-30 2023-01-17 北京字跳网络技术有限公司 Display method and device and electronic equipment
CN112487451A (en) * 2020-11-30 2021-03-12 北京字跳网络技术有限公司 Display method and device and electronic equipment
US12067136B2 (en) 2020-11-30 2024-08-20 Beijing Zitiao Network Technology Co., Ltd. Display method, display device, and electronic device
CN113486327A (en) * 2021-07-26 2021-10-08 上海中通吉网络技术有限公司 Code warehouse management method and system based on gitlab
CN113746831A (en) * 2021-09-02 2021-12-03 杭州海康威视数字技术股份有限公司 Authority verification method and device and storage medium
CN114693242A (en) * 2022-02-21 2022-07-01 北京快确信息科技有限公司 Method, device, system and medium for controlling file receiving and sending authority
CN115859246A (en) * 2023-02-16 2023-03-28 天津联想协同科技有限公司 Online document authority control method, device, server and storage medium

Also Published As

Publication number Publication date
CN110348236B (en) 2024-07-26

Similar Documents

Publication Publication Date Title
CN110348236A (en) A kind of operating right setting method, device and the storage medium of file
KR102355481B1 (en) Smart Assist for Repeated Actions
JP6463463B2 (en) Service processing method, apparatus, and server
CN106030487B (en) For controlling the method and its electronic equipment of the composition of screen
CN107172196B (en) A kind of business interaction methods, devices and systems
JP2020525881A (en) Application processing method, device and storage medium
KR102652384B1 (en) Method, system, and non-transitory computer readable record medium for controlling device based internet of things using messenger bot
CN109388620A (en) A kind of method and the first electronic equipment of striding equipment access data
CN104469717B (en) Note transmission method and device
CN107533618A (en) Protect data from unwarranted access
CN103906010A (en) Method for synchronizing messages among plurality of terminals, machine-readable storage medium, and server
CN110164057A (en) Package processing method, device, server and readable medium based on intelligent cabinet-type air conditioner
CN105871695A (en) Emoji sending method and device
CN107729764A (en) Guard method, device, storage medium and the electronic equipment of sensitive information
CN110875871A (en) Management method of instant messaging application and electronic equipment
CN106412078B (en) Accurate information method for pushing, device and system
CN107438835A (en) Realize the method, apparatus and electronic equipment to the operation of another operating system
CN104123350A (en) Social relation management method, device and system
CN108293051A (en) Manage communication event
CN106302932A (en) The method and apparatus checking log in communication terminal
CN108270751A (en) Application management method, device and data sending processing method and apparatus
WO2024007655A1 (en) Social processing method and related device
CN107145790A (en) A kind of method and terminal for managing application permission
CN110661789B (en) Address resetting method, device, equipment and computer readable storage medium
CN105677408A (en) Application deletion method and device

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
GR01 Patent grant
GR01 Patent grant
TG01 Patent term adjustment