Water-controlled explosion-proof electric control device test data management system and method

By performing binary conversion and frequency comprehensive mapping compression of the test data of the water-controlled explosion-proof electronic control device, the problem of low storage and transmission efficiency caused by large data volume is solved, and more efficient data management and transmission is achieved.

CN119166591AActive Publication Date: 2024-12-20WENSHANG YIQIAO COAL MINE

Patent Information

Application Number
CN202411292996.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-20
Estimated Expiration
2044-09-14

AI Technical Summary

Technical Problem

The large amount of test data generated by the water-controlled explosion-proof electronic control device during the test takes up a large storage space and low transmission efficiency, especially in emergency situations, which may delay fault diagnosis and processing. The existing compression method fails to effectively consider the vocabulary and phrases. Contact, resulting in poor compression effect.

Method used

Through the interactive management terminal, the test data is converted into grouped strings and grouped sequences, the conversion data packet is generated according to the frequency, and restored and stored in the cloud test data management terminal, considering the frequency of a single grouped string and grouped sequence. Perform comprehensive mapping compression.

Benefits of technology

It effectively reduces the storage and transmission capacity of test data, reduces the storage and transmission cost and time, improves the efficiency of data transmission, and ensures rapid troubleshooting and processing in emergencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166591A_ABST
    Figure CN119166591A_ABST
Patent Text Reader

Abstract

The invention discloses a test data management system and method for a water-control explosion-proof electric control device, and relates to the technical field of test data management.The test data of a target device is collected and compressed and converted by an interaction management terminal, and in this way, the situation that too many local storage resources are occupied is avoided; the compressed test data is transmitted, so that the consumption of excessive network resources in the transmission process is effectively reduced; test data subjected to binary conversion is divided to obtain a plurality of groups of grouped character strings and grouped sequences, and whether binary mapping is only carried out on the grouped character strings or mapping is carried out on the grouped sequences and the grouped character strings at the same time is determined according to the occurrence frequency of the grouped sequences and the grouped character strings. According to the method, not only is the frequency of a single grouped character string considered, but also the sequence frequency appearing after a plurality of grouped character strings are combined is considered, so that the capacity of transmission data is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of test data management, and in particular to a test data management system and method for a water-controlled explosion-proof electric control device. Background Art

[0002] The water-controlled explosion-proof electric control device is a device specially designed to realize the explosion-proof function of electrical equipment by controlling water in an explosive environment; In today's industrial field, especially in environments with flammable and explosive risks such as petroleum, chemical industry, coal mines, etc., the reliability and safety of water control explosion-proof electric control devices are crucial; With the continuous development of technology, the performance requirements for water control explosion-proof electric control devices are increasing day by day. In order to ensure its stable operation under harsh and dangerous working conditions, strict and comprehensive testing is required. During the testing process, a large amount of test data will be generated, which contains key information about the performance, stability, safety and other aspects of the device; However, due to the huge amount of test data, storing and transmitting this data faces huge challenges. A large amount of data not only takes up a lot of local storage space, but also leads to low efficiency of data transmission. Especially in some emergency situations, such as when the device is abnormal, if the test data cannot be quickly transmitted in real time, it may delay the best time for fault diagnosis and processing, thus causing serious safety accidents. The mainstream processing method for the huge amount of test data is to compress it, reduce its data capacity through compression, reduce its occupied space and shorten its transmission time. Then one of the current compression methods is to compress the test data based on frequency. For example, the dictionary algorithm replaces the words or phrases that appear more frequently in the text with shorter characters to achieve efficient compression of the test data. However, this compression method does not consider the connection between words and phrases. When words appear in phrases, they can be further compressed. In order to solve the above problems, the present invention proposes a solution. Summary of the invention

[0003] The purpose of the present invention is to provide a water control explosion-proof electric control device test data management system and method to solve the problems raised in the above background technology; The purpose of the present invention can be achieved through the following technical solutions: A test data management system for water control explosion-proof electric control devices, comprising: An interactive management terminal, used to interactively manage test data of a target device, wherein the test data includes multi-dimensional data of the target device under various test conditions; After receiving the test data of the transmitted target device, the interactive management terminal performs base conversion on the test data to obtain the converted data to be mapped; The grouping step is specified as 4, the to-be-mapped conversion data is divided into a number of grouping strings, and according to the positions of the grouping strings in the to-be-mapped conversion data, the grouping strings at two adjacent positions are concatenated to obtain a number of grouping sequences; Generating conversion data packets of a plurality of grouping strings according to the occurrence frequencies of a plurality of grouping strings and the occurrence frequencies of a plurality of grouping sequences according to a preset mapping conversion rule; The conversion data packets of the plurality of grouped character strings are sequentially transmitted to the cloud test data management terminal according to the generation order of each conversion data packet, and the cloud test data management terminal restores and stores them.

[0004] Furthermore, it also includes a test data acquisition terminal for collecting test data of the target device, with multiple dimensions including pressure, temperature, humidity, current and voltage.

[0005] Furthermore, the steps of dividing the to-be-mapped converted data into a plurality of group character strings to obtain a plurality of group sequences are as follows: S11: performing binary conversion on the test data of the target device to obtain corresponding binary data, and recalibrating the binary data into data to be mapped and converted; S12: specifying a grouping step length of 4, and grouping all characters constituting the data to be mapped and converted as a group of four characters from left to right, to obtain a group of grouping strings; S13: Mark the group a strings as A1, A2, ..., Aa in the order of their grouping, and then concatenate the group strings A1 and A2, A3 and A4, ..., Aa-1 and Aa in the order of the group strings A1, A2, ..., Aa to obtain a corresponding group sequence; According to the order in which each grouping sequence is concatenated, all grouping sequences are marked as D1, D2, ..., Dd. It should be noted that the value of d is determined by a. If a is an odd number, the value of d is (a-1) / 2, otherwise the value of d is a / 2.

[0006] A method for managing test data of a water-controlled explosion-proof electric control device comprises the following steps: Step 1: The test data collection terminal collects the test data of the target device and transmits it to the interactive management terminal; Step 2: After receiving the test data of the target device, the interactive management terminal first performs base conversion on the test data to obtain the converted data to be mapped; Then, the grouping step is specified as 4, the to-be-mapped conversion data is divided into a number of grouping strings, and according to the positions of the grouping strings in the to-be-mapped conversion data, the grouping strings at two adjacent positions are concatenated to obtain a number of grouping sequences; Then, according to the occurrence frequencies of the plurality of grouping strings and the occurrence frequencies of the plurality of grouping sequences, a plurality of conversion data packets of the grouping strings are generated according to a preset mapping conversion rule; Finally, the conversion data packets of the plurality of grouped character strings are sequentially transmitted to the cloud test data management terminal according to the generation order of each conversion data packet; Step 3: After receiving and transmitting a number of converted data packets, the cloud test data management terminal restores and stores them.

[0007] Beneficial effects of the present invention: (1) The present invention collects the test data of the target device through the test data collection terminal, and the interactive management terminal performs binary conversion on the test data of the target device, compresses and converts the converted data, and transmits the compressed and converted data to the cloud test data management terminal for restoration and storage. In this way, the situation where too much local storage resources are occupied due to excessive test data capacity is avoided, and the transmission of compressed test data effectively reduces the consumption of excessive network resources during the transmission process, thereby reducing the cost and time of transmission; (2) When converting test data, the present invention divides the test data after binary conversion to obtain several groups of group strings and group sequences. At the same time, according to the occurrence frequencies of the group sequences and group strings, it is decided whether to perform binary mapping only on the group strings or to map the group sequences and group strings at the same time. This method not only considers the frequency of a single group string, but also considers the frequency of a sequence that appears after combining several group strings. The replacement characters are compressed by comprehensive consideration, thereby effectively reducing the capacity of the transmitted data and reducing the capacity of the test data stored and transmitted. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The present invention will be further described below in conjunction with the accompanying drawings.

[0009] Figure 1 is a system block diagram of the present invention; Figure 2 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0010] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0011] like Figure 1 , 2 As shown, a test data management system and method for a water-controlled explosion-proof electric control device includes a test data acquisition terminal, an interactive management terminal and a cloud test data management terminal; A test data collection terminal, used to collect test data of a target device, wherein the test data includes multi-dimensional data of the target device under various test conditions, wherein the various test conditions are pre-set by a tester based on an application field of the target device; In one embodiment of the present invention, the multiple dimensions include pressure, temperature, humidity, current and voltage. In one embodiment of the present invention, the target device refers to a water-controlled explosion-proof electric control device; The test data acquisition terminal acquires the test data of the target device and transmits it to the interactive management terminal; The interactive management terminal is used to interactively manage the test data of the target device. After receiving the transmitted test data of the target device, the interactive management terminal converts it according to a preset mapping conversion rule. The mapping conversion rule is as follows: S11: performing binary conversion on the test data of the target device to obtain corresponding binary data, and recalibrating the binary data into data to be mapped and converted; S12: specifying a grouping step length of 4, and grouping all characters constituting the to-be-mapped conversion data as a group of four characters from left to right, to obtain a group of grouping strings. It should be noted that if the number of remaining characters is less than 4 during the grouping process, a group of conversion data packets is generated according to all the remaining characters; S13: Mark the group a strings as A1, A2, ..., Aa in the order of their grouping, and then concatenate the group strings A1 and A2, A3 and A4, ..., Aa-1 and Aa in the order of the group strings A1, A2, ..., Aa to obtain a corresponding group sequence; According to the order in which each packet sequence is spliced, all packet sequences are marked as D1, D2, ..., Dd in sequence. It should be noted here that the value of d is determined by a. If a is an odd number, the value of d is (a-1) / 2. At this time, when the packet strings are spliced, until Aa-2 and Aa, the packet string Aa is retained, and another set of conversion data packets is generated according to the packet string Aa. Otherwise, the value of d is a / 2, and the splicing is continued until Aa-1 and Aa. S14: deduplicate the packet sequences D1, D2, ..., Dd, and re-label all the remaining packet sequences after deduplication as E1, E2, ..., Ee, 1≤e≤d; S15: The occurrence frequencies of the grouping sequences E1, E2, ..., Ee are obtained in sequence and marked as F1, F2, ..., Fe, respectively. The occurrence frequencies of the grouping sequences E1, E2, ..., Ee refer to the number of grouping sequences in the grouping sequences D1, D2, ..., Dd that are consistent with the grouping sequences E1, E2, ..., Ee in sequence, wherein the consistency refers to the consistency of the number, content and position of the characters in the grouping sequences; S16: Calculate the conjugate frequencies H1, H2, ..., He of the grouping sequences E1, E2, ..., Ee in sequence according to the preset calculation rules. The calculation rules are as follows: S161: Obtain the occurrence frequency F1 of the grouping string consistent with the first four characters of the grouping sequence E1 in order from left to right, and then obtain the occurrence frequency G1 of the grouping string consistent with the first four characters of the grouping sequence E1 in order from right to left; The conjugate frequency H1 of the grouping sequence E1 is calculated using the formula H1=F1*G1; S162: according to S161, conjugate frequencies H1, H2, ..., He of the grouping sequences E1, E2, ..., Ee are calculated in sequence; S17: Select the conjugated frequency with the largest value from the conjugated frequencies H1, H2, ..., He and re-mark it as Z1, compare Z1 and P1, and if Z1≤P1, generate a conversion data packet of the grouping string A1, A2, ..., Aa according to the preset first generation rule. The first generation rule is as follows: S21: De-duplicate the grouped character strings A1, A2, ..., Aa in S13, and re-mark all the grouped character strings after de-duplicate as de-duplicate character strings, marked as Y1, Y2, ..., Yy, where y is the total number of grouped character strings after de-duplicate; S22: obtaining the occurrence frequencies of deduplicated character strings Y1, Y2, ..., Yy in sequence, and re-marking the deduplicated character strings Y1, Y2, ..., Yy as X1, X2, ..., Xy in descending order of occurrence frequencies. It should be noted that in the case of batch large-capacity data, the value of y is greater than or equal to 14 by default, so the following SS3 is based on the establishment of an association mapping description based on y being at least greater than 14; S23: establish association mapping between the deduplicated character string X1 and a single-bit binary number 0, X2 and a single-bit binary number 1, X3 and a double-bit binary number 00, X4 and a double-bit binary number 01, X5 and a double-bit binary number 10, X6 and a double-bit binary number 11, X7 and a triple-bit binary number 000, X8 and a triple-bit binary number 001, X9 and a triple-bit binary number 010, X10 and a triple-bit binary number 011, X11 and a triple-bit binary number 100, X12 and a triple-bit binary number 101, X13 and a triple-bit binary number 110, and X14 and a triple-bit binary number 111; S24: Compare the grouping string A1 with the deduplication strings X1, X2, ..., Xy for consistency, obtain the deduplication string that is consistent therewith, and determine whether to establish an associated mapping for the deduplication string. If the deduplication string has a binary number and an associated mapping therewith, obtain the binary number corresponding to the deduplication string, and generate a conversion data packet of the grouping string A1 based on the binary number. Otherwise, generate a conversion data packet of the grouping string A1 based on the grouping string A1 itself. S25: Generate conversion data packets of the grouped character strings A2, A3, ..., Aa in the order of the grouped character strings A1, A2, ..., Aa; The interactive management terminal transmits the converted data packets of the grouped strings A1, A2, ..., Aa to the cloud test data management terminal in the order of the grouped strings A1, A2, ..., Aa; S18: If Z1>P1, a conversion data packet of the grouping character strings A1, A2, ..., Aa is generated according to a preset second mapping rule; S31: Select a conjugation frequency whose value is greater than P1 from the conjugation frequencies H1, H2, ..., He, and obtain the number Q1 of the selected conjugation frequencies: S32: compare Q1 and 2; If Q1≥2, a conversion data packet of the grouping character strings A1, A2, ..., Aa is generated according to a preset second generation rule, and the second generation rule is as follows: SS11: then select the grouping sequences corresponding to the conjugation frequencies with the largest value and the second largest value from the conjugation frequencies H1, H2, ..., He as the first conversion sequence and the second conversion sequence; Associatively mapping the first conversion sequence with a binary number 0, and associatively mapping the second conversion sequence with a binary number 1; SS12: From left to right, the first four characters constituting the first conversion sequence are used as the left-hand string of the first conversion sequence, and the last four characters are used as the right-hand string of the first conversion sequence. Similarly, the left-hand string and the right-hand string of the second conversion sequence can be obtained. Associatively map the left-hand word string of the first conversion sequence with the two-bit binary number 00, associate and map the right-hand word string of the first conversion sequence with the two-bit binary number 01, associate and map the left-hand word string of the second conversion sequence with the two-bit binary number 10, and associate and map the right-hand word string of the second conversion sequence with the two-bit binary number 11; SS13: De-duplicate the grouped strings A1, A2, ..., Aa in S13, and re-mark all the grouped strings after de-duplicate as de-duplicate strings, marked as Y1, Y2, ..., Yy, where y is the total number of grouped strings after de-duplicate; SS14: Obtain the occurrence frequencies of deduplicated strings Y1, Y2, ..., Yy in sequence, and re-mark the deduplicated strings Y1, Y2, ..., Yy as X1, X2, ..., Xy in descending order of occurrence frequencies. It should be noted that in the case of batch large-capacity data, the value of y is greater than or equal to 14 by default, so the following SS3 is based on the assumption that y is at least greater than 14 to establish the association mapping description; SS15: If the de-duplicated string X1 is consistent with any of the left and right strings of the first conversion sequence and the left and right strings of the second conversion sequence, no processing is performed; otherwise, the de-duplicated string X1 and the three-digit binary number 000 are associated and mapped in the order of the three-digit binary numbers 000, 001, 010, 011, 100, 101, 110, 111; SS16: According to the order of the de-duplicated strings X1, X2, ..., Xy, the de-duplicated strings X1, X2, ..., Xx, 1≤x≤y are associated and mapped in sequence; SS17: Compare the grouping string A1 with the deduplication strings X1, X2, ..., Xy for consistency, obtain the deduplication strings that are consistent with them, and determine whether to establish an associated mapping for the deduplication strings. If the deduplication strings have a binary number and an associated mapping, obtain the binary number corresponding to the deduplication strings, and generate a conversion data packet of the grouping string A1 based on the binary number. Otherwise, generate a conversion data packet of the grouping string A1 based on the grouping string A1 itself. SS18: Generate conversion data packets of the grouping strings A2, A3, ..., Aa in the order of the grouping strings A1, A2, ..., Aa; The interactive management terminal transmits the converted data packets of the grouped strings A1, A2, ..., Aa to the cloud test data management terminal in the order of the grouped strings A1, A2, ..., Aa; If Q1=1, a conversion data packet of the grouping character strings A1, A2, ..., Aa is generated according to the preset third generation rule. The third generation rule is as follows: SS21: Select a grouping sequence corresponding to the conjugation frequency with the largest value from the conjugation frequencies H1, H2, ..., He as a first conversion sequence, and associate and map the first conversion sequence with a binary number 0; SS22: From left to right, the first four characters constituting the first conversion sequence are used as the left-hand string of the first conversion sequence, and the last four characters are used as the right-hand string of the first conversion sequence; Associatively mapping the left-hand word string of the first conversion sequence with the two-bit binary number 00, and associatively mapping the right-hand word string of the first conversion sequence with the two-bit binary number 01; SS23: De-duplicate the grouped strings A1, A2, ..., Aa in S13, and re-mark all the grouped strings after de-duplicate as de-duplicate strings, marked as Y1, Y2, ..., Yy, where y is the total number of grouped strings after de-duplicate; SS24: Obtain the occurrence frequencies of deduplicated strings Y1, Y2, ..., Yy in sequence, and re-mark the deduplicated strings Y1, Y2, ..., Yy as X1, X2, ..., Xy in descending order of occurrence frequencies. It should be noted that in the case of batch large-capacity data, the value of y is greater than or equal to 14 by default, so the following SS3 establishes an association mapping description based on y being at least greater than 14; SS25: If the de-duplicated string X1 is consistent with any of the left and right strings of the first conversion sequence, no processing is performed. Otherwise, the de-duplicated string X1 and the three-digit binary number 000 are first associated and mapped in the order of the one-digit binary number 1, the two-digit binary numbers 10 and 11, and the three-digit binary numbers 000, 001, 010, 011, 100, 101, 110, and 111; SS26: According to the order of the de-duplicated strings X1, X2, ..., Xy, the de-duplicated strings X1, X2, ..., Xx, 1≤x≤y are associated and mapped in sequence; SS27: Compare the grouping string A1 with the deduplication strings X1, X2, ..., Xy for consistency, obtain the deduplication strings that are consistent with them, and determine whether to establish an associated mapping for the deduplication strings. If the deduplication strings have a binary number and an associated mapping, obtain the binary number corresponding to the deduplication strings, and generate a conversion data packet of the grouping string A1 based on the binary number. Otherwise, generate a conversion data packet of the grouping string A1 based on the grouping string A1 itself. SS28: Generate conversion data packets of the grouping strings A2, A3, ..., Aa in the order of the grouping strings A1, A2, ..., Aa; The interactive management terminal transmits the converted data packets of the grouped strings A1, A2, ..., Aa to the cloud test data management terminal in the order of the grouped strings A1, A2, ..., Aa; A cloud test data management terminal is used to perform cloud storage management on the test data of the target device. After receiving the converted data packets of the transmitted group character strings A1, A2, ..., Aa, the cloud test data management terminal obtains the data carried therein, and splices the data in all the converted data packets in the order of receipt, and restores the spliced ​​data to obtain the test data of the target device, and stores it, so as to facilitate the later test personnel to trace back and analyze the test data of the target device; In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0012] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.

[0013] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A test data management system for water-controlled explosion-proof electric control devices, characterized in that: include: An interactive management terminal, used to interactively manage test data of a target device, wherein the test data includes multi-dimensional data of the target device under various test conditions; After receiving the test data of the transmitted target device, the interactive management terminal performs base conversion on the test data to obtain the converted data to be mapped; The grouping step is specified as 4, the to-be-mapped conversion data is divided into a number of grouping strings, and according to the positions of the grouping strings in the to-be-mapped conversion data, the grouping strings at two adjacent positions are concatenated to obtain a number of grouping sequences; Generating conversion data packets of a plurality of grouping strings according to the occurrence frequencies of a plurality of grouping strings and the occurrence frequencies of a plurality of grouping sequences according to a preset mapping conversion rule; The conversion data packets of the plurality of grouped character strings are sequentially transmitted to the cloud test data management terminal according to the generation order of each conversion data packet, and the cloud test data management terminal restores and stores them.

2. A water control explosion-proof electric control device test data management system according to claim 1, characterized in that: It also includes a test data acquisition terminal for collecting test data of the target device in multiple dimensions including pressure, temperature, humidity, current and voltage.

3. A water control explosion-proof electric control device test data management system according to claim 1, characterized in that: The steps of dividing the data to be mapped into several groups of group strings and obtaining several group sequences are as follows: S11: performing binary conversion on the test data of the target device to obtain corresponding binary data, and recalibrating the binary data into data to be mapped and converted; S12: specifying a grouping step length of 4, and grouping all characters constituting the data to be mapped and converted as a group of four characters from left to right, to obtain a group of grouping strings; S13: Mark the group a strings as A1, A2, ..., Aa in the order of their grouping, and then concatenate the group strings A1 and A2, A3 and A4, ..., Aa-1 and Aa in the order of the group strings A1, A2, ..., Aa to obtain a corresponding group sequence; According to the order in which each grouping sequence is concatenated, all grouping sequences are marked as D1, D2, ..., Dd. It should be noted that the value of d is determined by a. If a is an odd number, the value of d is (a-1) / 2, otherwise the value of d is a / 2.

4. A water control explosion-proof electric control device test data management system according to claim 3, characterized in that: The mapping conversion rules for generating the conversion data packets of several packet strings are as follows: S14: deduplicate the packet sequences D1, D2, ..., Dd, and re-label all the remaining packet sequences after deduplication as E1, E2, ..., Ee, 1≤e≤d; S15: The occurrence frequencies of the grouping sequences E1, E2, ..., Ee are obtained in sequence and marked as F1, F2, ..., Fe, respectively. The occurrence frequencies of the grouping sequences E1, E2, ..., Ee refer to the number of grouping sequences in the grouping sequences D1, D2, ..., Dd that are consistent with the grouping sequences E1, E2, ..., Ee in sequence, wherein the consistency refers to the consistency of the number, content and position of the characters in the grouping sequences; S16: Calculate the conjugate frequencies H1, H2, ..., He of the grouping sequences E1, E2, ..., Ee in sequence according to the preset calculation rules. The calculation rules are as follows: S161: Obtain the occurrence frequency F1 of the grouping string consistent with the first four characters of the grouping sequence E1 in order from left to right, and then obtain the occurrence frequency G1 of the grouping string consistent with the first four characters of the grouping sequence E1 in order from right to left; The conjugate frequency H1 of the grouping sequence E1 is calculated using the formula H1=F1*G1; S162: according to S161, conjugate frequencies H1, H2, ..., He of the grouping sequences E1, E2, ..., Ee are calculated in sequence; S17: Select the conjugated frequency with the largest value from the conjugated frequencies H1, H2, ..., He and re-mark it as Z1, compare Z1 with P1, and if Z1≤P1, generate a conversion data packet of the grouping character string A1, A2, ..., Aa according to the preset first generation rule; S18: If Z1>P1, a conversion data packet of the grouping character strings A1, A2, . . . , Aa is generated according to a preset second mapping rule.

5. A water control explosion-proof electric control device test data management system according to claim 4, characterized in that: In S17, the first generation rule is as follows: S21: De-duplicate the grouped character strings A1, A2, ..., Aa in S13, and re-mark all the grouped character strings after de-duplicate as de-duplicate character strings, marked as Y1, Y2, ..., Yy, where y is the total number of grouped character strings after de-duplicate; S22: obtaining the occurrence frequencies of deduplicated character strings Y1, Y2, ..., Yy in sequence, and re-marking the deduplicated character strings Y1, Y2, ..., Yy as X1, X2, ..., Xy in descending order of occurrence frequencies. It should be noted that in the case of batch large-capacity data, the value of y is greater than or equal to 14 by default, so the following SS3 is based on the establishment of an association mapping description based on y being at least greater than 14; S23: establish association mapping between the deduplicated character string X1 and a single-bit binary number 0, X2 and a single-bit binary number 1, X3 and a double-bit binary number 00, X4 and a double-bit binary number 01, X5 and a double-bit binary number 10, X6 and a double-bit binary number 11, X7 and a triple-bit binary number 000, X8 and a triple-bit binary number 001, X9 and a triple-bit binary number 010, X10 and a triple-bit binary number 011, X11 and a triple-bit binary number 100, X12 and a triple-bit binary number 101, X13 and a triple-bit binary number 110, and X14 and a triple-bit binary number 111; S24: Compare the grouping string A1 with the deduplication strings X1, X2, ..., Xy for consistency, obtain the deduplication string that is consistent therewith, and determine whether to establish an associated mapping for the deduplication string. If the deduplication string has a binary number and an associated mapping therewith, obtain the binary number corresponding to the deduplication string, and generate a conversion data packet of the grouping string A1 based on the binary number. Otherwise, generate a conversion data packet of the grouping string A1 based on the grouping string A1 itself. S25: Generate conversion data packets of the grouped character strings A2, A3, ..., Aa in the order of the grouped character strings A1, A2, ..., Aa.

6. A water control explosion-proof electric control device test data management system according to claim 4, characterized in that: In S18, the second mapping rule is as follows: S31: Select a conjugation frequency whose value is greater than P1 from the conjugation frequencies H1, H2, ..., He, and obtain the number Q1 of the selected conjugation frequencies: S32: compare Q1 and 2; If Q1≥2, a conversion data packet of grouping character strings A1, A2, ..., Aa is generated according to a preset second generation rule; If Q1=1, a conversion data packet of grouping character strings A1, A2, . . . , Aa is generated according to a preset third generation rule.

7. A water control explosion-proof electric control device test data management system according to claim 6, characterized in that: S32, the second generation rule is as follows: SS11: then select the grouping sequences corresponding to the conjugation frequencies with the largest value and the second largest value from the conjugation frequencies H1, H2, ..., He as the first conversion sequence and the second conversion sequence; Associatively mapping the first conversion sequence with a binary number 0, and associatively mapping the second conversion sequence with a binary number 1; SS12: From left to right, the first four characters constituting the first conversion sequence are used as the left-hand string of the first conversion sequence, and the last four characters are used as the right-hand string of the first conversion sequence. Similarly, the left-hand string and the right-hand string of the second conversion sequence can be obtained. Associatively map the left-hand word string of the first conversion sequence with the two-bit binary number 00, associate and map the right-hand word string of the first conversion sequence with the two-bit binary number 01, associate and map the left-hand word string of the second conversion sequence with the two-bit binary number 10, and associate and map the right-hand word string of the second conversion sequence with the two-bit binary number 11; SS13: De-duplicate the grouped strings A1, A2, ..., Aa in S13, and re-mark all the grouped strings after de-duplicate as de-duplicate strings, marked as Y1, Y2, ..., Yy, where y is the total number of grouped strings after de-duplicate; SS14: Obtain the occurrence frequencies of deduplicated strings Y1, Y2, ..., Yy in sequence, and re-mark the deduplicated strings Y1, Y2, ..., Yy as X1, X2, ..., Xy in descending order of occurrence frequencies. It should be noted that in the case of batch large-capacity data, the value of y is greater than or equal to 14 by default, so the following SS3 is based on the assumption that y is at least greater than 14 to establish the association mapping description; SS15: If the de-duplicated string X1 is consistent with any of the left and right strings of the first conversion sequence and the left and right strings of the second conversion sequence, no processing is performed; otherwise, the de-duplicated string X1 and the three-digit binary number 000 are associated and mapped in the order of the three-digit binary numbers 000, 001, 010, 011, 100, 101, 110, 111; SS16: According to the order of the de-duplicated strings X1, X2, ..., Xy, the de-duplicated strings X1, X2, ..., Xx, 1≤x≤y are associated and mapped in sequence; SS17: Compare the grouping string A1 with the deduplication strings X1, X2, ..., Xy for consistency, obtain the deduplication strings that are consistent with them, and determine whether to establish an associated mapping for the deduplication strings. If the deduplication strings have a binary number and an associated mapping, obtain the binary number corresponding to the deduplication strings, and generate a conversion data packet of the grouping string A1 based on the binary number. Otherwise, generate a conversion data packet of the grouping string A1 based on the grouping string A1 itself. SS18: Generate conversion data packets of the grouping strings A2, A3, ..., Aa in the order of the grouping strings A1, A2, ..., Aa.

8. A method for managing test data of a water-controlled explosion-proof electric control device, characterized in that: The following steps are involved: Step 1: The test data collection terminal collects the test data of the target device and transmits it to the interactive management terminal; Step 2: After receiving the test data of the target device, the interactive management terminal first performs base conversion on the test data to obtain the converted data to be mapped; The grouping step is specified as 4, the to-be-mapped conversion data is divided into a number of grouping strings, and according to the positions of the grouping strings in the to-be-mapped conversion data, the grouping strings at two adjacent positions are concatenated to obtain a number of grouping sequences; Generating conversion data packets of a plurality of grouping strings according to the occurrence frequencies of a plurality of grouping strings and the occurrence frequencies of a plurality of grouping sequences according to a preset mapping conversion rule; Transmitting the conversion data packets of the plurality of grouped character strings to the cloud test data management terminal in sequence according to the generation order of each conversion data packet; Step 3: After receiving and transmitting a number of converted data packets, the cloud test data management terminal restores and stores them.

Citation Information

Patent Citations

  • Character string decryption method based on layered bidirectional diffusion

    CN114722409A

  • Confidence level evaluation method and device

    CN116186345A

  • Industrial data storage method based on digital twinning

    CN116681036A

  • Water quality on-line monitoring system for environmental monitoring

    CN118316967A

  • Data processing method and system for satellite temperature telemetering

    CN118354002A

Cited By

  • Building equipment control optimization management system of green building

    CN119691433A

  • Nursing monitoring system and method for nurse station

    CN119864115A