CN116880819A - Permission management method and device for form page, terminal equipment and medium - Google Patents

Permission management method and device for form page, terminal equipment and medium Download PDF

Info

Publication number
CN116880819A
CN116880819A CN202310799668.6A CN202310799668A CN116880819A CN 116880819 A CN116880819 A CN 116880819A CN 202310799668 A CN202310799668 A CN 202310799668A CN 116880819 A CN116880819 A CN 116880819A
Authority
CN
China
Prior art keywords
user interaction
interaction control
control elements
control element
form page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310799668.6A
Other languages
Chinese (zh)
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.)
Haoyun Technologies Co Ltd
Original Assignee
Haoyun Technologies 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 Haoyun Technologies Co Ltd filed Critical Haoyun Technologies Co Ltd
Priority to CN202310799668.6A priority Critical patent/CN116880819A/en
Publication of CN116880819A publication Critical patent/CN116880819A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a permission management method, a permission management device, terminal equipment and a permission management medium for a form page. After receiving input parameters transmitted by a target user, obtaining a target function permission code corresponding to the target user according to the input parameters of the target user, and determining target user interaction control elements which can be used by the target user in a form to be edited by matching the target function permission code of the target user and the function permission code corresponding to the user interaction control elements contained in the form page to be edited, and setting the state of the target user interaction control elements into a display state, so that the user can view and modify the form content based on the permission bound by the user.

Description

Permission management method and device for form page, terminal equipment and medium
Technical Field
The present invention relates to the field of electronic digital data processing, and in particular, to a method, an apparatus, a terminal device, and a medium for managing authority of a form page.
Background
The web site provides the user with pages that need to be presented according to the rights possessed by the user, for example: the common user can only view, and the administrator can modify the data, so that the display on the page is the display or not of the view button and the modification button. And rendering different page elements according to different users to obtain the functional rights studied and discussed by the invention.
In the functional authority system, all elements needing to be controlled are processed in a hierarchical mode to be used as resource items, and the resource items in one form page comprise: form page, form, header new button, view button, modify button. The resource items have a certain hierarchical relationship, the resource items are mapped out of the authority items one by one in the functional authority system, and the resource items are embodied into a tree structure by using the references of the id field and the pid field, so that the subsequent authentication and authorization are all performed on the authority items. However, the prior art can only perform all rights editing operation on the user by performing rights management on the form page, and cannot perform hierarchical processing, so that the problem of low efficiency of rights management on the form web page exists.
Therefore, there is a need for a rights management policy for form pages, so as to solve the problem of low rights management efficiency of form pages.
Disclosure of Invention
The embodiment of the invention provides a permission management method, a permission management device, terminal equipment and a permission management medium for a form page, so as to improve the permission management processing efficiency of the form page.
In order to solve the above problems, an embodiment of the present invention provides a rights management method for a form page, including:
acquiring structural characteristics of a plurality of user interaction control elements of a form page to be edited;
determining the function authority code of each user interaction control element according to a preset function authority database and the structural characteristics of a plurality of user interaction control elements; wherein the function authority database comprises: the method comprises the steps of marking structural features of user interaction control elements, and encoding functional authorities corresponding to the user interaction control elements;
receiving input parameters transmitted by a target user, and determining a target function authority code corresponding to the target user based on the input parameters;
matching the target function permission codes with the function permission codes corresponding to each marked user interaction control element, determining target user interaction control elements of target users in the form page to be edited, and setting the states of the target user interaction control elements to be display states; the state of the user interaction control element comprises: a display state and a hidden state.
As an improvement of the above solution, the obtaining structural features of a plurality of user interaction control elements of a form page to be edited includes:
searching UI elements of the form page to be edited through preset crawler software to obtain a plurality of user interaction control elements of the form page to be edited; wherein the user interaction control element comprises: a number of sub-forms and a number of buttons;
and extracting information from the plurality of user interaction control elements to obtain structural characteristics of the plurality of user interaction control elements.
As an improvement of the above solution, the determining the function permission code of each user interaction control element according to the preset function permission database and the structural features of the plurality of user interaction control elements includes:
according to the structural characteristics of each user interaction control element and the structural characteristics of each marked user interaction control element of the functional authority database, carrying out data matching to obtain the structural characteristic matching degree of each user interaction control element; the function authority database receives update data input by a user according to an update instruction of the user; the update data includes: the to-be-updated function authority codes correspond to the new function authority codes and marked user interaction control elements to be updated;
selecting marked user interaction control elements corresponding to the maximum structural feature matching degree of each user interaction control element as database adaptation elements of each user interaction control element;
and extracting the function authority codes corresponding to the adaptation elements of each database as the function authority codes of each user interaction control element.
As an improvement of the above scheme, the method further comprises: the state of the user interaction space element of the unselected base target user interaction control element is a hidden state.
As an improvement of the above scheme, the user interaction control elements are stored in a form of tree list: the sub-tables are used as the first-level navigation, the buttons are used as the second-level navigation, and a tree structure is formed according to the position parameters of each sub-table and the position parameters of each button and is stored in the form of a tree list.
Correspondingly, an embodiment of the present invention further provides a rights management device for a form page, including: the device comprises a data acquisition module, a coding module, a data receiving module and a result generating module;
the data acquisition module is used for acquiring structural characteristics of a plurality of user interaction control elements of the form page to be edited;
the coding module is used for determining the functional authority coding of each user interaction control element according to a preset functional authority database and the structural characteristics of a plurality of user interaction control elements; wherein the function authority database comprises: the method comprises the steps of marking structural features of user interaction control elements, and encoding functional authorities corresponding to the user interaction control elements;
the data receiving module is used for receiving input parameters transmitted by a target user and determining target function permission codes corresponding to the target user based on the input parameters;
the result generation module is used for matching the target function permission codes with the function permission codes corresponding to the marked user interaction control elements, determining target user interaction control elements of a target user in the form page to be edited, and setting the states of the target user interaction control elements to be display states; the state of the user interaction control element comprises: a display state and a hidden state.
As an improvement of the above solution, the data acquisition module includes: a crawler unit and a data extraction unit;
the crawler unit is used for searching the UI elements of the form page to be edited through preset crawler software to obtain a plurality of user interaction control elements of the form page to be edited; wherein the user interaction control element comprises: a number of sub-forms and a number of buttons;
the data extraction unit is used for extracting information of the plurality of user interaction control elements and obtaining structural characteristics of the plurality of user interaction control elements.
As an improvement of the above-mentioned scheme, the coding module includes: the device comprises a data matching unit, a data selecting unit and a code generating unit;
the data matching unit is used for performing data matching according to the structural characteristics of each user interaction control element and the structural characteristics of each marked user interaction control element of the functional authority database to obtain the structural characteristic matching degree of each user interaction control element; the function authority database receives update data input by a user according to an update instruction of the user; the update data includes: the to-be-updated function authority codes correspond to the new function authority codes and marked user interaction control elements to be updated;
the data selecting unit is used for selecting marked user interaction control elements corresponding to the maximum structural feature matching degree of each user interaction control element as database adaptation elements of each user interaction control element;
the code generating unit is used for extracting the function authority code corresponding to each database adaptation element and taking the function authority code as the function authority code of each user interaction control element.
As an improvement of the above scheme, the method further comprises: the state of the user interaction space element of the unselected base target user interaction control element is a hidden state.
As an improvement of the above scheme, the user interaction control elements are stored in a form of tree list: the sub-tables are used as the first-level navigation, the buttons are used as the second-level navigation, and a tree structure is formed according to the position parameters of each sub-table and the position parameters of each button and is stored in the form of a tree list.
Correspondingly, an embodiment of the invention also provides a computer terminal device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor realizes the authority management method of the form page according to the invention when executing the computer program.
Correspondingly, an embodiment of the invention also provides a computer readable storage medium, which comprises a stored computer program, wherein the computer program controls a device where the computer readable storage medium is located to execute the authority management method of the form page according to the invention when running.
From the above, the invention has the following beneficial effects:
the invention provides a permission management method of a form page, which is characterized in that the types of interaction control elements of the form page to be edited are known by acquiring the structural characteristics of a plurality of user interaction control elements of the form page to be edited, so that the interaction control elements are identified according to a preset function permission database, and corresponding function permission codes are matched. After receiving input parameters transmitted by a target user, obtaining a target function permission code corresponding to the target user according to the input parameters of the target user, and determining target user interaction control elements which can be used by the target user in a form to be edited by matching the target function permission code of the target user and the function permission code corresponding to the user interaction control elements contained in the form page to be edited, and setting the state of the target user interaction control elements into a display state, so that the user can view and modify the form content based on the permission bound by the user. According to the invention, the authority control is carried out on the user interaction control element of the user on the grid page, and the display of the page control is bound with the user authority, so that the data processing efficiency is improved based on the same management page and operation. The invention displays the page control based on the user permission, can realize different operations of users with different permissions on the form page, realizes hierarchical processing, and greatly improves the permission management processing efficiency of the form page.
Drawings
FIG. 1 is a flowchart illustrating a method for managing rights of a form page according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a rights management unit for a form page according to an embodiment of the present invention;
FIG. 3 is an authorization diagram for attribute-based access control management provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a rights management method for a form page according to an embodiment of the present invention, as shown in fig. 1, the embodiment includes steps 101 to 104, where the steps are specifically as follows:
step 101: and obtaining the structural characteristics of a plurality of user interaction control elements of the form page to be edited.
In this embodiment, the obtaining structural features of a plurality of user interaction control elements of a form page to be edited includes:
searching UI elements of the form page to be edited through preset crawler software to obtain a plurality of user interaction control elements of the form page to be edited; wherein the user interaction control element comprises: a number of sub-forms and a number of buttons;
and extracting information from the plurality of user interaction control elements to obtain structural characteristics of the plurality of user interaction control elements.
Step 102: determining the function authority code of each user interaction control element according to a preset function authority database and the structural characteristics of a plurality of user interaction control elements; wherein the function authority database comprises: the method comprises the steps of marking structural features of user interaction control elements and corresponding functional permission codes of the user interaction control elements.
In this embodiment, the determining the function permission code of each user interaction control element according to the preset function permission database and the structural features of the plurality of user interaction control elements includes:
according to the structural characteristics of each user interaction control element and the structural characteristics of each marked user interaction control element of the functional authority database, carrying out data matching to obtain the structural characteristic matching degree of each user interaction control element; the function authority database receives update data input by a user according to an update instruction of the user; the update data includes: the to-be-updated function authority codes correspond to the new function authority codes and marked user interaction control elements to be updated;
selecting marked user interaction control elements corresponding to the maximum structural feature matching degree of each user interaction control element as database adaptation elements of each user interaction control element;
and extracting the function authority codes corresponding to the adaptation elements of each database as the function authority codes of each user interaction control element.
Step 103: and receiving input parameters transmitted by a target user, and determining a target function authority code corresponding to the target user based on the input parameters.
In a specific embodiment, the present embodiment adopts an access control management model based on attributes to perform target function authority encoding allocation of a target user, and specifically includes:
the attribute-based access control management model does not support multi-attribute conditional combinations, such as: the user of [ department = property ] and [ post = monitoring room ] can operate the [ restart ] function of [ 1 floor ];
only the following can be realized: the user of the department=property can operate the function of the video recorder of the building 1 or the user of the post=monitoring room can operate the function of the video recorder of the building 1; ABAC can support any attribute to authorize, and the authorization result is described by a large white speech: an entity [ satisfying the condition ABC ], an entity having [ 123 operational functions of [ satisfying the resource of DEF ]; however, the ABAC-HY is to define the attribute of participating in the authorization in advance, and then the main attribute and the resource attribute are correspondingly defined in pairs to the authorization result table.
In a specific embodiment, please refer to fig. 3, fig. 3 is an authorization diagram of attribute-based access control management. The method comprises the steps that a table page in a diagram corresponds to a table page to be edited according to the invention, the table corresponds to a plurality of sub-tables according to the invention, a new button, a view button and a modification button correspond to a plurality of buttons according to the invention, permission items and resource items are in one-to-one correspondence, the table page is used as a tree head, a first-level navigation is needed to be constructed as a table, and a second-level navigation is a tree list of the new button, the view button and the modification button; similarly, the authority item takes a form page authority item as a tree head, and a first-level navigation is required to be constructed as the form authority item, and a second-level navigation is a tree list of a new button, a view button and a modification button authority item;
the user obtains the function authority codes corresponding to the authority items through the bound roles, posts, institutions and departments.
In a specific embodiment, a tree list of authority items can be generated according to user interaction control elements such as pages, buttons and the like, and configuration personnel can directly store the authority item after defining the authority item code, or can add the authority item first and then bind with the UI element; when no additional function is required for authorizing interaction, the authority display tree can be directly generated according to the authority item.
In a specific embodiment, the user only needs to select the page to be controlled or the elements in the page, then clicks the method for generating the permission item, the background automatically generates a permission item and the selected user interaction control element for binding, and the permission item with the hierarchical relationship is generated through the hierarchical relationship among the user interaction control elements. ( The hierarchical relationship refers to: a page 2 or a button is nested in the page 1, and then the page 2 and the button inside are attributed to the page 1 )
Step 104: matching the target function permission codes with the function permission codes corresponding to each marked user interaction control element, determining target user interaction control elements of target users in the form page to be edited, and setting the states of the target user interaction control elements to be display states; the state of the user interaction control element comprises: a display state and a hidden state.
In this embodiment, further comprising: the state of the user interaction space element of the unselected base target user interaction control element is a hidden state.
In this embodiment, the user interaction control elements are stored in the form of a tree list: the sub-tables are used as the first-level navigation, the buttons are used as the second-level navigation, and a tree structure is formed according to the position parameters of each sub-table and the position parameters of each button and is stored in the form of a tree list.
In a specific embodiment, when a non-super administrator accesses a system application page, in a page loading stage, a front end requests a function authentication interface, and the access is a page ID and a user ID; the access control management service judges which rights items the current user has according to the access and function authorization policies, and obtains a rights item coding list with rights. And then, according to the relation of the user interaction control element authority items, the authority item codes are converted into the user interaction control element ID and returned to the front end. The front end processes the display/hiding of the control according to the returned user interaction control element ID list.
In a specific embodiment, when the target user interaction control element is displayed, the target user can perform functional operation according to the displayed interaction control element.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a rights management device for a form page according to an embodiment of the present invention, including: a data acquisition module 201, an encoding module 202, a data receiving module 203 and a result generation module 204;
the data acquisition module 201 is configured to acquire structural features of a plurality of user interaction control elements of a form page to be edited;
the encoding module 202 is configured to determine a functional permission encoding of each user interaction control element according to a preset functional permission database and structural features of a plurality of user interaction control elements; wherein the function authority database comprises: the method comprises the steps of marking structural features of user interaction control elements, and encoding functional authorities corresponding to the user interaction control elements;
the data receiving module 203 is configured to receive an input parameter transmitted by a target user, and determine a target function permission code corresponding to the target user based on the input parameter;
the result generating module 204 is configured to match the target function permission code with a function permission code corresponding to each marked user interaction control element, determine a target user interaction control element of a target user in the to-be-edited form page, and set a state of the target user interaction control element to a display state; the state of the user interaction control element comprises: a display state and a hidden state.
As an improvement of the above, the data acquisition module 201 includes: a crawler unit and a data extraction unit;
the crawler unit is used for searching the UI elements of the form page to be edited through preset crawler software to obtain a plurality of user interaction control elements of the form page to be edited; wherein the user interaction control element comprises: a number of sub-forms and a number of buttons;
the data extraction unit is used for extracting information of the plurality of user interaction control elements and obtaining structural characteristics of the plurality of user interaction control elements.
As an improvement of the above solution, the encoding module 202 includes: the device comprises a data matching unit, a data selecting unit and a code generating unit;
the data matching unit is used for performing data matching according to the structural characteristics of each user interaction control element and the structural characteristics of each marked user interaction control element of the functional authority database to obtain the structural characteristic matching degree of each user interaction control element; the function authority database receives update data input by a user according to an update instruction of the user; the update data includes: the to-be-updated function authority codes correspond to the new function authority codes and marked user interaction control elements to be updated;
the data selecting unit is used for selecting marked user interaction control elements corresponding to the maximum structural feature matching degree of each user interaction control element as database adaptation elements of each user interaction control element;
the code generating unit is used for extracting the function authority code corresponding to each database adaptation element and taking the function authority code as the function authority code of each user interaction control element.
As an improvement of the above scheme, the method further comprises: the state of the user interaction space element of the unselected base target user interaction control element is a hidden state.
As an improvement of the above scheme, the user interaction control elements are stored in a form of tree list: the sub-tables are used as the first-level navigation, the buttons are used as the second-level navigation, and a tree structure is formed according to the position parameters of each sub-table and the position parameters of each button and is stored in the form of a tree list.
According to the embodiment, the types of the interaction control elements of the form page to be edited are known by acquiring the structural characteristics of a plurality of user interaction control elements of the form page to be edited, so that the interaction control elements are identified according to the preset function permission database, and corresponding function permission codes are matched. After receiving input parameters transmitted by a target user, obtaining a target function permission code corresponding to the target user according to the input parameters of the target user, and determining target user interaction control elements which can be used by the target user in a form to be edited by matching the target function permission code of the target user and the function permission code corresponding to the user interaction control elements contained in the form page to be edited, and setting the state of the target user interaction control elements into a display state, so that the user can view and modify the form content based on the permission bound by the user. The authority of the embodiment for data operation can be controlled through corresponding buttons or other user interaction control elements, for example, the editing buttons indirectly control the editing operation authority of the data, and the data processing efficiency is greatly improved. In the embodiment, the ABAC is cut, so that the conditions of the strategy are limited, additional configuration is added, and the calculation of authentication is reduced while the greater flexibility is reserved.
Example two
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
A terminal device of this embodiment includes: a processor 401, a memory 402 and a computer program stored in the memory 402 and executable on the processor 401. The processor 401, when executing the computer program, implements the steps of the rights management method of the respective form page described above in an embodiment, for example all the steps of the X method shown in fig. 1. Alternatively, the processor may implement functions of each module in the above-described device embodiments when executing the computer program, for example: all modules of the rights management unit of the form page shown in fig. 2.
In addition, the embodiment of the invention also provides a computer readable storage medium, which comprises a stored computer program, wherein the device where the computer readable storage medium is located is controlled to execute the authority management method of the form page in any embodiment when the computer program runs.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of a terminal device and does not constitute a limitation of the terminal device, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device may further include an input-output device, a network access device, a bus, etc.
The processor 401 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 401 is a control center of the terminal device, and connects various parts of the entire terminal device using various interfaces and lines.
The memory 402 may be used to store the computer program and/or module, and the processor 401 may implement various functions of the terminal device by running or executing the computer program and/or module stored in the memory and invoking data stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the terminal device integrated modules/units may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as stand alone products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. A rights management method for a form page, comprising:
acquiring structural characteristics of a plurality of user interaction control elements of a form page to be edited;
determining the function authority code of each user interaction control element according to a preset function authority database and the structural characteristics of a plurality of user interaction control elements; wherein the function authority database comprises: the method comprises the steps of marking structural features of user interaction control elements, and encoding functional authorities corresponding to the user interaction control elements;
receiving input parameters transmitted by a target user, and determining a target function authority code corresponding to the target user based on the input parameters;
matching the target function permission codes with the function permission codes corresponding to each marked user interaction control element, determining target user interaction control elements of target users in the form page to be edited, and setting the states of the target user interaction control elements to be display states; the state of the user interaction control element comprises: a display state and a hidden state.
2. The rights management method of a form page according to claim 1, wherein the obtaining structural features of a plurality of user interaction control elements of the form page to be edited comprises:
searching UI elements of the form page to be edited through preset crawler software to obtain a plurality of user interaction control elements of the form page to be edited; wherein the user interaction control element comprises: a number of sub-forms and a number of buttons;
and extracting information from the plurality of user interaction control elements to obtain structural characteristics of the plurality of user interaction control elements.
3. The rights management method of a form page according to claim 1, wherein determining the functional rights code of each user interaction control element according to a preset functional rights database and structural features of a plurality of user interaction control elements comprises:
according to the structural characteristics of each user interaction control element and the structural characteristics of each marked user interaction control element of the functional authority database, carrying out data matching to obtain the structural characteristic matching degree of each user interaction control element; the function authority database receives update data input by a user according to an update instruction of the user; the update data includes: the to-be-updated function authority codes correspond to the new function authority codes and marked user interaction control elements to be updated;
selecting marked user interaction control elements corresponding to the maximum structural feature matching degree of each user interaction control element as database adaptation elements of each user interaction control element;
and extracting the function authority codes corresponding to the adaptation elements of each database as the function authority codes of each user interaction control element.
4. The rights management method of a form page of claim 1, further comprising: the state of the user interaction space element of the unselected base target user interaction control element is a hidden state.
5. The rights management method of a form page according to any one of claim 2, wherein the user interaction control elements are stored in a tree list: the sub-tables are used as the first-level navigation, the buttons are used as the second-level navigation, and a tree structure is formed according to the position parameters of each sub-table and the position parameters of each button and is stored in the form of a tree list.
6. A rights management unit for a form page, comprising: the device comprises a data acquisition module, a coding module, a data receiving module and a result generating module;
the data acquisition module is used for acquiring structural characteristics of a plurality of user interaction control elements of the form page to be edited;
the coding module is used for determining the functional authority coding of each user interaction control element according to a preset functional authority database and the structural characteristics of a plurality of user interaction control elements; wherein the function authority database comprises: the method comprises the steps of marking structural features of user interaction control elements, and encoding functional authorities corresponding to the user interaction control elements;
the data receiving module is used for receiving input parameters transmitted by a target user and determining target function permission codes corresponding to the target user based on the input parameters;
the result generation module is used for matching the target function permission codes with the function permission codes corresponding to the marked user interaction control elements, determining target user interaction control elements of a target user in the form page to be edited, and setting the states of the target user interaction control elements to be display states; the state of the user interaction control element comprises: a display state and a hidden state.
7. The rights management unit for form pages of claim 6, wherein the data acquisition module comprises: a crawler unit and a data extraction unit;
the crawler unit is used for searching the UI elements of the form page to be edited through preset crawler software to obtain a plurality of user interaction control elements of the form page to be edited; wherein the user interaction control element comprises: a number of sub-forms and a number of buttons;
the data extraction unit is used for extracting information of the plurality of user interaction control elements and obtaining structural characteristics of the plurality of user interaction control elements.
8. The rights management unit for form pages of claim 6, wherein the encoding module comprises: the device comprises a data matching unit, a data selecting unit and a code generating unit;
the data matching unit is used for performing data matching according to the structural characteristics of each user interaction control element and the structural characteristics of each marked user interaction control element of the functional authority database to obtain the structural characteristic matching degree of each user interaction control element; the function authority database receives update data input by a user according to an update instruction of the user; the update data includes: the to-be-updated function authority codes correspond to the new function authority codes and marked user interaction control elements to be updated;
the data selecting unit is used for selecting marked user interaction control elements corresponding to the maximum structural feature matching degree of each user interaction control element as database adaptation elements of each user interaction control element;
the code generating unit is used for extracting the function authority code corresponding to each database adaptation element and taking the function authority code as the function authority code of each user interaction control element.
9. A computer terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a rights management method for a form page according to any of claims 1 to 5 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform a rights management method for a form page according to any one of claims 1 to 5.
CN202310799668.6A 2023-06-30 2023-06-30 Permission management method and device for form page, terminal equipment and medium Pending CN116880819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310799668.6A CN116880819A (en) 2023-06-30 2023-06-30 Permission management method and device for form page, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310799668.6A CN116880819A (en) 2023-06-30 2023-06-30 Permission management method and device for form page, terminal equipment and medium

Publications (1)

Publication Number Publication Date
CN116880819A true CN116880819A (en) 2023-10-13

Family

ID=88267264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310799668.6A Pending CN116880819A (en) 2023-06-30 2023-06-30 Permission management method and device for form page, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN116880819A (en)

Similar Documents

Publication Publication Date Title
CN111079047B (en) Web-oriented page construction system
CN102142014B (en) System and method for export and import of metadata located in metadata registries
WO2015013745A1 (en) Systems and methodologies for managing document access permissions
CN114327605B (en) Vue-based remote form generation method, computer and storage medium
US9253517B2 (en) Networked data projecting system, projector, and content projecting method
CN111984239A (en) Page configuration method, device, server and storage medium
US11882154B2 (en) Template representation of security resources
CN111562953A (en) Interface calling method and device, computer device and readable storage medium
EP4080507A1 (en) Method and apparatus for editing object, electronic device and storage medium
CN110930325A (en) Image processing method and device based on artificial intelligence and storage medium
CN111580808A (en) Page generation method and device, computer equipment and storage medium
CN113688173A (en) Report information processing method and device, electronic equipment and storage medium
US9721321B1 (en) Automated interactive dynamic audio/visual performance with integrated data assembly system and methods
CN114154000A (en) Multimedia resource publishing method and device
CN111198678A (en) Method and device for generating GraphQL front-end operation interface
CN109491971A (en) A kind of file filter method, apparatus, equipment and computer readable storage medium
CN116880819A (en) Permission management method and device for form page, terminal equipment and medium
CN116228153A (en) Engineering project design change price management method, system, equipment and medium
CN112016280B (en) File editing method and device and computer readable medium
CN109948082A (en) Live information processing method and processing device, electronic equipment, storage medium
CN106507137B (en) A kind of footmark configuration method, server and system
US20170134781A1 (en) Method and apparatus for realizing custom menu, client and server
CN113569089A (en) Information processing method, device, server, equipment, system and storage medium
CN112650763A (en) Configuration method of product quota, related equipment and storage medium
KR20200082024A (en) Method for creating business screen and system for performing the same

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