CN109035592B - Charging test method and device - Google Patents

Charging test method and device Download PDF

Info

Publication number
CN109035592B
CN109035592B CN201810767268.6A CN201810767268A CN109035592B CN 109035592 B CN109035592 B CN 109035592B CN 201810767268 A CN201810767268 A CN 201810767268A CN 109035592 B CN109035592 B CN 109035592B
Authority
CN
China
Prior art keywords
charging
information
equipment
different states
running
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
CN201810767268.6A
Other languages
Chinese (zh)
Other versions
CN109035592A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810767268.6A priority Critical patent/CN109035592B/en
Publication of CN109035592A publication Critical patent/CN109035592A/en
Application granted granted Critical
Publication of CN109035592B publication Critical patent/CN109035592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/12Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity in which metering is on a time basis

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a charging test method and a device, wherein the method comprises the following steps: monitoring the running condition of the charging equipment, and calculating to obtain first charging information of the charging equipment according to a monitoring result; acquiring second charging information of the charging equipment calculated by the tested equipment; and comparing the first charging information with the second charging information to obtain a test result. According to the technical scheme, the running condition of the charging equipment is monitored, the first charging information of the charging equipment is obtained through calculation according to the monitoring result, the first calculation result is compared with the second charging information of the charging equipment obtained through calculation of the tested equipment, so that the test result is obtained, the automatic test of the charging information is realized, the running information of the charging equipment does not need to be recorded in a complicated mode, the complex charging logic formula is substituted, the labor input is low, and the user experience degree is high.

Description

Charging test method and device
Technical Field
The invention relates to the technical field of charging, in particular to a charging test method and a device.
Background
With the increasing living standard of people, the central air conditioner is generally used, and the traditional charging mode of the central air conditioner has great defects, is not beneficial to energy conservation and consumption reduction, and is not beneficial to environmental protection and long-term development of society, so that the household-based volume-based charging system of the central air conditioner is suitable for operation.
At present, the number of networks related to individual charging of central air conditioners is large, the number of air conditioner devices is large, state parameters are changeable, the complexity of charging logic is high, the accuracy difficulty of manual checking of charging apportionment is large, and the efficiency is low.
Disclosure of Invention
In order to overcome the problems in the related art at least to a certain extent, the invention provides a charging test method and a device.
According to a first aspect of the embodiments of the present invention, a charging test method is provided, including:
monitoring the running condition of the charging equipment, and calculating to obtain first charging information of the charging equipment according to a monitoring result;
acquiring second charging information of the charging equipment calculated by the tested equipment;
and comparing the first charging information with the second charging information to obtain a test result.
Preferably, the monitoring the operation condition of the charging device includes:
controlling the operation of the charging equipment, monitoring the operation condition of the charging equipment, or,
and controlling the tested device to be in a preset condition, and monitoring the running condition of the charging device when the tested device is in the preset condition.
Preferably, the controlling the charging device operates, including:
acquiring a pre-configured operation parameter of the charging equipment;
and controlling the charging equipment to operate according to the operation parameters.
Preferably, the predetermined conditions include: the abnormal condition of power failure and/or power up, the control tested device is in the predetermined condition, including:
and the power-off and/or power-on of the tested device is controlled by the relay.
Preferably, the operating parameters include: the operation parameters of the charging equipment under at least one working condition, and the control of the charging equipment to operate according to the operation parameters comprise:
and respectively controlling the charging equipment according to the operating parameters under each working condition so that the charging equipment operates under the corresponding working condition according to the operating parameters under each working condition.
Preferably, the monitoring result includes: the operation information of the charging device in different states, where the first charging information of the charging device is obtained by calculation according to the monitoring result, includes:
calculating to obtain charging information corresponding to different states according to the running information in different states;
and acquiring total fee information, and calculating to obtain first charging information of the charging equipment according to the total fee information and the charging information corresponding to different states.
Preferably, the operation information in different states includes: calculating the running time in different states according to the running information in different states to obtain the charging information corresponding to different states, including:
acquiring pre-configured equipment information of the charging equipment;
and calculating to obtain charging information corresponding to different states according to the running time in different states and the pre-configured equipment information.
Preferably, when the charging device is an electricity-using device, the total charge information is a total electricity consumption amount, and the obtaining the total charge information includes:
and monitoring the communication network of the electric meter to obtain the total power consumption.
Preferably, the charging information corresponding to the different states includes:
operation proportion; standby ratio; standby electric quantity; and operating the electric quantity.
Preferably, the comparing the first charging information and the second charging information to obtain a test result includes:
and if the error between the first charging information and the second charging information is smaller than or equal to a preset value, determining that the charging is reasonable, otherwise, determining that the charging is unreasonable.
According to a second aspect of embodiments of the present invention, there is provided a test apparatus, comprising:
the monitoring module is used for monitoring the running condition of the charging equipment and calculating to obtain first charging information of the charging equipment according to a monitoring result;
the acquisition module is used for acquiring second charging information of the charging equipment calculated by the tested equipment;
and the comparison module is used for comparing the first charging information with the second charging information to obtain a test result.
According to a third aspect of embodiments of the present invention, there is provided a test apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring the running condition of the charging equipment, and calculating to obtain first charging information of the charging equipment according to a monitoring result;
acquiring second charging information of the charging equipment calculated by the tested equipment;
and comparing the first charging information with the second charging information to obtain a test result.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
the running condition of the charging equipment is monitored, first charging information of the charging equipment is obtained through calculation according to the monitoring result, the first calculation result is compared with second charging information of the charging equipment, which is obtained through calculation of the tested equipment, so that a test result is obtained, automatic testing of the charging information is achieved, the running information of the charging equipment does not need to be recorded in a complicated mode, a complicated charging logic formula is substituted, labor investment is low, and user experience is high.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method of billing testing in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of billing testing in accordance with another exemplary embodiment;
FIG. 3 is a flow diagram illustrating a method of billing testing in accordance with another exemplary embodiment;
fig. 4 is a schematic block diagram illustrating a billing test equipment according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method of billing testing according to an exemplary embodiment, referring to fig. 1, the method including:
step S11, monitoring the running condition of the charging equipment, and calculating to obtain first charging information of the charging equipment according to the monitoring result;
step S12, obtaining second charging information of the charging equipment calculated by the tested equipment;
and step S13, comparing the first charging information with the second charging information to obtain a test result.
Preferably, the obtaining of the second charging information of the charging device calculated by the device under test includes, but is not limited to: and receiving second charging information sent by the tested device, or reading the second charging information of the tested device which is locally stored in an FTP (File Transfer Protocol) mode.
It is understood that the billing device refers to a device that needs to be billed, such as an electric device, a water device, and a gas device; the device to be tested is a device for charging a charging device, such as a charging gateway.
The charging test method provided by the embodiment is substantially to compare the difference between the cost calculated by the test software and the cost calculated by the tested device so as to verify whether the cost calculated by the tested device is reasonable. The charging test method provided by the embodiment is suitable for control systems of various charging devices, and the charging devices include but are not limited to: electric equipment, water equipment, gas equipment and the like.
According to the technical scheme provided by the embodiment, the running condition of the charging equipment is monitored, the first charging information of the charging equipment is obtained through calculation according to the monitoring result, the first calculation result is compared with the second charging information of the charging equipment obtained through calculation of the tested equipment, so that the test result is obtained, the automatic test of the charging information is realized, the running information of the charging equipment does not need to be recorded in a complicated mode, a complicated charging logic formula is substituted, the labor input is low, and the user experience is high.
Preferably, the monitoring the operation condition of the charging device includes:
controlling the operation of the charging equipment, monitoring the operation condition of the charging equipment, or,
and controlling the tested device to be in a preset condition, and monitoring the running condition of the charging device when the tested device is in the preset condition.
It can be understood that, with the charging test method provided in this embodiment, by controlling the operation of the charging device and by controlling the device under test to be in the predetermined condition, the operation condition of the charging device under different working conditions of the charging device and under different working conditions of the device under test can be obtained, and according to the operation condition, the first charging information can be obtained through calculation. The technical scheme provided by the embodiment can comprehensively test whether the tested equipment is reasonable in charging, the test cases are sufficient, the accuracy of the test result is high, and the user experience is good.
Preferably, the controlling the charging device operates, including:
acquiring a pre-configured operation parameter of the charging equipment;
and controlling the charging equipment to operate according to the operation parameters.
Preferably, the operating parameters include: the operation parameters of the charging equipment under at least one working condition, and the control of the charging equipment to operate according to the operation parameters comprise:
and respectively controlling the charging equipment according to the operating parameters under each working condition so that the charging equipment operates under the corresponding working condition according to the operating parameters under each working condition.
It can be understood that, the obtaining of the preconfigured operation parameters of the charging device, for example, the operation condition design case table of the charging device is imported in an Excel table manner, and the operation parameters of the charging device are recorded on the operation condition design case table, so that the tool automatically controls the operation of the charging device according to the operation parameters on the operation condition design case table, and checks the charging condition of the charging device under various operating conditions. The method is simple, easy to implement, convenient, quick, easy to maintain and high in user experience.
Preferably, the predetermined conditions include: the abnormal condition of power failure and/or power up, the control tested device is in the predetermined condition, including:
and the power-off and/or power-on of the tested device is controlled by the relay.
It can be understood that the power-off and power-on use case table of the tested device can be designed, and the tool can automatically control the tested device to be in a preset condition according to the power-off and power-on use case table.
For example, the power-off and power-on use case table can be designed to include the following six cases:
1) the tested equipment is powered off at the moment of starting charging, and is powered on midway in the charging period;
2) the tested device is powered off and on between the charging starting time and the charging ending time;
3) the tested equipment is powered off at the charging starting time and the charging ending time, and is powered on midway in the charging period;
4) the tested equipment is powered off in the middle of the charging period and is not powered on until the charging is finished;
5) the tested equipment is powered off for many times in the charging period;
6) the device under test is powered off for the entire billing period.
It can be understood that the device under test is controlled to be in a predetermined condition, which is the condition of checking the processing condition of the device under test for a special condition. For example, after the device under test is powered off, the operation condition of the charging device cannot be detected, and then how to charge the device under test. It can be understood that the method provided by the embodiment can automatically operate the power-off of the tested device, and check the charging accuracy of the tested device under an emergency, and has sufficient test cases, high accuracy and good user experience.
Preferably, the monitoring result includes: the operation information of the charging device in different states, where the first charging information of the charging device is obtained by calculation according to the monitoring result, includes:
calculating to obtain charging information corresponding to different states according to the running information in different states;
and acquiring total fee information, and calculating to obtain first charging information of the charging equipment according to the total fee information and the charging information corresponding to different states.
It should be noted that the charging information corresponding to the different states includes: charging information corresponding to the charging equipment in the running state and charging information corresponding to the charging equipment in the standby state. For example, if there is total charge information and the corresponding charging information in the standby state, the charging information corresponding to the operating state is the total charge information — the charging information corresponding to the standby state.
Preferably, when the charging device is an electricity-using device, the total charge information is a total electricity consumption amount, and the obtaining the total charge information includes:
and monitoring the communication network of the electric meter to obtain the total power consumption.
Through monitoring the ammeter communication network, the reading of the ammeter is automatically read, the total electricity consumption of each charging period is automatically recorded, and the first charging information is conveniently obtained.
Preferably, the operation information in different states includes: calculating the running time in different states according to the running information in different states to obtain the charging information corresponding to different states, including:
acquiring pre-configured equipment information of the charging equipment;
and calculating to obtain charging information corresponding to different states according to the running time in different states and the pre-configured equipment information.
It should be noted that the device information of the preconfigured charging device includes, but is not limited to: ammeter information, rated operation information of the charging equipment, charging time period and the like. The electricity meter information includes: the position and number of the ammeter; the rated operation information of the billing device includes but is not limited to: the rated power, the rated capacity, etc. of the billing device. The charging time interval is preset according to the user requirement.
The device information of the pre-configured charging device can be read from the local in an FTP mode.
The running time is a basis for obtaining the first charging information, and the running time can be determined according to the following steps:
acquiring a pre-configured charging time interval;
dividing the charging period into a plurality of continuous sub-periods;
and accumulating the running time of the charging equipment in the continuous sub-periods to obtain the running time of the charging equipment in the charging period.
The charging period refers to the time when the user sets the charging to start and the time when the user sets the charging to end. If the user does not set the charging start time of the day is generally set as 0 point by default, and the charging end time is set as 24: 00.
The sub-period may be set to 10 seconds. The method for testing the charging provided by the embodiment detects the running state of the charging device by one time of 10 seconds, and records that the charging device is in the shutdown state within 10 seconds if the running state of the charging device is changed from shutdown to startup within 10 seconds, so as to reduce the calculation error.
Preferably, the charging information corresponding to the different states includes:
operation proportion; standby ratio; standby electric quantity; and operating the electric quantity.
Taking the charging device as an air conditioner as an example, the charging information corresponding to the different states is calculated according to the following formula:
the operation proportion of each air conditioner is the sum of the operation time of each air conditioner and the operation power of all the air conditioners;
the standby proportion of each air conditioner (rated capacity of a single air conditioner/rated capacity of all air conditioners) is the running time of an air conditioner external unit compressor and the rated power of the running of the compressor;
the standby electric quantity is the running time of the compressor of the air conditioner external unit and the rated power of the running of the compressor;
the operation electric quantity is the total electric consumption quantity-standby electric quantity.
It can be understood that, with the standby electric quantity and the operating electric quantity, the first charging information, that is, the charging information corresponding to the standby state and the charging information corresponding to the operating state, can be easily obtained according to the operating proportion, the standby proportion and the electric charge sharing rule.
Preferably, the comparing the first charging information and the second charging information to obtain a test result includes:
and if the error between the first charging information and the second charging information is smaller than or equal to a preset value, determining that the charging is reasonable, otherwise, determining that the charging is unreasonable.
It can be understood that the preset value can be set according to an empirical value or a user requirement, for example: and setting the error to be less than or equal to 5%, and outputting an analysis report if the error is less than or equal to 5% and the charging is reasonable, otherwise, the charging is unreasonable. The charging test method provided by the embodiment can realize automatic calculation of the first cost and automatic reading of the second cost, compares the first cost with the second cost, outputs the test result, enables the test result to be visual, enables a user to know the test result in time, does not need manual calculation, and is high in user experience.
Fig. 2 is a flowchart illustrating a method of billing testing according to another exemplary embodiment, referring to fig. 2, the method including:
and step S21, controlling the operation of the charging equipment and monitoring the operation condition of the charging equipment.
Preferably, the controlling the charging device operates, including:
acquiring a pre-configured operation parameter of the charging equipment;
and controlling the charging equipment to operate according to the operation parameters.
Preferably, the operating parameters include: the operation parameters of the charging equipment under at least one working condition, and the control of the charging equipment to operate according to the operation parameters comprise:
and respectively controlling the charging equipment according to the operating parameters under each working condition so that the charging equipment operates under the corresponding working condition according to the operating parameters under each working condition.
And step S22, controlling the tested device to be in a preset condition, and monitoring the running condition of the billing device when the tested device is in the preset condition.
Preferably, the predetermined conditions include: the abnormal condition of power failure and/or power up, the control tested device is in the predetermined condition, including:
and the power-off and/or power-on of the tested device is controlled by the relay.
And step S23, calculating first charging information of the charging equipment according to the monitoring result.
Preferably, the monitoring result includes: the operation information of the charging device in different states, where the first charging information of the charging device is obtained by calculation according to the monitoring result, includes:
calculating to obtain charging information corresponding to different states according to the running information in different states;
and acquiring total fee information, and calculating to obtain first charging information of the charging equipment according to the total fee information and the charging information corresponding to different states.
Preferably, the operation information in different states includes: calculating the running time in different states according to the running information in different states to obtain the charging information corresponding to different states, including:
acquiring pre-configured equipment information of the charging equipment;
and calculating to obtain charging information corresponding to different states according to the running time in different states and the pre-configured equipment information.
Preferably, when the charging device is an electricity-using device, the total charge information is a total electricity consumption amount, and the obtaining the total charge information includes:
and monitoring the communication network of the electric meter to obtain the total power consumption.
Preferably, the charging information corresponding to the different states includes:
operation proportion; standby ratio; standby electric quantity; and operating the electric quantity.
And step S24, acquiring second charging information of the charging equipment calculated by the tested equipment.
And step S25, comparing the first charging information with the second charging information to obtain a test result.
Preferably, the comparing the first charging information and the second charging information to obtain a test result includes:
and if the error between the first charging information and the second charging information is smaller than or equal to a preset value, determining that the charging is reasonable, otherwise, determining that the charging is unreasonable.
According to the technical scheme provided by the embodiment, the running condition of the charging equipment is monitored, the first charging information of the charging equipment is obtained through calculation according to the monitoring result, the first calculation result is compared with the second charging information of the charging equipment obtained through calculation of the tested equipment, so that the test result is obtained, the automatic test of the charging information is realized, the running information of the charging equipment does not need to be recorded in a complicated mode, a complicated charging logic formula is substituted, the labor input is low, and the user experience is high.
Fig. 3 is a flowchart illustrating a method of billing testing according to another exemplary embodiment, referring to fig. 3, the method including:
step S31, loading an example table for the operation condition design of the charging equipment;
step S32, designing a use case table according to the operation condition, and monitoring the operation condition of the charging equipment;
step S33, recording the running time of the charging equipment;
step S34, loading the power-off and power-on application table of the tested device;
step S35, controlling the tested equipment to be in a preset condition according to the power-off and power-on use case table;
step S36, recording the power failure condition of the tested device;
step S37, obtaining the pre-configured device information of the charging device;
step S38, monitoring an ammeter communication network to obtain the total power consumption;
step S39, calculating an operation proportion, a standby proportion, standby electric quantity and operation electric quantity to obtain first charging information;
step S40, obtaining second charging information of the charging equipment calculated by the tested equipment;
and step S41, comparing the first charging information with the second charging information to obtain a test result.
According to the technical scheme provided by the embodiment, the running condition of the charging equipment is monitored, the first charging information of the charging equipment is obtained through calculation according to the monitoring result, the first calculation result is compared with the second charging information of the charging equipment obtained through calculation of the tested equipment, so that the test result is obtained, the automatic test of the charging information is realized, the running information of the charging equipment does not need to be recorded in a complicated mode, a complicated charging logic formula is substituted, the labor input is low, and the user experience is high.
Fig. 4 is a schematic block diagram illustrating a billing test apparatus 100 according to an exemplary embodiment, referring to fig. 4, the apparatus 100 including:
the monitoring module 101 is configured to monitor an operation condition of the charging device, and calculate first charging information of the charging device according to a monitoring result;
the obtaining module 102 is configured to obtain second charging information of the charging device, which is obtained by calculation of the device to be tested;
and the comparison module 103 is configured to compare the first charging information with the second charging information to obtain a test result.
Preferably, the monitoring module 101 is specifically configured to:
controlling the operation of the charging equipment, monitoring the operation condition of the charging equipment, or,
and controlling the tested device to be in a preset condition, and monitoring the running condition of the charging device when the tested device is in the preset condition.
Preferably, the controlling the charging device operates, including:
acquiring a pre-configured operation parameter of the charging equipment;
and controlling the charging equipment to operate according to the operation parameters.
Preferably, the predetermined conditions include: the abnormal condition of power failure and/or power up, the control tested device is in the predetermined condition, including:
and the power-off and/or power-on of the tested device is controlled by the relay.
Preferably, the operating parameters include: the operation parameters of the charging equipment under at least one working condition, and the control of the charging equipment to operate according to the operation parameters comprise:
and respectively controlling the charging equipment according to the operating parameters under each working condition so that the charging equipment operates under the corresponding working condition according to the operating parameters under each working condition.
Preferably, the monitoring result includes: the operation information of the charging device in different states, where the first charging information of the charging device is obtained by calculation according to the monitoring result, includes:
calculating to obtain charging information corresponding to different states according to the running information in different states;
and acquiring total fee information, and calculating to obtain first charging information of the charging equipment according to the total fee information and the charging information corresponding to different states.
Preferably, the operation information in different states includes: calculating the running time in different states according to the running information in different states to obtain the charging information corresponding to different states, including:
acquiring pre-configured equipment information of the charging equipment;
and calculating to obtain charging information corresponding to different states according to the running time in different states and the pre-configured equipment information.
Preferably, when the charging device is an electricity-using device, the total charge information is a total electricity consumption amount, and the obtaining the total charge information includes:
and monitoring the communication network of the electric meter to obtain the total power consumption.
Preferably, the charging information corresponding to the different states includes:
operation proportion; standby ratio; standby electric quantity; and operating the electric quantity.
Preferably, the comparing the first charging information and the second charging information to obtain a test result includes:
and if the error between the first charging information and the second charging information is smaller than or equal to a preset value, determining that the charging is reasonable, otherwise, determining that the charging is unreasonable.
According to the technical scheme provided by the embodiment, the running condition of the charging equipment is monitored, the first charging information of the charging equipment is obtained through calculation according to the monitoring result, the first calculation result is compared with the second charging information of the charging equipment obtained through calculation of the tested equipment, so that the test result is obtained, the automatic test of the charging information is realized, the running information of the charging equipment does not need to be recorded in a complicated mode, a complicated charging logic formula is substituted, the labor input is low, and the user experience is high.
A test apparatus is shown according to an exemplary embodiment, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring the running condition of the charging equipment, and calculating to obtain first charging information of the charging equipment according to a monitoring result;
acquiring second charging information of the charging equipment calculated by the tested equipment;
and comparing the first charging information with the second charging information to obtain a test result.
According to the technical scheme provided by the embodiment, the running condition of the charging equipment is monitored, the first charging information of the charging equipment is obtained through calculation according to the monitoring result, the first calculation result is compared with the second charging information of the charging equipment obtained through calculation of the tested equipment, so that the test result is obtained, the automatic test of the charging information is realized, the running information of the charging equipment does not need to be recorded in a complicated mode, a complicated charging logic formula is substituted, the labor input is low, and the user experience is high.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (9)

1. A charging test method is characterized by comprising the following steps:
monitoring the running condition of the charging equipment, and calculating to obtain first charging information of the charging equipment according to a monitoring result;
acquiring second charging information of the charging equipment calculated by the tested equipment;
comparing the first charging information with the second charging information to obtain a test result;
the monitoring result comprises: the operation information of the charging device in different states, where the first charging information of the charging device is obtained by calculation according to the monitoring result, includes:
calculating to obtain charging information corresponding to different states according to the running information in different states;
acquiring total charge information, and calculating to obtain first charging information of charging equipment according to the total charge information and the charging information corresponding to different states;
the operation information in the different states includes: calculating the running time in different states according to the running information in different states to obtain the charging information corresponding to different states, including:
acquiring pre-configured equipment information of the charging equipment;
calculating to obtain charging information corresponding to different states according to the running time in different states and the pre-configured equipment information;
the runtime may be determined according to the following steps:
acquiring a pre-configured charging time interval;
dividing the charging time interval into a plurality of continuous sub-time intervals, wherein the sub-time intervals are time intervals with preset duration;
accumulating the running time of the charging equipment in the continuous sub-periods to obtain the running time of the charging equipment in the charging period;
the charging time interval refers to which moment is set by a user to start charging and which moment is set to finish charging;
detecting the running state of the charging equipment in each sub-period, and recording that the charging equipment is in a shutdown state in the sub-period if the running state of the charging equipment is detected to be changed from shutdown to startup in the sub-period;
comparing the first charging information with the second charging information to obtain a test result, including:
and if the error between the first charging information and the second charging information is smaller than or equal to a preset value, determining that the charging is reasonable, otherwise, determining that the charging is unreasonable.
2. The method of claim 1, wherein the monitoring the operation of the charging device comprises:
controlling the operation of the charging equipment, monitoring the operation condition of the charging equipment, or,
and controlling the tested device to be in a preset condition, and monitoring the running condition of the charging device when the tested device is in the preset condition.
3. The method of claim 2, wherein controlling the operation of the charging device comprises:
acquiring a pre-configured operation parameter of the charging equipment;
and controlling the charging equipment to operate according to the operation parameters.
4. The method of claim 2, wherein the predetermined condition comprises: the abnormal condition of power failure and/or power up, the control tested device is in the predetermined condition, including:
and the power-off and/or power-on of the tested device is controlled by the relay.
5. The method of claim 3, wherein the operating parameters comprise: the operation parameters of the charging equipment under at least one working condition, and the control of the charging equipment to operate according to the operation parameters comprise:
and respectively controlling the charging equipment according to the operating parameters under each working condition so that the charging equipment operates under the corresponding working condition according to the operating parameters under each working condition.
6. The method according to claim 1, wherein when the charging device is an electricity consuming device, the total charge information is a total electricity consumption amount, and the obtaining the total charge information includes:
and monitoring the communication network of the electric meter to obtain the total power consumption.
7. The method of claim 1, wherein the charging information corresponding to the different states comprises:
operation proportion; standby ratio; standby electric quantity; and operating the electric quantity.
8. A test apparatus, comprising:
the monitoring module is used for monitoring the running condition of the charging equipment and calculating to obtain first charging information of the charging equipment according to a monitoring result; the monitoring result comprises: the operation information of the charging device in different states, where the first charging information of the charging device is obtained by calculation according to the monitoring result, includes:
calculating to obtain charging information corresponding to different states according to the running information in different states;
acquiring total charge information, and calculating to obtain first charging information of charging equipment according to the total charge information and the charging information corresponding to different states;
the operation information in the different states includes: calculating the running time in different states according to the running information in different states to obtain the charging information corresponding to different states, including:
acquiring pre-configured equipment information of the charging equipment;
calculating to obtain charging information corresponding to different states according to the running time in different states and the pre-configured equipment information;
the runtime may be determined according to the following steps:
acquiring a pre-configured charging time interval;
dividing the charging time interval into a plurality of continuous sub-time intervals, wherein the sub-time intervals are time intervals with preset duration;
accumulating the running time of the charging equipment in the continuous sub-periods to obtain the running time of the charging equipment in the charging period;
the charging time interval refers to which moment is set by a user to start charging and which moment is set to finish charging;
detecting the running state of the charging equipment in each sub-period, and recording that the charging equipment is in a shutdown state in the sub-period if the running state of the charging equipment is detected to be changed from shutdown to startup in the sub-period;
the acquisition module is used for acquiring second charging information of the charging equipment calculated by the tested equipment;
the comparison module is used for comparing the first charging information with the second charging information to obtain a test result; comparing the first charging information with the second charging information to obtain a test result, including:
and if the error between the first charging information and the second charging information is smaller than or equal to a preset value, determining that the charging is reasonable, otherwise, determining that the charging is unreasonable.
9. A test apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring the running condition of the charging equipment, and calculating to obtain first charging information of the charging equipment according to a monitoring result;
acquiring second charging information of the charging equipment calculated by the tested equipment;
comparing the first charging information with the second charging information to obtain a test result, and comparing the first charging information with the second charging information to obtain a test result, wherein the test result comprises:
if the error between the first charging information and the second charging information is smaller than or equal to a preset value, determining that the charging is reasonable, otherwise, determining that the charging is unreasonable;
the monitoring result comprises: the operation information of the charging device in different states, where the first charging information of the charging device is obtained by calculation according to the monitoring result, includes:
calculating to obtain charging information corresponding to different states according to the running information in different states;
acquiring total charge information, and calculating to obtain first charging information of charging equipment according to the total charge information and the charging information corresponding to different states;
the operation information in the different states includes: calculating the running time in different states according to the running information in different states to obtain the charging information corresponding to different states, including:
acquiring pre-configured equipment information of the charging equipment;
calculating to obtain charging information corresponding to different states according to the running time in different states and the pre-configured equipment information;
the runtime may be determined according to the following steps:
acquiring a pre-configured charging time interval;
dividing the charging time interval into a plurality of continuous sub-time intervals, wherein the sub-time intervals are time intervals with preset duration;
accumulating the running time of the charging equipment in the continuous sub-periods to obtain the running time of the charging equipment in the charging period;
the charging time interval refers to which moment is set by a user to start charging and which moment is set to finish charging;
and detecting the running state of the charging equipment in each sub-period, and recording that the charging equipment is in the shutdown state in the sub-period if the running state of the charging equipment is detected to be changed from shutdown to startup in the sub-period.
CN201810767268.6A 2018-07-13 2018-07-13 Charging test method and device Active CN109035592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810767268.6A CN109035592B (en) 2018-07-13 2018-07-13 Charging test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810767268.6A CN109035592B (en) 2018-07-13 2018-07-13 Charging test method and device

Publications (2)

Publication Number Publication Date
CN109035592A CN109035592A (en) 2018-12-18
CN109035592B true CN109035592B (en) 2020-11-13

Family

ID=64642039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810767268.6A Active CN109035592B (en) 2018-07-13 2018-07-13 Charging test method and device

Country Status (1)

Country Link
CN (1) CN109035592B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113203452A (en) * 2021-04-13 2021-08-03 湖南省计量检测研究院 Calibration device and method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102667504B (en) * 2009-12-25 2014-10-08 松下电器产业株式会社 Home electric appliance
CN101907685A (en) * 2010-06-18 2010-12-08 华北电力大学 Method for checking correctness of operating parameters of generator set capable of adapting to change of operating conditions
CN102116857B (en) * 2010-12-31 2012-12-12 江苏省电力公司 Method for checking electric quantity at power grid gate
CN102721143B (en) * 2012-06-27 2014-12-24 美的集团股份有限公司 Method for dividing power consumption of multi-connected air conditioner
CN104729010B (en) * 2013-12-24 2018-09-18 珠海格力电器股份有限公司 The control method of air conditioner, apparatus and system
CN104156891A (en) * 2014-08-15 2014-11-19 珠海格力电器股份有限公司 Air conditioning household electricity apportioning proofreading method and device
CN104848486B (en) * 2015-05-14 2017-11-24 珠海格力电器股份有限公司 The performance parameter testing system and air-conditioning system of a kind of air conditioner
CN106023444A (en) * 2016-05-13 2016-10-12 珠海格力电器股份有限公司 Charge-by-household system of air conditioners

Also Published As

Publication number Publication date
CN109035592A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN101097248B (en) Enhanced-accuracy battery capacity prediction
TWI419431B (en) Socket with power management ability
US20130079931A1 (en) Method and system to monitor and control energy
CN110646664B (en) Method and device for monitoring power consumption of multi-split system and multi-split system
JP5608696B2 (en) Water usage monitoring system
CN104502690B (en) A kind of CPU power consumption method of testing and system
US20170163068A1 (en) Lead-acid battery system, control system and intelligent system
WO2014101807A1 (en) Method and terminal for displaying capacity of battery
CN110829590A (en) Intelligent monitoring system, method, platform and storage medium for transformer area line loss
CN110850357B (en) Remote comprehensive processing system for electric energy metering device
JP2022528369A (en) Detection methods, devices, electronic devices and storage media for power consumption behavior
CN101114009B (en) Battery automatically testing system and method of electronic device
US9291477B2 (en) Sampling energy meter reading system using demand response of energy prices for a power saving mode
CN109035592B (en) Charging test method and device
KR102030836B1 (en) Apparatus and method for test of watt-hour meter
CN103278707B (en) Obtain method and the terminal of terminal standby time
CN111044806A (en) Equipment fault positioning method and device and server
AU2016324351B2 (en) Power analyser and method for the use thereof
CN110595001B (en) Household charging debugging method and device for multi-split air conditioner and computer equipment
CN111521966A (en) Method and device for monitoring time out-of-tolerance of district electric meter, monitoring terminal and storage medium
CN116224208A (en) Error detection method, system and storage medium of electric energy meter
CN106056491A (en) Charging method and system of air conditioner
CN115664018A (en) Cloud computing-based power grid data distributed management method and system
CN112946562B (en) Power failure protection method and device for double-core intelligent electric meter and double-core intelligent electric meter
CN114578280A (en) Intelligent ammeter fault determination method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant