CN111159060B - Meter control method and device - Google Patents
Meter control method and device Download PDFInfo
- Publication number
- CN111159060B CN111159060B CN201911423047.8A CN201911423047A CN111159060B CN 111159060 B CN111159060 B CN 111159060B CN 201911423047 A CN201911423047 A CN 201911423047A CN 111159060 B CN111159060 B CN 111159060B
- Authority
- CN
- China
- Prior art keywords
- meter
- command
- plant
- recovering
- clearing
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The invention provides a meter control method and a meter control device, which relate to the technical field of intelligent meters and comprise the following steps: firstly, acquiring a first selection operation of a user, and determining the performance of the meter based on the first selection operation; then judging whether the meter is in an out-of-plant mode or not based on the performance of the meter; after determining that the table is in the off-plant mode, acquiring a second selection operation of the user, and determining an operated object and a target operation based on the second selection operation; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list; finally, issuing an off-factory command to the meter; the off-plant command is a command for performing a target operation on an operated object. The method increases the richness of the total clear operation, and the operated object determined according to the second selection operation of the user has more pertinence.
Description
Technical Field
The invention relates to the technical field of intelligent meters, in particular to a meter control method and device.
Background
The prior art lacks a reasonable total clearing operation for the meter. On one hand, the traditional total clearing operation has single function; on the other hand, when the meter performs the conventional total clearing operation, all data stored in the meter are cleared together, and the designated data block cannot be cleared or the default value cannot be restored directly.
Disclosure of Invention
The invention aims to provide a meter control method and a meter control device, which increase the richness of total clear operation and lead an operated object to have more pertinence.
The invention provides a meter control method, which is applied to a client and comprises the following steps: acquiring a first selection operation of a user, and determining the performance of the meter based on the first selection operation; judging whether the meter is in an out-of-plant mode or not based on the performance of the meter; after determining that the meter is in the off-plant mode, acquiring a second selection operation of a user, and determining an operated object and a target operation based on the second selection operation; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list; issuing an off-site command to the meter; the out-of-plant command is a command for performing the target operation on the operated object.
Further, after determining whether the meter is in an off-plant mode based on the meter's own performance, the method further comprises: if the meter is in the in-plant mode, issuing an in-plant command to the meter; wherein the in-plant command is a command for performing a total clearing operation on all data stored in the meter, and the in-plant command includes: a total in-plant clearance command and an in-plant parameter initialization command.
The invention provides a meter control method, which is applied to a meter and comprises the following steps: receiving an off-plant command issued by a client; determining an operated object and a target operation in the meter based on the off-plant command; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list; settling accounts of the operated objects to obtain settlement information; wherein each settlement corresponds to an event; recording the event to obtain event information; executing the off-plant command to cause the meter to perform the target operation on the operated object; and after the out-of-factory command is executed, reporting the settlement information and the event information to a client.
The invention provides a meter control method, which is applied to a meter and comprises the following steps: and receiving an in-plant command issued by a client, wherein the in-plant command is a command for performing total clearing operation on all data stored by the meter, and the in-plant command comprises: a total in-plant clearance command and an in-plant parameter initialization command; and executing the in-plant command and uploading an execution result to the client.
The invention provides a meter control device, which is applied to a client and comprises: the first acquisition determining module is used for acquiring a first selection operation of a user and determining the performance of the meter based on the first selection operation; the judging module is used for judging whether the meter is in an out-of-plant mode or not based on the performance of the meter; a second acquisition determining module for acquiring a second selection operation of a user after determining that the meter is in an off-plant mode, and determining an operated object and a target operation based on the second selection operation; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list; the first issuing module is used for issuing an out-of-factory command to the meter; the out-of-plant command is a command for performing the target operation on the operated object.
Further, the apparatus further comprises: the second issuing module is used for issuing an in-plant command to the meter if the meter is in an in-plant mode; wherein the in-plant command is a command for performing a total clearing operation on all data stored in the meter, and the in-plant command includes: a total in-plant clearance command and an in-plant parameter initialization command.
The invention provides a meter control device, which is applied to a meter and comprises: the first receiving module is used for receiving the out-of-factory command issued by the client; a determining module for determining an operated object and a target operation in the meter based on the off-plant command; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list; the settlement module is used for settling the operated object to obtain settlement information; wherein each settlement corresponds to an event; the recording module is used for recording the event to obtain event information; the execution module is used for executing the out-of-factory command so that the meter can perform the target operation on the operated object; and the reporting module is used for reporting the settlement information and the event information to the client after executing the out-of-factory command.
The invention provides a meter control device, which is applied to a meter and comprises: the second receiving module is configured to receive an in-plant command issued by the client, where the in-plant command is a command for performing a total clearing operation on all data stored in the meter, and the in-plant command includes: a total in-plant clearance command and an in-plant parameter initialization command; and the execution uploading module is used for executing the in-factory command and uploading an execution result to the client.
The invention also provides electronic equipment, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor executes a meter control method realized by the computer program.
The present invention also provides a computer readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the meter control method.
The invention provides a meter control method and a meter control device, comprising the following steps: firstly, acquiring a first selection operation of a user, and determining the performance of the meter based on the first selection operation; then judging whether the meter is in an out-of-plant mode or not based on the performance of the meter; after determining that the table is in the off-plant mode, acquiring a second selection operation of the user, and determining an operated object and a target operation based on the second selection operation; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list; finally, issuing an off-factory command to the meter; the off-plant command is a command for performing a target operation on an operated object. The invention can determine the operated object and the target operation based on the second selection operation of the user, and the target operation is at least one option in the preset total clearing operation list, so the invention increases the richness of the total clearing operation. Because the operated object is any data block stored by the meter, the operated object with pertinence can be determined based on the second selection operation of the user, and the defects that the total clearing operation is single and only all data can be cleared or restored in the prior art are overcome.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a meter control method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another meter control method according to an embodiment of the present invention;
FIG. 3 is a flowchart of another meter control method according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for controlling a meter according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a meter control device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another gauge control device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another gauge control device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another gauge control device according to an embodiment of the present invention.
Icon:
11-a first acquisition determination module; 12, a judging module; 13-a second acquisition determination module; 14-a first issuing module; 15-a second issuing module; 16-a first receiving module; 17-a determination module; 18-a settlement module; 19-a recording module; 20-an execution module; 21-a reporting module; 22-a second receiving module; 23-execute upload module.
Detailed Description
The technical solutions of the present invention will be clearly and completely described in connection with the embodiments, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The prior art lacks a reasonable total clearing operation for the meter. On one hand, the traditional total clearing operation has single function; on the other hand, when the meter performs the conventional total clearing operation, all data stored in the meter are cleared together, and the designated data block cannot be cleared or the default value cannot be restored directly. In addition, in order to clear all data stored in the meter, the meter data can be cleared entirely only when the meter cover or lead seal is detached. Based on the method and the device, the richness of total clear operation can be increased, and the operated object has more pertinence.
For the sake of understanding the present embodiment, a detailed description will be given of a meter control method disclosed in the embodiment of the present invention.
Embodiment one:
referring to fig. 1, the meter control method provided by the present invention, which is applied to a client, may include the following steps:
step S101, a first selection operation of the user is acquired, and the performance of the meter itself is determined based on the first selection operation.
In an embodiment of the present invention, the client includes, but is not limited to: the host computer and the master station. Users include, but are not limited to: operators, administrators, and meter users. For an administrator, data processing may be performed on a plurality of different meters on a client. Therefore, in order to determine which meter to process, the client acquires a first selection operation by the user with the purpose of determining the target meter. There are two ways to determine the performance of the meter itself: one way is to query the meter's own capabilities in a preset database based on a first selection operation, and the other way is to communicate with the meter to receive the meter's own capabilities uploaded by the meter. It should be noted that the embodiment of the present invention is not limited to the specific content of the performance of the meter itself.
Step S102, judging whether the meter is in an out-of-plant mode or not based on the performance of the meter itself.
In the embodiment of the invention, different modes correspond to different total clearing operations. The meter can have two modes: an off-site mode and an in-site mode. The difference between them is that: the in-plant mode can perform total clearing operation on all data stored in the meter, and the total clearing operation in the in-plant mode is to clear or recover all data, so that the operation mode in the prior art is maintained; while the total clearing operation in the off-site mode has various choices, thus increasing the richness of the total clearing operation. In addition, in the off-site mode, the embodiment of the invention can select partial data to perform total clearing operation, and has certain pertinence.
Step S103, after determining that the form is the off-plant mode, a second selection operation of the user is acquired, and the operated object and the target operation are determined based on the second selection operation.
The operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total operation list.
The embodiment of the invention can realize the selection of the operated object needing to be cleared or restored to the default value in the off-plant mode through the step S103. After the selection is completed, a target operation is set. The target operation is at least one option in a preset total clearing operation list. Since the target operations may be different ways of total clearing operations, the different target operations diversify the total clearing operations. It should be noted that, in order to ensure the security of the data stored in the meter, the authority may be set for the user of the total clearing operation in the external factory mode, and the user with the authority may perform the total clearing operation in the external factory mode. The preset total clear operation list is shown in table 1:
table 1 preset total clearing list
Step S104, issuing an out-of-factory command to the meter; the off-plant command is a command for performing a target operation on an operated object.
In an embodiment of the invention, the client displays a command selection box, wherein the command selection box displays the off-site command and the in-site command. An off-plant order is selected in the order selection. The off-site command contains information such as an operated object and a target operation, wherein the off-site command can be issued to the meter through front-end control software execution on the client. Different operated objects or different target operations cause embodiments of the present invention to have a variety of different off-site commands. The front-end control software execution can send commands to the meter, and can also perform operations such as reading, setting and the like on the meter.
The meter control method provided by the embodiment of the invention comprises the following steps: firstly, acquiring a first selection operation of a user, and determining the performance of the meter based on the first selection operation; then judging whether the meter is in an out-of-plant mode or not based on the performance of the meter; after determining that the table is in the off-plant mode, acquiring a second selection operation of the user, and determining an operated object and a target operation based on the second selection operation; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list; finally, issuing an off-factory command to the meter; the off-plant command is a command for performing a target operation on an operated object. The embodiment of the invention can determine the operated object and the target operation based on the second selection operation of the user, and the target operation is at least one option in the preset total clearing operation list, so that the embodiment of the invention increases the richness of the total clearing operation. Because the operated object is any data block stored by the meter, the operated object with pertinence can be determined based on the second selection operation of the user, and the defects that the total clearing operation is single and only all data can be cleared or restored in the prior art are overcome.
Referring to fig. 2, after step S102, the method further includes:
step S105, if the form is in the in-plant mode, issuing an in-plant command to the form; wherein, the in-plant command is a command for performing total clearing operation on all data stored in the meter, and the in-plant command comprises: a total in-plant clearance command and an in-plant parameter initialization command.
The total purge operation in the in-plant mode is different from the total purge operation in the out-of-plant mode. The total clearing operation under the factory mode can refer to the total clearing operation of all data stored in the meter, and the operation mode of the prior art is maintained.
The embodiment of the invention has an in-plant mode and an out-plant mode, can perform total clearing operation on all data stored in the meter under the in-plant mode, maintains the operation mode of the prior art, and can select different total clearing operations under the out-plant mode, thereby increasing the richness of the total clearing operation. In addition, in the off-site mode, the embodiment of the invention can select partial data to perform total clearing operation, and has certain pertinence.
Embodiment two:
referring to fig. 3, another meter control method provided by the present invention, which is applied to a meter, may include the following steps:
in step S301, an off-factory command issued by the client is received.
Step S302, the operated object and the target operation in the meter are determined based on the off-plant command.
In the embodiment of the invention, the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list.
Step S303, settling accounts of the operated objects to obtain settlement information; wherein each settlement corresponds to an event.
In the embodiment of the invention, the meter may refer to an ammeter. After the meter receives the off-site command issued by the client, the off-site command is not executed immediately, but the settlement reservation is performed on the operated object which needs to be cleared or restored to default. The benefit of settlement is that the cleared data can be traced back later.
Step S304, recording the event to obtain event information.
This settlement process is recorded as an event, the event information including but not limited to: the time when settlement occurs, the content of the operated object.
In step S305, an off-plant command is executed to cause the meter to perform a target operation on the operated object.
Step S306, after the out-of-factory command is executed, the settlement information and the event information are reported to the client.
In the embodiment of the invention, after the out-of-factory command is executed, the calculation information and the event information are reported so as to ensure the timeliness of the total clearing operation and the data transmission. In addition, after the total clearing action is finished, MI can be displayed on a liquid crystal display screen of the meter to play a role in reminding, and the display time can be 30 minutes to remind a user that the operated object of the meter has performed the total clearing operation within half an hour. The embodiment of the invention does not limit the display time.
In order to ensure the integrity of other data (non-operated objects) of the ammeter, after the off-site total clearing command is issued, the operated objects are settled, then the time of the total clearing operation and the content of the total clearing operation are subjected to event recording, and meanwhile, a total clearing symbol is displayed on a liquid crystal display screen, and the operation is reported after the total clearing operation.
The total clearing operation of the electric meter diversification can improve the operability of the operated object in the off-site mode. The operator can clean and recover the data in a targeted way under the condition that the table cover is not dismounted outdoors, namely the richness of total cleaning operation is increased, the designated data can be cleaned or recovered to a default value in an out-of-factory mode, and meanwhile, the integrity of other data can be guaranteed.
Embodiment III:
referring to fig. 4, another meter control method provided by the present invention, which is applied to a meter, may include the following steps:
in step S401, an in-plant command issued by the client is received, where the in-plant command is a command for performing a total clearing operation on all data stored in the meter, and the in-plant command includes: a total in-plant clearance command and an in-plant parameter initialization command;
step S402, executing the in-plant command and uploading the execution result to the client.
If the current meter is in the factory mode, the in-factory command is selected in the command selection frame, the operated object is not required to be configured, the information such as target operation is not required to be configured, after the in-factory command is selected, the in-factory total clearing command and the in-factory parameter initialization command in the in-factory command are issued, so that all data stored in the meter are cleared, and all parameters of the meter are initialized.
The embodiment of the invention is different from the traditional total clearing operation in a single mode, and can be divided into two modes for carrying out the total clearing operation in different modes. In order to ensure production efficiency, the processing mode of the traditional total clearing operation on all data is reserved, namely, all data in the meter are cleared and parameters are initialized, so that the original state of the meter is conveniently and quickly restored in a workshop. In addition, the method is in an off-site mode, the object to be operated can be independently subjected to target operation, the function of the target operation is flexibly utilized, and an operator can conveniently and specifically operate the meter outdoors. The integrity and the safety of other data can be ensured to the greatest extent while the operated object is selected in a targeted manner. The embodiment of the invention can provide different choices of various total clearing operations in an off-plant mode, can also track the process of executing the total clearing operations in real time, record events, timely feed back the total clearing actions, and can ensure the timeliness of data transmission.
Embodiment four:
referring to fig. 5, another meter control device provided by the present invention is applied to a client, and includes the following modules:
a first acquisition determining module 11 for acquiring a first selection operation of a user and determining the performance of the meter itself based on the first selection operation;
a judging module 12, configured to judge whether the meter is in an off-plant mode based on the performance of the meter itself;
a second acquisition determination module 13 for acquiring a second selection operation of the user after determining that the form is in the off-plant mode, and determining the operated object and the target operation based on the second selection operation; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list;
a first issuing module 14 for issuing an off-factory command to the meter; the off-plant command is a command for performing a target operation on an operated object.
Further, referring to fig. 6, the apparatus further includes:
a second issuing module 15, configured to issue an in-plant command to the meter if the meter is in an in-plant mode; wherein, the in-plant command is a command for performing total clearing operation on all data stored in the meter, and the in-plant command comprises: a total in-plant clearance command and an in-plant parameter initialization command.
The meter control device provided by the embodiment of the invention comprises: firstly, a first obtaining and determining module 11 is utilized to obtain a first selection operation of a user, and the performance of the meter is determined based on the first selection operation; then, based on the performance of the meter itself, the judging module 12 judges whether the meter is in an off-plant mode; after determining that the form is the off-plant mode, acquiring a second selection operation of the user by the second acquisition determining module 13, and determining the operated object and the target operation based on the second selection operation; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list; finally, issuing an off-factory command to the meter by using the first issuing module 14; the off-plant command is a command for performing a target operation on an operated object. The embodiment of the invention can determine the operated object and the target operation based on the second selection operation of the user, and the target operation is at least one option in the preset total clearing operation list, so that the embodiment of the invention increases the richness of the total clearing operation. Because the operated object is any data block stored by the meter, the operated object with pertinence can be determined based on the second selection operation of the user, and the defects that the total clearing operation is single and only all data can be cleared or restored in the prior art are overcome.
Fifth embodiment:
referring to fig. 7, another meter control device provided by the present invention is applied to a meter, and includes the following modules:
a first receiving module 16, configured to receive an off-factory command issued by a client;
a determining module 17 for determining the operated object and the target operation in the meter based on the off-plant command; the operated object is any one data block stored in the meter, and the target operation is at least one option in a preset total clearing operation list;
a settlement module 18 for settling the operated object to obtain settlement information; wherein each settlement corresponds to an event;
a recording module 19, configured to record an event to obtain event information;
an execution module 20 for executing the off-plant command to cause the meter to perform a target operation on the operated object;
and the reporting module 21 is used for reporting the settlement information and the event information to the client after the out-of-factory command is executed.
In the embodiment of the invention, in order to ensure the integrity of other data (non-operated objects) of the ammeter, after the off-site total clearing command is issued, the operated objects are settled, then the time of the total clearing operation and the content of the total clearing operation are subjected to event recording, meanwhile, the total clearing symbol is displayed on a liquid crystal display screen, and the operation is reported after the total clearing operation. The reporting process can ensure the timeliness of the total clearing operation and the data transmission. The total clearing operation of the electric meter diversification can improve the operability of the operated object in the off-site mode. The operator can clean and recover the data in a targeted way under the condition that the table cover is not dismounted outdoors, namely the richness of total cleaning operation is increased, the designated data can be cleaned or recovered to a default value in an out-of-factory mode, and meanwhile, the integrity of other data can be guaranteed.
Example six:
referring to fig. 8, another meter control device provided by the present invention is applied to a meter, and includes the following modules:
the second receiving module 22 is configured to receive an in-factory command issued by the client, where the in-factory command is a command for performing a total clearing operation on all data stored in the meter, and the in-factory command includes: a total in-plant clearance command and an in-plant parameter initialization command;
the execution uploading module 23 is configured to execute the in-factory command and upload the execution result to the client.
The embodiment of the invention is different from the traditional total clearing operation in a single mode, and can be divided into two modes for carrying out the total clearing operation in different modes. In order to ensure production efficiency, the processing mode of the traditional total clearing operation on all data is reserved, namely, all data in the meter are cleared and parameters are initialized, so that the original state of the meter is conveniently and quickly restored in a workshop. In addition, the method is in an off-site mode, the object to be operated can be independently subjected to target operation, the function of the target operation is flexibly utilized, and an operator can conveniently and specifically operate the meter outdoors.
In yet another embodiment of the present invention, there is also provided an electronic device including a memory, a processor, where the memory stores a computer program executable on the processor, and where the processor implements the steps of the method described in the method embodiments above when the processor executes the computer program.
In yet another embodiment of the present invention, a computer readable medium having non-volatile program code executable by a processor is also provided, the program code causing the processor to perform the method of the method embodiment.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods, apparatus and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product of the meter control method provided by the embodiment of the present invention includes a computer readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the apparatus described above, which is not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "first," "second," and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.
Claims (6)
1. A meter control method, applied to a client, comprising:
acquiring a first selection operation of a user, and determining the performance of the meter based on the first selection operation;
judging whether the meter is in an out-of-plant mode or not based on the performance of the meter;
after determining that the meter is in the off-plant mode, acquiring a second selection operation of a user, and determining an operated object and a target operation based on the second selection operation; the operated object is any one data block stored in the meter, the target operation is at least one option in a preset total clearing operation list, the target operation has multiple choices, and the target operation is a total clearing operation aiming at different modes of partial data; the options of the preset total clearing operation list comprise clearing electric quantity, clearing electric quantity load curve, clearing maximum demand load curve, clearing end charging EOB load curve, clearing all event records, clearing all special holidays, recovering configuration file defaults, recovering calendar table defaults, recovering date/month calculation time defaults, recovering demand registers to clear and capture cycle defaults, recovering specified parameter defaults, recovering all threshold register data defaults, recovering key display and test display list defaults, recovering all communication parameter defaults and recovering all relay parameter defaults;
issuing an off-site command to the meter; wherein the off-plant command is a command to perform the target operation on the operated object;
wherein after determining whether the meter is in an off-plant mode based on the meter's own performance, the method further comprises:
if the meter is in the in-plant mode, issuing an in-plant command to the meter; wherein the in-plant command is a command for performing a total clearing operation on all data stored in the meter, and the in-plant command includes: a total in-plant clearance command and an in-plant parameter initialization command.
2. A meter control method, characterized by being applied to a meter, comprising:
receiving an off-plant command issued by a client;
determining an operated object and a target operation in the meter based on the off-plant command; the operated object is any one data block stored in the meter, the target operation is at least one option in a preset total clearing operation list, the target operation has multiple choices, and the target operation is a total clearing operation aiming at different modes of partial data; the options of the preset total clearing operation list comprise clearing electric quantity, clearing electric quantity load curve, clearing maximum demand load curve, clearing end charging EOB load curve, clearing all event records, clearing all special holidays, recovering configuration file defaults, recovering calendar table defaults, recovering date/month calculation time defaults, recovering demand registers to clear and capture cycle defaults, recovering specified parameter defaults, recovering all threshold register data defaults, recovering key display and test display list defaults, recovering all communication parameter defaults and recovering all relay parameter defaults;
settling accounts of the operated objects to obtain settlement information; wherein each settlement corresponds to an event;
recording the event to obtain event information;
executing the off-plant command to cause the meter to perform the target operation on the operated object;
after executing the off-factory command, reporting the settlement information and the event information to a client;
the meter control method further comprises the following steps:
and receiving an in-plant command issued by a client, wherein the in-plant command is a command for performing total clearing operation on all data stored by the meter, and the in-plant command comprises: a total in-plant clearance command and an in-plant parameter initialization command;
and executing the in-plant command and uploading an execution result to the client.
3. A meter control device, characterized by being applied to a client, comprising:
the first acquisition determining module is used for acquiring a first selection operation of a user and determining the performance of the meter based on the first selection operation;
the judging module is used for judging whether the meter is in an out-of-plant mode or not based on the performance of the meter;
a second acquisition determining module for acquiring a second selection operation of a user after determining that the meter is in an off-plant mode, and determining an operated object and a target operation based on the second selection operation; the operated object is any one data block stored in the meter, the target operation is at least one option in a preset total clearing operation list, the target operation has multiple choices, and the target operation is a total clearing operation aiming at different modes of partial data; the options of the preset total clearing operation list comprise clearing electric quantity, clearing electric quantity load curve, clearing maximum demand load curve, clearing end charging EOB load curve, clearing all event records, clearing all special holidays, recovering configuration file defaults, recovering calendar table defaults, recovering date/month calculation time defaults, recovering demand registers to clear and capture cycle defaults, recovering specified parameter defaults, recovering all threshold register data defaults, recovering key display and test display list defaults, recovering all communication parameter defaults and recovering all relay parameter defaults;
the first issuing module is used for issuing an out-of-factory command to the meter; wherein the off-plant command is a command to perform the target operation on the operated object;
the second issuing module is used for issuing an in-plant command to the meter if the meter is in an in-plant mode; wherein the in-plant command is a command for performing a total clearing operation on all data stored in the meter, and the in-plant command includes: a total in-plant clearance command and an in-plant parameter initialization command.
4. A meter control device, characterized by being applied to a meter, comprising:
the first receiving module is used for receiving the out-of-factory command issued by the client;
a determining module for determining an operated object and a target operation in the meter based on the off-plant command; the operated object is any one data block stored in the meter, the target operation is at least one option in a preset total clearing operation list, the target operation has multiple choices, and the target operation is a total clearing operation aiming at different modes of partial data; the options of the preset total clearing operation list comprise clearing electric quantity, clearing electric quantity load curve, clearing maximum demand load curve, clearing end charging EOB load curve, clearing all event records, clearing all special holidays, recovering configuration file defaults, recovering calendar table defaults, recovering date/month calculation time defaults, recovering demand registers to clear and capture cycle defaults, recovering specified parameter defaults, recovering all threshold register data defaults, recovering key display and test display list defaults, recovering all communication parameter defaults and recovering all relay parameter defaults;
the settlement module is used for settling the operated object to obtain settlement information; wherein each settlement corresponds to an event;
the recording module is used for recording the event to obtain event information;
the execution module is used for executing the out-of-factory command so that the meter can perform the target operation on the operated object;
the reporting module is used for reporting the settlement information and the event information to the client after executing the out-of-factory command;
the second receiving module is configured to receive an in-plant command issued by the client, where the in-plant command is a command for performing a total clearing operation on all data stored in the meter, and the in-plant command includes: a total in-plant clearance command and an in-plant parameter initialization command;
and the execution uploading module is used for executing the in-factory command and uploading an execution result to the client.
5. An electronic device comprising a memory, a processor, the memory having stored therein a computer program running on the processor, wherein the processor implements the method of any of claims 1-2 when executing the computer program.
6. A computer readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911423047.8A CN111159060B (en) | 2019-12-30 | 2019-12-30 | Meter control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911423047.8A CN111159060B (en) | 2019-12-30 | 2019-12-30 | Meter control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111159060A CN111159060A (en) | 2020-05-15 |
CN111159060B true CN111159060B (en) | 2023-10-24 |
Family
ID=70560576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911423047.8A Active CN111159060B (en) | 2019-12-30 | 2019-12-30 | Meter control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111159060B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101511040A (en) * | 2009-02-25 | 2009-08-19 | 福建捷联电子有限公司 | Method for automatically detecting display usage mode |
CN102903226A (en) * | 2012-10-18 | 2013-01-30 | 杭州海兴电力科技股份有限公司 | Data transmission method for communication of intelligent electric meters |
US9594107B1 (en) * | 2015-09-21 | 2017-03-14 | Advent Design Corporation | Electric meter and contact arcing detector, and arcing detector therefor |
CN108037478A (en) * | 2017-12-20 | 2018-05-15 | 宁波三星医疗电气股份有限公司 | A kind of meter production test method |
CN108120948A (en) * | 2017-12-18 | 2018-06-05 | 宁波三星医疗电气股份有限公司 | Electric energy meter operation method based on multi-operation mode |
CN109243162A (en) * | 2018-11-21 | 2019-01-18 | 杭州中自沣泰环境技术有限公司 | Meter register method, apparatus and system based on intelligence instrument |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6915314B2 (en) * | 2001-12-11 | 2005-07-05 | Adtech-Gesi, Llc | System for archiving and retrieving data from a database |
WO2006074092A1 (en) * | 2005-01-05 | 2006-07-13 | Rensselaer Polytechnic Institute | High precision voltage source for electrical impedance tomography |
-
2019
- 2019-12-30 CN CN201911423047.8A patent/CN111159060B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101511040A (en) * | 2009-02-25 | 2009-08-19 | 福建捷联电子有限公司 | Method for automatically detecting display usage mode |
CN102903226A (en) * | 2012-10-18 | 2013-01-30 | 杭州海兴电力科技股份有限公司 | Data transmission method for communication of intelligent electric meters |
US9594107B1 (en) * | 2015-09-21 | 2017-03-14 | Advent Design Corporation | Electric meter and contact arcing detector, and arcing detector therefor |
CN108120948A (en) * | 2017-12-18 | 2018-06-05 | 宁波三星医疗电气股份有限公司 | Electric energy meter operation method based on multi-operation mode |
CN108037478A (en) * | 2017-12-20 | 2018-05-15 | 宁波三星医疗电气股份有限公司 | A kind of meter production test method |
CN109243162A (en) * | 2018-11-21 | 2019-01-18 | 杭州中自沣泰环境技术有限公司 | Meter register method, apparatus and system based on intelligence instrument |
Non-Patent Citations (1)
Title |
---|
林女贵 ; 莫桑比 ; .智能电能表费控模式选择研究.闽江学院学报.2013,(第01期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN111159060A (en) | 2020-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102568522B (en) | The method of testing of hard disk performance and device | |
CN102479084A (en) | Method and device for obtaining log by Android terminal | |
CN101909189B (en) | File recovery method, system and DVR (Digital Video Recorder) | |
CN113487277B (en) | Digital employee management system based on robot flow automation | |
US8656224B2 (en) | Network fault management in busy periods | |
CN103905850A (en) | Installment payment method and installment payment television | |
CN112579455A (en) | Interface automatic testing method and device, electronic equipment and storage medium | |
CN105868047A (en) | Repairing method and device of data partition, and terminal | |
JP4350137B2 (en) | Terminal monitoring method, terminal monitoring apparatus, and terminal monitoring program | |
US11843526B2 (en) | Automatic automation recommendation | |
CN111159060B (en) | Meter control method and device | |
CN115391403A (en) | Data integration method and data integration device based on rule engine | |
CN112530615B (en) | Variable forcing method and system suitable for nuclear power station equipment | |
CN109506318A (en) | Fault alarm method and device | |
CN115392802A (en) | Method, system, medium, and apparatus for detecting defects of industrial products | |
WO2023221004A1 (en) | Test data processing method and apparatus, and electronic device and storage medium | |
CN112597261B (en) | High-precision map incremental data checking method and system, server and medium | |
CN112612645A (en) | Backup standard reaching rate determining method, equipment, storage medium and device | |
Kuznetsov et al. | Wireless Data Collection in Power System | |
JP2020181533A (en) | Data collection system and data collection method | |
CN110275801A (en) | Data recovery method, device, system, computer equipment and storage medium | |
CN116232957B (en) | Flow statistics method, device, system, equipment and medium | |
CN110502370A (en) | A kind of method of automatic cleaning backup object | |
CN114116290A (en) | Fault positioning method and device of storage system | |
CN117234804A (en) | Method, device, equipment and storage medium for backing up and cleaning database |
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 |