CN110932883A - Module management method for power consumption information acquisition system modular terminal - Google Patents

Module management method for power consumption information acquisition system modular terminal Download PDF

Info

Publication number
CN110932883A
CN110932883A CN201911030207.2A CN201911030207A CN110932883A CN 110932883 A CN110932883 A CN 110932883A CN 201911030207 A CN201911030207 A CN 201911030207A CN 110932883 A CN110932883 A CN 110932883A
Authority
CN
China
Prior art keywords
module
terminal
information
rule table
modules
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.)
Pending
Application number
CN201911030207.2A
Other languages
Chinese (zh)
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.)
Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Jiangsu Electric Power 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 Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd
Priority to CN201911030207.2A priority Critical patent/CN110932883A/en
Publication of CN110932883A publication Critical patent/CN110932883A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5022Ensuring fulfilment of SLA by giving priorities, e.g. assigning classes of service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5025Ensuring fulfilment of SLA by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade

Abstract

A module management method of a modular terminal of a power utilization information acquisition system mainly comprises terminal maintenance, a module registration process, a logout process, a module fault recovery and isolation process and module resource scheduling, and the system introduces a method of interaction time period and module freezing, so that various modules can work in different time periods, the occupation of system resources is shared to different time periods, and the resource occupation of the system is reduced; and the module priority is introduced, and the module with high priority is preferentially ensured to be normal in function under the worst condition.

Description

Module management method for power consumption information acquisition system modular terminal
Technical Field
The invention relates to an intelligent management method for power utilization information, in particular to a module management method for a modular terminal of a power utilization information acquisition system.
Background
The modular terminal of the existing power utilization information acquisition system adopts a main body terminal to be externally connected with a plurality of functional modules to realize the differentiated requirements of all the regions in the whole country.
The function module not only includes traditional power consumption information acquisition function module, for example RS485 module, remote signalling remote control module, PLC carrier wave module, 4G module etc. follow-up still need to cover and fill electric pile, intelligent house equipment, energy storage facility, distributed power source, more and more kinds of modules such as water gauge, gas table.
Different types of module access terminals affect the reliability of the overall system. For example, some functional modules are unstable in their own functions or are not compatible with the terminal, and besides affecting their own functions, they may affect the whole terminal and affect other functional modules. The modular terminal requires a module management system for managing and maintaining all modules of the access terminal to meet the reliability requirements of the entire system.
Disclosure of Invention
The invention aims to solve the technical problem of providing a module management method for a modular terminal of a power utilization information acquisition system.
The technical scheme of the invention for solving the technical problems is as follows:
a module management method for a modular terminal of a power utilization information acquisition system mainly comprises the following procedures:
s1, maintaining a terminal, wherein the terminal maintains two global dynamic tables including a module information table and a module rule table;
s2 module registration process for receiving and sending module data, updating module rule table, updating module state to normal, and adding system resource information corresponding to module;
s3, canceling the flow, determining whether the module occupies the system resource, if yes, releasing the corresponding system resource, and then updating the module information table and the module rule table;
s4 module fault recovery and isolation process: when the module has abnormal functions, the module is tried to be recovered, if the module fails to be recovered, the system resources of the module are released, and the module cannot perform data interaction with the terminal, so that the module is isolated;
s5 module resource scheduling: when system resources are in shortage, an interactive time period and module freezing method is introduced, so that various modules can work in different time periods, the occupation of the system resources is allocated to different time periods, and the occupation of the system resources is reduced; and the module priority is introduced, and the module with high priority is preferentially ensured to be normal in function under the worst condition.
The invention further defines the technical scheme as follows:
further, the module information table: after the storage module is inserted into the terminal, the terminal acquires module information; the specific content of the module information comprises: module ID information, module type, module channel type, module private information, slot number of the accessed terminal, equipment file information of the module and other module information; module rule table: storing all rules according to which the terminal operation module is based; the specific content comprises the following steps: 1) storing module type information (a module white list and a module black list) supported or not supported by the terminal; 2) Storing the priorities of different types of modules supported by the terminal; 3) storing the allowed data interaction time period of the module supported by the terminal; 4) storing all module information synchronized from the module information table; 5) storing the corresponding state (normal, abnormal and frozen) information of the module; 6) and storing system resource information (such as an allocated task number, the size of a cache space, a device descriptor and the like) corresponding to the module.
Further, the module registration process specifically includes: when the module is inserted into the slot of the terminal or the slot of the terminal in which the module is inserted is electrified, the terminal can acquire module information, then inquire a module rule table, filter the modules which do not accord with the rule, add the module information into the module information table for the modules which accord with the rule, then distribute system resources (opening up data transceiving cache space, adding tasks, adding equipment descriptors and the like) for transceiving module data, finally update the module rule table, update the module state to be normal, and add the system resource information corresponding to the module.
Further, the module logout flow specifically comprises: when the module is unplugged from the terminal slot position or the terminal slot position inserted with the module is powered off, the terminal can acquire the information of the changed module, determine whether the module occupies the system resources or not by inquiring the module rule table, if so, release the corresponding system resources, and then update the module information table and the module rule table.
Further, the module fault recovery and isolation process is as follows: the module continuously and repeatedly does not perform data interaction with the terminal according to the protocol, and the module is considered to be in fault; attempting to recover the abnormal module by restarting the terminal; the specific steps are that when the module is considered to be in fault, the slot position corresponding to the module is powered off, the module is triggered to log off the process, and then the module is powered on, and the module is triggered to register; then judging whether the restarted module is recovered to be normal or not; if the module is abnormal, releasing the system resources applied by the module, and then updating the corresponding state of the module in the module rule table to be abnormal; finally, the module with abnormal function only occupies the table entries in the module information table and the module rule table, does not occupy system resources, and does not perform data interaction with the system, thereby achieving the purpose of isolation.
Further, the module resource scheduling specifically includes: when system resources are insufficient or the power consumption of the whole system is required, scheduling of resources on the module is needed; the resource scheduling is mainly carried out by using module priority and module interaction time period in a module rule table; the module priority refers to allocating different levels to various modules according to the importance degree of the service requirement; the module interaction time period means that a certain type of module does not need to perform data interaction with the terminal every moment, but limits a certain time period to perform data interaction.
Further, for the module which is just accessed, if the data interaction time period in the module rule table has a requirement and the current system time is not in the required time period, adding the module into the module information table, but not distributing system resources, and finally setting the module state to be a frozen state in the module rule table; the system has tasks to continuously check and update the module rule table, when the frozen module is detected to meet the requirement of the interaction time period, system resources are distributed, the state in the module rule table is updated to be a normal state, and then subsequent data interaction processing is carried out;
when the priorities of the modules are the same, the modules which are inserted preferentially distribute system resources preferentially;
when the priorities of the modules are different, after a module with high priority is inserted, the resource occupied by the module with the lowest priority in the system needs to be released, the module state is set to be frozen, and then the newly added module is allocated with the system resource; if the resources are insufficient, the resources occupied by the modules with low priority levels need to be released; when the priority of the inserted module is lower than the module already existing in the current system, the module is not processed.
In short, the technical scheme of the invention can ensure that different types of module access terminals can not influence the reliability of the whole system. At the same time, a module management system for managing the modular terminal is provided, which is used to manage and maintain all modules of the access terminal, so as to satisfy the reliability requirement of the whole system.
Drawings
Fig. 1 is a schematic view of the overall structure of the present invention.
Fig. 2 is a schematic diagram of a module registration and deregistration process.
Fig. 3 is a schematic diagram of a module fault recovery and isolation process.
FIG. 4 is a schematic diagram of a module resource scheduling process.
Detailed Description
Example 1
(1) Two global dynamic tables
Two global dynamic tables are maintained in the terminal:
module information table: and after the storage module is inserted into the terminal, the module information acquired by the terminal.
The specific content comprises the following steps: module ID information, module type, module channel type, module private information, slot number of the accessed terminal, equipment file information of the module and other module information.
Module rule table: all rules according to which the terminal operation module is based are stored.
The specific content comprises the following steps:
1) storing module type information (a module white list and a module black list) supported or not supported by the terminal; 2) Storing the priorities of different types of modules supported by the terminal; 3) storing the allowed data interaction time period of the module supported by the terminal; 4) storing all module information synchronized from the module information table; 5) storing the corresponding state (normal, abnormal and frozen) information of the module; 6) and storing system resource information (such as an allocated task number, the size of a cache space, a device descriptor and the like) corresponding to the module.
(2) Module registration and logout flow
Module registration process:
when the module is inserted into the slot of the terminal or the slot of the terminal in which the module is inserted is electrified, the terminal can acquire module information, then inquire a module rule table, filter the modules which do not accord with the rule, add the module information into the module information table for the modules which accord with the rule, then distribute system resources (opening up data transceiving cache space, adding tasks, adding equipment descriptors and the like) for transceiving module data, finally update the module rule table, update the module state to be normal, and add the system resource information corresponding to the module.
And (3) module logout flow:
when the module is unplugged from the terminal slot position or the terminal slot position inserted with the module is powered off, the terminal can acquire the information of the changed module, determine whether the module occupies the system resources or not by inquiring the module rule table, if so, release the corresponding system resources, and then update the module information table and the module rule table.
(3) Module fault recovery and isolation process
The module does not carry out data interaction with the terminal according to the protocol for a plurality of times continuously, and the module is considered to be in fault.
The recovery of the abnormal module is attempted by restarting the terminal.
The specific steps are that when the module is considered to be in fault, the slot position corresponding to the module is powered off, the module is triggered to log off the process, and then the module is powered on, and the module is triggered to register; then judging whether the restarted module is recovered to be normal or not; if the module is abnormal, releasing the system resources applied by the module, and then updating the corresponding state of the module in the module rule table to be abnormal.
Finally, the module with abnormal function only occupies the table entries in the module information table and the module rule table, does not occupy system resources, and does not perform data interaction with the system, thereby achieving the purpose of isolation.
(4) Scheduling of module resources
When system resources are insufficient or there is a requirement for power consumption of the whole system, scheduling of resources for the module is required.
The resource scheduling is mainly carried out by using module priority and module interaction time period in a module rule table. The module priority refers to allocating different levels to various modules according to the importance degree of the service requirement; the module interaction time period means that a certain type of module does not need to perform data interaction with the terminal every moment, but limits a certain time period to perform data interaction.
For the module which is just accessed, if the data interaction time period in the module rule table has a requirement and the current system time is not in the required time period, adding the module into the module information table, but not distributing the system resources, and finally setting the module state to be the frozen state in the module rule table.
The system has tasks to continuously check and update the module rule table, when the frozen module is detected to meet the requirement of the interaction time period, the system resources are distributed, the state in the module rule table is updated to be a normal state, and then the subsequent data interaction processing is carried out.
When the priorities of the modules are the same, the modules inserted preferentially allocate system resources preferentially.
When the priorities of the modules are different, after a module with high priority is inserted, the resource occupied by the module with the lowest priority in the system needs to be released, the module state is set to be frozen, and then the system resource is allocated to the newly added module. If the resources are not enough, the module with the lower priority level needs to release the resources occupied by the module. When the priority of the inserted module is lower than the module already existing in the current system, the module is not processed.
In addition to the above embodiments, the present invention may have other embodiments. All technical solutions formed by adopting equivalent substitutions or equivalent transformations fall within the protection scope of the claims of the present invention.

Claims (7)

1. A module management method for a power consumption information acquisition system module terminal is characterized by comprising the following steps: the method mainly comprises the following steps:
s1, maintaining a terminal, wherein the terminal maintains two global dynamic tables including a module information table and a module rule table;
s2 module registration process for receiving and sending module data, updating module rule table, updating module state to normal, and adding system resource information corresponding to module;
s3, canceling the flow, determining whether the module occupies the system resource, if yes, releasing the corresponding system resource, and then updating the module information table and the module rule table;
s4 module fault recovery and isolation process: when the module has abnormal functions, the module is tried to be recovered, if the module fails to be recovered, the system resources of the module are released, and the module cannot perform data interaction with the terminal, so that the module is isolated;
s5 module resource scheduling: when system resources are in shortage, an interactive time period and module freezing method is introduced, so that various modules can work in different time periods, the occupation of the system resources is allocated to different time periods, and the occupation of the system resources is reduced; and the module priority is introduced, and the module with high priority is preferentially ensured to be normal in function under the worst condition.
2. The power consumption information acquisition system modular terminal module management method according to claim 1, characterized in that: module information table: after the storage module is inserted into the terminal, the terminal acquires module information; the specific content of the module information comprises: module ID information, module type, module channel type, module private information, slot number of the accessed terminal, equipment file information of the module and other module information; module rule table: storing all rules according to which the terminal operation module is based; the specific content comprises the following steps: 1) storing module type information supported or unsupported by a terminal; 2) Storing the priorities of different types of modules supported by the terminal; 3) storing the allowed data interaction time period of the module supported by the terminal; 4) storing all module information synchronized from the module information table; 5) storing the state information corresponding to the module; 6) and storing the system resource information corresponding to the module.
3. The power consumption information acquisition system modular terminal module management method according to claim 1, characterized in that: the module registration process specifically comprises: when the module is inserted into the slot position of the terminal or the slot position of the terminal in which the module is inserted is electrified, the terminal can acquire module information, then inquire the module rule table, filter the modules which do not accord with the rule, add the module information into the module information table for the modules which accord with the rule, then distribute system resources for receiving and sending module data, finally update the module rule table, update the module state to be normal, and add the system resource information corresponding to the module.
4. The power consumption information acquisition system modular terminal module management method according to claim 1, characterized in that: the module logout flow specifically comprises the following steps: when the module is unplugged from the terminal slot position or the terminal slot position inserted with the module is powered off, the terminal can acquire the information of the changed module, determine whether the module occupies the system resources or not by inquiring the module rule table, if so, release the corresponding system resources, and then update the module information table and the module rule table.
5. The power consumption information acquisition system modular terminal module management method according to claim 1, characterized in that: the module fault recovery and isolation process comprises the following steps: the module continuously and repeatedly does not perform data interaction with the terminal according to the protocol, and the module is considered to be in fault; attempting to recover the abnormal module by restarting the terminal; the specific steps are that when the module is considered to be in fault, the slot position corresponding to the module is powered off, the module is triggered to log off the process, and then the module is powered on, and the module is triggered to register; then judging whether the restarted module is recovered to be normal or not; if the module is abnormal, releasing the system resources applied by the module, and then updating the corresponding state of the module in the module rule table to be abnormal; finally, the module with abnormal function only occupies the table entries in the module information table and the module rule table, does not occupy system resources, and does not perform data interaction with the system, thereby achieving the purpose of isolation.
6. The power consumption information acquisition system modular terminal module management method according to claim 1, characterized in that: the module resource scheduling specifically comprises: when system resources are insufficient or the power consumption of the whole system is required, scheduling of resources on the module is needed; the resource scheduling is mainly carried out by using module priority and module interaction time period in a module rule table; the module priority refers to allocating different levels to various modules according to the importance degree of the service requirement; the module interaction time period means that a certain type of module does not need to perform data interaction with the terminal every moment, but limits a certain time period to perform data interaction.
7. The power consumption information acquisition system modular terminal module management method according to claim 6, characterized in that: for the module which is just accessed, if the data interaction time period in the module rule table has a requirement and the current system time is not in the required time period, adding the module into the module information table, but not distributing system resources, and finally setting the module state to be a frozen state in the module rule table;
the system has tasks to continuously check and update the module rule table, when the frozen module is detected to meet the requirement of the interaction time period, system resources are distributed, the state in the module rule table is updated to be a normal state, and then subsequent data interaction processing is carried out;
when the priorities of the modules are the same, the modules which are inserted preferentially distribute system resources preferentially;
when the priorities of the modules are different, after a module with high priority is inserted, the resource occupied by the module with the lowest priority in the system needs to be released, the module state is set to be frozen, and then the newly added module is allocated with the system resource; if the resources are insufficient, the resources occupied by the modules with low priority levels need to be released; when the priority of the inserted module is lower than the module already existing in the current system, the module is not processed.
CN201911030207.2A 2019-10-28 2019-10-28 Module management method for power consumption information acquisition system modular terminal Pending CN110932883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911030207.2A CN110932883A (en) 2019-10-28 2019-10-28 Module management method for power consumption information acquisition system modular terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911030207.2A CN110932883A (en) 2019-10-28 2019-10-28 Module management method for power consumption information acquisition system modular terminal

Publications (1)

Publication Number Publication Date
CN110932883A true CN110932883A (en) 2020-03-27

Family

ID=69849613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911030207.2A Pending CN110932883A (en) 2019-10-28 2019-10-28 Module management method for power consumption information acquisition system modular terminal

Country Status (1)

Country Link
CN (1) CN110932883A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060103546A1 (en) * 2004-11-16 2006-05-18 Salser Floyd S Jr Smart transmitter for utility meters
CN101216984A (en) * 2008-01-02 2008-07-09 江苏省电力公司 An electricity energy information acquisition integrated platform
CN104639654A (en) * 2015-03-05 2015-05-20 国家电网公司 Integrated access system and integrated access method for mass electricity information acquisition terminals
CN206961310U (en) * 2017-04-14 2018-02-02 光一科技股份有限公司 A kind of power information acquisition terminal and its modularity acquisition system based on CAN
CN108922157A (en) * 2018-07-09 2018-11-30 深圳市科陆电子科技股份有限公司 A kind of self study intelligent meter reading method and system
CN110113078A (en) * 2019-04-25 2019-08-09 国网湖南省电力有限公司 A kind of carrier power meter intelligent management and device based on HPLC

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060103546A1 (en) * 2004-11-16 2006-05-18 Salser Floyd S Jr Smart transmitter for utility meters
CN101216984A (en) * 2008-01-02 2008-07-09 江苏省电力公司 An electricity energy information acquisition integrated platform
CN104639654A (en) * 2015-03-05 2015-05-20 国家电网公司 Integrated access system and integrated access method for mass electricity information acquisition terminals
CN206961310U (en) * 2017-04-14 2018-02-02 光一科技股份有限公司 A kind of power information acquisition terminal and its modularity acquisition system based on CAN
CN108922157A (en) * 2018-07-09 2018-11-30 深圳市科陆电子科技股份有限公司 A kind of self study intelligent meter reading method and system
CN110113078A (en) * 2019-04-25 2019-08-09 国网湖南省电力有限公司 A kind of carrier power meter intelligent management and device based on HPLC

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王军等: "基于任务调度的电能量计量采集系统的设计与实现", 《电网技术》 *

Similar Documents

Publication Publication Date Title
CN109104341B (en) Batch deployment method of same-family type intelligent home system
CN101127685B (en) An inter-process communication device and inter-process communication method
CN104618221B (en) A kind of message service system of decentralization
CN103442395B (en) A kind of Big Dipper data Transmission system based on connection pool and method thereof
CN109376011B (en) Method and device for managing resources in virtualization system
US9025608B2 (en) Route switching device and data cashing method thereof
CN102124805A (en) Method and system for multiple physical use of a single identifier code shared by a group of terminals in mobile telecommunications networks
EP3217735B1 (en) M2m node deletion and registration method, m2m node and storage medium
CN104079599A (en) Real-time message synchronizing method and container wharf operation system
CN102255926A (en) Task distribution method in map reduce (MR) system, system and apparatus thereof
CN102075246A (en) Method, system and optical line terminal for obtaining malfunction information of optical network unit
CN106790678B (en) Transmission system and method for ensuring priority transmission consumption of important data
CN102075344A (en) Work order distributing method and alarm information filtering device in communication network
CN101958939A (en) Automatic distribution method and system for multi-machine communication node equipment key address
CN103049527A (en) Large power grid oriented parallel real-time database master and slave switching management system
CN101741920A (en) Intelligent terminal communication method and method in cell network
CN102957626A (en) Message forwarding method and device
CN110932883A (en) Module management method for power consumption information acquisition system modular terminal
CN103683506A (en) Comprehensively-integrated linkage safety system of power system transformer substations
CN111752675B (en) Internet of things platform based on containerization technology
CN109474717A (en) A kind of connection of communication bus and address automatic allocating method
CN105162560A (en) Data processing method and system
CN108196797B (en) Data processing system based on cloud computing
CN111740498B (en) Low-voltage transformer area topology identification method, device and equipment
CN114598662A (en) Message queue cluster federal management system and method

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20230328