CN114969699A - Batch permission configuration method, device, equipment and storage medium - Google Patents

Batch permission configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN114969699A
CN114969699A CN202210888372.7A CN202210888372A CN114969699A CN 114969699 A CN114969699 A CN 114969699A CN 202210888372 A CN202210888372 A CN 202210888372A CN 114969699 A CN114969699 A CN 114969699A
Authority
CN
China
Prior art keywords
user
area
batch
target
initial
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
CN202210888372.7A
Other languages
Chinese (zh)
Other versions
CN114969699B (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.)
Hangzhou Hailiang Mingyou Online Education Technology Co ltd
Original Assignee
Hangzhou Hailiang Mingyou Online Education Technology 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 Hangzhou Hailiang Mingyou Online Education Technology Co ltd filed Critical Hangzhou Hailiang Mingyou Online Education Technology Co ltd
Priority to CN202210888372.7A priority Critical patent/CN114969699B/en
Publication of CN114969699A publication Critical patent/CN114969699A/en
Application granted granted Critical
Publication of CN114969699B publication Critical patent/CN114969699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Security & Cryptography (AREA)
  • Educational Technology (AREA)
  • Strategic Management (AREA)
  • Educational Administration (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for configuring batch authorities, wherein the method comprises the following steps: acquiring authority configuration information of a user mechanism, wherein the authority configuration information comprises an initial object authorized to the user mechanism; generating a batch custom template for the user mechanism based on the authority configuration information, wherein the batch custom template is used for acquiring a target object authorized to a target user, the target user is a user in the user mechanism, and the target object is an object in the initial object; acquiring batch custom information, wherein the batch custom information is obtained according to a target object of a target user set in a batch custom template; and configuring the authority of the corresponding target object for the target users in the user mechanism in batch based on the batch custom information so as to improve the authority configuration efficiency.

Description

Batch permission configuration method, device, equipment and storage medium
Technical Field
The present application relates to the field of intelligent teaching technologies, and in particular, to a method, an apparatus, a device, and a storage medium for configuring a batch privilege.
Background
With the continuous development of network technology, the intelligent teaching platform gradually becomes more and more teaching choices of schools and families.
Before developing intelligent teaching, need enter teaching information, for example teaching mr, teaching school and teaching course etc to open the authority of teaching course for corresponding teaching mr, thereby make teaching mr can use the course in the intelligent teaching platform. In the current stage, for the input of the authority of the teaching teacher, a system administrator generally acquires the authorization information of the teaching teacher, and then configures the user authority for each teaching teacher one by one, so that the efficiency is extremely low.
Disclosure of Invention
In view of the foregoing, the present application provides a method, an apparatus, a device, and a storage medium for configuring permissions in batches, so as to solve at least the problem of low efficiency in configuring permissions for users one by one.
In a first aspect, an embodiment of the present application provides a batch authority configuration method, including: acquiring authority configuration information of a user mechanism, wherein the authority configuration information comprises an initial object which can be authorized to the user mechanism; generating a batch custom template for the user mechanism based on the permission configuration information, wherein the batch custom template is used for acquiring a target object authorized to a target user, the target user is a user in the user mechanism, and the target object is an object in the initial object; acquiring batch custom information, wherein the batch custom information is obtained according to a target object of the target user set in the batch custom template; and configuring the authority of the corresponding target object for the target users in the user mechanism in batch based on the batch custom information.
In one possible implementation manner, the generating a batch customized template for the user facility based on the authority configuration information includes: generating a non-user-defined area according to the user attribute of the user in the user mechanism, wherein the non-user-defined area is used for acquiring the information of the target user; and generating a custom area according to the initial object authorized to the user mechanism, wherein the custom area is used for acquiring the target object.
In one possible implementation, the generating the custom region according to the initial object authorized for the user facility includes: generating a title area, an editable area corresponding to the title area and a data range of the editable area according to the initial object authorized to the user mechanism; the title areas are generated according to the types of the initial objects, the number of the title areas is determined according to the number of the initial objects, the data range is a subset or a complete set of all the initial objects, and the target objects which can be set in the editable area are the objects in the data range.
In a possible implementation manner, the custom region includes at least one sub-custom region, the permission configuration information further includes an association relationship between the initial object and a preset category, and then the generating a title region, an editable region corresponding to the title region, and a data range of the editable region according to the initial object authorized to the user mechanism includes: generating at least one sub-custom area according to the initial object and the incidence relation, wherein each sub-custom area comprises an object area with the incidence relation and a preset category area; the number of the sub-user-defined areas is determined according to the number of the initial objects corresponding to each preset category; wherein the object region comprises a title region for indicating the type of the initial object and a first editable region for acquiring the target object, and the data range of the first editable region is a subset or a full set of all the initial objects; the preset category area comprises a title area used for indicating the type of the preset category and a second editable area used for acquiring the preset category, and the data range of the second editable area is a subset or a complete set of all the preset categories.
In one possible implementation manner, for each sub-custom region, the first editable region is associated with a plurality of initial objects, and the second editable region is associated with a plurality of preset categories; wherein: when one of a plurality of initial objects associated with the first editable area is selected as a target object, a preset category associated with the target object in the second editable area is an operable category; and/or when one of the plurality of preset categories associated with the second editable area is selected as a target category, the initial object associated with the target category in the first editable area is an operable object.
In one possible implementation, the user attributes of the users in the user mechanism include: a user mechanism identification and a user identification; the non-user-defined area comprises a first attribute area and a second attribute area, and the generating of the non-user-defined area according to the user attribute of the user in the user mechanism comprises the following steps: generating a first identification area and a first filling area associated with the first identification area according to the user mechanism identification, wherein the first attribute area comprises the first identification area and the first filling area; and generating a second identification area and a second filling area associated with the second identification area according to the user identification, wherein the second attribute area comprises the second identification area and the second filling area.
In a possible implementation manner, the acquiring the authority configuration information of the user facility includes: outputting a permission configuration interface, wherein the permission configuration interface is provided with a candidate object area and a user mechanism area; and acquiring authority configuration information of the user mechanism based on the selected user mechanism in the user mechanism area and the selected candidate object in the candidate object area, wherein the selected candidate object is the initial object.
In a possible implementation manner, the acquiring the authority configuration information of the user facility includes: outputting a permission configuration interface, wherein the permission configuration interface is provided with a candidate object area, a user mechanism area and a preset category area; controlling the candidate object area to output a candidate object associated with the preset category based on the selected user mechanism in the user mechanism area and the selected preset category in the preset category area; and taking the selected candidate object in the candidate object area as an initial object, and determining the association relation between the initial object and the preset category.
In a possible implementation manner, the candidate object area displays object tags, and each object tag is associated with a plurality of candidate objects; if the object tag is selected, a plurality of candidate objects corresponding to the object tag are initial objects; if at least one of the plurality of candidate objects associated with the object tag is selected, the at least one candidate object is an initial object.
In a second aspect, an embodiment of the present application provides a batch authority configuration device, including: the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring authority configuration information of a user mechanism, and the authority configuration information comprises an initial object which can be authorized to the user mechanism; a generation module, configured to generate a batch custom template for the user organization based on the permission configuration information, where the batch custom template is used to obtain a target object that may be authorized to a target user, the target user is a user in the user organization, and the target object is an object in the initial object; the acquisition module is further configured to acquire batch custom information, where the batch custom information is obtained according to a target object of the target user set in the batch custom template; and the configuration module is used for configuring the authority of the corresponding target object for the target users in the user mechanism in batch based on the batch custom information.
In a possible implementation manner, the batch customized template includes a non-customized area and a customized area, and the generation module is specifically configured to: generating a non-user-defined area according to the user attribute of the user in the user mechanism, wherein the non-user-defined area is used for acquiring the information of the target user; and generating a custom area according to the initial object authorized to the user mechanism, wherein the custom area is used for acquiring the target object.
In a possible implementation manner, the custom area includes a title area and an editable area, and the generating module is specifically configured to: generating a title area, an editable area corresponding to the title area and a data range of the editable area according to the initial object authorized to the user mechanism; the title areas are generated according to the types of the initial objects, the number of the title areas is determined according to the number of the initial objects, the data range is a subset or a complete set of all the initial objects, and the target objects which can be set in the editable area are the objects in the data range.
In a possible implementation manner, the custom region includes at least one sub-custom region, the permission configuration information further includes an association relationship between the initial object and a preset category, and the generating module is specifically configured to: generating at least one sub-custom area according to the initial object and the incidence relation, wherein each sub-custom area comprises an object area with the incidence relation and a preset category area; the number of the sub-user-defined areas is determined according to the number of the initial objects corresponding to each preset category; wherein the object area comprises a title area for indicating the type of the initial object and a first editable area for acquiring the target object, and the data range of the first editable area is a subset or a complete set of all the initial objects; the preset category area comprises a title area used for indicating the type of the preset category and a second editable area used for acquiring the preset category, and the data range of the second editable area is a subset or a complete set of all the preset categories.
In one possible implementation manner, for each sub-custom region, the first editable region is associated with a plurality of initial objects, and the second editable region is associated with a plurality of preset categories; when one of a plurality of initial objects associated with the first editable area is selected as a target object, a preset category associated with the target object in the second editable area is an operable category; and/or when one of the plurality of preset categories associated with the second editable area is selected as a target category, the initial object associated with the target category in the first editable area is an operable object.
In one possible implementation, the user attributes of the users in the user mechanism include: a user mechanism identification and a user identification; the non-user-defined area comprises a first attribute area and a second attribute area, and the generation module is specifically configured to: generating a first identification area and a first filling area associated with the first identification area according to the user mechanism identification, wherein the first attribute area comprises the first identification area and the first filling area; and generating a second identification area and a second filling area associated with the second identification area according to the user identification, wherein the second attribute area comprises the second identification area and the second filling area.
In a possible implementation manner, the obtaining module is specifically configured to: outputting a permission configuration interface, wherein the permission configuration interface is provided with a candidate object area and a user mechanism area; and acquiring authority configuration information of the user mechanism based on the selected user mechanism in the user mechanism area and the selected candidate object in the candidate object area, wherein the selected candidate object is the initial object.
In a possible implementation manner, the obtaining module is specifically configured to output an authority configuration interface, where the authority configuration interface is provided with a candidate object area, a user mechanism area, and a preset category area; controlling the candidate object area to display the candidate object associated with the preset category based on the selected user mechanism in the user mechanism area and the selected preset category in the preset category area; and taking the selected candidate object in the candidate object area as an initial object, and determining the incidence relation between the initial object and the preset category.
In a possible implementation manner, the candidate object area displays object tags, and each object tag is associated with a plurality of candidate objects; if the object tag is selected, a plurality of candidate objects corresponding to the object tag are initial objects; if at least one of the plurality of candidate objects associated with the object tag is selected, the at least one candidate object is an initial object.
In a third aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the batch permission configuration method of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is used to implement the batch authority configuration method according to the first aspect.
According to the batch permission configuration method, the device, the equipment and the storage medium, permission configuration information of a user mechanism is obtained, and the permission configuration information comprises an initial object which can be authorized to the user mechanism; generating a batch custom template for the user mechanism based on the authority configuration information, wherein the batch custom template is used for acquiring a target object authorized to a target user, the target user is a user in the user mechanism, and the target object is an object in the initial object; acquiring batch custom information, wherein the batch custom information is obtained according to a target object of a target user set in a batch custom template; and configuring the authority of the corresponding target object for the target users in the user mechanism in batch based on the batch custom information. Because the batch custom template can acquire the batch custom information of the target user, the permission configuration of users one by one is not needed, and the permission configuration efficiency can be improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of a possible scenario provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a batch authority configuration method according to an embodiment of the present application;
FIG. 3 is an exemplary diagram of a rights configuration interface provided in an embodiment of the present application;
FIG. 4 is a diagram illustrating a batch customization template according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another permission configuration interface provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of another batch of custom templates provided by an embodiment of the present application;
FIG. 7 is an illustration of an editing example of a sub-custom area provided by an embodiment of the present application;
FIG. 8 is an illustration of an edit of another seed custom area provided by an embodiment of the present application;
FIG. 9 is an exemplary diagram of yet another privilege configuration interface provided by an embodiment of the present application;
FIG. 10 is an exemplary diagram of yet another privilege configuration interface provided by an embodiment of the present application;
fig. 11 is a schematic structural diagram of a batch authority configuration device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The configuration of the user authority is a method for setting roles and authority of the user, which is common in management software, so that the operation of the user is limited. Taking the education industry as an example, a teacher needs to guide students to learn according to course resources, the course resources are often provided by a course resource provider, and course resource users such as schools and school teachers can apply for the course resources from the course resource provider. In the course of course resource application, course providers have management authority of all course resources, course users can be all teachers of schools with which the course providers cooperate, and the course providers can authorize courses for all teachers of the cooperative schools.
In the related art, the setting of the user authority is generally configured by a system administrator one by one, so that the problem of low authority configuration efficiency exists.
In view of the above technical problems, an embodiment of the present application provides a batch permission configuration method, where a batch custom template of a user mechanism is generated based on an initial object that can be authorized to the user mechanism, and batch custom information is obtained based on the batch custom template, where the batch custom information includes a target object (which is an object in the initial object) that can be authorized to a user in the user mechanism and permissions that are configured for the target object in batch for the target user based on the batch custom information, so as to solve a problem that permission configuration is performed by users one by one, and the permission configuration efficiency is low.
In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described in more detail below with reference to the accompanying drawings in the embodiments of the present application. In the drawings, the same or similar reference numerals denote the same or similar components or components having the same or similar functions throughout. The described embodiments are a subset of the embodiments in the present application and not all embodiments in the present application. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic view of a possible scenario provided in an embodiment of the present application, and as shown in fig. 1, the scenario includes a terminal device 11 and a server 12, and the terminal device 11 and the server 12 are connected to each other through a wired or wireless network.
The terminal device 11 may include, but is not limited to, a computer, a smart phone, a tablet computer, an e-book reader, a motion Picture experts group audio layer 3 (MP 3 for short) player, a motion Picture experts group audio layer 4 (MP 4 for short) player, a portable computer, a vehicle-mounted computer, a wearable device, a desktop computer, a set-top box, a smart television, and the like.
The server 12 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
The interaction between the terminal device 11 and the server 12 enables bulk rights configuration. In an optional implementation manner, a first user in the user mechanism, for example, a school administrator, may send the authority configuration information to the server through the terminal device, so that the server generates a batch customized template of the user mechanism according to the authority configuration information, and sends the batch customized template to the terminal device where the first user is located. And the first user collects batch custom information filled by at least one second user in the user mechanism based on the batch custom template through the terminal equipment where the first user is located and sends the batch custom information to the server, so that the server performs batch permission custom configuration according to the batch custom information.
In another optional implementation manner, after the server generates the batch custom template of the user organization according to the authority configuration information, the batch custom template may be sent to a second user in the user organization, for example, a terminal device where a school teacher is located, and the second user fills in the batch custom information based on the batch custom template through the terminal device where the second user is located and sends the batch custom information to the server, so that the server performs batch authority custom configuration according to the batch custom information.
Optionally, the first user in the user institution is not limited to be a school administrator, and may also be a user in an institution where a course provider is located. The first user can obtain the authority configuration information corresponding to the authority applied by the user mechanism when applying for the course resources, and perform the batch authority custom configuration according to the authority configuration information.
The above description has briefly described the scene schematic diagram of the present application, and the batch authority configuration method provided in this embodiment may be executed by any device capable of performing data processing and authority configuration, and the execution subject of the batch authority configuration method is not particularly limited in this embodiment. For convenience of description, the present embodiment takes the server 12 shown in fig. 1 as an example to describe in detail the batch authority configuration method provided in the embodiment of the present application.
Fig. 2 is a schematic flowchart of a batch authority configuration method according to an embodiment of the present application. As shown in fig. 2, the batch authority configuration method includes the following steps:
s201, obtaining authority configuration information of a user mechanism, wherein the authority configuration information comprises an initial object which can be authorized to the user mechanism.
In this embodiment, the user institution refers to an organization where the user is located, where the organization includes an administrative organization and an enterprise institution, and when the organization is an enterprise institution, the enterprise institution may be a group, one of the branch institutions under the group, or a sub-branch institution of a certain branch institution of the group, which is not limited in this embodiment.
The initial object of the user authority refers to an object that can be used or operated after the user authority has a right. The initial object may be a resource, a functional unit, or the like, and the implementation manner of the initial object is not particularly limited in this embodiment. The user mechanism can apply for an initial object which can be authorized to the manager, and the manager configures the initial object which can be authorized to the user mechanism according to the application of the user mechanism. The resource manager configures the initial object of the user mechanism as the authority configuration information of the user mechanism, and the user mechanism has the operation authority of the configured initial object.
For example, taking a user institution as an educational institution, such as a school, the school may apply for all or part of the course resources from a certain platform with the course resources, and after the school applies for the course resources successfully, the school may be authorized to give the course resources of the school, that is, the right configuration information.
After the authority configuration information of the user mechanism is successfully configured, the corresponding relation between the identifier of the user mechanism and the authority configuration information of the user mechanism can be generated according to the authority configuration information of the user mechanism and the identifier of the user mechanism, and the corresponding relation is stored in a database. When a user sends a request for carrying out batch permission configuration to a database through terminal equipment, the request carries an identifier of a user mechanism, and the database can acquire permission configuration information corresponding to the identifier of the user mechanism according to the identifier of the user mechanism and the stored corresponding relation.
S202, generating a batch custom template for the user mechanism based on the authority configuration information, wherein the batch custom template is used for obtaining a target object which can be authorized to a target user, the target user is a user in the user mechanism, and the target object is an object in the initial object.
The permission configuration information acquired in step S201 is information acquired from a database, and readability and visualization effect are not good for the user, and in this step, a batch custom template is generated for the user organization according to the permission configuration information, so that the user can conveniently input custom information in batch.
The user mechanism comprises a plurality of users, any one of the users of the user mechanism can use the batch custom template to perform custom setting, and the batch custom template provides the same functions for the users of the user mechanism. The target user may be at least some of a plurality of users of the user institution. The batch self-defined template provides all initial objects or configurable initial objects in all the initial objects for a target user, the target user can select all or part of the initial objects from the initial objects provided by the batch self-defined template, the initial objects selected by the target user are the target objects of the target user, and after the target objects are authorized to the target user, the target user has the operation authority on the target objects.
Those skilled in the art can understand that, in this embodiment, a batch custom template corresponding to a user mechanism is generated for the user mechanism, instead of all user mechanisms adopting the same template, and for an initial object authorized by the user mechanism, a user in the user mechanism can only select a target object in the initial object, so that the user is prevented from selecting a target object from all objects, interference of redundant data is prevented, not only is user operation facilitated, but also the accuracy of selection is ensured.
The batch custom template can provide a batch permission configuration function, and is specifically represented in that at least one target user in a plurality of users can perform custom setting on a target object through the same custom template, or the target object set by at least one target user in the custom template can be stored in one custom template, the relation between the batch custom template and the target user can be a one-to-many relation, and the relation between the user institution and the batch custom template is a one-to-one relation, namely, each user institution corresponds to one batch custom template.
S203, obtaining batch self-defining information, wherein the batch self-defining information is obtained according to a target object of a target user set in a batch self-defining template.
At least one target user can set a target object in the batch custom template through the terminal equipment, and after the target user completes the setting of the target object, the terminal equipment can obtain the batch custom information of the target user according to the target object set by the target user. The batch custom information comprises target objects obtained by the target user through custom setting based on the initial objects.
Still taking school as an example, a batch custom template is generated for school based on authorized course resources of school, and the batch custom template can provide a function of setting courses for teachers at school. School teachers can determine target course resources from the authorized course resources through the batch custom templates. After all teachers in the school finish setting courses based on the batch custom templates, the batch custom information is obtained, and course resources authorized to each teacher can be obtained.
Target objects set by at least one target user can be collected based on the batch custom template, so that batch custom information of the at least one target user is obtained.
And S204, configuring the authority of the corresponding target object for the target users in the user mechanism in batch based on the batch custom information.
The batch custom information comprises the custom information of each target user in at least one target user, and the authority of the corresponding target object can be configured for each target user based on the custom information of each target user, so that the function of batch authority setting is realized.
In the embodiment, the authority configuration information of the user mechanism is acquired, wherein the authority configuration information comprises an initial object which can be authorized to the user mechanism; generating a batch custom template for the user mechanism based on the authority configuration information, wherein the batch custom template is used for acquiring a target object authorized to a target user, the target user is a user in the user mechanism, and the target object is an object in the initial object; acquiring batch custom information, wherein the batch custom information is obtained according to a target object of a target user set in a batch custom template; and configuring the authority of the corresponding target object for the target users in the user mechanism in batch based on the batch custom information. Because the batch custom template can acquire the batch custom information of the target user, the permission configuration of users one by one is not needed, and the permission configuration efficiency can be improved.
In one or more embodiments of the present application, optionally, acquiring the authority configuration information of the user facility includes: outputting a permission configuration interface, wherein the permission configuration interface is provided with a candidate object area and a user mechanism area; and acquiring the authority configuration information of the user mechanism based on the selected user mechanism in the user mechanism area and the selected candidate object in the candidate object area, wherein the selected candidate object is an initial object. According to the embodiment, the user mechanism and the candidate object can be intuitively known through the authority configuration interface, and the operation of a user is facilitated.
In this embodiment, the authority configuration interface may be output to the terminal device of the user, so that the authority configuration interface is displayed through the graphical user interface of the terminal device, and the authority configuration information of the user mechanism is acquired through the authority configuration interface. The user mechanism area is used for displaying a plurality of selectable user mechanisms, when the selection of the user mechanisms is completed, the candidate object area can display a plurality of selectable candidate objects of the user mechanisms, a candidate object selection function is provided, and when the selection of the candidate objects is completed, the selected candidate objects are the initial objects.
Optionally, the user may select at least one candidate in the candidate area.
For the convenience of the reader to understand, the following describes the implementation process of this embodiment by taking the process of setting the course resource by a teacher in the course resource with the authority owned by the school as an example, with reference to the accompanying drawings:
fig. 3 is an exemplary diagram of a rights configuration interface according to an embodiment of the present application. As shown in fig. 3, the authority configuration interface includes a candidate area 31 and a user institution area 32. The user institution area 32 provides a selection function of a school, and the candidate area 31 provides a selection function of a lesson resource to which the school has authority. After the user in school 1 selects school 1 in the drop-down box of "select school" displayed in the user institution area through the terminal device, it is stated that the right configuration is for school 1. And displaying the course resources provided by the course resource provider in the candidate object area, wherein each course resource corresponds to a selection function. Course resources required by school 1 can be configured in all course resources, and after the course resources of school 1 are selected, a 'confirm' button can be clicked, so that the server can generate a batch custom template for school 1 according to the authority configuration information of school 1.
Optionally, the batch custom template includes a non-custom area and a custom area, and then generates a batch custom template for the user organization based on the authority configuration information, including:
step a1, generating a non-user-defined area according to the user attributes of the users in the user mechanism, wherein the non-user-defined area is used for acquiring the information of the target user.
In this embodiment, the non-user-defined area is an area in the batch user-defined template where the user cannot perform user-defined setting. Wherein the user attributes of the users in the user mechanism include: a user mechanism identification and a user identification; the user mechanism identification is used for uniquely identifying the user mechanism and distinguishing different user mechanisms; the user identification is used for uniquely identifying the user and distinguishing different users. The information of the target user is unique identification information used for representing the identity of the target user. The non-custom area of the embodiment can avoid a user from tampering the template, and can fill data required by the non-custom area.
Optionally, the non-user-defined area includes a first attribute area and a second attribute area, and then the step a1 specifically includes:
step a11, generating a first identification area and a first filling area associated with the first identification area according to the user mechanism identification, wherein the first attribute area comprises the first identification area and the first filling area.
In this step, the first identification area is a header area indicating the identity of the user mechanism, the first padding area is used to provide a function of padding information of the user mechanism for a target user in the user mechanism, and the target user can pad information indicating the user mechanism where the target user is located through the first padding area, so that the non-user-defined area obtains the information of the user mechanism.
The following describes an embodiment of the present application, with reference to the accompanying drawings and a scenario in which a school teacher sets a course resource in a course resource for which the school has a right, as an example:
fig. 4 is a schematic diagram of a batch customization template according to an embodiment of the present application. As shown in fig. 4, a header area (a cell shown by a bold line in the figure) 41 of a column in which a field of a school is located is a first identification area, and an area of the column in which the field of the school is located is a first padding area 42. The first padding area may include a plurality of first padding sub-areas, and each first padding sub-area (i.e., each cell filled with school 1) is used to provide each target user with a padding function of information of a user institution where the target user is located.
Step a12, generating a second identification area and a second filling area associated with the second identification area according to the user identification, wherein the second attribute area comprises the second identification area and the second filling area.
In this step, the second identification area is a header area indicating the identity of the user, the second filling area is used for providing a filling function of information of the target user for the target user, and the target user can fill the information indicating the identity of the target user through the second filling area, so that the non-user-defined area obtains the information of the target user.
With continued reference to fig. 4, the second identification area 43 includes a title area where a name field and a mobile number field are located, and the second padding area 44 includes a blank area where the name field is located and a blank area where the mobile number field is located.
It should be understood that the name and mobile phone number fields herein are exemplary illustrations and do not represent limitations on the batch custom template of the present application, and those skilled in the art may set the second identification area according to actual service requirements.
The first attribute zone can conveniently acquire the information of the user mechanism, and the second attribute zone can conveniently acquire the user information, so that the right can be configured for the correct user mechanism and the user when the right is configured, and the wrong configuration of the right is avoided.
Step a2, generating a user-defined area according to the initial object authorized for the user mechanism, wherein the user-defined area is used for obtaining the target object.
In this step, the custom area is an area that can be customized by the user in the batch custom template. The initial object authorized for the user institution refers to all resources applied by the user institution to the resource provider. That is, all of the initial objects of the user organization may be presented in the custom region. And after the target user sets the initial objects through the custom area, the initial objects set by the target user are the target objects of the target user.
The user-defined area of this embodiment can make things convenient for the user to realize self-defined effect and effect through the self-defined target object of initial object to user operation is convenient for in self-defined area and the independent setting in non-user-defined district.
Optionally, the custom area includes a title area and an editable area, and step a2 specifically includes: generating a title area, an editable area corresponding to the title area and a data range of the editable area according to an initial object authorized to a user mechanism; the title areas are generated according to the types of the initial objects, the number of the title areas is determined according to the number of the initial objects, the data range is a subset or a complete set of all the initial objects, and the target objects which can be set in the editable area are the objects in the data range.
Referring to fig. 4, the title area 45 is used to indicate that the type of the object is the course type, i.e. the areas where the teaching courses 1 to 6 are located in the figure, and the editable area 46 corresponding to the title area refers to the blank area of each column where the title area is located. Each target user may correspond to each row of the editable area, that is, each cell in the editable area in fig. 4 may provide a certain function of the course resource for each target user. When the target user selects the cell, the selectable course resources included in the teaching course 1 can be displayed, and the target user can select the selectable course resources to set the initial object through the user-defined area. For example, when the target user selects the cell in the first row of the editable area corresponding to teaching course 1, the small robot, the child lover, and the calligraphy art may be displayed through the drop-down box for selection by the target user.
According to the embodiment, the number of the title areas is determined according to the number of the initial objects, so that the user can select a proper number of target objects, and the condition that the user selects the target objects due to the fact that the number of the title areas is insufficient is avoided. In addition, the limitation of the data range prevents the editable area from having contents except the initial object, and the reasonability of the data is ensured.
It will be understood by those skilled in the art that each user corresponds to a row in the batch custom template, and each title block may select one target course, and the number of title blocks is less than or equal to the number of original objects in order to ensure that the user can select the desired target course. For example, if each user can select a maximum of N target objects among the initial objects, the number of header areas is N. The data range of the editable area is a subset or a full set of all the initial objects, and the target objects settable in the editable area are objects in the data range. I.e. the editable area cannot be filled with content other than the initial object.
In one or more embodiments of the present application, optionally, acquiring the authority configuration information of the user facility includes: outputting an authority configuration interface, wherein the authority configuration interface is provided with a candidate object area, a user mechanism area and a preset category area; controlling the candidate object area to output a candidate object associated with a preset category based on the selected user mechanism in the user mechanism area and the selected preset category in the preset category area; and taking the selected candidate object in the candidate object area as an initial object, and determining the association relation between the initial object and the preset category. According to the embodiment, the selection range of the initial object is narrowed through the association relationship between the preset category and the initial object, the initial object can be selected quickly, and the interference caused by redundant data is avoided.
The difference between the permission configuration interface of the embodiment of the present embodiment and the permission configuration interface of the embodiment shown in fig. 3 is that a preset type area is added in the embodiment of the present embodiment compared with the embodiment shown in fig. 3. The remaining candidate areas and the user mechanism area are defined as in the embodiment shown in fig. 3, and specific reference may be made to the description of the embodiment shown in fig. 3, and the description is not repeated here. The preset category area in this embodiment is used to display the sub-mechanisms in the user mechanism and provide the selection function of the sub-mechanisms, and the number of users in the preset category is a subset or a full set of the number of users in the user mechanism. And after the selection of the user mechanism and the preset category is finished, displaying the candidate objects which are screened from the candidate object range corresponding to the user mechanism and belong to the preset category. The association relationship between the initial object and the preset category means that a mapping relationship is established between the candidate object selected by the user and the preset category selected by the user, so that an editable data range can be provided for the user according to the association relationship in the following process.
Optionally, the user may select at least one preset category in the preset category region and select at least one candidate in the candidate region.
Fig. 5 is a schematic diagram of another permission configuration interface provided in an embodiment of the present application. As shown in fig. 5, the authority configuration interface includes a candidate area 51, a user mechanism area 52, and a preset category area (shown by a thick line) 53. The user institution area 52 provides a selection function of a school, the candidate area 51 provides a selection function of a lesson resource to which the school has a right, and the preset category area 53 provides a selection function of a grade. If school 1 is selected in the drop-down box of "select school" displayed in the user institution area 52, the preset category area 53 displays all the grades of the school, and may further select a corresponding grade from the displayed grades, and when the grade selection is completed, the candidate object area 51 displays all the selectable course resources corresponding to the selected grade of the school 1, and each course resource corresponds to a selection function. The course resources can be configured in all the selectable course resources, and after the course resources are configured, a 'confirmation' button can be clicked, so that the server can generate a batch custom template for the selected grade of the school 1 according to the authority configuration information of the school 1.
Optionally, the custom area of the batch custom template may further include at least one sub-custom area, the permission configuration information may further include an association relationship between the initial object and a preset category, and then, according to the initial object authorized to the user mechanism, the title area, the editable area corresponding to the title area, and the data range of the editable area are generated, including: generating at least one sub-custom area according to the initial object and the incidence relation, wherein each sub-custom area comprises an object area with the incidence relation and a preset category area; the number of the sub-custom areas is determined according to the number of the initial objects corresponding to each preset category.
The object area comprises a title area used for indicating the type of the initial object and a first editable area used for acquiring the target object, and the data range of the first editable area is a subset or a complete set of all the initial objects; the preset category area includes a title area for indicating a type of the preset category and a second editable area for acquiring the preset category, and a data range of the second editable area is a subset or a full set of all the preset categories.
In this embodiment, the title area includes a title area for indicating the type of the initial object and a title area for indicating the type of the preset category, and accordingly, the editable area corresponding to the title area includes a first editable area for acquiring the target object and a second editable area for acquiring the preset category. The first editable area corresponding to each title area is used for providing the selection function of the initial object for the user, and the second editable area is used for providing the selection function of the preset category for the user. The incidence relation between the preset category and the initial object can be realized by setting the sub-custom area, so that a user can quickly select the target object through the preset category.
And the number of the sub-user-defined areas is the sum of the number of the initial objects corresponding to each preset category. For example, the child custom region includes a grade and an initial object corresponding to the grade. Assuming that the school includes 2 grades, a first grade and a second grade, and the first grade corresponds to 3 courses, and the second grade corresponds to 2 courses, the first grade corresponds to 3 sub-customization regions, the second grade corresponds to 2 sub-customization regions, and the number of the sub-customization regions can be obtained according to the sum of the number of the courses corresponding to the first grade and the second grade.
Fig. 6 is a schematic diagram of another batch of customized templates provided in the embodiment of the present application. As shown in fig. 6, the title area 61 includes an area where the cells indicating the class type are located and an area where the cells indicating the class type are located, that is, an area marked with the class and the teaching course typeface in the drawing, and the area corresponding to each class and the teaching course is a sub-customization area. The first editable area 62 corresponding to the title area is used for providing the user with the selection function of teaching courses, and the second editable area 63 is used for providing the user with the selection function of grade. The editable area corresponding to the title area refers to a blank area of each column where the title area is located. The editable area corresponding to the title area in the figure refers to a title area for indicating the course type and a blank area of a column where the title area for indicating the type of the grade is located. Each target user may correspond to each row of the editable area, that is, each cell in the editable area in fig. 6 may provide each target user with a course type or a grade level editing function. When the target user selects the cell, the selectable courses included in the teaching course 1 or the selectable grades included in the school can be displayed, and the target user can select the selectable courses and the selectable grades to set the initial object and the preset category through the user-defined area.
Optionally, for each sub-user-defined region, the first editable region is associated with a plurality of initial objects, and the second editable region is associated with a plurality of preset categories; when one of the plurality of initial objects associated with the first editable area is selected as a target object, the preset category associated with the target object in the second editable area is an operable category; and/or when one of the plurality of preset categories associated with the second editable area is selected as the target category, the initial object associated with the target category in the first editable area is an operable object.
Fig. 7 is an exemplary diagram of editing a sub-custom area according to an embodiment of the present application. As shown in fig. 7, it is assumed that the plurality of initial objects associated with the first editable area include a small robot, a child affector and calligraphy art, and the preset categories associated with the small robot include a first grade and a second grade, the preset categories associated with the child affector include a first grade, a second grade and a third grade, and the preset categories associated with the calligraphy art include a second grade, a third grade and a fourth grade. When the user selects a small robot in the first editable area, the operable data range in the second editable area includes a first grade and a second grade.
Fig. 8 is an exemplary diagram of editing another seed custom area provided in the embodiment of the present application. As shown in fig. 8, it is assumed that the plurality of initial objects associated with the first editable area include a small robot, a child affector and calligraphy art, and the preset categories associated with the small robot include a first grade and a second grade, the preset categories associated with the child affector include a first grade, a second grade and a third grade, and the preset categories associated with the calligraphy art include a second grade, a third grade and a fourth grade. When the user selects a second grade in the second editable area, then the operable data range in the first editable area includes the small robot, the child valentine and calligraphy art.
In the embodiment, the first editable area is associated with a plurality of initial objects and the second editable area is associated with a plurality of preset categories for each sub-custom area, so that after the target user edits the initial objects in the first editable area, the preset categories associated with the initial objects selected by the target user can be displayed in the second editable area, and after the target user edits the preset categories in the second editable area, the initial objects associated with the preset categories selected by the target user can be displayed in the first editable area, so that the editable data range is narrowed, and the phenomena that data which are not selected by the user in one editable area is displayed in the other editable area, interference is caused to the selection of the user, and information is easily filled by mistake are avoided.
On the basis of the two permission configuration interfaces introduced in the above embodiment, optionally, object tags are displayed in the candidate object area, and each object tag is associated with a plurality of candidate objects; if the object tag is selected, a plurality of candidate objects corresponding to the object tag are initial objects; if at least one of the plurality of candidate objects associated with the object tag is selected, the at least one candidate object is the initial object.
For example, the object tag may be a course large class, and the candidate objects associated with each object tag may be course subclasses, that is, each course large class is associated with a plurality of course subclasses, and when the course large class is selected, the plurality of course subclasses corresponding to the course large class are the initial objects, and when some of the plurality of course subclasses associated with the course large class are selected, some of the course subclasses are the initial objects.
Fig. 9 is an exemplary diagram of another permission configuration interface provided in an embodiment of the present application. Fig. 10 is an exemplary diagram of another permission configuration interface provided in an embodiment of the present application. As shown in fig. 9, the candidate object area displays object tags such as a small robot, a child valentine and calligraphy art, the small robot is associated with a building & traffic center 1, a building & traffic center 2, a building & traffic center 3 and a building & traffic center 4, the child valentine is associated with a child valentine course 1, a child valentine course 2 and a child valentine course 3, and calligraphy art is associated with a calligraphy art course 1 and a calligraphy art course 2, when the user selects the object tag of the small robot, the building & traffic center 1, the building & traffic center 2, the building & traffic center 3 and the building & traffic center 4 associated with the small robot are initial objects, and when the user selects the building & traffic center 3 and the building & traffic center 4, as shown in fig. 10, the building & traffic center 3 and the building & traffic center 4 are initial objects.
In the embodiment, object tags are displayed in the candidate object area, and each object tag is associated with a plurality of candidate objects; if the object tag is selected, a plurality of candidate objects corresponding to the object tag are initial objects; if at least one of the plurality of candidate objects associated with the object tag is selected, the at least one candidate object is the initial object. The effect of selecting a plurality of initial objects at a time through the candidate tags can be achieved, thereby improving the selection efficiency of the initial objects.
On the basis of the above method embodiment, fig. 11 is a schematic structural diagram of a batch authority configuration device provided in the embodiment of the present application. As shown in fig. 11, the bulk authority configuration device includes: an acquisition module 111, a generation module 112 and a configuration module 113.
The acquiring module 111 is configured to acquire authority configuration information of a user organization, where the authority configuration information includes an initial object that may be authorized to the user organization;
a generating module 112, configured to generate a batch customized template for the user institution based on the permission configuration information, where the batch customized template is used to obtain a target object that can be authorized to a target user, where the target user is a user in the user institution, and the target object is an object in the initial object;
the obtaining module 111 is further configured to obtain batch custom information, where the batch custom information is obtained according to a target object of the target user set in the batch custom template; a configuration module 113, configured to configure permissions of respective corresponding target objects for the target users in the user mechanism in batches based on the batch customization information.
In some optional embodiments, the batch custom template includes a non-custom area and a custom area, and the generating module 112 is specifically configured to: generating a non-user-defined area according to the user attribute of the user in the user mechanism, wherein the non-user-defined area is used for acquiring the information of the target user; and generating a custom area according to the initial object authorized to the user mechanism, wherein the custom area is used for acquiring the target object.
In some optional embodiments, the custom area includes a title area and an editable area, and the generating module 112 is specifically configured to: generating a title area, an editable area corresponding to the title area and a data range of the editable area according to the initial object authorized to the user mechanism; the title areas are generated according to the types of the initial objects, the number of the title areas is determined according to the number of the initial objects, the data range is a subset or a complete set of all the initial objects, and the target objects which can be set in the editable area are the objects in the data range.
In some optional embodiments, the custom region includes at least one sub-custom region, and the permission configuration information further includes an association relationship between the initial object and a preset category, and then the generating module 112 is specifically configured to: generating at least one sub-custom area according to the initial object and the incidence relation, wherein each sub-custom area comprises an object area with the incidence relation and a preset category area; the number of the sub-user-defined areas is determined according to the number of the initial objects corresponding to each preset category; wherein the object area comprises a title area for indicating the type of the initial object and a first editable area for acquiring the target object, and the data range of the first editable area is a subset or a complete set of all the initial objects; the preset category area comprises a title area used for indicating the type of the preset category and a second editable area used for acquiring the preset category, and the data range of the second editable area is a subset or a complete set of all the preset categories.
In some alternative embodiments, for each sub-custom zone, the first editable area is associated with a plurality of initial objects and the second editable area is associated with a plurality of preset categories; when one of a plurality of initial objects associated with the first editable area is selected as a target object, a preset category associated with the target object in the second editable area is an operable category; and/or when one of the plurality of preset categories associated with the second editable area is selected as a target category, the initial object associated with the target category in the first editable area is an operable object.
In some optional embodiments, the user attributes of the user in the user mechanism include: a user mechanism identification and a user identification; the non-user-defined area includes a first attribute area and a second attribute area, and the generating module 112 is specifically configured to: generating a first identification area and a first filling area associated with the first identification area according to the user mechanism identification, wherein the first attribute area comprises the first identification area and the first filling area; and generating a second identification area and a second filling area associated with the second identification area according to the user identification, wherein the second attribute area comprises the second identification area and the second filling area.
In some optional embodiments, the obtaining module 111 is specifically configured to: outputting a permission configuration interface, wherein the permission configuration interface is provided with a candidate object area and a user mechanism area; and acquiring authority configuration information of the user mechanism based on the selected user mechanism in the user mechanism area and the selected candidate object in the candidate object area, wherein the selected candidate object is the initial object.
In some optional embodiments, the obtaining module 111 is specifically configured to output an authority configuration interface, where the authority configuration interface is provided with a candidate object area, a user mechanism area, and a preset category area; controlling the candidate object area to display the candidate object associated with the preset category based on the selected user mechanism in the user mechanism area and the selected preset category in the preset category area; and taking the selected candidate object in the candidate object area as an initial object, and determining the incidence relation between the initial object and the preset category.
In some optional embodiments, the candidate object area displays object tags, each object tag associating a plurality of candidate objects; if the object tag is selected, a plurality of candidate objects corresponding to the object tag are initial objects; if at least one of the plurality of candidate objects associated with the object tag is selected, the at least one candidate object is an initial object.
The batch permission configuration device provided by the embodiment of the application can be used for executing the technical scheme of the batch permission configuration method in the embodiment, the implementation principle and the technical effect are similar, and details are not repeated here.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element here may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 12, the electronic device may include: transceiver 121, processor 122, memory 123.
The processor 122 executes computer-executable instructions stored in the memory, causing the processor 122 to perform the aspects of the embodiments described above. The processor 122 may be a general-purpose processor including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Memory 123 is coupled to and in communication with processor 122 via a system bus, and memory 123 is used to store computer program instructions.
The transceiver 121 may be used to obtain rights configuration information for the user authority.
The system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The transceiver is used to enable communication between the database access device and other computers (e.g., clients, read-write libraries, and read-only libraries). The memory may include Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory).
The electronic device provided in the embodiment of the present application may be the server in the above embodiment.
The embodiment of the application further provides a chip for running the instructions, and the chip is used for executing the technical scheme of the batch permission configuration method in the embodiment.
The embodiment of the present application further provides a computer-readable storage medium, where a computer instruction is stored in the computer-readable storage medium, and when the computer instruction runs on a computer, the computer is enabled to execute the technical solution of the batch permission configuration method in the foregoing embodiment.
The embodiment of the present application further provides a computer program product, where the computer program product includes a computer program, the computer program is stored in a computer-readable storage medium, at least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, the technical solution of the batch permission configuration method in the foregoing embodiment can be implemented.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (12)

1. A method for configuring a batch of permissions, comprising:
acquiring authority configuration information of a user mechanism, wherein the authority configuration information comprises an initial object which can be authorized to the user mechanism;
generating a batch custom template for the user mechanism based on the authority configuration information, wherein the batch custom template is used for acquiring a target object which can be authorized to a target user, the target user is a user in the user mechanism, and the target object is an object in the initial object;
acquiring batch custom information, wherein the batch custom information is obtained according to a target object of the target user set in the batch custom template;
and configuring the authority of the corresponding target object for the target users in the user mechanism in batch based on the batch custom information.
2. The method of claim 1, wherein the batch of custom templates includes a non-custom region and a custom region, and wherein generating a batch of custom templates for the user facility based on the privilege configuration information comprises:
generating a non-user-defined area according to the user attribute of the user in the user mechanism, wherein the non-user-defined area is used for acquiring the information of the target user;
and generating a custom area according to the initial object authorized to the user mechanism, wherein the custom area is used for acquiring the target object.
3. The method of claim 2, wherein the custom region comprises a header region and an editable region, and wherein generating the custom region based on the initial object authorized for the user facility comprises:
generating a title area, an editable area corresponding to the title area and a data range of the editable area according to the initial object authorized to the user mechanism;
wherein the header areas are generated according to the types of the initial objects, the number of the header areas is determined according to the number of the initial objects, the data range is a subset or a complete set of all the initial objects, and the target objects settable in the editable area are objects in the data range.
4. The method according to claim 3, wherein the customization area includes at least one sub-customization area, and the permission configuration information further includes an association relationship between the initial object and a preset category, and then the generating a title area, an editable area corresponding to the title area, and a data range of the editable area according to the initial object authorized to the user mechanism includes:
generating at least one sub-user-defined area according to the initial object and the incidence relation, wherein each sub-user-defined area comprises an object area with the incidence relation and a preset category area; the number of the sub-user-defined areas is determined according to the number of the initial objects corresponding to each preset category;
wherein the object region comprises a title region for indicating the type of the initial object and a first editable region for acquiring the target object, and the data range of the first editable region is a subset or a full set of all the initial objects;
the preset category area comprises a title area used for indicating the type of the preset category and a second editable area used for acquiring the preset category, and the data range of the second editable area is a subset or a complete set of all the preset categories.
5. The method of claim 4, wherein for each sub-customization zone, the first editable area is associated with a plurality of initial objects and the second editable area is associated with a plurality of preset categories; wherein:
when one of a plurality of initial objects associated with the first editable area is selected as a target object, a preset category associated with the target object in the second editable area is an operable category; and/or
When one of the multiple preset categories associated with the second editable area is selected as a target category, the initial object associated with the target category in the first editable area is an operable object.
6. The method of claim 2, wherein the user attributes of the user in the user organization comprise: a user mechanism identifier and a user identifier; the non-user-defined area comprises a first attribute area and a second attribute area, and the generating of the non-user-defined area according to the user attribute of the user in the user mechanism comprises the following steps:
generating a first identification area and a first filling area associated with the first identification area according to the user mechanism identification, wherein the first attribute area comprises the first identification area and the first filling area;
and generating a second identification area and a second filling area associated with the second identification area according to the user identification, wherein the second attribute area comprises the second identification area and the second filling area.
7. The method of claim 1, wherein the obtaining of the authority configuration information of the user entity comprises:
outputting a permission configuration interface, wherein the permission configuration interface is provided with a candidate object area and a user mechanism area;
and acquiring authority configuration information of the user mechanism based on the selected user mechanism in the user mechanism area and the selected candidate object in the candidate object area, wherein the selected candidate object is the initial object.
8. The method of claim 4, wherein the obtaining of the authority configuration information of the user entity comprises:
outputting a permission configuration interface, wherein the permission configuration interface is provided with a candidate object area, a user mechanism area and a preset category area;
controlling the candidate object area to output a candidate object associated with the preset category based on the selected user mechanism in the user mechanism area and the selected preset category in the preset category area;
and taking the selected candidate object in the candidate object area as an initial object, and determining the incidence relation between the initial object and the preset category.
9. The method of claim 7 or 8, wherein the candidate object area is displayed with object tags, each object tag being associated with a plurality of candidate objects; if the object tag is selected, a plurality of candidate objects corresponding to the object tag are initial objects;
if at least one of the plurality of candidate objects associated with the object tag is selected, the at least one candidate object is an initial object.
10. A batch entitlement configuration apparatus, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring authority configuration information of a user mechanism, and the authority configuration information comprises an initial object which can be authorized to the user mechanism;
a generation module, configured to generate a batch customized template for the user institution based on the permission configuration information, where the batch customized template is used to obtain a target object that can be authorized to a target user, where the target user is a user in the user institution, and the target object is an object in the initial object;
the acquisition module is further configured to acquire batch custom information, where the batch custom information is obtained according to a target object of the target user set in the batch custom template;
and the configuration module is used for configuring the authority of the corresponding target object for the target users in the user mechanism in batch based on the batch custom information.
11. An electronic device, comprising: a memory and a processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to cause the electronic device to perform the bulk rights configuration method of any of claims 1-9.
12. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, implement the bulk rights configuration method of any of claims 1-9.
CN202210888372.7A 2022-07-27 2022-07-27 Batch permission configuration method, device, equipment and storage medium Active CN114969699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210888372.7A CN114969699B (en) 2022-07-27 2022-07-27 Batch permission configuration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210888372.7A CN114969699B (en) 2022-07-27 2022-07-27 Batch permission configuration method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114969699A true CN114969699A (en) 2022-08-30
CN114969699B CN114969699B (en) 2022-11-04

Family

ID=82968900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210888372.7A Active CN114969699B (en) 2022-07-27 2022-07-27 Batch permission configuration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114969699B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115481386A (en) * 2022-09-15 2022-12-16 中航信移动科技有限公司 Batch configuration system for target application use permission

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002109450A (en) * 2000-09-27 2002-04-12 Dainippon Printing Co Ltd Electronic form supply device, electronic form utilization device and storage medium
CN107330344A (en) * 2017-07-01 2017-11-07 成都牵牛草信息技术有限公司 A kind of related information authorization method of list
CN109033797A (en) * 2018-09-13 2018-12-18 广东电网有限责任公司 A kind of authority setting method and device
WO2019011304A1 (en) * 2017-07-13 2019-01-17 成都牵牛草信息技术有限公司 Role acquisition-based method for authorizing form data
CN109388442A (en) * 2018-10-31 2019-02-26 郑州云海信息技术有限公司 A kind of method, apparatus and computer equipment of batch configuration BMC user
CN111382418A (en) * 2020-03-06 2020-07-07 Oppo广东移动通信有限公司 Application program authority management method and device, storage medium and electronic equipment
CN111783121A (en) * 2020-07-02 2020-10-16 泰康保险集团股份有限公司 Data processing method, device, equipment and storage medium
CN112491987A (en) * 2020-11-16 2021-03-12 珠海格力电器股份有限公司 User permission configuration method, device, server and configuration system
CN113761553A (en) * 2021-01-15 2021-12-07 北京京东拓先科技有限公司 Menu batch authorization method and device, electronic equipment and computer readable medium
CN114186259A (en) * 2021-12-14 2022-03-15 中国建设银行股份有限公司 Authority control method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002109450A (en) * 2000-09-27 2002-04-12 Dainippon Printing Co Ltd Electronic form supply device, electronic form utilization device and storage medium
CN107330344A (en) * 2017-07-01 2017-11-07 成都牵牛草信息技术有限公司 A kind of related information authorization method of list
WO2019011304A1 (en) * 2017-07-13 2019-01-17 成都牵牛草信息技术有限公司 Role acquisition-based method for authorizing form data
CN109033797A (en) * 2018-09-13 2018-12-18 广东电网有限责任公司 A kind of authority setting method and device
CN109388442A (en) * 2018-10-31 2019-02-26 郑州云海信息技术有限公司 A kind of method, apparatus and computer equipment of batch configuration BMC user
CN111382418A (en) * 2020-03-06 2020-07-07 Oppo广东移动通信有限公司 Application program authority management method and device, storage medium and electronic equipment
CN111783121A (en) * 2020-07-02 2020-10-16 泰康保险集团股份有限公司 Data processing method, device, equipment and storage medium
CN112491987A (en) * 2020-11-16 2021-03-12 珠海格力电器股份有限公司 User permission configuration method, device, server and configuration system
CN113761553A (en) * 2021-01-15 2021-12-07 北京京东拓先科技有限公司 Menu batch authorization method and device, electronic equipment and computer readable medium
CN114186259A (en) * 2021-12-14 2022-03-15 中国建设银行股份有限公司 Authority control method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何钰等: "应用AAA模版限制访问", 《网络安全和信息化》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115481386A (en) * 2022-09-15 2022-12-16 中航信移动科技有限公司 Batch configuration system for target application use permission

Also Published As

Publication number Publication date
CN114969699B (en) 2022-11-04

Similar Documents

Publication Publication Date Title
US11669503B2 (en) Building and managing data-processing attributes for modeled data sources
CN107766940B (en) Method and apparatus for generating a model
US20210333984A1 (en) Method and apparatus for generating customized visualization component
US20040153509A1 (en) Internet-based education support system, method and medium with modular text-editing component for use in a web-based application
CN104537589A (en) Education cloud platform and implementation method thereof
CN108958728A (en) Loan product development approach, device, equipment and computer storage medium
CN114969699B (en) Batch permission configuration method, device, equipment and storage medium
CN112529100B (en) Training method and device for multi-classification model, electronic equipment and storage medium
Al Nawaiseh et al. A new software quality model for academic information systems ‘case study e-learning system,’
CN109286517B (en) Method, device and storage medium for creating service and electronic equipment
CN110347984A (en) Declaration form page variation, device, computer equipment and storage medium
CN115840567A (en) Application editing method and related equipment
CN111858611A (en) Data access method and device, computer equipment and storage medium
Huang et al. Internet applications in product design and manufacturing
TWI262419B (en) System and method for compiling documents and tracking technology changes in a semiconductor manufacturing environment using a document generation engine
CN111324787B (en) Method and device for displaying block chain data in block chain browser
Baldwin et al. A formal approach to managing design processes
CN117473130A (en) Service processing method, device, equipment, medium and program product
CN113807877A (en) Information delivery method, device and storage medium
CN107426595A (en) Interface navigation data handling system
CN114741064B (en) Page generation method, device and system and storage medium
CN116415000A (en) Visual knowledge graph configuration method, device, equipment and storage medium
CN112950154B (en) Flow information matching method, device, equipment and storage medium
CN110506257A (en) The technology of integrated connector is created and distributed in cloud service agency plant
CN114168547A (en) Teaching resource configuration system, method and equipment

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