CN101661281B - Method for handing over control authority in distributed monitoring system - Google Patents

Method for handing over control authority in distributed monitoring system Download PDF

Info

Publication number
CN101661281B
CN101661281B CN2008100437450A CN200810043745A CN101661281B CN 101661281 B CN101661281 B CN 101661281B CN 2008100437450 A CN2008100437450 A CN 2008100437450A CN 200810043745 A CN200810043745 A CN 200810043745A CN 101661281 B CN101661281 B CN 101661281B
Authority
CN
China
Prior art keywords
authority
message
resource
client
rights service
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
Application number
CN2008100437450A
Other languages
Chinese (zh)
Other versions
CN101661281A (en
Inventor
费冬强
徐俊杰
葛鑫
崔中发
李淞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Baosight Software Co Ltd
Original Assignee
Shanghai Baosight Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Baosight Software Co Ltd filed Critical Shanghai Baosight Software Co Ltd
Priority to CN2008100437450A priority Critical patent/CN101661281B/en
Publication of CN101661281A publication Critical patent/CN101661281A/en
Application granted granted Critical
Publication of CN101661281B publication Critical patent/CN101661281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Computer And Data Communications (AREA)
  • Multi Processors (AREA)

Abstract

The invention discloses a method for handing over a control authority in a distributed monitoring system, which comprises the following steps: the occupancy situation of resource is marked in a node authority service; a requesting client acquires an occupancy state of the resource, and transmits an authority handing over request message to the node authority service; the node authority service analyzes the message, judges the message, and operates respectively according to whether to retake the control authority forcibly or not; the requested client performs an operation of confirming the authority handing over request, and transmits the message confirmed by the authority handing over request to the node authority service; and the node authority service receives the authority handing over request confirmed message by the node service, modifies the occupancy state of the authority, and returns a request success message to the requesting client and the requested client. The method for handing over the control authority in the distributed monitoring system implements a function of handing over the authority based on the prior distributed monitoring system, saves much development cost, and has simple operation and higher reliability.

Description

The method that control authority is transferred in the distributed monitoring system
Technical field
The present invention relates to control authority management domain in the distributed monitoring system, the method that control authority is transferred in particularly a kind of distributed monitoring system.
Background technology
Distributed monitoring system is meant that distributed monitoring system is meant the supervisory system that is made of the different piece of disperseing on the geography, and each part is finished the partial function of total system.Some are distributed in track traffic synthetic monitoring system, electric power supervisory control system etc., in multi-user's application, consideration for the device control security, often require only to allow a user or a class user that equipment is carried out control operation at any one time, if other users need control equipment, just can carry out after then needing current control authority with equipment the person transferring backward from the former.And this turning-over operation often needs online finishing.
But in the existing distributed supervisory system, usually Rights Management System is static to the management of the control authority that the user possessed, promptly be configured in advance by its configuration subsystem, the control authority that the user had in the on-line operation process of supervisory system is changeless.In order to realize the online transfer of device control power, need outside Rights Management System, carry out a large amount of developments.This development does not possess multiplexing function, thereby can cause the unnecessary work that repeats often at concrete application.
Summary of the invention
Technical matters to be solved by this invention provides the method that control authority is transferred in a kind of distributed monitoring system, directly on the basis of existing resource, finishes the transfer of control authority by Rights Management System.
For solving the problems of the technologies described above, the method and technology scheme that control authority is transferred in the distributed monitoring system of the present invention is, resource is monopolized control authority by a certain user in distributed monitoring system, when another user side, be that requesting client will be monopolized when control to this resource, then the current control authority of resource transferred to requesting client from the former;
When branch node is connected just often with host node, may further comprise the steps:
(1) in the node rights service, indicates the situation that takies of resource in each system resource allocation field;
(2) requesting client is obtained the resource occupation state from local branch node;
(3) requesting client is transferred request message to host node rights service sending permission;
(4) the host node rights service is resolved message and message is judged, transfer request message for forcing to fetch control authority when the authority of client, then the host node rights service is revised the authority seizure condition, returns the request success message to requesting client, forward step (7) to, flow process finishes; Transferring request message when the authority of client is not to force to fetch control authority, and then the host node rights service is transferred request message with the authority of requesting client and sent to and be requested client;
(5) be requested client and confirm authority transfer requested operation, and the message that this authority transfer request is identified sends to the host node rights service;
(6) the host node rights service receives that this authority transfers the message that request is identified, and revises the authority seizure condition, and to requesting client be requested client and return the successful message of request;
(7) the host node rights service is carried out the authority transinformation synchronously to each branch node, process ends;
When branch node and host node malunion often, may further comprise the steps:
(A) in local branch node rights service, indicate the situation that takies of resource in each system resource allocation field;
(B) requesting client is obtained the resource occupation state from local branch node;
(C) requesting client is transferred request message to local branch node rights service sending permission;
(D) local branch node rights service is resolved message and message is judged, when the authority of client is transferred request message for forcing to fetch control authority, then local branch node rights service is revised the authority seizure condition, returns the request success message to requesting client, and flow process finishes; Transferring request message when the authority of client is not to force to fetch control authority, and then local branch node rights service is transferred request message with the authority of client and sent to and be requested client;
(E) be requested client and confirm authority transfer requested operation, and the message that this authority transfer request is identified sends to local branch node rights service;
(F) the local node rights service receives that this authority transfers the message that request is identified, and revises the authority seizure condition, and to requesting client be requested client and return the successful message of request, process ends.
The present invention is set to the formula of monopolizing by resource, and rights service will be classified resource as automatically can carry out the resource that authority is transferred, thereby realizes the transfer to control authority in rights service.The method that control authority is transferred in the distributed monitoring system of the present invention does not need in addition authority to be transferred function develops, and just can realize the function that authority is transferred on the basis of original distributed monitoring system.The present invention has not only saved a large amount of cost of development, and easy and simple to handle, and reliability is higher.
Description of drawings
The present invention is further detailed explanation below in conjunction with drawings and Examples:
Fig. 1 can structural representation for distributed system;
Fig. 2 is that host node of the present invention is connected schematic flow sheet just often with branch node;
Fig. 3 is host node of the present invention and branch node malunion schematic flow sheet often;
Fig. 4 realizes the realization flow synoptic diagram that authority is transferred in the embodiment of the invention.
Embodiment
As shown in Figure 1, the typical structure of the applied distributed system of the inventive method comprises a plurality of distributed nodes and intranodal and internodal communication network.Distributed node comprises a host node and a plurality of branch node, and each node comprises a node authority service end and a plurality of node client.As comprising a host node rights service end and a plurality of main Zhi Jiedian client on the host node.Comprise a branch node rights service end and a plurality of branch node client on the branch node.
Communication network uses TCP/IP (Transmission Control Protocol/Internet Protocol, TCP) communications protocol to carry out communication, and the transmission of various information all depends on this communication network between intranodal and node.
The mode that authority is transferred has three kinds: one, and the current user's request that has authority is transferred authority to designated user; Two, the user transfers to the current user's request permissions that has authority; Three, high-priority users forces to fetch from low priority user.
As shown in Figure 2, when branch node is connected just often with host node, the method that control authority is transferred in the distributed monitoring system of the present invention is achieved in that
(A1) in each node rights service, be two fields of each system resource allocation: it 1 is whether resource is occupied, and it is 2 for taking the user name of resource.Wherein, the described resource whether type of occupied field is unsigned long or integer, and whether occupied field is 16 bits to resource.The type that takies the username field of resource is a character type, and the username field that takies resource is 32 bytes.
(A2) requesting client is obtained the resource occupation state from local branch node.Described resource occupation state is that resource is occupied, still is in idle condition, if resource is occupied, then judges the current user who takies resource.
(A3) requesting client is to host node rights service sending permission transfer request message.
(A4) the host node rights service is resolved message: if force to fetch control authority, then the host node rights service is revised the authority seizure condition, and return the request success message to requesting client, forward step (A7) to, if not forcing to fetch control authority, the host node rights service will be transferred request message and be forwarded to and be requested client.
(A5) be requested client operation person and confirm authority transfer solicit operation by hand, this confirms that operation sends to the host node rights service in the mode of message.
(A6) the host node rights service is received acknowledge message, revises the authority seizure condition, and to requesting client be requested client and return the request success message.
(A7) the host node rights service is carried out the authority transinformation synchronously to each branch node, process ends;
As shown in Figure 3, when branch node and host node malunion often, can only realize that at branch node the authority of intra-node is transferred, the method that control authority is transferred in the distributed monitoring system of the present invention is achieved in that
(B1) in local branch node rights service, be two fields of each system resource allocation: it 1 is whether resource is occupied, and it is 2 for taking the user name of resource.Wherein, the described resource whether type of occupied field is unsigned long or integer, and resource whether occupied field is 16 bits.The type that takies the username field of resource is a character type, and the username field that takies resource is 32 bytes.
(B2) requesting client is obtained the resource occupation state from local branch node.Described resource occupation state is that resource is occupied, still is in idle condition, if resource is occupied, then judges the current user who takies resource.
(B3) requesting client is to local branch node rights service sending permission transfer request message.
(B4) local branch node rights service is resolved message: if force to fetch control authority, then local branch node rights service is revised the authority seizure condition, and returns request success message, process ends to requesting client; If not forcing to fetch control authority, local branch node rights service will be transferred request message and be forwarded to and be requested client.
(B5) be requested client operation person and confirm authority transfer solicit operation by hand, this confirms that operation sends to local branch node rights service in the mode of message.
(B6) local branch node rights service is received acknowledge message, revises the authority seizure condition, and to requesting client be requested client and return request success message, process ends.
As shown in Figure 4, when the user A of branch node 1 to host node user B acquisition request during to the control authority of resource X, concrete step is as follows:
After the system start-up, user's host node B login system, party B-subscriber within the scope of authority, automatically obtain control authority to all idling-resources because system has just started to be finished this moment.Here be example with resource X separately, in the host node rights service, the seizure condition sign of resource X be changed to " taking ", the user that takies of resource X is set to B.After the authority mark setting was finished, the host node rights service arrived each branch node rights service by communication network with these information synchronization.
User A wishes resource X is controlled after branch node 1 login, but that the information that he obtains from branch node 1 rights service is the control authority of resource X is shared by user B, and therefore this moment, user A can't control resource X.
User A opens authority jump operation interface, and the control authority of resource X is carried out solicit operation.Because client detected the host node rights service and connected normally this moment, so the operation transferred of party A-subscriber's control right request is packaged as internet message and is sent to the host node rights service.This internet message should comprise following content at least: type of message (authority transfer), and request user ID (A), resource ID (X) is requested user ID (B), action type ID (request changes over to).
After the host node rights service is received this authority transfer request message, message is resolved, find this authority transfer second kind for the transfer mode, the user transfers to the current user's request permissions that has authority, therefore, the host node rights service with this forwards to the logging on client that is requested user B.
The logging on client of user B receives message and message resolved, and then it is presented at man-machine interface prompting user B in mode intuitively and confirms.User B thinks and can transfer the control authority of resource X to user A after seeing that authority is transferred request, then can accept this request, otherwise can refuse this request.Suppose that user B accepts authority and transfers request, then its reception operation also is packaged as internet message and sends the host node rights service to.This internet message should comprise following content at least: type of message (authority transfer), and request user ID (A), resource ID (X) is requested user ID (B), action type ID (acceptance changes request over to).
After the host node rights service receives this message, resolve message, the request of discovery is accepted.The host node rights service is changed to " taking " with the seizure condition sign of resource X, and the user that takies of resource X is set to A.The host node service will be transferred and successfully be packaged as message and send requesting client to and be requested client.This internet message should comprise following content at least: type of message (authority transfer), and request user ID (A), resource ID (X) is requested user ID (B), action type ID (request changes success over to).The host node rights service is synchronized to each branch node rights service by communication network with authority information simultaneously.
The present invention is on existing distributed supervisory system basis, and resource is set to the formula of monopolizing, and this resource of rights service is set to carry out the resource that authority is transferred, and has realized carrying out in rights service the turning-over operation to the control authority of resource.The present invention need not work out complicated outside the rights service system again and scattered shell script is realized authority transfer function, greatly reduce the difficulty of distributed multi-user supervisory system to system resource management, the complexity and the workload of engineering construction have been reduced, the present invention can not only reduce the cost of realizing that authority is transferred, can also increase the security that authority is transferred.

Claims (5)

1. the method that control authority is transferred in the distributed monitoring system, it is characterized in that, resource is monopolized control authority by a certain user in distributed monitoring system, when another user side, be that requesting client will be monopolized when control to this resource, then the current control authority of resource transferred to requesting client from the former;
When branch node is connected just often with host node, may further comprise the steps:
(1) in the node rights service, indicates the situation that takies of resource in each system resource allocation field;
(2) requesting client is obtained the resource occupation state from local branch node;
(3) requesting client is transferred request message to host node rights service sending permission;
(4) the host node rights service is resolved message and message is judged, transfer request message for forcing to fetch control authority when the authority of client, then the host node rights service is revised the authority seizure condition, returns the request success message to requesting client, forward step (7) to, flow process finishes; Transferring request message when the authority of client is not to force to fetch control authority, and then the host node rights service is transferred request message with the authority of requesting client and sent to and be requested client;
(5) be requested client and confirm authority transfer requested operation, and the message that this authority transfer request is identified sends to the host node rights service;
(6) the host node rights service receives that this authority transfers the message that request is identified, and revises the authority seizure condition, and to requesting client be requested client and return the successful message of request;
(7) the host node rights service is carried out the authority transinformation synchronously to each branch node, process ends;
When branch node and host node malunion often, may further comprise the steps:
(A) in local branch node rights service, indicate the situation that takies of resource in each system resource allocation field;
(B) requesting client is obtained the resource occupation state from local branch node;
(C) requesting client is transferred request message to local branch node rights service sending permission;
(D) local branch node rights service is resolved message and message is judged, when the authority of client is transferred request message for forcing to fetch control authority, then local branch node rights service is revised the authority seizure condition, returns the request success message to requesting client, and flow process finishes; Transferring request message when the authority of client is not to force to fetch control authority, and then local branch node rights service is transferred request message with the authority of client and sent to and be requested client;
(E) be requested client and confirm authority transfer requested operation, and the message that this authority transfer request is identified sends to local branch node rights service;
(F) the local node rights service receives that this authority transfers the message that request is identified, and revises the authority seizure condition, and to requesting client be requested client and return the successful message of request, process ends.
2. the method that control authority is transferred in the distributed monitoring system according to claim 1 is characterized in that the node authority services package in the step (1) is drawn together host node rights service and branch node rights service.
3. the method that control authority is transferred in the distributed monitoring system according to claim 1, it is characterized in that, in step (1), the step (A), be two fields of each resources allocation, whether identifying resource is occupied respectively, and the user name that takies resource, the wherein said resource whether type of occupied field is unsigned long or integer, and whether occupied field is 16 bits to resource, the described type that takies the username field of resource is a character type, and the username field that takies resource is 32 bytes.
4. the method that control authority is transferred in the distributed monitoring system according to claim 1 is characterized in that, host node uses identical authority configuration with branch node.
5. the method that control authority is transferred in the distributed monitoring system according to claim 1 is characterized in that, uses the TCP communication mechanism to realize when sending permission is transferred request message.
CN2008100437450A 2008-08-28 2008-08-28 Method for handing over control authority in distributed monitoring system Active CN101661281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100437450A CN101661281B (en) 2008-08-28 2008-08-28 Method for handing over control authority in distributed monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100437450A CN101661281B (en) 2008-08-28 2008-08-28 Method for handing over control authority in distributed monitoring system

Publications (2)

Publication Number Publication Date
CN101661281A CN101661281A (en) 2010-03-03
CN101661281B true CN101661281B (en) 2011-10-26

Family

ID=41789349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100437450A Active CN101661281B (en) 2008-08-28 2008-08-28 Method for handing over control authority in distributed monitoring system

Country Status (1)

Country Link
CN (1) CN101661281B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281313B (en) * 2013-05-14 2016-03-02 成都交大光芒科技股份有限公司 Based on distributed right management method in track traffic synthetic monitoring system
CN103297222B (en) * 2013-05-28 2016-05-25 中国铁道科学研究院通信信号研究所 A kind of management method of control authority
CN106936821A (en) * 2017-03-07 2017-07-07 北京奇虎科技有限公司 Method, device and terminal that wearable device authority is shifted
CN108428041A (en) * 2018-01-26 2018-08-21 爱普(福建)科技有限公司 A kind of right management method and system of system townhouse joint debugging of controlling flood and draining flooded fields
CN109542816B (en) * 2018-10-29 2021-05-18 中国电子科技集团公司第二十九研究所 Service bus construction method based on distributed system
CN109756477B (en) * 2018-11-27 2021-02-02 视联动力信息技术股份有限公司 Access authority setting method and device based on video network
CN110189039B (en) * 2019-06-04 2023-04-25 湖南智慧畅行交通科技有限公司 Charging pile event processing engine based on distribution
CN110501968A (en) * 2019-09-29 2019-11-26 山信软件股份有限公司 A kind of strange land method of controlling operation thereof applied to equipment centralized management
CN113485175B (en) * 2021-06-18 2022-09-23 南京地铁建设有限责任公司 Authority transfer method, device, system, electronic device and storage medium
CN114162173B (en) * 2021-12-03 2023-09-26 中车唐山机车车辆有限公司 Method, equipment and storage medium for determining main role of WLTBN (Wireless local area network)
CN115328053B (en) * 2022-08-23 2024-05-28 中国核动力研究设计院 Permission realization method based on security level DCS system of nuclear power plant

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1439978A (en) * 2002-02-21 2003-09-03 株式会社日立制作所 Access limitation controlling device and method
CN1764925A (en) * 2003-03-28 2006-04-26 索尼株式会社 Information processing system, information processing device, method, and program
EP1399796B1 (en) * 2001-06-07 2006-07-05 ContentGuard Holdings, Inc. Method and apparatus for tracking status of resource in a system for managing use of the resources

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1399796B1 (en) * 2001-06-07 2006-07-05 ContentGuard Holdings, Inc. Method and apparatus for tracking status of resource in a system for managing use of the resources
CN1439978A (en) * 2002-02-21 2003-09-03 株式会社日立制作所 Access limitation controlling device and method
CN1764925A (en) * 2003-03-28 2006-04-26 索尼株式会社 Information processing system, information processing device, method, and program

Also Published As

Publication number Publication date
CN101661281A (en) 2010-03-03

Similar Documents

Publication Publication Date Title
CN101661281B (en) Method for handing over control authority in distributed monitoring system
CN101159714B (en) Instant communication method and device
CN101909257B (en) Method and system for realizing concurrency access of multiple bearer protocols by M2M platform
CN101981897A (en) Method and device for communicating according to the standard protocol OPC UA in a client/server system
CN101039309B (en) Link sharing service apparatus and communication method thereof
CN102394925B (en) Communication method and device for remote monitoring diagnosis center and area regulation center
CN113596191A (en) Data processing method, network element equipment and readable storage medium
CN1492637A (en) Meta service selector, meta service selector protocol, network access server and system
JP2005537755A (en) Automatic search method between devices in a network
CN113572835B (en) Data processing method, network element equipment and readable storage medium
CN1649309A (en) Network managing method and system and computer
KR20040086355A (en) Station apparatus, method for resource allocation in station apraratus, and mobile communication system
CA2672266A1 (en) Mobile communication control system, method, and communication terminal
CN1968276B (en) Dynamic optimization method for data transmission between services in service oriented architecture environment
CN102724322A (en) Remote control method and device
WO2023000936A1 (en) Data processing method, function device and readable storage medium
CN104767722A (en) Conversation management method, strategy server and application function entity
CN100562017C (en) Be used to utilize HTML (Hypertext Markup Language) to carry out the method for two-way communication
CA2397114A1 (en) Communications network
CN101547134B (en) Method and system for mutually converting UDP connection and TCP connection and transfer server
CN101621528B (en) Conversation system based on Ethernet switch cluster management and method for realizing conversation passage
CN101170502B (en) A method and system for realizing mutual access between stacking members
CN114095615A (en) Session establishment method, device, equipment and storage medium
JP2003115795A (en) Communication system, server for use therein, agent control method, agent control program
CN112512022A (en) TSN industrial application server, client, system, service method and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant