Business unit management method, computer readable storage medium and terminal device

By splitting business units into functional units and authorizing access according to user levels, the problems of low resource usage efficiency and difficult management in the existing technology are solved, and independent permission management and resource saving are achieved.

CN109376508BInactive Publication Date: 2024-08-23CHINA PING AN LIFE INSURANCE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201811122686.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-26
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing business unit management system, resource usage is inefficient and management is difficult, resulting in the functions of different business units being deployed on the same server, affecting the operation of the entire business. Once a problem occurs in one business unit, it will affect other business units.

Method used

Split multiple business units of the preset system into functional units, establish a mapping relationship between user levels and functional units based on the preset user levels, receive service requests from users, determine whether they are authorized, and if authorized, send authorization instructions to Allow access to the corresponding functional unit.

Benefits of technology

It achieves user-level authority management and independently configures each business unit, solving difficult management problems, saving manpower and resources, and ensuring system stability and resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109376508B
    Figure CN109376508B
Patent Text Reader

Abstract

The present invention belongs to the field of computer technology, and in particular, relates to a business unit management method, a computer-readable storage medium, and a terminal device. The method comprises: splitting a plurality of business units of a preset system into at least one functional unit respectively; establishing a mapping relationship between the user level and the functional unit corresponding to the user level according to a preset user level; receiving a service request sent by a user terminal; judging whether the service request is authorized according to the user level carried in the service request and the mapping relationship; if the service request is authorized, sending an authorization instruction to the user terminal to instruct the user terminal to access the functional unit requested by the user terminal according to the authorization instruction. The method, computer-readable storage medium, and terminal device can automatically, efficiently, and flexibly manage business units, solving the problem of difficult management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a business unit management method, a computer-readable storage medium and a terminal device. Background Art

[0002] In the existing management of business units, the functions of business units in most management systems are deployed in an aggregated and merged manner, and the functions of different business units are deployed on the same server. Once a problem occurs in one or some functions of a business unit, the other functions of the business unit will also be affected, which will affect the operation of the entire business and have an impact on other business units in the management system. The resource utilization efficiency is low and there are management difficulties. Summary of the invention

[0003] The embodiments of the present invention provide a business unit management method, a computer-readable storage medium and a terminal device, which can automatically, efficiently and flexibly manage business units and solve the problem of management difficulties.

[0004] A first aspect of an embodiment of the present invention provides a method for managing a business unit, which may include:

[0005] Split each of the multiple business units of the preset system into at least one functional unit;

[0006] According to a preset user level, a mapping relationship between the user level and the functional unit corresponding to the user level is established;

[0007] Receiving a service request sent by a user terminal, wherein the service request carries a user level corresponding to the user terminal and a functional unit requested to be accessed by the user terminal;

[0008] Determining whether the service request is authorized according to the user level carried in the service request and the mapping relationship;

[0009] If the service request is authorized, an authorization instruction is sent to the user terminal to instruct the user terminal to access the functional unit requested by the user terminal according to the authorization instruction.

[0010] According to a second aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0011] Split each of the multiple business units of the preset system into at least one functional unit;

[0012] According to a preset user level, a mapping relationship between the user level and the functional unit corresponding to the user level is established;

[0013] Receiving a service request sent by a user terminal, wherein the service request carries a user level corresponding to the user terminal and a functional unit requested to be accessed by the user terminal;

[0014] Determining whether the service request is authorized according to the user level carried in the service request and the mapping relationship;

[0015] If the service request is authorized, an authorization instruction is sent to the user terminal to instruct the user terminal to access the functional unit requested by the user terminal according to the authorization instruction.

[0016] According to a third aspect of an embodiment of the present invention, a terminal device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0017] Split each of the multiple business units of the preset system into at least one functional unit;

[0018] According to a preset user level, a mapping relationship between the user level and the functional unit corresponding to the user level is established;

[0019] Receiving a service request sent by a user terminal, wherein the service request carries a user level corresponding to the user terminal and a functional unit requested to be accessed by the user terminal;

[0020] Determining whether the service request is authorized according to the user level carried in the service request and the mapping relationship;

[0021] If the service request is authorized, an authorization instruction is sent to the user terminal to instruct the user terminal to access the functional unit requested by the user terminal according to the authorization instruction.

[0022] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: the embodiments of the present invention first split the multiple business units of the preset system into at least one functional unit, and match at least one functional unit with a preset user level, establish a mapping relationship between the user level and the functional unit corresponding to the user level, so that different user levels are authorized to access different functional units, and after the matching is completed, receive a service request sent by the user end, and determine whether the service request is authorized based on the user level and the mapping relationship carried in the service request. If the service is authorized, send an authorization instruction to the user end to implement the authority management of the business unit corresponding to the user level. Compared with the prior art, in the implementation of the present invention, in the process of managing multiple business units, different business units in the system can be configured separately, and the user level matching at least one functional unit can be configured to make each business unit independent of each other, so as to implement the authority management of the business unit corresponding to the user level, solve the problem of difficult management, save manpower and save resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0024] Figure 1 A flowchart of an embodiment of a method for managing a business unit in an embodiment of the present invention;

[0025] Figure 2 A schematic flow chart of establishing a mapping relationship between the user level and the functional unit corresponding to the user level in an embodiment of the present invention;

[0026] Figure 3 This is a flow chart of another embodiment of a method for managing a business unit in an embodiment of the present invention;

[0027] Figure 4 A schematic flow chart of determining whether there is a functional unit that needs to be prohibited from authorization in an embodiment of the present invention;

[0028] Figure 5 This is a flow chart of another embodiment of a method for managing a business unit in an embodiment of the present invention;

[0029] Figure 6 A structural diagram of an embodiment of a management device for a business unit in an embodiment of the present invention;

[0030] Figure 7 The present invention is a schematic block diagram of a terminal device in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] See also Figure 1 An embodiment of a method for managing a business unit in an embodiment of the present invention may include:

[0033] Step S101: splitting a plurality of business units of a preset system into at least one functional unit respectively.

[0034] In this embodiment, the preset system may be a system used in the computer field, and the preset system includes a plurality of business units, and the plurality of business units may be split according to their functions. For any of the plurality of business units, the business unit may be split into at least one functional unit. Among them, the plurality of business units may be split into a plurality of identical functional units, or may be split into at least one correspondingly different functional unit. The plurality of business units may include a marketing business line management unit, a regional expansion business line management unit, a supervision business line management unit, etc., and the functional unit may include at least one of the following: a core service unit, a general interface unit, a user service unit, an authentication service unit, a configuration service unit, and a data center service unit. For example, the marketing business line management unit may be split into a core service unit, a general interface unit, a user service unit, an authentication service unit, a configuration service unit, and a data center service unit.

[0035] Step S102: establishing a mapping relationship between the user level and the functional unit corresponding to the user level according to the preset user level.

[0036] In this embodiment, users are divided into levels according to the regions where they are located. For example, the region where the headquarters is located is the first-level region, and the region where the directly subordinate branch is located is the second-level region. And so on, based on the branching relationship of the trunk and branches of a tree, the regions where the users are located are divided into first-level, second-level, and third-level, etc. Then, users in the first-level region are first-level users, users in the second-level region are second-level users, users in the third-level region are third-level users, and so on. For example, the first level can be the headquarters level, the second level can be the agency level, and the third level can be the back office level.

[0037] According to the needs of the user's area, multiple functional units matching the user level are configured, and a mapping relationship is formed between the user level and the functional unit corresponding to the user level. When the user level is obtained, the functional unit that can be operated or used by the user level can be obtained according to the mapping relationship. For example, if a first-level user needs core services, authentication services, configuration services, and data center services, it is only necessary to configure the core service functional unit, authentication service functional unit, configuration service functional unit, and data center service functional unit for the first-level user.

[0038] Step S103: receiving a service request sent by a user terminal, wherein the service request carries a user level corresponding to the user terminal and a functional unit that the user terminal requests to access.

[0039] In this embodiment, a service request sent by a user terminal is waited for, wherein the service request may include any of the following: a core service request, a general interface request, a user service request, an authentication service request, a configuration service request, and a data center service request, and the service request sent by the user terminal carries the user level corresponding to the user terminal and the functional unit requested to be accessed. If a service request sent by one or some user terminals is received, it is determined whether the service request is a core service request, a general interface request, a user service request, an authentication service request, or a configuration service request, and the user level corresponding to the user terminal and the functional unit requested to be accessed carried in the service request are obtained.

[0040] Step S104: judging whether the service request is authorized according to the user level carried in the service request and the mapping relationship.

[0041] In this embodiment, based on the user level and mapping relationship carried in the service request, a functional unit matching the user level carried in the service request is obtained, and whether the service request is authorized is determined by comparing whether the functional unit requested to be accessed carried in the service request belongs to the functional unit matching the user level. If the functional unit requested to be accessed carried in the service request belongs to the functional unit matching the user level, then the service request is authorized.

[0042] Step S105: If the service request is authorized, an authorization instruction is sent to the user terminal to instruct the user terminal to access the functional unit requested by the user terminal according to the authorization instruction.

[0043] In this embodiment, if the service request is authorized, an authorization instruction is generated, and the authorization instruction carries the identifier of the user terminal. At the same time, the authorization instruction is sent to the corresponding user terminal according to the identifier of the user terminal to instruct the corresponding user terminal to access the functional unit requested by the user terminal according to the authorization instruction. The authorization instruction can be pushed to the display interface of the user terminal by pushing, and the user of the user terminal obtains the path to access the corresponding functional unit by confirming the authorization instruction, and accesses the corresponding functional unit.

[0044] In this embodiment, firstly, the multiple business units of the preset system are respectively split into at least one functional unit, and at least one functional unit is matched with the preset user level, and a mapping relationship between the user level and the functional unit corresponding to the user level is established, so that different user levels are authorized to access different functional units. After the matching is completed, a service request sent by the user end is received, and according to the user level and the mapping relationship carried in the service request, it is determined whether the service request is authorized. If the service is authorized, an authorization instruction is sent to the user end to implement the authority management of the business unit corresponding to the user level. Compared with the prior art, in the implementation of the present invention, in the process of managing multiple business units, different business units in the system can be configured separately, and the user level matching at least one functional unit can be configured so that each business unit is independent of each other, and the authority management of the business unit corresponding to the user level is implemented, which solves the problem of difficult management, saves manpower and saves resources.

[0045] Preferably, see Figure 2 The schematic flow chart of establishing the mapping relationship between the user level and the functional unit corresponding to the user level in the embodiment of the present invention shown in the figure, according to the preset user level, establishing the mapping relationship between the user level and the functional unit corresponding to the user level can be implemented by the following steps S201 to S203:

[0046] Judging whether there is an abnormality in the updated insurance policy system according to the initial performance information and the updated performance information of the insurance policy may include:

[0047] Step S201, presetting a user level for the user terminal according to the area where the user terminal is located;

[0048] Step S202, configuring a matching functional unit for the area where the user terminal is located according to the area where the user terminal is located;

[0049] Step S203: for any user level among the preset user levels, a mapping relationship is established between the user level and the functional unit corresponding to the user level.

[0050] In this embodiment, the user terminal is divided into multiple levels according to the area where the user terminal is located. For example, the area where the headquarters is located is the first-level area, the area where the direct subordinate branch of the first-level area is the second-level area, and the area where the direct subordinate branch of the second-level area is the third-level area, etc. A mapping relationship is established between the area where the user terminal is located and the user level. According to the mapping relationship between the area where the user terminal is located and the user level, the user level can be determined according to the area where the user terminal is located. According to the demand of the area where the user terminal is located for the use of the functional unit in the business unit of the preset system, or according to the permission setting of the area where the user terminal is located for the use of the preset system, a matching functional unit is configured for the area where the user terminal is located, wherein each level of the user terminal is configured with an authentication service functional unit and a configuration service functional unit.

[0051] For each user level in the preset user levels, a mapping relationship is established between each user level and the functional unit corresponding to the user level. Through the mapping relationship established between each user level and the functional unit corresponding to the user level, the functional unit matching the user terminal can be determined according to the user level corresponding to the user terminal, and then the service request that the user terminal can be authorized to access can be obtained. Through the mapping relationship established between each user level and the functional unit corresponding to the user level, the functional unit to be accessed by the service request sent by the user terminal can be obtained, the user level is determined by the user terminal, and the functional unit that the user level can access is determined according to the user level and the mapping relationship, and then it is determined whether the service request can be authorized. By establishing the mapping relationship, management of different user terminals can be achieved.

[0052] Optional, see Figure 3 The flowchart of another embodiment of a method for managing a business unit in an embodiment of the present invention is shown. The method for managing a business unit may further include the following steps:

[0053] Step S301, obtaining the operation information of the functional unit requested to be accessed.

[0054] In this embodiment, after the functional unit requesting access is authorized for use, it is necessary to monitor the functional unit requesting access in real time. By monitoring the operation information of the functional unit requesting access, efficient and low-power monitoring of the functional unit can be achieved.

[0055] Among them, the operation information may include: user registration information, the source identifier of the user terminal, the start time of the operation, the end time of the operation and the operation status; the area where the user terminal is located can be obtained through the source identifier of the user terminal, and the operation status may include any one of the following: successful operation, failed operation, abnormal operation, wherein the corresponding identifiers of successful operation, failed operation, and abnormal operation are 0, 1, and 2, and the operation information of the functional unit requested to be accessed is obtained, and the operation information is stored in the log table of the preset system. The operation status stored in the log table is the identifier corresponding to the operation status, wherein the start execution time and the end execution time of the scheduled task with abnormal operation are the same.

[0056] Step S302: judging whether there is a functional unit that needs to be prohibited from authorization based on the operation information of the functional unit requesting access.

[0057] See also Figure 4 As shown in the schematic flow chart of determining whether there is a functional unit that needs to be prohibited from authorization, step S302 may also include:

[0058] Step S401, judging whether the functional unit requested to be accessed by the user terminal is operating abnormally according to the operating status in the operating information of the functional unit requested to be accessed;

[0059] Step S402: If there is an abnormally operating functional unit among the functional units that the user terminal requests to access, the abnormally operating functional unit is the functional unit that needs to be prohibited from authorization.

[0060] In this embodiment, the operation information of the functional unit requested for access is read from the log table, and the operation status in the operation information can be obtained. According to the identifier of the operation status, it is determined whether the operation of the functional unit requested for access is normal. If the operation of the functional unit requested for access fails or runs abnormally, it means that the operation of the functional unit requested for access is abnormal, and the functional unit requested for access needs to be maintained. If the operation of the functional unit requested for access fails, an operation failure instruction is generated, and the operation failure instruction carries the client source identifier and the identifier carried by the functional unit that failed to run. The operation failure instruction is sent to the corresponding client, and the user of the client needs to further confirm the operation failure problem and feedback. If there is an abnormal functional unit in the functional unit requested for access, it means that the abnormal functional unit has a fault problem, and the use of the abnormal functional unit needs to be stopped. The abnormal functional unit is a functional unit that needs to be prohibited from authorization.

[0061] Step S303: If there is a functional unit that needs to be prohibited from authorization, the permission of the functional unit that needs to be prohibited from authorization is configured from a preset configuration file to prohibit authorization.

[0062] Step S304: Send a prohibition authorization instruction to the user terminal, wherein the prohibition authorization instruction includes an identifier carried by the functional unit requiring prohibition authorization, so as to instruct the user terminal to terminate access to the functional unit requiring prohibition authorization according to the prohibition authorization instruction.

[0063] In this embodiment, if it is monitored that there is a functional unit that needs to be prohibited from authorization, the permission of the functional unit that needs to be prohibited from authorization is configured from the preset configuration file to prohibit authorization. At the same time, a prohibition authorization instruction can be generated, and the prohibition authorization instruction carries a client source identifier and an identifier of the functional unit that needs to be prohibited from authorization. The prohibition authorization instruction is sent to the corresponding user terminal to indicate that the corresponding user terminal is no longer authorized to access the functional unit that needs to be prohibited from authorization. The functional unit can be further maintained to reduce the impact on the preset system performance, and does not affect the use of other functional units of the business unit or other business units corresponding to the functional unit that needs to be prohibited from authorization, thereby achieving an isolation effect between functions, and no interference between business units and functional units.

[0064] In this embodiment, by monitoring the operation information of the functional units requesting access in real time, it is determined whether there are functional units that need to be prohibited from authorization, that is, whether there are abnormal functional units, and the permissions of the abnormal functional units are configured to prohibit authorization from the preset configuration file, and a prohibition authorization instruction is sent to the user terminal to instruct the user terminal to end the access to the functional units that need to be prohibited from authorization according to the prohibition authorization instruction. This can achieve an isolation effect between functions. Once a problem occurs in a functional unit, it will not affect the use of other functions of each business unit, so that resources can be fully utilized to maximize resource utilization.

[0065] Optional, see Figure 5 The flowchart of another embodiment of a method for managing a business unit in an embodiment of the present invention is shown. The method for managing a business unit may further include:

[0066] Step S501, if the service request is not authorized, determining the upper level user terminal of the user level corresponding to the user terminal according to the user level carried in the service request;

[0067] Step S502, sending the unauthorized service request to a user terminal at an upper level of the user level corresponding to the user terminal;

[0068] Step S503, receiving feedback information sent by the upper-level user terminal, wherein the feedback information is used to indicate whether to agree to authorize the unauthorized service request;

[0069] Step S504: If the upper-level user terminal agrees to authorize the unauthorized service request, the permission of the functional unit corresponding to the unauthorized service request is configured from the preset configuration file to agree to authorization, and an authorization agreement instruction is sent to the user terminal, wherein the authorization agreement instruction carries a preset time limit, and the preset time limit is used to indicate that the user of the user terminal must complete the access within the preset time.

[0070] In this embodiment, if the corresponding functional unit in the service request sent by the user terminal is not in the functional unit accessible to the corresponding user level, it means that the service request is not authorized. Then, according to the user level carried in the service request, the user terminal of the upper level of the user level corresponding to the user terminal is determined. For example, if the user level corresponding to the user terminal sending the service request is a second-level user, then the user level corresponding to the upper level of the user level corresponding to the user terminal is a first-level user. If the service request is not authorized, the server needs to send the unauthorized service request to the upper level of the user level corresponding to the user terminal, that is, the user terminal corresponding to the first-level user, and needs to wait for the upper level of the user level to send feedback information to determine whether the upper level user terminal agrees to authorize the unauthorized service request. If the upper level user terminal agrees to authorize the unauthorized service request, the permission of the functional unit corresponding to the unauthorized service request is configured from the preset configuration file as consent authorization, and a consent authorization instruction is sent to the user terminal, so as to realize the management of the user terminal or user level usage permission.

[0071] In summary, in the implementation of the present invention, in the process of managing multiple business units, different business units in the system can be configured separately, and user levels matching at least one functional unit can be configured to make each business unit independent of each other, and the authority management of the business unit corresponding to the user level can be realized, which solves the problem of difficult management, saves manpower and saves resources. Then, by real-time monitoring of the operation information of the functional unit requesting access, the functional unit with abnormal operation is prohibited from being authorized to use, and the isolation effect between functions can be achieved. Once a certain functional unit has a problem, it will not affect the use of other functions of each business unit, and resources can be fully utilized to maximize resource utilization. At the same time, for unauthorized service requests, it is necessary to send an authorization consent instruction through the upper-level user terminal to realize the authorization of unauthorized service requests. At the same time, the use time of the service request that agrees to be authorized is limited to avoid other user terminals that can normally use the service request from being unable to use it quickly, causing data congestion, improving the security performance of the preset system, and realizing the management of user terminal or user level usage rights.

[0072] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0073] Corresponding to the management method of a business unit described in the above embodiment, Figure 6 A structural diagram of an embodiment of a service unit management device provided by an embodiment of the present invention is shown.

[0074] In this embodiment, a management device for a business unit may include:

[0075] The business unit splitting module 601 is used to split the multiple business units of the preset system into at least one functional unit respectively;

[0076] A mapping relationship establishing module 602, used to establish a mapping relationship between the user level and the functional unit corresponding to the user level according to a preset user level;

[0077] The service request receiving module 603 is used to receive a service request sent by a user terminal, wherein the service request carries the user level corresponding to the user terminal and the functional unit requested to be accessed by the user terminal;

[0078] A determination module 604 is used to determine whether the service request is authorized according to the user level carried in the service request and the mapping relationship;

[0079] The authorization instruction sending module 605 is used to send an authorization instruction to the user terminal when the service request is authorized, so as to instruct the user terminal to access the functional unit requested by the user terminal according to the authorization instruction.

[0080] Furthermore, the mapping relationship establishing module 602 is specifically used to: pre-set a user level for the user terminal according to the area where the user terminal is located;

[0081] According to the area where the user terminal is located, a matching functional unit is configured for the area where the user terminal is located;

[0082] For any user level among the preset user levels, a mapping relationship is established between the user level and the functional unit corresponding to the user level.

[0083] Preferably, the management device of the business unit may further include: an operation information acquisition module, used to acquire the operation information of the functional unit requested for access;

[0084] The authorization prohibition judgment module is used to judge whether there is a functional unit that needs to be prohibited from authorization according to the operation information of the functional unit requested to access;

[0085] The authorization prohibition configuration module is used to configure the permission of the functional unit that needs to be prohibited from authorization to prohibit authorization from a preset configuration file when there is a functional unit that needs to be prohibited from authorization;

[0086] The authorization prohibition instruction sending module is used to send an authorization prohibition instruction to the user terminal, wherein the authorization prohibition instruction includes an identifier carried by the functional unit that needs to be prohibited from authorization, so as to instruct the user terminal to end the access to the functional unit that needs to be prohibited from authorization according to the authorization prohibition instruction.

[0087] Preferably, the authorization prohibition judgment module is specifically used to: judge whether the function unit requested to be accessed by the user terminal is operating abnormally according to the operation status in the operation information of the function unit requested to be accessed;

[0088] If there is an abnormally operating functional unit among the functional units that the user terminal requests to access, the abnormally operating functional unit is the functional unit that needs to be prohibited from authorization.

[0089] Preferably, the management device of the business unit may further include: a determination module, for determining, when the service request is not authorized, a user terminal at a higher level of the user level corresponding to the user terminal according to the user level carried in the service request;

[0090] A sending module, used for sending the unauthorized service request to a user terminal at a higher level of the user level corresponding to the user terminal;

[0091] A feedback information receiving module, used to receive feedback information sent by the upper-level user terminal, wherein the feedback information is used to indicate whether to agree to authorize the unauthorized service request;

[0092] The consent authorization processing module is used to configure the permissions of the functional unit corresponding to the unauthorized service request from the preset configuration file as consent authorization when the upper-level user terminal agrees to authorize the unauthorized service request, and send a consent authorization instruction to the user terminal, wherein the consent authorization instruction carries a preset time limit, and the preset time limit is used to indicate that the user of the user terminal must complete the access within the preset time.

[0093] Figure 7 A schematic block diagram of a terminal device provided by an embodiment of the present invention is shown. For ease of explanation, only the parts related to the embodiment of the present invention are shown.

[0094] In this embodiment, the terminal device 7 includes: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70, such as a computer program for executing the above-mentioned business unit management method. When the processor 70 executes the computer program 72, the steps in the above-mentioned business unit management method embodiments are implemented, such as Figure 1 Alternatively, when the processor 70 executes the computer program 72, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 6 Functions of modules 601 to 605 are shown.

[0095] Exemplarily, the computer program 72 may be divided into one or more modules / units, which are stored in the memory 71 and executed by the processor 70 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 72 in the terminal device 7.

[0096] The terminal device 7 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will appreciate that Figure 7 It is only an example of the terminal device 7 and does not constitute a limitation on the terminal device 7. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0097] The processor 70 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0098] The memory 71 may be an internal storage unit of the terminal device 7, such as a hard disk or memory of the terminal device 7. The memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the terminal device 7. The memory 71 is used to store the computer program and other programs and data required by the terminal device. The memory 71 may also be used to temporarily store data that has been output or is to be output.

[0099] In addition, each functional unit in each embodiment of the present invention 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0100] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. 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 invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0101] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A business unit management method, characterized in that: include: Splitting multiple business units of the preset system into at least one functional unit according to their functions; According to a preset user level, a mapping relationship between the user level and the functional unit corresponding to the user level is established; Receiving a service request sent by a user terminal, wherein the service request carries a user level corresponding to the user terminal and a functional unit requested to be accessed by the user terminal; Determining whether the service request is authorized according to the user level carried in the service request and the mapping relationship; If the service request is authorized, sending an authorization instruction to the user terminal to instruct the user terminal to access the functional unit requested by the user terminal according to the authorization instruction; The method further comprises: Obtaining the operation information of the functional unit requested for access; Determining whether there is a functional unit that needs to be prohibited from authorization based on the operation information of the functional unit requested to be accessed; If there is a functional unit that needs to be prohibited from authorization, the permission of the functional unit that needs to be prohibited from authorization is configured to prohibit authorization from the preset configuration file; Sending a prohibition authorization instruction to the user terminal, wherein the prohibition authorization instruction includes an identifier carried by the functional unit that needs to be prohibited from authorization, so as to instruct the user terminal to end access to the functional unit that needs to be prohibited from authorization according to the prohibition authorization instruction; The determining, based on the operation information of the functional unit requested for access, whether there is a functional unit that needs to be prohibited from authorization includes: Determining whether the functional unit requested to be accessed by the user terminal is operating abnormally according to the operating status in the operating information of the functional unit requested to be accessed; If there is a functional unit that fails to run or runs abnormally among the functional units that the user terminal requests to access, the functional unit that runs abnormally is the functional unit that needs to be prohibited from authorization.

2. The business unit management method according to claim 1, characterized in that: The establishing, according to the preset user level, a mapping relationship between the user level and the functional unit corresponding to the user level comprises: presetting a user level for the user terminal according to the area where the user terminal is located; According to the area where the user terminal is located, a matching functional unit is configured for the area where the user terminal is located; For any user level among the preset user levels, a mapping relationship is established between the user level and the functional unit corresponding to the user level.

3. The business unit management method according to claim 1, characterized in that: The method further includes: If the service request is not authorized, determining a user terminal at a higher level of the user level corresponding to the user terminal according to the user level carried in the service request; Sending the unauthorized service request to a user terminal at a higher level of the user level corresponding to the user terminal; receiving feedback information sent by the upper-level user terminal, wherein the feedback information is used to indicate whether to agree to authorize the unauthorized service request; If the upper-level user terminal agrees to authorize the unauthorized service request, the permission of the functional unit corresponding to the unauthorized service request is configured from the preset configuration file to agree to authorization, and a consent authorization instruction is sent to the user terminal, wherein the consent authorization instruction carries a preset time limit, and the preset time limit is used to indicate that the user of the user terminal must complete the access within the preset time.

4. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the business unit management method according to any one of claims 1 to 3 are implemented.

5. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the following steps are implemented: Splitting multiple business units of the preset system into at least one functional unit according to their functions; According to a preset user level, a mapping relationship between the user level and the functional unit corresponding to the user level is established; Receiving a service request sent by a user terminal, wherein the service request carries a user level corresponding to the user terminal and a functional unit requested to be accessed by the user terminal; Determining whether the service request is authorized according to the user level carried in the service request and the mapping relationship; If the service request is authorized, sending an authorization instruction to the user terminal to instruct the user terminal to access the functional unit requested by the user terminal according to the authorization instruction; When the processor executes the computer program, the following steps are also implemented: Obtaining the operation information of the functional unit requested for access; Determining whether there is a functional unit that needs to be prohibited from authorization based on the operation information of the functional unit requested to be accessed; If there is a functional unit that needs to be prohibited from authorization, the permission of the functional unit that needs to be prohibited from authorization is configured to prohibit authorization from the preset configuration file; Sending a prohibition authorization instruction to the user terminal, wherein the prohibition authorization instruction includes an identifier carried by the functional unit that needs to be prohibited from authorization, so as to instruct the user terminal to end access to the functional unit that needs to be prohibited from authorization according to the prohibition authorization instruction; The determining, based on the operation information of the functional unit requested for access, whether there is a functional unit that needs to be prohibited from authorization includes: Determining whether the functional unit requested to be accessed by the user terminal is operating abnormally according to the operating status in the operating information of the functional unit requested to be accessed; If there is a functional unit that fails to run or runs abnormally among the functional units that the user terminal requests to access, the functional unit that runs abnormally is the functional unit that needs to be prohibited from authorization.

6. The terminal device according to claim 5, characterized in that: The establishing, according to the preset user level, a mapping relationship between the user level and the functional unit corresponding to the user level comprises: presetting a user level for the user terminal according to the area where the user terminal is located; According to the area where the user terminal is located, a matching functional unit is configured for the area where the user terminal is located; For any user level among the preset user levels, a mapping relationship is established between the user level and the functional unit corresponding to the user level.

Citation Information

Patent Citations

  • Distributed dual-license and access control method and system

    CN101631116A

  • Universal permission management system and universal permission management method

    CN103632082A

  • Resource safety access method and system

    CN105208042A

  • Authority management method, device and system

    CN105516136A

  • Permission control method based on multi-layer hierarchy system

    CN105787317A