CN110532258A - Fault wave list updating method and fault wave transmission method - Google Patents

Fault wave list updating method and fault wave transmission method Download PDF

Info

Publication number
CN110532258A
CN110532258A CN201910646534.4A CN201910646534A CN110532258A CN 110532258 A CN110532258 A CN 110532258A CN 201910646534 A CN201910646534 A CN 201910646534A CN 110532258 A CN110532258 A CN 110532258A
Authority
CN
China
Prior art keywords
waveform data
fault
list
target
waveform
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.)
Granted
Application number
CN201910646534.4A
Other languages
Chinese (zh)
Other versions
CN110532258B (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.)
Zhangzhou Kehua Technology Co Ltd
Kehua Hengsheng Co Ltd
Original Assignee
Zhangzhou Kehua Technology Co Ltd
Kehua Hengsheng 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 Zhangzhou Kehua Technology Co Ltd, Kehua Hengsheng Co Ltd filed Critical Zhangzhou Kehua Technology Co Ltd
Priority to CN201910646534.4A priority Critical patent/CN110532258B/en
Publication of CN110532258A publication Critical patent/CN110532258A/en
Application granted granted Critical
Publication of CN110532258B publication Critical patent/CN110532258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention is suitable for technical field of data transmission, provide fault wave list updating method and fault wave transmission method, it include: the time identifier for obtaining newest fault waveform data within a preset time, judge whether the time identifier matches with the first address of waveform list, if mismatching, the time identifier of newest fault waveform data is stored to the first address of waveform list;Then the object time mark obtained in inquiry channel information and waveform list when inquiry waveform instruction is being received, whether is being cached according to target waveform data in channel information and object time mark inquiry memory;If having cached, detect whether containing breakpoint packet;If there is breakpoint packet, cache instruction is sent to dsp system, cache instruction is for caching dsp system into memory the target waveform data subpackage after breakpoint packet.The present invention is without the frequent waveform list for refreshing fault wave, it can be achieved that waveform breakpoint transmission, improves the speed of reading and export fault wave.

Description

Fault wave list updating method and fault wave transmission method
Technical field
The invention belongs to technical field of data transmission more particularly to fault wave list updating method and fault wave transmission sides Method.
Background technique
Failure wave-recording is a kind of effective means of retention fault point key message, is broken down (such as route in electric system Short circuit, ground connection etc. and system overvoltage, load unbalanced etc.) when, it automatically, is accurately recorded by failure wave-recording means (main number amount, such as switch state variation, analog quantity are mainly electric for the various electrical quantity of the forward and backward process of electric power system fault Pressure, current values) situation of change, will pass through these electrical quantity analysis accident and judge the whether positive positive motion of protective device Make, quick positioning failure reason, and then improves the effect of safe operation of power system level.
But display equipment will refresh its storage inside list when showing fault wave in real time, it is next when checking again It need to also be re-read from the primary fault wave checked when fault wave, so that display equipment repeats to read multiple fault waves, further for example, When External memory equipment exports fault wave, then need to repeat to read and be derived before exporting when restarting after pause export Fault wave.Since fault wave data volume is big, frequently refreshes storage list in this way and repeat the process read, reading can be largely effected on The speed for taking and exporting fault wave, influences detection efficiency.
Summary of the invention
In view of this, the embodiment of the invention provides fault wave list updating method and fault wave transmission method, to solve Frequently refresh storage list in the prior art and repeats the process read, largely effect on reading and export asking for the speed of fault wave Topic.
The first aspect of the embodiment of the present invention provides fault wave list updating method, comprising:
It obtains in DSP (Digital Signal Processing, Digital Signal Processing) system within a preset period of time most The time identifier of new fault waveform data, every fault waveform data correspond to a time identifier;
Judge whether the time identifier of the newest fault waveform data matches with the first address of waveform list, the waveform The address of list is for indicating the time identifier;
If the time identifier of the newest fault waveform data and the first address mismatch, by the newest fault wave The time identifier of graphic data is stored to the first address of the waveform list.
Optionally, it is obtained in dsp system before the time identifier of newest fault waveform data within a preset period of time, it is described Method further include:
Local zone time is sent to dsp system, so that dsp system, which carries out timing according to the local zone time, obtains fault waveform The time identifier of data;
Judge whether the difference of obtained time identifier and current local time is greater than default Clock;
If the difference of obtained time identifier and current local time is greater than the default Clock, to the DSP System sending time synchronization frame.
The second aspect of the embodiment of the present invention provides the fault wave list update of the offer of the first aspect based on embodiment The fault wave transmission method of method, which comprises
Receiving the object time mark obtained in inquiry channel information and waveform list when inquiry waveform instruction;
Whether cached according to target waveform data in the channel information and object time mark inquiry memory;
When the target waveform data have cached, detect whether the target waveform data contain breakpoint packet;
If the target waveform data contain breakpoint packet, cache instruction is sent to dsp system, the cache instruction is for making Dsp system caches the target waveform data subpackage after the breakpoint packet to the memory.
Optionally, the inquiry channel information includes: inquiry number of channels and inquiry gap marker;
Whether cached according to target waveform data in the channel information and object time mark inquiry memory, Include:
Target query channel is determined according to the inquiry number of channels and the inquiry gap marker, and each target query is logical Road corresponds to a target waveform data;
Whether according to target waveform data in the target query channel and object time mark inquiry memory Caching.
Optionally, detect whether the target waveform data contain breakpoint packet, comprising:
The buffer status information that the dsp system returns is obtained, the buffer status information includes caching completion status letter Breath and uncached completion status information;
When the buffer status information of acquisition is uncached completion status information, it is determined that the target waveform data Contain breakpoint packet.
Optionally, the fault wave transmission method further include:
If the target waveform data contain breakpoint packet, the target waveform data cached in the memory are read And it is shown by display screen, while sending cache instruction to dsp system.
The third aspect of the embodiment of the present invention provides fault wave list update device, comprising:
Newest identifier acquisition module, for obtain within a preset period of time newest fault waveform data in dsp system when Between identify, every fault waveform data correspond to a time identifier;
Judgment module, for judge the newest fault waveform data time identifier and waveform list first address whether Matching, the address of the waveform list is for indicating the time identifier;
List update module, if being mismatched for the time identifier of the newest fault waveform data and the first address, Then the time identifier of the newest fault waveform data is stored to the first address of the waveform list.
The fourth aspect of the embodiment of the present invention provides fault wave transmitting device, comprising:
Target information obtains module, for obtaining inquiry channel information and waveform list when receiving inquiry waveform instruction In object time mark;
Target cache determining module, for according to mesh in the channel information and object time mark inquiry memory Whether mark Wave data has cached;
Disconnected packet detection module, for whether detecting the target waveform data when the target waveform data have cached Contain breakpoint packet;
Data transmission module sends cache instruction to dsp system if containing breakpoint packet for the target waveform data, The cache instruction is for caching dsp system to the memory target waveform data subpackage after the breakpoint packet.
5th aspect of the embodiment of the present invention provides display terminal, the DSP system including multiple record fault waveform data It system, multiple caching memories of fault waveform data, man-machine interface and is stored in the man-machine interface and described man-machine The computer program run on interface, the man-machine interface realize the first aspect such as embodiment when executing the computer program The step of any described fault wave list updating method provided, or while executing the computer program, realize such as embodiment Second aspect provide any described fault wave transmission method the step of.
6th aspect of the embodiment of the present invention provides computer readable storage medium, the computer readable storage medium Computer program is stored, any that the first aspect such as embodiment provides is realized when the computer program is executed by man-machine interface The step of fault wave list updating method described in kind or the computer program realize such as embodiment when being executed by man-machine interface Second aspect provide any described fault wave transmission method the step of.
Existing beneficial effect is the embodiment of the present invention compared with prior art: in fault wave list updating method, pre- If obtaining the time identifier of newest fault waveform data in the period, the time identifier and waveform of newest fault waveform data are judged Whether the first address of list matches, if mismatching, newest fault waveform data time mark is stored to the head of waveform list Address, ensure that waveform list stores always newest fault wave time identifier, subtract by cyclic check either with or without new fault wave Lack refreshing waveform list number, solves the problems, such as frequent refresh list;In fault wave transmission method, inquiry wave is being received The object time mark in inquiry channel information and waveform list is obtained when shape instructs, inquiring target waveform data in memory is No to have cached, if having cached, whether detection target waveform data contain breakpoint packet, if so, cache instruction is sent to dsp system, Cache dsp system the target waveform data subpackage after breakpoint packet to memory, realizes waveform breakpoint transmission, without weight It is re-reading to take, it improves reading and exports the speed of fault wave.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of fault wave list updating method provided in an embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram of fault wave list updating method before step S101 in Fig. 1;
Fig. 3 is the implementation process schematic diagram of fault wave transmission method provided in an embodiment of the present invention;
Fig. 4 is the specific implementation flow schematic diagram of step S302 in Fig. 3;
Fig. 5 is the specific implementation flow schematic diagram of step S303 in Fig. 3;
Fig. 6 is the structural schematic diagram of fault wave list update device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of fault wave transmitting device provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of display terminal provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
It is the implementation process schematic diagram of fault wave list updating method provided in this embodiment referring to Fig. 1.The present embodiment Display equipment of the fault wave list updating method suitable for read failure wave, such as HMI (Human Machine Interface, Man-machine interface).The embodiment will to show that equipment side illustrates fault wave list updating method, specifically, in the present embodiment, Fault wave list updating method may comprise steps of:
Step S101 obtains the time identifier of newest fault waveform data in dsp system, every event within a preset period of time Hinder Wave data and corresponds to a time identifier.
Step S102, judge the newest fault waveform data time identifier and waveform list first address whether Match, the address of the waveform list is for indicating the time identifier.
Step S103 will be described if the time identifier of the newest fault waveform data and the first address mismatch The time identifier of newest fault waveform data is stored to the first address of the waveform list.
In practical application, display equipment will refresh waveform list when showing or exporting fault wave in real time, so as to according to wave The time identifier of the fault wave stored in shape list inquires fault wave.Since fault wave data volume is big, frequently refresh storage in this way The process of list largely effects on reading and exports the speed of fault wave, influences detection efficiency.Therefore one kind is present embodiments provided Fault wave list updating method makes to show equipment without the frequent waveform list for refreshing fault wave.
Specifically, fault waveform when DSP real-time storage electric system is broken down, and record that each fault wave occurs when Between point.It obtains the time point that each fault wave occurs and generates waveform list, i.e., waveform is generated according to the time identifier of each fault wave When to check or to export fault wave, the correspondence fault wave of storage is searched according to the time identifier for list.The list of this implementation Update method, after periodically or being obtained newest fault waveform data in dsp system by predetermined period and corresponded to time identifier, and root Judge whether the newest fault waveform data are identical as the fault waveform data of storage newest in memory according to time identifier, if not It stores with by the time identifier of newest fault waveform data to the first address of the waveform list, while by newest fault wave figurate number According to caching into memory, without refreshing waveform list in real time, waveform list refreshing frequency is reduced.
In one embodiment, referring to fig. 2, in the fault waveform group of the acquisition described in step S101 in preset time period Newest fault waveform data time identifier before, the method also includes:
Step S201 sends local zone time to dsp system, obtains so that dsp system carries out timing according to the local zone time To the time identifier of fault waveform data.
Whether the difference of step S202, the time identifier and current local time that judge are greater than default Clock.
Step S203, if the difference of obtained time identifier and current local time is greater than the default Clock, To the dsp system sending time synchronization frame.
In practical application, dsp system does not have clock information, so when display equipment periodically can issue local to dsp system Between, so that dsp system, which carries out timing according to the local zone time, obtains the time identifier of fault waveform data, i.e. dsp system phase Timing is carried out to local zone time.Then the time identifier of timing acquisition dsp system record, judges time identifier and local zone time Whether difference is greater than default Clock, such as whether the difference of time identifier and local zone time is greater than 10min, under then Time synchronization frame is sent out to dsp system, then acquisition time synchronization frame synchronizes timing to DSP, and display equipment updates local zone time.
Above-mentioned fault wave list updating method obtains newest fault waveform data in dsp system within a preset period of time Time identifier, judges whether the time identifier of newest fault waveform data matches with the first address of waveform list, if mismatching, The time identifier of newest fault waveform data is stored to the first address of waveform list, it is newest to guarantee that waveform list stores always Time identifier does not have to then update in not new fault wave, reduces and refreshes waveform list number, solves frequently to refresh and deposit The problem of storing up list improves reading and exports the speed of fault wave.
Embodiment two
Referring to Fig. 3, fault wave transmission method is provided, the fault wave transmission method of the present embodiment is suitable for read failure wave Display equipment, such as HMI can be applicable to the External memory equipment of export fault wave.The embodiment will be to show equipment Mode be illustrated fault wave transmission method.Specifically, fault wave transmission method may comprise steps of:
Step S301 is receiving the object time obtained in inquiry channel information and waveform list when inquiry waveform instruction Mark.
Step S302, inquiring target waveform data in memory according to the channel information and object time mark is It is no to have cached.
Step S303 detects whether the target waveform data contain breakpoint when the target waveform data have cached Packet.
Step S304 sends cache instruction, the caching to dsp system if the target waveform data contain breakpoint packet Instruction is for caching dsp system to the memory target waveform data subpackage after the breakpoint packet.
Illustratively, when receiving inquiry waveform instruction, HMI obtains the target in inquiry channel information and waveform list Time identifier.Then whether cached according to target waveform data in channel information and object time mark inquiry memory;If It has been cached that, whether detection target waveform data contain breakpoint packet, if containing breakpoint packet, send cache instruction to dsp system, make Dsp system caches the target waveform data subpackage after breakpoint packet to memory, realizes the breakpoint transmission of Wave data, same Waveform is read without repeating, and realizes waveform breakpoint transmission, and same waveform is read without repeating.If not having breakpoint packet, explanation is deposited Target waveform data buffer storage is complete in reservoir, then reads the target waveform data in memory and shown by display screen.
In one embodiment, the inquiry channel information includes: inquiry number of channels and inquiry gap marker, that is, is shown eventually End can inquire multiple target waveforms simultaneously.
Specifically, referring to fig. 4, according to the channel information and object time mark inquiry memory in step S302 The specific implementation flow whether middle target waveform data have cached includes:
Step S401 determines target query channel according to the inquiry number of channels and the inquiry gap marker, each Target query channel corresponds to a target waveform data.
Step S402, according to target waveform number in the target query channel and object time mark inquiry memory According to whether having cached.
Illustratively, referring to table 1, inquiry channel information is shown.
Table 1 inquires channel information
After obtaining inquiry channel information, target query channel is determined according to inquiry number of channels and inquiry gap marker, It is identified according to the object time and determines the corresponding target waveform in target query channel.In addition, dsp system also obtains the target waveform number According to total sampling number, the relevant informations such as faulty word, the fault point number of the target waveform data can also be obtained, and according to institute It states total sampling number and carries out subpackage, target waveform data subpackage is cached to memory, wherein the data length between sampled point It can be determined by the capacity in target query channel, illustratively, data length=destination channel capacity * 2 between sampled point, In order to avoid occurring data congestion in transmission process or transmitting the problems such as having some setbacks.Referring to table 2, showing target waveform data be can wrap The information included.
2 target waveform data of table
Total sampling number 2 bytes
Waveform can transmit frame number 2 bytes
Every frame transmits sampling number m 2 bytes
Fault point number 2 bytes
Faulty word 1 2 bytes
Faulty word 2 2 bytes
Faulty word 3 2 bytes
…… ……
Faulty word n 2 bytes
In one embodiment, referring to Fig. 5, detected in step S303 the target waveform data whether the tool containing breakpoint packet Body implementation process includes:
Step S501, obtains the buffer status information that the dsp system returns, and the buffer status information includes having cached At status information and uncached completion status information.
Step S502, when the buffer status information of acquisition is uncached completion status information, it is determined that the mesh Mark Wave data contains breakpoint packet.
Specifically, dsp system can return to a buffer status to display equipment when target waveform data buffer storage to memory Meeting return cache completion status information after the completion of information, such as target waveform data whole caching, returns not when caching is unfinished Completion status information is cached, for example, uncached completion status information can be indicated with character 0, caching completion status information can be with It is indicated with character 1, can determine whether target waveform data contain breakpoint packet according to buffer status information, in target waveform data Display or export process can be carried out after the completion of caching.
In one embodiment, the fault wave transmission method further include: if the target waveform data contain breakpoint packet, read It takes the target waveform data cached in the memory and is shown by display screen, while sending and caching to dsp system The function of showing in caching is realized in instruction, without showing completely until data buffer storage.
Above-mentioned fault wave transmission method obtains inquiry channel information and waveform column when receiving inquiry waveform instruction first Object time mark in table;Whether delayed according to target waveform data in channel information and object time mark inquiry memory It deposits;If having cached, whether detection target waveform data contain breakpoint packet, if containing breakpoint packet, send caching to dsp system and refer to It enables, caches dsp system the target waveform data subpackage after the breakpoint packet to the memory, realize and shown in caching The function of oscillography shape and breakpoint transmission waveform improves waveform inquiry velocity.
It will be understood by those skilled in the art that in above-described embodiment the size of the serial number of each step be not meant to execute it is suitable Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.
Embodiment three
Another fault wave transmission method is present embodiments provided, the display equipment or export event suitable for read failure wave Hinder the External memory equipment of wave.Detailed process is as follows:
Obtain the time mark of the newest fault waveform data in the preset time period of Digital Signal Processing dsp system record Know, every fault waveform data correspond to a time identifier;Judge the time identifier and wave of the newest fault waveform data Whether the first address of shape list matches, and the address of waveform list is for indicating the time identifier;If newest fault waveform data Time identifier and first address mismatch, then the time identifier of newest fault waveform data is stored to the head of the waveform list Address.
Receiving the object time mark obtained in inquiry channel information and waveform list when inquiry waveform instruction;According to Whether target waveform data have cached in the channel information and object time mark inquiry memory;In the target wave When graphic data has cached, detect whether the target waveform data contain breakpoint packet;If the target waveform data contain breakpoint Packet sends cache instruction to dsp system, and the cache instruction is for making dsp system by the target waveform after the breakpoint packet Data subpackage is cached to the memory.
Above-mentioned fault wave transmission method first obtains the time identifier of newest fault waveform data within a preset period of time, sentences Whether the time identifier for newest fault waveform data of breaking matches with the first address of waveform list, if mismatching, by newest failure Wave data time identifier is stored to the first address of waveform list, is guaranteed that waveform list stores always newest fault wave, is reduced Refreshing waveform list number solves the problems, such as frequently to refresh storage list;Then, it is obtained when receiving inquiry waveform instruction The object time mark in inquiry channel information and waveform list is taken, whether inquiry target waveform data have cached, if having cached, Whether detection target waveform data contain breakpoint packet, when containing breakpoint packet, send cache instruction to dsp system, make dsp system will Target waveform data subpackage after breakpoint packet is cached to memory, realizes waveform breakpoint transmission, is read, is improved without repeating It reads and the speed of export fault wave.
It will be understood by those skilled in the art that in above-described embodiment the size of the serial number of each step be not meant to execute it is suitable Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.
Example IV
Corresponding to fault wave list updating method described in foregoing embodiments one, failure in the present embodiment is shown in Fig. 6 The structural block diagram of wave train table updating device.For ease of description, only the parts related to this embodiment are shown.
The device includes: newest identifier acquisition module 110, judgment module 120 and list update module 130.
Newest identifier acquisition module 110 for obtaining newest fault waveform data in dsp system within a preset period of time Time identifier, every fault waveform data correspond to a time identifier.
Judgment module 120 is used to judge the time identifier of the newest fault waveform data and the first address of waveform list is No matching, the address of the waveform list is for indicating the time identifier.
If list update module 130 for the time identifier of the newest fault waveform data and the first address not Match, then stores the time identifier of the newest fault waveform data to the first address of the waveform list.
Above-mentioned fault wave list update device, identifier acquisition module 110 newest first obtain DSP system within a preset period of time The time identifier of newest fault waveform data in system;Judgment module 120 judges the time identifier and wave of newest fault waveform data Whether the first address of shape list matches;If the time identifier of newest fault waveform data and first address mismatch, list update mould Block 130 stores the time identifier of newest fault waveform data to the first address of the waveform list, guarantees waveform list always Newest fault wave is stored, is not updated in not new fault wave, reduces and refreshes waveform list number, solve frequent brush The problem of new storage list, improves reading and exports the speed of fault wave.
Embodiment five
Corresponding to fault wave transmission method described in foregoing embodiments two, fault wave in the present embodiment is shown in Fig. 7 and is passed The structural block diagram of defeated device.For ease of description, only the parts related to this embodiment are shown.
The device includes: that target information obtains module 210, target cache determining module 220, disconnected 230 and of packet detection module Data transmission module 240.
Target information obtains module 210 and is used to obtain inquiry channel information and waveform column when receiving inquiry waveform instruction Object time mark in table.
Target cache determining module 220 is used for according in the channel information and object time mark inquiry memory Whether target waveform data have cached.
Disconnected packet detection module 230 is used for when the target waveform data have cached, and detecting the target waveform data is It is no to contain breakpoint packet.
If data transmission module 240 contains breakpoint packet for the target waveform data, caching is sent to dsp system and is referred to It enables, the cache instruction is for caching dsp system to the storage target waveform data subpackage after the breakpoint packet Device.
Above-mentioned fault wave transmitting device, target information obtain module 210 and obtain inquiry when receiving inquiry waveform instruction Object time mark in channel information and waveform list, target cache determining module 220 inquire target waveform number in memory According to whether having cached;Disconnected packet detection module 230 detects whether the target waveform data contain when target waveform data have cached There is breakpoint packet;When containing breakpoint packet, data transmission module 240 sends cache instruction to dsp system, makes dsp system by breakpoint Target waveform data subpackage after packet is cached to memory, realizes waveform breakpoint transmission, without repeating to read or export, is mentioned High waveform inquiry velocity.
Embodiment six
Fig. 8 is a kind of schematic diagram for display terminal 100 that the embodiment of the present invention six provides.As shown in figure 8, the embodiment institute The display terminal 100 stated includes: that the dsp systems 140 of multiple record fault waveform data, multiple caching fault waveform data are deposited Reservoir 150, man-machine interface 160 and it is stored in the computer program that can be run in man-machine interface 160 and in man-machine interface 160 161, for example, fault wave list updating method program or fault wave transmission method program.
Optionally, man-machine interface 160 and dsp system 140 pass through RS485/RS232 bus progress serial communication.Display is eventually End 100 further includes USB interface, realizes waveform export.
The man-machine interface 160 realizes above-mentioned each fault wave list update side when executing the computer program 161 Step in method embodiment, such as step S101 to S103 shown in FIG. 1, or realize that above-mentioned each fault wave transmission method is implemented Step in example, such as step S301 to S304 shown in Fig. 3.Alternatively, the man-machine interface 160 executes the computer program The function of each module/unit in above-mentioned each Installation practice, such as the function of module 110 to 130 shown in Fig. 6 are realized when 161, or The function of module 210 to 240 shown in Fig. 7.
Illustratively, the computer program 161 can be divided into one or more module/units, it is one or Multiple module/the units of person are stored in man-machine interface 160, and are executed by the man-machine interface 160, to complete the present invention.Institute Stating one or more module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment For describing implementation procedure of the computer program 161 in the display terminal 100.For example, the computer program 161 Newest identifier acquisition module, judgment module and list update module can be divided into, each module concrete function is as follows:
Newest identifier acquisition module for obtaining the time of newest fault waveform data in dsp system within a preset period of time Mark, every fault waveform data correspond to a time identifier.
Judgment module be used for judge the newest fault waveform data time identifier and waveform list first address whether Matching, the address of the waveform list is for indicating the time identifier.
If list update module is mismatched for the time identifier of the newest fault waveform data and the first address, The time identifier of the newest fault waveform data is stored to the first address of the waveform list.
For example, the computer program 161 can also be divided into, target information obtains module, target cache determines mould Block, disconnected packet detection module and data transmission module, each module concrete function are as follows:
Target information obtains module and is used to obtain inquiry channel information and waveform list when receiving inquiry waveform instruction In object time mark.
Target cache determining module is used for according to mesh in the channel information and object time mark inquiry memory Whether mark Wave data has cached.
Disconnected packet detection module is used for when the target waveform data have cached, and detects whether the target waveform data contain There is breakpoint packet.
If data transmission module contains breakpoint packet for the target waveform data, cache instruction, institute are sent to dsp system Cache instruction is stated for caching dsp system to the memory target waveform data subpackage after the breakpoint packet.
The display terminal 100 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The display terminal 100 may include, but be not limited only to man-machine interface 160, memory 150.Those skilled in the art can manage Solution, Fig. 8 is only the example of display terminal 100, does not constitute the restriction to display terminal 100, may include more than illustrating Or less component, certain components or different components are perhaps combined, such as display terminal 100 can also include that input is defeated Equipment, network access equipment, bus etc. out.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/display terminal and method, it can be with It realizes by another way.For example, device described above/display terminal embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by man-machine interface, it can be achieved that The step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie Matter may include: can carry the computer program code any entity or system, recording medium, USB flash disk, mobile hard disk, Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all Including within protection scope of the present invention.

Claims (10)

1. fault wave list updating method characterized by comprising
The time identifier of newest fault waveform data in Digital Signal Processing dsp system, every event are obtained within a preset period of time Hinder Wave data and corresponds to a time identifier;
Judge whether the time identifier of the newest fault waveform data matches with the first address of waveform list, the waveform list Address for indicating the time identifier;
If the time identifier of the newest fault waveform data and the first address mismatch, by the newest fault wave figurate number According to time identifier store to the first address of the waveform list.
2. fault wave list updating method as described in claim 1, which is characterized in that obtain DSP system within a preset period of time In system before the time identifier of newest fault waveform data, the method also includes:
Local zone time is sent to dsp system, so that dsp system, which carries out timing according to the local zone time, obtains fault waveform data Time identifier;
Judge whether the difference of obtained time identifier and current local time is greater than default Clock;
If the difference of obtained time identifier and current local time is greater than the default Clock, to the dsp system Sending time synchronization frame.
3. the fault wave transmission method based on fault wave list updating method of any of claims 1 or 2, which is characterized in that institute The method of stating includes:
Receiving the object time mark obtained in inquiry channel information and waveform list when inquiry waveform instruction;
Whether cached according to target waveform data in the channel information and object time mark inquiry memory;
When the target waveform data have cached, detect whether the target waveform data contain breakpoint packet;
If the target waveform data contain breakpoint packet, cache instruction is sent to dsp system, the cache instruction is for making DSP System caches the target waveform data subpackage after the breakpoint packet to the memory.
4. fault wave transmission method as claimed in claim 3, which is characterized in that the inquiry channel information includes: that inquiry is logical Road quantity and inquiry gap marker;
Whether cached, has been wrapped according to target waveform data in the channel information and object time mark inquiry memory It includes:
Target query channel, each target query channel pair are determined according to the inquiry number of channels and the inquiry gap marker Answer a target waveform data;
Whether cached according to target waveform data in the target query channel and object time mark inquiry memory.
5. fault wave transmission method as claimed in claim 3, which is characterized in that detect whether the target waveform data contain Breakpoint packet, comprising:
Obtain the buffer status information that the dsp system returns, the buffer status information include caching completion status information and Uncached completion status information;
When the buffer status information of acquisition is uncached completion status information, it is determined that the target waveform data contain Breakpoint packet.
6. fault wave transmission method as claimed in claim 3, which is characterized in that the fault wave transmission method further include:
If the target waveform data contain breakpoint packet, reads the target waveform data cached in the memory and lead to It crosses display screen to show, while sending cache instruction to dsp system.
7. fault wave list update device characterized by comprising
Newest identifier acquisition module, the time for obtaining newest fault waveform data in dsp system within a preset period of time mark Know, every fault waveform data correspond to a time identifier;
Judgment module, for judge the newest fault waveform data time identifier and waveform list first address whether Match, the address of the waveform list is for indicating the time identifier;
List update module will if mismatching for the time identifier of the newest fault waveform data and the first address The time identifier of the newest fault waveform data is stored to the first address of the waveform list.
8. the fault wave transmitting device based on fault wave list update device as claimed in claim 7 characterized by comprising
Target information obtains module, for obtaining in inquiry channel information and waveform list when receiving inquiry waveform instruction Object time mark;
Target cache determining module, for according to target wave in the channel information and object time mark inquiry memory Whether graphic data has cached;
Disconnected packet detection module, for detecting whether the target waveform data contain when the target waveform data have cached Breakpoint packet;
Data transmission module sends cache instruction to dsp system if containing breakpoint packet for the target waveform data, described Cache instruction is for caching dsp system to the memory target waveform data subpackage after the breakpoint packet.
9. display terminal, the storage of dsp system, multiple caching fault waveform data including multiple record fault waveform data Device, man-machine interface and the computer program for being stored in the man-machine interface and being run in the man-machine interface, feature It is, the man-machine interface realizes fault wave list update side as claimed in claim 1 or 2 when executing the computer program The step of method, or realize when the execution computer program such as the described in any item fault wave transmission methods of claim 3 to 6 Step.
10. computer readable storage medium, the computer-readable recording medium storage computer program, which is characterized in that institute The step of fault wave list updating method as claimed in claim 1 or 2 is realized when computer program is executed by man-machine interface is stated, Or the computer program realizes such as claim 3 to 6 described in any item fault wave transmission methods when being executed by man-machine interface The step of.
CN201910646534.4A 2019-07-17 2019-07-17 Fault wave transmission method and device Active CN110532258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910646534.4A CN110532258B (en) 2019-07-17 2019-07-17 Fault wave transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910646534.4A CN110532258B (en) 2019-07-17 2019-07-17 Fault wave transmission method and device

Publications (2)

Publication Number Publication Date
CN110532258A true CN110532258A (en) 2019-12-03
CN110532258B CN110532258B (en) 2022-06-10

Family

ID=68660282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910646534.4A Active CN110532258B (en) 2019-07-17 2019-07-17 Fault wave transmission method and device

Country Status (1)

Country Link
CN (1) CN110532258B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143092A (en) * 2019-12-31 2020-05-12 科华恒盛股份有限公司 Fault recording data processing method and system and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588086A (en) * 2009-07-07 2009-11-25 北京四方继保自动化股份有限公司 Method for processing recording file of multiple-plug-in component embedded type fault information system substation
CN103501047A (en) * 2013-10-09 2014-01-08 云南电力调度控制中心 Intelligent fault wave recording main station information management system
US20160110245A1 (en) * 2014-10-20 2016-04-21 Lsis Co., Ltd. Method for saving fault wave data
CN105676023A (en) * 2015-12-30 2016-06-15 华自科技股份有限公司 Recording method and system of fault recording data
CN106018993A (en) * 2016-05-09 2016-10-12 南京南瑞继保电气有限公司 Wave recording realization method of channel dynamic configuration
EP3267316A1 (en) * 2016-07-08 2018-01-10 Delta Electronics (Shanghai) Co., Ltd. Recording method and recording apparatus of power module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588086A (en) * 2009-07-07 2009-11-25 北京四方继保自动化股份有限公司 Method for processing recording file of multiple-plug-in component embedded type fault information system substation
CN103501047A (en) * 2013-10-09 2014-01-08 云南电力调度控制中心 Intelligent fault wave recording main station information management system
US20160110245A1 (en) * 2014-10-20 2016-04-21 Lsis Co., Ltd. Method for saving fault wave data
CN105676023A (en) * 2015-12-30 2016-06-15 华自科技股份有限公司 Recording method and system of fault recording data
CN106018993A (en) * 2016-05-09 2016-10-12 南京南瑞继保电气有限公司 Wave recording realization method of channel dynamic configuration
EP3267316A1 (en) * 2016-07-08 2018-01-10 Delta Electronics (Shanghai) Co., Ltd. Recording method and recording apparatus of power module

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143092A (en) * 2019-12-31 2020-05-12 科华恒盛股份有限公司 Fault recording data processing method and system and terminal equipment
CN111143092B (en) * 2019-12-31 2023-08-29 科华恒盛股份有限公司 Fault recording data processing method, system and terminal equipment

Also Published As

Publication number Publication date
CN110532258B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN110245035A (en) A kind of link trace method and device
CN103530362B (en) A kind of computer data reading/writing method for many copies distributed system
CN105989076A (en) Data statistical method and device
CN103441861B (en) A kind of data record generation method and device
CN104142892B (en) A kind of data read-write method, apparatus and system
CN106156328A (en) A kind of bank's running log data monitoring method and system
CN109120067A (en) A kind of sequence of events recording report method, device, equipment and readable storage medium storing program for executing
CN107608627A (en) A kind of remote data classification storage method, electronic equipment and storage medium
CN104965793B (en) A kind of cloud storage data node device
CN108268216A (en) Data processing method, device and server
CN104184601B (en) The acquisition methods and device of user's online hours
CN104735142B (en) A kind of processing in real time of big data and storage system and its processing method
CN106844233A (en) A kind of router service data caching method and system based on Hash table
CN110532258A (en) Fault wave list updating method and fault wave transmission method
CN102857333B (en) Device and method for synchronizing data packet from sensor network
CN104461774B (en) Asynchronous replication method, apparatus and system
CN102360341B (en) Data loss prevention processing method
CN103825889A (en) IEC 104 safety remote control method based on discrete addressing technique
CN109525633A (en) Block chain network, the message transmission based on block chain network, message receival method
CN109558299A (en) Business monitoring and the method, apparatus of early warning, equipment and storage medium
CN101594305A (en) A kind of message processing method and device
CN103501353B (en) A kind of data relay transmission method, apparatus and system
CN105138278B (en) A kind of the naked of intelligent substation network message takes inventory method for storing
CN107395443A (en) A kind of distributed type assemblies management method, apparatus and system
CN116738815A (en) Electric power emergency plan deduction method, system, electronic equipment and storage medium

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