CN109086106B - Method for configuring Code area display object of electric energy meter - Google Patents

Method for configuring Code area display object of electric energy meter Download PDF

Info

Publication number
CN109086106B
CN109086106B CN201810634358.8A CN201810634358A CN109086106B CN 109086106 B CN109086106 B CN 109086106B CN 201810634358 A CN201810634358 A CN 201810634358A CN 109086106 B CN109086106 B CN 109086106B
Authority
CN
China
Prior art keywords
code area
electric energy
energy meter
display
type
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
CN201810634358.8A
Other languages
Chinese (zh)
Other versions
CN109086106A (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 CN201810634358.8A priority Critical patent/CN109086106B/en
Publication of CN109086106A publication Critical patent/CN109086106A/en
Application granted granted Critical
Publication of CN109086106B publication Critical patent/CN109086106B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method for configuring a Code area display object of an electric energy meter, which comprises the following steps: s1, starting, reading the original display object configured by the Code area default by the electric energy meter; s2, judging the number of the original display objects, if the number of the original display objects is larger than 0, entering the next step, and if the number of the original display objects is equal to 0, returning to S1; s3, displaying the read original display object in the Code area; s4, reading the original data type corresponding to the original display object; s5, judging whether the original data type needs to be reconfigured, if not, entering S7, and if so, entering the next step; s6, configuring the original data type in the electric energy meter by using the upper computer, and comprising the following steps: s7, displaying data in the main data area; and S8, ending. The method can directly configure the Code area display object, and is simple and efficient.

Description

Method for configuring Code area display object of electric energy meter
Technical Field
The invention relates to the technical field of data configuration of electric energy meters, in particular to a method for configuring a Code area display object of an electric energy meter.
Background
With the improvement of the electric energy meter technology, the requirement for man-machine interaction is higher and higher, a data display area of the electric energy meter comprises a main data area and a Code area, the main data area is used for displaying the degree, the Code area is used for displaying objects such as voltage, current and user-defined special characters, the Code area of the existing electric energy meter adopts a display fixed object, and therefore when the Code area display objects required by different customers are different from the initial setting of the electric energy meter, the Code area display objects need to be reconfigured. As shown in fig. 1, the conventional configuration method is to directly re-fire the software source codes corresponding to different customer requirements in the electric energy meter, so that the configuration method is complicated, the workload is large, the efficiency is low, and the universality of the electric energy meter is poor.
Disclosure of Invention
The invention provides a method for configuring a Code area display object of an electric energy meter, which can directly configure the Code area display object and has simple and efficient configuration method.
The technical scheme adopted by the invention is that the method for configuring the Code area display object of the electric energy meter comprises the following steps: s1, starting, the electric energy meter reads the original display object of the default configuration of the Code area,
s2, judging the number of the original display objects, if the number of the original display objects is larger than 0, entering the next step, and if the number of the original display objects is equal to 0, returning to S1;
s3, displaying the read original display object in the Code area;
s4, reading the original data type corresponding to the original display object;
s5, judging whether the original data type needs to be reconfigured, if not, entering S7, and if so, entering the next step;
s6, configuring the original data type in the electric energy meter by using the upper computer, and comprising the following steps:
the method comprises the following steps that firstly, a client requirement is led into an electrically erasable memory in an electric energy meter by using an upper computer, the client requirement is a new data type, and the new data type is different from an original data type;
secondly, reading the ID corresponding to the new display object from the electrically erasable memory;
reading the corresponding new display objects in the electrically erasable memory according to the ID to obtain new display objects, wherein each new display object needs to be correspondingly displayed at a Code area display position;
step four, judging whether the number of the display positions of the Code area is larger than N, wherein N is the number corresponding to the new display object, if so, assigning the display positions of the Code area to be 1 and then entering the step five, and if not, directly entering the step five;
fifthly, judging which type of the data types preset in the electric energy meter the new data type belongs to, wherein the data types preset in the electric energy meter at least comprise two types;
assigning values to Code area display positions according to the data types obtained by screening in the fourth step, and storing new display objects obtained by deleting in the fourth step in a temporary register;
seventhly, adding 1 to the display position of the Code area;
eighthly, judging whether the display position of the Code area is larger than N, if so, entering the ninth step, and if not, returning to the fifth step;
the ninth step, write the new display object stored in the temporary register into the display drive memory,
tenth, the display driving memory drives the Code area on the LCD to display a new display object;
step ten, finishing the configuration of the new data type of the Code area;
s7, displaying data in the main data area;
and S8, ending.
After the technical scheme is adopted, compared with the prior art, the invention has the following advantages:
do benefit to the host computer and directly dispose the electric energy meter for the electric energy meter can be applicable to multiple different data types, shows different display object and satisfies different customers' demand in the Code district, improves the commonality of electric energy meter, reduces the manufacturing cost of electric energy meter.
As an improvement, the N is 6, and generally 6 bits can be used for displaying objects in a Code area, because excessive display positions do not need to be set.
As an improvement, the preset data types in the electric energy meter comprise a digital type of 0-9 and an alpha-z letter type, and the data types are simple and convenient to read.
As an improvement, the preset data types in the electric energy meter comprise a 0-9 digital type and a self-defined character type, the 0-9 digital type meets the general display requirements of customers, the self-defined character can be suitable for the display requirements of the customers, and the applicability of the electric energy meter is improved.
As an improvement, the preset data types in the electric energy meter comprise an a-z letter type and a user-defined character type, the a-z letter type is set simply, the user-defined character can be suitable for the display requirements of customers, and the applicability of the electric energy meter is improved.
As an improvement, the preset data types in the electric energy meter comprise three types, namely a digital type of 0-9, an alpha-z letter type and a self-defined character type, so that the applicability of the electric energy meter is further improved.
As an improvement, the new display objects are arranged in a Code area in a row form, so that the new display objects are convenient to read.
As an improvement, the new display objects are arranged in a Code area in a multi-row mode, and the display space of the Code area can be effectively utilized.
Drawings
FIG. 1 is a flow chart of a conventional Code change process
FIG. 2 is a flowchart of a Code change process in the present invention
Detailed Description
A method for configuring a Code area display object of an electric energy meter comprises the following steps:
s1, starting, the electric energy meter automatically reads the original display object of the default configuration of the Code area,
s2, judging the number of the read original display objects, if the number of the original display objects is larger than 0, reading the display objects, entering the next step, if the number of the original display objects is equal to 0, indicating that any display object is not read, and returning to S1 for re-reading;
s3, displaying the read original display object in the Code area;
s4, reading the original data type corresponding to the original display object, wherein different display objects are displayed by different data types;
s5, judging whether the original data type needs to be reconfigured, namely judging whether the original data type is consistent with the customer requirements, if not, directly entering S7, and if so, indicating that the data type required by the customer is not matched with the original data type in the electric energy meter, entering the next step;
s6, configuring the original data type in the electric energy meter by using the upper computer to change the original data type into a new data type required by a customer, wherein the configuration method comprises the following steps:
the method comprises the following steps that firstly, a client requirement is led into an electrically erasable memory in an electric energy meter by using an upper computer, the client requirement is of a new data type, and the new data type is different from an original data type;
secondly, reading the ID corresponding to the new display object from the electrically erasable memory;
reading the corresponding new display objects in the electrically erasable memory according to the ID to obtain new display objects, wherein each new display object needs to be correspondingly displayed at a Code area display position;
fourthly, judging whether the number of the display positions of the Code area is larger than N, wherein N is the number corresponding to the new display object, when N is 6, if the number of the display positions is larger than 6, assigning the display positions of the Code area to be 1, and then entering the fifth step, and if the number of the display positions is smaller than 6, directly entering the fifth step;
fifthly, judging which type of the data types preset in the electric energy meter the new data type belongs to, wherein the data types preset in the electric energy meter at least comprise two types; e.g., 0-9 in the numerical form and a-z in the alphabetical form; 0-9 digital type and self-defined character type; the letter type of a-z and the self-defined character type are two types, or the number type of 0-9, the letter type of a-z and the self-defined character type are three types;
assigning values to Code area display positions according to the data types obtained by screening in the fourth step, storing new display objects obtained by deleting in the fourth step in a temporary register, and preparing for the display of a final LCD;
seventhly, adding 1 to the display position of the Code area for placing the next display object;
eighthly, judging whether the display position of the Code area is larger than N, if so, indicating that the display position is full, entering the ninth step, and if not, indicating that the display position is not full, needing to confirm the next display object, and returning to the fifth step;
the ninth step, write the new display object stored in the temporary register into the display drive memory,
tenth, the display driving memory drives the Code area on the LCD to display a new display object; the new display objects can be sequentially arranged into a row to be displayed in the Code area, and can also be arranged in the Code area in a multi-row mode;
step ten, finishing the configuration of the new data type of the Code area;
s7, displaying data in a main data area on the electric energy meter; at the moment, the contents of the main data area and the Code area represented by the electric energy are displayed, and a user can directly read required information;
and S8, ending.
The method for configuring the Code area display object is simple, the data type of the Code area of the electric energy meter can be configured only by using the upper computer without burning a program into the electric energy meter again, the configuration method is simple and effective, the universality and the applicability of the electric energy meter are improved, even a user-defined character type can be set according to the requirements of customers, the Code area display object is more exclusive, and meanwhile, the production cost of the electric energy meter is reduced.
The above examples are only for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that various changes and modifications can be made in the technical solutions described in the foregoing embodiments, or equivalent technical features of various portions thereof, without departing from the scope of the embodiments of the present invention.

Claims (8)

1. A method for configuring a Code area display object of an electric energy meter is characterized by comprising the following steps: s1, starting, reading the original display object configured by the Code area default by the electric energy meter;
s2, judging the number of the original display objects, if the number of the original display objects is larger than 0, entering the next step, and if the number of the original display objects is equal to 0, returning to S1;
s3, displaying the read original display object in the Code area;
s4, reading the original data type corresponding to the original display object;
s5, judging whether the original data type needs to be reconfigured, if not, entering S7, and if so, entering the next step;
s6, configuring the original data type in the electric energy meter by using the upper computer, and comprising the following steps:
the method comprises the following steps that firstly, a client requirement is led into an electrically erasable memory in an electric energy meter by using an upper computer, the client requirement is a new data type, and the new data type is different from an original data type;
secondly, reading the ID corresponding to the new display object from the electrically erasable memory;
reading the corresponding new display objects in the electrically erasable memory according to the ID to obtain new display objects, wherein each new display object needs to be correspondingly displayed at a Code area display position;
step four, judging whether the number of the display positions of the Code area is larger than N, wherein N is the number corresponding to the new display object, if so, assigning the display positions of the Code area to be 1 and then entering the step five, and if not, directly entering the step five;
fifthly, judging which type of the data types preset in the electric energy meter the new data type belongs to, wherein the data types preset in the electric energy meter at least comprise two types;
assigning values to Code area display positions according to the data types obtained by screening in the fourth step, and storing new display objects obtained by deleting in the fourth step in a temporary register;
seventhly, adding 1 to the display position of the Code area;
eighthly, judging whether the display position of the Code area is larger than N, if so, entering the ninth step, and if not, returning to the fifth step;
the ninth step, write the new display object stored in the temporary register into the display drive memory,
tenth, the display driving memory drives the Code area on the LCD to display a new display object;
step ten, finishing the configuration of the new data type of the Code area;
s7, displaying data in the main data area;
and S8, ending.
2. The method as claimed in claim 1, wherein N is 6.
3. The method as claimed in claim 1, wherein the preset data types in the electric energy meter include 0-9 digital type and a-z letter type.
4. The method as claimed in claim 1, wherein the preset data types in the electric energy meter include two types, a numeric type from 0 to 9 and a custom special character type.
5. The method as claimed in claim 1, wherein the preset data types in the electric energy meter include a-z letter type and custom special character type.
6. The method as claimed in claim 1, wherein the preset data types in the electric energy meter include 0-9 numeric type, a-z letter type, and custom character type.
7. The method as claimed in claim 1, wherein the new display objects are arranged in a row in the Code area.
8. The method as claimed in claim 1, wherein the new display objects are arranged in a plurality of rows in the Code area.
CN201810634358.8A 2018-06-20 2018-06-20 Method for configuring Code area display object of electric energy meter Active CN109086106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810634358.8A CN109086106B (en) 2018-06-20 2018-06-20 Method for configuring Code area display object of electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810634358.8A CN109086106B (en) 2018-06-20 2018-06-20 Method for configuring Code area display object of electric energy meter

Publications (2)

Publication Number Publication Date
CN109086106A CN109086106A (en) 2018-12-25
CN109086106B true CN109086106B (en) 2021-07-06

Family

ID=64840075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810634358.8A Active CN109086106B (en) 2018-06-20 2018-06-20 Method for configuring Code area display object of electric energy meter

Country Status (1)

Country Link
CN (1) CN109086106B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995033210A1 (en) * 1994-05-26 1995-12-07 Min Li Electrical energy meter
AU736045B2 (en) * 1996-10-22 2001-07-26 Abb Inc. Energy meter with power quality monitoring and diagnostic systems
CN102928812B (en) * 2012-11-22 2015-08-19 深圳市航天泰瑞捷电子有限公司 The calibration steps of electric energy meter and device
CN105763376B (en) * 2016-04-07 2018-09-14 威胜集团有限公司 Parameter setting and detection method for electric energy meter batch production
CN105930193B (en) * 2016-05-05 2019-04-16 国网重庆市电力公司电力科学研究院 A kind of electric energy meter software online upgrading method and system based on operating system
CN205826718U (en) * 2016-06-30 2016-12-21 国网河南省电力公司南阳供电公司 A kind of electricity meter box intelligent management system
CN107682227B (en) * 2017-10-19 2021-05-28 广东电网有限责任公司汕尾供电局 Ammeter detection configuration method

Also Published As

Publication number Publication date
CN109086106A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
CN100461155C (en) Method and system for inputting and displaying character
CN106598379A (en) Method and device for managing application program
CN109086106B (en) Method for configuring Code area display object of electric energy meter
CN105242895A (en) Dot matrix text display method and apparatus
CN104572994A (en) Method and device for searching data
CN101441550B (en) Character input recognition method of multiple area, system and mobile terminal thereof
US8049754B2 (en) Multiple source waveform drawing system and method
CN105739932B (en) Method and device for displaying data on terminal screen
RU2014106227A (en) EASY TWO-DIMENSIONAL VIDEO DATABASE NAVIGATION
CN103761307A (en) Data processing device and data processing method
CN101303850A (en) Method for implementing screen refresh and system thereof
CN104881414A (en) Data displaying method and system
CN114330444A (en) Circuit load identification method and device
CN103729634A (en) Character recognition apparatus and character recognition method
CN102902534A (en) Transparent OSD (Optical Scanning Device) software realization method
CN103649986A (en) Ensuring variety in a feed
US9507846B2 (en) Factorization of scenarios
CN105551450A (en) Display driving method and device for segment type liquid crystal display screen
CN107844577A (en) A kind of method that lifting GIS pels draw efficiency
CN103514346A (en) Method for generating test report in computer system and computer system
CN110413604B (en) Method and system for optimizing name ordering of phonebook on SIM card and SIM card
CN103425627A (en) Method for generating stroke and method for generating font
CN112242118B (en) Information scrolling display method, device and system
US8849866B2 (en) Method and computer program product for creating ordered data structure
CN103425059B (en) The method of setting panel parameter and relevant control chip

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