CN114510204B - Indoor display unit data synchronization method - Google Patents

Indoor display unit data synchronization method Download PDF

Info

Publication number
CN114510204B
CN114510204B CN202111636628.7A CN202111636628A CN114510204B CN 114510204 B CN114510204 B CN 114510204B CN 202111636628 A CN202111636628 A CN 202111636628A CN 114510204 B CN114510204 B CN 114510204B
Authority
CN
China
Prior art keywords
display unit
data
indoor display
executing
judging whether
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111636628.7A
Other languages
Chinese (zh)
Other versions
CN114510204A (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.)
Ningbo Sanxing Smart Electric Co Ltd
Original Assignee
Ningbo Sanxing Smart Electric 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 Ningbo Sanxing Smart Electric Co Ltd filed Critical Ningbo Sanxing Smart Electric Co Ltd
Priority to CN202111636628.7A priority Critical patent/CN114510204B/en
Publication of CN114510204A publication Critical patent/CN114510204A/en
Application granted granted Critical
Publication of CN114510204B publication Critical patent/CN114510204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a data synchronization method of an indoor display unit, which comprises an RTC second awakening sub-method, wherein the RTC second awakening sub-method comprises the following steps of S11, powering off commercial power and powering on a battery; s12, the indoor display unit enters a sleep mode; s13, judging whether the power-on time reaches t0, if so, executing S15, and if not, executing S14; s14, acquiring a current meter serial number X, judging whether the time reaches 24 hours of discrete synchronous time, if so, executing S15, and if not, returning to executing S12; s15, sending a synchronous data frame, and receiving and waiting; s16, judging whether the waiting time exceeds the set time t1, if so, returning to the step S12, and if not, analyzing the data frame and the synchronous frame according to the data ID and the data content, and updating the indoor display unit data. The method can realize data synchronization under the power supply of the battery, and improves the timeliness and effectiveness of the data of the display unit.

Description

Indoor display unit data synchronization method
Technical Field
The application relates to the technical field of electric meters, in particular to an indoor display unit data synchronization method.
Background
The indoor display unit is also called CIU, which is a kit of a split prepaid electric meter and has a function of inquiring meter data. However, the currently used CIU can only perform data synchronization operation of the meter and the CIU under the condition of mains supply, namely, the CIU displays real-time data of the ammeter, and the CIU display data cannot be synchronized with the ammeter and cannot be automatically updated under the condition that mains supply is powered by a battery, so that timeliness and effectiveness of the data displayed by the CIU are not high.
Disclosure of Invention
In view of the foregoing, it is an object of the present application to provide an indoor display unit data synchronization method that automatically updates the indoor display unit data under battery-powered conditions so that the data displayed by the indoor display unit is timely and efficient.
In order to achieve the above purpose, the technical scheme of the application is as follows: a method for synchronizing data of indoor display units is characterized in that: comprising an RTC second wake-up sub-method, the RTC second wake-up sub-method comprising,
s11, the commercial power is powered off, and the battery is powered on;
s12, the indoor display unit enters a sleep mode;
s13, judging whether the power-on time reaches t0, if so, executing S15, and if not, executing S14;
s14, acquiring a current meter serial number X, judging whether the time reaches 24 hours of discrete synchronous time, if so, executing S15, and if not, returning to executing S12;
s15, sending a synchronous data frame, and receiving and waiting;
s16, judging whether the waiting time exceeds the set time t1, if so, returning to the step S12, and if not, analyzing the data frame and the synchronous frame according to the data ID and the data content, and updating the indoor display unit data.
Further, the indoor display unit data synchronization method also comprises a key wakeup sub-method, the key wakeup sub-method comprises,
s21, the commercial power is powered off, and the battery is powered on;
s22, the indoor display unit enters a sleep mode;
s23, judging whether a key operation exists, if so, executing S24, and if not, returning to executing S22;
s24, sending a broken code or TOKEN code query data frame, and receiving and waiting;
s25, judging whether the waiting time exceeds the set time T1, if so, returning to S22, and if not, analyzing the data frame and the synchronous frame according to the data ID and the data content, and updating the indoor display unit data.
Further, the 24-hour discrete synchronization time calculation method in S14 is as follows: synchronization was performed at time 00:00:00 plus t minutes, t= (X% a+1).
Further, before executing S24, the method further comprises
S240, judging whether the key operation is a specific key operation, if so, executing S24, and if not, executing S241;
s241, the button operation time passes through T0, and then returns to S22.
Further, the value of t0 is 30s.
Further, the value of t1 is 1s.
Further, the value of T0 is 10s.
Further, the value of T1 is 1s.
Further, X is eight bits and a has a value 1440.
Further, in the step S23, the specific key operation mode is to press the confirm key after pressing any key.
Compared with the prior art, the application has the advantages that: when the time does not reach the discrete synchronization time every day, if the commercial power is powered off, after the battery is powered on for a certain time, the indoor display unit and the meter are subjected to data synchronization to update the data of the indoor display unit, or when the time reaches the discrete synchronization time every day, the commercial power is powered off, and the data of the indoor display unit can be updated at the moment of being powered by the battery, so that the data of the indoor display unit can be automatically updated when the commercial power is powered off and the battery is powered on, and the timeliness and the effectiveness of the data of the indoor display unit are improved.
Drawings
FIG. 1 is a schematic diagram of the interaction between an indoor display unit and a meter.
Fig. 2 is a flow chart of the method of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application.
As shown in fig. 1 to 2, the indoor display unit data synchronization method includes an RTC second wake-up sub-method and a key wake-up sub-method, wherein the RTC second wake-up sub-method includes the following steps:
s11, the commercial power is powered off, and the battery is powered on;
s12, the indoor display unit enters a sleep mode;
s13, judging whether the power-on time reaches t0, if so, executing S15, and if not, executing S14;
s14, acquiring a current meter serial number X, judging whether the time reaches 24 hours of discrete synchronous time, if so, executing S15, and if not, returning to executing S12;
s15, sending a synchronous data frame, and receiving and waiting;
s16, judging whether the waiting time exceeds the set time t1, if so, returning to the step S12, and if not, analyzing the data frame and the synchronous frame according to the data ID and the data content, and updating the indoor display unit data.
The key wake-up sub-method comprises the following steps:
s21, the commercial power is powered off, and the battery is powered on;
s22, the indoor display unit enters a sleep mode;
s23, judging whether a key operation exists, if so, executing S24, and if not, returning to executing S22;
s24, sending a broken code or TOKEN code query data frame, and receiving and waiting;
s25, judging whether the waiting time exceeds the set time T1, if so, returning to S22, and if not, analyzing the data frame and the synchronous frame according to the data ID and the data content, and updating the indoor display unit data.
When the commercial power is powered off and the battery supplies power, two methods can be adopted to realize the synchronization of the data of the indoor display unit and the meter data so as to automatically update, one method is to wake up the indoor display unit by adopting a key mode to perform data synchronization when the indoor display unit enters a sleep mode, and the other method is to automatically perform data synchronization at a specific moment every day according to the power-off time.
In this embodiment, the 24-hour discrete synchronization time calculation method in the step S14 is as follows: synchronization was performed at time 00:00:00 plus t minutes, t= (X% a+1). Specifically, the sequence number X is eight digits, and the value of a is 1440. For example, the sequence number X is 12000001, and the remainder of dividing X by a is calculated, and then t is calculated to obtain:
t=12000001%1440+1=482 min=8h2min, i.e. 08:02:00 sync.
In this embodiment, before executing S24, the method further includes the steps of:
s240, judging whether the key operation is a specific key operation, if so, executing S24, and if not, executing S241;
s241, the button operation time passes through T0, and then returns to S22.
In this embodiment, t0 has a value of 30s, t1 has a value of 1s, t0 has a value of 10s, and t1 has a value of 1s. Of course, the corresponding values may be adjusted as desired.
In the present embodiment, the specific key operation in S23 is to press the confirm key after pressing any key. Of course, other key combinations, or a single key may be provided.
While embodiments of the application have been shown and described, it will be understood by those skilled in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the application, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A method for synchronizing data of indoor display units is characterized in that: comprising an RTC second wake-up sub-method, the RTC second wake-up sub-method comprising,
s11, the commercial power is powered off, and the battery is powered on;
s12, the indoor display unit enters a sleep mode;
s13, judging whether the power-on time reaches t0, if so, executing S15, and if not, executing S14;
s14, acquiring a current meter serial number X, judging whether the time reaches 24 hours of discrete synchronous time, if so, executing S15, and if not, returning to executing S12;
s15, sending a synchronous data frame, and receiving and waiting;
s16, judging whether the waiting time exceeds the set time t1, if so, returning to the step S12, and if not, analyzing the data frame and the synchronous frame according to the data ID and the data content, and updating the indoor display unit data.
2. The indoor display unit data synchronization method of claim 1, wherein:
the indoor display unit data synchronization method also comprises a key wakeup sub-method, the key wakeup sub-method comprises,
s21, the commercial power is powered off, and the battery is powered on;
s22, the indoor display unit enters a sleep mode;
s23, judging whether a key operation exists, if so, executing S24, and if not, returning to executing S22;
s24, sending a broken code or TOKEN code query data frame, and receiving and waiting;
s25, judging whether the waiting time exceeds the set time T1, if so, returning to S22, and if not, analyzing the data frame and the synchronous frame according to the data ID and the data content, and updating the indoor display unit data.
3. The indoor display unit data synchronization method of claim 1, wherein:
the 24-hour discrete synchronous time calculation method in the step S14 is as follows: synchronization was performed at time 00:00:00 plus t minutes, t= (X% a+1).
4. The indoor display unit data synchronization method of claim 2, wherein:
before executing S24, also comprises
S240, judging whether the key operation is a specific key operation, if so, executing S24, and if not, executing S241;
s241, the button operation time passes through T0, and then returns to S22.
5. The indoor display unit data synchronization method of claim 1, wherein:
the value of t0 is 30s.
6. The indoor display unit data synchronization method of claim 1, wherein:
the value of t1 is 1s.
7. The indoor display unit data synchronization method of claim 2, wherein:
the value of T0 is 10s.
8. The indoor display unit data synchronization method of claim 2, wherein:
the value of T1 is 1s.
9. A method of synchronizing data of an indoor display unit according to claim 3, wherein:
the value of a is 1440.
10. The method for synchronizing data of an indoor display unit of claim 4, wherein:
the specific key operation in S23 is to press the confirm key after pressing any key.
CN202111636628.7A 2021-12-29 2021-12-29 Indoor display unit data synchronization method Active CN114510204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111636628.7A CN114510204B (en) 2021-12-29 2021-12-29 Indoor display unit data synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111636628.7A CN114510204B (en) 2021-12-29 2021-12-29 Indoor display unit data synchronization method

Publications (2)

Publication Number Publication Date
CN114510204A CN114510204A (en) 2022-05-17
CN114510204B true CN114510204B (en) 2023-09-01

Family

ID=81548269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111636628.7A Active CN114510204B (en) 2021-12-29 2021-12-29 Indoor display unit data synchronization method

Country Status (1)

Country Link
CN (1) CN114510204B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638072A (en) * 2012-02-17 2012-08-15 深圳市富士达工业有限公司 Intelligent battery management method
CN104221443A (en) * 2012-02-10 2014-12-17 Lg电子株式会社 Method and apparatus for accessing channel in wlan system
CN105210039A (en) * 2013-03-14 2015-12-30 三星电子株式会社 Terminal and method for synchronizing application thereof
CN105373207A (en) * 2014-08-20 2016-03-02 深圳飞音时代网络通讯技术有限公司 Standby method of wireless communication terminal
CN107426805A (en) * 2017-07-13 2017-12-01 北京千丁互联科技有限公司 Wireless node apparatus, data sending device, data transmission method for uplink and method of reseptance
CN109542350A (en) * 2018-11-20 2019-03-29 大连理工大学 A kind of SD card rapid access method based on time index
CN110139236A (en) * 2019-05-10 2019-08-16 西安因联信息科技有限公司 A kind of synchronous collection method based on wireless sensor network
CN212646778U (en) * 2020-02-26 2021-03-02 江苏林洋能源股份有限公司 Indoor display unit of split type intelligent electric energy meter
CN112654545A (en) * 2018-09-07 2021-04-13 图森有限公司 Backward sensing system for vehicle
WO2021096883A1 (en) * 2019-11-15 2021-05-20 Qualcomm Incorporated Methods and apparatus for adaptive display frame scheduling

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100303185A1 (en) * 2009-06-02 2010-12-02 Jacobus Cornelis Haartsen Methods of Operating Wireless Communications Devices Including Detecting Times of Receipt of Packets and Related Devices
US8749403B2 (en) * 2009-09-04 2014-06-10 Ips Group Inc. Parking meter communications for remote payment with updated display

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104221443A (en) * 2012-02-10 2014-12-17 Lg电子株式会社 Method and apparatus for accessing channel in wlan system
CN102638072A (en) * 2012-02-17 2012-08-15 深圳市富士达工业有限公司 Intelligent battery management method
CN105210039A (en) * 2013-03-14 2015-12-30 三星电子株式会社 Terminal and method for synchronizing application thereof
CN105373207A (en) * 2014-08-20 2016-03-02 深圳飞音时代网络通讯技术有限公司 Standby method of wireless communication terminal
CN107426805A (en) * 2017-07-13 2017-12-01 北京千丁互联科技有限公司 Wireless node apparatus, data sending device, data transmission method for uplink and method of reseptance
CN112654545A (en) * 2018-09-07 2021-04-13 图森有限公司 Backward sensing system for vehicle
CN109542350A (en) * 2018-11-20 2019-03-29 大连理工大学 A kind of SD card rapid access method based on time index
CN110139236A (en) * 2019-05-10 2019-08-16 西安因联信息科技有限公司 A kind of synchronous collection method based on wireless sensor network
WO2021096883A1 (en) * 2019-11-15 2021-05-20 Qualcomm Incorporated Methods and apparatus for adaptive display frame scheduling
CN212646778U (en) * 2020-02-26 2021-03-02 江苏林洋能源股份有限公司 Indoor display unit of split type intelligent electric energy meter

Also Published As

Publication number Publication date
CN114510204A (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN103096419B (en) A kind of terminal management method and access point and terminal
CN106648025A (en) Always on display method and terminal
CN202587236U (en) Power transmission line state monitoring low-power communication device based on dormancy awakening mechanism
WO2003009249B1 (en) Refrigerator having power outage duration feature
CN102568108A (en) Prepayment reminding method for intelligent electric meter based on remote charge control mode
CN104898409A (en) Method for reducing power consumption of smart watch and smart watch
CN110855013A (en) Intelligent constant display power monitoring device and control method thereof
CN111611755A (en) Intelligent mutual inductor and design method of low-power-consumption working mode thereof
CN108200554B (en) Narrow-band Internet of things instrument based on PSM and eDRX, communication method and system
CN114510204B (en) Indoor display unit data synchronization method
CN109769025A (en) The method that Internet of Things gas meter, flow meter and solution Internet of Things gas meter, flow meter concurrently report conflict
CN110356263B (en) Awakening structure and awakening method of electric logistics vehicle in charging scene
CN107064686A (en) A kind of abnormal power-down determination methods, apparatus and system
US20120120993A1 (en) Resynchronization Method for Recovering from Sleep Mode and Apparatuses Using the Same
CN104916102A (en) Intelligent gas meter wireless communication and control method
CN102368825A (en) Energy-saving control method of 3D glasses
CN109548121A (en) Communication means, device, access point apparatus and the site apparatus of WLAN
CN111726853A (en) Billboard, control system and control method
CN104916104A (en) Intelligent water meter wireless communication and control method
CN201345645Y (en) Main-control device and wireless terminal
CN210957918U (en) Intelligent constant display power monitoring device
CN204859450U (en) Regularly awaken up and dormancy circuit
CN109802480B (en) Device for entering dormant or factory mode
CN201846447U (en) Device capable of realizing standby and awakening state of set top box by utilizing single chip computer
CN107145062B (en) It is a kind of indoor from clock, indoor working method and indoor and outdoor principal and subordinate's clock satellite time service system from clock

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