Method and device for testing service life of standby power supply of CIU communication equipment
The real-time battery voltage is determined by periodically sending communication instructions and the parallel resistance method, and the number of communications in the target voltage range is recorded until the communication failure reaches the preset requirements. This solves the problem of large error in the life test of backup power supply of CIU communication equipment, realizes more accurate life tests and timely early warnings, and improves user experience.
Patent Information
- Application Number
- CN202411460362.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-02-25
AI Technical Summary
The existing backup power supply life test method of CIU communication equipment has a large error and cannot truly reflect the actual backup power supply status, affecting the user experience.
By periodically sending communication instructions to the target energy meter, real-time communication status is determined, real-time battery voltage is determined based on the parallel resistance method, and the target number of communications in the target voltage interval is recorded until the number of communication failures reaches the preset requirements, and finally the battery voltage alarm threshold and backup power life are determined.
It improves the accuracy of backup power supply life test, can provide early warnings in a timely and accurate manner, and improves the actual user experience.
Smart Images

Figure CN119511131A_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the field of device communication technology, and more particularly, to a method and device for testing the life of a backup power supply of a CIU communication device. Background Art
[0002] At present, the customer interface unit (CIU) communication equipment mainly communicates with the energy meter through communication methods such as carrier or radio frequency, queries information such as power or balance, and performs operations such as recharging the energy meter. Among them, CIU communication equipment generally has two power supply modes: main power supply and backup power supply. When the user is in a power outage state, the CIU needs to communicate with the energy meter under the backup power supply. Therefore, a test method is needed to obtain the backup power life of the CIU communication equipment. However, the existing life test method often uses computer tool software to predict the communication power consumption of the CIU communication equipment, and then calculates the theoretical life through the theoretical battery capacity power consumption algorithm, which makes the calculated backup power life error large, cannot truly reflect the actual status of the backup power supply, and cannot provide timely and accurate warnings, affecting the user experience. Summary of the invention
[0003] The embodiment of this specification provides a method and device for testing the life of a backup power supply of a CIU communication device, and its technical solution is as follows: In a first aspect, an embodiment of the present specification provides a method for testing the life of a backup power supply of a CIU communication device, the method comprising: Periodically sending a communication instruction to a target electric energy meter, and determining a real-time communication state corresponding to a response parameter, wherein the response parameter is a parameter returned by the target electric energy meter after receiving the communication instruction; Determine the real-time battery voltage corresponding to the real-time communication state based on the parallel resistance method, and record the target communication number corresponding to the target voltage interval based on the real-time communication state, the target voltage interval is the voltage interval to which the real-time battery voltage belongs, and the target communication number includes the total number of communications, the number of successful communications, and the number of failed communications; The test process is repeated until the number of communication failures reaches a preset requirement, and the battery voltage alarm threshold and the backup power life of the target device are determined based on the test results.
[0004] In a second aspect, a backup power supply life test device for a CIU communication device is provided, the device comprising: A sending module, used for periodically sending communication instructions to a target electric energy meter, and determining a real-time communication state corresponding to a response parameter, wherein the response parameter is a parameter returned by the target electric energy meter after receiving the communication instruction; a recording module, configured to determine the real-time battery voltage corresponding to the real-time communication state based on a parallel resistance method, and to record a target communication number corresponding to a target voltage interval based on the real-time communication state, wherein the target voltage interval is a voltage interval to which the real-time battery voltage belongs, and the target communication number includes a total communication number, a communication success number, and a communication failure number; The determination module is used to repeat the cyclic test process until the number of communication failures reaches a preset requirement, and determine the battery voltage alarm threshold and the backup power life of the target device based on the test results.
[0005] In a third aspect, an electronic device is provided, including a device processor and a memory; The device processor is connected to the memory; The memory is used to store executable program code; The device processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method provided in the first aspect or any possible implementation manner of the first aspect.
[0006] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer-readable storage medium stores instructions, which, when the instructions are executed on a computer or a device processor, cause the computer or the device processor to execute the method provided in the first aspect or any possible implementation of the first aspect.
[0007] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least: In one or more embodiments of the present specification, a communication instruction is first periodically sent to the target electric energy meter, and the real-time communication status corresponding to the response parameter is determined, and then the real-time battery voltage corresponding to the real-time communication status is determined, and the target communication times corresponding to the target voltage interval are recorded based on the real-time communication status, and the cycle test process is repeated until the number of communication failures reaches the preset requirements, and finally the battery voltage alarm threshold and the backup power life of the target device are determined through the test results. By obtaining the real-time communication status to determine the target communication times for different target voltage intervals, the final backup power life estimation result is more accurate, and the battery voltage alarm threshold is determined in combination with the test results, which can better achieve the purpose of timely and accurate warning, and improve the actual user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0009] Figure 1 A schematic diagram of the system architecture of a method for testing the life of a backup power supply of a CIU communication device provided in an embodiment of this specification; Figure 2 A flowchart of a method for testing the life of a backup power supply of a CIU communication device provided in an embodiment of this specification; Figure 3 A schematic diagram of the structure of a backup power life test device for CIU communication equipment provided in an embodiment of this specification; Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0010] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0011] The terms "first", "second", "third", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0012] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present specification. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described with respect to some examples may be combined in other examples.
[0013] See also Figure 1 , Figure 1 A schematic diagram of the system architecture of a method for testing the life of a backup power supply of a CIU communication device provided in an embodiment of the present specification is shown.
[0014] like Figure 1 As shown, the system architecture of the backup power life test method of the CIU communication device may at least include a terminal 10 , a server 20 and a network 30 .
[0015] The terminal 10 includes but is not limited to electronic devices such as smart phones, desktop computers, tablet computers, laptops, smart speakers, digital assistants, smart wearable devices, etc., and may also be software running on the above electronic devices, such as applications, etc. Optionally, the operating system running on the electronic device may include but is not limited to Android system, IOS system, Linux, Windows, etc. Optionally, the terminal 10 provides a backup power life test service to the user, and the terminal 10 may obtain a backup power life test instruction of an application program interface and send a backup power life test request to the server 20.
[0016] The server 20 can provide background services for the terminal 10. According to the backup power life test request sent by the terminal 10, the server 20 will obtain a series of backup power life test instructions, and the server 20 transmits the backup power life test instructions to other terminals 10 through the network 30. Specifically, the server 20 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0017] The network 30 is used to provide a medium for a communication link between the terminal 10 and the server 20. The network 30 may include various connection types, such as wired or wireless communication links or optical fiber cables.
[0018] In addition, it should be noted that Figure 1 What is shown is only one system provided by the present disclosure. In practical applications, other systems may also be included, for example, more terminals may be included.
[0019] In the embodiments of the present specification, the terminal 10 and the server 20 may be directly or indirectly connected via wired or wireless communication, which is not limited in the present disclosure.
[0020] See next Figure 2 , Figure 2 The overall flow chart of a backup power life test method for a CIU communication device provided in an embodiment of the present specification is shown. The backup power life test method for the CIU communication device can be used in the server 20 .
[0021] like Figure 2 As shown, the backup power life test method of the CIU communication device may at least include the following steps: Step 201: periodically send a communication instruction to a target electric energy meter, and determine a real-time communication state corresponding to a response parameter.
[0022] The response parameter is a parameter returned by the target electric energy meter after receiving the communication instruction.
[0023] In the embodiment of the present specification, in order to test the power service life of the CIU communication device under the backup power supply condition, the communication status between the CIU communication device and the target electric energy meter can be used to determine whether the CIU communication device can work normally under the real-time power supply condition. Therefore, after the CIU communication device is connected to the initial backup power supply, the CIU communication device can first periodically send communication instructions to the target electric energy meter. Generally, the initial backup power supply voltage is 3V, and the communication instruction sending time is set to 30s. Then, after the target electric energy meter receives the communication instruction, it will return the corresponding response parameter. Furthermore, the returned response parameter is parsed by a check code or a deep learning model to determine the communication status corresponding to the response parameter.
[0024] In one possible implementation manner, before the periodic sending of the communication instruction to the target electric energy meter, the method further includes: Periodically receiving a target short code; The communication instruction corresponding to the target short code is determined based on the short code database.
[0025] In the embodiment of the present specification, before periodically sending the communication instruction to the target electric energy meter, the target short code is generally periodically sent to the CIU communication device through a wired terminal or a mobile terminal. Among them, a short code database can be pre-constructed through a large number of historical test records, and each target short code in the short code database corresponds to a communication instruction. Therefore, after the CIU communication device is powered by the backup power supply, the target short code sent by the terminal by wire or wireless is first periodically received, and then the communication instruction corresponding to the target short code is queried in the constructed short code database, so as to maintain the same transmission period and send the communication quality to the target electric energy meter.
[0026] In one possible implementation, the determining of the real-time communication state corresponding to the response parameter, where the response parameter is a parameter returned by the target electric energy meter after receiving the communication instruction, includes: Obtain the response parameter returned corresponding to the communication instruction; The real-time communication state corresponding to the response parameter is determined based on the parameter learning model, and the real-time communication state includes communication success and communication failure.
[0027] In an embodiment of the present specification, after sending a communication instruction to the target electric energy meter, the response parameters returned by the target electric energy meter are continuously received within the cycle time and saved in the report log. Then, before the actual test, the communication response parameter return record is queried in the historical report log, and a training set of the initial parameter learning model is constructed in combination with the corresponding determined communication state, and the constructed initial parameter learning model is trained to obtain a trained parameter learning model. Furthermore, after obtaining the returned response parameters, they are input into the trained parameter learning model, and the corresponding real-time communication state can be obtained based on the model output result. In general, the real-time communication state may include a communication success state and a communication failure state.
[0028] Step 202: Determine the real-time battery voltage corresponding to the real-time communication state based on the parallel resistance method, and record the target communication times corresponding to the target voltage range based on the real-time communication state.
[0029] The target voltage interval is the voltage interval to which the real-time battery voltage belongs, and the target communication times include the total communication times, the communication success times and the communication failure times.
[0030] In the embodiment of the present specification, when the CIU communication device is powered by a backup power supply, the backup power supply will gradually decay its power capacity as the number of communications increases. Therefore, it is necessary to monitor the real-time battery voltage corresponding to the communication between the CIU communication device and the target electric energy meter in real time. Therefore, the parallel resistance method can be used to connect a test resistor with a known resistance value in parallel with the CIU communication device, and the real-time battery voltage corresponding to the real-time communication state can be determined by measuring the voltage across the test resistor. Then, since the real-time battery voltage continues to decay as the test process progresses, the theoretical working range of the battery voltage can be further divided into voltage partitions, and the target number of communications corresponding to the target voltage interval to which the real-time battery voltage belongs can be recorded through the real-time communication status. Among them, the target number of communications can be set to include the total number of communications in the target voltage interval, and the number of successful communications and the number of failed communications can be distinguished therein.
[0031] In one possible implementation, the determining the real-time battery voltage corresponding to the real-time communication state based on the parallel resistance method includes: Determine a test current corresponding to the real-time communication state based on a current sensor, the current sensor and a test resistor are connected in series to form a test circuit, and the test circuit is connected in parallel to the CIU communication device; The real-time battery voltage corresponding to the test current and the test resistance is determined based on the product operation.
[0032] In the embodiments of this specification, when using the parallel resistance method, the test circuit with a known resistance value can be first connected in series with the standard current sensor to obtain the test circuit in the parallel resistance method. Then, the test circuit is connected in parallel with the CIU communication device in the real-time communication state. Among them, when using the constructed test circuit for testing, the test current in the test circuit in the real-time communication state is first obtained through the current sensor. Further, the determined test current and the test resistance value are multiplied to obtain the corresponding real-time battery voltage in the real-time communication state.
[0033] In one possible implementation, the recording of the target communication times corresponding to the target voltage interval based on the real-time communication status, wherein the target voltage interval is the voltage interval to which the real-time battery voltage belongs, includes: Determining a target voltage interval corresponding to the real-time battery voltage; Determine the number of successful communications corresponding to successful communications and the number of failed communications corresponding to failed communications based on the real-time communication status record; The number of successful communications and the number of failed communications are integrated and counted to obtain a target number of communications corresponding to the target voltage range.
[0034] In an embodiment of the present specification, after voltage partitioning the theoretical working range of the battery voltage corresponding to the backup power supply of the CIU communication equipment, the target voltage interval corresponding to the real-time battery voltage in the real-time test state can be determined, and the target communication times corresponding to the backup power supply in the target voltage interval can be continuously recorded through the real-time communication status. Among them, the number of successful communications corresponding to successful communications and the number of communication failures corresponding to failed communications can be first determined through the real-time communication status record. Further, the number of successful communications and the number of failed communications are counted, and integrated and added to obtain the total number of communications, and finally the target communication times corresponding to the target voltage interval are obtained. As an example, the target voltage interval is determined to be 2.9V-3.0V through the real-time communication status. The number of successful communications is 449 times, the number of communication failures is 2 times, and the total number of communications is 451 times.
[0035] Step 203, repeat the cyclic test process until the number of communication failures reaches a preset requirement, and determine the battery voltage alarm threshold and the target device backup power life based on the test results.
[0036] In the embodiment of the present specification, when testing the backup power service life of the CIU communication equipment, once the initial backup power test is started, the spring ring test process will be continuously repeated, that is, the backup power supply will be continuously maintained. Therefore, when the backup power capacity gradually decays to the critical value, the corresponding real-time communication with the target electric energy meter will be interrupted due to the voltage being too low. Therefore, the cyclic test process can be continuously repeated, and the number of communication failures can be monitored in real time. When the number of communication failures reaches the preset requirements, that is, the number of times increases sharply or the total number of times exceeds the threshold and other preset requirements, the test result at this time is determined, and the cut-off test voltage interval and the cut-off target communication number corresponding to the test result are obtained based on the test report log. Finally, the battery voltage alarm threshold corresponding to the cut-off test voltage interval and the target device backup power life corresponding to the cut-off target communication number are determined.
[0037] Optionally, the test environment temperature can also be changed, that is, the entire test platform is placed in a high temperature box or a low temperature box, and the actual ambient temperature of use is simulated by temperature adjustment to obtain actual test data in different customer regions.
[0038] In one possible implementation, the repeated cyclic testing process until the number of communication failures reaches a preset requirement includes: Counting the number of consecutive communication failures during the cyclic test based on the number of communication failures; Comparing the number of consecutive communication failures with a preset failure threshold to obtain a comparison result; The cyclic testing process is repeated until the comparison result indicates that the number of consecutive communication failures exceeds the preset failure threshold.
[0039] In the embodiments of the present specification, when judging whether the number of communication failures during the test process reaches the preset requirements, the number of continuous communication failures in the entire cyclic test process can be first counted by the number of communication failures, that is, the response parameters returned by the CIU communication device during periodic communication with the target electric energy meter continuously represent the communication failure. Then, the real-time continuous communication failure number is compared with the preset failure threshold to obtain a comparison result. Generally, the preset failure threshold is set to 10. The cyclic test process is continuously repeated. When the real-time continuous communication failure number exceeds the preset failure threshold, that is, more than 10 times in a row are characterized as communication failures, it is judged that the test has met the preset requirements at this time, and the test process is terminated, and the termination test result at this time is recorded.
[0040] In one possible implementation, determining the battery voltage alarm threshold and the target device backup power life based on the test results includes: Determine the target communication times and the real-time battery voltage corresponding to the test result at the end of the cyclic test process; Determine a battery voltage alarm threshold corresponding to the real-time battery voltage based on a proportional optimization algorithm; The target communication times are calculated based on the accumulation method to obtain the backup power supply life of the target device.
[0041] In the embodiments of the present specification, in determining the battery voltage alarm threshold and the target device backup power supply life through the test results, the timing result corresponding to the end test of the cyclic test process can be determined first. Among them, the test results include the target communication times and real-time battery voltage corresponding to the end time. Then, the real-time battery voltage is optimized by the proportional optimization algorithm, that is, the real-time battery voltage is multiplied by the optimization ratio to obtain the battery voltage alarm threshold. Generally, the optimization ratio is set to 0.95, and the optimization ratio can also be set according to actual customer needs. When the customer's communication failure tolerance is higher, the corresponding optimization ratio is set higher. At the same time, the target communication times are calculated by the cumulative method, that is, the total number of communications in all target communication times from the initial test to the end test is summed up, and the backup power supply life of the target device can be obtained.
[0042] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0043] See next Figure 3 , Figure 3 The structure diagram of a backup power supply life test device for CIU communication equipment provided in an embodiment of this specification is shown. It should be noted that: Figure 3 The backup power life test device of the CIU communication equipment shown is used to perform the present application Figure 2 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2 The embodiment shown.
[0044] like Figure 3 As shown, the backup power life test device of the CIU communication equipment may at least include: The sending module 301 is used to periodically send a communication instruction to a target electric energy meter and determine a real-time communication state corresponding to a response parameter, where the response parameter is a parameter returned by the target electric energy meter after receiving the communication instruction; A recording module 302 is used to determine the real-time battery voltage corresponding to the real-time communication state based on a parallel resistance method, and record a target communication number corresponding to a target voltage interval based on the real-time communication state, wherein the target voltage interval is a voltage interval to which the real-time battery voltage belongs, and the target communication number includes a total number of communications, a number of successful communications, and a number of failed communications; The determination module 303 is used to repeat the cyclic test process until the number of communication failures reaches a preset requirement, and determine the battery voltage alarm threshold and the backup power life of the target device based on the test results.
[0045] In one possible implementation, the sending module 301 is specifically used for: Periodically receiving a target short code; The communication instruction corresponding to the target short code is determined based on the short code database.
[0046] In one possible implementation, the sending module 301 is further specifically used for: Obtain the response parameter returned corresponding to the communication instruction; The real-time communication state corresponding to the response parameter is determined based on the parameter learning model, and the real-time communication state includes communication success and communication failure.
[0047] In one possible implementation, the recording module 302 is specifically used for: Determine a test current corresponding to the real-time communication state based on a current sensor, the current sensor and a test resistor are connected in series to form a test circuit, and the test circuit is connected in parallel to the CIU communication device; The real-time battery voltage corresponding to the test current and the test resistance is determined based on the product operation.
[0048] In one possible implementation, the recording module 302 is further configured to: Determining a target voltage interval corresponding to the real-time battery voltage; Determine the number of successful communications corresponding to successful communications and the number of failed communications corresponding to failed communications based on the real-time communication status record; The number of successful communications and the number of failed communications are integrated and counted to obtain a target number of communications corresponding to the target voltage range.
[0049] In one possible implementation, the determination module 303 is specifically configured to: Counting the number of consecutive communication failures during the cyclic test based on the number of communication failures; Comparing the number of consecutive communication failures with a preset failure threshold to obtain a comparison result; The cyclic testing process is repeated until the comparison result indicates that the number of consecutive communication failures exceeds the preset failure threshold.
[0050] In one possible implementation, the determination module 303 is further configured to: Determine the target communication times and the real-time battery voltage corresponding to the test result at the end of the cyclic test process; Determine a battery voltage alarm threshold corresponding to the real-time battery voltage based on a proportional optimization algorithm; The target communication times are calculated based on the accumulation method to obtain the backup power supply life of the target device.
[0051] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.
[0052] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0053] See next Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification is shown.
[0054] like Figure 4 As shown, the electronic device 400 may include: at least one device processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .
[0055] The communication bus 402 may be used to realize the connection and communication among the above-mentioned components.
[0056] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0057] The network interface 404 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.
[0058] Among them, the device processor 401 may include one or more processing cores. The device processor 401 uses various interfaces and lines to connect various parts within the entire electronic device 400, and executes various functions and processes data of the electronic device 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the device processor 401 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The device processor 401 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the device processor 401, and it can be implemented separately through a chip.
[0059] The memory 405 may include a RAM or a ROM. Optionally, the memory 405 includes a non-transitory computer-readable medium. The memory 405 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 405 may optionally be at least one storage device located away from the aforementioned device processor 401. As Figure 4 As shown, the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0060] Specifically, the device processor 401 may be used to call the backup power life test application of the CIU communication device stored in the memory 405, and specifically perform the following operations: Periodically sending a communication instruction to a target electric energy meter, and determining a real-time communication state corresponding to a response parameter, wherein the response parameter is a parameter returned by the target electric energy meter after receiving the communication instruction; Determine the real-time battery voltage corresponding to the real-time communication state based on the parallel resistance method, and record the target communication number corresponding to the target voltage interval based on the real-time communication state, the target voltage interval is the voltage interval to which the real-time battery voltage belongs, and the target communication number includes the total number of communications, the number of successful communications, and the number of failed communications; The test process is repeated until the number of communication failures reaches a preset requirement, and the battery voltage alarm threshold and the backup power life of the target device are determined based on the test results.
[0061] As an optional embodiment of this specification, before the periodic sending of the communication instruction to the target electric energy meter, the method further includes: Periodically receiving a target short code; The communication instruction corresponding to the target short code is determined based on the short code database.
[0062] As an optional embodiment of this specification, the real-time communication state corresponding to the determination response parameter, the response parameter being a parameter returned by the target electric energy meter after receiving the communication instruction, includes: Obtain the response parameter returned corresponding to the communication instruction; The real-time communication state corresponding to the response parameter is determined based on the parameter learning model, and the real-time communication state includes communication success and communication failure.
[0063] As an option of the embodiment of this specification, the method of determining the real-time battery voltage corresponding to the real-time communication state based on the parallel resistance method includes: Determine a test current corresponding to the real-time communication state based on a current sensor, the current sensor and a test resistor are connected in series to form a test circuit, and the test circuit is connected in parallel to the CIU communication device; The real-time battery voltage corresponding to the test current and the test resistance is determined based on the product operation.
[0064] As an optional embodiment of the present specification, the target communication number corresponding to the target voltage interval is recorded based on the real-time communication state, and the target voltage interval is the voltage interval to which the real-time battery voltage belongs, including: Determining a target voltage interval corresponding to the real-time battery voltage; Determine the number of successful communications corresponding to successful communications and the number of failed communications corresponding to failed communications based on the real-time communication status record; The number of successful communications and the number of failed communications are integrated and counted to obtain a target number of communications corresponding to the target voltage range.
[0065] As an option of the embodiment of this specification, the repeated cycle test process until the number of communication failures reaches a preset requirement includes: Counting the number of consecutive communication failures during the cyclic test based on the number of communication failures; Comparing the number of consecutive communication failures with a preset failure threshold to obtain a comparison result; The cyclic testing process is repeated until the comparison result indicates that the number of consecutive communication failures exceeds the preset failure threshold.
[0066] As an option of the embodiment of this specification, the determining of the battery voltage alarm threshold and the backup power life of the target device based on the test result includes: Determine the target communication times and the real-time battery voltage corresponding to the test result at the end of the cyclic test process; Determine a battery voltage alarm threshold corresponding to the real-time battery voltage based on a proportional optimization algorithm; The target communication times are calculated based on the accumulation method to obtain the backup power supply life of the target device.
[0067] The embodiments of this specification also provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0068] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0069] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0070] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0071] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0072] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0073] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0074] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0075] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A method for testing the life of a backup power supply of a CIU communication device, characterized in that: The method comprises: Periodically sending a communication instruction to a target electric energy meter, and determining a real-time communication state corresponding to a response parameter, wherein the response parameter is a parameter returned by the target electric energy meter after receiving the communication instruction; Determine the real-time battery voltage corresponding to the real-time communication state based on the parallel resistance method, and record the target communication number corresponding to the target voltage interval based on the real-time communication state, the target voltage interval is the voltage interval to which the real-time battery voltage belongs, and the target communication number includes the total number of communications, the number of successful communications, and the number of failed communications; The test process is repeated until the number of communication failures reaches a preset requirement, and the battery voltage alarm threshold and the backup power life of the target device are determined based on the test results.
2. The method according to claim 1, characterized in that Before the communication instruction is periodically sent to the target electric energy meter, the method further includes: Periodically receiving a target short code; The communication instruction corresponding to the target short code is determined based on the short code database.
3. The method according to claim 1, characterized in that The determining of the real-time communication state corresponding to the response parameter, wherein the response parameter is a parameter returned by the target electric energy meter after receiving the communication instruction, includes: Obtain the response parameter returned corresponding to the communication instruction; The real-time communication state corresponding to the response parameter is determined based on the parameter learning model, and the real-time communication state includes communication success and communication failure.
4. The method according to claim 1, characterized in that: The method of determining the real-time battery voltage corresponding to the real-time communication state based on the parallel resistance method includes: Determine a test current corresponding to the real-time communication state based on a current sensor, the current sensor and a test resistor are connected in series to form a test circuit, and the test circuit is connected in parallel to the CIU communication device; The real-time battery voltage corresponding to the test current and the test resistance is determined based on the product operation.
5. The method according to claim 1, characterized in that The target communication number corresponding to the target voltage interval is recorded based on the real-time communication state, and the target voltage interval is the voltage interval to which the real-time battery voltage belongs, including: Determining a target voltage interval corresponding to the real-time battery voltage; Determine the number of successful communications corresponding to successful communications and the number of failed communications corresponding to failed communications based on the real-time communication status record; The number of successful communications and the number of failed communications are integrated and counted to obtain a target number of communications corresponding to the target voltage range.
6. The method according to claim 1, characterized in that The repeated cycle test process until the number of communication failures reaches a preset requirement includes: Counting the number of consecutive communication failures during the cyclic test based on the number of communication failures; Comparing the number of consecutive communication failures with a preset failure threshold to obtain a comparison result; The cyclic testing process is repeated until the comparison result indicates that the number of consecutive communication failures exceeds the preset failure threshold.
7. The method according to claim 1, characterized in that The method of determining the battery voltage alarm threshold and the backup power life of the target device based on the test result includes: Determine the target communication times and the real-time battery voltage corresponding to the test result at the end of the cyclic test process; Determine a battery voltage alarm threshold corresponding to the real-time battery voltage based on a proportional optimization algorithm; The target communication times are calculated based on the accumulation method to obtain the backup power supply life of the target device.
8. A backup power life test device for CIU communication equipment, characterized in that: The device comprises: A sending module, used for periodically sending communication instructions to a target electric energy meter, and determining a real-time communication state corresponding to a response parameter, wherein the response parameter is a parameter returned by the target electric energy meter after receiving the communication instruction; a recording module, configured to determine the real-time battery voltage corresponding to the real-time communication state based on a parallel resistance method, and to record a target communication number corresponding to a target voltage interval based on the real-time communication state, wherein the target voltage interval is a voltage interval to which the real-time battery voltage belongs, and the target communication number includes a total communication number, a communication success number, and a communication failure number; The determination module is used to repeat the cyclic test process until the number of communication failures reaches a preset requirement, and determine the battery voltage alarm threshold and the backup power life of the target device based on the test results.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium has instructions stored therein, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.