Menu batch authorization method and device, electronic equipment and computer readable medium
By creating a basic menu and associating it with target user information, batch authorization of menus is achieved, solving the problems of high time cost and resource waste in menu authorization in existing technologies, and improving authorization efficiency and resource utilization.
Patent Information
- Application Number
- CN202110057947.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-15
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2041-01-15
AI Technical Summary
In existing technologies, menu authorization methods lead to high time costs and wasted resources as the number of users increases. In particular, since different menus contain some shared function tags, authorizing individual menus results in wasted configuration resources.
By creating a basic menu containing at least one basic menu function label and determining the target user information corresponding to the organization information to be pushed, the basic menu and target user information are associated, enabling batch authorization of the menu function.
It reduces the time cost of menu authorization, minimizes the waste of menu configuration resources, and improves authorization efficiency, especially when the number of users surges.
Smart Images

Figure CN113761553B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of this disclosure relate to the field of computer technology, and more particularly to menu bulk authorization methods, apparatus, electronic devices, and computer-readable media. Background Technology
[0002] Menu authorization refers to a technique that distributes user-required functions (such as query functions, statistical functions, etc.) to users in the form of menus. Currently, the common menu authorization method is to assign different menus based on each user's needs.
[0003] However, when using the above method for batch authorization of menus, the following technical problems often arise:
[0004] As the number of users increases, assigning different menus to each user based on their needs increases the time cost of menu authorization. Furthermore, since different menus often contain some shared functions, authorizing menus individually to each user results in a waste of menu configuration resources. Summary of the Invention
[0005] The summary portion of this disclosure is intended to provide a brief overview of the concepts, which will be described in detail in the detailed description portion. This summary portion is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.
[0006] Some embodiments of this disclosure provide menu bulk authorization methods, apparatuses, electronic devices, and computer-readable media to address one or more of the technical problems mentioned in the background section above.
[0007] In a first aspect, some embodiments of this disclosure provide a method for batch authorization of menus. The method includes: creating a basic menu, wherein the basic menu includes at least one basic menu function label; determining target user information corresponding to each piece of information to be pushed to a set of information to be pushed to, thereby obtaining a set of target user information, wherein the information to be pushed to is information corresponding to organizations that have not been distributed the basic menu; associating the basic menu with each piece of target user information in the set of target user information, so that a target management terminal assigns the user access permission of the basic menu function corresponding to the basic menu function label to the user, wherein the target management terminal is a terminal that has logged into the user account included in the target user information.
[0008] Optionally, before determining the target user information corresponding to each organization information in the set of organization information to be pushed, the method further includes: in response to receiving target business type information and target organization type information, filtering out organization information that meets the organization information filtering condition group as candidate organization information to obtain a set of candidate organization information, wherein the organization information filtering condition group includes: the business type information included in the organization information matches the target business type information; and the organization type information included in the organization information matches the target organization type information.
[0009] Optionally, the above method further includes: filtering out candidate organization information that does not contain the target menu identifier from the above candidate organization information set as the organization information to be pushed, thereby obtaining the organization information set to be pushed.
[0010] Optionally, the above-mentioned creation of a basic menu includes: obtaining at least one basic menu function number;
[0011] The basic menu is generated by combining the basic menu function labels corresponding to each basic menu function number in at least one of the above basic menu function numbers.
[0012] Optionally, the aforementioned organization information to be pushed includes: organization number; the aforementioned target user information includes: affiliated organization number and target user level information; and the aforementioned determination of the target user information corresponding to each organization information to be pushed in the set of organization information to be pushed, to obtain a target user information set, includes: for each organization information to be pushed in the aforementioned set of organization information to be pushed, obtaining target user information that meets the target user information filtering condition group from the target user information table, wherein the aforementioned target user information filtering condition group includes: the affiliated organization number included in the target user information is the same as the organization number included in the aforementioned organization information to be pushed; and the target user level information included in the target user information is the same as the preset level information.
[0013] Optionally, associating the basic menu with each target user information in the target user information set includes: storing target user permission information in a user permission information table, wherein the target user permission information includes: the target user information and the menu number of the basic menu.
[0014] Secondly, some embodiments of this disclosure provide a menu batch authorization device, the device comprising: a creation unit configured to create a basic menu, wherein the basic menu includes at least one basic menu function label; a determination unit configured to determine target user information corresponding to each target user information in a set of target user information to be pushed, thereby obtaining a target user information set, wherein the target user information is the information of organizations that have not been distributed the basic menu; and an association unit configured to associate the basic menu with each target user information in the target user information set, so that a target management terminal assigns the user access permission of the basic menu function corresponding to the basic menu function label to the user, wherein the target management terminal is a terminal that has logged into the user account included in the target user information.
[0015] Optionally, before determining the target user information corresponding to each organization information in the set of organization information to be pushed, the device further includes: in response to receiving target business type information and target organization type information, filtering out organization information that meets the organization information filtering condition group as candidate organization information to obtain a set of candidate organization information, wherein the organization information filtering condition group includes: the business type information included in the organization information matches the target business type information; and the organization type information included in the organization information matches the target organization type information.
[0016] Optionally, the device further includes: filtering out candidate organization information that does not contain the target menu identifier from the above-mentioned candidate organization information set as the organization information to be pushed, thereby obtaining the organization information set to be pushed.
[0017] Optionally, the creation unit is configured to: obtain at least one basic menu function number; and combine the basic menu function labels corresponding to each basic menu function number in the at least one basic menu function number to generate the basic menu.
[0018] Optionally, the aforementioned organization information to be pushed includes: organization number; the aforementioned target user information includes: affiliated organization number and target user level information; and the determining unit is configured to: for each organization information to be pushed in the aforementioned set of organization information to be pushed, obtain target user information that meets the target user information filtering condition group from the target user information table, wherein the aforementioned target user information filtering condition group includes: the affiliated organization number included in the target user information is the same as the organization number included in the aforementioned organization information to be pushed; and the target user level information included in the target user information is the same as the preset level information.
[0019] Optionally, the associated unit is configured to store the target user permission information in a user permission information table, wherein the target user permission information includes the target user information and the menu number of the basic menu.
[0020] Thirdly, some embodiments of this disclosure provide an electronic device, including: one or more processors; and a storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation of the first aspect above.
[0021] Fourthly, some embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
[0022] The above embodiments of this disclosure have the following beneficial effects: the batch menu authorization method of some embodiments of this disclosure reduces the time cost of menu authorization and reduces the waste of menu configuration resources. Specifically, the reasons for the high time cost of menu authorization and the waste of menu configuration resources are as follows: First, allocating different menus according to user needs, especially when the number of users surges, increases the time cost of menu authorization. Second, different menus often contain some common function tags, and authorizing menus to each user individually will result in a waste of menu configuration resources. Based on this, the batch menu authorization method of some embodiments of this disclosure first creates a basic menu, wherein the basic menu contains at least one basic menu function tag. By encapsulating the menu function tags corresponding to the common menu functions required by different users into a basic menu, the waste of menu configuration resources caused by the repeated configuration of common menu functions is reduced. Second, the target user information corresponding to each organization information to be pushed in the organization information set is determined. In practice, the function authorization of the basic menu functions in the menu is often performed through the account and device used for function authorization in the organization. By determining the target user information corresponding to each organization information to be pushed, the target user information used for function authorization in the organization is determined. Finally, the basic menu and each target user in the target user information set are associated, thereby achieving batch authorization of the menu. Especially when the number of users surges, this method can greatly reduce time costs and the waste of menu configuration resources. Attached Figure Description
[0023] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0024] Figure 1 This is a schematic diagram illustrating an application scenario of the menu batch authorization method according to some embodiments of this disclosure;
[0025] Figure 2 This is a flowchart of some embodiments of the menu bulk authorization method according to this disclosure;
[0026] Figure 3 This is a schematic diagram of a menu function table in some embodiments of the menu batch authorization method according to this disclosure.
[0027] Figure 4 These are flowcharts of other embodiments of the menu bulk authorization method according to this disclosure;
[0028] Figure 5 These are schematic diagrams illustrating the structure of some embodiments of the menu bulk authorization device according to this disclosure;
[0029] Figure 6 This is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. Detailed Implementation
[0030] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0031] It should also be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.
[0032] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0033] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0034] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0035] This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0036] Figure 1This is a schematic diagram illustrating an application scenario of the menu batch authorization method according to some embodiments of this disclosure.
[0037] exist Figure 1 In the application scenario, firstly, the computing device 101 can create a basic menu 102, wherein the basic menu 102 includes at least one basic menu function label 103 (e.g., a data analysis function label, a drug information addition function label, etc.). Secondly, the computing device 101 can determine the target user information (e.g., [0001, "XXX Pharmaceutical Company"]) corresponding to each of the target organization information in the target organization information set 104 (e.g., the target organization information can be ["XXX Pharmaceutical Company"]), and obtain a target user information set 105, wherein the target organization information is the organization information corresponding to the organization that has not been distributed the basic menu 102. Finally, the computing device 101 can associate the basic menu 102 with each target user information in the target user information set 105, so that the target management terminal can assign the user access rights of the basic menu function corresponding to the basic menu function label to the user, wherein the target management terminal is a terminal that has logged into the user account included in the target user information.
[0038] It should be noted that the aforementioned computing device 101 can be either hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device is software, it can be installed within the hardware devices listed above. It can be implemented as, for example, multiple software programs or software modules used to provide distributed services, or as a single software program or software module. No specific limitations are made here.
[0039] It should be understood that Figure 1 The number of computing devices shown is merely illustrative. Any number of computing devices can be used depending on implementation needs.
[0040] Continue to refer to Figure 2 The diagram illustrates a flow 200 of some embodiments of a menu bulk authorization method according to the present disclosure. This menu bulk authorization method includes the following steps:
[0041] Step 201: Create the basic menu.
[0042] In some embodiments, the execution body of the menu batch authorization method (such as...) Figure 1The computing device 101 shown can, in response to receiving a basic menu creation instruction, select at least one basic menu function label from a menu function table to generate the aforementioned basic menu. The basic menu creation instruction can be an instruction for creating a basic menu. The basic menu instruction can include: an instruction category, a menu number, and a set of basic menu function names. The instruction category can be used to characterize the category of the instruction. The instruction category can be "A" or "B". "A" can characterize an instruction for creating a basic menu. "B" can characterize an instruction for canceling the creation of a basic menu. The menu number can characterize the unique identification information of the menu. The menu function table can be a data table containing basic menu function labels used for generating the basic menu. The basic menu function labels can serve as identification information for basic menu functions. The basic menu function labels can be "drug information addition function label" or "drug information deletion function label". The aforementioned basic menu can contain at least one basic menu function label.
[0043] As an example, the basic menu creation command mentioned above could be ["A", "Drug Information Query Function, Drug Information Deletion Function, Drug Information Modification Function"].
[0044] As yet another example, the above menu function table can be as follows: Figure 3 As shown. The menu function table includes: menu function label description 301 and menu function category 302. Menu function label description 301 can be used to provide a functional description of the menu functions. Menu function category 302 can be used to characterize the functional category of the menu functions. For example, "C" can be used to characterize the basic menu function category.
[0045] As another example, the aforementioned execution entity can select at least one basic menu function label from the above menu function table using the following DDL (Data Definition Language): "SELECT * FROM Drug Information Table WHERE Menu Function Category == "C";".
[0046] Step 202: Determine the target user information corresponding to each organization information in the organization information set to be pushed to, and obtain the target user information set.
[0047] In some embodiments, the executing entity may determine the target user information corresponding to each piece of organization information in the set of organization information to be pushed, thereby obtaining a set of target user information. The organization information to be pushed may be organization information corresponding to organizations not categorized in the basic menu. The organization information to be pushed may be used to represent the basic information of the organization. The organization information to be pushed may include: the organization name. The target user information may be account information corresponding to the organization used for managing the basic menu. The target user information may include: the target user ID and the name of the organization to which they belong.
[0048] As an example, the organization information to be pushed to could be "XXX Pharmaceutical Company". The target user information could be "0001, XXX Pharmaceutical Company".
[0049] As another example, the aforementioned executing entity can determine the target user information corresponding to the organization information to be pushed using the following DDL (Data Definition Language): "SELECT target user ID, organization name FROM user information table WHERE organization name == "organization name";".
[0050] Step 203: Associate the basic menu with each target user information in the target user information set, so that the target management terminal can assign the user the access rights to the basic menu functions corresponding to the basic menu function tags.
[0051] In some embodiments, the executing entity can associate the basic menu with each piece of target user information in the target user information set, so that the target management terminal can assign the user access permissions for the basic menu functions corresponding to the basic menu function tags. The target management terminal can be a terminal with a user account that is logged into the target user information. The target user information may further include: a usable basic menu number. The usable basic menu number can be used to identify the basic menu that the target user can use. The executing entity can update the usable basic menu number included in the target user information to the menu number of the basic menu, thereby achieving the association between the basic menu and the target user information.
[0052] As an example, the aforementioned execution entity can associate the basic menu and target user information using the following DDL (Data Definition Language): "UPDATE User Information Table SET Basic Menu Number = Menu Number WHERE Target User Number = "100";
[0053] The above embodiments of this disclosure have the following beneficial effects: the batch menu authorization method of some embodiments of this disclosure reduces the time cost of menu authorization and reduces the waste of menu configuration resources. Specifically, the reasons for the high time cost of menu authorization and the waste of menu configuration resources are as follows: First, allocating different menus according to user needs, especially when the number of users surges, increases the time cost of menu authorization. Second, different menus often contain some common function tags, and authorizing menus to each user individually will result in a waste of menu configuration resources. Based on this, the batch menu authorization method of some embodiments of this disclosure first creates a basic menu, wherein the basic menu contains at least one basic menu function tag. By encapsulating the menu function tags corresponding to the common menu functions required by different users into a basic menu, the waste of menu configuration resources caused by the repeated configuration of common menu functions is reduced. Second, the target user information corresponding to each organization information to be pushed in the organization information set is determined. In practice, the function authorization of the basic menu functions in the menu is often performed through the account and device used for function authorization in the organization. By determining the target user information corresponding to each organization information to be pushed, the target user information used for function authorization in the organization is determined. Finally, the basic menu and each target user in the target user information set are associated, thereby achieving batch authorization of the menu. Especially when the number of users surges, this method can greatly reduce time costs and the waste of menu configuration resources.
[0054] Further reference Figure 4 This illustrates a flow 400 of another embodiment of the menu bulk authorization method. The flow 400 of the menu bulk authorization method includes the following steps:
[0055] Step 401: Obtain at least one basic menu function number.
[0056] In some embodiments, the execution body of the menu batch authorization method (such as...) Figure 1 The computing device 101 shown can, firstly, obtain at least one basic menu function name from a basic menu function table. Then, it can obtain the basic menu function number corresponding to each of the at least one basic menu function name from the menu function table, thus obtaining the at least one basic menu function number. The basic menu function number can serve as identification information for the basic menu function. The basic menu function table can be a data table used to store information corresponding to basic functions.
[0057] As an example, the aforementioned execution entity can obtain at least one basic menu function name from the aforementioned basic menu function table using the following DDL (Data Definition Language): "SELECT * FROM basic menu function table;".
[0058] As another example, the aforementioned execution entity can obtain the basic menu function number corresponding to the basic menu function name from the menu function table using the following DDL (Data Definition Language): "SELECT basic menu function number FROM menu function table WHERE name = "basic menu function name";".
[0059] Step 402: Combine the basic menu function labels corresponding to each basic menu function number in at least one basic menu function number to generate a basic menu.
[0060] In some embodiments, the execution entity may combine the basic menu function labels corresponding to each basic menu function number in at least one basic menu function number to generate a basic menu. Specifically, the execution entity may fill the basic menu function labels corresponding to each basic menu function number in at least one basic menu function number into a pre-set empty menu to generate the basic menu.
[0061] Step 403: In response to receiving the target business type information and the target organization type information, filter out the organization information that meets the organization information filtering condition group as candidate organization information, and obtain the candidate organization information set.
[0062] In some embodiments, the aforementioned executing entity may, in response to receiving target business type information and target organization type information, filter out organization information that meets the organization information filtering condition set as candidate organization information, thereby obtaining a candidate organization information set. The target business type information can be used to characterize the business type corresponding to the candidate organization information to be filtered. The target business type information can be "self-operated" or "third-party." The target organization type information can be used to characterize the organization type of the organization corresponding to the candidate organization information to be filtered. The target organization type information can be "single entity" or "chain." The organization information filtering condition set may include: the business type information included in the organization information matches the target business type information; the organization type information included in the organization information matches the target organization type information. Matching the business type information included in the organization information with the target business type information may mean that the business type information included in the organization information is the same as the target business type information, or that the business type information included in the organization information has the same keywords as the target business type information. The matching of the organization type information included in the organization information with the target organization type information can be either the same as the target organization type information or the same keywords as the target organization type information.
[0063] As an example, the business type information included in the above-mentioned organization information could be "third party". The target business type information could be "third party". In this case, it can be assumed that the business type information included in the organization information has the same keywords as the target business type information.
[0064] Optionally, the aforementioned implementing entity may include candidate institution information whose institution type information is not "self-operated" in the aforementioned candidate institution information set as the institution information to be pushed, thereby obtaining the institution information set to be pushed.
[0065] Step 404: Select candidate organization information that does not contain the target menu identifier from the candidate organization information set as the organization information to be pushed, and obtain the organization information set to be pushed.
[0066] In some embodiments, the executing entity may filter candidate organization information that does not contain the target menu identifier from the candidate organization information set as the organization information to be pushed, thereby obtaining the organization information set to be pushed. The target menu identifier may be the identifier information corresponding to the basic menu.
[0067] As an example, the identifier information corresponding to the above basic menu could be "BM". The above candidate organization information set is [["Organization 1", "Self-operated", "Chain", "BM"], ["Organization 2", "Third Party", "Chain"], ["Organization 3", "Third Party", "Individual"]]. Therefore, the resulting set of organization information to be pushed can be [["Organization 2", "Third Party", "Chain"], ["Organization 3", "Third Party", "Individual"]].
[0068] Step 405: For each piece of information about an organization to be pushed to in the set of information about organizations to be pushed to, retrieve the target user information that meets the target user information filtering criteria group from the target user information table.
[0069] In some embodiments, the executing entity may, for each piece of information in the set of information to be pushed to, obtain target user information that meets a set of target user information filtering conditions from the target user information table. The information to be pushed to may include: an organization number. The target user information may include: an organization number and target user level information. The target user information filtering conditions may include: the organization number included in the target user information is the same as the organization number included in the information to be pushed to; and the target user level information included in the target user information is the same as preset level information.
[0070] Step 406: Store the target user's permission information in the user permission information table.
[0071] In some embodiments, the executing entity described above may store target user permission information in a user permission information table. This target user permission information may include target user information and the menu number of the basic menu. The user permission information table may be a data table used to store user permissions.
[0072] As an example, the aforementioned execution entity can store the target user's permission information into the user permission information table using the following DDL: "INSERT user permission information table VALUES (target user permission information);".
[0073] from Figure 4 It can be seen that, with Figure 2 Compared to the description of some corresponding embodiments, Figure 3In some corresponding embodiments, the batch authorization method for menus follows a process 400. First, at least one basic menu function number is obtained. Since the basic menu function number can serve as the identifier for a basic menu function, the corresponding basic menu function can be retrieved from the basic menu function table based on the basic menu function number. Then, at least one basic menu function is populated into a pre-set empty menu to generate a basic menu. Next, a set of candidate organization information is selected based on the target business type information and the target organization type information. In practice, there may be cases where the organization corresponding to the candidate organization information has already been authorized with a basic menu. Therefore, by determining whether the candidate organization information contains the target menu identifier, the organization information corresponding to the organization that has already been authorized with a basic menu is filtered. Second, an organization often corresponds to at least one account for menu management. Therefore, target user information that meets the conditions is selected through a target user information filtering condition group. Finally, by storing the target user permission information in a user permission information table, the binding and storage of user permissions are achieved.
[0074] Further reference Figure 5 As an implementation of the methods shown in the above figures, this disclosure provides some embodiments of a menu batch authorization device, which are similar to... Figure 2 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.
[0075] like Figure 5 As shown, a menu batch authorization device 500 in some embodiments includes: a creation unit 501, a determination unit 502, and an association unit 503. The creation unit 501 is configured to create a basic menu, wherein the basic menu includes at least one basic menu function label; the determination unit 502 is configured to determine the target user information corresponding to each piece of information in the set of information to be pushed to, thereby obtaining a target user information set, wherein the information to be pushed to is the information corresponding to organizations that have not been distributed the basic menu; the association unit 503 is configured to associate the basic menu with each piece of target user information in the target user information set, so that a target management terminal assigns the user access permission for the basic menu function corresponding to the basic menu function label to the user, wherein the target management terminal is a terminal that has logged into the user account included in the target user information.
[0076] In some optional implementations of embodiments, before determining the target user information corresponding to each organization information in the set of organization information to be pushed, the device 500 further includes: in response to receiving target business type information and target organization type information, filtering out organization information that meets the organization information filtering condition group as candidate organization information to obtain a set of candidate organization information, wherein the organization information filtering condition group includes: the business type information included in the organization information matches the target business type information; and the organization type information included in the organization information matches the target organization type information.
[0077] In some optional implementations of the embodiments, the apparatus 500 further includes: filtering out candidate organization information that does not contain the target menu identifier from the above-mentioned candidate organization information set as organization information to be pushed, thereby obtaining an organization information set to be pushed.
[0078] In some optional implementations of embodiments, the creation unit 501 is configured to: obtain at least one basic menu function number;
[0079] The basic menu is generated by combining the basic menu function labels corresponding to each basic menu function number in at least one of the above basic menu function numbers.
[0080] In some optional implementations of the embodiments, the aforementioned organization information to be pushed includes: organization number; the aforementioned target user information includes: affiliated organization number and target user level information; and the determining unit 502 is configured to: for each piece of organization information to be pushed in the aforementioned set of organization information to be pushed, obtain target user information that meets the target user information filtering condition group from the target user information table, wherein the aforementioned target user information filtering condition group includes: the affiliated organization number included in the target user information is the same as the organization number included in the aforementioned organization information to be pushed; and the target user level information included in the target user information is the same as the preset level information.
[0081] In some optional implementations of the embodiments, the association unit 503 is configured to store the target user permission information in a user permission information table, wherein the target user permission information includes the target user information and the menu number of the basic menu.
[0082] The following is for reference. Figure 6 It illustrates electronic devices suitable for implementing some embodiments of the present disclosure (such as...). Figure 1 The diagram shows the structure of the computing device 101)600. Figure 6 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.
[0083] like Figure 6As shown, electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 602 or a program loaded from storage device 608 into random access memory (RAM) 603. RAM 603 also stores various programs and data required for the operation of electronic device 600. Processing device 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.
[0084] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 An electronic device 600 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 6 Each box shown can represent a device or multiple devices as needed.
[0085] In particular, according to some embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, it performs the functions defined above in the methods of some embodiments of this disclosure.
[0086] It should be noted that, in some embodiments of this disclosure, the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0087] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0088] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device. The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: create a basic menu, wherein the basic menu includes at least one basic menu function label; determine the target user information corresponding to each piece of information to be pushed to in the set of information to be pushed to, obtaining a set of target user information, wherein the information to be pushed to is the information corresponding to organizations that have not been distributed the aforementioned basic menu; associate the aforementioned basic menu with each piece of target user information in the set of target user information, so that a target management terminal assigns the user access rights to the basic menu function corresponding to the basic menu function label to the user, wherein the target management terminal is a terminal that has logged into the user account included in the target user information.
[0089] Computer program code for performing operations of some embodiments of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0090] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0091] The units described in some embodiments of this disclosure can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor may be described as including a creation unit, a determination unit, and an association unit. The names of these units do not necessarily limit the unit itself; for example, a creation unit may also be described as a "unit for creating a basic menu."
[0092] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0093] The above description is merely a selection of preferred embodiments of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.
Claims
1. A menu batch authorization method, comprising: creating a base menu, wherein the base menu comprises at least one base menu function tag, each of the at least one base menu function tag being a menu function tag corresponding to a common menu function required by different users; determining target user information corresponding to each of to-be-pushed institution information in a to-be-pushed institution information set, to obtain a target user information set, wherein the to-be-pushed institution information is institution information corresponding to an institution that has not been distributed the base menu; associating the base menu with each of the target user information in the target user information set, so that a target management terminal allocates a use right of a base menu function corresponding to a base menu function tag to a user, wherein the target management terminal is a terminal that has logged in a user account included in the target user information.
2. The method of claim 1, wherein, Before the determining, the method further comprises: in response to receiving target business type information and target institution type information, filtering out institution information satisfying an institution information filtering condition group as candidate institution information, to obtain a candidate institution information set, wherein the institution information filtering condition group comprises: business type information included in the institution information matches the target business type information; and institution type information included in the institution information matches the target institution type information.
3. The method of claim 2, wherein, The method further comprises: screening out candidate institution information not containing a target menu identifier from the candidate institution information set as to-be-pushed institution information, to obtain the to-be-pushed institution information set.
4. The method of claim 1, wherein, The creating the base menu comprises: obtaining at least one base menu function number; combining base menu function tags corresponding to each of the at least one base menu function number, to generate the base menu.
5. The method of claim 1, wherein, The to-be-pushed institution information comprises an institution number, and the target user information comprises an affiliated institution number and target user level information; and The determining target user information corresponding to each of to-be-pushed institution information in a to-be-pushed institution information set, to obtain a target user information set, comprises: for each of the to-be-pushed institution information in the to-be-pushed institution information set, obtaining target user information satisfying a target user information screening condition group from a target user information table, wherein the target user information screening condition group comprises: the affiliated institution number included in the target user information is the same as the institution number included in the to-be-pushed institution information; and the target user level information included in the target user information is the same as preset level information.
6. The method of claim 1, wherein, The associating the base menu with each of the target user information in the target user information set comprises: storing target user right information to a user right information table, wherein the target user right information comprises the target user information and a menu number of the base menu. 7.A menu batch authorization apparatus, comprising: The creating unit is configured to create a base menu, wherein the base menu comprises at least one base menu function tag, and each of the at least one base menu function tag is a menu function tag corresponding to a common menu function required by different users; The determining unit is configured to determine target user information corresponding to each of the to-be-pushed organization information in a to-be-pushed organization information set, to obtain a target user information set, wherein the to-be-pushed organization information is organization information corresponding to an organization that has not distributed the base menu; The association unit is configured to associate the base menu with each of the target user information in the target user information set, so that a target management terminal allocates a use right of a base menu function corresponding to a base menu function tag to a user.
8. The apparatus of claim 7, wherein, The association unit is further configured to: store target user right information into a user right information table, wherein the target user right information comprises target user information and a menu number of the base menu. 9.An electronic device, comprising: one or more processors; a memory device having stored thereon one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 6.
10. A computer readable medium having stored thereon a computer program, wherein, The program is executed by the processor to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
System menu option management method and processing equipment
CN107688423A
User authority management method and system, equipment and storage medium
CN110941839A