CN111314408B - Local edge calculation and Internet of things management method based on communication layer multi-data item caching task - Google Patents

Local edge calculation and Internet of things management method based on communication layer multi-data item caching task Download PDF

Info

Publication number
CN111314408B
CN111314408B CN201911168159.3A CN201911168159A CN111314408B CN 111314408 B CN111314408 B CN 111314408B CN 201911168159 A CN201911168159 A CN 201911168159A CN 111314408 B CN111314408 B CN 111314408B
Authority
CN
China
Prior art keywords
data
task
cache
data item
reading
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
CN201911168159.3A
Other languages
Chinese (zh)
Other versions
CN111314408A (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.)
Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd
State Grid Fujian Electric Power Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd
State Grid Fujian 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 Fujian Electric Power Co Ltd, State Grid Fujian Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd
Priority to CN201911168159.3A priority Critical patent/CN111314408B/en
Publication of CN111314408A publication Critical patent/CN111314408A/en
Application granted granted Critical
Publication of CN111314408B publication Critical patent/CN111314408B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B2203/00Indexing scheme relating to line transmission systems
    • H04B2203/54Aspects of powerline communications not already covered by H04B3/54 and its subgroups
    • H04B2203/5429Applications for powerline communications
    • H04B2203/5433Remote metering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/30Arrangements in telecontrol or telemetry systems using a wired architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/82Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data
    • H04Q2209/826Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data where the data is sent periodically

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a local edge calculation and Internet of things management method based on a communication layer multi-data item cache task, which is characterized in that an ammeter carrier module is made to periodically interact with an ammeter according to a set period so as to perform local edge calculation and data management of data contents; wherein the interaction comprises read data and cache data task management. According to the invention, by expanding the data fields in the master station request frame and the slave station response frame, the carrier module can have the functions of edge calculation and data management, the resources of the carrier module are fully excavated, the data utilization rate is improved, and the requirements of various service development are supported.

Description

Local edge calculation and Internet of things management method based on communication layer multi-data item caching task
Technical Field
The invention relates to the technical field of meter communication, in particular to a local edge calculation and internet of things management method based on a communication layer multi-data item caching task.
Background
The existing electric energy meter mainly adopts a power line carrier module to realize data acquisition, and has a communication protocol DL/T645-2007, according to the protocol, only data needing to be read are transmitted to a concentrator routing module, and the electric energy meter does not have functions of data management and data processing. By adopting a DL/T645-2007 protocol, the power line carrier module is only used as a data transmission channel and medium, the functions of data processing and Internet of things management of the carrier module cannot be mined, and the development requirement of the ubiquitous power Internet of things service cannot be met.
The frame is a basic unit for transmitting information by the electric energy meter. The frame format is shown in the following table:
Figure BDA0002288012330000011
according to the DL/T645-2007 protocol specification, the master station read data request frame is as follows:
frame format 1:
Figure BDA0002288012330000021
frame format 2:
Figure BDA0002288012330000022
frame format 3:
Figure BDA0002288012330000023
the frame format can show that the current technology only reads according to the original data identification, only serves as a data transmission channel, and cannot process data.
The field local channel architecture is as shown in fig. 1, and a general working mode is that a terminal sends downlink data to a power line carrier through a carrier module, the power line carrier transmits the downlink data to an electricity meter carrier module, after the electricity meter carrier module receives the downlink data, an electricity meter transmits response data to the electricity meter carrier module, the electricity meter carrier module sends uplink data to the power line carrier, the power line carrier transmits the uplink data to the terminal carrier module, and the terminal carrier module receives the uplink data.
It can be seen that, in the current data item reading mode, only the carrier module is used as a data transmission intermediate channel, and the data item reading mode has no data processing capability, cannot judge and process the read data content, does not fully exert and utilize the functions of the carrier module, and cannot meet the requirements of various service development.
Disclosure of Invention
In view of the above, the present invention provides a local edge calculation and internet of things management method based on communication layer multiple data item caching task, which can enable a carrier module to have edge calculation and data management functions by expanding data fields in a master station request frame and a slave station response frame, fully mine resources of the carrier module, improve data utilization rate, and support requirements of various service development.
The invention is realized by adopting the following scheme: a local edge calculation and Internet of things management method based on communication layer multi-data item cache tasks enables an electric meter carrier module to periodically interact with an electric meter according to a set period so as to carry out local edge calculation and data management of data contents; wherein the interaction comprises read data and cache data task management.
Further, when data is read, a data field in an original master station request frame is expanded, and the expanded master station request frame data field sequentially comprises a communication layer multi-data item combined reading identifier, the number of the task reading data identifications of the group, a data pre-reading cache period, a 1 st data item data identification to an nth data item data identification from left to right, and a combined reading data block separator respectively arranged between the two data item data identifications.
Further, when data is read, a data field in an original slave station normal response frame is expanded, the expanded slave station normal response frame data field sequentially comprises a multi-data item combined reading identifier, a data item responding this time, a first data item to an Nth data item from left to right, and further comprises combined reading data block separators which are respectively arranged between the two data items; each data item comprises, in turn, a current data item length, a current data item designation, and a current data item content.
Further, when reading data, the data field in the original slave station abnormal response frame is changed into an error information word.
Furthermore, when the data caching task is managed, a data domain in an original master station request frame is expanded, and the expanded master station request frame data domain sequentially comprises a communication layer multi-data item combination reading identifier, an operation type and operation content from left to right; the operation types comprise all cache tasks, cache task configuration condition requests, power failure task preservation, active reporting condition strategy configuration and reservation; the operation content of the operation type corresponding to the power failure task storage and active reporting condition policy configuration comprises the following steps: the method comprises the steps of caching task groups whether the tasks are stored after power failure, caching task groups whether messages are inconsistent or not and are actively reported, task groups corresponding to data identifications and actively reporting the data identifications with the upper limit, task groups corresponding to data identifications and actively reporting the data identifications with the lower limit, judgment times with the upper limit, data identifications judged with the upper limit, judgment threshold values with the upper limit, judgment times with the lower limit, data identifications judged with the lower limit and judgment threshold values with the lower limit.
When the power is turned on again after power failure, the consistency of the messages is not compared with the data read for the first time, and the cache data is successfully read subsequently and is actively reported according to the requirement when the cache data is inconsistent with the content read for the last time.
The threshold-crossing active reporting judgment logic is as follows: when the qualified range is changed into the out-of-limit range or the out-of-limit range is changed into the qualified range. After the continuous out-of-limit reaches the set times, actively reporting; and in the process of caching the task data, the electric meter carrier module judges whether the data corresponding to the data identification exceeds the limit, and if so, the electric meter carrier module actively reports the data group corresponding to the cache task.
In order to prevent the problem of network congestion caused by frequent active reporting, the ammeter carrier module limits the active reporting times, a group of tasks are reported 24 times at most in 24 hours, and the active reporting behavior triggered by the cache data is automatically suspended when the number of times is exceeded.
Further, when the task of caching data is managed, a data field in the original normal response frame of the slave station is expanded, and the expanded data field of the normal response frame of the slave station comprises the following conditions:
when the operation type in the master station request frame is to clear all the cache tasks, the data field of the normal response frame of the slave station sequentially comprises a communication layer multi-data item combined reading identifier and an operation type from left to right, and the operation type is to clear all the cache tasks;
when the operation type in the master station request frame is a cache task configuration condition request, the data field of the normal response frame of the slave station sequentially comprises a communication layer multi-data item combination reading identifier, the operation type, the number of data cache task groups supported by the module, the number of the 1 st group of task reading data identifications to the n th group of task reading data identifications from left to right, and a data pre-reading cache period of the group is further included behind the number of the data reading data identifications of each group of tasks;
and when the operation type in the master station request frame is power failure task saving and active reporting of condition strategy configuration, the data field of the normal response frame of the slave station is the same as the data field in the master station request frame.
Furthermore, when the data caching task is managed, the data field in the original slave station abnormal response frame is changed into an error information word.
Compared with the prior art, the invention has the following beneficial effects: according to the invention, by expanding the data fields in the master station request frame and the slave station response frame, the carrier module can have the functions of edge calculation and data management; the carrier module periodically interacts with the ammeter according to a set period, so that local edge calculation and data management of data contents are realized, resources of the carrier module are fully excavated, the data utilization rate is improved, and the requirements of various service development are supported.
Drawings
Fig. 1 is a schematic diagram of an on-site local channel architecture.
Fig. 2 shows a master request frame format when reading data according to an embodiment of the present invention.
Fig. 3 shows a normal response frame format of a slave station when reading data according to an embodiment of the present invention.
Fig. 4 shows an abnormal response frame format of a slave station when reading data according to an embodiment of the present invention.
Fig. 5 shows a master request frame format during the task management of the buffered data according to an embodiment of the present invention.
Fig. 6 is a master station request frame data domain when an operation type corresponds to a power failure task preservation and a condition policy configuration is actively reported in cache data task management according to an embodiment of the present invention.
Fig. 7 shows a normal response frame format of a slave station during the task management of buffering data according to an embodiment of the present invention.
Fig. 8 is a data field of a normal response frame from a slave station when the operation type in the request frame corresponding to the master station is to clear all the buffer tasks (00) during buffer data task management according to an embodiment of the present invention.
Fig. 9 is a data field of a normal response frame from a slave station when an operation type in a frame corresponding to a master station request is a buffer task configuration status request (01) in buffer data task management according to an embodiment of the present invention.
Fig. 10 shows an exception response frame format from a station during buffer data task management according to an embodiment of the present invention.
Detailed Description
The invention is further explained below with reference to the drawings and the embodiments.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
The embodiment provides a local edge calculation and internet of things management method based on a communication layer multi-data item cache task, which is characterized in that an electric meter carrier module is made to periodically interact with an electric meter according to a set period so as to perform local edge calculation and data management on data contents; wherein the interaction comprises read data and cache data task management.
In this embodiment, when reading data, the data field in the original master station request frame is expanded, and the expanded master station request frame data field sequentially includes, from left to right, a communication layer multiple data item combined reading identifier, the number of data identifiers read by the task in the group, a data pre-reading cache period, a data identifier of the 1 st data item to a data identifier of the nth data item, and a combined reading data block separator respectively disposed between the two data item data identifiers.
The format of the master station request frame during reading data is shown in fig. 2, where the function implemented in fig. 2 is a cache table data operation, a control code C is 11H, and a data field length: l ═ 5 × n +6 (where n is the number of data item (block) identifications to be copied), and the combined copied data block delimiter is BB.
In this embodiment, when reading data, extending a data field in an original slave station normal response frame, where the extended slave station normal response frame data field sequentially includes, from left to right, a multiple data item combined transcription identifier, a data item responded this time, a first data item to an nth data item, and further includes combined transcription data block separators respectively disposed between the two data items; each data item comprises, in turn, a current data item length, a current data item designation, and a current data item content.
As shown in fig. 3, when reading data, the normal response frame of the slave station includes two cases, that is, there is no subsequent frame (i.e., no event needs to be reported) and there is a subsequent frame (i.e., there is an event needs to be reported).
In this embodiment, when reading data, the data field in the original slave station abnormal response frame is changed to an error information word.
When reading data, the slave station abnormal response frame is shown in fig. 4, wherein the control code C is D1H, and the data field length L is 01H.
In this embodiment, when the data caching task is managed, a data field in an original master station request frame is expanded, and the expanded master station request frame data field sequentially includes, from left to right, a communication layer multiple data item combination reading identifier, an operation type, and operation content; the operation types comprise all cache tasks, cache task configuration condition requests, power failure task preservation, active reporting condition strategy configuration and reservation; the operation content of the operation type corresponding to the power failure task storage and active reporting condition policy configuration comprises the following steps: the task group whether the cache task is stored after power failure, the task group whether the message is inconsistent and actively reported, the task group which is actively reported when the corresponding data identification is higher than the upper limit, the task group which is actively reported when the corresponding data identification is lower than the lower limit, the upper limit-exceeding judgment frequency, the data identification which is judged higher than the upper limit, the upper limit-exceeding judgment threshold, the lower limit-exceeding judgment frequency, the data identification which is judged higher than the lower limit, and the lower limit-exceeding judgment threshold.
In the process of managing the data caching task, the format of the master station request frame is as shown in fig. 5, the function implemented by the modified example is data caching task management, the control code C is 11H, and the data field length L is defined according to the operation type. Fig. 6 shows a data field when the operation type corresponds to the power outage task saving and the condition policy configuration is actively reported.
The task group of "whether the cache task is stored after power failure", the task group of "whether the message is inconsistent and actively reported", the task group of "the corresponding data identifier actively reports on the upper limit, and the task group of" the corresponding data identifier actively reports on the lower limit, indicate whether the corresponding task group configuration is stored or reported (that is, the corresponding task group corresponds to 32 groups at most, and is valid when the corresponding task group is set to 1), the 1 st group corresponds to the lowest position, and the 32 nd group corresponds to the highest position. The unconfigured cache task group is not stored in the default power failure mode, is not subjected to message consistency comparison and is actively reported, and is not subjected to out-of-limit active reporting.
When the power is turned on again after power failure, the consistency of the messages is not compared with the data read for the first time, and the cache data is successfully read subsequently and is actively reported according to the requirement when the cache data is inconsistent with the content read for the last time.
The threshold-crossing active reporting judgment logic is as follows: when the qualified range is changed into the out-of-limit range or the out-of-limit range is changed into the qualified range. After the continuous out-of-limit reaches the set times, actively reporting; and in the process of caching the task data, the electric meter carrier module judges whether the data corresponding to the data identification exceeds the limit, and if so, the electric meter carrier module actively reports the data group corresponding to the cache task.
In order to prevent the problem of network congestion caused by frequent active reporting, the ammeter carrier module limits the active reporting times, a group of tasks are reported 24 times at most in 24 hours, and the active reporting behavior triggered by the cache data is automatically suspended when the number of times is exceeded.
Wherein, the active reporting control word is 81H.
In this embodiment, when the buffer data task is managed, the data field in the original normal response frame of the slave station is expanded, and as shown in fig. 7, the expanded data field of the normal response frame of the slave station includes the following cases:
when the operation type in the master request frame is to clear all buffer tasks (00), the data field length: and L is 5, the data field of the normal response frame of the slave station sequentially comprises a communication layer multiple data item combined reading identifier and an operation type from left to right, the operation type is that all caching tasks are clear, as shown in fig. 8,
when the operation type in the master station request frame is a cache task configuration condition request (01), the data field length is as follows: l ═ n × 3+6, the data field of the normal response frame from left to right sequentially includes the communication layer multiple data item combination reading identifier, the operation type, the number of data cache task groups supported by the module, the number of data reading identifiers from the 1 st group of tasks to the n th group of tasks, and the data pre-reading cache period of the group is included after the number of data reading identifiers of each group of tasks, as shown in fig. 9;
and when the operation type in the master station request frame is power failure task saving and active reporting of the condition strategy configuration (02), the data field of the normal response frame of the slave station is the same as the data field in the master station request frame.
In this embodiment, when the data caching task is managed, the data field in the original slave station exception response frame is changed to an error message word. The format is shown in fig. 10, where the control code C is D1H, and the data field length L is 01H.
In particular, the protocol of the present embodiment does not consider framing to simplify the processing of the power meter program. When the returned data field exceeds 200 bytes or reading is not supported by the method, the electric energy meter adopts abnormal response and does not have work abnormal conditions such as halt and the like. The error information word ERR is "other error", i.e. 01H.
In particular, the format of "the subsequent frame (with an event to be reported) returns the combined reading data" is only suitable for the situation that the active reporting of the subsequent frame is started and the event needs to be reported. The terminal or the master station should directly request the event to actively report the status word when actively reporting the request in the follow-up, and the combined reading mode is not used for requesting the follow-up frame.
In particular, when the requested partial data item (block) is not supported (i.e. when the meter returns negative acknowledgement or time out), a data mark plus null data content mode should be adopted, i.e. the data content of the corresponding data item (block) which is not supported is correspondingly null, and the data length Ln is 4. And when all the data items are not supported, the group of data tasks are automatically canceled. When the data is read for the first time, the communication module does not cache corresponding data, the corresponding data are all null, and the data is responded by adopting a data identification and null data content mode. The next time a command with the data identifier EEEEEFNN is received, the cached data items are combined in the requested order and returned to the master station (the upper layer of communication equipment).
Particularly, the data pre-reading cache function is power-off default and is not stored, a task is stored only when the corresponding group is configured and the corresponding group is power-off stored, and after the power is re-powered on, the data is immediately cached. When the number of the received data items of the group of cache tasks is 0, the communication layer should stop the operation of periodically pre-reading the cache data of the group of tasks. When the received data task cache cycle or data content of the group of data is changed, the communication layer immediately starts to cache the data according to the new task parameters.
Particularly, when the cache data is periodically refreshed, a mode of refreshing the data content of the group once after all the data items of the cache task of the group are completely read is adopted.
Particularly, when a temporary data request message is received in the process of reading the cache data, the cache data reading is suspended, the current data request is immediately started (so that the content of the framing request data of the pre-read cache is not too long when the buffer is applied to reduce the conflict), and the cache of the residual task data can be continuously completed after the temporary data request is stopped.
In particular, the number NN of requested data items (blocks) is in BCD code format, and the maximum number is not more than 20, and the response time of the communication layer should be matched with the upper layer communication equipment.
Specifically, the data pre-read cache period XXXX is hexadecimal, the highest two bits bit15 and bit14 represent units, and bit13 to bit0 represent period values. bit15, bit14 represent minutes at 00; 01 represents hour; 10 represents day; and 11 for seconds. The minimum effective period is 15 seconds, and the buffer is only buffered once when the minimum effective period is 0 minute. The buffer task group NN is in BIN format, and the communication module should support at least 4 groups (i.e. data id is EEEEEF01, EEEEEF02, eeeeeeef 03, eeef04, respectively) of tasks.
In particular, the communication layer should support a multi-data item combination reading command with a broadcast address (999999999999), and the command does not respond after being received and immediately starts a data pre-reading processing flow.
Preferably, by adopting the technical scheme of the embodiment, based on the existing protocol, in order to reduce the system modification and the development workload of the electric energy meter, the terminal and other devices as much as possible, the concept of the local edge calculation and the internet of things management technology based on the communication layer multi-data item caching task is provided by using the existing electric meter carrier module as a hardware platform and an internet of things management carrier with different device attributes. In this embodiment, a task group of "whether a cache task is saved after power failure" may be set according to a corresponding task group (up to 32 groups), "a task group of" whether a message is inconsistent and actively reported ", a task group of" actively reporting the corresponding data identifier with the higher limit, and a task group of "actively reporting the corresponding data identifier with the lower limit". Meanwhile, the embodiment can set corresponding cache cycles for different groups according to requirements, perform periodic processing on data contents needing edge calculation processing according to a set calculation mode (message inconsistency comparison or upper/lower limit crossing comparison), and has great flexibility. Meanwhile, when the carrier module of the electric energy meter performs local calculation according to a set mode and generates a corresponding result, the corresponding result is actively reported to the master station by using a 645 message of the function code 81H. The embodiment utilizes the multiple data item combined reading identifier to clearly distinguish the ordinary multiple data item combined reading and the single data item reading, is beneficial to programming and reading programs, and does not increase the burden of an electric energy meter, an acquisition terminal, a master station and the like.
The foregoing is directed to preferred embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow. However, any simple modification, equivalent change and modification of the above embodiments according to the technical essence of the present invention are within the protection scope of the technical solution of the present invention.

Claims (6)

1. A local edge calculation and Internet of things management method based on communication layer multi-data item cache tasks is characterized in that an ammeter carrier module is made to periodically interact with an ammeter according to a set period so as to perform local edge calculation and data management of data contents; wherein the interaction comprises task management of reading data and caching data;
when data is read, a data domain in an original master station request frame is expanded, and the expanded master station request frame data domain sequentially comprises a communication layer multi-data item combined reading identifier, the number of reading data identification numbers of the task in the group, a data pre-reading cache period, a 1 st data item data identification to an nth data item data identification from left to right, and a combined reading data block separator respectively arranged between the two data item data identifications;
when data is read, expanding a data field in an original slave station normal response frame, wherein the expanded slave station normal response frame data field sequentially comprises a multi-data item combined transcription identifier, a data item responded at this time, a first data item to an Nth data item from left to right, and also comprises combined transcription data block separators which are respectively arranged between the two data items; each data item sequentially comprises the length of the current data item, the mark of the current data item and the content of the current data item;
when the data caching task is managed, expanding a data domain in an original master station request frame, wherein the expanded master station request frame data domain sequentially comprises a communication layer multi-data item combination reading identifier, an operation type and operation content from left to right; the operation types comprise all cache tasks, cache task configuration condition requests, power failure task preservation, active reporting condition strategy configuration and reservation; the operation content of the operation type corresponding to the power failure task storage and active reporting condition policy configuration comprises the following steps: the method comprises the steps that after power failure, a task group whether a cache task is stored or not, a task group whether a message is inconsistent or not to be actively reported or not, a task group which is actively reported with the upper limit of a corresponding data identifier, a task group which is actively reported with the lower limit of the corresponding data identifier, the upper limit exceeding judgment frequency, a data identifier which is judged with the upper limit exceeding, an upper limit exceeding judgment threshold value, a lower limit exceeding judgment frequency, a data identifier which is judged with the lower limit exceeding, and a lower limit exceeding judgment threshold value are cached;
when the task management of the cache data is performed, the data field in the original normal response frame of the slave station is expanded, and the expanded data field of the normal response frame of the slave station comprises the following conditions:
when the operation type in the master station request frame is to clear all the cache tasks, the data field of the normal response frame of the slave station sequentially comprises a communication layer multi-data item combined reading identifier and an operation type from left to right, and the operation type is to clear all the cache tasks;
when the operation type in the master station request frame is a cache task configuration condition request, the data field of the normal response frame of the slave station sequentially comprises a communication layer multi-data item combination reading identifier, the operation type, the number of data cache task groups supported by the module, the number of the 1 st group of task reading data identifications to the n th group of task reading data identifications from left to right, and a data pre-reading cache period of the group is further included behind the number of the data reading data identifications of each group of tasks;
and when the operation type in the master station request frame is power failure task saving and active reporting of condition strategy configuration, the data field of the normal response frame of the slave station is the same as the data field in the master station request frame.
2. The method for local edge computation and IOT management based on communication layer multiple data item caching task as claimed in claim 1, wherein the data field in the original slave station exception response frame is changed to an error message word when reading data.
3. The local edge computing and IOT (Internet of things) management method based on communication layer multiple data item caching task as claimed in claim 1, wherein when power is turned on again after power failure, the first round of read data is not compared with message consistency, and then active reporting is performed as required when the cache data is successfully read and is inconsistent with the last read content.
4. The method for local edge computing and internet of things management based on communication layer multiple data item caching task according to claim 1, wherein the out-of-limit active reporting judgment logic is as follows: when the qualified range is changed into the out-of-limit range or the out-of-limit range is changed into the qualified range;
after the continuous out-of-limit reaches the set times, actively reporting; and in the process of caching the task data by the ammeter carrier module, judging whether the data corresponding to the data identifier exceeds the limit, and if the data corresponding to the data identifier exceeds the limit, actively reporting the data group corresponding to the caching task.
5. The local edge computing and IOT (Internet of things) management method based on communication layer multiple data item caching tasks as claimed in claim 1, wherein in order to prevent the problem of network congestion caused by frequent active reporting, the ammeter carrier module limits the number of active reporting times, a group of tasks are reported 24 times at most in 24 hours, and the active reporting behavior triggered by the cached data is automatically suspended when the number of active reporting times exceeds the number of active reporting times.
6. The method for local edge computation and IOT management based on communication layer multiple data item cache task as claimed in claim 1, wherein the data field in the original slave station exception response frame is changed to an error message word during cache data task management.
CN201911168159.3A 2019-11-25 2019-11-25 Local edge calculation and Internet of things management method based on communication layer multi-data item caching task Active CN111314408B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911168159.3A CN111314408B (en) 2019-11-25 2019-11-25 Local edge calculation and Internet of things management method based on communication layer multi-data item caching task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911168159.3A CN111314408B (en) 2019-11-25 2019-11-25 Local edge calculation and Internet of things management method based on communication layer multi-data item caching task

Publications (2)

Publication Number Publication Date
CN111314408A CN111314408A (en) 2020-06-19
CN111314408B true CN111314408B (en) 2022-08-05

Family

ID=71146615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911168159.3A Active CN111314408B (en) 2019-11-25 2019-11-25 Local edge calculation and Internet of things management method based on communication layer multi-data item caching task

Country Status (1)

Country Link
CN (1) CN111314408B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103243B (en) * 2022-08-29 2022-11-15 济南瑞泉电子有限公司 NB water meter reporting time dynamic adjustment method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452506A (en) * 2016-11-27 2017-02-22 国网福建省电力有限公司 Method for one-off collection of a plurality of data items

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318750B (en) * 2014-10-20 2017-10-17 华为技术有限公司 A kind of methods, devices and systems of meter reading
CN107204110B (en) * 2017-05-23 2020-02-07 深圳智微电子科技有限公司 Method for rapidly reading meter data based on broadband network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452506A (en) * 2016-11-27 2017-02-22 国网福建省电力有限公司 Method for one-off collection of a plurality of data items

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于电力载波的家庭电力能耗监测系统设计;许天一;《中国优秀硕士论文全文数据库》;20190131;第2-5章 *

Also Published As

Publication number Publication date
CN111314408A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
EP2871809A1 (en) Message processing method, device and system for internet of things
CN107682460B (en) Distributed storage cluster data communication method and system
CN102833119B (en) Method for synchronously receiving and processing real-time data under dual-network redundancy mechanism
CN105187512A (en) Method and system for load balancing of virtual machine clusters
CN102664758B (en) Method for binding and automatically recovering network configuration
CN103139018B (en) Network card status monitoring under a kind of modulation integral system and TCP communication method
CN102143563A (en) Control method, equipment and systems of short message center cluster
CN111552440B (en) Cloud-edge-end data synchronization method for electric power Internet of things
CN108833149A (en) Method and system for monitoring network availability and self-healing of express delivery cabinet
CN103595566A (en) Method and device for detecting idle IP addresses
CN102012836A (en) Process survival control method and device
CN111314408B (en) Local edge calculation and Internet of things management method based on communication layer multi-data item caching task
CN104468152A (en) Network transmission method and device
CN111666167A (en) Input event reading processing optimization method, nonvolatile memory and terminal equipment
CN102307194B (en) Graceful restarting method and device for universal protocol process
CN102811451B (en) Method and device for controlling connection of control and provisioning of wireless access points (Capwap) tunnel
US20220224995A1 (en) Method for reading fluid meters
US11700189B2 (en) Method for performing task processing on common service entity, common service entity, apparatus and medium for task processing
CN115460124B (en) Method, device, equipment and storage medium for optimizing transmission link across machine room
CN101436953B (en) Management method and processing module for on-line announcement message of network appliance
CN106571943A (en) Distributed-type configuration cluster capacity-expanding method and device
Lee et al. Monitoring of IoT data for reducing network traffic
CN113258679A (en) Power grid monitoring system channel distribution method based on server instance capacity reduction
CN104581073A (en) Cloud video monitoring data low-energy-consumption storage system and method based on SLA classification
CN112564962B (en) Distributed drainage 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
GR01 Patent grant
GR01 Patent grant