Display page determination method, display method, system, server and terminal

By verifying and generating page display data based on user login information on the server side, the problem of coupling of server and terminal codes in the existing technology is solved, centralized management of page display logic is realized, maintenance complexity is reduced and efficiency is improved.

CN113254899BActive Publication Date: 2024-10-01北京创源微致软件有限公司
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110579211.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-26
Publication Date
2024-10-01
Estimated Expiration
2041-05-26

AI Technical Summary

Technical Problem

In the system architecture mode where the server and terminal are separated, the existing technology requires the server and terminal codes to be modified simultaneously to respond to changes in user-operable pages, resulting in increased coupling and maintenance complexity.

Method used

Through authentication based on the user's login information, the server determines the user's operating permissions and generates page display data, which is sent to the terminal for rendering, decoupling the server and terminal, and realizing centralized management of page display logic.

Benefits of technology

It reduces the complexity of code maintenance, improves the work efficiency of managers, decouples functions, enables page display logic to be completed on the server, and simplifies system updates and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113254899B_ABST
    Figure CN113254899B_ABST
Patent Text Reader

Abstract

The present application provides a method for determining a display page, a display method, a system, a server, and a terminal, wherein the determination method includes: verifying the login identity of the user based on the user's login information; if the user passes the verification, determining the page display data for which the user has the operation authority based on the login information; sending the page display data to the terminal used by the user, so that the terminal renders the access page operable by the user according to the received page display data. In this way, according to the determination method, display method, system, server, and terminal, the technical solution provided by the present application can be used to determine the page display data of the access page for which the user has the operation authority through the server based on the user's login information, which helps to reduce the complexity of code maintenance and improve the work efficiency of managers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer network technology, and in particular to a method for determining a display page, a display method, a system, a server and a terminal. Background Art

[0002] With the rapid development of Internet technology, more and more people are using information systems to manage and interact with information. Considering factors such as information security and user management, the system should display different pages for users with different identities.

[0003] In the system architecture mode where the server and terminal are separated, the existing system display page that can be operated by the user needs to be supported by both the server and the terminal. Once the system page that can be operated by the user changes, the server and terminal codes need to be modified. This makes the function of determining the display page coupled between the server and the terminal, which brings inconvenience to system update and maintenance. Summary of the invention

[0004] In view of this, the purpose of this application is to provide a method for determining a display page, a display method, a system, a server and a terminal. Based on the user's login information, the server determines the page display data of the access page for which the user has operation authority, which helps to reduce the complexity of code maintenance and improve the work efficiency of managers.

[0005] This application mainly includes the following aspects:

[0006] In the first aspect, an embodiment of the present application provides a method for determining a display page, which is applied to a server, and the determination method includes: verifying the login identity of the user based on the user's login information; if the user passes the verification, determining the page display data that the user has access operation permissions based on the login information; sending the page display data to a terminal used by the user, so that the terminal renders an access page that the user can operate according to the received page display data.

[0007] In a possible implementation, if the user passes the verification, based on the login information, determining the page display data for which the user has operation authority, includes: identifying the user's account information from the login information; determining the user group to which the user belongs based on the account information; determining the functional operation authority that the user has in the user group; and generating page display data for which the user has operation authority based on the functional operation authority, wherein the page display data at least includes menu display data of menu buttons for which the user has operation authority.

[0008] In a possible implementation, when the page display data does not include operation display data of an operation button for which the user has operation authority, after sending the page display data 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 determination method further includes: receiving a menu access request sent by the terminal; determining, in response to the menu access request, operation display data of an operation button for which the user has operation authority under the menu button; and sending the operation display data to the terminal so that the terminal renders an operation button for which the user has operation authority according to the received operation display data.

[0009] In the second aspect, an embodiment of the present application also provides a method for displaying a display page, which 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 an access page that the user can operate according to the page display data; in response to the user's selection operation on any menu button in the access page, when the page display data includes operation display data, determining the operation display data of the operation button that the user has the operation authority under the menu button from the page display data; and rendering the operation button that the user has the operation authority according to the operation display data.

[0010] In a possible implementation, after the response to the user's selection operation on any menu button in the access page, the display method further includes: when the page display data does not include the operation display data, generating a menu access request for the menu button; sending the menu access request to the server; receiving the operation display data fed back by the server; and rendering an operation button for which the user has operation authority according to the operation display data.

[0011] In the third aspect, an embodiment of the present application also provides a display page determination system, which includes a server and a terminal: the server is used to verify the login identity of the user based on the user's login information, and if the user passes the verification, the page display data for which the user has operation authority is determined and sent to the terminal, and in response to a menu access request sent by the terminal, the operation display data of the operation button for which the user has operation authority under the menu button is determined, and the operation display data is sent to the terminal; the terminal is used to send the login information input by the user to the server, receive the page display data fed back by the server, render an access page that the user can operate according to the page display data, and in response to the user's selection operation on any menu button in the access page, generate a menu access request for the menu button and send the menu access request to the server, receive the operation display data fed back by the server; and render an operation button for which the user has operation authority according to the operation display data.

[0012] In a fourth aspect, an embodiment of the present application also provides a method for determining a display page, which is applied to a system, and the determination method includes: the terminal sends the login information input by the user to the server; the server verifies the login identity of the user based on the login information of the user, and if the user passes the verification, determines the page display data for which the user has the operation authority and sends the page display data to the terminal; the terminal receives the page display data fed back by the server and renders an access page that the user can operate according to the page display data; the terminal responds to the user's selection operation on 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 the operation display data of the operation button for which the user has the operation authority under the menu button and sends the operation display data to the terminal; the terminal receives the operation display data fed back by the server and renders the operation button for which the user has the operation authority according to the operation display data.

[0013] In the fifth aspect, an embodiment of the present application also provides a server, comprising: an identity authentication module, used to verify the login identity of the user based on the user's login information; a display data determination module, used to determine the page display data that the user has operation authority for based on the login information if the user passes the verification; a display data sending module, used to send the page display data to a terminal used by the user, so that the terminal renders an access page that the user can operate according to the received page display data.

[0014] In a possible implementation, the display data determination module is further used to identify the user's account information from the login information; based on the account information, determine the user group to which the user belongs; determine the functional operation permissions that the user has in the user group; based on the functional operation permissions, generate page display data for which the user has operation permissions, wherein the page display data includes at least menu display data of menu buttons for which the user has operation permissions.

[0015] In a possible implementation, when the page display data does not include operation display data of an operation button for which the user has operation authority, the server further includes: a menu access request receiving module for receiving a menu access request sent by the terminal; an operation display data determination module for determining, in response to the menu access request, the operation display data of an operation button for which the user has operation authority under the menu button; and an operation display data sending module for sending the operation display data to the terminal so that the terminal renders the operation button for which the user has operation authority according to the received operation display data.

[0016] In the sixth aspect, an embodiment of the present application also provides a terminal, which includes: a login information sending module, which is used to send the login information input by the user to a server; a display data receiving module, which is used to receive the page display data fed back by the server; a page rendering module, which is used to render an access page that the user can operate according to the page display data; an operation data determination module, which is used to respond to the user's selection operation on any menu button in the access page, when the page display data includes operation display data, to determine the operation display data of the operation button under the menu button that the user has the operation authority from the page display data; a first operation button rendering module, which is used to render an operation button that the user has the operation authority according to the operation display data.

[0017] In a possible implementation, when the operation display data is not included in the page display data, the terminal also includes: a menu access request generating module, used to generate a menu access request for the menu button; a menu access request sending module, used to send the menu access request to the server; an operation display data receiving module, used to receive the operation display data fed back by the server; and a second operation button rendering module, used to render, according to the operation display data, an operation button for which the user has operation authority.

[0018] In the seventh aspect, an embodiment of the present application also provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the method for determining a display page or the method for displaying a display page as described above are performed.

[0019] In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for determining a display page or the method for displaying a display page as described above are executed.

[0020] The embodiments of the present application bring the following beneficial effects:

[0021] Compared with the prior art in which determining the system display page that can be operated by the user requires support from both the server and the terminal, and once the system page that can be operated by the user changes, the server and terminal codes need to be modified. The technical solution provided in the present application can be used to determine, based on the user's login information, the page display data of the access page that the user has the operation authority to access through the server, which helps to reduce the complexity of code maintenance and improve the work efficiency of managers, so that the business logic of determining the display page is completed on the server, and the coupling of the function of determining the display page in the server and the terminal is released.

[0022] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 One of the flow charts of a method for determining a display page provided in an embodiment of the present application is shown;

[0025] Figure 2 A second flowchart of a method for determining a display page provided in an embodiment of the present application is shown;

[0026] Figure 3 A flow chart showing a method for displaying a display page provided in an embodiment of the present application is shown;

[0027] Figure 4 A schematic diagram of the structure of a display page determination system provided in an embodiment of the present application is shown;

[0028] Figure 5 A third flowchart of a method for determining a display page provided in an embodiment of the present application is shown;

[0029] Figure 6 One of the structural schematic diagrams of a server provided in an embodiment of the present application is shown;

[0030] Figure 7 A second structural diagram of a server provided in an embodiment of the present application is shown;

[0031] Figure 8 One of the structural schematic diagrams of a terminal provided in an embodiment of the present application is shown;

[0032] Fig. 9 A second schematic diagram of the structure of a terminal provided in an embodiment of the present application is shown;

[0033] Fig.10 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0034] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.

[0035] In order to enable those skilled in the art to use the contents of this application, the following implementation method is given in combination with the specific application scenario of "determining the display page of a user in a production information system". For those skilled in the art, the general principles defined here can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application.

[0036] It is worth noting that before the present application was proposed, the existing solution for determining the system display page that the user can operate requires support from both the server and the terminal. Once the system page that the user can operate changes, both the server and the terminal code need to be modified. This makes the function of determining the display page coupled between the server and the terminal, which brings inconvenience to system updates and maintenance.

[0037] In view of this, the purpose of the present application is to provide a method for determining a display page, a display method, a system, a server and a terminal, so that the business logic of determining the display page can be completed on the server, thereby removing the coupling of the function of determining the display page in the server and the terminal and reducing the complexity of code maintenance.

[0038] Embodiment 1:

[0039] See also Figure 1 , Figure 1 This is one of the flow charts of a method for determining a display page provided in an embodiment of the present application. Figure 1 As shown in , the determination method is applied to the server. The embodiment of the present application provides a method for determining a display page, comprising the following steps:

[0040] S101. Verify the login identity of the user based on the login information of the user.

[0041] In specific implementation, the user's login information may include information such as the user's account number and password. The server verifies the user's login identity based on the acquired login information, that is, verifies whether the user's account number and password correspond and are correct.

[0042] S102: If the user passes the verification, based on the login information, determine the page display data that the user has the operation authority for.

[0043] In specific implementation, if the user fails to pass the verification, the server can send a page display data indicating that the login information is incorrect to the terminal, prompting the user to re-enter the login information.

[0044] If the user passes the verification, the server determines the page display data that the user has the operation authority for based on the login information.

[0045] S103: Send the page display data 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.

[0046] In a specific implementation, the server sends the determined page display data to the terminal used by the user, so that the terminal renders the access page operable by the user according to the received page display data.

[0047] The page display data at least includes menu display data of menu buttons for which the user has operation authority.

[0048] Furthermore, if the user passes the verification, based on the login information, determining the page display data that the user has the operation authority for includes:

[0049] Step 1: Identify the user's account information from the login information.

[0050] In this step, the server can identify the user's account information from the user's login information. Here, the user's login information may include information such as the user's account number and password, and the user's account information is a unique identity ID identifier of the user.

[0051] Step 2: Based on the account information, determine the user group to which the user belongs.

[0052] In this step, the server determines the identity ID of the user from the account information and determines the user group to which the user belongs based on the association relationship between the user and the user group.

[0053] The user group to which the user belongs is pre-assigned. A user can belong to multiple user groups at the same time. Each user group includes at least one user, and the association relationship between users and user groups is pre-established. For example, employees in the purchasing department can be assigned to the purchasing group, and employees in the production department can be assigned to the production group. At the same time, a user group group ID is determined for each user group. Each user group has a unique group ID, and the association relationship between users and user groups can be stored in a data table.

[0054] Step 3: Determine the functional operation authority that the user has in the user group.

[0055] Here, each user group is pre-assigned its own functional operation authority, and a user group can have multiple functional operation authorities, and an association relationship between a user group and the functional operation authority possessed by the user group is established. Each functional operation authority has a unique functional operation authority ID, and the association relationship between a user group and the functional operation authority possessed by the user group can be stored in a data table.

[0056] In this step, the server determines the group ID of the user group to which the user belongs, and determines the function operation authority that the user has in the user group based on the pre-stored association relationship between the user group and the function operation authority.

[0057] Step 4: Based on the function operation authority, generate page display data for which the user has operation authority, wherein the page display data at least includes menu display data of menu buttons for which the user has operation authority.

[0058] In specific implementation, there are menus on the user's access page, and each menu corresponds to a function. When a user clicks a menu button, it means that the user requests to use the function corresponding to the menu. When a user has the right to use a function, it means that the user has the operation authority of the menu button corresponding to the function. A user's function operation authority corresponds to a function, and a function can include multiple function operation authorities. A function operation authority is reflected on the page as an operation button corresponding to a certain menu. When a user has a certain function operation authority, it means that the user has the operation authority of the operation button corresponding to the function operation authority under a certain menu.

[0059] For example, the production information system has a purchase application function, which includes the functional operation permissions of adding applications, deleting applications, and reviewing applications. There is a menu button for purchase applications in the production information system. When the user selects to operate this menu button, it means that the user uses the purchase application function in the system. Under the purchase application menu, there are operation buttons for adding applications, deleting applications, and reviewing applications. These operation buttons correspond to the functional operation permissions of adding applications, deleting applications, and reviewing applications, respectively.

[0060] In specific implementation, each function operation permission is assigned the function to which the function operation permission belongs, and each function has a unique function ID identifier, which can uniquely identify a function. The association between the function operation permission and the function to which the function operation permission belongs can be stored in a data table. Each menu is assigned the function corresponding to the menu, and each menu has a unique menu ID identifier, which can uniquely identify a menu. The association between the menu and the function can be stored in a data table.

[0061] In a specific implementation, the server determines the functions that the user is authorized to use according to the function operation permissions that the user has under the user group, the association between the function operation permissions and the functions to which the function operation permissions belong. According to the functions that the user is authorized to use, the association between the menus and the functions, the server determines the menus that the user is authorized to use. According to the menus that the user is authorized to operate, the server determines the menu display data of the menu buttons that the user is authorized to operate.

[0062] Embodiment 2:

[0063] See also Figure 2 , Figure 2 This is a second flow chart of another method for determining a display page provided in an embodiment of the present application. Figure 2As shown in , the determination method is applied to the server, if the page display data does not include the operation display data of the operation button for which the user has the operation authority, after sending the page display data to the terminal used by the user so that the terminal renders the access page operable by the user according to the received page display data, the determination method further includes:

[0064] S201: Receive a menu access request sent by the terminal.

[0065] In this step, when the server detects the menu access request sent by the terminal, it receives the menu access request.

[0066] S202: In response to the menu access request, determine the operation display data of the operation button for which the user has operation authority under the menu button.

[0067] In this step, the server can determine the function requested by the user according to the received menu access request, determine the operation button that the user has the operation authority for under the menu button according to the function operation authority of the user, the association relationship between the function operation authority and the function to which the function operation authority belongs, and further determine the operation display data of the operation button that the user has the operation authority for under the menu button.

[0068] S203: Send the operation display data to the terminal, so that the terminal renders the operation button for which the user has the operation authority according to the received operation display data.

[0069] In this step, the server sends the determined operation display data to the terminal, so that after receiving the operation display data, the terminal can render the operation button that the user has the operation authority to obtain in the terminal interface.

[0070] Embodiment three:

[0071] See also Figure 3 , Figure 3 A flow chart of a method for displaying a display page provided in an embodiment of the present application. Figure 3 As shown in, an embodiment of the present application provides a method for displaying a display page, and the display method is applied to a terminal, comprising the following steps:

[0072] S301. Send the login information input by the user to the server.

[0073] In this step, when it is detected that the user has performed a login operation in the terminal interface, the login information input by the user in the interface is obtained, and the obtained login information is sent to the server, so that the server verifies the login identity of the user.

[0074] The user's login information may include the user's account number and password.

[0075] S302: Receive page display data fed back by the server.

[0076] In this step, the page display data at least includes the menu display data of the menu buttons that the user has the operation authority to operate. When it is detected that the server feeds back the page display data, the terminal receives the page display data.

[0077] S303: Rendering the page display data to obtain an access page that the user can operate.

[0078] In this step, based on the received page display data, an access page operable by the user is rendered in the interface of the terminal, wherein the access page at least displays a menu button for which the user has operation authority.

[0079] S304. In response to the user's selection operation on any menu button in the access page, when the page display data includes operation display data, determine from the page display data the operation display data of the operation button for which the user has operation authority under the menu button.

[0080] In this step, the user selects any menu button in the access page by touching it, and the terminal responds to the selection operation and determines the menu button selected by the user; further, the operation display data of the operation button for which the user has operation authority under the menu button can be determined from the received page display data.

[0081] S305: Rendering, according to the operation display data, obtains an operation button for which the user has operation authority.

[0082] Furthermore, after the response to the user's selection operation on any menu button in the access page, the display method further includes:

[0083] Step 1: When the page display data does not include the operation display data, a menu access request is generated for the menu button.

[0084] In this step, when the user selects any menu button in the access page, the function corresponding to the menu button selected by the user is determined in response to the selection operation. If the page display data received at this time does not include operation display data, a menu access request for the menu button is generated based on the function ID identifier corresponding to the menu button, wherein the menu access request includes the function ID identifier corresponding to the menu button.

[0085] Step 2: Send the menu access request to the server.

[0086] In this step, the generated menu access request is sent to the server, so that the server can determine the operation buttons that the user has the operation authority and the operation display data of the operation buttons according to the received menu access request.

[0087] Step 3: Receive the operation display data fed back by the server.

[0088] In this step, the terminal receives operation display data fed back by the server that can be used to display operation buttons for which the user has operation authority.

[0089] Step 4: Rendering the operation display data to obtain the operation button for which the user has the operation authority.

[0090] In this step, based on the operation display data, an operation button for which the user has operation authority under the menu button is rendered in the terminal interface.

[0091] Embodiment 4:

[0092] See also Figure 4 , Figure 4 A system for determining a display page is provided in an embodiment of the present application.

[0093] like Figure 4 As shown in , a display page determination system 400 provided in an embodiment of the present application includes a server 401 and a terminal 402:

[0094] Server 401 is used to verify the login identity of the user based on the user's login information. The user's login information may include information such as the user's account and password. The server verifies whether the user's account and password correspond to and are correct based on the acquired login information; if the user passes the verification, the page display data for which the user has operation authority is determined and sent to the terminal, and the function requested by the user is determined based on the received menu access request; based on the function operation authority of the user and the association between the functions, the operation button for which the user has operation authority under the menu button is determined, and then the operation display data of the operation button for which the user has operation authority under the menu button is determined, and the operation display data is sent to the terminal.

[0095] Terminal 402 is used to obtain the login information input by the user in the interface of the terminal when it is detected that the user has performed a login operation in the interface of the terminal, and send the obtained login information to the server, receive the page display data fed back by the server, render the access page that the user can operate according to the page display data, respond to the user's selection operation on any menu button in the access page, generate a menu access request for the menu button and send the menu access request to the server, receive the operation display data fed back by the server; render the operation button that the user has the operation authority according to the operation display data.

[0096] Embodiment five:

[0097] See also Figure 5 , Figure 5 This is a flowchart of a method for determining a display page provided in an embodiment of the present application. Figure 5 As shown in, an embodiment of the present application provides a method for determining a display page, and the display method is applied to a system, comprising the following steps:

[0098] S501. The terminal sends the login information input by the user to the server.

[0099] S502: The server verifies the login identity of the user based on the login information of the user. If the user passes the verification, the server determines the page display data for which the user has operation authority and sends the page display data to the terminal.

[0100] S503: The terminal receives the page display data fed back by the server and renders the access page operable by the user according to the page display data.

[0101] S504: In response to the user's selection operation on any menu button in the access page, the terminal generates a menu access request for the menu button and sends the menu access request to the server;

[0102] S505: In response to the menu access request, the server determines operation display data of the operation button for which the user has operation authority under the menu button and sends the operation display data to the terminal.

[0103] S506: The terminal receives the operation display data fed back by the server and renders, according to the operation display data, an operation button for which the user has operation authority.

[0104] Embodiment six:

[0105] See also Figure 6 , Figure 6 This is one of the structural diagrams of a server provided in an embodiment of the present application. The server 401 includes: an identity authentication module 4011, a display data determination module 4012 and a display data sending module 4013. Specifically:

[0106] The identity authentication module 4011 is used to authenticate the login identity of the user based on the login information of the user.

[0107] The display data determination module 4012 is used to determine the page display data that the user has the operation authority for based on the login information if the user passes the verification.

[0108] The display data sending module 4013 is used to send the page display data to the terminal used by the user, so that the terminal renders the access page that the user can operate according to the received page display data.

[0109] Embodiment seven:

[0110] See also Figure 7 , Figure 7 The second structural diagram of a server provided in an embodiment of the present application, the server 401 further includes: a menu access request receiving module 4014, an operation display data determining module 4015, and an operation display data sending module 4016. Specifically:

[0111] The menu access request receiving module 4014 is used to receive a menu access request sent by the terminal.

[0112] The operation display data determination module 4015 is used to determine the operation display data of the operation button for which the user has operation authority under the menu button in response to the menu access request.

[0113] The operation display data sending module 4016 is used to send the operation display data to the terminal, so that the terminal renders the operation button that the user has the operation authority according to the received operation display data.

[0114] Embodiment eight:

[0115] See also Figure 8 , Figure 8 This is one of the structural diagrams of a terminal provided in an embodiment of the present application. The terminal 402 includes: a login information sending module 4021, a display data receiving module 4022, a page rendering module 4023, an operation data determination module 4024 and a first operation button rendering module 4025. Specifically:

[0116] The login information sending module 4021 is used to send the login information input by the user to the server;

[0117] Display data receiving module 4022, used for receiving page display data fed back by the server;

[0118] The page rendering module 4023 is used to render the access page operable by the user according to the page display data;

[0119] An operation data determination module 4024 is used to respond to the user's selection operation on any menu button in the access page, and when the page display data includes operation display data, determine the operation display data of the operation button under the menu button for which the user has operation authority from the page display data;

[0120] The first operation button rendering module 4025 is used to render the operation button that the user has the operation authority to obtain according to the operation display data.

[0121] Embodiment nine:

[0122] See also Fig. 9 , Fig. 9 The second structural diagram of a terminal provided in an embodiment of the present application, the terminal 402 further includes: a menu access request generating module 4026, a menu access request sending module 4027, an operation display data receiving module 4028, and a second operation button rendering module 4029. Specifically:

[0123] The menu access request generating module 4026 is used to generate a menu access request for the menu button.

[0124] The menu access request sending module 4027 is used to send the menu access request to the server.

[0125] The operation display data receiving module 4028 is used to receive the operation display data fed back by the server.

[0126] The second operation button rendering module 4029 is used to render the operation button that the user has the operation authority to obtain according to the operation display data.

[0127] Embodiment ten:

[0128] See also Fig.10 , Fig.10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 As shown in , the electronic device 1000 includes a processor 1100 , a memory 1200 and a bus 1300 .

[0129] The memory 1200 stores machine-readable instructions executable by the processor 1100. When the electronic device 1000 is running, the processor 1100 communicates with the memory 1200 via the bus 1300. When the machine-readable instructions are executed by the processor 1100, the above-mentioned Figure 1 , Figure 2 , Figure 3 as well as Figure 5 The specific implementation of the display method or the steps of the determination method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.

[0130] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 , Figure 2 , Figure 3 as well as Figure 5 The specific implementation of the display method or the steps of the determination method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.

[0131] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0132] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0133] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0134] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0135] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0136] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for determining a display page, the method being applied to a server, characterized in that: The determination method comprises: Verifying the login identity of the user based on the user's login information; If the user passes the verification, based on the login information, determine the page display data that the user has the operation authority for; Sending the page display data 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; If the user passes the verification, based on the login information, determining the page display data that the user has the operation authority for, includes: Identifying the user's account information from the login information; Based on the account information, determining the user group to which the user belongs; Determine the functional operation authority of the user in the user group; Based on the function operation authority, generating page display data for which the user has the operation authority, wherein the page display data at least includes menu display data of menu buttons for which the user has the operation authority; The step of generating page display data for which the user has operation authority based on the function operation authority comprises: Determine the functions that the user is authorized to use according to the function operation permissions that the user has under the user group and the association relationship between the function operation permissions and the functions to which the function operation permissions belong; According to the functions that the user is authorized to use and the relationship between menus and functions, the menus that the user has the operation authority to operate are determined; Determine, according to the menus that the user has the operation authority, the menu display data of the menu buttons that the user has the operation authority; When the page display data does not include operation display data of an operation button for which the user has operation authority, after sending the page display data 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 determination 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 under the menu button for which the user has operation authority; The operation display data is sent to the terminal, so that the terminal renders the operation button for which the user has the operation authority according to the received operation display data.

2. A method for displaying a display page, the method being applied to a terminal, characterized in that: The display method comprises: Sending the login information input by the user to the server; Receiving page display data fed back by the server; Obtaining an access page operable by the user according to the page display data rendering; In response to a selection operation of the user on any menu button in the access page, when the page display data includes operation display data, determining the operation display data of an operation button for which the user has operation authority under the menu button from the page display data; Rendering the operation display data to obtain an operation button that the user has operation authority for; The page display data is determined by the server in the following manner: Verifying the login identity of the user based on the user's login information; If the user passes the verification, identifying the user's account information from the login information; Based on the account information, determining the user group to which the user belongs; Determine the functional operation authority of the user in the user group; Based on the function operation authority, generating page display data for which the user has the operation authority, wherein the page display data at least includes menu display data of menu buttons for which the user has the operation authority; The step of generating page display data for which the user has operation authority based on the function operation authority comprises: Determine the functions that the user is authorized to use according to the function operation permissions that the user has under the user group and the association relationship between the function operation permissions and the functions to which the function operation permissions belong; According to the functions that the user is authorized to use and the relationship between menus and functions, the menus that the user has the operation authority to operate are determined; Determine, according to the menus that the user has the operation authority, the menu display data of the menu buttons that the user has the operation authority; After the response to the user's selection operation on any menu button in the access page, the display method further includes: When the page display data does not include the operation display data, generating a menu access request for the menu button; sending the menu access request to the server; receiving the operation display data fed back by the server; wherein the server determines the operation display data of the operation button for which the user has operation authority under the menu button in response to the menu access request; An operation button that the user has operation authority to obtain is rendered according to the operation display data.

3. A system for determining a display page, characterized in that: The determination system comprises a server and a terminal: The server is configured to verify the login identity of the user based on the login information of the user, and if the user passes the verification, determine the page display data for which the user has the operation authority and send it to the terminal, and if the page display data does not include the operation display data, determine the operation display data of the operation button for which the user has the operation authority under the menu button in response to a menu access request sent by the terminal, and send the operation display data to the terminal; The terminal is used to send the login information input by the user to the server, receive the page display data fed back by the server, render the access page operable by the user according to the page display data, and when the page display data does not include the operation display data, in response to the user's selection operation on any menu button in the access page, generate a menu access request for the menu button and send the menu access request to the server, receive the operation display data fed back by the server; and render the operation button that the user has the operation authority to operate according to the operation display data; If the user passes the verification, the server is used to determine the page display data that the user has the operation authority for based on the login information in the following manner: Identifying the user's account information from the login information; Based on the account information, determining the user group to which the user belongs; Determine the functional operation authority of the user in the user group; Based on the function operation authority, generating page display data for which the user has the operation authority, wherein the page display data at least includes menu display data of menu buttons for which the user has the operation authority; The server is specifically configured to generate page display data for which the user has operation authority based on the function operation authority in the following manner: Determine the functions that the user is authorized to use according to the function operation permissions that the user has under the user group and the association relationship between the function operation permissions and the functions to which the function operation permissions belong; According to the functions that the user is authorized to use and the relationship between menus and functions, the menus that the user has the operation authority to operate are determined; According to the menus that the user has the operation authority, menu display data of the menu buttons that the user has the operation authority is determined.

4. A method for determining a display page, characterized in that: The determination method is applied to a system, and the determination method includes: The terminal sends the login information entered by the user to the server; The server verifies the login identity of the user based on the login information of the user, and if the user passes the verification, determines the page display data that the user has the operation authority for and sends the page display data to the terminal; The terminal receives the page display data fed back by the server and renders the access page operable by the user according to the page display data; When the page display data does not include the operation display data, the terminal generates a menu access request for any menu button in response to the user's selection operation on the access page and sends the menu access request to the server; The server determines, in response to the menu access request, operation display data of an operation button for which the user has operation authority under the menu button and sends the operation display data to the terminal; The terminal receives the operation display data fed back by the server and renders the operation button for which the user has operation authority according to the operation display data; If the user passes the verification, determining the page display data for which the user has the operation authority and sending the page display data to the terminal includes: Identifying the user's account information from the login information; Based on the account information, determining the user group to which the user belongs; Determine the functional operation authority of the user in the user group; Based on the function operation authority, generating page display data for which the user has the operation authority, wherein the page display data at least includes menu display data of menu buttons for which the user has the operation authority; The step of generating page display data for which the user has operation authority based on the function operation authority comprises: Determine the functions that the user is authorized to use according to the function operation permissions that the user has under the user group and the association relationship between the function operation permissions and the functions to which the function operation permissions belong; According to the functions that the user is authorized to use and the relationship between menus and functions, the menus that the user has the operation authority to operate are determined; According to the menus that the user has the operation authority, menu display data of the menu buttons that the user has the operation authority is determined.

5. A server, characterized in that: The server comprises: An identity verification module, used to verify the login identity of the user based on the user's login information; A display data determination module, configured to determine, if the user passes the verification, page display data for which the user has operation authority based on the login information; A display data sending module, used for sending the page display data to the terminal used by the user, so that the terminal renders the access page operable by the user according to the received page display data; When the display data determination module is used to determine the page display data for which the user has operation authority based on the login information if the user passes the verification, the display data determination module is used to: Identifying the user's account information from the login information; Based on the account information, determining the user group to which the user belongs; Determine the functional operation authority of the user in the user group; Based on the function operation authority, generating page display data for which the user has the operation authority, wherein the page display data at least includes menu display data of menu buttons for which the user has the operation authority; When the display data determination module is used to generate the page display data for which the user has the operation authority based on the function operation authority, the display data determination module is used to: Determine the functions that the user is authorized to use according to the function operation permissions that the user has under the user group and the association relationship between the function operation permissions and the functions to which the function operation permissions belong; According to the functions that the user is authorized to use and the relationship between menus and functions, the menus that the user has the operation authority to operate are determined; Determine, according to the menus that the user has the operation authority, the menu display data of the menu buttons that the user has the operation authority; When the page display data does not include the operation display data of the operation button for which the user has operation authority, the display data determination module is further used to: Receiving a menu access request sent by the terminal; in response to the menu access request, determining operation display data of an operation button for which the user has operation authority under the menu button; The display data sending module is further used for: The operation display data is sent to the terminal, so that the terminal renders the operation button for which the user has the operation authority according to the received operation display data.

6. A terminal, characterized in that: The terminal comprises: A login information sending module, used to send the login information input by the user to the server; A display data receiving module, used for receiving the page display data fed back by the server; A page rendering module, used for rendering the access page operable by the user according to the page display data; an operation data determination module, for responding to a selection operation of the user on any menu button in the access page, and when the page display data includes operation display data, determining the operation display data of the operation button for which the user has operation authority under the menu button from the page display data; A first operation button rendering module, used for rendering an operation button that the user has operation authority to obtain according to the operation display data; The page display data is determined by the server in the following manner: Verifying the login identity of the user based on the user's login information; If the user passes the verification, identifying the user's account information from the login information; Based on the account information, determining the user group to which the user belongs; Determine the functional operation authority of the user in the user group; Based on the function operation authority, generating page display data for which the user has the operation authority, wherein the page display data at least includes menu display data of menu buttons for which the user has the operation authority; The step of generating page display data for which the user has operation authority based on the function operation authority comprises: Determine the functions that the user is authorized to use according to the function operation permissions that the user has under the user group and the association relationship between the function operation permissions and the functions to which the function operation permissions belong; According to the functions that the user is authorized to use and the relationship between menus and functions, the menus that the user has the operation authority to operate are determined; Determine, according to the menus that the user has the operation authority, the menu display data of the menu buttons that the user has the operation authority; The login information sending module is further used for: When the page display data does not include the operation display data, generating a menu access request for the menu button; and sending the menu access request to the server; The display data receiving module is further used to: receive the operation display data fed back by the server; wherein the server determines the operation display data of the operation button for which the user has operation authority under the menu button in response to the menu access request; The page rendering module is further used to render, according to the operation display data, an operation button for which the user has operation authority.

7. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the determination method according to claim 1 and / or the display method according to claim 2 and / or the determination method according to claim 4.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the determination method according to claim 1 and / or the display method according to claim 2 and / or the determination method according to claim 4 are executed.

Citation Information

Patent Citations

  • Page construction control method and apparatus

    CN106911687A

  • System operation authority control method based on menu and function definition

    CN108509114A

  • Method and device for controlling authority

    CN108600177A

  • A right management method of a multi-programming project and an electronic device

    CN109145539A

  • Page display method and device, electronic equipment and computer readable storage medium

    CN111680244A