Intelligent Meter Reading Method and Device for Integrated Four-Meter-in-One Conversion Unit Communication Timeout

The method and device address communication timeouts in integrated metering systems by identifying timeout types and applying specific strategies, enhancing data collection success and efficiency in electric, water, gas, and heat metering systems.

CN116112825BActive Publication Date: 2025-07-15ZHEJIANG RISESUN SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310000169.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-02
Publication Date
2025-07-15
Estimated Expiration
2043-01-02

AI Technical Summary

Technical Problem

In the existing power consumption information collection system, the communication reply time of some meters is too long, resulting in information collection timeout, reducing the success rate and efficiency of information collection.

Method used

By analyzing the information collection log of the table, determining the communication timeout type, and using different timeout collection strategies for information collection, including the preset first timeout collection strategy and the second timeout collection strategy, respectively, optimizing the communication path and assisting in the transmission of request information for timeouts caused by poor interaction commands and communication environment.

Benefits of technology

It improves the success rate and efficiency of information collection, effectively solves the communication timeout problem, and improves the collection efficiency of the four-table integrated system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116112825B_ABST
    Figure CN116112825B_ABST
Patent Text Reader

Abstract

The present application provides an intelligent meter reading method and device for integrating the communication timeout of the four-meter-in-one conversion unit. First, it judges whether there is a meter with communication timeout based on the information collection logs of each meter, and then further judges the reasons for the communication timeout. For different reasons, corresponding coping strategies are adopted, effectively improving the meter reading efficiency and success rate of the four-meter-in-one system in case of communication timeout.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data information collection, and particularly to an intelligent meter reading method and device integrating communication timeouts of a four-meter-in-one conversion unit. Background Art

[0002] "Four-meter centralized meter reading" means that the data of electric meters, water meters, gas meters, and heat meters are centrally reflected in the electric meter collection system, also known as "four meters in one". Relying on the widely covered collection terminals and communication resources of intelligent electric meters and power consumption information collection systems, intelligent water meters, intelligent gas meters, and intelligent heat meters are integrated for centralized meter reading.

[0003] However, the original power consumption information collection system has been standardized and fixed. During the application of meter data collection, it is found that the response times of some meters and some commands are relatively long, exceeding the timeout waiting duration for information collection. The feedback information of the meters cannot be reported to the terminal collection device within the specified time, thereby reducing the success rate and efficiency of information collection. Summary of the Invention

[0004] The embodiments of this application provide an intelligent meter reading method and device integrating communication timeouts of a four-meter-in-one conversion unit, which effectively improve the success rate and efficiency of information collection for information collection in case of communication timeouts.

[0005] To achieve the above object, this application adopts the following technical solutions:

[0006] In a first aspect, the embodiments of this application provide an intelligent meter reading method integrating communication timeouts of a four-meter-in-one conversion unit, which is applied to a four-meter-in-one system. The method includes:

[0007] Obtain the information collection logs of each meter in the four-meter-in-one system; the information collection logs include the types of interaction commands sent by the superior information collection terminal received by each meter, the first time point of receiving the interaction command, the second time point of feedbacking the collection information according to the interaction command, and the third time point of successful upload of the collection information;

[0008] Judge whether there is a communication timeout for each meter according to the information collection logs. If so, further judge the timeout type of the meter with the communication timeout; the timeout type includes a first timeout type caused by the interaction command and a second timeout type caused by a poor communication environment;

[0009] When it is judged that the timeout type of the meter is the first timeout type, perform information collection through a preset first timeout centralized meter reading strategy; when it is judged that the timeout type of the meter is the second timeout type, perform information collection through a preset second timeout centralized meter reading strategy;

[0010] For meters that collect information through the first timeout-based centralized meter reading strategy or the second timeout-based centralized meter reading strategy, record the specific type of timeout-based centralized meter reading strategy adopted, the time when the timeout-based centralized meter reading strategy is adopted, and the effect of adopting the timeout-based centralized meter reading strategy in the information collection log.

[0011] Optionally, the step of determining whether there is a communication timeout for each meter according to the information collection log specifically includes:

[0012] If no third time point is recorded between the two first time points in the information collection log, it is determined that there is a communication timeout for this meter;

[0013] If there is a recorded third time point, calculate the first time difference between the first time point and the subsequent third time point, and determine whether the first time difference is greater than the communication timeout value corresponding to the meter type according to the meter type of the meter that records this information collection log. If so, it is determined that there is a communication timeout for this meter.

[0014] Optionally, the step of determining the timeout type of the meter with a communication timeout specifically includes:

[0015] Calculate the second time difference between the first time point and the subsequent second time point, and determine whether the second time difference is greater than the communication timeout value corresponding to the meter type according to the meter type of the meter that records this information collection log. If it is greater, it is determined that the timeout type of this meter is the first timeout type; if the second time difference is less than the communication timeout value corresponding to the meter type, it is determined that the timeout type of this meter is the second timeout type.

[0016] Optionally, the step of collecting information through the preset first timeout-based centralized meter reading strategy specifically includes:

[0017] After receiving the interaction command sent by the superior information collection terminal, perform corresponding operations according to the interaction command, and wait for the meter to feedback the collected information according to the interaction command;

[0018] If a new interaction command is received again during the waiting process, compare it with the previous interaction command;

[0019] If the received new interaction command is the same as the previous interaction command, ignore the received new interaction command and continue to execute the current operation;

[0020] If the received new interaction command is different from the previous interaction command, interrupt the currently executing operation, perform corresponding operations according to the received new interaction command, and wait for the meter to feedback the collected information according to the interaction command;

[0021] After receiving the acquisition information fed back by the meter according to the interaction command, it is immediately uploaded to the superior information acquisition terminal;

[0022] If the next interaction command received after uploading the acquisition information to the superior information acquisition terminal is the same as the previous one, the acquisition information just uploaded is uploaded to the superior information acquisition terminal again.

[0023] Optionally, the step of performing information acquisition through the preset second timeout centralized meter reading strategy specifically includes:

[0024] According to the information acquisition log, find other meters that have not had communication timeouts currently;

[0025] Select one of the other meters that have not had communication timeouts and have the shortest communication path with the meter whose timeout type is the second timeout type;

[0026] Send the acquisition information currently to be fed back by the meter whose timeout type is the second timeout type and the corresponding interaction command to the selected meter;

[0027] The selected meter feeds back the received acquisition information according to the interaction command.

[0028] Optionally, the step of selecting one of the other meters that have not had communication timeouts and have the shortest communication path with the meter whose timeout type is the second timeout type specifically includes:

[0029] The meter whose timeout type is the second timeout type sends out an assistance request message to other meters that have direct communication connections with it;

[0030] After receiving the assistance request message, other meters, according to whether they are in a communication timeout state, if so, continue to forward the assistance request message to meters that have not received the assistance request message and add their own meter information, if not, feedback the acceptance of assistance information and their own meter information to the meter that sent the assistance request message;

[0031] If a meter that has sent the assistance request message non-first time receives the acceptance of assistance information, it forwards the acceptance of assistance information to the meter that sent the assistance request message and adds its own meter information;

[0032] The meter whose timeout type is the second timeout type determines the meter with the shortest communication path according to the received acceptance of assistance information and the number of added meter information.

[0033] Optionally, the method further includes:

[0034] For meters that have had communication timeouts, extract the relevant data in the corresponding time period from the information acquisition log;

[0035] By means of common feature extraction, determine whether there are regular features of communication timeout.

[0036] According to the extracted regular features, estimate the meters that may be about to have communication timeout and the timeout types of communication timeout. When the judgment reaches the estimation condition, directly adopt the timeout set-meter reading strategy corresponding to the timeout type for the corresponding meters for information collection.

[0037] Optionally, the step of determining whether there are regular features of communication timeout by means of common feature extraction specifically includes:

[0038] For the meters with the timeout type being the first timeout type, according to the meter type and the type of interaction command that causes communication timeout, determine whether certain types of interaction commands will definitely cause the meters of a specific type to have communication timeout with the timeout type being the first timeout type.

[0039] The step of estimating the meters that may be about to have communication timeout and the timeout types of communication timeout according to the extracted regular features, and when the judgment reaches the estimation condition, directly adopting the timeout set-meter reading strategy corresponding to the timeout type for the corresponding meters for information collection specifically includes:

[0040] If there is an interaction command type that will definitely cause the meters of a specific type to have communication timeout, then when the superior information collection terminal issues this type of interaction command, judge the meter type receiving the interaction command. If there is a meter type that will definitely cause communication timeout, for these meters, directly perform information collection through the preset first timeout set-meter reading strategy.

[0041] Optionally, the step of determining whether there are regular features of communication timeout by means of common feature extraction specifically includes:

[0042] For the meters with the timeout type being the second timeout type, according to the meter type, device parameter information, and environmental parameter information, determine whether the abnormal state parameter will definitely cause the meters of a specific type to have communication timeout with the timeout type being the second timeout type.

[0043] The step of estimating the meters that may be about to have communication timeout and the timeout types of communication timeout according to the extracted regular features, and when the judgment reaches the estimation condition, directly adopting the timeout set-meter reading strategy corresponding to the timeout type for the corresponding meters for information collection specifically includes:

[0044] If there are abnormal status parameters that will definitely cause communication timeouts for specific types of meters, during the operation of the meters, monitor specific device parameter information and environmental parameter information according to the meter type. When abnormal status parameters that will definitely cause communication timeouts occur, directly collect information through a preset second timeout centralized meter reading strategy.

[0045] Second, an intelligent centralized meter reading device for integrated four-meter-in-one conversion unit communication timeout provided by an embodiment of the present application is applied to a four-meter-in-one system and includes:

[0046] An acquisition log obtaining unit for obtaining the information acquisition logs of each meter in the four-meter-in-one system; the information acquisition logs include the types of interaction commands received by each meter from the superior information acquisition terminal, the first time point of receiving the interaction command, the second time point of feeding back the acquisition information according to the interaction command, and the third time point of successful upload of the acquisition information;

[0047] A communication timeout judgment unit for judging whether there is a communication timeout for each meter according to the information acquisition log. If so, further judge the timeout type of the meter with the communication timeout; the timeout type includes a first timeout type caused by an interaction command and a second timeout type caused by a poor communication environment;

[0048] A communication timeout centralized meter reading unit for, when judging that the timeout type of the meter is the first timeout type, collecting information through a preset first timeout centralized meter reading strategy; when judging that the timeout type of the meter is the second timeout type, collecting information through a preset second timeout centralized meter reading strategy;

[0049] A communication timeout recording unit for, for the meters that collect information through the first timeout centralized meter reading strategy or the second timeout centralized meter reading strategy, recording the specific type of timeout centralized meter reading strategy adopted, the time of adopting the timeout centralized meter reading strategy, and the effect of adopting the timeout centralized meter reading strategy in the information acquisition log.

[0050] Optionally, the communication timeout judgment unit is specifically used for:

[0051] If the third time point is not recorded between the two first time points in the information acquisition log, judge that the meter has a communication timeout;

[0052] If there is a recorded third time point, calculate the first time difference between the first time point and the subsequent third time point, and judge whether the first time difference is greater than the communication timeout value corresponding to the meter type according to the meter type of the meter recording the information acquisition log. If so, judge that the meter has a communication timeout.

[0053] Optionally, the communication timeout judgment unit is also specifically used for:

[0054] Optionally, calculate a second time difference between the first time point and a subsequent second time point, and determine whether the second time difference is greater than the communication timeout value corresponding to the meter type according to the meter type of the meter that records the information collection log. If it is greater, determine that the timeout type of the meter is the first timeout type; if the second time difference is less than the communication timeout value corresponding to the meter type, determine that the timeout type of the meter is the second timeout type

[0055] Optionally, the communication timeout centralized meter reading unit is specifically configured to:

[0056] After receiving an interaction command sent by a superior information collection terminal, perform corresponding operations according to the interaction command, and wait for the meter to feedback the collection information according to the interaction command;

[0057] If a new interaction command is received again during the waiting process, compare it with the previous interaction command;

[0058] If the received new interaction command is the same as the previous interaction command, ignore the received new interaction command and continue to execute the current operation;

[0059] If the received new interaction command is different from the previous interaction command, interrupt the currently executing operation, perform corresponding operations according to the received new interaction command, and wait for the meter to feedback the collection information according to the interaction command;

[0060] When the collection information feedback by the meter according to the interaction command is received, immediately upload it to the superior information collection terminal;

[0061] If the next interaction command received after uploading the collection information to the superior information collection terminal is the same as the previous interaction command, upload the just uploaded collection information to the superior information collection terminal again.

[0062] Optionally, the communication timeout centralized meter reading unit is further specifically configured to:

[0063] According to the information collection log, find other meters that have not had communication timeouts currently;

[0064] Select one of the other meters that have not had communication timeouts with the shortest communication path to the meter with the timeout type of the second timeout type;

[0065] Send the collection information currently to be feedback by the meter with the timeout type of the second timeout type and the corresponding interaction command to the selected meter;

[0066] The selected meter feeds back the received collection information according to the interaction command.

[0067] Optionally, the communication timeout centralized meter reading unit is further specifically configured to:

[0068] Meters with the timeout type being the second timeout type send assistance request information to other meters that have a direct communication connection with them;

[0069] After receiving the assistance request information, other meters, according to whether they are in a communication timeout state, if so, continue to forward the assistance request information to meters that have not received the assistance request information and add their own meter information, if not, feedback acceptance of assistance information and their own meter information to the meter that sent the assistance request information;

[0070] If a meter that has sent the assistance request information non-first time receives the acceptance of assistance information, it forwards the acceptance of assistance information to the meter that sent the assistance request information and adds its own meter information;

[0071] The meter with the timeout type being the second timeout type determines the meter with the shortest communication path according to the received acceptance of assistance information and the number of added meter information.

[0072] Optionally, the communication timeout recording unit is further configured to:

[0073] For meters that have had communication timeouts, extract relevant data in the corresponding time period from the information collection log;

[0074] Judge whether there are regular characteristics of communication timeouts by means of common feature extraction;

[0075] The communication timeout centralized meter reading unit is further configured to:

[0076] According to the extracted regular characteristics, estimate the meters that may be about to have communication timeouts and the timeout types of the communication timeouts. When it is judged that the estimation condition is met, directly adopt the timeout centralized meter reading strategy corresponding to the timeout type for the corresponding meters for information collection.

[0077] Optionally, the manner in which the communication timeout recording unit judges whether there are regular characteristics of communication timeouts by means of common feature extraction is specifically as follows:

[0078] For meters with the timeout type being the first timeout type, according to the meter type and the type of interaction command that causes the communication timeout, judge whether certain types of interaction commands will definitely cause meters of specific types to have communication timeouts with the timeout type being the first timeout type;

[0079] The communication timeout centralized meter reading unit estimates the meters that may be about to experience communication timeout and the timeout types of communication timeout according to the extracted regular features. When it is determined that the estimation condition is met, the information collection method directly adopts the timeout centralized meter reading strategy corresponding to the timeout type for the corresponding meters, specifically as follows:

[0080] If there is an interaction command type that will definitely cause communication timeout for a specific type of meter, when the superior information collection terminal issues an interaction command of this type, the type of the meter receiving the interaction command is judged. If there is a meter type that will definitely cause communication timeout, for these meters, the information is directly collected through a preset first timeout centralized meter reading strategy

[0081] Optionally, the communication timeout recording unit judges whether there are regular features of communication timeout by means of extracting common features, specifically as follows:

[0082] For the meters with the timeout type of the second timeout type, according to the meter type, device parameter information and environmental parameter information, judge whether the abnormal state parameter will definitely cause the communication timeout of the timeout type of the second timeout type for a specific type of meter;

[0083] The communication timeout centralized meter reading unit estimates the meters that may be about to experience communication timeout and the timeout types of communication timeout according to the extracted regular features. When it is determined that the estimation condition is met, the information collection method directly adopts the timeout centralized meter reading strategy corresponding to the timeout type for the corresponding meters, specifically as follows:

[0084] If there is an abnormal state parameter that will definitely cause communication timeout for a specific type of meter, during the operation of the meter, monitor the specific device parameter information and environmental parameter information according to the meter type. If the abnormal state parameter that will definitely cause communication timeout appears, directly collect the information through a preset second timeout centralized meter reading strategy.

[0085] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which program code is stored. When the program code is run by the computer, it executes the intelligent centralized meter reading method for communication timeout of the integrated four-meter-in-one conversion unit as described in the first aspect. Description of the Drawings

[0086] Figure 1 It is a schematic diagram of the usage scenario of the intelligent centralized meter reading method for communication timeout of the integrated four-meter-in-one conversion unit provided by the embodiment of the present application;

[0087] Figure 2 It is a flowchart of an intelligent centralized meter reading method for communication timeout of an integrated four-meter-in-one conversion unit provided by the embodiment of the present application;

[0088] Figure 3 Flow chart of the method for collecting information for the first timeout centralized meter reading strategy provided by the embodiments of the present application;

[0089] Figure 4 Flow chart of the method for collecting information for the second timeout centralized meter reading strategy provided by the embodiments of the present application;

[0090] Figure 5 Flow chart of the intelligent centralized meter reading method for further improving the centralized meter reading efficiency provided by the embodiments of the present application;

[0091] Figure 6 Schematic structural diagram of an intelligent centralized meter reading device integrating communication timeout of a four - meter - in - one conversion unit provided by the embodiments of the present application.

[0092] Figure 7 Structural block diagram of a computer - readable storage medium for storing or carrying program code for implementing the intelligent centralized meter reading method integrating communication timeout of a four - meter - in - one conversion unit according to the embodiments of the present application.

[0093] Icons:

[0094] Superior information collection terminal 100; Four - meter - in - one conversion unit 200; Meter 300; Collection log acquisition unit 110; Communication timeout judgment unit 120; Communication timeout centralized meter reading unit 130; Communication timeout recording unit 140; Computer - readable storage medium 400; Program code 410. Specific embodiments

[0095] Next, the technical solutions in the present application will be described in conjunction with the accompanying drawings.

[0096] Please refer to Figure 1 , Schematic diagram of the usage scenario of the intelligent centralized meter reading method integrating communication timeout of a four - meter - in - one conversion unit provided by this embodiment. In the four - meter - in - one system, the superior information collection terminal is respectively connected to multiple four - meter - in - one conversion units 200, and each four - meter - in - one conversion unit 200 corresponds to four meters 300. Among them, the superior information collection terminal 100 can be a master station system, a handheld collection device, or a concentrator. The superior information collection terminal 100 is communicatively connected to the four - meter - in - one conversion unit 200 in a wired or wireless manner. The four - meter - in - one conversion unit 200 has an information conversion function for collecting information from meters of different types and models and uniformly converting it into the same data type for transmission and reporting. The meter 300 corresponds to four types of basic metering instruments, namely water meters, electric energy meters, heating meters, and gas meters.

[0097] Next, the working process of the above - mentioned system will be described in detail in conjunction with the method.

[0098] Please refer toFigure 2 , an embodiment of the present application provides an intelligent meter reading method for integrating the communication timeout of the four-meter-in-one conversion unit:

[0099] S101. Obtain the information collection logs of each meter in the four-meter-in-one system; the information collection logs include the types of interaction commands received by each meter from the superior information collection terminal, the first time point for receiving the interaction command, the second time point for feeding back the collected information according to the interaction command, and the third time point for successfully uploading the collected information.

[0100] Among them, the information collection logs are used to record the information collection and feedback situations of each meter. By retrieving the information collection logs of each meter, the specific situations of each meter can be known.

[0101] S102. Judge whether there is communication timeout for each meter according to the information collection logs. If so, further judge the timeout type of the meter with communication timeout; the timeout type includes the first timeout type caused by the interaction command and the second timeout type caused by the poor communication environment.

[0102] Among them, the method for judging whether there is communication timeout for each meter according to the information collection logs is specifically as follows:

[0103] If the third time point is not recorded between the two first time points in the information collection logs, it is judged that the meter has communication timeout;

[0104] If there is a recorded third time point, calculate the first time difference between the first time point and the subsequent third time point, and judge whether the first time difference is greater than the communication timeout value corresponding to the meter type according to the meter type of the meter recording the information collection log. If so, it is judged that the meter has communication timeout.

[0105] For the first case, if the third time point is not recorded between the two first time points in the information collection logs, it means that the information collection this time fails due to communication timeout.

[0106] For the second case, it is judged by calculating the time difference between the time point of successfully feeding back the information and the time point of receiving the interaction command. The communication timeout values corresponding to different meter types are different. Therefore, first determine the meter type of the meter, and then based on the size of the time difference, it can be judged whether there is communication timeout.

[0107] Both of the above two cases can judge whether there is communication timeout for the meter. On this basis, it is also necessary to further judge the type of communication timeout and determine the corresponding meter reading strategy accordingly.

[0108] Optionally, the method for determining the timeout type of the meter with communication timeout is specifically as follows:

[0109] Calculate the second time difference between the first time point and the subsequent second time point. According to the meter type of the meter that records the information collection log, determine whether the second time difference is greater than the communication timeout value corresponding to the meter type. If it is greater, determine that the timeout type of the meter is the first timeout type; if the second time difference is less than the communication timeout value corresponding to the meter type, determine that the timeout type of the meter is the second timeout type.

[0110] There are usually two types of reasons for the meter to have communication timeout. One is the first timeout type caused by interaction commands. For different types of meters, the feedback time for different types of interaction commands is different, and even for the same type of meter, different models may also have differences. The feedback time of some meters for some interaction commands is too long, exceeding the normal communication timeout value, thus resulting in communication timeout. The other is the second timeout type caused by poor communication environment, that is, due to external factors or other reasons, the communication environment is poor, and the feedback information of the meter cannot complete communication within the normal communication timeout value, thus resulting in communication timeout. Since the factors causing communication timeout in the two types are completely different, it is necessary to make a judgment first in order to adopt appropriate coping strategies. By calculating the second time difference between the first time point and the subsequent second time point, the two types can be effectively distinguished, because the second time point corresponds to the feedback time of the meter, and it is judged by whether the meter has given feedback.

[0111] S103, when it is determined that the timeout type of the meter is the first timeout type, perform information collection through the preset first timeout centralized meter reading strategy; when it is determined that the timeout type of the meter is the second timeout type, perform information collection through the preset second timeout centralized meter reading strategy.

[0112] Among them, the method for performing information collection through the first timeout centralized meter reading strategy is as Figure 3 shown.

[0113] Among them, the method for performing information collection through the second timeout centralized meter reading strategy is as Figure 4 shown.

[0114] S104, for the meters that perform information collection through the first timeout centralized meter reading strategy or the second timeout centralized meter reading strategy, record the specific type of timeout centralized meter reading strategy adopted, the time of adopting the timeout centralized meter reading strategy, and the effect of adopting the timeout centralized meter reading strategy in the information collection log.

[0115] For the meters that have communication timeouts and adopt the corresponding timeout centralized meter reading strategy, it is necessary to synchronously record the corresponding processes and results. On the one hand, it is for subsequent viewing, and on the other hand, it is to judge the effect after adopting the timeout centralized meter reading strategy.

[0116] Specifically, please refer to Figure 3 , the method for information collection using the first timeout centralized meter reading strategy provided by the embodiments of the present application. The first timeout centralized meter reading strategy is aimed at communication timeouts caused by interaction commands. The specific method includes:

[0117] S201, after receiving the interaction command sent by the superior information collection terminal, perform corresponding operations according to the interaction command, and wait for the meter to feedback the collection information according to the interaction command;

[0118] S202, if a new interaction command is received again during the waiting process, compare it with the previous interaction command;

[0119] S203, if the new interaction command received is the same as the previous interaction command, ignore the received new interaction command and continue to execute the current operation;

[0120] S204, if the new interaction command received is different from the previous interaction command, interrupt the currently executing operation, perform corresponding operations according to the received new interaction command, and wait for the meter to feedback the collection information according to the interaction command;

[0121] S205, when the collection information feedback by the meter according to the interaction command is received, immediately upload it to the superior information collection terminal;

[0122] S206, if the next interaction command received after uploading the collection information to the superior information collection terminal is the same as the previous interaction command, upload the just uploaded collection information to the superior information collection terminal again.

[0123] Adopting such a method can effectively address the communication timeout situation caused by interaction commands, and avoid the situation where due to communication timeouts, some interaction commands are overwritten by new interaction instructions, resulting in the ineffective upload of collection information.

[0124] Specifically, please refer to Figure 4 , the method for information collection using the second timeout centralized meter reading strategy provided by the embodiments of the present application. The second timeout centralized meter reading strategy is aimed at communication timeouts caused by poor communication environments. The specific method includes:

[0125] S301, according to the information collection log, find other meters that have not had communication timeouts currently;

[0126] S302. Select one with the shortest communication path among other meters that have not experienced communication timeouts and that are of the second timeout type for the timeout that occurred.

[0127] S303. Send the acquisition information currently awaiting feedback and the corresponding interaction command of the meter with the second timeout type for the timeout that occurred to the selected meter.

[0128] S304. The selected meter feeds back the received acquisition information according to the interaction command.

[0129] Communication timeout caused by a poor communication environment indicates that the communication quality between the meter and the four-meter-in-one conversion unit is poor, or that the communication quality between the four-meter-in-one conversion unit connected to the meter and the superior information acquisition terminal is poor. In the four-meter-in-one system, a four-meter-in-one conversion unit is usually connected to four meters, and the superior information acquisition terminal is connected to multiple four-meter-in-one conversion units. When a certain communication link is not smooth, data can be fed back through other normal communication links.

[0130] Through the information acquisition log, other meters that have not experienced communication timeouts can be effectively found. Then, select one with the shortest communication path among other meters that have not experienced communication timeouts and that is of the second timeout type for the timeout that occurred, and have the data of the meter with the communication timeout uploaded by the selected meter, and this problem can be effectively solved.

[0131] Specifically, the way to select other meters with the shortest communication path from the meters that are of the second timeout type for the timeout that occurred is as follows:

[0132] The meter with the second timeout type for the timeout that occurred sends an assistance request message to other meters that have a direct communication connection with it.

[0133] After receiving the assistance request message, other meters, according to whether they are in a communication timeout state, if so, continue to forward the assistance request message to meters that have not received the assistance request message and add their own meter information, if not, feedback the acceptance of assistance information and their own meter information to the meter that sent the assistance request message.

[0134] If a meter that has sent the assistance request message non-first receives the acceptance of assistance information, it forwards the acceptance of assistance information to the meter that sent the assistance request message and adds its own meter information.

[0135] The meter with the second timeout type for the timeout that occurred determines the meter with the shortest communication path according to the received acceptance of assistance information and the number of added meter information.

[0136] Upload the data of the meters with communication timeouts by the meters without communication timeouts, provided that there is a communication connection between the two meters and the communication connection is normal and can transmit data. Through the above method, other meters that meet this condition can be effectively and quickly found. And by feedback to accept the meter information added in the assistance information, the one with the shortest communication path can be found.

[0137] Through the above method, first judge whether there is a meter with communication timeout based on the information collection logs of each meter, and then further judge the reasons for the communication timeout. For different reasons, corresponding coping strategies are adopted, effectively improving the collection efficiency and success rate of the four-meter integration system in case of communication timeout.

[0138] On this basis, as Figure 5 shown, the embodiment of the present invention also provides an intelligent collection method for further improving the collection efficiency, which specifically includes:

[0139] S401, for the meters with communication timeouts, extract the relevant data in the corresponding time period from the information collection logs;

[0140] S402, by means of common feature extraction, judge whether there are regular features of communication timeout;

[0141] S403, according to the extracted regular features, estimate the meters that may be about to have communication timeouts and the timeout types of communication timeouts. When it is judged that the estimation conditions are met, directly adopt the timeout collection strategy corresponding to the timeout type for the corresponding meters to collect information.

[0142] By recording the specific timeout collection strategy type, the time of adopting the timeout collection strategy, and the effect of adopting the timeout collection strategy in the information collection logs. The regular features of communication timeout can be discovered. Specifically, it can be realized by means of common feature extraction. On the basis of extracting the regular features, the meters that are about to have communication timeouts and the timeout types of communication timeouts can be estimated. At this time, in order to further improve the efficiency, it is not necessary to wait for the occurrence of communication timeout. As long as it is judged that the estimation conditions are met, directly adopt the timeout collection strategy corresponding to the timeout type for the corresponding meters estimated to be likely to have communication timeout to collect information.

[0143] Among them, according to the different timeout types, there are certain differences in the way of common feature extraction and the method of judging whether there are regular features of communication timeout.

[0144] Specifically, for the meters that have had a timeout of the first timeout type, based on the meter type and the type of interaction command that caused the communication timeout, determine whether certain types of interaction commands will definitely cause a communication timeout of the first timeout type for specific types of meters; if there are interaction command types that will definitely cause a communication timeout for specific types of meters, then when the superior information collection terminal issues an interaction command of this type, determine the meter type that receives the interaction command. If there are meter types that will definitely cause a communication timeout, for these meters, directly collect information through a preset first timeout centralized meter reading strategy.

[0145] For the meters that have had a timeout of the second timeout type, based on the meter type, device parameter information, and environmental parameter information, determine whether the abnormal status parameter will definitely cause a communication timeout of the second timeout type for specific types of meters; if there are abnormal status parameters that will definitely cause a communication timeout for specific types of meters, then during the operation of the meter, monitor the specific device parameter information and environmental parameter information according to the meter type. If an abnormal status parameter that will definitely cause a communication timeout appears, directly collect information through a preset second timeout centralized meter reading strategy.

[0146] In addition, according to the actual situation, for different timeout types, a more appropriate way of extracting common characteristics can be selected to judge the regular characteristics of communication timeouts. Of course, if no relevant rules are found through the extraction of common characteristics, centralized meter reading can be performed according to the above normal processing method.

[0147] Please refer to Figure 6 , in this embodiment, an intelligent centralized meter reading device for communication timeout of an integrated four-meter-in-one conversion unit is also provided, which is applied to a four-meter-in-one system and includes:

[0148] A collection log acquisition unit 110, configured to acquire the information collection logs of each meter in the four-meter-in-one system; the information collection logs include the type of interaction command sent by the superior information collection terminal 100 received by each meter, the first time point for receiving the interaction command, the second time point for feeding back the collection information according to the interaction command, and the third time point for successfully uploading the collection information;

[0149] A communication timeout judgment unit 120, configured to judge whether there is a communication timeout for each meter according to the information collection logs. If so, further judge the timeout type of the meter that has a communication timeout; the timeout type includes a first timeout type caused by an interaction command and a second timeout type caused by a poor communication environment;

[0150] The communication timeout centralized meter reading unit 130 is used to collect information through a preset first timeout centralized meter reading strategy when it is determined that the timeout type of the meter is the first timeout type; and collect information through a preset second timeout centralized meter reading strategy when it is determined that the timeout type of the meter is the second timeout type.

[0151] The communication timeout recording unit 140 is used to record, in the information collection log, the specific type of the timeout centralized meter reading strategy adopted, the time when the timeout centralized meter reading strategy is adopted, and the effect of adopting the timeout centralized meter reading strategy for the meters whose information is collected through the first timeout centralized meter reading strategy or the second timeout centralized meter reading strategy.

[0152] Optionally, the communication timeout judgment unit 120 is specifically used for:

[0153] If no third time point is recorded between the two first time points in the information collection log, it is determined that the meter has a communication timeout.

[0154] If there is a recorded third time point, calculate the first time difference between the first time point and the subsequent third time point, and determine whether the first time difference is greater than the communication timeout value corresponding to the meter type according to the meter type of the meter for which the information collection log is recorded. If so, it is determined that the meter has a communication timeout.

[0155] Optionally, the communication timeout judgment unit 120 is further specifically used for:

[0156] Optionally, calculate the second time difference between the first time point and the subsequent second time point, and determine whether the second time difference is greater than the communication timeout value corresponding to the meter type according to the meter type of the meter for which the information collection log is recorded. If it is greater, it is determined that the timeout type of the meter is the first timeout type; if the second time difference is less than the communication timeout value corresponding to the meter type, it is determined that the timeout type of the meter is the second timeout type.

[0157] Optionally, the communication timeout centralized meter reading unit 130 is specifically used for:

[0158] After receiving the interaction command sent by the superior information collection terminal 100, perform corresponding operations according to the interaction command, and wait for the meter to feedback the collection information according to the interaction command.

[0159] If a new interaction command is received again during the waiting process, compare it with the previous interaction command.

[0160] If the received new interaction command is the same as the previous interaction command, ignore the received new interaction command and continue to execute the current operation.

[0161] If the newly received interaction command is different from the previous one, interrupt the currently executing operation, execute the corresponding operation according to the received new interaction command, and wait for the meter to feedback the collected information according to the interaction command;

[0162] After receiving the collected information feedback by the meter according to the interaction command, immediately upload it to the superior information collection terminal 100;

[0163] If the next interaction command received after uploading the collected information to the superior information collection terminal 100 is the same as the previous one, upload the just uploaded collected information to the superior information collection terminal 100 again.

[0164] Optionally, the communication timeout centralized meter reading unit 130 is further specifically configured to:

[0165] According to the information collection log, find other meters that have not had communication timeouts currently;

[0166] Select one of the other meters that have not had communication timeouts and has the shortest communication path with the meter whose timeout type is the second timeout type;

[0167] Send the currently pending collected information of the meter whose timeout type is the second timeout type and the corresponding interaction command to the selected meter;

[0168] The selected meter feeds back the received collected information according to the interaction command.

[0169] Optionally, the communication timeout centralized meter reading unit 130 is further specifically configured to:

[0170] The meter whose timeout type is the second timeout type sends out assistance request information to other meters that have a direct communication connection with it;

[0171] After receiving the assistance request information, other meters, according to whether they are in a communication timeout state, if so, continue to forward the assistance request information to meters that have not received the assistance request information and add their own meter information, if not, feedback acceptance assistance information and their own meter information to the meter that sent the assistance request information;

[0172] If a meter that has sent the assistance request information non-first time receives the acceptance assistance information, forward the acceptance assistance information to the meter that sent the assistance request information and add its own meter information;

[0173] The meter whose timeout type is the second timeout type determines the meter with the shortest communication path according to the received acceptance assistance information and the number of added meter information.

[0174] Optionally, the communication timeout recording unit 140 is further configured to:

[0175] For the meters that have experienced communication timeouts, extract the relevant data in the corresponding time period from the information collection log;

[0176] By means of common feature extraction, determine whether there are regular features of communication timeouts;

[0177] The communication timeout centralized meter reading unit 130 is further configured to:

[0178] According to the extracted regular features, estimate the meters that may be about to experience communication timeouts and the timeout types of the communication timeouts. When the judgment reaches the estimation condition, directly adopt the timeout centralized meter reading strategy corresponding to the timeout type for the corresponding meters to collect information.

[0179] Optionally, the manner in which the communication timeout recording unit 140 determines whether there are regular features of communication timeouts by means of common feature extraction is specifically as follows:

[0180] For the meters with the first timeout type, according to the meter type and the type of interaction command that causes the communication timeout, determine whether certain types of interaction commands will definitely cause the meters of a specific type to have a communication timeout of the first timeout type;

[0181] The manner in which the communication timeout centralized meter reading unit 130 estimates the meters that may be about to experience communication timeouts and the timeout types of the communication timeouts according to the extracted regular features, and directly adopts the timeout centralized meter reading strategy corresponding to the timeout type for the corresponding meters to collect information when the judgment reaches the estimation condition is specifically as follows:

[0182] If there is an interaction command type that will definitely cause the meters of a specific type to have a communication timeout, then when the superior information collection terminal 100 issues this type of interaction command, judge the meter type that receives the interaction command. If there is a meter type that will definitely cause a communication timeout, for these meters, directly collect information through the preset first timeout centralized meter reading strategy

[0183] Optionally, the manner in which the communication timeout recording unit 140 determines whether there are regular features of communication timeouts by means of common feature extraction is specifically as follows:

[0184] For the meters with the second timeout type, according to the meter type, device parameter information, and environmental parameter information, determine whether the abnormal state parameter will definitely cause the meters of a specific type to have a communication timeout of the second timeout type;

[0185] The communication timeout centralized meter reading unit 130 estimates the meters that may be about to experience communication timeout and the timeout types of communication timeout according to the extracted regular features. When it is determined that the estimation condition is met, the information collection method directly adopts the timeout centralized meter reading strategy corresponding to the timeout type for the corresponding meters, specifically as follows:

[0186] If there are abnormal state parameters that will definitely cause communication timeout for a specific type of meter, during the operation of the meter, monitor the specific device parameter information and environmental parameter information according to the meter type. When abnormal state parameters that will definitely cause communication timeout appear, directly collect information through the preset second timeout centralized meter reading strategy.

[0187] The intelligent centralized meter reading device for communication timeout of the integrated four-meter-in-one conversion unit provided by the embodiment of the present invention is used to implement the above text content classification method. Therefore, the specific implementation manner is the same as the above method and will not be elaborated here.

[0188] As Figure 7 shown, a structural block diagram of a computer-readable storage medium 400 provided by an embodiment of the present invention. Program code 410 is stored in the computer-readable medium, and the program code 410 can be called by a processor to execute the method described in the above method embodiment.

[0189] The computer-readable storage medium 400 can be an electronic memory such as a flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 400 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 400 has a storage space for the program code 410 that executes any method step in the above method. These program code 410 can be read from or written into one or more computer program products. The program code 410 can be compressed in an appropriate form, for example.

[0190] In summary, the present invention provides a text content classification method, device, electronic device, and storage medium. When classifying text content, it can combine the user's head and facial structure features and consider the user's personalized usage needs to provide a text content classification solution with high adaptability for the user.

[0191] In several embodiments disclosed in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0192] In addition, in each embodiment of the present application, the various functional modules can be integrated together to form an independent part, or each module can exist alone, or two or more modules can be integrated to form an independent part.

[0193] If the described functions are implemented in the form of software functional modules and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0194] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. An intelligent meter reading method integrating communication timeout of the four-meter-in-one conversion unit, which is applied to the four-meter-in-one system, is characterized in that The method includes: Obtaining the information collection logs of each meter in the four - in - one meter system; the information collection logs include the types of interaction commands sent by the superior information collection terminal received by each meter, the first time point of receiving the interaction command, the second time point of feeding back the collected information according to the interaction command, and the third time point of successful upload of the collected information; Judging whether there is communication timeout for each meter according to the information collection logs. If so, further judging the timeout type of the meter with communication timeout; the timeout type includes the first timeout type caused by the interaction command and the second timeout type caused by poor communication environment; When it is judged that the timeout type of the meter is the first timeout type, information collection is carried out through a preset first timeout centralized meter reading strategy; when it is judged that the timeout type of the meter is the second timeout type, information collection is carried out through a preset second timeout centralized meter reading strategy; For the meters whose information is collected through the first timeout centralized meter reading strategy or the second timeout centralized meter reading strategy, record the specific type of the timeout centralized meter reading strategy adopted, the time of adopting the timeout centralized meter reading strategy, and the effect of adopting the timeout centralized meter reading strategy in the information collection logs.

2. The intelligent centralized meter reading method according to claim 1, wherein The step of judging whether there is communication timeout for each meter according to the information collection logs specifically includes: If the third time point is not recorded between the two first time points in the information collection logs, it is judged that the meter has communication timeout; If there is a recorded third time point, calculate the first time difference between the first time point and the subsequent third time point, and judge whether the first time difference is greater than the communication timeout value corresponding to the meter type according to the meter type of the meter recording the information collection logs. If so, it is judged that the meter has communication timeout.

3. The intelligent centralized meter reading method according to claim 2, wherein, The step of judging the timeout type of the meter with communication timeout specifically includes: Calculate the second time difference between the first time point and the subsequent second time point, and judge whether the second time difference is greater than the communication timeout value corresponding to the meter type according to the meter type of the meter recording the information collection logs. If it is greater, it is judged that the timeout type of the meter is the first timeout type; if the second time difference is less than the communication timeout value corresponding to the meter type, it is judged that the timeout type of the meter is the second timeout type.

4. The intelligent centralized meter reading method according to claim 3, wherein, The step of carrying out information collection through a preset first timeout centralized meter reading strategy specifically includes: After receiving the interaction command sent by the superior information collection terminal, perform corresponding operations according to the interaction command and wait for the meter to feed back the collected information according to the interaction command; If a new interaction command is received again during the waiting process, compare it with the previous interaction command; If the new interaction command received is the same as the previous interaction command, ignore the received new interaction command and continue to execute the current operation; If the new interaction command received is different from the previous interaction command, interrupt the currently executing operation, perform corresponding operations according to the received new interaction command, and wait for the meter to feed back the collected information according to the interaction command; When the collected information fed back by the meter according to the interaction command is received, immediately upload it to the superior information collection terminal; If the next interaction command received after uploading the collected information to the superior information collection terminal is the same as the previous interaction command, then upload the just uploaded collected information to the superior information collection terminal again.

5. The intelligent centralized meter reading method according to claim 3, characterized in that The step of collecting information through the preset second timeout meter reading strategy specifically includes: According to the information collection log, find other meters that have not had communication timeouts currently; Select one of the other meters that have not had communication timeouts and has the shortest communication path with the meter whose timeout type is the second timeout type; Send the currently pending feedback collected information and the corresponding interaction command of the meter whose timeout type is the second timeout type to the selected meter; The selected meter feeds back the received collected information according to the interaction command.

6. The intelligent centralized meter reading method according to claim 5, characterized in that, The step of selecting one of the other meters that have not had communication timeouts and has the shortest communication path with the meter whose timeout type is the second timeout type specifically includes: The meter whose timeout type is the second timeout type sends an assistance request message to other meters that have a direct communication connection with it; After receiving the assistance request message, other meters, according to whether they are in a communication timeout state, if so, continue to forward the assistance request message to the meters that have not received the assistance request message and add their own meter information, if not, feedback the acceptance of assistance information and their own meter information to the meter that sent the assistance request message; If a meter that has sent the assistance request message non-first time receives the acceptance of assistance information, forward the acceptance of assistance information to the meter that sent the assistance request message and add its own meter information; The meter whose timeout type is the second timeout type determines the meter with the shortest communication path according to the received acceptance of assistance information and the number of added meter information.

7. The intelligent centralized meter reading method according to claim 6, wherein The method further includes: For the meters that have had communication timeouts, extract the relevant data in the corresponding time period from the information collection log; Judge whether there are regular features of communication timeouts through the way of extracting common features; According to the extracted regular features, estimate the meters that may be about to have communication timeouts and the timeout types of communication timeouts. When the judgment reaches the estimation condition, directly adopt the timeout meter reading strategy corresponding to the timeout type for the corresponding meters to collect information.

8. The intelligent centralized meter reading method according to claim 7, wherein The step of judging whether there are regular features of communication timeouts through the way of extracting common features specifically includes: For the meters whose timeout type is the first timeout type, according to the meter type and the type of interaction command that causes communication timeout, judge whether certain types of interaction commands will definitely cause the meters of specific types to have communication timeouts of the first timeout type; The step of estimating the meters that may be about to have communication timeouts and the timeout types of communication timeouts according to the extracted regular features, and when the judgment reaches the estimation condition, directly adopting the timeout meter reading strategy corresponding to the timeout type for the corresponding meters to collect information specifically includes: If there is an interaction command type that will definitely cause communication timeouts for a specific type of meter, when the upper-level information collection terminal sends an interaction command of this type, judge the type of meter that receives the interaction command. If there is a meter type that will definitely cause communication timeouts, for these meters, directly perform information collection through a preset first timeout metering reading strategy.

9. The intelligent centralized meter reading method according to claim 7, wherein, The step of judging whether there is a regular feature of communication timeouts by means of common feature extraction specifically includes: For meters with a timeout type of the second timeout type that have experienced timeouts, judge whether the abnormal state parameter will definitely cause a communication timeout of the second timeout type for a specific type of meter according to the meter type, device parameter information, and environmental parameter information. The step of predicting the meters that may be about to experience communication timeouts and the timeout types of communication timeouts according to the extracted regular features, and directly performing information collection on the corresponding meters using a timeout metering reading strategy corresponding to the timeout type when the prediction reaches the prediction condition specifically includes: If there is an abnormal state parameter that will definitely cause a communication timeout for a specific type of meter, during the operation of the meter, monitor specific device parameter information and environmental parameter information according to the meter type. If an abnormal state parameter that will definitely cause a communication timeout appears, directly perform information collection through a preset second timeout metering reading strategy.

10. An intelligent meter reading device integrating communication timeout of the four-meter-in-one conversion unit, which is applied to the four-meter-in-one system, is characterized in that It includes: A collection log acquisition unit for acquiring the information collection logs of each meter in the four-meter integration system; The information collection log includes the type of interaction command received by each meter from the upper-level information collection terminal, the first time point of receiving the interaction command, the second time point of feeding back the collection information according to the interaction command, and the third time point of successful upload of the collection information; A communication timeout judgment unit for judging whether there is a communication timeout for each meter according to the information collection log. If so, further judge the timeout type of the meter that has experienced the communication timeout; the timeout types include the first timeout type caused by the interaction command and the second timeout type caused by a poor communication environment; A communication timeout metering reading unit for performing information collection through a preset first timeout metering reading strategy when judging that the timeout type of the meter is the first timeout type; and performing information collection through a preset second timeout metering reading strategy when judging that the timeout type of the meter is the second timeout type; A communication timeout record unit for recording in the information collection log the specific type of timeout metering reading strategy used, the time of using the timeout metering reading strategy, and the effect of using the timeout metering reading strategy for the meters that perform information collection through the first timeout metering reading strategy or the second timeout metering reading strategy.

Citation Information

Patent Citations

  • Communication method for intelligent IC card water meter for multi-meter centralized reading system

    CN106373279A

  • Meter reading method for solving uplink communication timeout of water-gas-heat meter converter

    CN112365699A