A kind of Rights Management System and method of track traffic synthetic monitoringTechnical field
The present invention relates to a kind of rights management and method of traffic monitoring, specifically, relate to the Rights Management System and the method for comprehensively monitoring in a kind of track traffic.
Background technology
Track traffic synthetic monitoring system is that the automated system connection that each dispersion is isolated is an organic whole; Realize information mutual communication, resource-sharing between each professional system; Can unify orderly carry out associative operation and control in order to guarantee each level system in the Rail Transit System; It is very necessary how to set up a complete Rights Management System, in the Rights Management System of track traffic monitoring, mainly comprises control centre and station at present, and a user and permission server are set in control centre and station; And in each server, preserve user configuration information; When user's logging on client,, and carry out associated rights according to authority information and operate in user and permission server verifying authorization information.
Adopt above-mentioned Rights Management System and right management method, mainly have following problem: one, the operation at each station relies on the normal operation of center control end, can't be independent of control centre's isolated operation; Two, user right information is verified in server, because a server connects a plurality of clients, has increased the pressure of server end; Three, the user configuration information consistency is poor in each server, checks each other between the user that user configuration information is inconvenient; Four, center control end and each station only dispose a user and permission server respectively, when server breaks down, can't move fail safe and poor stability.
Summary of the invention
The present invention can't be independent of the problem of control centre's isolated operation for the operation at each station in the Rights Management System that solves existing track traffic monitoring; A kind of Rights Management System is provided, and control centre, each station comprise at least two users and permission server respectively, and each server is connected with corresponding client; When the station when the control centre network is connected; Form user and permission system of overall importance, when station and control centre's network disconnection, the station can independent operating.Solved the pressure of permission server, improved systematic function, all Authority Verification work have been moved to client carry out.
In order to solve the problems of the technologies described above, the present invention adopts following technical scheme to be achieved:
A kind of Rights Management System of track traffic synthetic monitoring; Comprise a control centre and at least one station; Control centre, each station comprise at least two users and permission server respectively; Described control centre comprises at least one center client, and described center client is connected with each user and the permission server of control centre; Each station comprises at least one station client respectively; Described station client is connected with each user and the permission server at this station; The user at all stations and permission server all are the user of control centre and the copy of permission server; Behind the user of control centre and the information change of permission server, information synchronization is given the user and the permission server at all stations.
Adopt track traffic synthetic supervision authority management system of the present invention, when control centre set up network and is connected, the client at station can be sent the user configuration request to control centre when the station; Control centre upgrades local user's configuration information; And lastest imformation is distributed to each station, information synchronization between at least two users at last control centre and each station and the permission server, when the station when the control centre network is connected disconnection; Between control centre's server and the client, communicate between the server at each station and the client; Each station is independent operating still, but can not change user configuration information, has guaranteed the consistency of information.
Described control centre, each station comprise main user and permission server and subsequent use family and two servers of permission server respectively; Wherein, Subsequent use family and permission server are its place control centre or the main user at station and copy of permission server; Behind the information change of main user and permission server, give copy with information synchronization.
Further; Said center client is respectively arranged with the Authority Verification module with each station client; Be used to receive the authority information that sends with corresponding user of this client and permission server, particularly, behind user's logging on client; Authority information is sent to client Authority Verification module by main user and permission server, accomplishes user right checking work in client.
Further again, described Authority Verification module is carried out Authority Verification to the follow-up all operations of this client, the data of client user all stations of random access or control centre behind Authority Verification.
Based on the Rights Management System of above-mentioned a kind of track traffic synthetic monitoring, the present invention provides a kind of right management method of track traffic synthetic monitoring simultaneously, may further comprise the steps:
(1), be respectively provided to few two users and permission server at control centre, each station, described control centre comprises at least one center client, each station comprises at least one station client respectively;
(2), each station starts the user and the permission server at this station, and user and permission server detect control centre and whether set up network with this station and be connected, and determine whether the user configuration information of update service device according to testing result;
(3), the center client user signs in to the user and the permission server of control centre; The station client user signs in to the user and the permission server at this station; Authority information with this user downloads to center client or station client accordingly, and carries out the user right checking in this client;
(4), described client user is according to the data of all stations of Authority Verification message reference or control centre.
Preferably, in said step (1), main user and permission server and subsequent use family and two servers of permission server are set respectively at control centre, each station.
Further; In said step (2); Start the main user and the permission server at station, if control centre has set up network with this station and has been connected, then its user configuration information of the main user at this station and permission server comparison whether with control centre in user configuration information consistent; If inconsistent, then the user configuration information in the control centre is updated to this main user and permission server; If control centre and station communication network break off or to set up the user configuration information that network is connected still both consistent control centre and station, then do not carry out the user configuration information renewal; Start the subsequent use family and the permission server at station, the main user at this station and permission server are given described subsequent use family and permission server synchronously with user configuration information.
Further again, also comprise the step of configuration user configuration information, the main user and the permission server of described control centre are used for the configuration user configuration information.
Further again, in said step (3), behind client user's logging on client, the main user at this client center, place or station and permission server are sent to this client with this user's authority information, and carry out the user right checking in this client.
Further, center client user, station client user respectively with center client, the corresponding one by one login of station client.
Compared with prior art; Advantage of the present invention and good effect are: Rights Management System of the present invention and method when control centre sets up network and is connected, form user and permission system of overall importance when the station; When station and control centre network broke off, the station can independent operating; User right information is verified in client, has alleviated the pressure of server end; User configuration information in unified each server checks each other between the user that user configuration information is convenient; Center control end and each station be active and standby two users and permission server respectively, and when main user and permission server broke down, subsequent use family and permission server replaced main user and permission server, have guaranteed the fail safe and the stability of system.
After reading the detailed description of embodiment of the present invention in conjunction with the accompanying drawings, other characteristics of the present invention and advantage will become clearer.
Description of drawings
Fig. 1 is the block diagram of a kind of embodiment of Rights Management System of a kind of track traffic synthetic monitoring proposed by the invention;
Fig. 2 is a message transmission block diagram between client and user and the permission server among Fig. 1.
Embodiment
Do explanation in further detail below in conjunction with the accompanying drawing specific embodiments of the invention.
Embodiment one; Referring to shown in Figure 1; The Rights Management System of a kind of track traffic synthetic monitoring of present embodiment comprises a control centre and N station, and described N is a positive integer, and described control centre, each station comprise at least two users and permission server respectively; Described control centre comprises at least one center client, and described center client is connected with each user and the permission server of control centre; Each station comprises at least one station client respectively, and described station client is connected with each user and the permission server at this station.
Adopt the track traffic synthetic supervision authority management system of this execution mode, when control centre set up network and is connected, the client at station can be sent the user configuration request to control centre when the station; Control centre upgrades local user's configuration information; And lastest imformation is distributed to each station, information synchronization between at least two users at last control centre and each station and the permission server, when the station when the control centre network is connected disconnection; Between control centre's server and the client, communicate between the server at each station and the client; Each station is independent operating still, but can not change user configuration information, has guaranteed the consistency of information.
For stability, fail safe and the reduction system cost that guarantees system; Described control centre, each station preferably comprise main user and permission server and subsequent use family and two servers of permission server respectively, and in all users and permission server, all preserve identical user configuration information.The user at all stations and permission server all are the user of control centre and the copy of permission server; When the main user at station and permission server start; Relatively whether it is consistent with the version of the user configuration information of control centre earlier; If find that version is inequality, then that control centre is up-to-date changed information is updated to the main user and the permission server at this station, and service outwards is provided again.
Subsequent use family and permission server are its place control centre or the main user at station and copy of permission server, behind the information change of main user and permission server, give copy with information synchronization.When subsequent use family and permission server startup; Described server is the user configuration information version of it and main user and permission server relatively earlier; If find that version is inequality, then the up-to-date changed information with main user and permission server is updated to this subsequent use family and permission server.
For the unification that guarantees each level system, in order; The client user of control centre can only login the user and the permission server of said control centre; The client user at each station can only sign in to the user and the permission server at this station, and log-on message need not sent to other stations or center when the user logined, and had improved login speed; And owing to all preserve identical user configuration information in all users and the permission server; The user is after the login of this station or center, and the business datum that can visit other stations or center has ensured the uniformity of system.
Said center client is respectively arranged with the Authority Verification module with each station client; Particularly, referring to shown in Figure 2, behind user's logging on client; Authority information is sent to client Authority Verification module by main user and permission server; Accomplish user right checking work and follow-up all operations in client, no longer need be mutual with user and permission server, alleviated the pressure of server.
Particularly, described authority information is this client user's of login authority information, and the Authority Verification module is carried out Authority Verification to the follow-up all operations of this client, the data of client user all stations of random access or control centre behind Authority Verification.
The Rights Management System of a kind of track traffic synthetic monitoring of present embodiment, the station can be independent of control centre's isolated operation, has guaranteed the work independence between each level system; User right information has alleviated the pressure of server in client validation; Check each other between the user that user configuration information is convenient; Center control end and each station dispose active and standby two users and permission server respectively, have ensured fail safe and stability.
Based on the Rights Management System of above-mentioned a kind of track traffic synthetic monitoring, the present invention provides a kind of right management method of track traffic synthetic monitoring simultaneously, may further comprise the steps:
S01, be respectively provided to few two users and permission server at control centre, each station, described control centre comprises at least one center client, and each station comprises at least one station client respectively;
Particularly, stability, fail safe and reduction system cost in order to guarantee system preferably are provided with main user and permission server and subsequent use family and two servers of permission server respectively at control centre, each station.
S02, each station start the user and the permission server at this station, and this server detects control centre and whether set up network with this station and be connected, and determine whether the user configuration information of update service device according to testing result;
Particularly; In said step S02; Start the main user and the permission server at station, if control centre has set up network with this station and has been connected, then its user configuration information of the main user at this station and permission server comparison whether with control centre in user configuration information consistent; If inconsistent, then the user configuration information in the control centre is updated to this main user and permission server; If control centre and station communication network break off or to set up the user configuration information that network is connected still both consistent control centre and station, then do not carry out the user configuration information renewal; Start the subsequent use family and the permission server at station; Whether this subsequent use family and the permission server relatively user configuration information of main user and the permission server at book server and this station be consistent; If inconsistent, then the user configuration information with main user and permission server upgrades to described subsequent use family and permission server.
S03, client user's logging on client, and carry out user right in this client and verify;
Particularly; In client, be provided with the Authority Verification module; The center client user signs in to the user and the permission server of control centre; The station client user signs in to the user and the permission server at this station, and the authority information with this user downloads to center client or station client accordingly, and carries out the user right checking in this client;
S04, described client user are according to the data of each station of Authority Verification message reference or control centre.
Need to prove, in order to guarantee systematic unity, orderly operation, center client user, station client user respectively with center client, the corresponding one by one login of station client.
In addition, present embodiment also comprises the step of configuration user configuration information, and the main user and the permission server of described control centre are used for the configuration user configuration information; Particularly; The right management method of the track traffic synthetic monitoring of present embodiment is supported online user configuration, promptly in system's running, can onlinely increase, deletes perhaps and revise the user, in order to guarantee the consistency of overall user configuration information; Clear for the framework of user and permission system simultaneously; Only realize the user profile configuration, and issue user configuration information to other stations, when station and control centre's network disconnection by control centre in control centre; The station can be moved independently, but can not change user profile.
Adopt the right management method of the track traffic synthetic monitoring of present embodiment, guaranteed the independence of moving at each station, the pressure that has alleviated server, check each other between the user that user configuration information is convenient, and the fail safe and the stability that have strengthened system.
Certainly; Above-mentioned explanation is not to be limitation of the present invention; The present invention also is not limited in above-mentioned giving an example, and variation, remodeling, interpolation or replacement that those skilled in the art are made in essential scope of the present invention also should belong to protection scope of the present invention.