Analysis method, system, computing device and medium for abnormal communication of gas equipment
By establishing a communication abnormality analysis model in the Internet of Things system, analyzing the communication information and settlement instructions of gas equipment, and comparing the abnormal conditions one by one, the problem of time-consuming and incomplete coverage of communication abnormality analysis in the existing technology is solved, and rapid and comprehensive and accurate communication abnormality analysis.
Patent Information
- Application Number
- CN202411805237.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2044-12-10
AI Technical Summary
The existing gas equipment communication abnormality analysis method takes a lot of time and cannot fully cover all communication abnormalities, resulting in some equipment or abnormal types being missed, and the conclusions of manual analysis cannot be fed back to the system, resulting in subsequent repeated analysis.
A method of communication abnormality analysis of gas equipment is adopted. By establishing a communication abnormality analysis model in the Internet of Things system, the communication information uploaded by gas equipment is obtained, settlement and settlement instructions are generated, and the communication details are obtained from communication information and settlement instructions based on the analysis model. Record, compare the exception status with the stored exception type one by one, and store the exception comparison results.
It realizes rapid response analysis of communication abnormalities of gas equipment, with a more comprehensive and accurate coverage, reduces the time and human error of manual analysis, and optimizes the Internet of Things system through feedback, improving the efficiency of communication abnormality analysis.
Smart Images

Figure CN119299288B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of gas data processing, and in particular to a method, system, computing device and medium for analyzing abnormal communication of gas equipment. Background Art
[0002] When gas equipment (hereinafter referred to as equipment) communicates and interacts with the Internet of Things system (hereinafter referred to as the system), communication anomalies may occur due to various reasons such as equipment failure, system failure, network fluctuation, data anomaly, etc. The current common solution is to determine the proportion of equipment that causes communication anomalies by the meter reading rate (number of meter reading equipment on the day / total number of equipment on the day), and then manually sample the equipment with communication anomalies, and analyze the cause of the anomaly through the equipment data combined with the system log and the equipment log.
[0003] The above communication anomaly analysis method takes a lot of time and affects customer service. In addition, sampling analysis cannot cover all communication anomalies, and some devices or some anomaly types are easily missed. The conclusions generated by manual analysis cannot be fed back to the system, resulting in the need for repeated manual analysis when the same problem occurs later. Summary of the invention
[0004] In order to address the deficiencies of the prior art, the purpose of the present application is to provide a method, system, computing device and medium for analyzing gas equipment communication anomalies that can quickly respond to and analyze communication anomalies and provide a more comprehensive and accurate analysis of communication anomalies.
[0005] To achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a method for analyzing abnormal communication of a gas device, the method for analyzing is applied to an Internet of Things system, and the method for analyzing comprises:
[0007] In a communication cycle, obtain the communication information uploaded by the gas equipment;
[0008] Performing settlement on the gas equipment based on the communication information to generate a settlement instruction representing the settlement result;
[0009] Obtain communication detail records from communication information and settlement instructions based on a pre-established communication anomaly analysis model, and determine abnormal conditions of the gas equipment and / or the Internet of Things system based on the communication detail records;
[0010] Based on the communication anomaly analysis model, the abnormal condition is compared with the stored first communication anomaly type one by one to obtain an abnormality comparison result;
[0011] The abnormal comparison results are stored in the IoT system.
[0012] Further, before obtaining the communication detail record from the communication information and the settlement instruction based on the pre-established communication anomaly analysis model, the analysis method further includes: determining whether there is a communication cycle record corresponding to the communication information, the communication cycle record being generated based on the communication information or the settlement instruction;
[0013] If so, obtain communication detail records from the communication information and settlement instructions based on the communication anomaly analysis model;
[0014] If not, a new communication cycle record is created, and relevant information is obtained from the communication information to generate a communication detail record corresponding to the new communication cycle record.
[0015] Furthermore, the communication cycle record includes: communication cycle identifier, tenant identifier, device identifier, communication cycle start time and communication cycle end time; the communication detail record includes: communication detail record identifier, communication cycle identifier, communication time, communication source, communication target, communication content and communication result.
[0016] Further, the abnormal condition is compared with the stored first communication abnormality type one by one based on the communication abnormality analysis model, including: based on the communication abnormality analysis model, the abnormal condition is compared with the stored first communication abnormality type one by one to determine whether there is an abnormal condition in the first communication abnormality type;
[0017] If so, determine the abnormal type of the gas equipment and / or the Internet of Things system, and use the abnormal type of the gas equipment and / or the Internet of Things system as the abnormal comparison result.
[0018] If not, the second communication anomaly type is input based on a pre-established interface, and the anomaly status and the second communication anomaly type are compared one by one.
[0019] Furthermore, the first source of communication anomaly is divided into device anomaly and system anomaly, among which device anomaly includes: the gas equipment does not respond to the settlement instruction; the gas equipment responds to the settlement instruction and generates an erroneous execution; the communication information uploaded by the gas equipment is abnormal, resulting in the inability to settle the Internet of Things system; system anomaly includes: abnormal operation of the Internet of Things system; Internet of Things system data error; the Internet of Things system does not issue a settlement instruction; the Internet of Things system times out in issuing the settlement instruction.
[0020] Further, the settlement instruction is sent to the gas device through the Internet of Things system, and the time of sending the settlement instruction is determined as the start time;
[0021] If the IoT system does not obtain feedback information sent by the gas equipment within the set time, the communication cycle is marked as over, and a first abnormal signal is generated based on the settlement instruction;
[0022] Based on the Internet of Things system, it is determined whether the first abnormal signal contains an end frame. If not, it is determined that the gas equipment is abnormal.
[0023] Further, the settlement instruction is sent to the gas device through the Internet of Things system, and the time of sending the settlement instruction is determined as the start time;
[0024] If the IoT system obtains feedback information sent by the gas equipment based on the settlement instruction within the set time, the time when the gas equipment sends the feedback information is determined as the deadline;
[0025] Determine whether the time difference between the start time and the end time is greater than a preset time threshold. If so, it is determined that there is an abnormality in the Internet of Things system.
[0026] In a second aspect, the present application provides an Internet of Things system, in which the Internet of Things system is communicatively connected with the gas equipment, and the Internet of Things system includes a communication process control subsystem, a collection and settlement subsystem, and a communication anomaly analysis subsystem; the communication process control subsystem is used to obtain communication information uploaded by the gas equipment in a communication cycle; the collection and settlement subsystem is used to obtain the communication information sent by the communication process control subsystem, and settle the gas equipment according to the communication information to generate a settlement instruction representing the settlement result; the communication anomaly analysis subsystem is used to obtain and analyze the communication information and the settlement instruction to determine the communication status between the gas equipment and the Internet of Things system; wherein a pre-established communication anomaly analysis model is stored in the communication anomaly analysis subsystem, and the communication anomaly analysis subsystem obtains communication detail records from the communication information and the settlement instruction based on the communication anomaly analysis model, and compares the communication detail records with the first communication anomaly type stored in the communication anomaly analysis subsystem one by one, and the communication anomaly analysis subsystem is also used to use information with the same anomaly comparison result as anomaly information, and store it in the communication anomaly analysis subsystem.
[0027] In a third aspect, the present application provides a computing device, comprising a memory and one or more processors; wherein the memory stores computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the above-mentioned method for analyzing communication anomalies of any gas equipment is executed as required.
[0028] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned method for analyzing communication anomalies of any gas equipment as required.
[0029] The above-mentioned gas equipment communication anomaly analysis method obtains communication detail records based on a pre-established communication anomaly analysis model and compares the communication detail records with the anomaly types one by one to obtain anomaly information, thereby achieving a rapid and comprehensive response to and analysis of communication anomalies, and can continuously optimize the Internet of Things system through positive and negative feedback to improve the analysis efficiency of communication anomalies. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 This is an application environment diagram of the method for analyzing abnormal communication of gas equipment in an embodiment of the present application;
[0031] Figure 2 This is a flow chart of a method for analyzing abnormal communication of gas equipment in an embodiment of the present application;
[0032] Figure 3 This is a flowchart of analyzing abnormalities in the Internet of Things system in an embodiment of the present application;
[0033] Figure 4 This is a schematic diagram of an Internet of Things system in an embodiment of the present application;
[0034] Figure 5 Schematic diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the specific implementation manner of the present application will be clearly and completely described below in conjunction with the drawings in the implementation manner of the present application.
[0036] The purpose of the present invention is to propose a method for analyzing the cause of abnormal communication of gas equipment. The method is applied to the Internet of Things system 100. The Internet of Things system 100 is a network that connects objects to the Internet through information sensing devices to exchange information to achieve intelligent identification and management.
[0037] like Figure 1 In the application environment of the method for analyzing the cause of abnormal communication of gas equipment shown, the gas equipment 200 is connected to the Internet of Things system 100 for communication. When the communication of the gas equipment 200 is abnormal, the Internet of Things system 100 can quickly analyze the cause of the abnormality from the communication-related data. For new abnormal types of the gas equipment 200 and / or the Internet of Things system 100, after manual analysis, they can be fed back to the Internet of Things system 100, so that the ability of the Internet of Things system 100 to analyze the cause of communication abnormality is continuously enhanced and improved.
[0038] like Figure 2 As shown, the embodiment of the present application provides a method for analyzing abnormal communication of a gas device, comprising the following steps:
[0039] Step S101: In a communication cycle, communication information uploaded by the gas equipment is obtained.
[0040] Step S102: Perform settlement on the gas equipment based on the communication information and generate a settlement instruction, which can represent the settlement result of the gas equipment.
[0041] Step S103: obtaining communication detail records from the communication information and the settlement instructions based on a pre-established communication anomaly analysis model, and determining the abnormal conditions of the gas equipment and / or the Internet of Things system based on the communication detail records.
[0042] Step S104: compare the abnormal conditions with the stored first communication abnormality types one by one based on the communication abnormality analysis model to obtain an abnormality comparison result.
[0043] Step S105: store the abnormal comparison result in the Internet of Things system.
[0044] By executing the above steps, it is possible to quickly and accurately respond to and analyze gas equipment communication anomalies.
[0045] In some embodiments, before obtaining communication detail records from communication information and settlement instructions based on a pre-established communication anomaly analysis model, the analysis method further includes the following process:
[0046] Based on a pre-established communication anomaly analysis model, determine whether there is a communication cycle record corresponding to the communication information; if the judgment result is yes, obtain the communication detail record from the communication information and settlement instructions based on the pre-established communication anomaly analysis model; if the judgment result is no, generate a new communication cycle record.
[0047] If there is a communication cycle record corresponding to the communication information, the communication detail record and the communication cycle record can be associated through the timestamps in the communication information and the settlement instruction. If there is no communication cycle record corresponding to the communication information, the communication detail record corresponding to the communication information is associated with the new communication cycle record based on the timestamp in the communication information.
[0048] It should be noted that the above steps need to be repeated to complete the communication cycle. Whether the communication cycle is over can be determined by judging whether the communication detail record contains an end frame, or by a delay task to determine whether the communication cycle has timed out. That is, the IoT system sends an end frame to the gas equipment or the specified time has passed since the last communication interaction, indicating that the communication cycle has ended.
[0049] The gas equipment in the embodiment of the present application may include an IoT gas meter, and the communication information may include communication instructions, gas usage data, etc.
[0050] Exemplarily, a communication anomaly analysis model is pre-established on the Internet of Things system, and the communication anomaly analysis model includes a communication record generation module and a communication record analysis module. The communication record generation module is used to receive communication data and generate communication records; the communication record analysis module is used to analyze communication records and generate communication anomaly records.
[0051] In an embodiment of the present application, before obtaining the communication detail record in the communication information and the settlement instruction, it is determined whether there is a communication cycle record corresponding to the communication information based on the communication anomaly analysis model. The communication cycle record is a record generated based on the communication information or the settlement instruction, and the communication cycle record is used to record the data of a communication cycle between the gas equipment and the Internet of Things system. The communication cycle record includes a communication cycle identifier, a tenant identifier, a communication cycle start time, and a communication cycle end time, wherein the communication cycle identifier marks a specific and unique communication cycle; the tenant identifier marks the tenant who uses the gas equipment; the communication cycle start time and the communication cycle end time record the start time, end time, and duration of the communication cycle jointly marked by the communication cycle identifier and the tenant identifier.
[0052] Exemplarily, if there is a communication cycle record corresponding to the communication information, the Internet of Things system obtains the communication detail record from the communication information and the settlement instruction based on the communication anomaly analysis model. The communication detail record is used to record the interaction information between the gas equipment and the Internet of Things system or the interaction information within the Internet of Things system in each communication cycle. The communication detail record includes a communication detail record identifier, a communication cycle identifier, a communication time, a communication source, a communication target, a communication content, and a communication result. The communication detail record identifier marks a specific and unique communication detail record; the communication cycle identifier marks a specific and unique communication cycle, and the communication cycle identifier in the communication detail record corresponds to the communication cycle identifier in the communication cycle record to determine a specific and unique communication cycle; the communication time records the time of the communication; the communication source records the sender of the communication information; the communication target records the receiver of the communication information; the communication content records the specific content of the communication; the communication result records the result of this communication, including success, system abnormality, device data abnormality, etc.
[0053] Exemplarily, if there is no communication cycle record corresponding to the communication information, the Internet of Things system will create a new communication cycle record based on the communication anomaly analysis model, and obtain the communication detail record identifier, communication cycle identifier, communication time, communication source, communication target, communication content, and communication result from the communication information to generate a communication detail record corresponding to the new communication cycle record.
[0054] In an embodiment of the present application, when the Internet of Things system obtains a complete communication detail record, the abnormal condition will be compared with the first communication abnormality type one by one. Specifically, when the Internet of Things system obtains a complete communication detail record, all first communication abnormality types will be loaded, and based on the communication abnormality analysis model, the abnormal condition will be compared with the first communication abnormality type pre-stored in the Internet of Things system one by one, and it will be determined whether the same abnormal condition exists in the first communication abnormality type.
[0055] Since the methods of judging each communication anomaly are different, the specific anomaly judgment logic is also different. In order to isolate the judgment logic of each communication anomaly type, the Internet of Things system has pre-established an interface. When analyzing communication anomalies, the communication anomaly type is judged one by one according to the rules defined in the interface. If a new communication anomaly type appears and the current communication anomaly type can no longer meet the needs, a new communication anomaly analysis interface can be quickly expanded through the communication anomaly interface. The setting of the interface complies with the open-closed principle. The open-closed principle means that the software is open for expansion and closed for modification.
[0056] In the embodiment of the present application, the first source of communication anomaly is divided into device anomaly and system anomaly, among which device anomaly includes the gas device not responding to the settlement instruction; the gas device responding to the settlement instruction and generating an erroneous execution; the communication information uploaded by the gas device is abnormal, resulting in the inability to settle the Internet of Things system; the system anomaly includes abnormal operation of the Internet of Things system; data error in the Internet of Things system; the Internet of Things system does not issue a settlement instruction; the Internet of Things system times out in issuing a settlement instruction.
[0057] For example, if the abnormal condition and the first communication abnormality type are compared one by one, and the same abnormal condition exists in the first communication abnormality type, the communication abnormality type can be determined and a communication abnormality record can be generated. The communication abnormality record includes a communication cycle identifier, an abnormality source, and an abnormality type. The communication cycle identifier is used to determine a specific and unique communication cycle, the abnormality source is used to determine a device abnormality or a system abnormality, and the abnormality type is used to record a specific abnormal problem that occurs in the gas equipment.
[0058] Exemplarily, if the abnormal condition is compared with the first communication abnormality type one by one, and there is no identical abnormal condition in the first communication abnormality type, manual analysis can be performed. Specifically, based on the pre-established interface, the second communication abnormality type is input, the abnormal condition is compared with the second communication abnormality type one by one, the communication abnormality type is determined, and the specific abnormality type can be added to the first communication abnormality type through the interface in subsequent work.
[0059] like Figure 3 As shown, in the embodiment of the present application, the IoT system analyzes anomalies including the following steps:
[0060] Step S201, receiving communication data;
[0061] Step S202, determine whether the communication cycle record exists, if the determination result is no, execute step S203; if the determination result is yes, execute step S204;
[0062] Step S203, generating a communication cycle record;
[0063] Step S204: Generate communication details record;
[0064] Step S205, determine whether the communication cycle is over, if the determination result is yes, execute step S206; if the determination result is no, execute step S205 again after a delay;
[0065] Step S206: Push communication records;
[0066] Step S207, loading the first exception type;
[0067] Step S208, analyzing the communication records through the implementation class;
[0068] Step S209, determine whether the communication is abnormal, if the determination result is yes, execute step S210; if the determination result is no, execute step S211;
[0069] Step S210: Generate communication abnormality record
[0070] Step S211, determine whether there is any abnormal type, if the determination result is yes, return to step S208, if the determination result is no, execute step S212;
[0071] Step S212, end the abnormality analysis.
[0072] It should be noted that although the steps in the above process or the flowchart in the accompanying drawings show a logical order, in some cases, the steps shown or described may be executed in an order different from that shown or described here.
[0073] Exemplarily, the Internet of Things system sends a settlement instruction to the gas equipment, and determines the time of sending the settlement instruction as the start time; if the Internet of Things system does not obtain the feedback information sent by the gas equipment within the set time, the communication cycle is marked as over, and a first abnormal signal is generated based on the settlement instruction; the Internet of Things system determines whether the first abnormal signal contains an end frame, and if not, it determines that the gas equipment is abnormal.
[0074] Exemplarily, when the Internet of Things system is performing collection and settlement, it is found that the collected data is empty and settlement cannot be performed. At this time, a second abnormal signal is generated, and the second abnormal signal includes an error coded as ERR0001, which represents the error that the collected data is empty. The Internet of Things system determines whether the second abnormal signal contains an end frame. If so, the second abnormal signal is analyzed and it is found that the first abnormal type has an error coded as ERR0001, which meets the communication abnormality type that the device data abnormality causes the system to fail to settle, so a communication abnormality record is recorded.
[0075] Exemplarily, the communication Internet of Things system sends a settlement instruction to the gas equipment, and determines the time of sending the settlement instruction as the start time; if the Internet of Things system obtains feedback information sent by the gas equipment within the set time, the time when the gas equipment sends the feedback information is determined as the end time; it is determined whether the time difference between the start time and the end time is greater than the preset time threshold. If so, it is determined that there is an abnormality in the Internet of Things system.
[0076] like Figure 4 As shown, the embodiment of the present application also provides an Internet of Things system 100 for analyzing the cause of abnormal communication of gas equipment. The Internet of Things system 100 includes a coding and decoding subsystem 11, a communication process control subsystem 12, a collection and settlement subsystem 13, and a communication abnormality analysis subsystem 14.
[0077] Specifically, the encoding and decoding subsystem 11 is used to decode the instructions received by the Internet of Things system 100 and uploaded by the gas equipment 200 into standard format data, and send it to the communication process control subsystem 12.
[0078] Specifically, the communication process control subsystem 12 is used to obtain the communication information uploaded by the gas equipment 200 in a communication cycle. The communication process control subsystem 12 can realize communication interaction with the encoding and decoding subsystem 11 and the collection and settlement subsystem 13. The communication information is transmitted between subsystems in the form of instructions. The communication information may include information such as gas usage, equipment identification, and tenant identification. The communication process control subsystem 12 determines whether it is necessary to issue instructions, the content of the instructions issued, and the target of the instruction according to the received instructions and the cached instructions. Factors that generate cached instructions may include the timing of the gas equipment 200. When the Internet of Things system 100 needs to issue instructions, the instructions will be cached in the communication process control subsystem 12 first, and then the instructions will be sent when the gas equipment 200 communicates.
[0079] Specifically, the collection and settlement subsystem 13 is used to obtain the communication information sent by the communication process control subsystem 12, and settle the gas equipment 200 according to the communication information to generate a settlement instruction representing the settlement result. The collection and settlement subsystem 13 sends the generated settlement instruction to the communication process control subsystem 12.
[0080] Specifically, the communication anomaly analysis subsystem 14 is used to obtain communication information and settlement instruction analysis to determine the communication status between the gas device 200 and the Internet of Things system 100. The communication anomaly analysis subsystem 14 stores a pre-established communication anomaly analysis model, which includes a communication record generation module and a communication record analysis module. The communication record generation module is used to detect and generate communication records, which include communication cycle records and communication detail records. The communication record analysis module is used to analyze the communication records and generate communication anomaly records. The communication record analysis module includes a first communication anomaly, which is a known communication anomaly type. The communication anomaly analysis subsystem 14 obtains communication detail records from the communication information and the settlement instruction based on the communication anomaly analysis model, and compares the communication detail records with the first communication anomaly type stored in the communication anomaly analysis subsystem 14 one by one. The communication anomaly analysis subsystem 14 is also used to use the information with the same anomaly comparison result as anomaly information, and store the anomaly information in the communication anomaly analysis subsystem 14.
[0081] like Figure 5 As shown, an embodiment of the present application further provides a computing device 300, which includes a memory 31 and one or more processors 32, wherein the memory is used to store computer program code, and the computer program code includes computer instructions. When the computer instructions are executed by the processor, the method for analyzing gas equipment communication anomalies disclosed in the above example of the present application is executed.
[0082] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium is machine-readable and has a computer program stored on it. When the computer program on the storage medium is executed by a processor, the method for analyzing gas equipment communication anomalies disclosed in the above example of the present application is executed.
[0083] The above-mentioned machine-readable storage medium may include, but is not limited to, electronic, magnetic, optical, infrared or other physical storage devices or equipment, and may contain or store information, such as executable instructions, data, etc. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives, etc.), SSD (Solid State Disk), any type of storage disk (such as optical disks, etc.), or similar storage media, or any suitable combination of the above.
[0084] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for analyzing the causes of abnormal communication of gas equipment, which is applied to the Internet of Things system and is characterized in that: The analysis method comprises: In a communication cycle, obtain the communication information uploaded by the gas equipment; Performing settlement on the gas equipment based on the communication information to generate a settlement instruction representing a settlement result; Based on a pre-established communication anomaly analysis model, a communication detail record is obtained from the communication information and the settlement instruction, and the abnormal condition of the gas device and / or the Internet of Things system is determined based on the communication detail record; the communication detail record is used to record one interaction information between the gas device and the Internet of Things system or one interaction information within the Internet of Things system in each communication cycle; the communication detail record includes a communication detail record identifier, a communication cycle identifier, a communication time, a communication source, a communication target, a communication content, and a communication result; Based on the communication anomaly analysis model, the abnormal condition is compared with the stored first communication anomaly type one by one to obtain an anomaly comparison result; The abnormal comparison result is stored in the Internet of Things system.
2. The method for analyzing the cause of abnormal communication of gas equipment according to claim 1, characterized in that: Before acquiring communication detail records from the communication information and the settlement instruction based on the pre-established communication anomaly analysis model, the analysis method further includes: determining whether there is a communication cycle record corresponding to the communication information, wherein the communication cycle record is generated based on the communication information or the settlement instruction; If so, obtaining communication detail records from the communication information and the settlement instruction based on the communication anomaly analysis model; If not, a new communication cycle record is created, and relevant information is obtained from the communication information to generate a communication detail record corresponding to the new communication cycle record.
3. The method for analyzing the cause of abnormal communication of gas equipment according to claim 2, characterized in that: The communication cycle record includes: a communication cycle identifier, a tenant identifier, a device identifier, a communication cycle start time, and a communication cycle end time; The communication detail record includes: a communication detail record identifier, a communication cycle identifier, a communication time, a communication source, a communication target, a communication content and a communication result.
4. The method for analyzing the cause of abnormal communication of gas equipment according to claim 1, characterized in that: The comparing the abnormal condition with the stored first communication abnormality type one by one based on the communication abnormality analysis model includes: Based on the communication anomaly analysis model, the abnormal condition is compared with the stored first communication anomaly type one by one to determine whether the abnormal condition exists in the first communication anomaly type; If yes, determine the abnormal type of the gas device and / or the Internet of Things system, and use the abnormal type of the gas device and / or the Internet of Things system as the abnormal comparison result; If not, a second communication anomaly type is input based on a pre-established interface, and the abnormal condition is compared with the second communication anomaly type one by one.
5. The method for analyzing the cause of abnormal communication of gas equipment according to claim 1, characterized in that: The analysis method further comprises: The first communication abnormality source is divided into device abnormality and system abnormality, wherein the device abnormality includes: The gas device does not respond to the settlement instruction; The gas device responds to the settlement instruction and generates an error execution; The communication information uploaded by the gas equipment is abnormal, causing the Internet of Things system to be unable to settle; The system anomalies include: The IoT system operates abnormally; The IoT system data is incorrect; The Internet of Things system does not issue the settlement instruction; The Internet of Things system times out from sending the settlement instruction.
6. The method for analyzing the cause of abnormal communication of gas equipment according to claim 1, characterized in that: The analysis method further comprises: Sending the settlement instruction to the gas device through the Internet of Things system, and determining the time of sending the settlement instruction as the start time; If the IoT system does not obtain the feedback information sent by the gas device within the set time, the communication cycle is marked as over, and a first abnormal signal is generated based on the settlement instruction; Based on the Internet of Things system, it is determined whether the first abnormal signal contains an end frame. If not, it is determined that the gas equipment is abnormal.
7. The method for analyzing the cause of abnormal communication of gas equipment according to claim 1, characterized in that: The analysis method further comprises: Sending the settlement instruction to the gas device through the Internet of Things system, and determining the time of sending the settlement instruction as the start time; If the Internet of Things system obtains feedback information sent by the gas device based on the settlement instruction within the set time, the time when the gas device sends the feedback information is determined as the deadline; Determine whether the time difference between the start time and the end time is greater than a preset time threshold, and if so, determine that an abnormality exists in the Internet of Things system.
8. An Internet of Things system for analyzing the cause of abnormal communication of gas equipment, wherein the Internet of Things system is connected to the gas equipment for communication, characterized in that: The Internet of Things system includes: The communication process control subsystem is used to obtain the communication information uploaded by the gas equipment in a communication cycle; A collection and settlement subsystem, used for acquiring the communication information sent by the communication process control subsystem, and performing settlement on the gas equipment according to the communication information to generate a settlement instruction representing a settlement result; A communication anomaly analysis subsystem, the communication anomaly analysis subsystem is used to obtain communication detail records from the communication information and the settlement instruction based on a pre-established communication anomaly analysis model, and determine the abnormal condition of the gas device and / or the Internet of Things system based on the communication detail records; the communication detail records are used to record one interaction information between the gas device and the Internet of Things system or one interaction information within the Internet of Things system in each communication cycle; the communication detail records include a communication detail record identifier, a communication cycle identifier, a communication time, a communication source, a communication target, a communication content, and a communication result; The communication anomaly analysis subsystem is also used to compare the abnormal condition with the stored first communication anomaly type one by one based on the communication anomaly analysis model to obtain an anomaly comparison result, and store the anomaly comparison result in the Internet of Things system.
9. A computing device, characterized in that The computing device comprises a memory and one or more processors; wherein the memory stores computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the analysis method according to any one of claims 1 to 7 is executed.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the analysis method according to one or more of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Fault positioning method and device, equipment and storage medium
CN114173370A
Gas abnormity judgment method for realizing safe gas use and intelligent gas internet-of-things system
CN115545967A