Diesel engine power generation judgment method, device, computer storage medium and electronic equipment

By distinguishing the base station power generation type as pre-meter power generation or post-meter and parallel power generation, and adopting the corresponding judgment method, the problem of inaccurate identification of diesel generator power generation time is solved, and accurate identification and cost control of diesel generator power generation are achieved.

CN112018752BActive Publication Date: 2025-10-10GOSUNCN TECH GRP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201910450149.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-28
Publication Date
2025-10-10
Estimated Expiration
2039-05-28

AI Technical Summary

Technical Problem

Existing technologies cannot accurately identify the start and end times of oil-fired power generation, resulting in false power generation records and increased power generation costs.

Method used

By determining whether the power generation type of the base station is pre-meter power generation or post-meter and parallel power generation, different judgment methods are used to identify the start and end time of diesel engine power generation, including a first judgment method and a second judgment method, which perform logical judgments on pre-meter power generation and post-meter and parallel power generation respectively.

Benefits of technology

It achieves accurate identification of diesel generators, reduces the occurrence of false power generation, ensures the operating capacity of base stations and reduces power generation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112018752B_ABST
    Figure CN112018752B_ABST
Patent Text Reader

Abstract

The application provides an oil engine power generation judging method, a judging device, a computer storage medium and an electronic device. The method comprises the following steps: judging the power generation type of a base station as table front power generation or table rear and parallel power generation after acquiring city power state alarm information; when judging that the power generation type of the base station is table front power generation, adopting a first judging method to judge whether city power is on and judging the power generation state of the base station; and when judging that the power generation type of the base station is table rear and parallel power generation, adopting a second judging method to judge whether city power is on and judging the power generation state of the base station. According to the method of the embodiment of the application, effective power generation can be accurately identified, and power generation cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of oil engine power generation, and in particular to an oil engine power generation judgment method, a judgment device, a computer storage medium and an electronic device. Background Art

[0002] Mobile diesel generators are a crucial means of powering base station communications equipment for the three major mobile operators. During a utility power outage, operations personnel are required to bring generators to base stations to ensure power supply to communications equipment and maintain normal communications in the area. This results in significant annual power generation costs. Managing power generation costs is crucial to prevent operations personnel from overreporting power generation hours by generating no power or generating no power at all, potentially increasing their fees. For example, when operations personnel arrive at a base station, utility power may have already been restored. In this case, the operators may not connect loads for power generation, or may simply not generate power at all, but report a specific duration of power generation to the operator. Accurately identifying effective power generation and automatically generating records for verification with operations personnel's data is an effective way to reduce power generation costs. Summary of the Invention

[0003] In view of this, the present invention provides a method, a judgment device, a computer storage medium and an electronic device for judging oil engine power generation, which can accurately identify effective power generation and reduce power generation costs.

[0004] In order to solve the above technical problems, on the one hand, the present invention provides a method for determining oil engine power generation, the method comprising: after obtaining the mains power status alarm information, determining whether the power generation type of the base station is pre-meter power generation or post-meter and parallel power generation; when it is determined that the power generation type of the base station is pre-meter power generation, using a first judgment method to determine whether the mains power is coming and determine the power generation status of the base station; when it is determined that the power generation type of the base station is post-meter and parallel power generation, using a second judgment method to determine whether the mains power is coming and determine the power generation status of the base station.

[0005] According to some embodiments of the present invention, the first judgment method includes: S11, periodically judging whether the mains power status alarm information has ended; S12, if it is judged that the mains power status alarm information has ended, periodically detecting the mains power status alarm information to judge whether the mains power has come; S13, if it is judged that the mains power has come, judging that the base station has not entered the power generation process, and ending the judgment; if it is judged that the mains power has not come, entering step S14; S14, detecting whether there is new mains power status alarm information; if there is new mains power status alarm information, judging that the base station power generation process has ended, and data is stored in the database; if there is no new mains power status alarm information, judging whether the mains power has come; S15, if it is judged that the mains power has come, judging that the base station power generation process has ended; if it is judged that the mains power has not come, repeating step S14.

[0006] According to some embodiments of the present invention, in step S12, if it is determined that the mains power status alarm information has ended, the mains power status alarm information is detected every three minutes to determine whether the current frequency detected twice in succession meets the pre-meter power generation start condition to determine whether the mains power is coming.

[0007] According to some embodiments of the present invention, the pre-meter power generation start condition is that the current frequency F>50.2Hz or 0Hz<F<49.8Hz or F!=48Hz. If the pre-meter power generation start condition is not met, it is determined that the mains power is incoming. If the pre-meter power generation start condition is met, it is determined that the mains power is incoming.

[0008] According to some embodiments of the present invention, in step S14, if there is no new mains status alarm information, the current frequency is detected multiple times continuously to determine whether it meets the pre-meter power generation end condition to determine whether the mains power is coming.

[0009] According to some embodiments of the present invention, the number of times of continuously detecting whether the current frequency meets the pre-meter power generation termination condition is 5 times.

[0010] According to some embodiments of the present invention, the pre-meter power generation termination condition is that the current frequency is 49.9 Hz<F<50.1 Hz or F=48 Hz.

[0011] According to some embodiments of the present invention, the second judgment method includes: S21, periodically judging whether the mains power status alarm information has ended. If it is judged that the mains power status alarm information has ended, it is judged that the base station has not entered the power generation process and the judgment is ended. If it is judged that the mains power status alarm information has not ended, the step is entered into step S221 or step S222; S221, periodically judging whether the module current is greater than the set value. If it is greater than the set value, it is judged that power generation starts and the step is entered into step S23; S222, periodically judging whether the module current meets the parallel power generation conditions. If it meets the parallel power generation conditions, the step is entered into step S23; , then it is determined that parallel power generation has started, and the process goes to step S23; S23, detects whether the mains status alarm information has ended. If so, it is determined that the base station power generation process has ended and the data is stored in the database. If not, it goes to step S24 or step S25; S24, determines whether the module current is less than the set value. If so, it is determined that the base station power generation process has ended and the data is stored in the database. Otherwise, step S23 is repeated; S25, determines whether the module current meets the module current incomplete condition. If so, it is determined that the base station power generation process has ended and the data is stored in the database. Otherwise, step S23 is repeated.

[0012] According to some embodiments of the present invention, the module current insufficiency condition is that the current is less than or equal to 1A or the voltage V is less than or equal to 46.5V.

[0013] In a second aspect, an embodiment of the present invention provides a device for determining whether a diesel engine generates electricity, comprising: an acquisition module, the acquisition module being used to acquire mains power status alarm information and determine the power generation type of the base station; a detection module, the detection module being used to detect and determine whether the mains power status alarm information has ended; and a judgment module, the judgment module being used to determine whether the mains power is incoming and determine the power generation status of the base station.

[0014] In a third aspect, an embodiment of the present invention provides a computer storage medium comprising one or more computer instructions, wherein the one or more computer instructions implement any of the above methods when executed.

[0015] In a fourth aspect, an embodiment of the present invention provides an electronic device comprising a memory and a processor, wherein the memory is used to store one or more computer instructions, and the processor is used to call and execute the one or more computer instructions, thereby implementing any of the methods described above.

[0016] The above technical solution of the present invention has at least one of the following beneficial effects:

[0017] The oil generator power generation judgment method, judgment device, computer storage medium, and electronic device according to the embodiments of the present invention can be combined with the power generation type of the base station and accurately apply different judgment logics. Through the judgment method of pre-meter or post-meter and parallel power generation, the start time and end time of oil generator power generation can be accurately identified. This can be used for real-time monitoring of oil generator power generation, and historical data can also be used as verification data for power generation time with operation and maintenance personnel. This not only ensures the controllability of oil generator power generation and the operating capacity of the base station, but also effectively suppresses false power generation and reduces oil generator expenses. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a flow chart of a method for determining oil engine power generation according to an embodiment of the present invention;

[0019] Figure 2 This is a flow chart of a first determination method of a method for determining oil engine power generation according to an embodiment of the present invention;

[0020] Figure 3 This is a flow chart of a second determination method of the method for determining oil engine power generation according to an embodiment of the present invention;

[0021] Figure 4 This is a judgment logic diagram of a method for judging oil-fired power generation according to an embodiment of the present invention;

[0022] Figure 5 A schematic diagram of a device for determining oil engine power generation according to an embodiment of the present invention;

[0023] Figure 6 FIG. 4 is a schematic diagram of an electronic device according to an embodiment of the present invention.

[0024] Reference signs:

[0025] The oil machine power generation judgment method 100;

[0026] The oil machine power generation judgment device 200;

[0027] The acquisition module 201; the detection module 202; the judgment module 203; the base station 204;

[0028] The electronic device 300;

[0029] The memory 310; the operating system 311; the application program 312;

[0030] The processor 320; the network interface 330; the input device 340; the hard disk 350; the display device 360. DETAILED DESCRIPTION

[0031] The specific embodiments of the present application will be further described in detail below with reference to the accompanying drawings and examples. The following examples are used to illustrate the present application, but not to limit the scope of the present application.

[0032] As shown in Figure 1 and Figure 2 The data processing method 100 of the embodiment of the present application comprises: dispersively sending one of a first set and a second set to nodes distributed by the other of the first set and the second set, wherein the other is dispersively stored in at least two nodes; and performing intersection processing on a node-by-node basis according to the node distribution of the first set and the node distribution of the second set.

[0033] As shown in Figure 1 The oil machine power generation judgment method 100 according to the embodiment of the present application comprises:

[0034] After acquiring the power state alarm information, the power generation type of the base station is judged to be pre-table power generation or post-table and parallel power generation.

[0035] When the power generation type of the base station is judged to be pre-table power generation, a first judgment method is used to judge whether the power supply is on and to judge the power generation state of the base station.

[0036] When the power generation type of the base station is judged to be post-table and parallel power generation, a second judgment method is used to judge whether the power supply is on and to judge the power generation state of the base station.

[0037] In other words, when judging the diesel generator power generation according to the embodiment of the present invention, the diesel generator power generation judgment method 100 first collects the mains status alarm, mains frequency, module current and other data of the smart meter through the operator's existing dynamic environment monitoring system, distinguishes between pre-meter power generation (generator current passes through the meter - the mains status alarm is restored) and post-meter power generation (generator current does not pass through the meter, and the mains status alarm is not restored), and then judges the power generation status of the base station separately according to the different judgment logics of pre-meter power generation and post-meter power generation, thereby improving the judgment accuracy.

[0038] It should be noted that base stations are generally equipped with smart meters. The operator's dynamic environment monitoring system can obtain the mains power status and module current. With the help of the mains power status alarm and module output current obtained by the dynamic environment monitoring platform, the effective diesel generator power generation can be obtained through judgment logic.

[0039] Therefore, the oil generator power generation judgment method 100 according to an embodiment of the present invention can be combined with the power generation type of the base station and accurately apply different judgment logics. Through the judgment method of pre-meter or post-meter and parallel power generation, the start time and end time of the oil generator power generation can be accurately identified, which solves the problem of low judgment accuracy when judging oil generator power generation by a single mains frequency or module current, and cannot accurately identify whether the oil generator is actually generating electricity effectively, and cannot effectively control the false reporting of oil generator expenses.

[0040] First, combine Figure 2 The first determination method adopted by the base station whose power generation type is pre-meter power generation is described in detail.

[0041] like Figure 2 As shown, the first judgment method includes:

[0042] S11 , periodically judging whether the mains power status alarm information has ended.

[0043] S12: If it is determined that the mains power status alarm information ends, periodically detect the mains power status alarm information to determine whether the mains power is coming.

[0044] S13. If it is determined that the mains power is coming, it is determined that the base station has not entered the power generation process, and the determination is ended. If it is determined that the mains power is not coming, the process proceeds to step S14.

[0045] S14. Detect whether there is new mains power status alarm information. If there is new mains power status alarm information, determine that the base station power generation process is completed and store the data. If there is no new mains power status alarm information, determine whether the mains power is on.

[0046] S15. If it is determined that the mains power is coming, the base station power generation process is determined to be finished. If it is determined that the mains power is not coming, step S14 is repeated.

[0047] That is to say, after determining that the power generation type of the base station is pre-meter power generation, the first judgment method is used to judge the status of the oil generator power generation. When making the judgment, the first judgment method first periodically detects whether the mains power status alarm information has ended. If the mains power status alarm information is not ended, the detection and judgment are continued. If the mains power status alarm information is detected to have ended, the mains power status alarm information is periodically detected to determine whether the mains power is coming.

[0048] If the mains power is received, the base station can be determined not to have entered the power generation process, and the generator power generation process determination is terminated. If the mains power is received, the system checks for new mains power status alarms. If so, the system determines that the generator has interrupted power generation, terminates power generation, and stores the data. If no new mains power status alarms are received, the system continues to determine if the mains power is received. If the mains power is received, the system determines that the generator has terminated power generation. If the mains power is not received, the system continues to check for new mains power status alarms.

[0049] Among them, in step S12, if it is determined that the mains status alarm information has ended, the mains status alarm information is detected every three minutes to determine whether the current frequency detected twice in succession meets the pre-meter power generation start condition to determine whether the mains power is coming.

[0050] According to one embodiment of the present invention, the pre-meter power generation start condition is that the current frequency F>50.2Hz, or 0Hz<F<49.8Hz, or F!=48Hz. If the pre-meter power generation start condition is not met, it is determined that the mains power is incoming. If the pre-meter power generation start condition is met, it is determined that the mains power is incoming. This allows accurate determination of whether the current frequency meets the pre-meter power generation start condition.

[0051] In some specific embodiments of the present invention, in step S14, if there is no new mains power status alarm information, the current frequency is repeatedly checked to determine whether it meets the pre-meter power generation termination condition to determine whether the mains power has arrived. Preferably, the number of consecutive checks to determine whether the current frequency meets the pre-meter power generation termination condition is five. Furthermore, the pre-meter power generation termination condition is that the current frequency is 49.9 Hz < F < 50.1 Hz or F = 48 Hz. This allows accurate determination of whether the pre-meter power generation termination condition has been met.

[0052] First, combine Figure 3 The second determination method adopted by the base station whose power generation type is pre-meter power generation is described in detail.

[0053] like Figure 3 As shown, the second judgment method includes:

[0054] S21. Periodically determine whether the mains power status alarm information has ended. If it is determined that the mains power status alarm information has ended, determine that the base station has not entered the power generation process and end the determination. If it is determined that the mains power status alarm information has not ended, enter step S221 or step S222.

[0055] S221, periodically determine whether the module current is greater than the set value. If so, power generation starts after the determination table, and the process goes to step S23.

[0056] S222, periodically judging whether the module current meets the parallel power generation conditions. If so, judging that the parallel power generation starts, and entering step S23.

[0057] S23, detecting whether the mains status alarm information has ended, if so, determining that the base station power generation process has ended, and storing the data; if not, proceeding to step S24 or step S25.

[0058] S24, determine whether the module current is less than the set value. If so, determine that the base station power generation process is completed and the data is stored in the database. Otherwise, repeat step S23.

[0059] S25. Determine whether the module current meets the module current incomplete condition. If so, determine that the base station power generation process is completed and the data is stored in the database. Otherwise, repeat step S23.

[0060] The module current insufficiency condition is that the current is less than or equal to 1A or the voltage V is less than or equal to 46.5V.

[0061] That is, after determining that the base station's power generation type is post-meter and parallel generation, a second determination method is used to determine the generator's power generation status. This method first periodically checks to see if the mains power status alarm has ended. If so, it is determined that the base station has not entered the power generation process, and the generator's power generation process determination ends. If the mains power status alarm has not ended, the module current is periodically determined to be greater than a set value. If so, post-meter generation is determined to have begun, and the data is stored. Alternatively, the method periodically determines whether the mains power status alarm meets the conditions for parallel generation. If so, parallel generation is determined to have begun, and the data is stored.

[0062] After determining that the power generation before the meter or the parallel power generation starts, it is determined whether the power state alarm information ends periodically, if yes, it is determined that the base station power generation process ends, and the data is stored, if not, it is determined whether the current of the module is less than the set value periodically, if yes, it is determined that the base station power generation process ends, and the data is stored, if not, it is repeatedly determined whether the power state alarm information ends or whether the current of the module meets the condition that the current of the module is not full, if yes, it is determined that the base station power generation process ends, and the data is stored, if not, it is repeatedly determined whether the power state alarm information ends.

[0063] Figure 4 The judgment logic diagram of the oil engine power generation judgment method and the first judgment method and the second judgment method according to the embodiment of the present application is shown, the oil engine power generation monitoring program obtains relevant real-time data from the dynamic environment system through the TCP mode, connects the relevant information of the data acquisition device, and obtains whether the power generation of the base station is before the meter or after the meter. The power state alarm of the device is obtained, that is, uninterrupted monitoring is performed, whether the oil engine power generation starts and ends is determined, and corresponding data is stored in the database to provide the mail power report table of the dynamic environment monitoring platform with early data. The effect of visual real-time monitoring of the power generation and query of the historical power generation record is achieved.

[0064] In summary, the oil engine power generation judgment method 100 according to the embodiment of the present application can accurately use different judgment logic by combining the power generation type of the base station, through the judgment method of the power generation before the meter or after the meter and the parallel power generation, the start time and the end time of the oil engine power generation are accurately identified, which can not only serve as real-time monitoring of the oil engine power generation, but also can serve as the checking data of the power generation time of the operation and maintenance personnel, which not only guarantees the controllability of the oil engine power generation and the operation ability of the base station, but also effectively suppresses the false power generation and reduces the cost of the oil engine.

[0065] As shown in the figure, Figure 5 The oil engine power generation judgment device 200 according to the embodiment of the present application includes an acquisition module 201, a detection module 202 and a judgment module 203, wherein the acquisition module 201 is used for acquiring the power state alarm information and determining the power generation type of the base station 204, the detection module 202 is used for detecting and determining whether the power state alarm information ends, and the judgment module 203 is used for determining whether the power comes and determining the power generation state of the base station 204. The judgment module 203 can determine the power generation state of the base station by using the above-mentioned oil engine power generation judgment method.

[0066] In addition, the embodiment of the present application also provides a computer storage medium, which includes one or more computer instructions, and the one or more computer instructions implement the oil engine power generation judgment method according to any one of the above-mentioned embodiments when executed.

[0067] That is, the computer storage medium stores a computer program, and when the computer program is executed by the processor, the processor executes any of the above-mentioned methods for determining oil engine power generation.

[0068] like Figure 6 As shown, an embodiment of the present invention provides an electronic device 300, including a memory 310 and a processor 320, wherein the memory 310 is used to store one or more computer instructions, and the processor 320 is used to call and execute the one or more computer instructions, thereby implementing any of the above-mentioned methods 100.

[0069] That is, the electronic device 300 includes: a processor 320 and a memory 310, wherein computer program instructions are stored in the memory 310, wherein when the computer program instructions are executed by the processor, the processor 320 executes any of the above-mentioned methods 100.

[0070] Furthermore, if Figure 6 As shown, the electronic device 300 further includes a network interface 330 , an input device 340 , a hard disk 350 , and a display device 360 ​​.

[0071] The above-mentioned interfaces and devices can be interconnected through a bus architecture. The bus architecture can include any number of interconnected buses and bridges. Specifically, various circuits of one or more central processing units (CPUs) represented by processor 320 and one or more memories represented by memory 310 are connected together. The bus architecture can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits together. It can be understood that the bus architecture is used to achieve connection and communication between these components. In addition to the data bus, the bus architecture also includes a power bus, a control bus, and a status signal bus, which are all well known in the art and therefore will not be described in detail herein.

[0072] The network interface 330 can be connected to a network (such as the Internet, a local area network, etc.), obtain relevant data from the network, and save it in the hard disk 350.

[0073] The input device 340 can receive various instructions input by the operator and send them to the processor 320 for execution. The input device 340 can include a keyboard or a pointing device (e.g., a mouse, a trackball, a touchpad, or a touch screen).

[0074] The display device 360 ​​can display the results obtained by the processor 320 executing the instructions.

[0075] The memory 310 is used to store programs and data necessary for the operation of the operating system, as well as data such as intermediate results during the calculation process of the processor 320.

[0076] It is understood that the memory 310 in the embodiments of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. The memory 310 of the apparatus and method described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0077] In some embodiments, the memory 310 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: an operating system 311 and application programs 312 .

[0078] The operating system 311 includes various system programs, such as a framework layer, a core library layer, and a driver layer, for implementing various basic services and handling hardware-based tasks. Application programs 312 include various application programs, such as a browser, for implementing various application services. Programs implementing the methods of the embodiments of the present invention may be included in application programs 312.

[0079] When the processor 320 calls and executes the application and data stored in the memory 310, specifically, the program or instruction stored in the application 312, it sends one of the first set and the second set to the nodes where the other of the first set and the second set is distributed, wherein the other is distributed and stored in at least two nodes; and performs intersection processing on a node-by-node basis according to the node distribution of the first set and the node distribution of the second set.

[0080] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 320. Processor 320 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 320 or by software instructions. The above processor 320 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software modules can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 310, and processor 320 reads information from memory 310 and, in conjunction with its hardware, completes the steps of the above method.

[0081] It is understood that the embodiments described herein can be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.

[0082] For software implementation, the techniques described herein can be implemented by modules (e.g., procedures, functions, etc.) that perform the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or external to the processor.

[0083] Specifically, the processor 320 is further configured to read the computer program and execute any of the above methods.

[0084] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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 an indirect coupling or communication connection of some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0085] In addition, the functional units in various embodiments of the present invention may be integrated into a single processing unit, each unit may be physically included separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or hardware plus software functional units.

[0086] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to perform some steps of the sending and receiving methods described in various embodiments of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, and other media that can store program code.

[0087] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A method for determining whether a diesel engine is generating electricity, characterized in that: The method includes: After obtaining the mains power status warning information, determine whether the power generation type of the base station is pre-meter power generation or post-meter and parallel power generation; When it is determined that the power generation type of the base station is pre-meter power generation, use the first judgment method to judge whether the mains power comes back and judge the power generation status of the base station; the first judgment method includes: S11. Periodically judge whether the mains power status warning information ends; S12. If it is judged that the mains power status warning information has not ended, periodically detect the mains power status warning information; if it is judged that the mains power status warning information has ended, judge whether the mains power comes back; S13. If it is judged that the mains power comes back, then judge that the base station has not entered the power generation process, end the judgment, if it is judged that the mains power does not come back, then determine that the pre-meter power generation starts, and enter step S14; S14. Detect whether there is new mains power status warning information. If there is new mains power status warning information, then judge that the power generation process of the base station ends and the data is stored in the database. If there is no new mains power status warning information, then judge whether the mains power comes back; S15. If it is judged that the mains power comes back, then judge that the power generation process of the base station ends. If it is judged that the mains power does not come back, then repeat step S14; When it is determined that the power generation type of the base station is post-meter and parallel power generation, use the second judgment method to judge whether the mains power comes back and judge the power generation status of the base station; the second judgment method includes: S21. Periodically judge whether the mains power status warning information ends. If it is judged that the mains power status warning information ends, then judge that the base station has not entered the power generation process, end the judgment. If it is judged that the mains power status warning information has not ended, then enter step S221 and step S222; S221. Periodically judge whether the module current is greater than the set value. If it is greater than the set value, then judge that the post-meter power generation starts and enter step S23; S222. Periodically judge whether the module current meets the parallel power generation condition. If the parallel power generation is met, then judge that the parallel power generation starts and enter step S23; S23. Detect whether the mains power status warning information ends. If it ends, then judge that the power generation process of the base station ends and the data is stored in the database. If it has not ended, then enter step S24 and step S25; S24. Judge whether the module current is less than the set value. If it is less than the set value, then judge that the power generation process of the base station ends and the data is stored in the database. Otherwise, repeat step S23; S25. Judge whether the module current meets the module current incomplete condition. The module current incomplete condition is that the current <= 1 A or the voltage V <= 46.5 V. If it is met, then judge that the power generation process of the base station ends and the data is stored in the database. Otherwise, repeat step S23.

2. The method for determining whether a diesel engine is generating electricity according to claim 1, wherein: In step S12, if it is judged that the mains power status warning information ends, then detect the mains power status warning information every three minutes, and judge whether the current frequency of two consecutive detections meets the pre-meter power generation start condition to judge whether the mains power comes back.

3. The method for determining whether a diesel engine is generating electricity according to claim 2, wherein: The pre-meter power generation start condition is that the current frequency F > 50.2 Hz or 0 Hz < F < 49.8 Hz or F != 48 Hz. If the pre-meter power generation start condition is not met, then judge that the mains power comes back. If the pre-meter power generation start condition is met, then judge that the mains power does not come back.

4. The method for determining whether a diesel engine is generating electricity according to claim 1, wherein: In step S14, if there is no new mains power status warning information, the current frequency is continuously detected multiple times to determine whether the mains power has been restored by checking if the pre-meter power generation end condition is met.

5. The method for determining whether a diesel engine is generating electricity according to claim 4, characterized in that: The number of times the current frequency is continuously detected to check if the pre-meter power generation end condition is met is 5 times.

6. The method for determining whether a diesel engine is generating electricity according to claim 4, wherein: The pre-meter power generation end condition is that the current frequency 49.9 Hz < F < 50.1 Hz or F = 48 Hz.

7. A device for determining whether a diesel engine is generating electricity, for executing the method for determining whether a diesel engine is generating electricity according to claim 1, characterized in that: It includes: An acquisition module, which is used to acquire mains power status warning information and determine the power generation type of the base station; A detection module, which is used to detect and determine whether the mains power status warning information has ended; A judgment module, which is used to judge whether the mains power has been restored and judge the power generation status of the base station.

8. A computer storage medium, characterized in that It includes one or more computer instructions, and when the one or more computer instructions are executed, the method described in any one of claims 1-6 is implemented.

9. An electronic device, comprising a memory and a processor, wherein: The memory is used to store one or more computer instructions; The processor is used to call and execute the one or more computer instructions, thereby implementing the method described in any one of claims 1-6.

Citation Information

Patent Citations

  • Power supply management device for base station

    CN201869370U