CN115237552A - Acquisition task scheduling management method based on object-oriented protocol - Google Patents

Acquisition task scheduling management method based on object-oriented protocol Download PDF

Info

Publication number
CN115237552A
CN115237552A CN202210617382.7A CN202210617382A CN115237552A CN 115237552 A CN115237552 A CN 115237552A CN 202210617382 A CN202210617382 A CN 202210617382A CN 115237552 A CN115237552 A CN 115237552A
Authority
CN
China
Prior art keywords
electric energy
energy meter
meter
acquisition
task
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
CN202210617382.7A
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.)
Jiangsu Linyang Energy Co ltd
Nanjing Linyang Power Tech Co ltd
Original Assignee
Jiangsu Linyang Energy Co ltd
Nanjing Linyang Power Tech 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 Jiangsu Linyang Energy Co ltd, Nanjing Linyang Power Tech Co ltd filed Critical Jiangsu Linyang Energy Co ltd
Priority to CN202210617382.7A priority Critical patent/CN115237552A/en
Publication of CN115237552A publication Critical patent/CN115237552A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Water Supply & Treatment (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Selective Calling Equipment (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

An acquisition task scheduling management method based on an object-oriented protocol is characterized in that based on a machine learning theory, the communication capacity of an electric energy meter is sequenced by collecting factors influencing meter reading; in the reading process of the electric energy meter, associating the acquisition tasks to the highest electric energy meter according to the priority according to the communication capacity of the electric energy meter, and sequentially reading according to the priority of the tasks by taking the electric energy meter as a minimum scheduling unit; after the single-meter reading task is completed, the subsequent electric energy meter acquisition tasks are sequentially completed according to the communication capacity of the electric energy meter.

Description

Acquisition task scheduling management method based on object-oriented protocol
Technical Field
The invention relates to the field of power utilization information acquisition, in particular to an acquisition task scheduling management method based on an object-oriented protocol.
Background
After more than ten years of construction and application of intelligent power grids, china national grid Limited company has reached more than 4000 million pieces of connected acquisition equipment and more than 5 hundred million intelligent electric energy meters by the end of 2021. Initially, the AMI application layer communication protocol of the national grid limited company is designed in a process-oriented and tiled service data item manner, and has the problems of poor expansibility, low efficiency and the like. With the continuous emergence of new service requirements such as power failure event reporting, electric energy meter full event acquisition, multi-meter integration, batch electricity price issuing, high-frequency acquisition and the like, the protocol is difficult to meet service application, so in 2016, the national grid company Limited draws on the advantages of the IEC 62056 protocol framework, summarizes the past application experience, and innovatively designs an application layer communication protocol suitable for Chinese AMI, namely DL/T698.45 part 4-5 of an electric energy information acquisition and management system: the technical standard unifies the communication protocol of a local copying table and a remote uploading master station, has the technical characteristics of flexible expansion, high-efficiency acquisition, traceable data, safety, reliability and the like, and well supports the rapid development of the intelligent power grid service of the national power grid limited company in China. The collection task, collection scheme and collection file defined by the protocol subvert the traditional fixed copying mode of data collection, maximize the flexibility of data collection, meet the newly added requirements of high-frequency collection, full-volume collection, personalized collection and the like, and become one of the greatest characteristics of object-oriented protocols.
Due to the characteristics, management functions related to collection task scheduling exist in current power consumption collection terminal (terminal for short) software based on an object-oriented protocol. The function is basically developed around three elements of a collection task, a collection scheme and a collection file, and mainly comprises collection task switching management and electric energy meter data collection management. The basic idea of the traditional design is to combine the collection tasks and the collection schemes issued by the collection master station, to execute the collection tasks of the electric energy meters sequentially from top to bottom according to the priority sequence of different tasks, and the collection electric energy meters are also accessed sequentially according to the sequence of the file serial numbers. The process accords with an object-oriented data acquisition assisting idea, but has defects, namely, ammeter data are sequentially read according to file serial numbers, if the environment of a distribution room is unstable, part of electric energy meters are unsmooth in communication, too much time can be consumed for reading the electric energy meters with difficult communication, and the electric energy meters in the back of the sequence cannot be executed, so that the overall acquisition efficiency and the success rate are influenced; secondly, tasks are scheduled and switched completely depending on priorities, if a high-priority task cannot be executed and completed all the time because part of the tasks cannot be copied, long time and channel resources are occupied, the collection of low-priority tasks is greatly influenced, and meanwhile, an electric meter capable of being copied cannot continuously read other tasks. In addition, with the increasing demand for personalized customization of power consumption, the requirements for fine quality such as instantaneity, integrity, authenticity, diversity, comprehensiveness and the like of data acquisition in many places on site are higher and higher, so that more and more task scheme configurations and more detailed results are obtained, and meanwhile, the corresponding platform area file scale is also continuously enlarged, and the disadvantages of the traditional scheduling strategy are more rapidly exposed. Therefore, an effective method for improving task scheduling efficiency and task data acquisition success rate is needed.
Disclosure of Invention
The invention aims to provide an acquisition task scheduling management method based on an object-oriented protocol, aiming at the problem of improving task scheduling efficiency.
The technical scheme of the invention is as follows:
the invention provides an acquisition task scheduling management method based on an object-oriented protocol, which is based on a machine learning theory and is used for sequencing the communication capacity of an electric energy meter by collecting factors influencing meter reading; in the reading process of the electric energy meter, associating the acquisition tasks to the highest electric energy meter according to the priority according to the communication capacity of the electric energy meter, and sequentially reading according to the priority of the tasks by taking the electric energy meter as a minimum scheduling unit; and after the single-meter reading task is completed, sequentially completing subsequent electric energy meter acquisition tasks according to the communication capacity of the electric energy meter.
Further, the method specifically comprises the following steps:
step 1, establishing a communication capacity influence factor set and a communication capacity sequencing table of the electric energy meter;
step 2, loading the collection task, periodically monitoring the execution state of the task, if the task is activated, associating the activated task to the corresponding electric energy meter according to the priority, and executing step 3; if the task is not activated, no processing is carried out;
step 3, selecting the electric energy meter with the highest priority for each communication channel to execute an acquisition task according to the communication capacity sequencing meter; reading according to the priority of the tasks associated with the electric energy meter, and after all reading acquisition tasks of the electric energy meter are completed, continuing to execute the acquisition task of the next electric energy meter according to the communication capacity sequencing meter until the acquisition tasks of all electric energy meters in the communication capacity sequencing meter under the communication channel are completed;
in the process of executing the collection task of the electric energy meter, acquiring the communication capacity influence factor data of the electric energy meter, uploading the data to an electric energy meter sequencing module, and updating the communication capacity sequencing meter by the electric energy meter sequencing module at regular intervals;
and 4, repeatedly executing the step 2 to the step 3 until all tasks are executed.
Further, the communication channel includes a carrier channel and a 485 channel.
Furthermore, when the electric energy meter loads the file for the first time, the communication capacity of the electric energy meter is set to be the highest level.
Further, in the process of executing the collection task of the electric energy meter, if the communication of the electric energy meter is unsuccessful, the electric energy meter is sorted according to the communication capacity, and the collection task of the next electric energy meter is continuously executed.
Furthermore, the electric energy meters in the communication capacity sequencing meter are divided into a plurality of grades, and each grade comprises a plurality of electric energy meters; and in the process of executing the electric energy meter acquisition task, executing the acquisition task according to the grade of the electric energy meter until all the electric energy meters and all the tasks in the current grade are acquired, and accessing the electric energy meter in the next grade.
Further, the communication capability influence factor set of the electric energy meter is U = (U) 1 ,u 2 ,u 3 ,…,u i ) And i represents the number of influencing factorsNumber u i The influence factor with the number i is represented, and the influence factors comprise: the method comprises the steps of averaging the transmission time of single-frame communication, the number of recent continuous reading failures on the day, the number of collection tasks related to the electric energy meter and one or more of carrier network levels of the electric energy meter.
Further, the step of regularly updating the communication capability ranking table by the electric energy meter ranking module specifically includes:
communication capacity influence factor data acquired in a meter reading process;
calculating the DATA = (DATA) of the communication capacity factor DATA of each electric energy meter in all factors by adopting an interval method 1 ,data 2 ,…,data i ) Wherein, data i The factor with the number of i accounts for the ratio; the average single-frame communication transmission time, the number of recent continuous reading failures in the current day and the factor proportion calculation formula of the carrier network level of the electric energy meter are as follows: (1-data _ in) i /max i ) The calculation formula of the factor proportion of the number of the acquisition tasks related to the electric energy meter is as follows: data _ in i /max i ;data_in i Data collected for the influencing factors numbered i; max of i The maximum value of the influence factors with the serial number i is the maximum value of the average single-frame communication transmission time, the maximum value of the recent continuous reading failure times in the same day and the maximum value of the carrier network level of the electric energy meter are preset values, and the maximum value of the number of the acquisition tasks related to the electric energy meter is the total number of the current tasks;
obtaining coefficient a = (a) of each factor 1 ,a 2 ,…a i ) The method is obtained according to experience or a speed-multiplying ring ratio method, wherein the speed-multiplying ring ratio method comprises the following steps: randomly sorting the factors, comparing the factors in sequence, giving out a multiple relation of importance degrees among the factors, namely a ring ratio, and uniformly converting the ring ratio into a reference value BASE = (BASE) 1 ,base 2 ,…,base i ) Finally, normalization processing is carried out to obtain the coefficient ratio of the corresponding factor in all the factors
Figure BDA0003674956940000041
A=(a 1 ,a 2 ,…a i );
Calculating a communication capacity coefficient F of the electric energy meter: f = DATA a T *100;
The electric energy meter is classified according to the communication capacity coefficient, wherein the classification is carried out according to 100-80, 80-60, and 60 or below, namely C.
Further, the influencing factors include:
the average single-frame communication transmission time is the average time value x for sending a message to the electric energy meter and receiving the message each time,
Figure BDA0003674956940000042
wherein a is the use of sending and receiving the message each time, n is the number of recent communication times with the electric energy meter, and n is preferably 15; the maximum value of the average single-frame communication transmission time is 90s;
the latest continuous reading failure times of the current day are statistical data of the electric energy meter on the current day, and the times are clear 0 after the current day or the electric energy meter is successfully collected; the maximum value of the number of recent continuous reading failures in the current day is 30 times;
the number of acquisition tasks related to the electric energy meter is the number of acquisition tasks related to the electric energy meter in a current terminal acquisition system;
the electric energy meter carrier network level acquires corresponding electric energy meter network level data by periodically acquiring HPLC topological information; if the master station is not configured with HPLC topology information periodic acquisition or an RS485 electric energy meter, the default level is 0; the maximum value of the carrier network layer of the electric energy meter is 15.
The invention has the beneficial effects that:
the collection task scheduling management method is based on a machine learning theory, a set of mechanism for evaluating the communication capacity of the electric energy meters is established by collecting and sorting objective factors influencing meter reading, the communication capacity of each electric energy meter to be collected is scored, and sequencing is carried out according to comprehensive evaluation of the communication capacity. In the electric energy meter reading process, the electric energy meters are sequentially selected according to the communication capacity of the electric energy meters for reading, so that the electric energy meters with strong communication capacity can be quickly read and accessed later due to poor communication capacity; in the process of task switching and scheduling, the traditional mode of taking a task as a scheduling unit is changed into the mode of taking an electric energy meter as the minimum scheduling unit, the activated task is associated to each electric energy meter according to the priority, and the electric energy meter with strong communication capability continues to visit the low-priority task downwards without being interfered by the electric energy meter with poor communication capability depending on the communication capability of the electric energy meter.
The method of the invention solves the defects of the traditional acquisition task scheduling management method, ensures that the acquisition task scheduling can be in a high-efficiency working state, and greatly improves the acquisition success rate.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings, wherein like reference numerals generally represent like parts in the exemplary embodiments of the present invention.
Fig. 1 is a schematic diagram illustrating the comparison between the copying execution efficiency of the conventional collection task scheduling and the collection scheduling policy efficiency of the present invention.
FIG. 2 is a schematic diagram of task status update and the association of activated tasks to the relevant meters in the present invention.
Fig. 3 is a schematic diagram of a data acquisition process of the electric energy meter according to the invention.
Fig. 4 is a schematic diagram of a communication capability level switching process of the electric energy meter under the channel according to the present invention.
Fig. 5 is a diagram illustrating association of task priorities in a conventional collection.
Fig. 6 is a schematic diagram of an electric energy meter and task association in the present invention.
Detailed Description
Preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein.
An acquisition task scheduling management method based on an object-oriented protocol is characterized in that based on a machine learning theory, the communication capacity of an electric energy meter is sequenced by collecting factors influencing meter reading; in the reading process of the electric energy meter, associating the acquisition tasks to the highest level electric energy meter according to the priority levels according to the communication capacity of the electric energy meter, and sequentially reading according to the task priority levels by taking the electric energy meter as a minimum scheduling unit; after the single-meter reading task is completed, the subsequent electric energy meter acquisition tasks are sequentially completed according to the communication capacity of the electric energy meter, and the method specifically comprises the following steps:
step 1, establishing a communication capacity influence factor set and a communication capacity sequencing table of the electric energy meter; the set of influence factors of the communication capacity of the electric energy meter is U = (U) 1 ,u 2 ,u 3 ,…,u i ) I represents the number of influencing factors, u i The influence factor with the number i is represented, and the influence factors comprise: averaging one or more of single-frame communication transmission time, the number of recent continuous reading failures on the day, the number of acquisition tasks related to the electric energy meter and the carrier network level of the electric energy meter;
step 2, loading the collection task, periodically monitoring the execution state of the task, if the task is activated, associating the activated task to the corresponding electric energy meter according to the priority, and executing step 3; if the task is not activated, no processing is carried out;
step 3, according to the communication capability sequencing table, selecting the electric energy meter with the highest priority from each communication channel to execute an acquisition task; reading according to the priority of the tasks associated with the electric energy meter, and after all reading acquisition tasks of the electric energy meter are completed, continuing to execute the acquisition task of the next electric energy meter according to the communication capacity sequencing meter until the acquisition tasks of all electric energy meters in the communication capacity sequencing meter under the communication channel are completed; in the process of executing the collection tasks of the electric energy meters, if the communication of the electric energy meters is unsuccessful, the electric energy meters are sorted according to the communication capacity, and the collection tasks of the next electric energy meter are continuously executed;
in the process of executing the electric energy meter acquisition task, acquiring communication capacity influence factor data of the electric energy meter, uploading the data to an electric energy meter sequencing module, and periodically updating the communication capacity sequencing meter by the electric energy meter sequencing module, wherein the updating process is as follows:
step 31, obtaining communication capacity influence factor data in a meter reading process;
step 32, calculating the occupation ratio DATA = (DATA) of the communication capacity factor DATA of each electric energy meter in all factors by adopting an interval method 1 ,data 2 ,…,data i ) Wherein, data i The factor with the number of i accounts for the ratio; the average single-frame communication transmission time, the number of recent continuous reading failures in the current day and the factor proportion calculation formula of the carrier network level of the electric energy meter are as follows: (1-data _ in) i /max i ) The calculation formula of the factor proportion of the number of the acquisition tasks related to the electric energy meter is as follows: data _ in i /max i ;data_in i Data collected for the influencing factors numbered i; max i The maximum value of the influence factors with the serial number i is the maximum value of the average single-frame communication transmission time, the maximum value of the latest continuous reading failure times of the current day and the maximum value of the carrier network level of the electric energy meter are preset values, and the maximum value of the number of the collection tasks related to the electric energy meter is the total number of the current tasks;
step 33, obtaining coefficients a = (a) of each factor 1 ,a 2 ,…a i ) The method is obtained according to experience or a speed-multiplying ring ratio method, wherein the speed-multiplying ring ratio method comprises the following steps: randomly sorting the factors, comparing the factors in sequence, giving out a multiple relation of importance degrees among the factors, namely a ring ratio, and uniformly converting the ring ratio into a reference value BASE = (BASE) 1 ,base 2 ,…,base i ) Finally, normalization processing is carried out to obtain the coefficient proportion of the corresponding factor in all the factors
Figure BDA0003674956940000071
A=(a 1 ,a 2 ,…a i ) (ii) a For example: the ratio normalization based on the factor i is, for example, four factors AB C D, where C is 0.55 times as important as D, and thus takes a value of 0.55 × 1=0.55; b is 2 times C, so the value is 0.55 x 2=1.1; the following analogy is carried out;
step 34, calculating a communication capacity coefficient F of the electric energy meter: f = DATA a T *100;
And step 35, classifying according to the communication capacity coefficient of the electric energy meter, wherein the classification is A grade according to 100-80, B grade according to 80-60 and C grade under 60.
And 4, repeatedly executing the step 2 to the step 3 until all tasks are executed.
Wherein: the communication channel comprises a carrier channel and a 485 channel; and when the electric energy meter loads the file for the first time, the communication capacity of the electric energy meter is set to be the highest level.
In the embodiment, the electric energy meter in the communication capability ranking meter is divided into three grades, and the grades are classified according to the communication capability coefficient of the electric energy meter, wherein the grades are A according to 100-80, B according to 80-60 and C under 60; each grade comprises a plurality of electric energy meters respectively; and in the process of executing the electric energy meter acquisition task, executing the acquisition task according to the grade of the electric energy meter until all the electric energy meters and all the tasks in the current grade are acquired, and accessing the electric energy meter in the next grade.
Among the influencing factors described in this embodiment:
the average single-frame communication transmission time is the average time value x for sending a message to the electric energy meter and receiving the message each time,
Figure BDA0003674956940000081
wherein a is the time for sending and receiving the message each time, n is the latest communication frequency with the electric energy meter, and n is preferably 15; the maximum value of the average single-frame communication transmission time is 90s;
the latest continuous reading failure times of the current day are statistical data of the electric energy meter on the current day, and the times are clear 0 after the current day or the electric energy meter is successfully collected; the maximum value of the number of recent continuous reading failures in the current day is 30 times;
the number of the acquisition tasks related to the electric energy meter is the number of the acquisition tasks related to the electric energy meter in a current terminal acquisition system;
the electric energy meter carrier network level acquires corresponding electric energy meter network level data by periodically acquiring HPLC topological information; if the master station is not configured with HPLC topology information periodic acquisition or an RS485 electric energy meter, the default level is 0; the maximum value of the carrier network layer of the electric energy meter is 15.
In the specific implementation:
in this embodiment, the electric meter files that are issued by the object-oriented protocol master station need to be used, where the task scheme at least needs to include a daily freezing reading task, a monthly freezing reading task, a curve reading task, and an event collection task, and the electric meter files at least need to include those under the HPLC port and the RS485 port. In order to simulate a complex task meter reading environment on site, in this embodiment, 10 electric energy meters need to be connected under a 485 channel, 100 electric energy meters need to be connected under an HPLC channel, and three conditions that communication can be successful, communication can be successful but the speed is very slow, and communication cannot be successful need to be simulated, and the three conditions are configured according to the total number ratio of the electric energy meters 7.
In the embodiment, an acquisition task needs to be issued by an object-oriented protocol master station, wherein the daily freezing task acquisition period is 1 day, and the priority is 0; the collection period of the month freezing task is 1 month, and the priority is 1; the acquisition period of the curve meter reading task 1 is 15 minutes, and the priority level is 1; the acquisition period of the curve meter reading task 2 is 15 minutes, and the priority level is 1; the collection period of the event collection task is 1 day, and the priority is 2.
In the embodiment, an acquisition scheme needs to be issued by an object-oriented protocol master station, a daily freezing task acquires all electric energy meters, and the acquisition contents are a forward active electric energy indicating value and a reverse active electric energy indicating value; the monthly freezing task acquires all electric energy meters, and the acquired contents are a forward active electric energy indicating value and a reverse active electric energy indicating value; the curve meter reading task 1 collects all electric energy meters, and the collection contents are a forward active total electric energy indicating value, a reverse active total electric energy indicating value, voltage, current, active power, reactive power and power factors; the curve meter reading task 2 collects the serial number of the designated electric meter and collects 4 electric energy meters, wherein the electric energy meters under 2 HPLC port channels and the electric energy meters under 2 485 port channels have the collection content of active power; and the event acquisition task acquires all the electric energy meters, and the acquisition contents comprise an electric energy meter cover opening event and an electric energy meter power failure recording event.
The embodiment provides an electricity collection terminal which is connected with an electric energy meter to be collected, and the electricity collection terminal uses the collection task scheduling management method to read the electric energy meter to be collected according to configured files, collection tasks and collection schemes.
The power utilization acquisition terminal executes the acquisition task scheduling management method, and the terminal comprises: the system comprises an ammeter scoring management module, an ammeter data acquisition module and a task management module. The electric meter grading management module is based on a machine learning theory, a grading mechanism for the communication capacity of the electric energy meters is established by collecting and sorting objective factors influencing meter reading, the communication capacity of each electric meter needing to be collected is graded, and sequencing is carried out according to comprehensive evaluation of the communication capacity. The method comprises the steps of establishing an electric energy meter communication capacity grading mechanism, gradually improving the grading of each electric energy meter in the meter reading process, paying attention to the electric energy meters without communication for a long time (continuous 2 hours) to prevent the grading distortion, forcibly reading at regular intervals to recover the normal grading, and ensuring the collection integrity. A further set of factors affecting communication capabilities is: averaging single frame communication transmission time u 1 (the proportion interval is 0-90 seconds), and the number u of the latest continuous reading failures on the same day 2 (the proportion interval is 0-30 times), the number u of acquisition tasks related to the electric energy meter 3 (the occupation interval is 1 to the total number of the current tasks) and the carrier network level u of the electric energy meter 4 (the ratio interval is 0 to 15). And finally, the weight division method uses a speed multiplication loop ratio method, and the factor multiplying power relation is as follows: 0.6u 1 =u 2 ,u 2 =3u 3 ,u 3 =u 4 . The electric meter data acquisition module sequentially selects electric meters for reading according to the communication capacity of the electric meters under the channel through electric meter communication capacity grading and grading, data items needing to be read are obtained from a task list associated with the electric meters, the associated tasks are sorted according to the priority, each electric meter is switched to the next electric meter at the same grade after being accessed once until all the electric meters and the associated tasks in the grade are acquired, so that the electric meters with strong communication capacity can be quickly accessed for reading, and the electric meters with poor communication capacity can be accessed later. And the task management module is responsible for managing task state updating and associating the activated tasks to relevant electric meters for waiting work.
In conclusion, the defects of the traditional acquisition task scheduling management method are overcome, the acquisition task scheduling can be ensured to be in a high-efficiency working state, and the acquisition success rate is greatly improved.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments.

Claims (9)

1. An acquisition task scheduling management method based on an object-oriented protocol is characterized in that the method is based on a machine learning theory and sorts the communication capacity of an electric energy meter by collecting factors influencing meter reading; in the reading process of the electric energy meter, associating the acquisition tasks to the highest electric energy meter according to the priority according to the communication capacity of the electric energy meter, and sequentially reading according to the priority of the tasks by taking the electric energy meter as a minimum scheduling unit; and after the single-meter reading task is completed, sequentially completing subsequent electric energy meter acquisition tasks according to the communication capacity of the electric energy meter.
2. The method for scheduling and managing collection tasks based on the object-oriented protocol according to claim 1, characterized by comprising the following steps:
step 1, establishing a communication capacity influence factor set and a communication capacity sequencing table of the electric energy meter;
step 2, loading the collection task, periodically monitoring the execution state of the task, if the task is activated, associating the activated task to the corresponding electric energy meter according to the priority, and executing step 3; if the task is not activated, no processing is carried out;
step 3, according to the communication capability sequencing table, selecting the electric energy meter with the highest priority from each communication channel to execute an acquisition task; reading according to the priority of the tasks associated with the electric energy meter, and after all reading acquisition tasks of the electric energy meter are completed, continuing to execute the acquisition task of the next electric energy meter according to the communication capacity sequencing meter until the acquisition tasks of all electric energy meters in the communication capacity sequencing meter under the communication channel are completed;
in the process of executing the collection task of the electric energy meter, acquiring the communication capacity influence factor data of the electric energy meter, uploading the data to an electric energy meter sequencing module, and updating the communication capacity sequencing meter by the electric energy meter sequencing module at regular intervals;
and 4, repeatedly executing the step 2 to the step 3 until all tasks are executed.
3. The acquisition task scheduling management method based on the object-oriented protocol according to claim 2, wherein the communication channel includes a carrier channel and a 485 channel.
4. The method as claimed in claim 2, wherein the communication capability of the electric energy meter is set to the highest level when the archive is loaded for the first time.
5. The object-oriented protocol-based collection task scheduling management method of claim 2, wherein in the process of executing the collection tasks of the electric energy meters, if the communication of the electric energy meters is unsuccessful, the collection tasks of the next electric energy meter are continuously executed according to the communication capability ranking table.
6. The acquisition task scheduling management method based on the object-oriented protocol according to claim 2, wherein the electric energy meters in the communication capability sequencing meter are divided into a plurality of levels, and each level comprises a plurality of electric energy meters respectively; in the process of executing the electric energy meter acquisition task, the acquisition task is executed according to the electric energy meter grade until all electric energy meters and all tasks in the current grade are acquired, and then the electric energy meter in the next grade is accessed.
7. The method according to claim 2, wherein the set of influence factors on the communication capability of the electric energy meter is U = (U) 1 ,u 2 ,u 3 ,…,u i ) I denotes the number of influencing factors, u i Number of the displayThe influence factor of i comprises the following influence factors: the method comprises the steps of averaging the transmission time of single-frame communication, the number of recent continuous reading failures on the day, the number of collection tasks related to the electric energy meter and one or more of carrier network levels of the electric energy meter.
8. The acquisition task scheduling management method based on the object-oriented protocol according to claim 7, wherein the step of periodically updating the communication capability scheduling table by the electric energy meter scheduling module specifically comprises:
communication capacity influence factor data acquired in a meter reading process;
calculating the DATA rate (DATA) of the communication capacity factor DATA of each electric energy meter in all factors by adopting an interval method 1 ,data 2 ,…,data i ) Wherein, data i The factor ratio of the number i is shown; the average single-frame communication transmission time, the recent continuous reading failure times of the current day and the factor proportion calculation formula of the carrier network level of the electric energy meter are as follows: (1-data _ in) i /max i ) The factor proportion calculation formula of the number of the collection tasks related to the electric energy meter is as follows: data _ in i /max i ;data_in i Data collected for the influencing factors numbered i; max i The maximum value of the influence factors with the serial number i is the maximum value of the average single-frame communication transmission time, the maximum value of the recent continuous reading failure times in the same day and the maximum value of the carrier network level of the electric energy meter are preset values, and the maximum value of the number of the acquisition tasks related to the electric energy meter is the total number of the current tasks;
obtaining coefficient a = (a) of each factor 1 ,a 2 ,…a i ) The method is obtained according to experience or a speed-multiplying ring ratio method, wherein the speed-multiplying ring ratio method comprises the following steps: randomly ordering the factors, comparing the factors in sequence to give a multiple relation of importance among the factors, namely a ring ratio, and uniformly converting the ring ratio into a reference value BASE = (BASE) 1 ,base 2 ,…,base i ) Finally, normalization processing is carried out to obtain the coefficient ratio of the corresponding factor in all the factors
Figure RE-FDA0003843550850000031
A=(a 1 ,a 2 ,…a i );
Calculating a communication capacity coefficient F of the electric energy meter: f = DATA a T *100;
The electric energy meter is classified according to the communication capacity coefficient, wherein the classification is carried out according to 100-80, 80-60, and 60 or below, namely C.
9. The method for scheduling and managing collection tasks based on object-oriented protocol according to claim 8, wherein the influencing factors include:
the average single-frame communication transmission time is the average time value x for sending a message to the electric energy meter and receiving the message each time,
Figure RE-FDA0003843550850000032
wherein a is the use of sending and receiving the message each time, n is the number of recent communication times with the electric energy meter, and n is preferably 15; the maximum value of the average single-frame communication transmission time is 90s;
the latest continuous reading failure times of the current day are statistical data of the electric energy meter on the current day, and the times are clear to 0 after the current day or the electric energy meter is successfully collected; the maximum value of the number of recent continuous reading failures on the current day is 30 times;
the number of the acquisition tasks related to the electric energy meter is the number of the acquisition tasks related to the electric energy meter in a current terminal acquisition system;
the carrier network level of the electric energy meter acquires corresponding electric energy meter network level data by periodically acquiring HPLC topological information; if the master station is not configured with HPLC topology information periodic acquisition or an RS485 electric energy meter, the default level is 0; the maximum value of the carrier network layer of the electric energy meter is 15.
CN202210617382.7A 2022-06-01 2022-06-01 Acquisition task scheduling management method based on object-oriented protocol Pending CN115237552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210617382.7A CN115237552A (en) 2022-06-01 2022-06-01 Acquisition task scheduling management method based on object-oriented protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210617382.7A CN115237552A (en) 2022-06-01 2022-06-01 Acquisition task scheduling management method based on object-oriented protocol

Publications (1)

Publication Number Publication Date
CN115237552A true CN115237552A (en) 2022-10-25

Family

ID=83668731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210617382.7A Pending CN115237552A (en) 2022-06-01 2022-06-01 Acquisition task scheduling management method based on object-oriented protocol

Country Status (1)

Country Link
CN (1) CN115237552A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116456221A (en) * 2023-06-16 2023-07-18 北京智芯微电子科技有限公司 Data reading method, reading device and reading system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116456221A (en) * 2023-06-16 2023-07-18 北京智芯微电子科技有限公司 Data reading method, reading device and reading system
CN116456221B (en) * 2023-06-16 2023-09-08 北京智芯微电子科技有限公司 Data reading method, reading device and reading system

Similar Documents

Publication Publication Date Title
TWI774900B (en) Method for charging exchangeable energy storage devices positioned in a device-exchange station, sever, and method for mangaing a device-exchange station
CN108922157B (en) Self-learning intelligent meter reading method and system
CN110346661B (en) Method and system for automatically inspecting abnormal user voltage
CN108770017B (en) Dynamic equalization method and system for wireless resources
CN116345698A (en) Operation and maintenance control method, system, equipment and medium for energy storage power station
CN115237552A (en) Acquisition task scheduling management method based on object-oriented protocol
CN111339491A (en) Evaluation method for urban power distribution network transformation scheme
CN111709632A (en) Power failure plan automatic arrangement method based on artificial intelligence and multi-target constraint
CN111798655B (en) Operation data minute-level acquisition method suitable for power Internet of things platform area
CN108268549A (en) Data auditing system and method
CN110555452A (en) network problem processing method and device based on intelligent clustering
CN114336594A (en) Energy aggregation customer monitoring and demand response scheduling system and method
CN111191883B (en) Intelligent distribution transformer terminal micro-application selection method and system
CN113891336A (en) Communication network frequency-reducing network-quitting method and device, computer equipment and storage medium
CN109375146A (en) A kind of filling mining method, system and the terminal device of electricity consumption data
CN115207909B (en) Method, device, equipment and storage medium for identifying topology of platform area
CN115665157B (en) Balanced scheduling method and system based on application resource types
CN111311079A (en) Comprehensive energy-using service system for large users
CN112261509A (en) Meter reading scheduling method for electricity consumption information acquisition terminal
CN109413688B (en) Method for intelligently managing link channel based on GPRS channel characteristics
CN110033147A (en) Platform area health degree detection method based on grid measurement data
CN108828308A (en) A kind of intelligent electric meter manufaturing data acquisition system
CN109508847B (en) Electricity-protecting spare part early warning method
CN113902485B (en) Special power user industry identification method, device and equipment
CN118281960B (en) Energy management and control method and system based on virtual power plant

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