Method and device for reporting and receiving data of monitoring equipment
By performing base-to-base conversion on the data item values of the monitoring equipment and constructing target reporting data, the problem of limited network transmission speed caused by the large amount of data from the monitoring equipment is solved, and efficient data reporting is achieved.
Patent Information
- Application Number
- CN202510633995.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-16
- Publication Date
- 2025-09-16
AI Technical Summary
In the existing technology, although the data reporting method of the monitoring equipment ensures universality, the large amount of data leads to limited network transmission speed, making it difficult to meet the monitoring needs of high frequency and high data volume.
By performing base-to-base conversion on the data item values of the monitoring equipment, target reporting data is constructed to reduce the amount of data and increase the network transmission speed.
While keeping the network transmission speed unchanged, the data reporting speed of the monitoring equipment is greatly improved and the amount of reported data is reduced.
Smart Images

Figure CN120658637A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method and device for reporting and receiving monitoring equipment data. Background Art
[0002] Monitoring equipment refers to equipment used to collect various parameters and conditions to monitor specific objects or processes. Specific types include sensors and measuring instruments (for example, displacement meters). Monitoring equipment includes hardware and related software and systems used to collect, process and analyze monitoring data.
[0003] With the continuous development of network technology, monitoring equipment is becoming more and more intelligent. Many monitoring devices can already report monitoring data and corresponding data item identifiers; for example, monitoring equipment sends the monitoring data and data items it collects to receiving terminals such as the Internet of Things cloud system through wireless networks.
[0004] In order to unify the format and make the reporting and reception of monitoring data universal, the existing technology assembles the data into JavaScript Object Notation (JSON) objects for transmission. JSON is a lightweight data exchange format.
[0005] However, although this reporting method can ensure the universality of monitoring data reporting and receiving, the amount of monitoring data required to be reported is often large, and the reporting speed through network transmission is limited.
[0006] In view of this, overcoming the defects of the prior art is an urgent problem to be solved in this technical field. Summary of the Invention
[0007] The technical problem to be solved by the present invention is to provide a method and device for reporting and receiving monitoring equipment data, the purpose of which is to obtain original reported data according to the collected data items of the monitoring equipment; perform base conversion processing on the data item values in the original reported data to obtain target reported data, and send the target reported data to the receiving end; the receiving end receives and parses the target reported data to obtain target received data, and stores the target received data. The amount of reported data is reduced through base conversion processing, and the reporting speed is greatly improved while the network transmission speed remains unchanged.
[0008] The present invention adopts the following technical solutions:
[0009] In a first aspect, the present invention provides a method for reporting and receiving monitoring device data, comprising:
[0010] According to the collected data items of the monitoring equipment, the original reported data is obtained;
[0011] Performing base conversion processing on the data item value in the original reported data to obtain target reported data; wherein the data item value is a number;
[0012] The target reporting data is sent to a receiving end, so that after the receiving end receives the target reporting data, the target reporting data is parsed to obtain target reception data, and the target reception data is stored.
[0013] Furthermore, the method for reporting and receiving monitoring data further includes: defining a base conversion value set;
[0014] The performing base conversion processing on the data item values in the original reported data to obtain the target reported data includes:
[0015] Based on all data item values in the original reported data, construct a JSON array to be adjusted; according to the arrangement order of the data items in the collected data items, adjust the arrangement order of the data item values in the JSON array to be adjusted to obtain a JSON array to be converted;
[0016] If the data item value in the JSON array to be converted is an integer, the data item value is converted to an integer using the base conversion value set to obtain the target JSON array;
[0017] If the data item value in the to-be-converted JSON array is a decimal, the integer part and the non-zero part of the decimal part of the data item value are converted to integers using the base conversion value set to obtain the target JSON array;
[0018] Convert the target JSON array into a string to obtain the target reporting data.
[0019] Furthermore, the using the base conversion value set to perform integer conversion on the integer part and the non-zero part of the decimal part of the data item value to obtain the target JSON array includes:
[0020] Perform integer conversion on the integer part of the data item value using the base conversion value set to obtain a target integer result;
[0021] If the highest bit of the decimal part of the data item value is not zero, performing integer conversion on the decimal part using the base conversion value set to obtain a target decimal result;
[0022] If the highest bit of the decimal part of the data item value is zero, performing integer conversion on the non-zero part using the base conversion value set and performing a zero-padding operation to obtain a target decimal result;
[0023] The target integer result, the decimal point, and the target decimal result are combined into a converted value to obtain a target JSON array; wherein the target JSON array includes at least one converted value.
[0024] Furthermore, if the most significant bit of the decimal part of the data item value is zero, performing integer conversion on the non-zero part using a base conversion value set and performing a zero-padding operation to obtain a target decimal result includes:
[0025] In order from high to low bits, the first non-zero value in the fractional part and the values thereafter are determined as the non-zero part of the fractional part;
[0026] Performing integer conversion on the non-zero part using the base conversion value set to obtain a non-zero conversion value;
[0027] Determine the number of zeros before the first non-zero value in the decimal part as the number of places to be filled;
[0028] Add the number of zeros to be filled before the non-zero conversion value to obtain a target decimal result.
[0029] Furthermore, the base conversion value set is used to convert the data item value from decimal to a preset base;
[0030] The base conversion value set includes a preset number of special characters;
[0031] Among them, the first ten special characters of the preset number of special characters are 0 to 9 respectively, and the remaining special characters are used to represent: decimal 10 to the maximum representation value of decimal, and the maximum representation value is the preset number of special characters minus one.
[0032] Furthermore, the use of the base conversion value set to convert the data item value into an integer to obtain a target JSON array includes:
[0033] Determining a quotient of the data item value and a preset number of bits and a corresponding remainder;
[0034] When the quotient is not zero, determining a special character for representing the quotient from the base conversion value set, and determining a special character for representing the remainder from the base conversion value set; using the special character for representing the quotient as a high bit and the special character for representing the remainder as a low bit to obtain a converted value, so as to obtain a target JSON array;
[0035] The target JSON array includes at least one converted value.
[0036] Furthermore, after the receiving end receives the target reported data, parsing the target reported data includes:
[0037] Convert the target reported data from a string to a JSON array to be parsed;
[0038] If the converted value in the JSON array to be parsed has no decimal point, performing integer parsing on the converted value using the base conversion value set to obtain a parsed value;
[0039] If the converted value in the JSON array to be parsed has a decimal point, then use the base conversion value set to perform integer parsing on the integer part and the non-zero part of the decimal part of the converted value to obtain the parsed value;
[0040] Generate a parsed JSON array according to the order of arrangement of the data items in the collected data items and the parsed values corresponding to the data items;
[0041] The parsed JSON array is verified based on the collected data item, and the parsed JSON array that passes the verification is determined as the target received data.
[0042] Further, the storing the target received data includes:
[0043] Obtaining a current data reporting time at which the receiving end receives the target reported data; obtaining a last data reporting time of the monitoring device to the receiving end; and determining a time difference between the current data reporting time and the last data reporting time as a current reporting frequency of the monitoring device;
[0044] Construct a dynamic time sequence table; for different orders of magnitude of the current reporting frequency, construct corresponding static time sequence tables respectively; wherein, a dynamic time sequence table is used to store the target reception data of a monitoring device, and a static time sequence table is used to store the target reception data of multiple monitoring devices;
[0045] If the order of magnitude of the reporting frequency this time is a frequency in seconds, storing the target reception data in a dynamic time sequence table;
[0046] If the order of magnitude of the current reporting frequency is not a frequency of seconds, the target received data is stored in a static timing table corresponding to the order of magnitude of the current reporting frequency.
[0047] In a second aspect, the present invention further provides an apparatus for reporting and receiving monitoring equipment data, comprising:
[0048] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the processor to execute the method for reporting and receiving monitoring equipment data described in the first aspect.
[0049] In a third aspect, the present invention further provides a non-volatile computer storage medium, which stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors to complete the method for reporting and receiving monitoring equipment data described in the first aspect.
[0050] In a fourth aspect, a laser chip is provided, comprising: a processor and an interface for calling and running a computer program stored in a memory to execute the method for reporting and receiving monitoring equipment data as in the first aspect.
[0051] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer or processor, enables the computer or processor to execute the method for reporting and receiving monitoring device data as described in the first to fourth aspects and any one of the aspects.
[0052] In the sixth aspect, the present invention also provides a system for reporting and receiving monitoring equipment data, including an apparatus for reporting and receiving monitoring equipment data as in the second aspect, and using the method for reporting and receiving monitoring equipment data as described in the first aspect to complete the interaction of the apparatus for reporting and receiving monitoring equipment data as in the second aspect.
[0053] Different from the prior art, the present invention has at least the following beneficial effects:
[0054] According to the collected data items of the monitoring equipment, the original reported data with the data item values being digits in the monitoring data is determined; the data item values in the original reported data are subjected to base conversion processing to obtain target reported data and send it to the receiving end, so that the receiving end can receive and parse the target reported data, obtain target received data and store it; since the monitoring data collected by the monitoring equipment are mostly represented in digital form, the key to reporting the monitoring data is also mainly the data item values with the reported data format being digits, and for the data item values with the data format being digits, the present invention compresses them as much as possible through base conversion processing, thereby reducing the amount of reported data; and achieves a significant increase in the reporting speed while keeping the network transmission speed unchanged. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. Those skilled in the art can also derive other drawings based on these drawings without inventive effort.
[0056] Figure 1 This is a flow chart of a method for reporting and receiving monitoring device data provided by an embodiment of the present invention;
[0057] Figure 2 is a flow chart of step 10 provided in an embodiment of the present invention;
[0058] Figure 3 is a flow chart of step 20 provided in an embodiment of the present invention;
[0059] Figure 4 is a flow chart of step 30 provided in an embodiment of the present invention;
[0060] Figure 5 is a flow chart of step 40 provided in an embodiment of the present invention;
[0061] Figure 6 This is a schematic diagram of a processing flow for monitoring data reported as digital data provided by an embodiment of the present invention;
[0062] Figure 7 is a flow chart of step 50 provided in an embodiment of the present invention;
[0063] Figure 8 is a flow chart of step 60 provided in an embodiment of the present invention;
[0064] Figure 9 The figure is a schematic diagram of the architecture of an apparatus for reporting and receiving monitoring equipment data provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0066] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0067] Unless the context requires otherwise, throughout the specification and claims, the term "including" is to be interpreted as meaning open inclusion, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" and the like are intended to indicate that the specific features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner, that is, although they may be carried in the embodiments or examples of the above terms due to reasons such as the order and position of appearance, it is not limited to that they can be carried in combination by one embodiment or example.
[0068] In the description of the present invention, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present disclosure.
[0069] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "multiple" means two or more. In addition, for example, the description may also use the method of adding "A" and "B" at the end to describe the same type of nouns as two independent individuals. In this case, the corresponding features defined as "A" and "B" are only used to distinguish the description purposes of the same type of individuals, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0070] When describing some embodiments, the expressions “coupled”, “coupled” and “connected” and their derivatives may be used. For example, when describing some embodiments, the term “connected” may be used to indicate that two or more components are in direct physical or electrical contact with each other. For another example, when describing some embodiments, the term “coupled” may be used to indicate that two or more components are in direct physical or electrical contact. However, the term “connected” or “coupled” may also mean that two or more components are not in direct contact with each other, but still cooperate or interact with each other, such as “optical coupling”, “wireless connection”, etc. The embodiments disclosed herein are not necessarily limited to the contents of the present invention.
[0071] In the description of the present invention, the expression "A and / or B" (where A and B are used to formally represent specific characteristic contents) will be involved, and the corresponding expressions include the following three combinations: only A, only B, and a combination of A and B.
[0072] As used herein, "about," "substantially," or "approximately" includes the stated value and an average value that is within an acceptable range of deviation from the particular value as determined by one of ordinary skill in the art taking into account the measurements in question and the errors associated with the measurement of the particular quantity (i.e., the limitations of the measurement system).
[0073] Example 1:
[0074] Since the existing technology uses key-value pairs to respectively identify the data item identifiers and corresponding data item values collected by the monitoring equipment, so as to assemble the monitoring data into a JSON object in a unified format and send it, this method can ensure the universality of data reporting and reception.
[0075] However, since each data item contains a data item identifier and a corresponding data item value, the data item identifier and data item value are large in size, and the reporting speed is limited when transmitted over the network. On the one hand, in order to ensure universality while clarifying the parameter meaning represented by each data item value, each data item value has to be combined with the corresponding data item identifier and uploaded, which generates additional reporting data. On the other hand, monitoring equipment often needs to collect a large number of data item values. In particular, as monitoring equipment becomes more intelligent, the number of data items required to be collected will increase, and the collection frequency requirements will also become increasingly higher, thus generating a huge amount of data item values.
[0076] In order to solve the above problems, Figure 1 As shown, an embodiment of the present invention provides a method for reporting and receiving monitoring device data, including:
[0077] Step 10: Obtain the original reported data according to the collected data items of the monitoring equipment.
[0078] The "collected data item" defines the format and content of the monitoring data that the monitoring device needs to collect. After the monitoring device of an embodiment of the present invention collects the monitoring data, it determines the numerical data item value as the original reported data according to the monitoring data format defined in the "collected data item." The original reported data is in JSON object format; a JSON object includes a key-value pair, where the key is the identifier of the data item collected by the monitoring device, and the value is the value of the data item collected by the monitoring device.
[0079] It should be noted that the method for reporting and receiving monitoring device data in the embodiment of the present invention is limited to use within the scope of digital monitoring data collected by the monitoring device.
[0080] The specific device at the receiving end and the system running on the device are determined by those skilled in the art according to the specific usage scenario and are not limited here. In an optional embodiment, the system running at the receiving end may be an IoT cloud system.
[0081] Before a monitoring device collects data, it must first register its basic information on the receiving end. For example, if the monitoring device is a displacement meter, the receiving end must first add the displacement meter, including its factory serial number and the device's typical reporting frequency. The added monitoring device is then associated with the device type code in its basic information. Furthermore, the monitoring device and its corresponding data items are initialized to the receiving end's system memory. The receiving end initializes the data items, the basic information of the monitoring device, and the corresponding relationship between the monitoring device and the data items into system memory to ensure real-time processing of the target reported data from the monitoring device.
[0082] Step 20: Perform base conversion processing on the data item value in the original reported data to obtain target reported data; wherein the data item value is a number.
[0083] The specific manner in which the monitoring device of an embodiment of the present invention performs base conversion processing on a data item value will be described below.
[0084] Step 30: Send the target reporting data to the receiving end, so that after the receiving end receives the target reporting data, it parses the target reporting data to obtain target reception data and stores the target reception data.
[0085] The specific method of parsing the target reported data and the specific method of storing the target received data will be explained below; among them, the principle of the method of parsing the target reported data is the same as the principle of the method of the monitoring equipment to convert the data item value into a base, and the process is reversed.
[0086] According to the collected data items of the monitoring equipment, the original reported data with the data item values being digits in the monitoring data is determined; the data item values in the original reported data are subjected to base conversion processing to obtain target reported data and send it to the receiving end, so that the receiving end can receive and parse the target reported data, obtain target received data and store it; since the monitoring data collected by the monitoring equipment are mostly represented in digital form, the key to reporting the monitoring data is also mainly the data item values with the reported data format being digits, and for the data item values with the data format being digits, the present invention compresses them as much as possible through base conversion processing, thereby reducing the amount of reported data; and achieves a significant increase in the reporting speed while keeping the network transmission speed unchanged.
[0087] The following describes the process of generating and reporting target reporting data by the monitoring device according to an embodiment of the present invention:
[0088] To facilitate understanding, the embodiment of the present invention provides a specific example of collecting data items, as follows:
[0089]
[0090]
[0091] Among them, the device type code cannot be repeated and is used as the cloud data item storage field; the data item order cannot be repeated and is used when generating target reporting data and generating target receiving data.
[0092] In order to reduce the size of the target reported data as much as possible, a base conversion value set is defined; in an optional embodiment, the base conversion value set is used to convert the data item value from decimal to a base with a preset number of digits. The preset number of digits is 62, and the base conversion value set includes a preset number of special characters; the first ten special characters of the preset number of special characters are 0 to 9, respectively, and the remaining special characters are used to represent: decimal 10 to the maximum representation value of decimal, and the maximum representation value is the preset number of digits minus one. The base conversion value set can be:
[0093] Define a set of special 62-bit value characters as follows:
[0094] 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
[0095] Among them, uppercase English letters A to Z represent decimal values 10 to 35, and lowercase English letters az represent values 36 to 61.
[0096] It should be noted that in the scenario of monitoring data reporting and receiving, for the receiving end (i.e., the data receiving server), since a powerful server and server operating system are used, the range of characters supported far exceeds numbers and uppercase and lowercase letters. Special characters can be added to the 10 numbers and 26 uppercase and lowercase English letters to express more numbers with fewer special characters, thereby further reducing the amount of data required to be transmitted. However, for monitoring devices with weak performance, since most monitoring devices do not have an operating system and cannot support complex special characters, the embodiment of the present invention adopts a 62 (10 single numbers and uppercase and lowercase English letters) base to better be compatible with monitoring devices.
[0097] like Figure 2 As shown, the base conversion processing is performed on the data item values in the original reported data to obtain the target reported data, including:
[0098] Step 101: construct a JSON array to be adjusted based on all data item values in the original reported data; adjust the arrangement order of the data item values in the JSON array to be adjusted according to the arrangement order of the data items in the collected data items to obtain a JSON array to be converted.
[0099] To facilitate explanation of the base conversion process according to the embodiment of the present invention, the following specific example is used as an example for explanation:
[0100] When the monitoring device is a displacement meter, for the data item "X-direction displacement" to be collected, the corresponding data item is identified as "WYZ_X". Similarly, the data item for the data item "Y-direction displacement" is identified as "WYZ_Y", and the data item for the data item "Z-direction displacement" is identified as "WYZ_Z". When the displacement meter collects an X-direction displacement value of 61 microns, a Y-direction displacement value of 28 microns, and a Z-direction displacement value of 37 microns, the data reporting format is as follows:
[0101] If the existing data reporting format is used, the JSON object to be reported is as follows:
[0102] {"WYZ_X":61,"WYZ_Y":28,"WYZ_Z":37}.
[0103] The key in the JSON object is the data item identifier collected by the monitoring device, and the value is the data item value collected by the monitoring device. The data volume of the JSON object is 34 characters.
[0104] Since the data item values in the JSON object are all numbers, the JSON object is the original reported data in the embodiment of the present invention. The embodiment of the present invention compresses the original reported data (i.e., performs base conversion processing) in the following manner:
[0105] First, remove the data item identifier in the JSON object, that is, obtain only the corresponding data item value to construct a JSON array to be adjusted with only the data item value, as follows:
[0106] [61,28,37].
[0107] Since there are only data item values, the order of the values needs to be adjusted to the order of the data items defined in the collected data items so that the data items corresponding to the data item values can be determined in order. Here, since the order is consistent with that defined in the collected data items, the JSON array to be adjusted is the same as the JSON array to be converted.
[0108] Step 102: If the data item value in the to-be-converted JSON array is an integer, the data item value is converted to an integer using a base conversion value set to obtain a target JSON array.
[0109] The specific process of integer conversion using the base conversion value set is described below.
[0110] Step 103: If the data item value in the to-be-converted JSON array is a decimal, a base conversion value set is used to perform integer conversion on the integer part and the non-zero part of the decimal part of the data item value to obtain a target JSON array.
[0111] In an optional embodiment, since the data type of each data item can be defined in the collected data item, it is possible to directly determine whether the corresponding data item value is an integer or a decimal according to the collected data item, and then directly use the integer or decimal processing method to perform the base conversion.
[0112] Step 104: Convert the target JSON array into a string to obtain target reporting data.
[0113] The method of converting the JSON array into a string is selected by those skilled in the art based on the specific usage scenario and experience.
[0114] In an optional embodiment, converting the target JSON array into a string can be: removing the starting and ending square brackets of the target JSON array; for example, when the target JSON array is "[z,S,b]", the target reported data is "z,S,b"; for another example, when the target JSON array is "[zI,SN,b.0s]", the target reported data is "zI,SN,b.0s".
[0115] To illustrate the process of integer conversion using a base conversion value set, such as Figure 3 As shown, in step 102, the data item value is converted to an integer using the base conversion value set to obtain a target JSON array including:
[0116] Step 201: Determine the quotient of the data item value and a preset number of bits and the corresponding remainder.
[0117] For example, when the data item value is 61 and the preset number of bits is 62, the corresponding quotient is 0 and the remainder is 61; when the data item value is 28 and the preset number of bits is 62, the corresponding quotient is 0 and the remainder is 28; when the data item value is 37 and the preset number of bits is 62, the corresponding quotient is 0 and the remainder is 37.
[0118] Step 202: When the quotient is zero, determine a special character for representing the remainder from the base conversion value set, and use the special character for representing the remainder as a converted value to obtain a target JSON array.
[0119] The target JSON array includes at least one converted value.
[0120] For example, when the data item value is 61 and the preset number of bits is 62, since the corresponding quotient is 0, the special character z used to represent the remainder 61 is determined from the base conversion value set, and the converted value is z; when the data item value is 28 and the preset number of bits is 62, since the corresponding quotient is 0, the special character S used to represent the remainder 28 is determined from the base conversion value set, and the converted value is S; when the data item value is 37 and the preset number of bits is 62, since the corresponding quotient is 0, the special character b used to represent the remainder 37 is determined from the base conversion value set, and the converted value is b.
[0121] The target JSON array is as follows: [z, S, b].
[0122] Step 203: When the quotient is not zero, determine a special character for representing the quotient from the base conversion value set, and determine a special character for representing the remainder from the base conversion value set; use the special character for representing the quotient as the high bit, and use the special character for representing the remainder as the low bit to obtain the converted value, so as to obtain the target JSON array.
[0123] For example, when the data item value is 666 and the preset number of bits is 62, since the corresponding quotient is 10 and the remainder is 46, the special character A used to represent 10 is determined from the base conversion value set, and the special character k used to represent 46 is determined from the base conversion value set; A is taken as the high bit and k as the low bit to obtain the converted value Ak.
[0124] In order to further reduce the number of characters, according to step 204, the brackets at the beginning and end of the target JSON array in the third step are removed and directly converted into a normal string, and the target reported data is obtained as follows: z, S, b.
[0125] The number of characters of the monitoring report data transmitted in the network in the prior art is 34, while the number of characters of the target report data assembled using the method of the embodiment of the present invention is 5 characters, which reduces the network transmission of 29 characters and converts the 34 characters transmitted using JSON into 5 characters; the number of characters after conversion of the above integer specific instance is only 5 / 34 of that before conversion, with a compression rate of 15%.
[0126] It should be noted that when the data item value is an integer, the data item value is directly converted to an integer according to the process of step 202; when the data item value is a decimal, the integer part of the decimal is converted to an integer according to the process of step 202, and the non-zero part of the decimal part is converted to an integer according to the process of step 202.
[0127] The following describes the base conversion process when the data item value in the JSON array to be converted is a decimal:
[0128] For example, when the displacement meter device collects an X-direction displacement value of 61.18 microns, a Y-direction displacement value of 28.23 microns, and a Z-direction displacement value of 37.054 microns, the data reporting format is as follows:
[0129] If the existing data reporting format is used, the JSON object to be reported is as follows:
[0130] {"WYZ_X":61.18,"WYZ_Y":28.23,"WYZ_Z":37.054}.
[0131] The key in the JSON object is the data item identifier collected by the monitoring device, and the value is the data item value collected by the monitoring device. The data volume of the JSON object is 44 characters.
[0132] Since the data item values in the JSON object are all numbers, the JSON object is the original reported data in the embodiment of the present invention. The embodiment of the present invention compresses the original reported data (i.e., performs base conversion processing) in the following manner:
[0133] First, remove the data item identifier in the JSON object, that is, obtain only the corresponding data item value to construct a JSON array to be adjusted with only the data item value, as follows:
[0134] [61.18,28.23,37.054].
[0135] Since there are only data item values, the order of the values needs to be adjusted to the order of the data items defined in the collected data items so that the data items corresponding to the data item values can be determined in order. Here, since the order is consistent with that defined in the collected data items, the JSON array to be adjusted is the same as the JSON array to be converted.
[0136] Then, if Figure 4 As shown, in step 103, the base conversion value set is used to perform integer conversion on the integer part and the non-zero part of the decimal part of the data item value to obtain the target JSON array, including:
[0137] Step 301: Use a base conversion value set to perform integer conversion on the integer part of the data item value to obtain a target integer result.
[0138] For example, when the data item value is 61.18 and the preset number of digits is 62, the two parts of data on the left and right of the decimal point are taken out, that is, the integer part of 61.18 is 61 and the decimal part is 18; 61 is converted to an integer using the base conversion value set to obtain the target integer result z.
[0139] For another example, when the data item value is 28.23 and the preset number of digits is 62, the two parts of data on the left and right of the decimal point are taken out, that is, the integer part of 28.23 is 28 and the decimal part is 23; 28 is converted to an integer using the base conversion value set to obtain the target integer result S.
[0140] For another example, when the data item value is 37.054 and the preset number of digits is 62, the two parts of data on the left and right of the decimal point are taken out, that is, the integer part of 37.054 is 37 and the decimal part is 054; 37 is converted to an integer using the base conversion value set to obtain the target integer result b.
[0141] Step 302: If the highest bit of the decimal part of the data item value is not zero, perform integer conversion on the decimal part using a base conversion value set to obtain a target decimal result.
[0142] That is, if the decimal part to the right of the decimal point does not start with 0, the decimal part is converted to an integer using the base conversion value set to obtain the target decimal result.
[0143] For example, the decimal part of 61.18 is 18, which is not zero. 18 is converted to an integer using the base conversion value set to obtain the target decimal result I.
[0144] For another example, the decimal part of 28.23 is 23, which is not zero. 23 is converted to an integer using the base conversion value set to obtain the target decimal result N.
[0145] Step 303: If the highest bit of the decimal part of the data item value is zero, perform integer conversion on the non-zero part using the base conversion value set and perform a zero-padding operation to obtain a target decimal result.
[0146] The specific conversion process when the highest bit is 0 will be described below.
[0147] Step 304: Combining the target integer result, the decimal point, and the target decimal result into a converted value to obtain a target JSON array; wherein the target JSON array includes at least one converted value.
[0148] For example, the target integer result z, decimal point and target decimal result I are combined into the converted value zI; the target integer result S, decimal point and target decimal result N are combined into the converted value SN; the target integer result b, decimal point and target decimal result 0s are combined into the converted value b.0s; the target JSON array is [zI,SN,b.0s].
[0149] In order to illustrate the specific conversion process when the highest bit is 0, Figure 5 As shown, in step 303, if the highest bit of the decimal part of the data item value is zero, performing integer conversion on the non-zero part using the base conversion value set and performing a zero-padding operation to obtain a target decimal result includes:
[0150] Step 4011: In order from high bit to low bit, determine the first non-zero value in the decimal part and the values thereafter as the non-zero part of the decimal part.
[0151] For example, the decimal part of 37.054 is 054, its first non-zero value is 5, and the non-zero part is 54.
[0152] Step 402: Use the base conversion value set to perform integer conversion on the non-zero part to obtain a non-zero conversion value.
[0153] For example, performing integer conversion on 54 using the base conversion value set results in a non-zero conversion value s.
[0154] Step 403: Determine the number of zeros before the first non-zero value in the decimal part as the number of places to be filled.
[0155] For example, the number of zeros before 5 in 054, 1, is determined as the number of positions to be filled.
[0156] Step 404: Add the number of zeros to be filled before the non-zero conversion value to obtain a target decimal result.
[0157] Add a zero before s to get the target decimal result 0s.
[0158] To better illustrate the method for reporting and receiving monitoring device data according to an embodiment of the present invention, several specific examples of data items with decimal values are provided below:
[0159] When the data item value is 77.85 and the preset number of digits is 62, its integer part is 77, and there is no zero in its decimal part 85. Use the base conversion set to convert 77 and 85 to integers respectively. Since the quotient of 77 is 1 and the remainder is 15, and the quotient of 85 is 1 and the remainder is 23, we get 1F.1N.
[0160] When the data item value is 10.0052 and the preset number of bits is 62, its integer part is 10, the non-zero part of its decimal part is 52, the first non-zero value is 5, and the number of digits to be filled is 2. Use the base conversion set to perform integer conversion on 10 and 52 respectively. Since the quotient of 10 is 0 and the remainder is 10, and the quotient of 52 is 0 and the remainder is 52, A.00q is obtained.
[0161] like Figure 6 The flowchart of obtaining target reporting data according to an embodiment of the present invention is shown. The method according to the embodiment of the present invention can significantly reduce the target reporting data transmission size, especially when the monitoring data are all integers.
[0162] Then send the target reporting data to the receiving end. When the receiving end receives the target reporting data, it can convert the target reporting data from the preset decimal system back to decimal according to the following steps:
[0163] like Figure 7 As shown, in step 30, after the receiving end receives the target reported data, parsing the target reported data to obtain target received data includes:
[0164] Step 501: Convert the target reported data from a character string into a JSON array to be parsed.
[0165] The method of converting the string into a JSON array is selected by those skilled in the art based on the specific usage scenario and experience, and may be the reverse process of step 204 .
[0166] For example, convert the target reported data zI, SN, b.0s into the JSON array {zI, SN, b.0s} to be parsed.
[0167] Step 502: If the converted value in the JSON array to be parsed does not have a decimal point, integer parsing is performed on the converted value using the base conversion value set to obtain a parsed value.
[0168] Step 503: If the converted value in the JSON array to be parsed has a decimal point, integer parsing is performed on the integer part and the non-zero part of the decimal part of the converted value using the base conversion value set to obtain the parsed value.
[0169] In an optional embodiment, in order to simplify the parsing process at the receiving end, the receiving end can directly determine whether the converted value is an integer or a decimal based on whether there is a decimal point, and then directly parse it using the integer or decimal processing method, without having to match the parsed value according to the data type of each data item defined in the collected data item.
[0170] In one embodiment, the process of performing integer parsing in the embodiment of the present invention may be as follows:
[0171] Step 1: Convert the target reported data zI, SN, b.0s into a JSON array to be parsed {zI, SN, b.0s}. You can use the open source JSON library to parse it directly after adding square brackets before and after, or parse it into an array by separating it with English commas.
[0172] Step 2: Convert each value in the array from base 62 to base 10.
[0173] The reverse conversion process is as follows:
[0174] Determine whether there is a decimal point in the 62-bit value. If there is no decimal point, convert it directly to decimal. If there is a decimal point, extract the data to the left and right of the decimal point. The data to the left of the decimal point is directly converted to decimal, which is recorded as value1.
[0175] The right side of the number must be checked to see if it starts with a zero. If the number to the right of the decimal point does not start with a zero, it is directly converted to a decimal value, recorded here as value2. The combination of value1 + decimal point + value2 is the reverse-converted decimal value. If the number to the right of the decimal point starts with a zero, all the zeros that fill the position are removed, recorded here as value3. Starting from the first non-zero character on the right, the 62-hexadecimal value is converted to a decimal value, recorded here as value4. The combination of value1 + decimal point + value3 + value4 is the reverse-converted decimal value.
[0176] The result is {61.18, 28.23, 37.054}.
[0177] Step 504: Generate a parsed JSON array according to the arrangement order of the data items in the collected data items and the parsed values corresponding to the data items.
[0178] Step 3: According to the data order defined in the collected data items, the values in the array are mapped to their respective data codes and converted into keyed JSON object data. That is, according to the corresponding relationship in the device collected data items, and adding square brackets, we get:
[0179] {"WYZ_X":61.18,"WYZ_Y":28.23,"WYZ_Z":37.054}
[0180] Step 505: Verify the parsed JSON array based on the collected data item, and determine the parsed JSON array that passes the verification as the target received data.
[0181] At this time, the receiving end has initialized the collected data items, the device information of the monitoring device, and the correspondence between the monitoring device and the collected data items to the system memory. The embodiment of the present invention retrieves the collected data items, the detection device, and the correspondence from the memory, first verifies the legitimacy of the device through the device serial number in the memory, and after the legitimacy of the device is passed, finds the collected data items corresponding to the monitoring device according to the correspondence, and then, when the data item identifier verification minimum value, maximum value, and step size in the collected data item pass the verification, the parsed JSON array that passes the verification is determined as the target received data.
[0182] This solution targets scenarios where data is uploaded and received between monitoring devices and the IoT cloud. By defining a special set of base-62 values and converting decimal values into base-62 values, it reduces the number of characters in the JSON objects that need to be uploaded and received. Furthermore, based on this base-62 conversion method, a solution is designed specifically for processing decimals.
[0183] Example 2:
[0184] To further illustrate the method for reporting and receiving monitoring device data according to an embodiment of the present invention, an embodiment of the present invention provides a specific example of generating target reporting data when the monitoring device is a displacement meter device and the receiving end system is an IoT cloud system, as follows:
[0185] The IoT cloud system defines the following data items for device collection:
[0186]
[0187]
[0188] The integer data item values collected by the displacement meter device are as follows:
[0189] The displacement value in the X direction is 61 microns, the displacement value in the Y direction is 28 microns, and the displacement value in the Z direction is 37 microns. The original reported data is: {"WYZ_X":61,"WYZ_Y":28,"WYZ_Z":37}. To compress it, the steps are as follows:
[0190] Step 1: The JSON array to be adjusted is: [61, 28, 37];
[0191] The JSON array to be converted is: [61, 28, 37].
[0192] Step 2: Define a set of special characters (i.e., a base conversion value set) to convert the data item value from decimal to base 62. The base conversion value set is as follows:
[0193] 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
[0194] Use the special characters A through Z to represent decimal values 10 through 35, and the special characters a through z to represent values 36 through 61.
[0195] Step 3: Use Z to represent the decimal value of 61, use S to represent the decimal value of 28, and use b to represent the decimal value of 37.
[0196] The target JSON array is: [z,S,b].
[0197] Step 4:
[0198] The target reported data is: z, S, b.
[0199] The decimal data items collected by the displacement meter device are as follows:
[0200] The displacement value in the X direction is 61.18 microns, the displacement value in the Y direction is 28.23 microns, and the displacement value in the Z direction is 37.054 microns. The original reported data is:
[0201] {"WYZ_X":61.18,"WYZ_Y":28.23,"WYZ_Z":37.054}, compress it, the steps are as follows:
[0202] Take out the two parts of data on the left and right of the decimal point. Convert the data on the left of the decimal point that is greater than 0 according to the method of converting the integer part. If the decimal point does not start with 0, directly convert the data on the right of the decimal point according to the method of converting the integer part, such as the above 61.18 converted to zI. If the decimal point starts with 0, the data must also be divided into 2 parts, starting from non-0, take out the two parts of data on the left and right, and then convert the data on the right according to the method of converting the integer part, and keep the same number of 0s on the left. Keeping 0 padding is to ensure that the precision of the data after the decimal point is not lost, such as the above 37.054 converted to b.0s.
[0203] In the above decimal example, the number of characters after conversion is only 12 / 44 of the number before conversion, and the compression rate is 27%. In this embodiment of the present invention, the compression rate is obtained by dividing the character length of the target reported data by the character length of the original reported data.
[0204] The present invention also provides a set of specific examples, as follows
[0205]
[0206]
[0207] Example 3:
[0208] After the receiving end obtains the target received data, in order to store the target received data at the receiving end, the embodiment of the present invention also provides a method for writing the target received data into slices according to the reporting time frequency and dynamically storing the data, such as Figure 8 As shown, the details are as follows:
[0209] In step 30, storing the target reception data includes:
[0210] Step 601: Obtain the current data reporting time when the receiving end receives the target reported data; obtain the last data reporting time of the monitoring device to the receiving end; and determine the time difference between the current data reporting time and the last data reporting time as the current reporting frequency of the monitoring device.
[0211] The receiving end retrieves the time when the monitoring device last reported data from the memory, calculates the time difference between the current data reporting time and the last data reporting time to obtain the device's latest reporting frequency; among them, if the monitoring device is reporting data for the first time, the normal reporting frequency in the basic information of the device defined when the monitoring device was registered is used as the current reporting frequency.
[0212] Step 602: Construct a dynamic timing table; for different orders of magnitude of the current reporting frequency, construct corresponding static timing tables respectively; wherein, a dynamic timing table is used to store the target reception data of a monitoring device, and a static timing table is used to store the target reception data of multiple monitoring devices.
[0213] Among them, a time series table is a database table structure specifically used to store time series data. Time series data usually has fields such as timestamp, sensor ID, and measurement value, which are used to record data that changes over time.
[0214] In an optional embodiment, the Kafka messaging system can be used to store the target received data, enabling the target received data to be written in segments according to the reporting frequency and dynamically stored in the database. Kafka is a distributed, high-throughput, and highly scalable message queue system. The Kafka cluster runs on one or more servers; the client that reads data from the Kafka server is a Kafka consumer.
[0215] The embodiment of the present invention creates corresponding Kafka topics according to the different orders of magnitude of the current reporting frequency. In one embodiment, the target reception data of monitoring devices with a current reporting frequency of the hourly level or higher are stored in the same Kafka topic, the target reception data of multiple monitoring devices with a current reporting frequency between the second level and the hourly level are stored in the same Kafka topic, and the single monitoring data with a current reporting frequency below the second level are stored in the same Kafka topic.
[0216] For each created Kafka topic, a corresponding Kafka consumer is dynamically created. That is, in the Kafka cluster, each current Kafka topic corresponds to a Kafka consumer. The Kafka consumer is used to retrieve the target received data and store it in real time in the corresponding time series tables under different categories of Kafka topics, thereby achieving the target received data being written in shards according to the current reporting frequency. The specific storage strategy is as follows:
[0217] Each time a monitoring device's target reception data needs to be stored, the system determines whether it should share a static schedule with other monitoring devices or use a separate dynamic schedule, based on the device's current reporting frequency. When a schedule is needed, the corresponding static or dynamic schedule is created.
[0218] In one embodiment, a static timing table carries a monitoring device's serial number tag (SN Tag) to identify the target reception data of multiple monitoring devices, enabling a single static timing table to be shared. The SN Tag uniquely identifies the monitoring device. A dynamic timing table does not carry a monitoring device's serial number tag; the target reception data of a single monitoring device is stored using a single dynamic timing table.
[0219] Step 603: If the order of magnitude of the reporting frequency this time is a frequency in seconds, the target reception data is stored in a dynamic time sequence table.
[0220] In one embodiment, the target reception data of the monitoring device whose reporting frequency is on the order of seconds is stored by the Kafka consumer in the dynamic time series table of the monitoring device in the Kafka topic corresponding to the second frequency.
[0221] Step 604: If the order of magnitude of the current reporting frequency is not a frequency of seconds, the target received data is stored in a static timing table corresponding to the order of magnitude of the current reporting frequency.
[0222] In one embodiment, the target reception data of the monitoring device whose reporting frequency is not at the second level is stored by the Kafka consumer in a static time series table in the Kafka topic corresponding to the corresponding level, and the serial number tag of the monitoring device that reports the target reception data is stored in the static time series table.
[0223] In an embodiment of the present invention, at the receiving end, the target reception data is dynamically written into a timing table or a static timing table according to the order of magnitude of the reporting time frequency, thereby realizing the segmented storage of the target reception data; and for monitoring equipment with a higher reporting frequency (for example, a frequency of seconds), a dynamic timing table is used alone to store its target reception data, while for monitoring equipment with other reporting frequencies, a static timing table is shared by them, thereby ensuring data storage performance and facilitating the subsequent flexible processing of the target reception data received from each monitoring device as needed.
[0224] Example 4:
[0225] like Figure 9 FIG. 1 is a schematic diagram of the architecture of the apparatus for reporting and receiving monitoring device data according to an embodiment of the present invention. The apparatus for reporting and receiving monitoring device data according to this embodiment includes one or more processors 21 and a memory 22. Figure 9 A processor 21 is taken as an example.
[0226] The processor 21 and the memory 22 may be connected via a bus or other means. Figure 9 The bus connection is taken as an example.
[0227] Memory 22, as a nonvolatile computer-readable storage medium, can be used to store nonvolatile software programs and nonvolatile computer-executable programs, such as the method for reporting and receiving monitoring device data in this embodiment. Processor 21 executes the method for reporting and receiving monitoring device data by running the nonvolatile software programs and instructions stored in memory 22.
[0228] The memory 22 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some embodiments, the memory 22 may optionally include a memory remotely located relative to the processor 21, and such remote memory may be connected to the processor 21 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0229] The program instructions / modules are stored in the memory 22. When executed by the one or more processors 21, the method for reporting and receiving monitoring device data in the above-mentioned embodiment is executed, for example, each step of the method for reporting and receiving monitoring device data in the embodiment of the present invention described above is executed.
[0230] An embodiment of the present invention further provides a non-volatile computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are executed by one or more processors, for example Figure 9 A processor 21 can enable the above one or more processors to execute the method for reporting and receiving monitoring device data in a specific embodiment of the present invention, for example, to execute each step of the method for reporting and receiving monitoring device data in the embodiment of the present invention described above; it can also realize Figure 9 The various modules and units described above; or performing the method for reporting and receiving monitoring device data in a specific embodiment of the present invention, for example, performing the various steps of the method for reporting and receiving monitoring device data in the embodiment of the present invention described above; it can also be implemented Figure 9 The various modules and units described.
[0231] It is worth noting that the information interaction, execution process, etc. between the modules and units within the above-mentioned devices and systems are based on the same concept as the processing method embodiment of the present invention. The specific content can be found in the description of the method embodiment of the present invention and will not be repeated here.
[0232] Those skilled in the art will understand that all or part of the steps in the various methods of the embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a disk or an optical disk, etc.
[0233] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for reporting and receiving monitoring equipment data, characterized in that: include: According to the collected data items of the monitoring equipment, the original reported data is obtained; Performing base conversion processing on the data item value in the original reported data to obtain target reported data; wherein the data item value is a number; The target reporting data is sent to a receiving end, so that after the receiving end receives the target reporting data, the target reporting data is parsed to obtain target reception data, and the target reception data is stored.
2. The method for reporting and receiving monitoring equipment data according to claim 1, characterized in that: The method for reporting and receiving monitoring device data further includes: defining a base conversion value set; The performing base conversion processing on the data item values in the original reported data to obtain the target reported data includes: Based on all data item values in the original reported data, construct a JSON array to be adjusted; according to the arrangement order of the data items in the collected data items, adjust the arrangement order of the data item values in the JSON array to be adjusted to obtain a JSON array to be converted; If the data item value in the JSON array to be converted is an integer, the data item value is converted to an integer using the base conversion value set to obtain the target JSON array; If the data item value in the to-be-converted JSON array is a decimal, the integer part and the non-zero part of the decimal part of the data item value are converted to integers using the base conversion value set to obtain the target JSON array; Convert the target JSON array into a string to obtain the target reporting data.
3. The method for reporting and receiving monitoring equipment data according to claim 2, characterized in that: The method of using the base conversion value set to perform integer conversion on the integer part and the non-zero part of the decimal part of the data item value to obtain a target JSON array includes: Perform integer conversion on the integer part of the data item value using the base conversion value set to obtain a target integer result; If the highest bit of the decimal part of the data item value is not zero, performing integer conversion on the decimal part using the base conversion value set to obtain a target decimal result; If the highest bit of the decimal part of the data item value is zero, performing integer conversion on the non-zero part using the base conversion value set and performing a zero-padding operation to obtain a target decimal result; The target integer result, the decimal point, and the target decimal result are combined into a converted value to obtain a target JSON array; wherein the target JSON array includes at least one converted value.
4. The method for reporting and receiving monitoring equipment data according to claim 3, characterized in that: If the highest bit of the decimal part of the data item value is zero, performing integer conversion on the non-zero part using a base conversion value set and performing a zero-padding operation to obtain a target decimal result includes: In order from high to low bits, the first non-zero value in the fractional part and the values thereafter are determined as the non-zero part of the fractional part; Performing integer conversion on the non-zero part using the base conversion value set to obtain a non-zero conversion value; Determine the number of zeros before the first non-zero value in the decimal part as the number of places to be filled; Add the number of zeros to be filled before the non-zero conversion value to obtain a target decimal result.
5. The method for reporting and receiving monitoring equipment data according to claim 2, characterized in that: The base conversion value set is used to convert the data item value from decimal to a preset base; The base conversion value set includes a preset number of special characters; Among them, the first ten special characters of the preset number of special characters are 0 to 9 respectively, and the remaining special characters are used to represent: decimal 10 to the maximum representation value of decimal, and the maximum representation value is the preset number of special characters minus one.
6. The method for reporting and receiving monitoring equipment data according to claim 2, characterized in that: The data item value is converted to an integer using the base conversion value set to obtain a target JSON array, including: Determining a quotient of the data item value and a preset number of bits and a corresponding remainder; When the quotient is not zero, determining a special character for representing the quotient from the base conversion value set, and determining a special character for representing the remainder from the base conversion value set; using the special character for representing the quotient as a high bit and the special character for representing the remainder as a low bit to obtain a converted value, so as to obtain a target JSON array; The target JSON array includes at least one converted value.
7. The method for reporting and receiving monitoring equipment data according to claim 2, characterized in that: After the receiving end receives the target reported data, parsing the target reported data to obtain target received data includes: Convert the target reported data from a string to a JSON array to be parsed; If the converted value in the JSON array to be parsed has no decimal point, performing integer parsing on the converted value using the base conversion value set to obtain a parsed value; If the converted value in the JSON array to be parsed has a decimal point, then use the base conversion value set to perform integer parsing on the integer part and the non-zero part of the decimal part of the converted value to obtain the parsed value; Generate a parsed JSON array according to the order of arrangement of the data items in the collected data items and the parsed values corresponding to the data items; The parsed JSON array is verified based on the collected data item, and the parsed JSON array that passes the verification is determined as the target received data.
8. The method for reporting and receiving monitoring equipment data according to any one of claims 1 to 7, characterized in that: The storing of the target received data comprises: Obtaining a current data reporting time at which the receiving end receives the target reported data; obtaining a last data reporting time of the monitoring device to the receiving end; and determining a time difference between the current data reporting time and the last data reporting time as a current reporting frequency of the monitoring device; Construct a dynamic time sequence table; for different orders of magnitude of the current reporting frequency, construct corresponding static time sequence tables respectively; wherein, a dynamic time sequence table is used to store the target reception data of a monitoring device, and a static time sequence table is used to store the target reception data of multiple monitoring devices; If the order of magnitude of the reporting frequency this time is a frequency in seconds, storing the target reception data in a dynamic time sequence table; If the order of magnitude of the current reporting frequency is not a frequency of seconds, the target received data is stored in a static timing table corresponding to the order of magnitude of the current reporting frequency.
9. A device for reporting and receiving monitoring equipment data, characterized in that: The device for reporting and receiving monitoring equipment data includes at least one processor and a memory, and the at least one processor and the memory are connected via a data bus. The memory stores instructions that can be executed by the at least one processor. After being executed by the processor, the instructions are used to implement the method for reporting and receiving monitoring equipment data described in any one of claims 1-8.
10. A non-volatile computer storage medium, characterized in that The computer storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors to complete the method for reporting and receiving monitoring equipment data according to any one of claims 1 to 8.