CN107968771B - Authority management method and device based on photovoltaic management system - Google Patents
Authority management method and device based on photovoltaic management system Download PDFInfo
- Publication number
- CN107968771B CN107968771B CN201610913552.0A CN201610913552A CN107968771B CN 107968771 B CN107968771 B CN 107968771B CN 201610913552 A CN201610913552 A CN 201610913552A CN 107968771 B CN107968771 B CN 107968771B
- Authority
- CN
- China
- Prior art keywords
- authority
- subsystem
- service application
- user
- management unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/20—Network architectures or network communication protocols for network security for managing network security; network security policies in general
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides a photovoltaic management system-based authority management method and device. The authority management method based on the photovoltaic management system comprises the steps of obtaining a first query request of a first user, wherein the first query request comprises an identifier of a service application to be queried, and the query request is used for querying a second user having authority on the service application; inquiring the production management subsystem and the superior system according to the first inquiry request to obtain a first inquiry result, wherein the first inquiry result comprises a second user with authority on the service application; and sending the first query result to the first user so that the business application is distributed to the second user by the first user. The authority management method and the authority management device based on the photovoltaic management system can acquire users having authority on certain service application in a small photovoltaic power station management system and can also acquire users having authority on certain service application in a large photovoltaic power station management system.
Description
Technical Field
The embodiment of the invention relates to a communication engineering technology, in particular to a photovoltaic management system-based authority management method and device.
Background
Generally, the authority system mainly solves the problem of "who" performs "what operation on" what resource ", that is, the problem of the elements of the user, the role, the functional resource, and the like. In a photovoltaic management system, rights management refers to which rights a user has when accessing a certain power station, and different users have different roles.
The photovoltaic management system comprises a small photovoltaic power station management system and a large photovoltaic power station management system. The large photovoltaic power station management system comprises a centralized operation and maintenance subsystem, a production management subsystem and a monitoring subsystem, wherein the centralized operation and maintenance subsystem manages a plurality of production management subsystems, and at the moment, the centralized operation and maintenance subsystem is an upper-level system and the production management subsystem is a lower-level system; the small photovoltaic power station management system comprises a production management subsystem and a monitoring subsystem, wherein the production management subsystem is an upper-level system and is not a lower-level system. In a small photovoltaic power station management system, a user with authority for a certain service application needs to be inquired so as to distribute the service application to the user with the authority for the service application, and at the moment, the user with the authority for the service application only needs to be inquired in an authority management list in a superior system-production management subsystem. In the large-scale photovoltaic power station management system, a user having an authority on a certain service application also needs to be queried so as to distribute the service application to the user having the authority on the service application, and at this time, not only the user having the authority on the service application in the production management subsystem needs to be queried in the authority management unit in the lower-level system-production management subsystem, but also the user having the authority on the service application in the centralized operation and maintenance subsystem needs to be queried in the authority management unit in the upper-level system-centralized operation and maintenance subsystem.
However, in the prior art, there is no authority management method that can acquire a user having authority for a certain service application in a small photovoltaic power station management system and a user having authority for a certain service application in a large photovoltaic power station management system.
Disclosure of Invention
The invention provides a method and a device for authority management based on a photovoltaic management system, which aim to solve the technical problem that the prior art does not have an authority management method which can be used for acquiring users having authority to certain service application in a small photovoltaic power station management system and acquiring users having authority to certain service application in a large photovoltaic power station management system.
The invention provides a photovoltaic management system-based authority management method, which is applied to an authority management unit of a production management subsystem, and comprises the following steps:
acquiring a first query request of a first user, wherein the first query request comprises an identifier of a service application to be queried, and the query request is used for querying a second user having authority on the service application;
inquiring the production management subsystem and the superior system according to the first inquiry request to obtain a first inquiry result, wherein the first inquiry result comprises a second user having authority on the service application; the upper level system is a centralized operation and maintenance subsystem, a permission management unit of the centralized operation and maintenance subsystem is configured as an upper level permission management unit, and a permission management unit of the production management subsystem is configured as a lower level permission management unit, or the upper level system is a production management subsystem, and the permission management unit of the production management subsystem is configured as an upper level permission management unit;
and sending the first query result to the first user so that the business application is distributed to the second user by the first user.
In the above method, the step of querying the production management subsystem and the superior system according to the first query request to obtain a first query result includes:
inquiring the production management subsystem according to the first inquiry request to obtain a second inquiry result, wherein the second inquiry result comprises a user of the production management subsystem having the authority on the service application;
sending a second query request to a right management unit of the centralized operation and maintenance subsystem, where the second query request is used to query users of the centralized operation and maintenance subsystem having a right to the service application, and receiving a third query result returned by the centralized operation and maintenance subsystem, where the third query result includes the users of the centralized operation and maintenance subsystem having a right to the service application;
and combining the second query result and the third query result to obtain the first query result.
The method as described above, after querying the production management subsystem and the upper level system according to the first query request and obtaining a first query result, further includes:
judging whether the authority management unit of the superior system subscribes the authority updating function or not;
if not, sending a first authority updating subscription instruction to an authority management unit of an upper-level system, wherein the first authority updating subscription instruction is used for indicating the upper-level system authority management unit to push updated users of the upper-level system having authority to the service application to an authority management unit in a production management subsystem when determining that the users of the upper-level system having authority to the service application are updated, so that the authority management unit in the production management subsystem sends the updated users of the upper-level system having authority to the service application.
The method as described above, after sending the first query result to the first user, further comprising:
acquiring a second authority updating subscription instruction, wherein the second authority updating subscription instruction comprises an identifier of the service application, and the second authority updating subscription instruction is used for instructing a user of a production management subsystem which subscribes the updated production management subsystem having authority to the service application;
determining whether the user of the production management subsystem with the authority for the service application is updated or not according to the second authority updating indication;
if yes, acquiring the updated user of the production management subsystem having the authority on the service application;
and sending the updated users of the production management subsystem having the authority to the service application.
The invention also provides a right management method based on the photovoltaic management system, which is applied to a right management unit in the centralized operation and maintenance subsystem, and the method comprises the following steps:
receiving a second query request sent by a right management unit in the production management subsystem, wherein the second query request comprises an identifier of a service to be queried, and the second query request is used for querying a user of the centralized operation and maintenance subsystem having a right for service application;
inquiring users of the centralized operation and maintenance subsystem with the authority to the service application according to the second inquiry request to obtain a third inquiry result;
and sending the third query result to a permission management unit in the production management subsystem, so that the permission management unit of the production management subsystem sends the third query result to the first user.
The method as described above, querying a user of the centralized operation and maintenance subsystem having a right to the service application according to the second query request, and after obtaining a third query result, further includes:
receiving a first authority updating subscription indication sent by an authority management unit in a production management subsystem, wherein the first authority updating subscription indication comprises an identifier of the service application, and the first authority updating subscription indication is used for indicating a user of a centralized operation and maintenance subsystem which has authority on the service application after subscription updating;
determining whether a user of the centralized operation and maintenance subsystem having the authority for the service application has updating according to the first authority updating subscription indication;
if yes, acquiring the updated user of the centralized operation and maintenance subsystem having the authority on the service application;
and pushing the updated user of the centralized operation and maintenance subsystem having the authority on the service application to an authority management unit in the production management subsystem, so that the production management subsystem sends the updated user of the centralized operation and maintenance subsystem having the authority on the service application to the service application.
The invention also provides a photovoltaic management system-based authority management device, which comprises:
an obtaining module, configured to obtain a first query request of a first user, where the first query request includes an identifier of a service application to be queried, and the query request is used to query a second user having an authority to the service application;
the query module is used for querying the production management subsystem and the superior system according to the first query request to obtain a first query result, and the first query result comprises a second user with authority to the service application; the upper level system is a centralized operation and maintenance subsystem, a permission management unit of the centralized operation and maintenance subsystem is configured as an upper level permission management unit, and a permission management unit of the production management subsystem is configured as a lower level permission management unit, or the upper level system is a production management subsystem, and the permission management unit of the production management subsystem is configured as an upper level permission management unit;
and the sending module is used for sending the first query result to the first user so as to enable the business application to be distributed to the second user by the first user.
In the above apparatus, when the upper level system is a centralized operation and maintenance subsystem, the query module is specifically configured to,
inquiring the production management subsystem according to the first inquiry request to obtain a second inquiry result, wherein the second inquiry result comprises a user of the production management subsystem having the authority on the service application;
sending a second query request to a right management unit of the centralized operation and maintenance subsystem, where the second query request is used to query users of the centralized operation and maintenance subsystem having a right to the service application, and receiving a third query result returned by the centralized operation and maintenance subsystem, where the third query result includes the users of the centralized operation and maintenance subsystem having a right to the service application;
and combining the second query result and the third query result to obtain the first query result.
The invention also provides a photovoltaic management system-based authority management device, which comprises:
the receiving module is used for receiving a second query request sent by an authority management unit in the production management subsystem, wherein the second query request comprises an identifier of a service to be queried, and the second query request is used for querying a user of the centralized operation and maintenance subsystem having an authority on service application;
the query module is used for querying users of the centralized operation and maintenance subsystem with the authority for the service application according to the second query request to obtain a third query result;
and the sending module is used for sending the third query result to the authority management unit in the production management subsystem so that the authority management unit of the production management subsystem sends the third query result to the first user.
The invention provides a photovoltaic management system-based authority management method and a photovoltaic management system-based authority management device, wherein the photovoltaic management system-based authority management method comprises the following steps: acquiring a first query request of a first user, wherein the first query request comprises an identifier of a service application to be queried, and the query request is used for querying a second user having authority on the service application; inquiring the production management subsystem and the superior system according to the first inquiry request to obtain a first inquiry result, wherein the first inquiry result comprises a second user with authority on the service application; the upper level system is a centralized operation and maintenance subsystem, a permission management unit of the centralized operation and maintenance subsystem is configured as an upper level permission management unit, a permission management unit of the production management subsystem is configured as a lower level permission management unit, or the upper level system is the production management subsystem itself, and the permission management unit of the production management subsystem is configured as an upper level permission management unit; and sending the first query result to the first user so that the business application is distributed to the second user by the first user. Because the authority management unit in the production management system is configured as the superior authority management unit in the small photovoltaic management system, the authority management unit in the centralized operation and maintenance subsystem is configured as the superior authority management unit in the large photovoltaic management system, and the authority management unit in the production management system is configured as the superior authority management unit, the authority management method based on the photovoltaic management system can acquire users having authority for certain service application in the small photovoltaic power station management system and users having authority for certain service application in the large photovoltaic power station management system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a diagram illustrating an implementation architecture of a photovoltaic management system-based rights management method in a small photovoltaic management system according to the present invention;
fig. 2 is an architecture diagram of the rights management method based on the photovoltaic management system in a large photovoltaic management system according to the present invention;
fig. 3 is a first flowchart illustrating a rights management method based on a photovoltaic management system according to the present invention;
fig. 4 is a signaling flowchart of a rights management method based on a photovoltaic management system according to a first embodiment of the present invention;
fig. 5 is a signaling flow chart of a rights management method based on a photovoltaic management system according to the present invention;
fig. 6 is a schematic flow chart of a rights management method based on a photovoltaic management system according to a second embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a first embodiment of a rights management device based on a photovoltaic management system according to the present invention;
FIG. 8 is a schematic structural diagram of a second rights management device based on a photovoltaic management system according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a third embodiment of the right management device based on the photovoltaic management system according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The photovoltaic management system comprises a small photovoltaic power station management system and a large photovoltaic power station management system, the small photovoltaic power station management system comprises a production management subsystem and a monitoring subsystem, and the large photovoltaic power station management system comprises a production management subsystem and a monitoring subsystem and a centralized operation and maintenance subsystem on the production management subsystem. For a certain service application or workflow, not all users in the photovoltaic management system have authority management, so before a user allocates the service application or workflow to a user having authority over the service application or workflow, the user having authority over the service application or workflow in the whole photovoltaic management system needs to be acquired; for a small photovoltaic power station management system, only the users in the production management subsystem having the authority on the service application need to be acquired, and for a large photovoltaic power station management system, not only the users in the production management subsystem having the authority on the service application but also the users in the centralized operation and maintenance subsystem having the authority on the service application need to be acquired. In view of the above requirements, the present invention provides an authority management method for acquiring a user having authority for a certain service application in a small photovoltaic power station management system, and for acquiring a user having authority for a certain service application in a large photovoltaic power station management system.
Fig. 1 is an implementation architecture diagram of a photovoltaic management system-based rights management method in a small photovoltaic management system, and fig. 2 is an implementation architecture diagram of a photovoltaic management system-based rights management method in a large photovoltaic management system; referring to fig. 1-2, the method for managing the authority based on the photovoltaic management system is completed by the authority management unit of the production management subsystem and the authority management unit of the superior system of the production management subsystem together, or completed by the authority management unit of the production management subsystem and the superior authority management unit together; wherein the identification of the user having the authority for each service application is set in the authority management unit. The method comprises the steps that a first user 11 sends a request for obtaining a second user with authority for one or some service applications of the whole photovoltaic management system to an authority management unit in a production management subsystem, the upper authority management unit sends a user in the upper system with authority corresponding to the service to the authority management unit in the production management subsystem, and the authority management unit in the production management subsystem returns a first query result comprising the user in the upper system with authority corresponding to the service and the user in the production management subsystem with authority corresponding to the service to the first user 11. Specifically, in the small photovoltaic power station management system, the right management unit of the production management subsystem is configured in an upper-level mode, that is, the right management unit of the production management subsystem is an upper-level right management unit, and at this time, there is no lower-level right management unit. In a large photovoltaic power station management system, an authority management unit of a centralized operation and maintenance subsystem is configured to be in an upper-level mode, and an authority management unit in a production management subsystem is configured to be in a lower-level mode, that is, the authority management unit of the centralized operation and maintenance subsystem is the upper-level authority management unit, and the authority management unit in the production management subsystem is the lower-level authority management unit. The following describes the rights management method based on the photovoltaic management system in detail.
Fig. 3 is a first flowchart of a rights management method based on a photovoltaic management system, which is applied to a rights management unit in a production management subsystem, and the method may be implemented by hardware and/or software, and specifically includes:
s301, acquiring a first query request of a first user, wherein the first query request comprises an identifier of a service application to be queried, and the query request is used for querying a second user having authority on the service application;
s302, inquiring the production management subsystem and the superior system according to the first inquiry request to obtain a first inquiry result, wherein the first inquiry result comprises a second user with authority to the service application; the upper level system is a centralized operation and maintenance subsystem, a permission management unit of the centralized operation and maintenance subsystem is configured as an upper level permission management unit, a permission management unit of the production management subsystem is configured as a lower level permission management unit, or the upper level system is the production management subsystem itself, and the permission management unit of the production management subsystem is configured as an upper level permission management unit;
s303, sending the first query result to the first user so that the service application is distributed to the second user by the first user.
Specifically, in step S301, a first user inputs an instruction for querying a second user having an authority for a first service application through a user interface of an auxiliary device, and the auxiliary device generates a first query request according to the instruction for querying the second user having the authority for the first service application and then sends the first query request to an authority management unit of the production management subsystem; the first query request comprises an identifier of the first service application, and the first query request is used for querying a second user having authority over the first service application. The second users comprise users of the production management subsystem having the authority to the first service application and users of the living superior system having the authority to the first service application. The first business application refers to a business application to be queried and is any business application in the photovoltaic management system.
In step S302, after receiving the first query request, the authority management unit of the production management subsystem queries the production management subsystem and the upper level system to obtain a first query result, where the first query result includes a second user having authority for the service application. Specifically, the authority management unit of the production management subsystem stores the identifier of the user having authority to each service application contained in the production management subsystem, and the authority management unit of the superior system stores the identifier of the user having authority to each service application contained in the superior system; after receiving the first query request, the authority management unit of the production management subsystem extracts the identifier of the user of the production management subsystem having the authority on the first service according to the identifier applied by the first service, and then sends a second query request to the authority management unit (superior authority management unit) in a superior system of the production management subsystem, wherein the second query request comprises the user of the superior system having the authority on the first service, so that the superior authority management unit extracts the identifier of the user of the superior system having the authority on the first service and sends the extracted identifier to the authority management unit of the production management subsystem. And adding the user of the superior system having the authority on the first service to the user of the production management subsystem having the authority on the first service, namely the user of the superior system having the authority on the first service application is the second user having the authority on the first service application.
The superior system is a superior system of the production management subsystem. The upper level system can be a centralized operation and maintenance subsystem, at this time, the authority management unit of the centralized operation and maintenance subsystem is configured as an upper level authority management unit, and the authority management unit of the production management subsystem is configured as a lower level authority management unit; or, the upper system is the production management subsystem itself, and the right management unit of the production management subsystem is configured as an upper right management unit, and there is no lower right management unit at this time.
As can be understood by those skilled in the art, if the right management unit of the production management subsystem is configured as an upper right management unit, after the first user sends the first query request to the right management unit of the production management subsystem, the user of the production management subsystem having the right to the first service is queried according to the first query request, because the right management unit of the production management subsystem is the upper right management unit, and the "sending the second query request to the upper right unit" to obtain the user of the upper system having the right to the first service, "which is actually, the user of the production management subsystem having the right to the first service is queried again. The situation is suitable for a small photovoltaic management system, the production management subsystem does not have a superior system, the production management subsystem is the superior system, and a user of the production management subsystem with authority for the first service is a second user with authority for the first service application.
In step S303, after the rights management unit of the production management subsystem obtains the first query result, the first query result is sent to the first user, so that the first service application is allocated to the second user by the first user.
The authority management method based on the photovoltaic management system comprises the following steps: acquiring a first query request of a first user, wherein the first query request comprises an identifier of a service application to be queried, and the query request is used for querying a second user having authority on the service application; inquiring the production management subsystem and the superior system according to the first inquiry request to obtain a first inquiry result, wherein the first inquiry result comprises a second user with authority on the service application; the upper level system is a centralized operation and maintenance subsystem, a permission management unit of the centralized operation and maintenance subsystem is configured as an upper level permission management unit, a permission management unit of the production management subsystem is configured as a lower level permission management unit, or the upper level system is the production management subsystem itself, and the permission management unit of the production management subsystem is configured as an upper level permission management unit; and sending the first query result to the first user so that the business application is distributed to the second user by the first user. Because the authority management unit in the production management system is configured as the superior authority management unit in the small photovoltaic management system, the authority management unit in the centralized operation and maintenance subsystem is configured as the superior authority management unit in the large photovoltaic management system, and the authority management unit in the production management system is configured as the superior authority management unit, the authority management method based on the photovoltaic management system can acquire users having authority for certain service application in the small photovoltaic power station management system and users having authority for certain service application in the large photovoltaic power station management system.
The following embodiments are used when the upper-level system may be a centralized operation and maintenance subsystem: "according to the first query request, query is performed on the production management subsystem and the upper-level system to obtain a first query result, and the first query result includes a second user having authority on the service application" in detail.
Fig. 4 is a signaling flowchart of a first rights management method based on a photovoltaic management system according to the present invention, and referring to fig. 4, the rights management method based on the photovoltaic management system of the present embodiment includes:
s401, inquiring the production management subsystem by the authority management unit of the production management subsystem according to the first inquiry request to obtain a second inquiry result, wherein the second inquiry result comprises users of the production management subsystem having authority on service application;
s402, the authority management unit of the production management subsystem sends a second query request to the authority management unit of the centralized operation and maintenance subsystem, wherein the second query request is used for querying users of the centralized operation and maintenance subsystem having the authority on service application;
s403, inquiring users of the centralized operation and maintenance subsystem with authority to the service application by the authority management unit in the centralized operation and maintenance subsystem according to the second inquiry request to obtain a third inquiry result;
s404, the authority management unit in the centralized operation and maintenance subsystem sends a third query result to the authority management unit in the production management subsystem, wherein the third query result comprises users of the centralized operation and maintenance subsystem having authority on service application;
s405, the authority management unit of the production management subsystem combines the second query result and the third query result to obtain a first query result.
Specifically, after the authority management unit of the production management subsystem receives the first query request, the production management subsystem is queried first, that is, in the identifier of the user of the production management subsystem having authority for each service application, the user of the production management subsystem having authority for the first service application is queried according to the identifier of the first service application, so as to obtain a second query result, where the second query result includes the user of the production management subsystem having authority for the first service application.
After the authority management unit of the production management subsystem finishes querying the users of the production management subsystem having the authority for the first service application, the authority management unit in the centralized operation and maintenance subsystem is requested according to a second query request, and the second query request is used for querying the users of the centralized operation and maintenance subsystem having the authority for the service application.
And after receiving the second query request, the authority management unit in the centralized operation and maintenance subsystem queries the centralized operation and maintenance subsystem according to the second query request, namely querying the users of the centralized operation and maintenance subsystem having the authority for the first service application according to the first service application identifier in the identifiers of the users of the production management subsystem having the authority for each service application stored in the centralized operation and maintenance subsystem to obtain a third query result, wherein the third query result comprises the users of the centralized operation and maintenance subsystem having the authority for the first service application.
And after the authority management unit in the centralized operation and maintenance subsystem obtains a third query result, sending the third query result to the authority management unit in the production management subsystem.
And the right management unit in the production management subsystem receives a third query result sent by the right management unit in the centralized operation and maintenance subsystem, and merges the second query result and the third query result to obtain a first query result.
Since the second user having the authority to the first service application is updated according to the actual working process, and the first user may not inquire the second user having the authority to the first service application in real time, in order that the service application can be correctly allocated to the updated second user having the authority to the first service application, this embodiment is further improved on the basis of the above embodiment, after the step "inquiring the production management subsystem and the upper-level system according to the first inquiry request to obtain the first inquiry result, the first inquiry result includes the second user having the authority to the service application", the method further includes:
the authority management unit of the production management subsystem judges whether an authority updating function is subscribed to the authority management unit of the superior system or not;
if not, sending a first authority updating subscription instruction to the authority management unit of the superior system, wherein the first authority updating subscription instruction is used for indicating the superior system authority management unit to push the updated superior system user having authority to the service application to the authority management unit in the production management subsystem when determining that the superior system user having authority to the service application is updated, so that the authority management unit in the production management subsystem sends the updated superior system user having authority to the service application.
Specifically, the steps in this embodiment are triggered during the process of first querying the second user having the right to the first service application. The upper-level system in this embodiment may also be a production management subsystem or a centralized operation and maintenance subsystem.
The authority management unit of the production management subsystem judges whether an authority updating function is subscribed to the authority management unit of the superior system or not; if not, sending a first authority updating subscription instruction to an authority management unit of the upper-level system, wherein the first authority updating subscription instruction comprises a user of the upper-level system which has authority on the first service application after subscription updating; the superior system pushes the updated superior system user having the authority on the service application to the authority management unit in the production management subsystem when determining that the superior system user having the authority on the first service application is updated according to the first authority update subscription indication; and then the authority management unit in the production management subsystem sends the updated user of the superior system having the authority on the service application to the service application.
As can be understood by those skilled in the art, when the upper-level system is the production management subsystem itself, the right management unit of the production management subsystem is configured as the upper-level right management unit, at this time, when the first user initiates a process of querying the second user having right to the first service application for the first time, and after obtaining the first query result, the right management unit of the production management subsystem determines whether the right update function is subscribed, and if not, the subscription right update function is automatically triggered, that is, a first right update subscription instruction is sent to itself, so that when determining that the user of the production management subsystem having right to the first service application (at this time, the production management subsystem is the upper-level system) is updated, the updated user of the production management subsystem having right to the first service application is obtained (because the right management unit of the production management subsystem itself is the upper-level right management unit, therefore, at this time, "pushing the updated user of the upper-level system having the authority on the service application to the authority management unit in the production management subsystem" is "obtaining the updated user of the production management subsystem having the authority on the first service application"), and sending the updated user of the production management subsystem having the authority on the first service application to the service application.
In this embodiment, by subscribing to the data of the user of the upper system having the authority over the first service application, when the user of the upper system having the authority over the first service application is updated, the first service application can timely acquire the correct user of the upper system having the authority over the first service application.
The above embodiment will be described in detail below when the upper-level system is a centralized operation and maintenance subsystem.
Fig. 5 is a signaling flow chart of a second rights management method based on a photovoltaic management system provided by the present invention, and referring to fig. 5, the rights management method based on the photovoltaic management system of the present embodiment includes:
s501, judging whether the authority management unit of the production management subsystem subscribes to an authority management unit of the centralized operation and maintenance subsystem to an authority updating function or not by the authority management unit of the production management subsystem;
s502, if the authority management unit of the centralized operation and maintenance subsystem is not subscribed with the authority updating function, the authority management unit of the production management subsystem sends a first authority updating subscription instruction to the authority management unit of the centralized operation and maintenance subsystem, wherein the first authority updating subscription instruction comprises an identifier of a service application, and the first authority updating subscription instruction is used for indicating a user of the centralized operation and maintenance subsystem which subscribes the updated service application and has authority;
s503, the authority management unit of the centralized operation and maintenance subsystem determines whether the user of the centralized operation and maintenance subsystem having the authority for the service application is updated according to the first authority updating subscription instruction;
s504, if the user of the centralized operation and maintenance subsystem with the authority to the service application is updated, acquiring the updated user of the centralized operation and maintenance subsystem with the authority to the service application;
s505, the authority management unit of the centralized operation and maintenance subsystem pushes the updated user of the centralized operation and maintenance subsystem having the authority on the service application to the authority management unit in the production management subsystem;
s506, the authority management unit of the production management subsystem sends the updated user of the centralized operation and maintenance subsystem having the authority on the service application to the service application.
Specifically, in the process of querying a second user having an authority on the first service application for the first time by a first user, after a first query result is obtained, the authority management unit of the production management subsystem determines whether an authority updating function is subscribed to the authority management unit of the centralized operation and maintenance subsystem, if the determination result is negative, the authority management unit of the production management subsystem sends a first authority updating subscription instruction to the authority management unit of the centralized operation and maintenance subsystem, where the first authority updating subscription instruction includes an identifier of the service application, and the first authority updating subscription instruction is used to instruct the user of the centralized operation and maintenance subsystem having an authority on the service application after subscription is updated.
And after receiving the first authority updating subscription instruction, the authority management unit of the centralized operation and maintenance subsystem determines whether the user of the centralized operation and maintenance subsystem having the authority on the first service application is updated or not according to the first authority updating subscription instruction, and if so, the authority management unit of the centralized operation and maintenance subsystem pushes the updated user of the centralized operation and maintenance subsystem having the authority on the first service application to the authority management unit in the production management subsystem.
And the authority management unit of the production management subsystem receives the updated user of the centralized operation and maintenance subsystem having the authority on the first service application, which is pushed by the authority management unit of the centralized operation and maintenance subsystem, and sends the updated user of the centralized operation and maintenance subsystem having the authority on the service application to the first service application.
In addition, in order to ensure that when the user of the production management subsystem having the authority for the first service application is updated, the service application can obtain the correct user of the production management subsystem having the authority for the updated first service application, whether in the large-scale photovoltaic management system or in the small-scale photovoltaic management system, the embodiment is further improved on the basis of the previous embodiment. Fig. 6 is a second flowchart of the rights management method based on the photovoltaic management system, which is applied to the rights management unit of the production management subsystem, and the rights management method based on the photovoltaic management system according to this embodiment includes, after the step "sending the first query result to the first user":
s601, acquiring a second authority updating subscription instruction, wherein the second authority updating subscription instruction comprises an identifier of a service application, and the second authority updating subscription instruction is used for instructing a user of a production management subsystem which has authority to the service application after subscription updating;
s602, determining whether a user of the production management subsystem with the authority for the service application is updated or not according to the second authority updating indication;
s603, if yes, acquiring the updated user of the production management subsystem having the authority on the service application;
s604, sending the updated users of the production management subsystem having the authority to the business application.
Specifically, the first user inputs a second authority updating subscription instruction through a user interface of the auxiliary device, and the auxiliary device generates a second authority updating subscription instruction according to the authority updating subscription instruction and then sends the second authority updating subscription instruction to the authority management unit of the production management subsystem; the second authority updating subscription indication comprises an identifier of the first service application, and the second authority updating subscription indication is used for indicating a user of the production management subsystem which subscribes the updated production management subsystem having the authority to the first service application. And after acquiring a second authority updating subscription instruction, the authority management unit of the production management subsystem determines whether the user of the production management subsystem having the authority for the first service application is updated according to the second authority updating instruction, if so, acquires the updated user of the production management subsystem having the authority for the service application, and sends the updated user of the production management subsystem having the authority for the service application to the service application.
In the embodiment, by actively subscribing the data of the user of the production management subsystem having the authority for the first service application, no matter in a large-scale photovoltaic management system or in a small-scale photovoltaic management system, when the user of the production management subsystem having the authority for the first service application is updated, the service application can timely acquire the correct user of the production management subsystem having the authority for the first service application.
Fig. 7 is a schematic structural diagram of a first embodiment of a rights management device based on a photovoltaic management system according to the present invention, as shown in fig. 7, the device of the present embodiment includes: an obtaining module 71, configured to obtain a first query request of a first user, where the first query request includes an identifier of a service application to be queried, and the query request is used to query a second user having an authority to the service application;
the query module 72 is configured to query the production management subsystem and the upper-level system according to the first query request to obtain a first query result, where the first query result includes a second user having an authority on the service application; the upper level system is a centralized operation and maintenance subsystem, a permission management unit of the centralized operation and maintenance subsystem is configured as an upper level permission management unit, a permission management unit of the production management subsystem is configured as a lower level permission management unit, or the upper level system is the production management subsystem itself, and the permission management unit of the production management subsystem is configured as an upper level permission management unit;
a sending module 73, configured to send the first query result to the first user, so that the service application is allocated to the second user by the first user.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 3, and the implementation principle and the technical effect are similar, which are not described herein again.
Further, the query module is specifically configured to query the production management subsystem according to the first query request to obtain a second query result, where the second query result includes a user of the production management subsystem having an authority for the service application; sending a second query request to a right management unit of the centralized operation and maintenance subsystem, wherein the second query request is used for querying users of the centralized operation and maintenance subsystem having the right to the service application, and receiving a third query result returned by the centralized operation and maintenance subsystem, and the third query result comprises the users of the centralized operation and maintenance subsystem having the right to the service application; and combining the second query result and the third query result to obtain the first query result.
The apparatus of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of a second embodiment of a rights management device based on a photovoltaic management system according to the present invention, and as shown in fig. 8, the device of this embodiment may further include, on the basis of the device structure shown in fig. 7:
a judging module 74, configured to judge whether the authority management unit of the upper-level system subscribes to the authority updating function;
the sending module 73 is further configured to send a first permission update subscription instruction to the permission management unit of the upper-level system if the permission update function is not subscribed to the permission management unit of the upper-level system, where the first permission update subscription instruction is used to instruct the permission management unit of the upper-level system to push the updated user of the upper-level system having permission for the service application to the permission management unit in the production management subsystem when determining that the user of the upper-level system having permission for the service application is updated, so that the permission management unit in the production management subsystem allocates the updated user of the upper-level system having permission for the service application to the first user.
The apparatus of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Further, the apparatus in the foregoing embodiment further includes a determining module, configured to determine, according to the second permission update indication, whether a user of the production management subsystem having a permission for the business application is updated;
the obtaining module 71 is further configured to obtain a second permission update subscription instruction, where the second permission update subscription instruction includes an identifier of the service application, and the second permission update subscription instruction is used to instruct a user who subscribes the updated production management subsystem having a permission to the service application; and when the user of the production management subsystem with the authority to the service application is updated, acquiring the updated user of the production management subsystem with the authority to the service application.
The sending module 73 is further configured to send the updated user of the production management subsystem having the authority to the service application.
The apparatus of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 9 is a schematic structural diagram of a third embodiment of a rights management device based on a photovoltaic management system according to the present invention, and as shown in fig. 9, the device of the present embodiment includes: the receiving module 91 is configured to receive a second query request sent by an authority management unit in the production management subsystem, where the second query request includes an identifier of a service to be queried, and the second query request is used to query a user of the centralized operation and maintenance subsystem having an authority for service application;
the query module 92 is configured to query, according to the second query request, a user of the centralized operation and maintenance subsystem having an authority to apply the service, so as to obtain a third query result;
and a sending module 93, configured to send the third query result to the right management unit in the production management subsystem, so that the right management unit of the production management subsystem sends the third query result to the first user.
The apparatus of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Further, the apparatus of the above embodiment further includes a determining module, configured to determine whether a user of the centralized operation and maintenance subsystem having an authority for the service application has an update according to the first authority update subscription indication; and the acquisition module is used for acquiring the updated user of the centralized operation and maintenance subsystem having the authority on the service application if the user of the centralized operation and maintenance subsystem having the authority on the service application has the update.
The receiving module 91 is further configured to receive a first right update subscription instruction sent by a right management unit in the production management subsystem, where the first right update subscription instruction includes an identifier of a service application, and the first right update subscription instruction is used to instruct a user of a centralized operation and maintenance subsystem that subscribes to an updated service application and has a right;
the sending module 93 is further configured to push the updated user of the centralized operation and maintenance subsystem having the right to the service application to the right management unit in the production management subsystem, so that the production management subsystem sends the updated user of the centralized operation and maintenance subsystem having the right to the service application.
The apparatus of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (9)
1. A rights management method based on a photovoltaic management system is characterized in that the rights management method is applied to a rights management unit of a production management subsystem, and comprises the following steps:
acquiring a first query request of a first user, wherein the first query request comprises an identifier of a service application to be queried, and the query request is used for querying a second user having authority on the service application;
inquiring the production management subsystem and the superior system according to the first inquiry request to obtain a first inquiry result, wherein the first inquiry result comprises a second user having authority on the service application; the upper level system is a centralized operation and maintenance subsystem, a permission management unit of the centralized operation and maintenance subsystem is configured as an upper level permission management unit, and a permission management unit of the production management subsystem is configured as a lower level permission management unit, or the upper level system is a production management subsystem, and the permission management unit of the production management subsystem is configured as an upper level permission management unit;
and sending the first query result to the first user so that the business application is distributed to the second user by the first user.
2. The method as claimed in claim 1, wherein the upper level system is a centralized operation and maintenance subsystem, and the querying the production management subsystem and the upper level system according to the first query request to obtain a first query result includes:
inquiring the production management subsystem according to the first inquiry request to obtain a second inquiry result, wherein the second inquiry result comprises a user of the production management subsystem having the authority on the service application;
sending a second query request to a right management unit of the centralized operation and maintenance subsystem, where the second query request is used to query users of the centralized operation and maintenance subsystem having a right to the service application, and receiving a third query result returned by the centralized operation and maintenance subsystem, where the third query result includes the users of the centralized operation and maintenance subsystem having a right to the service application;
and combining the second query result and the third query result to obtain the first query result.
3. The method of claim 1, wherein after querying the production management subsystem and the upper-level system according to the first query request and obtaining a first query result, the method further comprises:
judging whether the authority management unit of the superior system subscribes the authority updating function or not;
if not, sending a first authority updating subscription instruction to an authority management unit of an upper-level system, wherein the first authority updating subscription instruction is used for indicating the upper-level system authority management unit to push updated users of the upper-level system having authority to the service application to an authority management unit in a production management subsystem when determining that the users of the upper-level system having authority to the service application are updated, so that the authority management unit in the production management subsystem sends the updated users of the upper-level system having authority to the service application.
4. The method of claim 3, wherein after sending the first query result to the first user, further comprising:
acquiring a second authority updating subscription instruction, wherein the second authority updating subscription instruction comprises an identifier of the service application, and the second authority updating subscription instruction is used for instructing a user of a production management subsystem which subscribes the updated production management subsystem having authority to the service application;
determining whether the user of the production management subsystem with the authority for the service application is updated or not according to the second authority updating indication;
if yes, acquiring the updated user of the production management subsystem having the authority on the service application;
and sending the updated users of the production management subsystem having the authority to the service application.
5. A method for managing authority based on a photovoltaic management system is applied to an authority management unit in a centralized operation and maintenance subsystem, and comprises the following steps:
receiving a second query request sent by a right management unit in a production management subsystem, wherein the second query request comprises an identifier of a service to be queried, the second query request is used for querying a user of a centralized operation and maintenance subsystem having a right for a service application, the right management unit in the production management subsystem is used for querying the production management subsystem and an upper-level system according to a first query request to obtain a first query result, and the first query result comprises a second user having a right for the service application, wherein the upper-level system is the centralized operation and maintenance subsystem, the right management unit of the centralized operation and maintenance subsystem is configured as an upper-level right management unit, the right management unit of the production management subsystem is configured as a lower-level right management unit, or the upper-level system is the production management subsystem itself, the authority management unit of the production management subsystem is configured as an upper authority management unit;
inquiring users of the centralized operation and maintenance subsystem with the authority to the service application according to the second inquiry request to obtain a third inquiry result;
and sending the third query result to a permission management unit in the production management subsystem, so that the permission management unit of the production management subsystem sends the third query result to the first user.
6. The method of claim 5, wherein querying the user of the centralized operation and maintenance subsystem having the right to the service application according to the second query request, and after obtaining a third query result, further comprising:
receiving a first authority updating subscription indication sent by an authority management unit in a production management subsystem, wherein the first authority updating subscription indication comprises an identifier of the service application, and the first authority updating subscription indication is used for indicating a user of a centralized operation and maintenance subsystem which has authority on the service application after subscription updating;
determining whether a user of the centralized operation and maintenance subsystem having the authority for the service application has updating according to the first authority updating subscription indication;
if yes, acquiring the updated user of the centralized operation and maintenance subsystem having the authority on the service application;
and pushing the updated user of the centralized operation and maintenance subsystem having the authority on the service application to an authority management unit in the production management subsystem, so that the production management subsystem sends the updated user of the centralized operation and maintenance subsystem having the authority on the service application to the service application.
7. A photovoltaic management system-based rights management device, comprising:
an obtaining module, configured to obtain a first query request of a first user, where the first query request includes an identifier of a service application to be queried, and the query request is used to query a second user having an authority to the service application;
the query module is used for querying the production management subsystem and the superior system according to the first query request to obtain a first query result, and the first query result comprises a second user with authority to the service application; the upper level system is a centralized operation and maintenance subsystem, a permission management unit of the centralized operation and maintenance subsystem is configured as an upper level permission management unit, and a permission management unit of the production management subsystem is configured as a lower level permission management unit, or the upper level system is a production management subsystem, and the permission management unit of the production management subsystem is configured as an upper level permission management unit;
and the sending module is used for sending the first query result to the first user so as to enable the business application to be distributed to the second user by the first user.
8. The apparatus of claim 7, wherein the query module is specifically configured to, when the upper level system is a centralized operation and maintenance subsystem,
inquiring the production management subsystem according to the first inquiry request to obtain a second inquiry result, wherein the second inquiry result comprises a user of the production management subsystem having the authority on the service application;
sending a second query request to a right management unit of the centralized operation and maintenance subsystem, where the second query request is used to query users of the centralized operation and maintenance subsystem having a right to the service application, and receiving a third query result returned by the centralized operation and maintenance subsystem, where the third query result includes the users of the centralized operation and maintenance subsystem having a right to the service application;
and combining the second query result and the third query result to obtain the first query result.
9. A photovoltaic management system-based rights management device, comprising:
a receiving module, configured to receive a second query request sent by an authority management unit in a production management subsystem, where the second query request includes an identifier of a service to be queried, the second query request is used to query a user of a centralized operation and maintenance subsystem having an authority for a service application, and the authority management unit in the production management subsystem is used to query the production management subsystem and an upper-level system according to a first query request to obtain a first query result, where the first query result includes a second user having an authority for the service application, where the upper-level system is the centralized operation and maintenance subsystem, the authority management unit of the centralized operation and maintenance subsystem is configured as an upper-level authority management unit, the authority management unit of the production management subsystem is configured as a lower-level authority management unit, or the upper-level system is the production management subsystem itself, the authority management unit of the production management subsystem is configured as an upper authority management unit;
the query module is used for querying users of the centralized operation and maintenance subsystem with the authority for the service application according to the second query request to obtain a third query result;
and the sending module is used for sending the third query result to the authority management unit in the production management subsystem so that the authority management unit of the production management subsystem sends the third query result to the first user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610913552.0A CN107968771B (en) | 2016-10-20 | 2016-10-20 | Authority management method and device based on photovoltaic management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610913552.0A CN107968771B (en) | 2016-10-20 | 2016-10-20 | Authority management method and device based on photovoltaic management system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107968771A CN107968771A (en) | 2018-04-27 |
CN107968771B true CN107968771B (en) | 2021-04-30 |
Family
ID=61997206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610913552.0A Active CN107968771B (en) | 2016-10-20 | 2016-10-20 | Authority management method and device based on photovoltaic management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107968771B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115037501B (en) * | 2022-04-11 | 2024-06-28 | 深圳市华宜致信科技有限公司 | Permission management system and method for BI tool |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374079A (en) * | 2008-10-10 | 2009-02-25 | 中兴通讯股份有限公司 | Method for obtaining user authority of network management system |
JP2014099448A (en) * | 2012-11-13 | 2014-05-29 | Apec Co Ltd | Management device and power generation management system |
CN104615094A (en) * | 2014-11-24 | 2015-05-13 | 国网辽宁省电力有限公司锦州供电公司 | City-class high-density multipoint distributed photovoltaic cluster monitoring method |
CN106845666A (en) * | 2016-11-17 | 2017-06-13 | 上海普天能源科技有限公司 | The method that operation management is concentrated for photovoltaic plant |
-
2016
- 2016-10-20 CN CN201610913552.0A patent/CN107968771B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374079A (en) * | 2008-10-10 | 2009-02-25 | 中兴通讯股份有限公司 | Method for obtaining user authority of network management system |
JP2014099448A (en) * | 2012-11-13 | 2014-05-29 | Apec Co Ltd | Management device and power generation management system |
CN104615094A (en) * | 2014-11-24 | 2015-05-13 | 国网辽宁省电力有限公司锦州供电公司 | City-class high-density multipoint distributed photovoltaic cluster monitoring method |
CN106845666A (en) * | 2016-11-17 | 2017-06-13 | 上海普天能源科技有限公司 | The method that operation management is concentrated for photovoltaic plant |
Also Published As
Publication number | Publication date |
---|---|
CN107968771A (en) | 2018-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101009670B (en) | A method and system for implementing the group communication based on the instant communication | |
CN109547227B (en) | Network slice generation method and network slice system | |
WO2018161970A1 (en) | Charging pile management method and charging pile management client terminal, and management server | |
CN106712981B (en) | Node change notification method and device | |
CN105072135A (en) | A cloud file sharing authorization and authentication method and system | |
CN105808274A (en) | Software upgrading method and system as well as corresponding clients and servers | |
CN105634778A (en) | Method and system to achieve VNF instantiation, NFVO and VNFM | |
US20170279688A1 (en) | Method, device and system for providing device application software management service in internet of things | |
CN105787632A (en) | Method and system for managing conference room | |
US20170346798A1 (en) | Key negotiation method and system, network entity and computer storage medium | |
US20190098683A1 (en) | Method and device for associating user with group | |
CN104507054B (en) | Group member information updating method and related equipment | |
CN104917794A (en) | Data sharing method, device and system | |
KR20210008525A (en) | Subscription server, subscription terminal, information subscription method, and system | |
US20150079966A1 (en) | Methods for facilitating telecommunication network administration and devices thereof | |
PH12020551765A1 (en) | Methods and systems for booking resources and access management of booked resources | |
CN110417876B (en) | Session method, node server in distributed system and master control equipment | |
CN107968771B (en) | Authority management method and device based on photovoltaic management system | |
CN104410511A (en) | Server management method and system | |
CN103023990A (en) | Image file upgrade system and method in stack system | |
CN108628901A (en) | A kind of data-updating method and device | |
CN105429823B (en) | Flux of multicast detection method and device in distributed communication equipment | |
WO2017020748A1 (en) | Method and device for processing signalling tracking task | |
CN103744880A (en) | DNA data managing method and system based on cloud computing | |
CN107220129B (en) | Communication method and system between software modules |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |