Detection method and system for HPLC and HRF dual-mode communication and storage medium
By using the detection method of STA calculation and frame drop threshold adjustment in the HPLC+HRF dual-mode communication system, the problems of high system power consumption and high data frame drop rate are solved, and communication with low power consumption and high data integrity is achieved.
Patent Information
- Application Number
- CN202411272408.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-01-17
AI Technical Summary
HPLC+HRF dual-mode communication system has problems such as high power consumption, large communication data volume, and low failure rate detection efficiency.
By adopting STA-based detection methods in HPLC and HRF dual-mode communication systems, the integrity of wired and wireless signals is calculated, and the data output is adjusted according to the frame drop threshold, and unnecessary signal output is automatically stopped to reduce power consumption. automatically supplement data to ensure communication integrity.
It realizes the reduction of system power consumption, ensures the integrity and stability of communication signals, reduces data loss in frame drop situations, and improves the accuracy of data recovery through frame drop supplementary calculations.
Smart Images

Figure CN119325126A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication, and in particular to a detection method, system and storage medium for HPLC and HRF dual-mode communication. Background Art
[0002] HPLC (High-Speed Power Line Communication) is a high-speed power line carrier communication technology. Its operation depends on circuit reliability. In simple terms, it is communication through power lines. The high impedance of the line will cause poor communication between its sites. HRF (High-speed Radio Frequency) is a high-frequency wireless communication technology that communicates through wireless transmission. Its operation is affected by the environment. For example, bad weather and building obstructions can cause channel data frame loss. In order to overcome the dependence of HPLC technology on lines and the dependence of HRF technology on the communication environment, the HPLC+HRF dual-mode communication method has achieved complementary advantages. However, compared with single HPLC or HRF, it has the defects of high power consumption, large communication data volume, and low fault rate detection efficiency. Summary of the invention
[0003] In order to improve the problem of high power consumption in HPLC+HRF dual-mode communication, the present application provides a detection method, system and storage medium for HPLC and HRF dual-mode communication.
[0004] The present application provides a detection method for HPLC and HRF dual-mode communication, which adopts the following technical solution: A detection method for HPLC and HRF dual-mode communication, comprising: Based on the wired HPLC output, a preset wired signal is output, based on the wireless HRF output, a preset wireless signal is output, and then a wired feedback signal and a wireless feedback signal are received and obtained; Determine the wired data integrity based on the wired signal and the wired feedback signal calculated by the STA; Determine wireless data integrity based on the STA calculation of the wireless signal and the wireless feedback signal; Determine the adjustment data based on the wired data integrity, the wireless data integrity, and a preset frame loss threshold calculated by the STA; Stopping the wired HPLC from outputting the wired signal or the wireless HRF from outputting the wireless signal according to the adjustment data; Determine a detection signal by using the adjustment data and a preset detection interval time threshold; The output of the wired signal and the wireless signal is determined by the detection signal.
[0005] By adopting the above technical solution, when both the wired signal and the wireless signal communicate smoothly, the output of one of them is automatically stopped to reduce energy consumption. At the same time, a detection signal is output at a regular interval to detect whether the communication is still smooth, thereby reducing power consumption.
[0006] Optional, including: Determine a dual-mode signal according to the wired data integrity, the wireless data integrity, and the frame loss threshold; Determining output of the wired signal and the wireless signal through the dual-mode signal; Re-determining the wired data integrity and the wireless data integrity; Determining a complementary signal by using the wired data integrity, the wireless data integrity, and a preset complementary threshold; The wired signal and the wireless signal output by the complementary signal pair are subjected to a preset frame loss supplement calculation at the signal receiving end.
[0007] By adopting the above technical solution, when only wired signals or wireless signals are output, whether frame loss occurs is determined by the integrity of the wired data and the integrity of the wireless data, and the wired signal and the wireless signal are automatically output simultaneously when frame loss occurs, thereby restoring to a high power consumption state to ensure the integrity of the communication signal received by the user and reduce frame loss.
[0008] Optionally, the frame loss supplement calculation includes: At the receiving end, determining the same string of data through the wired signal and the wireless signal; Determine temporary supplementary numbers for the plurality of identical string data in order of receipt, wherein the temporary supplementary numbers correspond to the identical string data in order; Determine wired frame loss string data and wireless frame loss string data through the wired signal, the wireless signal, and the same string data; The wired signal, the wireless signal, the same string data, the wired frame loss string data, the wireless frame loss string data, and the temporary supplementary number corresponding to the same string data determine the temporary supplementary number corresponding to the wired frame loss string data and the temporary supplementary number corresponding to the wireless frame loss string data, and adaptively modify the temporary supplementary number corresponding to the same string data; Determine the long string supplementary data by using the wired frame loss string data, the wireless frame loss string data, the same string data, and the temporary supplementary number; The new wired signal and the new wireless signal are determined by the long string of supplementary data.
[0009] By adopting the above technical solution, the receiving end receives the wired signal and the wireless signal after the frame loss and automatically supplements the lost data through the frame loss supplement calculation, so as to output the wired signal and the wireless signal to the user more completely.
[0010] Optionally, determining the long string supplementary data by using the wired frame loss string data, the wireless frame loss string data, the same string data, and the temporary supplementary number includes: Selecting one of the wired frame loss string data or the wireless frame loss string data as basic string data, and the other of the wired frame loss string data or the wireless frame loss string data as adjustment string data; Determine the adjustment string position data by using the basic string data, the adjustment string data, and a preset correction bit number threshold; The long string supplementary data is determined by the adjustment string data, the adjustment string position data, the basic string data, the same string data, and the temporary supplementary number.
[0011] By adopting the above technical solution, multiple adjustments are made to obtain multiple long strings of supplementary data, thereby obtaining multiple wired signals and wireless signals after frame loss supplementation calculations, and then selecting the best one from them to more accurately restore the lost data.
[0012] Optional, including: Feedback the new wired signal and the new wireless signal to the transmitting end to obtain the wired feedback signal and the wireless feedback signal; Determine a new wired feedback signal and a new wireless feedback signal by using the frame loss supplement calculation based on the wired feedback signal and the wireless feedback signal; Determining the wired data integrity through the new wired feedback signal and the initially output wired signal; Determine the wireless data integrity by using the new wireless feedback signal and the initially output wireless signal; Determine a frame loss rate according to the wired data integrity and the wireless data integrity; An alarm signal is determined and outputted based on the frame loss rate and a preset alarm threshold.
[0013] By adopting the above technical solution, the sending end estimates the data lost by the receiving end. If the estimated lost data is too much, an alarm signal is output to inform the user of the sending end that the communication signal received by the user of the receiving end has too much lost data.
[0014] Optional, including: Determine the new correction number threshold by using the correction number threshold, the preset correction number threshold, and the preset correction number adjustment threshold; Determine new adjustment string position data by using the new correction bit threshold, the basic string data, and the adjustment string data; Determine the new long string supplementary data by using the new adjustment string position data, the adjustment string data, and the basic string data; Supplementing the data with the new long string, determining the updated wired signal and the updated wireless signal; The final new wired signal and the new wireless signal are determined by the updated wired signal, the updated wireless signal, the new wired signal, the new wireless signal, and the preset proximity threshold to replace the original wired signal and the wireless signal.
[0015] By adopting the above technical solution, frame loss supplement calculations are performed through multiple different correction bit thresholds to obtain multiple wired signals and wireless signals after frame loss supplement calculations, and then the closest ones are selected from them, thereby reducing the probability of inaccurate restored and supplemented wired signals and wireless signals due to only one frame loss supplement calculation, which results in a large error, and more accurately restores the lost data.
[0016] The present application provides a system for HPLC and HRF dual-mode communication, which adopts the following technical solution: A system for HPLC and HRF dual-mode communication, comprising: A signal transmitting end, used for outputting the wired signal and the wireless signal; A signal receiving end, used for receiving the wired signal and the wireless signal; A sending feedback module, used for receiving the wired feedback signal and the wireless feedback signal, and calculating to obtain adjustment data, complementary signal, and frame loss rate; The receiving and processing module is used to receive the wired signal and the wireless signal, and perform frame loss supplement calculation to obtain a new wired signal and a new wireless signal.
[0017] By adopting the above technical solution, it is possible to automatically supplement the wired signal and wireless signal with frame loss, and automatically calculate whether the data has frame loss, thereby controlling the wired signal and wireless signal output by the signal sending end.
[0018] The present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and executed for a detection method for HPLC and HRF dual-mode communication.
[0019] By adopting the above technical solution, the computer program is stored in a computer-readable storage medium.
[0020] In summary, the present application includes at least one of the following beneficial technical effects: 1. Reduce energy consumption and output detection signals at regular intervals to detect whether communication is still smooth, thereby reducing power consumption.
[0021] 2. The receiving end receives the wired signal and wireless signal after the frame loss and automatically supplements the lost data through frame loss supplement calculation. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flow chart of a detection method for HPLC and HRF dual-mode communication in an embodiment of the present application.
[0023] Figure 2 is a flow chart of step S2.
[0024] Figure 3 It is a flowchart of step S3.
[0025] Figure 4 It is a flowchart of step S4.
[0026] Figure 5 It is a flowchart diagram of step S5.
[0027] Figure 6 It is a flowchart of step S6.
[0028] Figure 7 It is a module schematic diagram of a system for HPLC and HRF dual-mode communication in an embodiment of the present application.
[0029] Explanation of the accompanying drawings: 1. Signal sending end; 2. Signal receiving end; 3. Sending feedback module; 4. Receiving processing module. DETAILED DESCRIPTION
[0030] The following is combined with Figure 1-7 This application is described in further detail.
[0031] The present application embodiment discloses a detection method for HPLC and HRF dual-mode communication. Figure 1 , the detection method for HPLC and HRF dual-mode communication comprises the following steps: S1. Output a preset wired signal based on the wired HPLC, output a preset wireless signal based on the wireless HRF, and then receive and obtain a wired feedback signal and a wireless feedback signal; S11, determining the integrity of wired data based on the wired signal and the wired feedback signal calculated by the STA; S12, determining wireless data integrity based on STA calculation of wireless signals and wireless feedback signals; S13, determining adjustment data based on the STA calculation of wired data integrity, wireless data integrity, and a preset frame loss threshold; S14, stopping the wired HPLC from outputting a wired signal or the wireless HRF from outputting a wireless signal by adjusting the data; S15, determining a detection signal by adjusting data and a preset detection interval time threshold; S16. Determine the output of wired signals and wireless signals by detecting signals.
[0032] Details: When it is necessary to output a communication signal, the transmitter transmits wired and wireless signals simultaneously through the HPLC+HRF dual-mode communication method, and the signal data transmitted by the wired and wireless signals can be the same. The receiving end receives the wired and wireless signals, and finally integrates the wired and wireless signals into a communication signal to the receiving end user. The received wired and wireless signals will be completely fed back to the transmitter in the form of wired feedback signals and wireless feedback signals. By comparing the wired and wired feedback signals, it can be determined whether the signal data has frame loss when HPLC is transmitting wired signals, and whether the wired data has frame loss. The data integrity is the ratio of the wired signal to the wired feedback signal. For example, if the wired signal is abcde and the wired feedback signal is abc, the wired data integrity is 3 / 5*100%=60%. By comparing the wireless signal and the wireless feedback signal, it can be known whether the signal data has frame loss when the HRF is transmitting the wireless signal. The wireless data integrity is the ratio of the wireless signal to the wireless feedback signal. For example, if the wireless signal is abcde and the wireless feedback signal is abc, the wireless data integrity is 3 / 5*100%=60%. If the wired data integrity is 100%, If the wireless data integrity is 100%, the frame loss threshold is set to 99.9%. That is, if one or both of the wired data integrity or the wireless data integrity is greater than the frame loss threshold, the adjustment data is obtained to adjust the output of the wired signal and the wireless signal. For example, if the frame loss threshold is set to 99.9%, if the wired data integrity is 99%<99.9%, if the wireless data integrity is 100%>99.9%, then the adjustment data will stop the output of the wired signal to reduce power consumption. If the frame loss threshold is set to 99.9%, if the wired data integrity is 100%>99.9%, if the wireless data integrity is 99%<99.9 %, the adjustment data will stop the output of wireless signals to reduce power consumption. The frame loss threshold is set to 99.9%. If the wired data integrity is 100%>99.9%, if the wireless data integrity is 100%>99.9%, the adjustment data will arbitrarily select the output of a wireless signal or a wired signal to reduce power consumption. After the adjustment data stops the output of one of the wired signal or the wireless signal, the detection interval time threshold is set to 10 minutes. Then, every 10 minutes, the wired signal and the wireless signal will be output simultaneously again, and the wired data integrity and the wireless data integrity will be calculated again to obtain the adjustment data again.
[0033] Reference Figure 2 , further comprising the following steps: S2. Determine the dual-mode signal through wired data integrity, wireless data integrity, and frame loss threshold; S21, determining the output of the wired signal and the wireless signal through the dual-mode signal; S22, re-determining the wired data integrity and the wireless data integrity; S23, determining a complementary signal according to the wired data integrity, the wireless data integrity, and a preset complementary threshold; S24, performing preset frame loss supplement calculation on the wired signal and the wireless signal output by the complementary signal pair at the signal receiving end.
[0034] In detail: the frame loss threshold is set to 99.9%. If the wired data integrity is 99%<99.9% and the wireless data integrity is 99%<99.9%, a dual-mode signal is obtained to simultaneously start the output of the wired signal and the wireless signal, so as to ensure the stability of data transmission under unstable conditions. The complementary threshold is set to 98%. When both the wired data integrity and the wireless data integrity are less than the complementary threshold, a frame loss supplement calculation is performed at the signal receiving end 2, and the wired data integrity and the wireless data integrity at this time are calculated at the signal receiving end.
[0035] Reference Figure 3 , the frame loss supplement calculation includes the following steps: S3, at the receiving end, determining the same string of data through wired signals and wireless signals; S31, determining temporary supplementary numbers for multiple identical string data in order of receipt, wherein the temporary supplementary numbers correspond to the identical string data in order; S32, determining wired frame loss string data and wireless frame loss string data through wired signals, wireless signals, and identical string data; S33, wired signal, wireless signal, same string data, wired frame loss string data, wireless frame loss string data, temporary supplementary number corresponding to the same string data, determine the temporary supplementary number corresponding to the wired frame loss string data, the temporary supplementary number corresponding to the wireless frame loss string data, and adaptively modify the temporary supplementary number corresponding to the same string data; S34, determining the long string supplementary data through the wired frame loss string data, the wireless frame loss string data, the same string data, and the temporary supplementary number; S35. Determine a new wired signal and a new wireless signal through a long string of supplementary data.
[0036] In detail: the receiving end is the end of the signal receiving end 2 receiving the signal. When the wired data integrity and the wireless data integrity calculated in the signal receiving end 2 are both less than the complementary threshold, the frame loss supplement calculation is performed. First, the wired signal and the wireless signal are compared to determine whether the same string of data is obtained. For example, the complete wired signal is ABCDEFG when output. If the wired signal received by the signal receiving end is BCDEFG and the wireless signal is ABCEFG, since there is no A in the wired signal and no D in the wireless signal, two identical string data can be obtained, namely BC and EFG. The signal receiving end follows the sequence of ABCDEFG. The characters are received one by one in sequence, and then a complete string is formed. The characters are numbered as temporary supplementary numbers according to the order of reception. For example, the same string data BC corresponds to the temporary supplementary number 1, and the same string data EFG corresponds to the temporary supplementary number 2. Then the data that does not correspond in the wired signal and the wireless signal are used as the wired frame loss string data and the wireless frame loss string data. There is no A in the wired signal, but there is A in the wireless signal, so A is the wired frame loss string data. There is no D in the wireless signal, but there is D in the wired signal, so D is the wireless frame loss string data. By comparing the wireless signal, the same string data, and the wired frame loss string data, it can be determined whether there is a The data transmission in the wired frame loss string data is earlier than the same string data No. 1. At this time, the wired frame loss string data is corresponded to the temporary supplementary number No. 1, and the same string data originally corresponding to the temporary supplementary number No. 1 is modified to correspond to the temporary supplementary number No. 2. The temporary supplementary numbers corresponding to the subsequent same string data are modified in turn. By comparing the wired signal, the same string data, and the wireless frame loss string data, it can be determined that the data transmission in the wireless frame loss string data is later than the same string data No. 2 and earlier than the same string data No. 3, so that the wireless frame loss string data is corresponded to the temporary supplementary number No. 3, and the same string data originally corresponding to the temporary supplementary number No. 3 is modified to correspond to the temporary supplementary number No. 1. Corresponding to temporary supplementary number No. 5, the subsequent temporary supplementary numbers corresponding to the same string data are modified in sequence; then the wired frame loss string data, the wireless frame loss string data, and the same string data are sorted according to their corresponding temporary supplementary numbers to obtain long string supplementary data. At this time, temporary supplementary number No. 1 corresponds to the wired frame loss string data A, temporary supplementary number No. 2 corresponds to the same string data BC, temporary supplementary number No. 3 corresponds to the wireless frame loss string data D, and temporary supplementary number No. 4 corresponds to the same string data EFG, and the long string supplementary data is ABCDEFG, and then the long string supplementary data is displayed to the user as the new wired signal and wireless signal at the signal receiving end.
[0037] Reference Figure 4 , determining the long string supplementary data through the wired frame loss string data, the wireless frame loss string data, the same string data, and the temporary supplementary number, including the following steps: S4, select one of the wired frame loss string data or the wireless frame loss string data as the basic string data, and the other wired frame loss string data or the wireless frame loss string data as the adjustment string data; S41, determining the adjustment string position data through the basic string data, the adjustment string data, and a preset correction bit threshold; S42. Determine the long string supplementary data by adjusting the string data, adjusting the string position data, the basic string data, the same string data, and the temporary supplementary number.
[0038] In detail: The correction digit threshold is the number of character digits allowed for correction and modification in this calculation. Suppose the correction digit threshold is 2. If the wired frame loss string data is used as the basic string data, and the wireless frame loss string data is used as the adjustment string data, if multiple basic string data are A, CD, and IJK, and if the adjustment string data is F, MN, and RST, then IJK and RST are ignored, and only data of 2 digits or less are corrected to obtain the corresponding adjustment string position data. The adjustment string position data is the temporary supplementary number represented by A, CD, F, and MN, and finally the screened long string supplementary data is obtained.
[0039] Reference Figure 5 , further comprising the following steps: S5. Feedback the new wired signal and the new wireless signal to the transmitting end to obtain the wired feedback signal and the wireless feedback signal; S51, determining a new wired feedback signal and a new wireless feedback signal by using a frame loss supplement calculation based on the wired feedback signal and the wireless feedback signal; S52, determining the integrity of the wired data through the new wired feedback signal and the initially output wired signal; S53, determining the wireless data integrity through the new wireless feedback signal and the initially output wireless signal; S54, determining a frame loss rate according to the wired data integrity and the wireless data integrity; S55: Determine an alarm signal based on the frame loss rate and a preset alarm threshold and output it.
[0040] In detail: the transmitting end is the end where the signal transmitting end 1 transmits the signal. When the receiving end calculates the long string of supplementary data to calculate the wired signal and the wireless signal of the frame loss to obtain the new wired signal and the wireless signal, the new wired signal and the wireless signal are sent back to the transmitting end. The transmitting end obtains the wired feedback signal and the wireless feedback signal, and then substitutes the wired feedback signal and the wireless feedback signal into step S3-step S35, replaces the wired signal in step S3 with the wired feedback signal, and replaces the wireless signal in step S3 with the wireless feedback signal, and performs calculation, so as to finally obtain the new wired feedback signal and the wireless feedback signal after the frame loss supplementary calculation, and then compares and judges the wired feedback signal and the wireless feedback signal after the frame loss supplementary calculation with the wired signal and the wireless signal just output by the transmitting end, so as to obtain the wired data integrity and the wireless data integrity. At this time, the frame loss rate is calculated by taking the highest value of the wired data integrity and the wireless data integrity. For example, if the wired data integrity is 98% and the wireless data integrity is 95%, then 98% of the wired data integrity is taken for calculation. The wired data integrity at this time means that after the wired signal is output to the receiving end, a new wired signal is obtained through frame loss supplement calculation, and then the new wired signal is output to the output end. The difference between the wired feedback signal obtained through the second frame loss supplement calculation and the initial wired signal is obtained. At this time, the frame loss after two transmissions has also been calculated twice, while the signal received by the receiving end user has been calculated once after frame loss after one transmission and once. Then, the output end can estimate the frame loss rate of the receiving end to be approximately 100%-(100%-98%) / 2=99%. If the alarm threshold is 99.5%>99%, it means that there are too many frame losses, and an alarm signal is output to the output end user. At this time, the output end user receives the alarm signal and understands that the communication signal received by the receiving end user may have too many frame losses.
[0041] Reference Figure 6 , further comprising the following steps: S6, determining a new correction digit threshold by using the correction digit threshold, the preset correction number threshold, and the preset correction digit adjustment threshold; S61, determining new adjustment string position data by using a new correction digit threshold, basic string data, and adjustment string data; S62, determining new long string supplementary data through new adjustment string position data, adjustment string data, and basic string data; S63, determining an updated wired signal and an updated wireless signal through the new long string supplementary data, the wired frame loss string data, the wireless frame loss string data, the wired signal, and the wireless signal; S64, determining a final new wired signal or new wireless signal through the updated wired signal, the updated wireless signal, the new wired signal, the new wireless signal, and the preset proximity threshold to replace the original wired signal or wireless signal.
[0042] In detail: the number of corrections is the number of times the correction calculation of step S3 needs to be performed, and the correction bit adjustment threshold is the adjustment of the correction bit threshold in different correction calculations. For example, if the correction bit threshold is 2, the correction number threshold is 3, and the correction bit adjustment threshold is 1, then the correction bit threshold in the first step S41 calculation is 2, the correction bit threshold in the second step S41 calculation is 2+1=3, and the correction bit threshold in the third step S41 calculation is 3+1=4, thereby obtaining more corrected long string supplementary data, and obtaining more wired signals and wireless signals through multiple long string supplementary data through multiple frame loss supplementary calculations, and judging the wired signals and wireless signals finally adopted through the proximity threshold. For example, if the proximity threshold is 12%, if multiple wired signals and wireless signals are updated and replaced with long string supplementary data, they are ABCEFGHIJK, ABCFGHIJK, ABCEFGHIJK, ABCDEFGIJK, AB CDEGHIJK, and then compare and calculate each wired signal with the wireless signal in turn. For example, take the first ABCEFGHIJK for calculation first. Compared with the second ABCFGHIJK, it only has one more E, and the similarity is 1 / 9=11%. It is the same as the third ABCEFGHIJK, with a similarity of 100%. Compared with the fourth ABCDEFGIJK, it has one less D and one more H, and the similarity is 2 / 9=22%. Compared with the fifth ABCDEGHIJK, it has one less D and one more F, so the similarity is 2 / 9=22%. Therefore, there are two similarities between the first ABCEFGHIJK and each data that are close to the threshold range. Then, multiple wired signals are compared and calculated with wireless signals to obtain which wired signal and wireless signal are closer to the threshold range, and then which wired signal and wireless signal are used as the final output to the user after frame loss supplement calculation.
[0043] The present application embodiment discloses a system for HPLC and HRF dual-mode communication. Figure 7The system for HPLC and HRF dual-mode communication includes a signal transmitting end 1, a signal receiving end 2, a sending feedback module 3, and a receiving processing module 4. The signal transmitting end 1 is used to form and output a wired signal and a wireless signal according to a communication signal input by a user. The signal receiving end 2 is used to receive the wired signal and the wireless signal, and then re-form a communication signal and output it to the user. The sending feedback module 3 is installed on the signal transmitting end 1, and is used to receive the wired feedback signal and the wireless feedback signal fed back to the signal transmitting end 1 by the signal receiving end 2, and obtain adjustment data, complementary signals, frame loss rate, alarm signals, etc. through calculation. The receiving processing module 4 is installed on the signal receiving end 2, and is used to receive the wired signal and the wireless signal output by the signal transmitting end 1, and perform frame loss supplement calculation to obtain the corrected wired signal and the wireless signal to the user.
[0044] Reference Figure 7 The sending feedback module 3 and the receiving processing module 4 both include a processor and a database. The database is used to store various threshold data, such as proximity threshold, correction digit threshold, correction number threshold, correction digit adjustment threshold, alarm threshold, etc. The processor is used to receive and calculate wired signals and wireless signals or wired feedback signals and wireless feedback signals, and call relevant data from the database. The database can also combine time data to form a work log for users to view.
[0045] The processor may include a central processing unit such as a CPU or a host system built around a CPU, including hardware or software. When a meter has a processor, people can freely control the metering instrument through programming to make it run as people wish. The processor can control local measurement transmission, remote measurement transmission, remote communication, etc. through internal protocols.
[0046] The embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that can be loaded and executed by a processor and is used for a detection method of HPLC and HRF dual-mode communication.
[0047] Computer-readable storage media include, for example, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0048] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A detection method for HPLC and HRF dual-mode communication, characterized in that: include: Based on the wired HPLC output, a preset wired signal is output, based on the wireless HRF output, a preset wireless signal is output, and then a wired feedback signal and a wireless feedback signal are received and obtained; Determine the wired data integrity based on the wired signal and the wired feedback signal calculated by the STA; Determine wireless data integrity based on the STA calculation of the wireless signal and the wireless feedback signal; Determine the adjustment data based on the wired data integrity, the wireless data integrity, and a preset frame loss threshold calculated by the STA; Stopping the wired HPLC from outputting the wired signal or the wireless HRF from outputting the wireless signal according to the adjustment data; Determine a detection signal by using the adjustment data and a preset detection interval time threshold; The output of the wired signal and the wireless signal is determined by the detection signal.
2. A detection method for HPLC and HRF dual-mode communication according to claim 1, characterized in that: include: Determine a dual-mode signal according to the wired data integrity, the wireless data integrity, and the frame loss threshold; Determining output of the wired signal and the wireless signal through the dual-mode signal; Re-determining the wired data integrity and the wireless data integrity; Determining a complementary signal by using the wired data integrity, the wireless data integrity, and a preset complementary threshold; The wired signal and the wireless signal output by the complementary signal pair are subjected to a preset frame loss supplement calculation at the signal receiving end.
3. A detection method for HPLC and HRF dual-mode communication according to claim 2, characterized in that: The frame loss supplement calculation includes: At the receiving end, determining the same string of data through the wired signal and the wireless signal; Determine temporary supplementary numbers for the plurality of identical string data in order of receipt, wherein the temporary supplementary numbers correspond to the identical string data in order; Determine wired frame loss string data and wireless frame loss string data through the wired signal, the wireless signal, and the same string data; The wired signal, the wireless signal, the same string data, the wired frame loss string data, the wireless frame loss string data, and the temporary supplementary number corresponding to the same string data determine the temporary supplementary number corresponding to the wired frame loss string data and the temporary supplementary number corresponding to the wireless frame loss string data, and adaptively modify the temporary supplementary number corresponding to the same string data; Determine the long string supplementary data by using the wired frame loss string data, the wireless frame loss string data, the same string data, and the temporary supplementary number; The new wired signal and the new wireless signal are determined by the long string of supplementary data.
4. A detection method for HPLC and HRF dual-mode communication according to claim 3, characterized in that: Determining the long string supplementary data by using the wired frame loss string data, the wireless frame loss string data, the same string data, and the temporary supplementary number includes: Selecting one of the wired frame loss string data or the wireless frame loss string data as basic string data, and the other of the wired frame loss string data or the wireless frame loss string data as adjustment string data; Determine the adjustment string position data by using the basic string data, the adjustment string data, and a preset correction bit number threshold; The long string supplementary data is determined by the adjustment string data, the adjustment string position data, the basic string data, the same string data, and the temporary supplementary number.
5. A detection method for HPLC and HRF dual-mode communication according to claim 3, characterized in that: include: Feedback the new wired signal and the new wireless signal to the transmitting end to obtain the wired feedback signal and the wireless feedback signal; Determine a new wired feedback signal and a new wireless feedback signal by using the frame loss supplement calculation based on the wired feedback signal and the wireless feedback signal; Determining the wired data integrity through the new wired feedback signal and the initially output wired signal; Determine the wireless data integrity by using the new wireless feedback signal and the initially output wireless signal; Determine a frame loss rate according to the wired data integrity and the wireless data integrity; An alarm signal is determined and outputted based on the frame loss rate and a preset alarm threshold.
6. A detection method for HPLC and HRF dual-mode communication according to claim 4, characterized in that: include: Determine the new correction number threshold by using the correction number threshold, the preset correction number threshold, and the preset correction number adjustment threshold; Determine new adjustment string position data by using the new correction bit threshold, the basic string data, and the adjustment string data; Determine the new long string supplementary data by using the new adjustment string position data, the adjustment string data, and the basic string data; Supplementing the data with the new long string, determining the updated wired signal and the updated wireless signal; The final new wired signal and the new wireless signal are determined by the updated wired signal, the updated wireless signal, the new wired signal, the new wireless signal, and the preset proximity threshold to replace the original wired signal and the wireless signal.
7. A system for HPLC and HRF dual-mode communication, using the detection method for HPLC and HRF dual-mode communication according to claim 6, characterized in that: include: A signal transmitting end (1), used for outputting the wired signal and the wireless signal; A signal receiving end (2), used for receiving the wired signal and the wireless signal; A sending feedback module (3) is used to receive the wired feedback signal and the wireless feedback signal, and calculate to obtain adjustment data, a complementary signal, and a frame loss rate; The receiving and processing module (4) is used to receive the wired signal and the wireless signal, and perform frame loss supplement calculation to obtain a new wired signal and a new wireless signal.
8. A computer-readable storage medium, characterized in that: The device stores a computer program which can be loaded by a processor and executes a detection method for HPLC and HRF dual-mode communication according to any one of claims 1 to 6.