CN113079063A - Offline judgment method, system and device for charging device and computer storage medium - Google Patents

Offline judgment method, system and device for charging device and computer storage medium Download PDF

Info

Publication number
CN113079063A
CN113079063A CN202110323393.XA CN202110323393A CN113079063A CN 113079063 A CN113079063 A CN 113079063A CN 202110323393 A CN202110323393 A CN 202110323393A CN 113079063 A CN113079063 A CN 113079063A
Authority
CN
China
Prior art keywords
offline
data packet
online
message queue
charging device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110323393.XA
Other languages
Chinese (zh)
Inventor
林义平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Bunny Power Technology Co ltd
Original Assignee
Shenzhen Bunny Power Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Bunny Power Technology Co ltd filed Critical Shenzhen Bunny Power Technology Co ltd
Priority to CN202110323393.XA priority Critical patent/CN113079063A/en
Publication of CN113079063A publication Critical patent/CN113079063A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention discloses an off-line judgment method, a system, equipment and a computer storage medium of charging equipment, wherein the method comprises the following steps: monitoring network link data of charging equipment to obtain an online data packet and an offline data packet of the charging equipment; constructing a message queue, and sending and storing the online data packet and the offline data packet to the message queue; analyzing the stored data of the message queue to obtain an offline duration; if the offline duration of the charging equipment is greater than a preset alarm threshold, determining that the charging equipment is in an offline state; the invention solves the problem of real-time judgment of the offline state of the charging equipment, greatly saves the manual offline inspection cost, improves the online time of the charging equipment and increases the operation income.

Description

Offline judgment method, system and device for charging device and computer storage medium
Technical Field
The present invention relates to the field of power supplies, and in particular, to an offline determination method, system, device and computer storage medium for a charging device.
Background
At present, the network state of the charging equipment can be accurately obtained only by finding and reporting the network state of a charging user during field charging, and under the condition, the network state often has great delay and cannot be processed in time, so that the operation income of the charging equipment is necessarily greatly reduced.
Disclosure of Invention
In view of this, embodiments of the present application provide an offline determining method, system, device and computer storage medium for a charging device, so as to solve the problem of determining an offline state of the charging device in real time.
The embodiment of the application provides an offline judgment method for a charging device, which comprises the following steps:
monitoring network link data of charging equipment to obtain an online data packet and an offline data packet of the charging equipment;
constructing a message queue, and sending and storing the online data packet and the offline data packet to the message queue;
analyzing the stored data of the message queue to obtain an offline duration;
and if the offline duration of the charging equipment is greater than a preset alarm threshold, determining that the charging equipment is in an offline state.
In an embodiment, the analyzing the storage data of the message queue to obtain the offline duration includes:
if the current element in the message queue is the online data packet and the previous element of the current element is the offline data packet, acquiring the online time in the online data packet and the offline time in the offline data packet;
and calculating to obtain the off-line time length based on the online time and the offline time.
In an embodiment, the analyzing based on the stored data of the message queue to obtain the offline duration includes:
if the online data packet or the offline data packet is not received in the message queue within a first preset time period, generating the offline data packet and storing the offline data packet into the message queue;
and forcibly assigning the offline duration to be a value larger than a preset alarm threshold value based on the time of generating the offline data packet.
In an embodiment, after the step of determining that the charging device is in the offline state if the offline duration of the charging device is greater than a preset alarm threshold, the method further includes:
acquiring storage data in the message queue of the charging equipment within a second preset time period;
analyzing the stored data in the message queue to generate a data analysis result;
and sending the data analysis result to a charging equipment management platform.
In one embodiment, the data analysis result at least comprises:
the total offline times, the average offline time length and the average online time length of the charging equipment in the second preset time period.
In an embodiment, the analyzing the stored data in the message queue to generate a data analysis result includes:
if any element in the message queue is an offline data packet and the previous element of the element is an online data packet, acquiring the online times, the offline time in the offline data packet and the online time in the online data packet;
calculating to obtain total online time based on the online time and the offline time;
and calculating to obtain the average online time length based on the online times and the total online time length.
In one embodiment, the data packet includes at least:
packet type, device number, and device type.
In order to achieve the above object, there is also provided an offline determination system for a charging device, the system including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for monitoring network link data of charging equipment and acquiring an online data packet and an offline data packet of the charging equipment;
the storage module is used for constructing a message queue, and sending and storing the online data packet and the offline data packet to the message queue;
the analysis module is used for analyzing the stored data of the message queue to obtain the off-line duration;
the judging module is used for judging that the charging equipment is in an off-line state if the off-line time of the charging equipment is greater than a preset alarm threshold value.
In order to achieve the above object, there is also provided a computer storage medium having a program for offline determination method of a charging device stored thereon, wherein the program for offline determination method of a charging device, when executed by a processor, implements the steps of the method for offline determination of a charging device as described above.
In order to achieve the above object, an offline judgment device is further provided, which includes a memory, a processor, and an offline judgment method program of a charging device that is stored in the memory and is executable on the processor, where the processor implements the steps of the offline judgment method of the charging device when executing the offline judgment method program of the charging device.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: monitoring network link data of charging equipment to obtain an online data packet and an offline data packet of the charging equipment; by monitoring the network link condition of the charging equipment, the accurate online data packet and the accurate offline data packet are obtained, and the accurate obtaining of the offline duration is ensured.
Constructing a message queue, and sending and storing the online data packet and the offline data packet to the message queue; by constructing the message queue and storing the online data packet and the offline data packet, the accuracy of offline duration calculation is improved.
Analyzing the stored data of the message queue to obtain an offline duration; by analyzing the stored data in the message queue, which is equivalent to analyzing the online data packet and the offline data packet in the message queue, the offline duration is correctly obtained, and the judgment correctness of the offline state is ensured.
And if the offline duration of the charging equipment is greater than a preset alarm threshold, determining that the charging equipment is in an offline state. By setting a preset alarm threshold value, the reasonability and correctness of the offline state judgment of the charging equipment are ensured.
The invention solves the problem of real-time judgment of the offline state of the charging equipment, greatly saves the manual offline inspection cost, improves the online time of the charging equipment and increases the operation income.
Drawings
Fig. 1 is a schematic flowchart illustrating a first embodiment of an offline determining method for a charging device according to the present application;
fig. 2 is a diagram illustrating an analysis result of data stored in a message queue in the offline determination method of the charging device according to the present application;
fig. 3 is a schematic flowchart illustrating a specific process of step S130 in the first embodiment of the offline determination method of the charging device according to the present application;
fig. 4 is another specific flowchart illustrating the step S130 in the first embodiment of the offline determination method of the charging device according to the present application;
fig. 5 is a flowchart illustrating a second embodiment of an offline determining method for a charging device according to the present application;
fig. 6 is a schematic diagram of an offline determination method of a charging device according to the present application;
fig. 7 is a schematic flowchart illustrating a specific process of step S260 in the second embodiment of the offline determining method of the charging device according to the present application;
fig. 8 is a schematic diagram of an offline determination system of a charging device according to the present application;
fig. 9 is a schematic diagram of a hardware architecture of an offline determination device according to the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: monitoring network link data of charging equipment to obtain an online data packet and an offline data packet of the charging equipment; constructing a message queue, and sending and storing the online data packet and the offline data packet to the message queue; analyzing the stored data of the message queue to obtain an offline duration; if the offline duration of the charging equipment is greater than a preset alarm threshold, determining that the charging equipment is in an offline state; the invention solves the problem of real-time judgment of the offline state of the charging equipment, greatly saves the manual offline inspection cost, improves the online time of the charging equipment and increases the operation income.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 1, fig. 1 is a first embodiment of an offline determining method for a charging device according to the present application, where the method includes:
step S110: the network link data of the charging equipment are monitored, and an online data packet and an offline data packet of the charging equipment are obtained.
Specifically, the charging device may be a device that employs a high-frequency power technology, applies an advanced intelligent dynamic adjustment charging technology, and connects to a network, including but not limited to a charging station, a charging cabinet, and a charging pile.
Specifically, in this embodiment, the network link data may be a data packet transmitted between the charging device and the server under a TCP (Transmission Control Protocol), but is not limited to the TCP Protocol, and may also be another communication Protocol adopted between the charging device and the server.
Specifically, the online data packet may be a data packet indicating that the charging device is online; the offline data packet may be a data packet indicating that the charging device is offline.
Step S120: and constructing a message queue, and sending and storing the uplink data packet and the downlink data packet to the message queue.
Specifically, a Message queue (Message queue) may be a container for storing messages during transmission of the messages, and the main purpose of the Message queue is to store an online data packet and an offline data packet acquired in a network link, so as to analyze data stored in the Message queue in the following.
Specifically, when the online data packet and the offline data packet are stored in the message queue, the online data packet and the offline data packet are sequentially arranged and stored according to the sequence of receiving the online data packet and the offline data packet.
Step S130: and analyzing the stored data of the message queue to obtain the off-line time length.
Specifically, after the stored data in the message queue is analyzed, as shown in fig. 2, the stored data includes a record number (-id), a packet Type (Type), a Device number (SN), a Device Type (Device Type), a receiving Time (Time), and an offline duration (offline Time) obtained through calculation, where 1 in the packet Type may represent an online packet and 2 represents an offline packet; the device type 1 may represent a charging station and 2 a charging post.
Step S140: and if the offline duration of the charging equipment is greater than a preset alarm threshold, determining that the charging equipment is in an offline state.
Specifically, in the present embodiment, the preset alarm threshold is three hours, but the preset alarm threshold is not limited thereto and may be adjusted according to specific services.
In the above embodiment, there are advantageous effects of:
monitoring network link data of charging equipment to obtain an online data packet and an offline data packet of the charging equipment; by monitoring the network link condition of the charging equipment, the accurate online data packet and the accurate offline data packet are obtained, and the accurate obtaining of the offline duration is ensured.
Constructing a message queue, and sending and storing the online data packet and the offline data packet to the message queue; by constructing the message queue and storing the online data packet and the offline data packet, the accuracy of offline duration calculation is improved.
Analyzing based on the stored data of the message queue to obtain offline duration; by analyzing the stored data in the message queue, which is equivalent to analyzing the online data packet and the offline data packet in the message queue, the offline duration is correctly obtained, and the judgment correctness of the offline state is ensured.
And if the offline duration of the charging equipment is greater than a preset alarm threshold, determining that the charging equipment is in an offline state. By setting a preset alarm threshold value, the reasonability and correctness of the offline state judgment of the charging equipment are ensured.
The problem of the real-time judgement of battery charging outfit off-line state is solved to this embodiment, has saved the cost of patrolling and examining under the artificial line greatly to improve battery charging outfit and be long online, increase the operation income.
Referring to fig. 3, fig. 3 is a specific implementation step of step S130 in the first embodiment of the offline determining method for a charging device according to the present application, where analyzing the stored data of the message queue to obtain an offline duration includes:
step S131: and if the current element in the message queue is the online data packet and the previous element of the current element is the offline data packet, acquiring the online time in the online data packet and the offline time in the offline data packet.
Specifically, the current element in the message queue may be a data packet newly received in the message queue; the element preceding the current element may be an element adjacent to the current element in the message queue.
Step S132: and calculating to obtain the off-line time length based on the online time and the offline time.
Specifically, the offline duration may be calculated by subtracting the offline time from the online time.
In the above embodiment, there are beneficial effects of: the implementation step of acquiring the offline duration by analyzing the stored data of the message queue is specifically provided, so that the offline duration is ensured to be correctly acquired, and the judgment correctness of the offline state is ensured.
Referring to fig. 4, fig. 4 is another specific implementation step of step S130 in the first embodiment of the offline determining method for a charging device according to the present application, where the analyzing based on the stored data of the message queue to obtain the offline duration includes:
step S131': and if the online data packet or the offline data packet is not received in the message queue within a first preset time period, generating the offline data packet and storing the offline data packet into the message queue.
Specifically, when a charging device has a problem or a base station has a problem, or TCP data is interrupted due to other reasons, but no offline data packet is sent, and no data packet is received in the message queue within a first preset time period, it is determined that a "dead" link (called a "dead link") is generated, and then an offline data packet is forcibly generated for the link. The first preset time period may be adjusted according to a service requirement, and is not limited herein.
Step S132': and forcibly assigning the offline duration to be a value larger than a preset alarm threshold value based on the time of generating the offline data packet.
Specifically, an offline data packet is generated for the 'dead link', the time when the offline data packet is generated is obtained, and the offline duration of the charging device is assigned forcibly to be a value greater than a preset alarm threshold value, so that the charging device corresponding to the 'dead link' is determined forcibly as the offline state.
In the above embodiment, there are advantageous effects of: the charging equipment under the abnormal condition is judged to be in the off-line state, so that the abnormal state of the charging equipment is managed, and the artificial off-line inspection cost is saved.
Referring to fig. 5, fig. 5 is a second embodiment of the offline determining method for a charging device according to the present application, where if the offline duration of the charging device is greater than a preset alarm threshold, after the step of determining that the charging device is in an offline state, the method further includes:
step S210: the network link data of the charging equipment are monitored, and an online data packet and an offline data packet of the charging equipment are obtained.
Step S220: and constructing a message queue, and sending and storing the uplink data packet and the downlink data packet to the message queue.
Step S230: and analyzing the stored data of the message queue to obtain the off-line time length.
Step S240: and if the offline duration of the charging equipment is greater than a preset alarm threshold, determining that the charging equipment is in an offline state.
Step S250: and acquiring the storage data in the message queue of the charging equipment in a second preset time period.
Specifically, the length of the second preset time period is not limited herein, and is adjusted according to the service requirement.
Step S260: and analyzing the stored data in the message queue to generate a data analysis result.
Specifically, the data analysis result may include the total number of offline times, the average offline time length, and the average online time length in the second preset time period, and may include a most frequent offline time range, that is, a time range in which the charging device is offline most frequently counted, so as to facilitate troubleshooting of the charging device failure; the maximum online time range can be further included, namely the maximum online time range of the charging equipment is counted, so that the normal operation of more available charging equipment is guaranteed in the time range, and the operation income is increased.
Step S270: and sending the data analysis result to a charging equipment management platform.
Specifically, the charging equipment management platform can be a system for managing the charging equipment, wherein the charging equipment management platform can send a data analysis result of the charging equipment in an offline state to the administrator mobile equipment, so that the administrator can conveniently overhaul the charging equipment in the offline state, the time of the charging equipment in the offline state is reduced as much as possible, and the operation income is increased.
Compared with the first embodiment, the second embodiment includes step S250, step S260 and step S270, and other steps are already described in the first embodiment and are not repeated herein.
As shown in fig. 6, which is a schematic diagram of the offline determination method of the charging device according to the present application, the charging device is linked with a TCP server and monitors link changes, obtains an online data packet and an offline data packet and stores the online data packet and the offline data packet into a message queue, performs data analysis operation on stored data in the message queue, obtains stored data in the message queue of the offline charging device exceeding a preset alarm threshold within a second preset time range, analyzes the stored data, and sends an analysis result to a charging device management platform, so as to ensure that a manager performs more comprehensive management on the charging device through the charging device management platform.
In the above embodiment, there are advantageous effects of: the storage data in the second preset time period of the charging equipment in the offline state are analyzed and sent to the charging equipment management platform, so that the state of the charging equipment in the network link is monitored in real time, the charging equipment can be managed more comprehensively through the charging equipment management platform, the cost for checking the charging equipment one by one under an artificial line is saved, the time that the charging equipment is in the offline state is shortened, and the operation income is increased.
In one embodiment, the data analysis result at least comprises:
the total offline times, the average offline time length and the average online time length of the charging equipment in the second preset time period.
Specifically, the total number of offline times, the average offline time length and the average online time length can be used for analyzing whether the online and offline behavior of the charging device belongs to a fault in a second preset time period, so that the normal operation of the charging device is ensured, the online time length of the charging device is improved, and the operation income is increased.
Referring to fig. 7, fig. 7 is a specific implementation step of step S160 in the second embodiment of the offline determining method for a charging device according to the present application, where analyzing the stored data in the message queue, and generating a data analysis result includes:
step S261: and if any element in the message queue is an offline data packet and the previous element of the element is an online data packet, acquiring the online times, the offline time in the offline data packet and the online time in the online data packet.
Specifically, if an element in the message queue is an offline data packet and a previous element of the element is a record of an online data packet, the number of times of online is increased by one until all elements in the message queue are traversed, and the number of times of online, the offline time of the offline data packet, and the online time of the online data packet are obtained in step S262: and calculating to obtain the total online time length based on the online time and the offline time.
Specifically, the online time is calculated by subtracting the online time from the offline time; and adding all the obtained online time lengths, and calculating to obtain the total online time length.
Step S263: and calculating to obtain the average online time length based on the online times and the total online time length.
Specifically, the average online time length may be obtained by calculating the total online time length by dividing the number of times of the line.
In the above embodiment, there are advantageous effects of: the average online time is obtained, so that the charging equipment platform can be helped to analyze the charging equipment, and the overhaul time interval can be determined based on the average online time so as to ensure that more charging equipment is in a normal charging state.
In one embodiment, the data packet includes at least:
packet type, device number, and device type.
Specifically, the data packet types are divided into an online data packet and an offline data packet, and the equipment types are divided into a charging station and a charging pile.
In the above embodiment, there are beneficial effects of: the data contained in the data packet ensures the smooth generation of the analysis result, thereby ensuring the correctness of the offline duration calculation and the correctness of the offline state judgment.
The present application further provides an offline determination system of a charging device, the system includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for monitoring network link data of charging equipment and acquiring an online data packet and an offline data packet of the charging equipment;
the storage module is used for constructing a message queue, and sending and storing the online data packet and the offline data packet to the message queue;
the analysis module is used for analyzing the stored data of the message queue to obtain the off-line duration;
the judging module is used for judging that the charging equipment is in an off-line state if the off-line time of the charging equipment is greater than a preset alarm threshold value.
The offline judgment system 02 of the charging device shown in fig. 8 includes an obtaining module 21, a storage module 22, an analyzing module 23, and a judging module 24, and the offline judgment system of the charging device may execute the method steps of the embodiments shown in fig. 1, 3, 4, 5, and 7, and reference may be made to the related descriptions of the embodiments shown in fig. 1, 3, 4, 5, and 7 for a part not described in detail in this embodiment. The implementation process and technical effect of the technical solution are described in the embodiments shown in fig. 1, fig. 3, fig. 4, fig. 5, and fig. 7, and are not described again here.
The present application further provides a computer storage medium, where an offline judgment method program of a charging device is stored on the computer storage medium, and when executed by a processor, the offline judgment method program of the charging device implements the steps of any one of the offline judgment methods of the charging device.
The application also provides an offline judgment device, which comprises a memory, a processor and an offline judgment method program of the charging device, wherein the offline judgment method program of the charging device is stored in the memory and can run on the processor, and the step of the offline judgment method of the charging device is realized when the processor executes the offline judgment method program of the charging device.
An offline determination device 010 related to the present application includes, as shown in fig. 9: at least one processor 012, memory 011.
The processor 012 may be an integrated circuit chip having signal processing capability. In implementation, the steps of the method may be performed by hardware integrated logic circuits or instructions in the form of software in the processor 012. The processor 012 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 components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 011, and the processor 012 reads the information in the memory 011 and completes the steps of the method in combination with the hardware.
It is to be understood that the memory 011 in embodiments of the present invention can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double data rate Synchronous Dynamic random access memory (ddr DRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 011 of the systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An offline judgment method for a charging device is characterized by comprising the following steps:
monitoring network link data of charging equipment to obtain an online data packet and an offline data packet of the charging equipment;
constructing a message queue, and sending and storing the online data packet and the offline data packet to the message queue;
analyzing the stored data of the message queue to obtain an offline duration;
and if the offline duration of the charging equipment is greater than a preset alarm threshold, determining that the charging equipment is in an offline state.
2. The offline judgment method of the charging device according to claim 1, wherein the analyzing the stored data of the message queue to obtain an offline duration includes:
if the current element in the message queue is the online data packet and the previous element of the current element is the offline data packet, acquiring the online time in the online data packet and the offline time in the offline data packet;
and calculating to obtain the off-line time length based on the online time and the offline time.
3. The offline judgment method of the charging device according to claim 1, wherein the analyzing based on the stored data of the message queue to obtain the offline duration includes:
if the online data packet or the offline data packet is not received in the message queue within a first preset time period, generating the offline data packet and storing the offline data packet into the message queue;
and forcibly assigning the offline duration to be a value larger than a preset alarm threshold value based on the time of generating the offline data packet.
4. The offline judging method of the charging device according to claim 1, wherein after the step of determining that the charging device is in an offline state if the offline duration of the charging device is greater than a preset alarm threshold, the method further comprises:
acquiring storage data in the message queue of the charging equipment within a second preset time period;
analyzing the stored data in the message queue to generate a data analysis result;
and sending the data analysis result to a charging equipment management platform.
5. The offline judgment method of the charging device according to claim 4, wherein the data analysis result at least includes:
the total offline times, the average offline time length and the average online time length of the charging equipment in the second preset time period.
6. The offline judgment method of the charging device according to claim 5, wherein the analyzing the stored data in the message queue to generate a data analysis result comprises:
if any element in the message queue is an offline data packet and the previous element of the element is an online data packet, acquiring the online times, the offline time in the offline data packet and the online time in the online data packet;
calculating to obtain total online time based on the online time and the offline time;
and calculating to obtain the average online time length based on the online times and the total online time length.
7. The offline determination method for a charging device according to claim 1, wherein the data packet at least includes:
packet type, device number, and device type.
8. An offline determination system for a charging device, the system comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for monitoring network link data of charging equipment and acquiring an online data packet and an offline data packet of the charging equipment;
the storage module is used for constructing a message queue, and sending and storing the online data packet and the offline data packet to the message queue;
the analysis module is used for analyzing the stored data of the message queue to obtain the off-line duration;
the judging module is used for judging that the charging equipment is in an off-line state if the off-line time of the charging equipment is greater than a preset alarm threshold value.
9. A computer storage medium, characterized in that the computer storage medium stores an offline judgment method program of a charging device, and the offline judgment method program of the charging device realizes the steps of the offline judgment method of the charging device according to any one of claims 1 to 8 when executed by a processor.
10. An offline determination device, comprising a memory, a processor, and an offline determination method program of a charging device, which is stored in the memory and can be executed on the processor, wherein the processor implements the steps of the offline determination method of the charging device according to any one of claims 1 to 8 when executing the offline determination method program of the charging device.
CN202110323393.XA 2021-03-25 2021-03-25 Offline judgment method, system and device for charging device and computer storage medium Pending CN113079063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110323393.XA CN113079063A (en) 2021-03-25 2021-03-25 Offline judgment method, system and device for charging device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110323393.XA CN113079063A (en) 2021-03-25 2021-03-25 Offline judgment method, system and device for charging device and computer storage medium

Publications (1)

Publication Number Publication Date
CN113079063A true CN113079063A (en) 2021-07-06

Family

ID=76610601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110323393.XA Pending CN113079063A (en) 2021-03-25 2021-03-25 Offline judgment method, system and device for charging device and computer storage medium

Country Status (1)

Country Link
CN (1) CN113079063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117076874A (en) * 2023-10-17 2023-11-17 广东鹰视能效科技有限公司 Batch instrument defect diagnosis method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109813982A (en) * 2019-01-24 2019-05-28 深圳智链物联科技有限公司 Charging pile down Monitor Unit method, apparatus and charging pile manage platform, storage medium
CN111064634A (en) * 2019-12-06 2020-04-24 中盈优创资讯科技有限公司 Method and device for monitoring mass Internet of things terminal online state
CN112422369A (en) * 2020-11-19 2021-02-26 青岛海尔科技有限公司 Method and device for determining offline time, storage medium and electronic device
CN112448959A (en) * 2020-12-07 2021-03-05 四川光慧新能源科技有限公司 Communication protocol and message format of charging pile and control center

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109813982A (en) * 2019-01-24 2019-05-28 深圳智链物联科技有限公司 Charging pile down Monitor Unit method, apparatus and charging pile manage platform, storage medium
CN111064634A (en) * 2019-12-06 2020-04-24 中盈优创资讯科技有限公司 Method and device for monitoring mass Internet of things terminal online state
CN112422369A (en) * 2020-11-19 2021-02-26 青岛海尔科技有限公司 Method and device for determining offline time, storage medium and electronic device
CN112448959A (en) * 2020-12-07 2021-03-05 四川光慧新能源科技有限公司 Communication protocol and message format of charging pile and control center

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117076874A (en) * 2023-10-17 2023-11-17 广东鹰视能效科技有限公司 Batch instrument defect diagnosis method and system
CN117076874B (en) * 2023-10-17 2023-12-26 广东鹰视能效科技有限公司 Batch instrument defect diagnosis method and system

Similar Documents

Publication Publication Date Title
CN108491305B (en) Method and system for detecting server fault
CN111143163B (en) Data monitoring method, device, computer equipment and storage medium
EP3258653A1 (en) Message pushing method and device
CN110784355A (en) Fault identification method and device
CN110674149B (en) Service data processing method and device, computer equipment and storage medium
CN111225004B (en) Method and device for expanding server cluster and readable medium
CN113079063A (en) Offline judgment method, system and device for charging device and computer storage medium
CN110930254A (en) Data processing method, device, terminal and medium based on block chain
CN113762197A (en) Transformer substation fire detection method and device based on terminal power business edge calculation
CN110781950B (en) Message processing method and device
CN110543509B (en) Monitoring system, method and device for user access data and electronic equipment
CN110445658B (en) Message processing method and system
CN108521435B (en) Method and system for user network behavior portrayal
CN115378841B (en) Method and device for detecting state of equipment accessing cloud platform, storage medium and terminal
CN109462510B (en) CDN node quality evaluation method and device
CN113448747A (en) Data transmission method and device, computer equipment and storage medium
CN112533246A (en) Monitoring system and method for frequent network requests of intelligent equipment
CN107678905B (en) Monitoring method and device
CN111711537B (en) Method, device and equipment for updating standby main node list
CN115080366B (en) Alarm method, alarm device, computer equipment and storage medium
CN113489708B (en) Detection method and device, electronic equipment and computer readable storage medium
CN110430093B (en) Data processing method and device and computer readable storage medium
CN113312218A (en) Method and device for detecting magnetic disk
CN116260771A (en) Flow processing method and device for micro-service and electronic equipment
CN117762763A (en) Model training performance maintenance method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210706

RJ01 Rejection of invention patent application after publication