WO2024087631A1 - 一种模拟机械显示的电子显示装置及其数据存储方法 - Google Patents

一种模拟机械显示的电子显示装置及其数据存储方法 Download PDF

Info

Publication number
WO2024087631A1
WO2024087631A1 PCT/CN2023/098048 CN2023098048W WO2024087631A1 WO 2024087631 A1 WO2024087631 A1 WO 2024087631A1 CN 2023098048 W CN2023098048 W CN 2023098048W WO 2024087631 A1 WO2024087631 A1 WO 2024087631A1
Authority
WO
WIPO (PCT)
Prior art keywords
processor
storage area
packaged data
data
area
Prior art date
Application number
PCT/CN2023/098048
Other languages
English (en)
French (fr)
Inventor
付涛
邢燕燕
Original Assignee
威海市天罡仪表股份有限公司
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 威海市天罡仪表股份有限公司 filed Critical 威海市天罡仪表股份有限公司
Publication of WO2024087631A1 publication Critical patent/WO2024087631A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1438Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using more than one graphics controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2085Special arrangements for addressing the individual elements of the matrix, other than by driving respective rows and columns in combination
    • G09G3/2088Special arrangements for addressing the individual elements of the matrix, other than by driving respective rows and columns in combination with use of a plurality of processors, each processor controlling a number of individual elements of the matrix
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/393Arrangements for updating the contents of the bit-mapped memory
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/12Test circuits or failure detection circuits included in a display system, as permanent part thereof
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/06Use of more than one graphics processor to process data before displaying to one or more screens
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to the field of instrument data storage and display, and in particular to an electronic display device simulating mechanical display and a data storage method thereof.
  • Smart meters are electronic meters that generally have one or more display screens to display various data of the meter.
  • the display screen When an instrument with an ordinary LCD screen fails, the display screen will not light up, the instrument data will not be displayed, and the data cannot be read remotely or on-site, which will have an adverse impact on subsequent work.
  • the object of the present invention is to provide an electronic display device simulating mechanical display and a data storage method thereof, so as to solve the problem that instrument data is not displayed when an electronic instrument fails.
  • the present invention provides the following solutions:
  • An electronic display device simulating a mechanical display comprises: a display screen, a first processor, a first display driver, a second processor and a second display driver;
  • the display screen is divided into two independent areas, the two independent areas are area A and area B;
  • the first processor is connected to the first display driver; the first processor is used to drive the A area to display real-time data through the first display driver; the real-time data includes accumulated flow and instantaneous flow;
  • the first processor communicates with the second processor, and the first processor transmits the accumulated traffic to the second processor;
  • the second processor is connected to the second display driver; the second processor is used to drive the B area to display the accumulated flow stored in the A area through the second display driver;
  • the first processor cannot work normally
  • the A area cannot display normally
  • the B area displays the accumulated flow normally.
  • it further includes: a first memory connected to the first processor;
  • the first memory includes a first storage area and a second storage area; the first storage area is used to store the real-time data; the second storage area is used to store the real-time data after the real-time data stored in the first storage area passes verification.
  • it further includes: a second memory connected to the second processor;
  • the second memory includes a third storage area and a fourth storage area; the third storage area is used to store the accumulated flow with a larger timestamp in the first storage area and the second storage area; the fourth storage area is used to store the accumulated flow after the accumulated flow stored in the third storage area has passed the verification.
  • it also includes: a first power supply and a second power supply;
  • the first power supply is connected to the first processor, and the second power supply is connected to the second processor.
  • a data storage method for an electronic display device simulating a mechanical display comprising:
  • the first processor uses the first processor to pack the accumulated traffic into a piece of packaged data, verifying the packaged data, storing the packaged data that passes the verification in the first memory, and sending the packaged data that passes the verification to the second processor;
  • the received packaged data is verified using the second processor, and the packaged data that passes the secondary verification is stored.
  • the step of using the first processor to pack the accumulated traffic into a piece of packed data, verifying the packed data, storing the packaged data that passes the verification in the first memory, and sending the packaged data that passes the verification to the second processor specifically includes:
  • the packaged data is stored in the second processor; if the first CRC check value is different from the second CRC check value, the first processor does not display and refresh the packaged data in the A area, and does not transmit the packaged data to the second processor.
  • storing the packaged data in the second processor specifically includes:
  • the timestamps of the packaged data in the first storage area and the packaged data in the second storage area are compared, and the packaged data with the larger timestamp is stored in the second processor.
  • the using the second processor to verify the received packaged data and storing the packaged data that passes the secondary verification specifically includes:
  • the packaged data is stored in the fourth storage area; if the third CRC check value is different from the fourth CRC check value, the accumulated traffic currently displayed in area B is not updated.
  • the present invention discloses the following technical effects: the present invention provides an electronic display device simulating mechanical display, the display screen is divided into at least two independent areas, area A is used to display real-time data, and area B is used to display stored cumulative flow; the display screen is driven by two independent processors; when the electronic display device fails, the first processor cannot work normally, and area A of the display screen cannot display normally, the second processor can still work normally, and the stored cumulative flow is displayed in area B of the display screen.
  • Area A can be used to determine whether the instrument is faulty, and area B can be used to retain data.
  • the present invention also discloses a data storage method for an electronic display device simulating a mechanical display, which performs multiple verifications on packaged data in two independent processors to ensure the accuracy of the data.
  • FIG. 1 is a structural diagram of an electronic display device simulating mechanical display provided by the present invention.
  • the object of the present invention is to provide an electronic display device simulating mechanical display and a data storage method thereof, which can still display instrument data normally without losing data when an electronic instrument fails.
  • FIG1 is a structural diagram of an electronic display device for simulating mechanical display provided by the present invention.
  • an electronic display device for simulating mechanical display i.e., an electronic instrument
  • the present invention also includes: a first memory 102 connected to the first processor 1; the first memory 102 includes a first storage area 1021 and a second storage area 1022; the first storage area 1021 is used to store the accumulated flow; the second storage area 1022 is used to store the accumulated flow after the accumulated flow stored in the first storage area 1021 passes the verification.
  • the present invention further includes: a second memory 202 connected to the second processor 2; the second memory 202 includes a third storage area 2021 and a fourth storage area 2022; the third storage area 2021 is used to store the first storage area 1021 and the second storage area The accumulated flow with a larger timestamp in 1022; the fourth storage area 2022 is used to store the accumulated flow after the accumulated flow stored in the third storage area 2021 passes the verification.
  • the present invention further includes: a first power supply 101 and a second power supply 201 ; the first power supply 101 is connected to the first processor 1 , and the second power supply 201 is connected to the second processor 2 .
  • the display screen 3 is divided into at least two independent areas, area A is used to display real-time data, and area B is used to store the display of accumulated flow; there are two independently running processors, a first processor 1 and a second processor 2; the two processors have independent power supplies, storage and display drivers; data is transmitted between the two processors through a communication module 105, and data can be transmitted between the two processors through different communication methods.
  • the first processor 1 periodically collects sensor signals, displays real-time data in area A of the display screen 3 through calculation and processing, and stores the accumulated flow in the real-time data in the first memory 102 after packaging and verification; the first processor 1 and the second processor 2 communicate periodically, and send the data in the first memory 102 to the second processor 2, and the second processor 2 verifies the data, stores the data in the second memory 202 after verification, and displays the data in area B of the display screen 3; areas A and B of the display screen 3 are displayed simultaneously, and are independently driven by the first processor 1 and the second processor 2, respectively, without affecting each other.
  • the first processor 1 cannot work normally, and the area A of the display screen 3 cannot display normally, the second processor 2 can still work normally, retain the data in the second memory 202, and display it in the area B of the display screen 3.
  • the meter failure can be judged through the area A of the display screen 3, and the data is retained through the area B of the display screen 3.
  • the present invention also provides a data storage method for an electronic display device simulating a mechanical display, comprising:
  • the first processor 1 is used to package the accumulated traffic into a piece of packaged data, the packaged data is verified, the packaged data that has passed the verification is stored in the first memory 102, and the packaged data that has passed the verification is sent to the second processor 2; the second processor 2 is used to verify the received packaged data, and the packaged data that has passed the second verification is stored.
  • the first processor 1 is used to package the accumulated traffic into a piece of packaged data, the packaged data is verified, the packaged data that passes the verification is stored in the first memory 102, and the packaged data that passes the verification is sent to the second processor 2.
  • the method comprises: performing a cyclic redundancy check (CRC) on the packaged data to verify whether the packaged data is normal; if so, obtaining a first CRC check value and storing the packaged data in the first storage area 1021; if not, discarding the packaged data; and including a timestamp in the packaged data.
  • CRC cyclic redundancy check
  • the packaged data is stored in the second processor 1022; if the first CRC check value is different from the second CRC check value, the first processor 1 does not display and refresh the packaged data in the A area, and does not transmit the packaged data to the second processor 2.
  • storing the packed data into the second processor 1022 specifically includes: comparing the timestamps of the packed data in the first storage area 1021 with the timestamps of the packed data in the second storage area 1022 , and storing the packed data with the larger timestamp into the second processor 1022 .
  • the step of verifying the received packaged data using the second processor 2 and storing the packaged data that has passed the secondary verification specifically includes:
  • the packed data is stored in the fourth storage area 2022; if the third CRC check value is different from the fourth CRC check value, the second processor 2 is instructed to display the packed data stored in the third storage area 2021 to the B area.
  • the first processor 1 is the main processor of the instrument and has an independent power supply 101 for power supply.
  • the flow module 103 is a sensor that collects signals and transmits the flow signals to the first processor 1.
  • the first processor 1 calculates the cumulative flow, instantaneous flow, flow state, temperature, etc. based on the collected signals.
  • the first memory 102 of the first processor 1 and the second memory 202 of the second processor 2 are each divided into two storage areas, a first storage area 1021, a second storage area 1022 and a third storage area 2021, a fourth storage area 2022.
  • the first processor 1 packages all the data to be stored into one piece of data, which contains a timestamp accurate to seconds.
  • the data is subjected to CRC verification to verify whether the stored data is normal and used for subsequent CRC value comparison verification.
  • the CRC calculation result and the measurement data are packaged again for storage.
  • the repackaged data will be stored in two independent storage areas (the first storage area 1021 and the second storage area 1022) in the first memory 102 at the same time. After the storage in the first storage area 1021 is completed, the data in the storage area will be read out for CRC verification.
  • the two verification values are compared to determine whether an error occurs during the storage process. If the two CRC value results are the same, the verification is passed, otherwise the verification fails.
  • the storage and verification be performed in the second storage area 1022, otherwise the storage in the second storage area 1022 will not be performed. If the first storage area 1021 fails to pass the verification, the first processor 1 will not display the refresh this time, and will not transmit data to the second processor 2.
  • the data is stored in the second storage area 1022. After the storage in the second storage area 1022 is completed, the data in this storage area will be read out for verification. After the verification passes, the data in the first storage area 1021 and the data in the second storage area 1022 are read, and the timestamps of the two data are compared. The corresponding data with the larger timestamp is written into the second memory 202 of the second processor 2 and displayed in area A of the display screen 3.
  • the second processor 2 After receiving the data, the second processor 2 packages all the data to be stored into one piece of data, which contains a timestamp and CRC check value accurate to seconds.
  • the data will be stored in two independent storage areas (third storage area 2021 and fourth storage area 2022) in the second memory 202.
  • the data in this storage area will be read out for CRC check, and the two check values will be compared to determine whether errors occur during transmission and storage. If the two CRC value results are the same, the check is passed, otherwise the check fails. Only after the check verification is passed will it be stored and checked in the fourth storage area 2022, otherwise the storage in the fourth storage area 2022 will not be performed.
  • the third storage area 2021 fails to pass the check, the second processor 2 does not display the update this time.
  • the third storage area 2021 passes the verification, it is stored in the fourth storage area 2022. After the storage in the fourth storage area 2022 is completed, the data in this storage area will be read out for verification. After the verification passes, the data in the third storage area 2021 and the data in the fourth storage area 2022 are read, the timestamps of the two data are compared, and the corresponding data with the larger timestamp is displayed in area B of the display screen 3.
  • the present invention further includes a button 106, through which the first processor 1 is controlled to perform corresponding operations.
  • the host computer communication 104 can no longer transmit the data of the instrument to the host computer platform or the cloud platform, the A area of the display screen 3 is no longer lit, and the real-time data of the instrument cannot be obtained. Since the second processor 2 and the first processor 1 have independent power supply, storage and processing systems, the damage of the first processor 1 does not affect the normal operation of the second processor 2. The second processor 2 will display the data last transmitted by the first processor 1 on the B area of the display screen 3, so that the stored data is not lost and can be read normally.
  • each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments.
  • the same or similar parts between the embodiments can be referred to each other.
  • the description is relatively simple, and the relevant parts can be referred to the method part.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

本发明公开一种模拟机械显示的电子显示装置及其数据存储方法,涉及仪表数据存储显示领域。该电子显示装置包括:一块显示屏、第一处理器、第一显示驱动器、第二处理器以及第二显示驱动器;显示屏分为A区和B区两个独立的区域;第一处理器与第一显示驱动器相连接;第一处理器通过第一显示驱动器驱动A区显示实时数据;第一处理器与第二处理器进行通讯,第一处理器将累计流量传输至第二处理器;第二处理器与第二显示驱动器相连接;第二处理器通过第二显示驱动器驱动B区显示存储的累计流量;当仪表出现故障时,第一处理器不能正常工作,A区不能正常显示,B区正常显示累计流量。当电子仪表故障时仍然能够正常显示仪表数据,且仪表数据准确性高。

Description

一种模拟机械显示的电子显示装置及其数据存储方法
本申请要求于2022年10月24日提交中国专利局、申请号为202211301860.X、发明名称为“一种模拟机械显示的电子显示装置及其数据存储方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及仪表数据存储显示领域,特别是涉及一种模拟机械显示的电子显示装置及其数据存储方法。
背景技术
智能仪表为电子仪表,一般会有一个或多个显示屏,用于显示仪表的各种数据,当普通液晶屏的仪表发生故障时,显示屏不亮,仪表数据不显示,数据无法远程或现场读取,对后续的工作产生不利影响。
发明内容
本发明的目的是提供一种模拟机械显示的电子显示装置及其数据存储方法,以解决电子仪表故障时仪表数据不显示的问题。
为实现上述目的,本发明提供了如下方案:
一种模拟机械显示的电子显示装置,包括:一块显示屏、第一处理器、第一显示驱动器、第二处理器以及第二显示驱动器;
所述显示屏分为两个独立的区域,两个独立的区域为A区和B区;
所述第一处理器与所述第一显示驱动器相连接;所述第一处理器用于通过所述第一显示驱动器驱动所述A区显示实时数据;所述实时数据包括累计流量以及瞬时流量;
所述第一处理器与所述第二处理器进行通讯,所述第一处理器将所述累计流量传输至所述第二处理器;
所述第二处理器与所述第二显示驱动器相连接;所述第二处理器用于通过所述第二显示驱动器驱动所述B区显示所述A区存储的累计流量;
当仪表出现故障时,所述第一处理器不能正常工作,所述A区不能正常显示,所述B区正常显示所述累计流量。
可选的,还包括:与所述第一处理器相连接的第一存储器;
所述第一存储器包括第一存储区以及第二存储区;所述第一存储区用于存储所述实时数据;所述第二存储区用于当所述第一存储区存储的实时数据校验通过后,存储所述实时数据。
可选的,还包括:与所述第二处理器相连接的第二存储器;
所述第二存储器包括第三存储区以及第四存储区;所述第三存储区用于存储所述第一存储区以及所述第二存储区中时间戳大的累计流量;所述第四存储区用于当所述第三存储区存储的累计流量校验通过后,存储所述累计流量。
可选的,还包括:第一电源以及第二电源;
所述第一电源与所述第一处理器相连接,所述第二电源与所述第二处理器相连接。
一种模拟机械显示的电子显示装置的数据存储方法,包括:
利用所述第一处理器将累计流量打包为一条打包数据,对所述打包数据进行校验,将校验通过的打包数据存储至所述第一存储器,并向所述第二处理器发送所述校验通过的打包数据;
利用所述第二处理器对接收到的打包数据进行校验,并存储二次校验通过的打包数据。
可选的,所述利用第一处理器将累计流量打包为一条打包数据,对所述打包数据进行校验,将校验通过的打包数据存储至第一存储器,并向第二处理器发送所述校验通过的打包数据,具体包括:
对所述打包数据进行CRC校验,验证所述打包数据是否正常;若是,获取第一CRC校验值,并将所述打包数据存储至第一存储区;若否,丢弃所述打包数据;所述打包数据内包含时间戳;
读取存储至所述第一存储区内的打包数据,并再次进行CRC校验,验证存储至所述第一存储区内打包数据是否正常;若是,获取第二CRC校验值;若否,丢弃所述第一存储区内的打包数据;
若所述第一CRC校验值与所述第二CRC校验值相同,将所述打包数据存储至所述第二处理器;若所述第一CRC校验值与所述第二CRC校验值不相同,所述第一处理器不在所述A区显示刷新所述打包数据,且不向所述第二处理器传输所述打包数据。
可选的,所述将所述打包数据存储至所述第二处理器,具体包括:
对比所述第一存储区内打包数据与第二存储区内打包数据的时间戳,并将时间戳大的打包数据存储至所述第二处理器。
可选的,所述利用所述第二处理器对接收到的打包数据进行校验,并存储二次校验通过的打包数据,具体包括:
对所述打包数据进行CRC校验,验证所述打包数据是否正常;若是,获取第三CRC校验值,并将所述打包数据存储至第三存储区;若否,丢弃所述打包数据;
读取存储至所述第三存储区内的打包数据,并再次进行CRC校验,验证存储至所述第三存储区内打包数据是否正常;若是,获取第四CRC校验值;若否,丢弃所述第三存储区内的打包数据;
若所述第三CRC校验值与所述第四CRC校验值相同,将所述打包数据存储至第四存储区;若所述第三CRC校验值与所述第四CRC校验值不相同,不更新所述B区当前显示的累计流量。
根据本发明提供的具体实施例,本发明公开了以下技术效果:本发明提供了一种模拟机械显示的电子显示装置,显示屏至少分为两个独立的区域,A区用于显示实时数据,B区用于显示存储的累计流量;显示屏由两个独立的处理器进行驱动;当电子显示装置出现故障时,第一处理器不能正常工作,显示屏的A区不能正常显示时,第二处理器仍可正常工作,在显示屏的B区显示存储的累计流量。通过A区可以判断仪表出现故障,通过B区进行数据保留。
此外,本发明还公开了一种模拟机械显示的电子显示装置的数据存储方法,在两个独立的处理器中对打包数据进行多次验证,保证了数据的准确性。
说明书附图
下面结合附图和具体实施方式对本发明作进一步说明。本发明的保护范围不仅局限于下列内容的表述。
图1为本发明所提供的模拟机械显示的电子显示装置结构图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的目的是提供一种模拟机械显示的电子显示装置及其数据存储方法,当电子仪表故障时仍然能够正常显示仪表数据,不会丢失数据。
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。
图1为本发明所提供的模拟机械显示的电子显示装置结构图,如图1所示,一种模拟机械显示的电子显示装置(即电子仪表),包括:一块显示屏3、第一处理器1、第一显示驱动器107、第二处理器2以及第二显示驱动器203;所述显示屏3分为两个独立的区域,两个独立的区域为A区和B区;所述第一处理器1与所述第一显示驱动器107相连接;所述第一处理器1用于通过所述第一显示驱动器107驱动所述A区显示实时数据;所述实时数据包括累计流量以及瞬时流量,实时数据还包括流态以及温度;所述第一处理器1与所述第二处理器2进行通讯,所述第一处理器1将所述实时数据传输至所述第二处理器2;所述第二处理器2与所述第二显示驱动器203相连接;所述第二处理器2用于通过所述第二显示驱动器203驱动所述B区显示所述A区存储的累计流量;当仪表出现故障时,所述第一处理器1不能正常工作,所述A区不能正常显示,所述B区正常显示所述累计流量。
在实际应用中,本发明还包括:与所述第一处理器1相连接的第一存储器102;所述第一存储器102包括第一存储区1021以及第二存储区1022;所述第一存储区1021用于存储所述累计流量;所述第二存储区1022用于当所述第一存储区1021存储的累计流量校验通过后,存储所述累计流量。
在实际应用中,本发明还包括:与所述第二处理器2相连接的第二存储器202;所述第二存储器202包括第三存储区2021以及第四存储区2022;所述第三存储区2021用于存储所述第一存储区1021以及所述第二存储区 1022中时间戳大的累计流量;所述第四存储区2022用于当所述第三存储区2021存储的累计流量校验通过后,存储所述累计流量。
在实际应用中,本发明还包括:第一电源101以及第二电源201;所述第一电源101与所述第一处理器1相连接,所述第二电源201与所述第二处理器2相连接。
在实际应用中,显示屏3至少分为两个独立的区域,A区用于实时数据的显示,B区用于存储累计流量的显示;有两个独立运行的处理器,第一处理器1和第二处理器2;两个处理器具有独立的电源、存储和显示驱动;两个处理器之间通过通讯模块105进行数据传输,两个处理器之间可通过不同的通讯方式进行数据传输。
第一处理器1周期采集传感器信号,通过计算处理将实时数据显现在显示屏3的A区,将实时数据中的累计流量通过打包、验证后存储在第一存储器102内;第一处理器1和第二处理器2周期性通讯,将第一存储器102内的数据发送到第二处理器2,第二处理器2对数据进行校验,校验通过后存储在第二存储器202内,并将数据显示在显示屏3的B区;显示屏3的A区和B区同时显示,分别受第一处理器1和第二处理器2的独立驱动,相互不受影响。
仪表出现故障,第一处理器1不能正常工作,显示屏3的A区不能正常显示时,第二处理器2仍可正常工作,保留第二存储器202内的数据,在显示屏3的B区进行显示。通过显示屏3的A区可以判断仪表出现故障,通过显示屏3的B区进行数据保留。
本发明还提供了一种模拟机械显示的电子显示装置的数据存储方法,包括:
利用所述第一处理器1将所述累计流量打包为一条打包数据,对所述打包数据进行校验,将校验通过的打包数据存储至所述第一存储器102,并向所述第二处理器2发送所述校验通过的打包数据;利用所述第二处理器2对接收到的打包数据进行校验,并存储二次校验通过的打包数据。
在实际应用中,利用所述第一处理器1将所述累计流量打包为一条打包数据,对所述打包数据进行校验,将校验通过的打包数据存储至所述第一存储器102,并向所述第二处理器2发送所述校验通过的打包数据,具 体包括:对所述打包数据进行循环冗余(Cyclic redundancy check,CRC)校验,验证所述打包数据是否正常;若是,获取第一CRC校验值,并将所述打包数据存储至所述第一存储区1021;若否,丢弃所述打包数据;所述打包数据内包含时间戳。
读取存储至所述第一存储区1021内的打包数据,并再次进行CRC校验,验证存储至所述第一存储区1021内打包数据是否正常;若是,获取第二CRC校验值;若否,丢弃所述所述第一存储区1021内的打包数据。
若所述第一CRC校验值与所述第二CRC校验值相同,将所述打包数据存储至所述第二处理器1022;若所述第一CRC校验值与所述第二CRC校验值不相同,所述第一处理器1不在所述A区显示刷新所述打包数据,且不向所述第二处理器2传输所述打包数据。
在实际应用中,所述将所述打包数据存储至所述第二处理器1022,具体包括:对比所述第一存储区1021内打包数据与所述第二存储区1022内打包数据的时间戳,并将时间戳大的打包数据存储至所述第二处理器1022。
在实际应用中,所述利用所述第二处理器2对接收到的打包数据进行校验,并存储二次校验通过的打包数据,具体包括:
对所述打包数据进行CRC校验,验证所述打包数据是否正常;若是,获取第三CRC校验值,并将所述打包数据存储至所述第三存储区2021;若否,丢弃所述打包数据。
读取存储至所述第三存储区2021内的打包数据,并再次进行CRC校验,验证存储至所述第三存储区2021内打包数据是否正常;若是,获取第四CRC校验值;若否,丢弃所述第三存储区2021内的打包数据。
若所述第三CRC校验值与所述第四CRC校验值相同,将所述打包数据存储至所述第四存储区2022;若所述第三CRC校验值与所述第四CRC校验值不相同,令所述第二处理器2将存储至所述第三存储区2021内的打包数据显示至所述B区。
第一处理器1做为仪表的主处理器,具有独立的电源101进行供电。流量模块103做为传感器,采集信号,并将流量信号传入第一处理器1,第一处理器1根据采集的信号计算出累积流量、瞬时流量、流态、温度等 数据。第一处理器1的第一存储器102和第二处理器2的第二存储器202各自分为两个存储区,第一存储区1021、第二存储区1022和第三存储区2021、第四存储区2022。
第一处理器1将所有的要存储数据打包为一条数据,数据内包含精确到秒的时间戳,对这一条数据进行CRC校验,验证存储数据是否正常及用于后续CRC值对比验证,将CRC计算结果与这一条计量数据再次打包进行存储。再次打包后的数据会同时在第一存储器102内两个独立存储区(第一存储区1021以及第二存储区1022)进行存储,当在第一存储区1021内存储完成后接着会将此存储区内数据读取出来进行CRC校验,对比两次校验值,用于判断存储过程中是否出现错误,两次CRC值结果相同为校验通过,否则为校验不通过。只有校验验证通过后才会在第二存储区1022内进行存储及校验,否则不进行第二存储区1022的存储。若第一存储区1021校验不通过,第一处理器1此次不显示刷新,也不向第二处理器2传输数据。
当第一存储区1021校验验证通过后,在第二存储区1022内进行存储,当在第二存储区1022内存储完成后,接着会将此存储区内数据读取出来进行校验验证,校验验证通过后,读取第一存储区1021数据和第二存储区1022数据,对两条数据的时间戳进行比较,将时间戳大的对应数据写入第二处理器2的第二存储器202内,并在显示屏3的A区进行显示。
当第二存储区1022内存储完成,但校验不通过时,不向第二处理器2传输数据,且不更新显示屏3的A区。
第二处理器2接收到数据后,将所有的要存储数据打包为一条数据,数据内包含精确到秒的时间戳和CRC校验值,数据会在第二存储器202内两个独立存储区(第三存储区2021和第四存储区2022)内进行存储,当在第三存储区2021内存储完成后接着会将此存储区内数据读取出来进行CRC校验,对比两次校验值,用于判断传输和存储过程中是否出现错误,两次CRC值结果相同为校验通过,否则为校验不通过,只有校验验证通过后才会在第四存储区2022内进行存储及校验,否则不进行第四存储区2022的存储。第三存储区2021校验不通过后,第二处理器2此次不显示更新。
当第三存储区2021校验验证通过后,在第四存储区2022内进行存储,当在第四存储区2022内存储完成后接着会将此存储区内数据读取出来进行校验验证,校验验证通过后,读取第三存储区2021数据和第四存储区2022数据,对两条数据的时间戳进行比较,将时间戳大的对应数据显示在显示屏3的B区。
当第四存储区2022存储完成,但校验不通过时,将第三存储区2021数据显示在显示屏3的B区。
本发明还包括按键106,通过所述按键106控制所述第一处理器1执行相应操作。
当第一处理器1出现故障时,第一处理器1的各功能模块不再正常工作,上位机通讯104不能再传输仪表的数据至上位机平台或云平台,显示屏3的A区不再点亮,仪表的实时数据无法获取。由于第二处理器2与第一处理器1具有独立的电源、存储和处理系统,所以第一处理器1的损坏不影响第二处理器2的正常运行,第二处理器2会将第一处理器1最后传输过来的数据在显示屏3的B区上进行显示,使存储的数据不丢失,可正常读取。
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。
本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的结构、方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。

Claims (8)

  1. 一种模拟机械显示的电子显示装置,其特征在于,包括:一块显示屏、第一处理器、第一显示驱动器、第二处理器以及第二显示驱动器;
    所述显示屏分为两个独立的区域,两个独立的区域为A区和B区;
    所述第一处理器与所述第一显示驱动器相连接;所述第一处理器用于通过所述第一显示驱动器驱动所述A区显示实时数据;所述实时数据包括累计流量以及瞬时流量;
    所述第一处理器与所述第二处理器进行通讯,所述第一处理器将所述累计流量传输至所述第二处理器;
    所述第二处理器与所述第二显示驱动器相连接;所述第二处理器用于通过所述第二显示驱动器驱动所述B区显示所述A区存储的累计流量;
    当仪表出现故障时,所述第一处理器不能正常工作,所述A区不能正常显示,所述B区正常显示所述累计流量。
  2. 根据权利要求1所述的模拟机械显示的电子显示装置,其特征在于,还包括:与所述第一处理器相连接的第一存储器;
    所述第一存储器包括第一存储区以及第二存储区;所述第一存储区用于存储所述实时数据;所述第二存储区用于当所述第一存储区存储的校验通过后,存储所述实时数据。
  3. 根据权利要求2所述的模拟机械显示的电子显示装置,其特征在于,还包括:与所述第二处理器相连接的第二存储器;
    所述第二存储器包括第三存储区以及第四存储区;所述第三存储区用于存储所述第一存储区以及所述第二存储区中时间戳大的累计流量;所述第四存储区用于当所述第三存储区存储的校验通过后,存储所述累计流量。
  4. 根据权利要求3所述的模拟机械显示的电子显示装置,其特征在于,还包括:第一电源以及第二电源;
    所述第一电源与所述第一处理器相连接,所述第二电源与所述第二处理器相连接。
  5. 一种模拟机械显示的电子显示装置的数据存储方法,其特征在于,应用于权利要求1-4任一项所述的模拟机械显示的电子显示装置,所述数据存储方法包括:
    利用第一处理器将累计流量打包为一条打包数据,对所述打包数据进 行校验,将校验通过的打包数据存储至第一存储器,并向第二处理器发送所述校验通过的打包数据;
    利用所述第二处理器对接收到的打包数据进行校验,并存储二次校验通过的打包数据。
  6. 根据权利要求5所述的模拟机械显示的电子显示装置的数据存储方法,其特征在于,所述利用所述第一处理器将累计流量打包为一条打包数据,对所述打包数据进行校验,将校验通过的打包数据存储至所述第一存储器,并向所述第二处理器发送所述校验通过的打包数据,具体包括:
    对所述打包数据进行CRC校验,验证所述打包数据是否正常;若是,获取第一CRC校验值,并将所述打包数据存储至第一存储区;若否,丢弃所述打包数据;所述打包数据内包含时间戳;
    读取存储至所述第一存储区内的打包数据,并再次进行CRC校验,验证存储至所述第一存储区内打包数据是否正常;若是,获取第二CRC校验值;若否,丢弃所述第一存储区内的打包数据;
    若所述第一CRC校验值与所述第二CRC校验值相同,将所述打包数据存储至所述第二处理器;若所述第一CRC校验值与所述第二CRC校验值不相同,所述第一处理器不在所述A区显示刷新所述打包数据,且不向所述第二处理器传输所述打包数据。
  7. 根据权利要求6所述的模拟机械显示的电子显示装置的数据存储方法,其特征在于,所述将所述打包数据存储至所述第二处理器,具体包括:
    对比所述第一存储区内打包数据与第二存储区内打包数据的时间戳,并将时间戳大的打包数据存储至所述第二处理器。
  8. 根据权利要求7所述的模拟机械显示的电子显示装置的数据存储方法,其特征在于,所述利用所述第二处理器对接收到的打包数据进行校验,并存储二次校验通过的打包数据,具体包括:
    对所述打包数据进行CRC校验,验证所述打包数据是否正常;若是,获取第三CRC校验值,并将所述打包数据存储至第三存储区;若否,丢弃所述打包数据;
    读取存储至所述第三存储区内的打包数据,并再次进行CRC校验,验证存储至所述第三存储区内打包数据是否正常;若是,获取第四CRC 校验值;若否,丢弃所述第三存储区内的打包数据;
    若所述第三CRC校验值与所述第四CRC校验值相同,将所述打包数据存储至第四存储区;若所述第三CRC校验值与所述第四CRC校验值不相同,令所述第二处理器将存储至所述第三存储区内的打包数据显示至所述B区不更新所述B区当前显示的累计流量。
PCT/CN2023/098048 2022-10-24 2023-06-02 一种模拟机械显示的电子显示装置及其数据存储方法 WO2024087631A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211301860.X 2022-10-24
CN202211301860.XA CN115576512B (zh) 2022-10-24 2022-10-24 一种模拟机械显示的电子显示装置及其数据存储方法

Publications (1)

Publication Number Publication Date
WO2024087631A1 true WO2024087631A1 (zh) 2024-05-02

Family

ID=84587899

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/098048 WO2024087631A1 (zh) 2022-10-24 2023-06-02 一种模拟机械显示的电子显示装置及其数据存储方法

Country Status (3)

Country Link
EP (1) EP4361792A1 (zh)
CN (1) CN115576512B (zh)
WO (1) WO2024087631A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115576512B (zh) * 2022-10-24 2023-07-25 威海市天罡仪表股份有限公司 一种模拟机械显示的电子显示装置及其数据存储方法
CN116542541B (zh) * 2023-02-17 2024-03-26 威海市天罡仪表股份有限公司 编码解码策略下一梯多户散热器的热动态估计方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110906A (zh) * 2021-03-30 2021-07-13 联想(北京)有限公司 一种显示控制方法以及电子设备
CN113377313A (zh) * 2021-06-22 2021-09-10 展讯通信(上海)有限公司 多屏复用显示装置及方法
US20220101764A1 (en) * 2020-09-30 2022-03-31 GE Precision Healthcare LLC Methods and systems for detecting a malfunctioning display device
CN114323096A (zh) * 2021-12-10 2022-04-12 中国船舶重工集团公司第七一九研究所 一种通用型过程参数显示仪表
CN114978417A (zh) * 2022-03-29 2022-08-30 浙江大学 一种基于两路blvds总线的数据通信校验方法及系统
CN115576512A (zh) * 2022-10-24 2023-01-06 威海市天罡仪表股份有限公司 一种模拟机械显示的电子显示装置及其数据存储方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100894184B1 (ko) * 2007-08-30 2009-04-22 주식회사 지. 엠. 피 적산계량기의 원격표시장치
CN202389219U (zh) * 2011-12-01 2012-08-22 浙江吉利汽车研究院有限公司 多功能液晶组合仪表
CN204439154U (zh) * 2015-03-08 2015-07-01 江苏菲尔德自动化仪表有限公司 智能流量显示积算仪
CN204881740U (zh) * 2015-04-30 2015-12-16 中国人民解放军空军油料研究所 一种流量积算仪
CN204945213U (zh) * 2015-09-01 2016-01-06 合肥凌霄电力技术有限公司 一种网路多功能仪表
KR20180055322A (ko) * 2016-11-17 2018-05-25 삼성전자주식회사 디스플레이 장치 및 이의 제어 방법
CN207197589U (zh) * 2017-06-30 2018-04-06 天津市鑫晟昌石油机械制造有限公司 一种天然气旋进旋涡流量计
CN109587557B (zh) * 2019-01-11 2022-03-08 京东方科技集团股份有限公司 数据传输方法及装置、显示装置
US11030977B2 (en) * 2019-10-14 2021-06-08 Synaptics Incorporated Device and method for driving a display panel
CN111416866B (zh) * 2020-03-25 2022-05-31 上海电力大学 一种电力物联网数据通信方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220101764A1 (en) * 2020-09-30 2022-03-31 GE Precision Healthcare LLC Methods and systems for detecting a malfunctioning display device
CN113110906A (zh) * 2021-03-30 2021-07-13 联想(北京)有限公司 一种显示控制方法以及电子设备
CN113377313A (zh) * 2021-06-22 2021-09-10 展讯通信(上海)有限公司 多屏复用显示装置及方法
CN114323096A (zh) * 2021-12-10 2022-04-12 中国船舶重工集团公司第七一九研究所 一种通用型过程参数显示仪表
CN114978417A (zh) * 2022-03-29 2022-08-30 浙江大学 一种基于两路blvds总线的数据通信校验方法及系统
CN115576512A (zh) * 2022-10-24 2023-01-06 威海市天罡仪表股份有限公司 一种模拟机械显示的电子显示装置及其数据存储方法

Also Published As

Publication number Publication date
EP4361792A1 (en) 2024-05-01
CN115576512B (zh) 2023-07-25
CN115576512A (zh) 2023-01-06

Similar Documents

Publication Publication Date Title
WO2024087631A1 (zh) 一种模拟机械显示的电子显示装置及其数据存储方法
US10764166B2 (en) Injecting lost packets and protocol errors in a simulation environment
CN107819647B (zh) 智能变电站站控层网络测试仪
US20100218043A1 (en) System and method for testing a serial attached small computer system interface
CN107179076A (zh) 车载图像显示系统
CN113157269B (zh) 验证系统及其验证方法
CN107766209A (zh) 中控自动化测试方法、装置、设备及计算机可读存储介质
CN106933740A (zh) 一种星敏感器软件在线故障监测系统及其监测方法
CN105827476A (zh) 高速PING实现方法和Ping测试方法
CN101923494B (zh) 一种存储器控制器验证系统、方法及记分板
CN112347650A (zh) 自动驾驶的硬件在环仿真测试方法及系统
CN109142912A (zh) 一种智能变电站过程层装置自动测试系统
CN109739716B (zh) 一种存储系统中hba卡的测试方法和系统
CN104678292B (zh) 一种复杂可编程逻辑器件cpld测试方法和装置
CN102538824A (zh) 一种适用于mems imu重复多次标定的方法
CN112333066B (zh) 一种提高can总线通讯可靠性的技术方法
CN111273156B (zh) GaN毫米波功率放大器芯片用在线测试系统
CN113064047B (zh) 一种电子控制单元间端到端保护的测试装置及测试方法
CN109302322A (zh) 一种提高核安全级网络测试准确性的测试系统及方法
KR101135747B1 (ko) Ipc 통신 기반의 계측기 제어 방법 및 컴퓨터 판독 가능한 기록매체
CN213521918U (zh) 物联网通信终端自动化测试装置、系统
CN108507644B (zh) 一种查找流水线上串表位置的方法
CN116827475B (zh) 基于物联网的流量计时钟同步方法、装置、设备及介质
CN117671817B (zh) 基于irig106的信息显示方法、装置、系统、介质
CN106909489A (zh) 一种测试EventLog状态的方法及装置