CN113254899A - Display page determining method, display method, system, server and terminal - Google Patents
Display page determining method, display method, system, server and terminal Download PDFInfo
- Publication number
- CN113254899A CN113254899A CN202110579211.5A CN202110579211A CN113254899A CN 113254899 A CN113254899 A CN 113254899A CN 202110579211 A CN202110579211 A CN 202110579211A CN 113254899 A CN113254899 A CN 113254899A
- Authority
- CN
- China
- Prior art keywords
- user
- display data
- page
- server
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000012795 verification Methods 0.000 claims abstract description 15
- 230000006870 function Effects 0.000 claims description 65
- 238000009877 rendering Methods 0.000 claims description 30
- 230000004044 response Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012423 maintenance Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 11
- 230000008878 coupling Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 5
- 238000005859 coupling reaction Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a method, a system, a server and a terminal for determining a display page, wherein the determining method comprises the following steps: verifying the login identity of a user based on the login information of the user; if the user passes the verification, determining page display data with operation authority of the user based on the login information; and sending the page display data to a terminal used by the user, so that the terminal renders the page display data to obtain an access page operable by the user. Therefore, according to the determining method, the display system, the server and the terminal, by adopting the technical scheme provided by the application, the page display data of the access page with the operation authority of the user can be determined through the server based on the login information of the user, the complexity of code maintenance is reduced, and the working efficiency of managers is improved.
Description
Technical Field
The present application relates to the field of computer network technologies, and in particular, to a method, a system, a server, and a terminal for determining a display page.
Background
With the rapid development of internet technology, more and more people use information systems for information management and interaction. Due to the consideration of multiple factors such as information security and user management, the pages displayed by the system should be different for users with different identities.
In a system architecture mode in which a server and a terminal are separated, the existing system display page which is determined to be operable by a user needs to be supported by the server and the terminal at the same time, and then the codes of the server and the terminal need to be modified once the system page which is operable by the user is changed. This causes the function of determining the displayed page to be coupled between the server and the terminal, which causes inconvenience in updating and maintaining the system.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, a system, a server, and a terminal for determining a display page, where the server determines page display data of an access page to which a user has an operation right based on login information of the user, so as to help reduce complexity of code maintenance and improve work efficiency of a manager.
The application mainly comprises the following aspects:
in a first aspect, an embodiment of the present application provides a method for determining a display page, where the method for determining is applied to a server, and the method for determining includes: verifying the login identity of a user based on the login information of the user; if the user passes the verification, determining page display data with access operation authority of the user based on the login information; and sending the page display data to a terminal used by the user, so that the terminal renders the page display data to obtain an access page operable by the user.
In a possible implementation manner, the determining, based on the login information and if the user passes the authentication, page display data that the user has an operation right includes: identifying account information of the user from the login information; determining a user group to which the user belongs based on the account information; determining the function operation authority of the user in the user group; and generating page display data with the operation authority of the user based on the function operation authority, wherein the page display data at least comprises menu display data of a menu button with the operation authority of the user.
In a possible implementation manner, when the page display data does not include operation display data of an operation button of which the user has an operation right, after the page display data is sent to a terminal used by the user, so that the terminal renders an access page operable by the user according to the received page display data, the determining method further includes: receiving a menu access request sent by the terminal; in response to the menu access request, determining operation display data of an operation button which is under the menu button and has operation authority by the user; and sending the operation display data to the terminal so that the terminal renders the operation buttons with the operation authority of the user according to the received operation display data.
In a second aspect, an embodiment of the present application further provides a display method for displaying a page, where the display method is applied to a terminal, and the display method includes: sending the login information input by the user to a server; receiving page display data fed back by the server; rendering according to the page display data to obtain the user operable access page; responding to the selection operation of the user for any menu button in the access page, and when the page display data comprises operation display data, determining the operation display data of the operation button of which the user has the operation authority under the menu button from the page display data; and rendering according to the operation display data to obtain the operation buttons with the operation authority of the user.
In one possible implementation, after the responding to the selection operation of the user for any one of the menu buttons in the access page, the display method further includes: when the operation display data is not included in the page display data, generating a menu access request aiming at the menu button; sending the menu access request to the server; receiving the operation display data fed back by the server; and rendering according to the operation display data to obtain the operation buttons with the operation authority of the user.
In a third aspect, an embodiment of the present application further provides a system for determining a display page, where the system includes a server and a terminal: the server is used for verifying the login identity of the user based on the login information of the user, determining page display data with operation authority of the user and sending the page display data to the terminal if the user passes the verification, responding to a menu access request sent by the terminal, determining operation display data of an operation button with operation authority of the user under a menu button, and sending the operation display data to the terminal; the terminal is used for sending login information input by the user to the server, receiving page display data fed back by the server, rendering an access page operable by the user according to the page display data, responding to selection operation of the user on any menu button in the access page, generating a menu access request aiming at the menu button, sending the menu access request to the server, and receiving the operation display data fed back by the server; and rendering according to the operation display data to obtain the operation buttons with the operation authority of the user.
In a fourth aspect, an embodiment of the present application further provides a method for determining a display page, where the method for determining is applied to a system, and the method for determining includes: the terminal sends login information input by a user to a server; the server verifies the login identity of the user based on the login information of the user, if the user passes the verification, page display data with operation authority of the user are determined, and the page display data are sent to the terminal; the terminal receives page display data fed back by the server and renders according to the page display data to obtain an access page operable by the user; the terminal responds to the selection operation of the user for any menu button in the access page, generates a menu access request for the menu button and sends the menu access request to the server; the server responds to the menu access request, determines operation display data of an operation button with operation authority of the user under the menu button and sends the operation display data to the terminal; and the terminal receives the operation display data fed back by the server and renders the operation display data to obtain the operation buttons with the operation authority of the user.
In a fifth aspect, an embodiment of the present application further provides a server, where the server includes: the identity authentication module is used for authenticating the login identity of the user based on the login information of the user; the display data determining module is used for determining page display data of the user with operation authority based on the login information if the user passes the verification; and the display data sending module is used for sending the page display data to a terminal used by the user so as to render the terminal according to the received page display data to obtain the access page operable by the user.
In a possible implementation manner, the display data determining module is further configured to identify account information of the user from the login information; determining a user group to which the user belongs based on the account information; determining the function operation authority of the user in the user group; and generating page display data with the operation authority of the user based on the function operation authority, wherein the page display data at least comprises menu display data of a menu button with the operation authority of the user.
In a possible implementation manner, when operation display data of an operation button of which the user has an operation right is not included in the page display data, the server further includes: the menu access request receiving module is used for receiving a menu access request sent by the terminal; the operation display data determining module is used for responding to the menu access request and determining operation display data of an operation button which is under the menu button and has operation authority by the user; and the operation display data sending module is used for sending the operation display data to the terminal so as to enable the terminal to render the operation buttons with the operation authority of the user according to the received operation display data.
In a sixth aspect, an embodiment of the present application further provides a terminal, where the terminal includes: the login information sending module is used for sending login information input by a user to the server; the display data receiving module is used for receiving page display data fed back by the server; the page rendering module is used for rendering according to the page display data to obtain the user operable access page; an operation data determining module, configured to determine, in response to a selection operation of the user for any one menu button in the access page, operation display data of an operation button of which the user has an operation right under the menu button from the page display data when the page display data includes the operation display data; and the first operation button rendering module is used for rendering the operation buttons with the operation authority of the user according to the operation display data.
In a possible implementation manner, when the page display data does not include the operation display data, the terminal further includes: a menu access request generation module for generating a menu access request for the menu button; the menu access request sending module is used for sending the menu access request to the server; the operation display data receiving module is used for receiving the operation display data fed back by the server; and the second operation button rendering module is used for rendering the operation buttons with the operation authority of the user according to the operation display data.
In a seventh aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine readable instructions being executed by the processor to perform the steps of the method for determining a display page or the method for displaying a display page as described above.
In an eighth aspect, the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for determining a display page or the method for displaying a display page as described above is performed.
The embodiment of the application brings the following beneficial effects:
compared with the technical scheme that the server and the terminal are required to support simultaneously when the system display page operable by the user is determined to be changed, and the server and the terminal code are required to be modified at the moment, the technical scheme provided by the application can determine the page display data of the access page with the operation authority of the user through the server based on the login information of the user, is favorable for reducing the complexity of code maintenance, improves the working efficiency of managers, enables the business logic of the determined display page to be completed in the server, and releases the coupling of the function of the determined display page in the server and the terminal.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart illustrating a method for determining a display page according to an embodiment of the present application;
fig. 2 illustrates a second flowchart of a method for determining a display page according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for displaying a display page according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram illustrating a system for determining a display page according to an embodiment of the present disclosure;
fig. 5 is a third flowchart illustrating a method for determining a display page according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a server according to an embodiment of the present disclosure;
fig. 7 shows a second schematic structural diagram of a server provided in the embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal provided in an embodiment of the present application;
fig. 9 is a second schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 10 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
To enable those skilled in the art to utilize the present disclosure, in connection with a particular application scenario "determining a user's display page in a production information system," the following embodiments are presented to enable those skilled in the art to apply the general principles defined herein to other embodiments and application scenarios without departing from the spirit and scope of the present disclosure.
It is noted that prior to the present application, determining that a user-operable system display page requires both server and terminal support, and that once the user-operable system page changes, both server and terminal code may need to be modified. This causes the function of determining the displayed page to be coupled between the server and the terminal, which causes inconvenience in updating and maintaining the system.
In view of this, an object of the present application is to provide a method, a system, a server and a terminal for determining a display page, which can enable business logic for determining the display page to be completed in the server, thereby releasing the coupling of functions for determining the display page in the server and the terminal and reducing the complexity of code maintenance.
The first embodiment is as follows:
referring to fig. 1, fig. 1 is a flowchart illustrating a method for determining a display page according to an embodiment of the present disclosure. As shown in fig. 1, the determining method is applied to a server, and a method for determining a display page provided in an embodiment of the present application includes the following steps:
s101, verifying the login identity of the user based on the login information of the user.
In specific implementation, the login information of the user may include information such as an account and a password of the user, and the server verifies the login identity of the user according to the obtained login information, that is, verifies whether the account and the password of the user correspond to each other and are correct.
And S102, if the user passes the verification, determining page display data with operation authority of the user based on the login information.
In specific implementation, if the user fails to pass the verification, the server may send page display data with wrong login information to the terminal, and prompt the user to re-input the login information.
And if the user passes the verification, the server determines the page display data with the operation authority of the user according to the login information.
S103, sending the page display data to a terminal used by the user, so that the terminal renders the page display data to obtain an access page operable by the user.
In specific implementation, the server sends the determined page display data to a terminal used by the user, and then the terminal renders the page display data according to the received page display data to obtain an access page operable by the user.
The page display data at least comprises menu display data of a menu button with operation authority of the user.
Further, if the user passes the authentication, determining, based on the login information, that the user has page display data with an operation right, including:
step 1, identifying account information of the user from the login information.
In this step, the server may identify account information of the user from the login information of the user. Here, the login information of the user may include information such as an account and a password of the user, and the account information of the user is a unique ID of the user.
And 2, determining a user group to which the user belongs based on the account information.
In this step, the server determines the ID of the user from the account information. And determining the user group to which the user belongs according to the incidence relation between the user and the user group.
The user group to which the user belongs is pre-allocated, one user can belong to a plurality of user groups at the same time, each user group at least comprises at least one user, and the association relationship between the users and the user groups is pre-established. For example, employees of the procurement department may be assigned to procurement groups and employees of the production department may be assigned to production groups. Meanwhile, a group ID identification of one user group is determined for each user group, each user group has a unique group ID identification, and the association relationship between the user and the user group may be stored through a data table.
And 3, determining the function operation authority of the user in the user group.
Here, each user group is assigned with its own function operation authority in advance, and one user group may have a plurality of function operation authorities, and an association relationship between the user group and the function operation authority that the user group has is established. Each function operation authority has a unique function operation authority ID identification, and the association between a user group and the function operation authority the user group has may be stored by a data table.
In the step, a group ID identification of a user group to which the user belongs is determined in a server, and the function operation authority of the user in the user group is determined according to a pre-stored association relationship between the user group and the function operation authority.
And 4, generating page display data with the operation authority of the user based on the function operation authority, wherein the page display data at least comprises menu display data of a menu button with the operation authority of the user.
In specific implementation, there are menus on the user's access page, each menu corresponding to a function. When a user clicks one of the menu buttons, the user requests to use the function corresponding to the menu. When the user has the right to use a function, the user is explained to have the operation authority of the menu button corresponding to the function. One function operation authority of the user corresponds to one function, and one function can comprise a plurality of function operation authorities. One function operation authority is embodied in the page as an operation button corresponding to a certain menu. When the user has a certain function operation authority, the user is indicated to have the operation authority of the operation button corresponding to the function operation authority under a certain menu.
For example, the production information system has a function of a purchase application, and the function of the purchase application includes functional operation rights of adding an application, deleting the application and checking the application. The production information system has a menu button for purchase application, and when the user selects to operate the menu button, the user is indicated to use the function of purchase application in the system. And operating buttons for adding, deleting and auditing applications are arranged under the menu of the purchase application, and the operating buttons respectively correspond to the functional operation authorities for adding, deleting and auditing applications.
In specific implementation, each function operation authority is assigned with the function to which the function operation authority belongs, each function has a unique function ID identification, and the function ID identification can uniquely determine one function. The association relationship between the function operation authority and the function to which the function operation authority belongs may be stored by a data table. And allocating the function corresponding to each menu, wherein each menu has a unique menu ID identification which can uniquely identify one menu. The association between the menu and the function may be stored by a data table.
In specific implementation, the server determines the functions which the user has the right to use according to the function operation authority of the user in the user group and the association relationship between the function operation authority and the functions to which the function operation authority belongs. And determining the menu with the operation authority of the user according to the function which the user has the right to use and the incidence relation between the menu and the function. And the server determines the menu display data of the menu button with the operation authority according to the menu with the operation authority.
Example two:
referring to fig. 2, fig. 2 is a second flowchart of another method for determining a display page according to an embodiment of the present application. As shown in fig. 2, the determining method is applied to a server, and if the page display data does not include operation display data of an operation button of which the user has an operation right, after the page display data is sent to a terminal used by the user, so that the terminal renders an access page operable by the user according to the received page display data, the determining method further includes:
s201, receiving a menu access request sent by the terminal.
In this step, when the server detects a menu access request transmitted by the terminal, the menu access request is received.
S202, responding to the menu access request, and determining operation display data of an operation button with operation authority of the user under the menu button.
In this step, the server may determine the function requested by the user according to the received menu access request. And determining the operation button with the operation authority of the user under the menu button according to the function operation authority of the user and the incidence relation between the function operation authority and the function to which the function operation authority belongs, and further determining the operation display data of the operation button with the operation authority of the user under the menu button.
S203, sending the operation display data to the terminal so that the terminal can render the operation buttons with the operation authority of the user according to the received operation display data.
In this step, the server sends the determined operation display data to the terminal, so that after the terminal receives the operation display data, the operation buttons with the operation authority of the user can be rendered in an interface of the terminal.
Example three:
referring to fig. 3, fig. 3 is a flowchart illustrating a method for displaying a display page according to an embodiment of the present disclosure. As shown in fig. 3, a display method for displaying a page provided in an embodiment of the present application is applied to a terminal, and includes the following steps:
s301, the login information input by the user is sent to a server.
In the step, when it is detected that a login operation is applied to an interface of a terminal by a user, login information input by the user in the interface is acquired, and the acquired login information is sent to a server, so that the server verifies the login identity of the user.
The login information of the user may include an account and a password of the user.
S302, receiving page display data fed back by the server.
In this step, the page display data at least includes menu display data of a menu button to which the user has an operation authority. And when the server is detected to feed back the page display data, the terminal receives the page display data.
S303, rendering according to the page display data to obtain the user operable access page.
In the step, based on the received page display data, an access page which can be operated by the user is rendered in an interface of the terminal, wherein at least a menu button which is provided with operation authority by the user is displayed in the access page.
S304, responding to the selection operation of the user for any menu button in the access page, and when the page display data comprises operation display data, determining the operation display data of the operation button of which the user has the operation authority under the menu button from the page display data.
In the step, a user accesses any menu button in a page through touch control to realize the selection operation of the menu button, and the terminal responds to the selection operation to determine the menu button selected by the user; further, from the received page display data, operation display data of an operation button that the user has an operation authority under the menu button can be specified.
S305, rendering according to the operation display data to obtain the operation buttons with the operation authority of the user.
Further, after the responding to the selection operation of the user for any one menu button in the access page, the display method further includes:
step 1, when the page display data does not include the operation display data, generating a menu access request aiming at the menu button.
In this step, when a user selects any one of the menu buttons in the access page, in response to the selection, a function corresponding to the menu button selected by the user is determined, and if the received page display data does not include operation display data at this time, a menu access request for the menu button is generated based on a function ID identifier corresponding to the menu button, where the menu access request includes the function ID identifier corresponding to the menu button.
And step 2, sending the menu access request to the server.
In the step, the generated menu access request is sent to the server, so that the server can determine the operation buttons with the operation authority of the user and the operation display data of the operation buttons according to the received menu access request.
And 3, receiving the operation display data fed back by the server.
In this step, the terminal receives operation display data of an operation button which can be used for displaying and which the user has an operation authority, which is fed back by the server.
And 4, rendering according to the operation display data to obtain the operation buttons with the operation authority of the user.
In the step, an operation button with operation authority of the user under the menu button is rendered and obtained in an interface of the terminal based on the operation display data.
Example four:
referring to fig. 4, fig. 4 is a system for determining a display page according to an embodiment of the present disclosure.
As shown in fig. 4, a display page determination system 400 provided in an embodiment of the present application includes a server 401 and a terminal 402:
the server 401 is configured to verify a login identity of a user based on login information of the user, where the login information of the user may include information such as an account and a password of the user, and the server verifies whether the account and the password of the user correspond to each other and are correct according to the obtained login information; if the user passes the verification, determining page display data with operation authority of the user, sending the page display data to the terminal, and determining the function requested by the user according to the received menu access request; and according to the association relationship between the function operation authority and the function of the user, determining the operation button with the operation authority of the user under the menu button, further determining the operation display data of the operation button with the operation authority of the user under the menu button, and sending the operation display data to the terminal.
The terminal 402 is configured to, when it is detected that a login operation is applied to an interface of the terminal by a user, acquire login information input by the user in the interface, send the acquired login information to a server, receive page display data fed back by the server, render an access page operable by the user according to the page display data, generate a menu access request for any menu button in the access page in response to a selection operation of the user for the menu button, send the menu access request to the server, and receive the operation display data fed back by the server; and rendering according to the operation display data to obtain the operation buttons with the operation authority of the user.
Example five:
referring to fig. 5, fig. 5 is a third flowchart of a method for determining a display page according to an embodiment of the present application. As shown in fig. 5, a method for determining a display page provided in an embodiment of the present application is applied to a system, and includes the following steps:
s501, the terminal sends the login information input by the user to a server.
S502, the server verifies the login identity of the user based on the login information of the user, if the user passes the verification, page display data with operation authority of the user are determined, and the page display data are sent to the terminal.
S503, the terminal receives the page display data fed back by the server and renders the page display data to obtain the user operable access page.
S504, the terminal responds to the selection operation of the user for any menu button in the access page, generates a menu access request for the menu button and sends the menu access request to the server;
and S505, the server responds to the menu access request, determines operation display data of an operation button with operation authority of the user under the menu button and sends the operation display data to the terminal.
S506, the terminal receives the operation display data fed back by the server and renders the operation display data to obtain the operation buttons with the operation authority of the user.
Example six:
referring to fig. 6, fig. 6 is a schematic structural diagram of a server according to an embodiment of the present disclosure, where the server 401 includes: an identity verification module 4011, a display data determination module 4012, and a display data sending module 4013, specifically:
the identity authentication module 4011 is configured to authenticate a login identity of a user based on login information of the user.
And the display data determining module 4012 is configured to determine, based on the login information, page display data that the user has an operation right if the user passes the authentication.
The display data sending module 4013 is configured to send the page display data to a terminal used by the user, so that the terminal renders the page display data according to the received page display data to obtain an access page operable by the user.
Example seven:
referring to fig. 7, fig. 7 is a second schematic structural diagram of a server according to an embodiment of the present application, where the server 401 further includes: a menu access request receiving module 4014, an operation display data determining module 4015, and an operation display data transmitting module 4016, specifically:
a menu access request receiving module 4014, configured to receive a menu access request sent by the terminal.
An operation display data determining module 4015, configured to determine, in response to the menu access request, operation display data of an operation button under the menu button, for which the user has an operation authority.
An operation display data sending module 4016, configured to send the operation display data to the terminal, so that the terminal renders the operation display data according to the received operation button that the user has an operation right.
Example eight:
referring to fig. 8, fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure, where the terminal 402 includes: a login information sending module 4021, a display data receiving module 4022, a page rendering module 4023, an operation data determining module 4024, and a first operation button rendering module 4025, specifically:
a login information sending module 4021, configured to send login information input by a user to a server;
a display data receiving module 4022, configured to receive page display data fed back by the server;
a page rendering module 4023, configured to render the page display data to obtain an access page operable by the user;
an operation data determining module 4024, configured to determine, when the page display data includes operation display data in response to a selection operation of the user for any one menu button in the access page, operation display data of an operation button of which the user has an operation right under the menu button from the page display data;
a first operation button rendering module 4025, configured to render the operation buttons that the user has the operation right according to the operation display data.
Example nine:
referring to fig. 9, fig. 9 is a second schematic structural diagram of a terminal according to an embodiment of the present application, where the terminal 402 further includes: a menu access request generating module 4026, a menu access request transmitting module 4027, an operation display data receiving module 4028, and a second operation button rendering module 4029, specifically:
a menu access request generating module 4026, configured to generate a menu access request for the menu button.
A menu access request sending module 4027, configured to send the menu access request to the server.
An operation display data receiving module 4028, configured to receive the operation display data fed back by the server.
A second operation button rendering module 4029, configured to render the operation buttons that the user has the operation right according to the operation display data.
Example ten:
referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 10, the electronic device 1000 includes a processor 1100, a memory 1200, and a bus 1300.
The memory 1200 stores machine-readable instructions executable by the processor 1100, when the electronic device 1000 runs, the processor 1100 communicates with the memory 1200 through the bus 1300, and when the machine-readable instructions are executed by the processor 1100, the steps of the display method or the determination method in the method embodiments shown in fig. 1, fig. 2, fig. 3, and fig. 5 may be executed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program may perform the steps of the display method or the determination method in the method embodiments shown in fig. 1, fig. 2, fig. 3, and fig. 5.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (11)
1. A method for determining a display page, the method being applied to a server, the method comprising:
verifying the login identity of a user based on the login information of the user;
if the user passes the verification, determining page display data with operation authority of the user based on the login information;
and sending the page display data to a terminal used by the user, so that the terminal renders the page display data to obtain an access page operable by the user.
2. The method of claim 1, wherein the determining page display data that the user has the operation right based on the login information if the user is authenticated comprises:
identifying account information of the user from the login information;
determining a user group to which the user belongs based on the account information;
determining the function operation authority of the user in the user group;
and generating page display data with the operation authority of the user based on the function operation authority, wherein the page display data at least comprises menu display data of a menu button with the operation authority of the user.
3. The method according to claim 1, wherein when the page display data does not include operation display data of an operation button having an operation right by the user, after the page display data is sent to a terminal used by the user so that the terminal renders an access page operable by the user according to the received page display data, the determining method further includes:
receiving a menu access request sent by the terminal;
in response to the menu access request, determining operation display data of an operation button which is under the menu button and has operation authority by the user;
and sending the operation display data to the terminal so that the terminal renders the operation buttons with the operation authority of the user according to the received operation display data.
4. A display method for displaying a page is applied to a terminal, and is characterized in that the display method comprises the following steps:
sending the login information input by the user to a server;
receiving page display data fed back by the server;
rendering according to the page display data to obtain the user operable access page;
responding to the selection operation of the user for any menu button in the access page, and when the page display data comprises operation display data, determining the operation display data of the operation button of which the user has the operation authority under the menu button from the page display data;
and rendering according to the operation display data to obtain the operation buttons with the operation authority of the user.
5. The method according to claim 4, wherein after the responding to the selection operation of the user for any one of the menu buttons in the access page, the displaying method further comprises:
when the operation display data is not included in the page display data, generating a menu access request aiming at the menu button;
sending the menu access request to the server;
receiving the operation display data fed back by the server;
and rendering according to the operation display data to obtain the operation buttons with the operation authority of the user.
6. A system for determining a displayed page, the system comprising a server and a terminal:
the server is used for verifying the login identity of the user based on the login information of the user, determining page display data with operation authority of the user and sending the page display data to the terminal if the user passes the verification, responding to a menu access request sent by the terminal, determining operation display data of an operation button with operation authority of the user under a menu button, and sending the operation display data to the terminal;
the terminal is used for sending login information input by the user to the server, receiving page display data fed back by the server, rendering an access page operable by the user according to the page display data, responding to selection operation of the user on any menu button in the access page, generating a menu access request aiming at the menu button, sending the menu access request to the server, and receiving the operation display data fed back by the server; and rendering according to the operation display data to obtain the operation buttons with the operation authority of the user.
7. A method for determining a display page is applied to a system, and comprises the following steps:
the terminal sends login information input by a user to a server;
the server verifies the login identity of the user based on the login information of the user, if the user passes the verification, page display data with operation authority of the user are determined, and the page display data are sent to the terminal;
the terminal receives page display data fed back by the server and renders according to the page display data to obtain an access page operable by the user;
the terminal responds to the selection operation of the user for any menu button in the access page, generates a menu access request for the menu button and sends the menu access request to the server;
the server responds to the menu access request, determines operation display data of an operation button with operation authority of the user under the menu button and sends the operation display data to the terminal;
and the terminal receives the operation display data fed back by the server and renders the operation display data to obtain the operation buttons with the operation authority of the user.
8. A server, characterized in that the server comprises:
the identity authentication module is used for authenticating the login identity of the user based on the login information of the user;
the display data determining module is used for determining page display data of the user with operation authority based on the login information if the user passes the verification;
and the display data sending module is used for sending the page display data to a terminal used by the user so as to render the terminal according to the received page display data to obtain the access page operable by the user.
9. A terminal, characterized in that the terminal comprises:
the login information sending module is used for sending login information input by a user to the server;
the display data receiving module is used for receiving page display data fed back by the server;
the page rendering module is used for rendering according to the page display data to obtain the user operable access page;
an operation data determining module, configured to determine, in response to a selection operation of the user for any one menu button in the access page, operation display data of an operation button of which the user has an operation right under the menu button from the page display data when the page display data includes the operation display data;
and the first operation button rendering module is used for rendering the operation buttons with the operation authority of the user according to the operation display data.
10. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when an electronic device is operated, the machine-readable instructions being executable by the processor to perform the steps of the determination method according to any one of claims 1 to 3 and/or the display method according to any one of claims 4 to 5 and/or the determination method according to any one of claims 7.
11. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the determination method according to any one of claims 1 to 3 and/or the display method according to any one of claims 4 to 5 and/or the determination method according to any one of claims 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110579211.5A CN113254899B (en) | 2021-05-26 | 2021-05-26 | Display page determining method, display system, server and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110579211.5A CN113254899B (en) | 2021-05-26 | 2021-05-26 | Display page determining method, display system, server and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113254899A true CN113254899A (en) | 2021-08-13 |
CN113254899B CN113254899B (en) | 2024-10-01 |
Family
ID=77184574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110579211.5A Active CN113254899B (en) | 2021-05-26 | 2021-05-26 | Display page determining method, display system, server and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113254899B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060271349A1 (en) * | 2001-03-06 | 2006-11-30 | Philip Scanlan | Seamless translation system |
CN106911687A (en) * | 2017-02-20 | 2017-06-30 | 深圳国泰安教育技术股份有限公司 | A kind of page makeup control method and device |
CN108509114A (en) * | 2018-03-26 | 2018-09-07 | 安徽笛申科技有限公司 | A kind of system operatio authority control method defined based on menu and function |
CN108600177A (en) * | 2018-03-27 | 2018-09-28 | 北京明朝万达科技股份有限公司 | A kind of authority control method and device |
CN109145539A (en) * | 2018-08-22 | 2019-01-04 | 深圳点猫科技有限公司 | A kind of right management method and electronic equipment of more programming projects |
CN111680244A (en) * | 2020-04-16 | 2020-09-18 | 上海淇玥信息技术有限公司 | Page display method and device, electronic equipment and computer readable storage medium |
CN112328938A (en) * | 2020-11-05 | 2021-02-05 | 常州微亿智造科技有限公司 | Web application permission control method and device |
-
2021
- 2021-05-26 CN CN202110579211.5A patent/CN113254899B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060271349A1 (en) * | 2001-03-06 | 2006-11-30 | Philip Scanlan | Seamless translation system |
CN106911687A (en) * | 2017-02-20 | 2017-06-30 | 深圳国泰安教育技术股份有限公司 | A kind of page makeup control method and device |
CN108509114A (en) * | 2018-03-26 | 2018-09-07 | 安徽笛申科技有限公司 | A kind of system operatio authority control method defined based on menu and function |
CN108600177A (en) * | 2018-03-27 | 2018-09-28 | 北京明朝万达科技股份有限公司 | A kind of authority control method and device |
CN109145539A (en) * | 2018-08-22 | 2019-01-04 | 深圳点猫科技有限公司 | A kind of right management method and electronic equipment of more programming projects |
CN111680244A (en) * | 2020-04-16 | 2020-09-18 | 上海淇玥信息技术有限公司 | Page display method and device, electronic equipment and computer readable storage medium |
CN112328938A (en) * | 2020-11-05 | 2021-02-05 | 常州微亿智造科技有限公司 | Web application permission control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN113254899B (en) | 2024-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11196572B2 (en) | Blockchain-based content verification | |
CN104025505B (en) | Methods, devices and systems for managing user authentication | |
JP4492318B2 (en) | One-time ID authentication system, authentication server, conversion server, one-time ID authentication method and program | |
EP3499795A1 (en) | Authentication system and method, and user equipment, authentication server, and service server for performing same method | |
US9154504B2 (en) | Device apparatus, control method, and relating storage medium | |
TWI526037B (en) | Method and system for abstrcted and randomized one-time use passwords for transactional authentication | |
CN111741011B (en) | Verification method, verification device and storage medium | |
JP7412725B2 (en) | Authentication method and authentication device | |
CN110909340B (en) | Login processing method, system, device, electronic equipment and storage medium | |
US20190139009A1 (en) | Management system, control method therefor, and non-transitory computer-readable medium | |
EP3118760B1 (en) | Authentication information management system, authentication information management device, program, recording medium, and authentication information management method | |
CN113836506A (en) | Identity authentication method, device, system, electronic equipment and storage medium | |
CN111641605A (en) | Electronic signature method and system based on dynamic password | |
CN106685945B (en) | Service request processing method, service handling number verification method and terminal thereof | |
JP5013352B2 (en) | Information generation system and method | |
JP2012118833A (en) | Access control method | |
CN110445791B (en) | Plug-in authentication method and device, and plug-in authentication information storage method and device | |
JP6081857B2 (en) | Authentication system and authentication method | |
US11218466B2 (en) | Endpoint security | |
CN113254899A (en) | Display page determining method, display method, system, server and terminal | |
US12081673B2 (en) | User authentication system, user authentication server, and user authentication method | |
CN114461912A (en) | Information processing method and device, electronic equipment and storage medium | |
CN110992022B (en) | Verification result acquisition method and device | |
TWI771696B (en) | Identity authentication system and method | |
US20230388311A1 (en) | Network system and control method thereof |
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 |