Method and device for embedding multi-board system based on web and storage medium
By obtaining user permission information and generating encrypted links, unified login and permission control of multiple Web systems is realized, and the problem of users remembering multiple accounts and passwords in the prior art is solved, improving user experience and data security.
Patent Information
- Application Number
- CN202411378158.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-07
AI Technical Summary
Since the existing web-based management system is independent of each system, users need to remember multiple URLs, accounts and passwords, which affects the user experience, and it is difficult to ensure permission control and data security.
By obtaining user permission information, using encryption algorithms to generate TOKEN, and binding user report information to the REDIS server, generating encryption links, realizing that multiple systems can be viewed at one time, and displaying Kanban items according to permission control to ensure data security.
It realizes unified user login, simplifies account management, improves user experience, and ensures security through permission control and data encryption.
Smart Images

Figure CN119276681A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent manufacturing, and in particular to a method, device and storage medium for a web-based embedded multi-signboard system. Background Art
[0002] At present, the Kanban system of the web-based management system generally adopts each system to be independent of each other, including the large screen report systems of human resources, sales, finance and other systems. The URL, account and password of each system are different. Its main steps are: unified login for all accounts; after login, it includes the introduction of each system and the jump entrance; judge whether the entrance can be jumped into according to the permission setting; each system can be collected into a folder for easy management and viewing.
[0003] However, the records required for user use are complicated and require a lot of management and memory costs, which greatly affects the user experience. Summary of the invention
[0004] In view of the defects in the prior art, the purpose of the present invention is to provide a method, device and storage medium for a web-based embedded multi-board system, which can realize viewing of projects accessed by the web system with one login and ensure authority control and data security.
[0005] In order to achieve the above-mentioned object of the invention, the present invention adopts the following technical solution:
[0006] According to a first aspect of the present invention, there is provided a method for embedding a multi-banner system based on a web, comprising the following steps:
[0007] In step S1, user authority information is obtained;
[0008] In step S2, the user ID is read, the user ID is converted into a TOKEN through an encryption algorithm, the user report information is obtained according to the user authority information, the TOKEN and the user report information are bound and written to the REDIS server;
[0009] In step S3, the original report link included in the user report information is read, the original report link is converted into link encryption information through an encryption algorithm and a domain name, and the link encryption information is transmitted to the Web and REDIS servers embedded in the private server;
[0010] In step S4, the kanban item is displayed in the front-end page list according to the user authority information and the link encryption information, and the thumbnail, name, kanban introduction, and link encryption information are displayed at the same time.
[0011] Preferably, it also comprises:
[0012] Obtaining a user-defined request, executing and generating user-defined information, and storing the user-defined information;
[0013] The custom request includes at least one of the following requests: a request to add a folder, a request to add a dashboard to a folder, and a request to sort the dashboard.
[0014] Preferably, it also comprises:
[0015] Accept keywords entered by users, perform fuzzy search based on user permission information, and transmit search results to users.
[0016] Preferably, it also comprises:
[0017] After the user logs in to the kanban system, operation guidance information is sent to the user.
[0018] According to a second aspect of the present invention, there is provided a device for a web-based embedded multi-banner system, comprising an acquisition module, a user encryption module, a link encryption module, and a management module.
[0019] The acquisition module is used to obtain user permission information;
[0020] The user encryption module is used to read the user ID, convert the user ID into a TOKEN through an encryption algorithm, obtain the user report information according to the user authority information, bind the TOKEN and the user report information, and write them into the REDIS cache server;
[0021] The link encryption module is used to read the original report link contained in the user report information, convert the original report link into an encrypted link through an encryption algorithm and a domain name, generate a jump link, and transmit the encrypted link to the Web and REDIS servers embedded in the private server;
[0022] The management module is used to display the board items in the front-end page list according to the user permission information, and display the thumbnail, name, and board introduction at the same time, and the thumbnail contains a jump link.
[0023] According to a third aspect of the present invention, a storage medium is provided, wherein the storage medium is a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, wherein the computer-executable instructions are used to enable a computer to execute the above-mentioned method of embedding a multi-banner system based on a web.
[0024] Compared with the prior art, the present invention has the following beneficial effects:
[0025] The present invention can realize the viewing of web system access projects through a website, account number and password, and effectively perform authority control and data security. All accounts can log in uniformly, and after logging in, the system introduction and jump entrance are included. Whether the entrance can be jumped into is determined according to the authority setting. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0027] Figure 1 This is a schematic diagram of the user encryption process described in Example 1;
[0028] Figure 2 This is a schematic diagram of the link encryption process described in Example 1. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution 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 part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0030] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0031] Example 1
[0032] This embodiment proposes a method for embedding multiple kanban systems based on the web. By using this method, various kanban management systems can be integrated into one kanban management system, and a website, account, and password login portal can be realized through unified user authority configuration. This method includes the following steps:
[0033] In step S1, obtain permissions and user permission information. Specifically, the user applies for specific system permissions according to the requirements, and configures the corresponding permissions so that the user can only view the corresponding permission kanban items on the front-end kanban platform. For example, it can include my kanban menu items and other function menu items. Specifically, the human resource management (HR) system, manufacturing system, financial system, etc. can be set according to the needs.
[0034] In step S2, the user is encrypted. The user ID is converted into a token through an encryption algorithm, and the token and the report ID owned by the user are bound and put into the cache, and the user's report authority is controlled according to the report ID owned by the user in the cache. Specifically, the encryption steps are:
[0035] (2-1) Read user ID;
[0036] (2-2) Convert the user ID into a TOKEN through an encryption algorithm;
[0037] (2-3) querying the database according to the user ID, and obtaining the report under the user ID based on the user authority information, i.e., user report information;
[0038] (2-4) Bind the TOKEN and the report ID owned by the user and write them to the REDIS cache server.
[0039] In step S3, link encryption and domain name conversion are performed, that is, the original report link is converted through an encryption algorithm and a domain name to output link encryption information, and the link encryption information is transmitted to the Web and REDIS servers embedded in the private server. The steps include:
[0040] (3-1) Read the original report link under the user ID;
[0041] (3-2) The original report link is converted into encrypted link information through an encryption algorithm and a domain name, such as an encrypted link or a jump link;
[0042] (3-3) Transmit the encrypted link to the Web and REDIS servers embedded in the private server.
[0043] In step S4, the system manages. Specifically, in order to facilitate user viewing, the kanban items under the user name are displayed in the list of the front-end page according to the user authority information, and the thumbnail, name, kanban profile, and link encryption information are displayed at the same time, such as the jump link contained in the thumbnail. In this way, it can be ensured that the user can only view the kanban items with corresponding permissions on the front-end kanban platform, and can directly enter the corresponding system through the thumbnail. Since the authority has been opened, there is no need to log in twice. Preferably, in order to enable users to quickly manage various kanban platforms and facilitate users to view according to their preferences, the method of this embodiment can also: obtain user-defined requests, execute and generate user-defined information, and store the user-defined information; the customized request includes but is not limited to adding a folder request, adding a kanban request to a folder, and a kanban sorting request. For example, the projects of each system can be displayed in a list or card mode according to the user's needs, so that the user can switch freely; the user can drag the project to sort according to the user's habits, which is convenient for viewing. The user can collect the project into a newly created folder for classification and storage, which is convenient for quick search.
[0044] Preferably, in order to improve the efficiency of using the multi-banner system, the method provided in this embodiment can also: accept the keyword input by the user, perform fuzzy search in combination with the user's authority information, and transmit the search results to the user. For example, the user can quickly perform a global fuzzy search for the project name in the search bar to quickly locate the target project in the projects owned by the user, thereby improving the efficiency of use.
[0045] Preferably, in order to enable users to quickly become familiar with the multi-banner system, the method provided in this embodiment can also: after the user logs into the kanban system, send operation guidance information to the user to help new users become familiar with the operation process of the kanban.
[0046] The method provided in this embodiment can realize the viewing of projects accessed by the web system with a URL, account, and password, and effectively perform permission control and data security. All accounts are logged in uniformly, and after logging in, the system introduction and jump entrance are included. Whether the entrance can be jumped into is determined according to the permission setting. Furthermore, users can quickly query projects, customize sorting, freely switch display modes, and quickly query projects.
[0047] Example 2
[0048] This embodiment provides a device based on web-embedded multi-banner system, comprising an acquisition module, a user encryption module, a link encryption module, and a management module. The acquisition module is used to acquire user authority information; the user encryption module is used to read the user ID, convert the user ID into a TOKEN through an encryption algorithm, obtain user report information according to the user authority information, bind the TOKEN and the user report information, and write them into a REDIS cache server; the link encryption module is used to read the original report link contained in the user report information, convert the original report link into an encrypted link through an encryption algorithm and a domain name, generate a jump link, and transmit the encrypted link to the Web and REDIS servers embedded in a private server; the management module is used to display the kanban items in the front-end page list according to the user authority information, and display the thumbnail, name, and kanban introduction at the same time, and the thumbnail contains a jump link.
[0049] It should be pointed out that the explanation of the implementation method and beneficial effects of the method for embedding a multi-banner system based on a web in the above-mentioned embodiment 1 is also applicable to this embodiment, and will not be elaborated in detail here to avoid redundancy.
[0050] Example 3
[0051] This embodiment provides a storage medium for a web-based embedded multi-banner system. The storage medium is a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. The computer-executable instructions are used to enable a computer to execute a method for a web-based embedded multi-banner system described in Embodiment 1.
[0052] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0053] It should be pointed out that the explanation of the implementation method and beneficial effects of the method for embedding a multi-banner system based on a web in the above-mentioned embodiment 1 is also applicable to this embodiment, and will not be elaborated in detail here to avoid redundancy.
[0054] The above describes the specific embodiments of the present invention. Based on the above description, relevant personnel can make various changes and modifications without departing from the technical concept of the present invention.
Claims
1. A method for embedding a multi-banner system based on a web, characterized in that: The following steps are included: In step S1, user authority information is obtained; In step S2, the user ID is read, the user ID is converted into a TOKEN through an encryption algorithm, the user report information is obtained according to the user authority information, the TOKEN and the user report information are bound and written to the REDIS server; In step S3, the original report link included in the user report information is read, the original report link is converted into link encryption information through an encryption algorithm and a domain name, and the link encryption information is transmitted to the Web and REDIS servers embedded in the private server; In step S4, the kanban item is displayed in the front-end page list according to the user authority information and the link encryption information, and the thumbnail, name, kanban introduction, and link encryption information are displayed at the same time.
2. The method for embedding a multi-banner system based on a web as claimed in claim 1, characterized in that: Also includes: Obtaining a user-defined request, executing and generating user-defined information, and storing the user-defined information; The custom request includes at least one of the following requests: a request to add a folder, a request to add a dashboard to a folder, and a request to sort the dashboard.
3. The method for embedding a multi-signboard system based on a web as claimed in claim 1, characterized in that: Also includes: Accept keywords entered by users, perform fuzzy search based on user permission information, and transmit search results to users.
4. The method for embedding a multi-signboard system based on a web as claimed in claim 1, characterized in that: Also includes: After the user logs in to the kanban system, operation guidance information is sent to the user.
5. A device for embedding a multi-banner system based on a web, characterized in that: It includes acquisition module, user encryption module, link encryption module and management module. Among them: The acquisition module is used to obtain user permission information; The user encryption module is used to read the user ID, convert the user ID into a TOKEN through an encryption algorithm, obtain the user report information according to the user authority information, bind the TOKEN and the user report information, and write them into the REDIS cache server; The link encryption module is used to read the original report link contained in the user report information, convert the original report link into an encrypted link through an encryption algorithm and a domain name, generate a jump link, and transmit the encrypted link to the Web and REDIS servers embedded in the private server; The management module is used to display the board items in the front-end page list according to the user permission information, and display the thumbnail, name, and board introduction at the same time, and the thumbnail contains a jump link.
6. A storage medium, the storage medium being a computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method for embedding a multi-signboard system based on a web as claimed in any one of claims 1 to 4.