A communication method and communication system based on HPLC and HRF
By using communication methods based on HPLC and HRF, data is sliced and labeled, data is transmitted using transmission rules, and fused at the terminal. This solves the problems of wasted resources and low transmission efficiency in multiple links, and achieves rational utilization of link resources and efficient transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU HUALONG ELECTRONIC TECH CO LTD
- Filing Date
- 2024-08-23
- Publication Date
- 2026-04-17
AI Technical Summary
In existing technologies, multiple communication links result in resource waste and low transmission efficiency, especially under heavy loads. Furthermore, different transmission protocols lead to wasted data processing resources, and there is a lack of coordinated link selection.
A communication method based on HPLC and HRF is adopted. The raw data is sliced and labeled, and different data are provided for HPLC and HRF according to different transmission rates. Transmission rules are used for data transmission, and the data is fused at the destination terminal. The two methods are synchronized by using transmission protocols, and the channel connectivity is judged to select the appropriate transmission path.
It achieves full utilization of link resources, improves transmission efficiency under heavy load, reduces resource waste, and enhances the system's fault tolerance and data processing efficiency.
Smart Images

Figure CN119030666B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of data transmission technology and relates to a communication method and system based on HPLC and HRF. Background Technology
[0002] During data transmission, due to the existence of multiple communication links, the question of which communication link to choose often arises.
[0003] In existing technologies, most transmission methods utilize the best-quality communication link for transmission, or switch from the primary communication link to a backup communication link. These methods are simplistic and do not involve collaborative selection between different links. Existing technologies suffer from drawbacks such as different transmission protocols across multiple transmission links, wasting both data processing and transmission resources, and low transmission efficiency under heavy loads. Summary of the Invention
[0004] To address the problems existing in the background technology, this invention proposes a communication method and system based on HPLC and HRF.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] On one hand, the present invention provides a communication method based on HPLC and HRF, comprising:
[0007] The raw data is sliced according to the first preset rule, and different data are provided for HPLC and HRF by using different transfer rates;
[0008] The slide data are divided into two categories, corresponding to HPLC and HRF transmission methods respectively;
[0009] The data processed based on the first preset rule is then transmitted using HPLC and HRF based on the first transmission rule.
[0010] The connectivity of the HPLC and HRF channels is assessed, and if either channel is damaged, a second transmission rule is selected for data transmission.
[0011] Furthermore, the first preset rule is:
[0012] Given the different transfer rates of HPLC and HRF, a fixed time value is set. Based on the amount of data transferred by each within the fixed time value, the ratio of HPLC and HRF data is obtained. Based on the ratio of the amount of data transferred by HPLC and HRF within the fixed time, the data is sliced into fixed lengths.
[0013] Based on the slice length, the data is divided into long data and short data, with the number of long data and short data being the same.
[0014] Furthermore, the first transmission rule is:
[0015] A transmission protocol is created, which includes data marking, channel selection, and a data fusion method at the data transmission destination terminal; the sliced data is marked according to a first preset rule, and the data transmission channel is selected; the sliced data is then fused at the data transmission destination terminal.
[0016] The transmission protocol synchronizes HPLC and FRF, ensuring that the transmission protocols for HPLC and FRF maintain consistent formats.
[0017] Furthermore, the data tag for the first transmission rule is:
[0018] First, determine the location of the sliced data after data slicing. Based on the current position of the sliced data in the overall data, add a position attribute to each sliced data.
[0019] Determine the length attribute of all slice data and divide the slice data into two categories based on the length attribute. Match the length of the two categories of slice data with the rates of HPLC and HRF transfer methods, respectively. Add the HPLC transfer method attribute to the slice data of the first category that matches the HPLC transfer method, and add the HRF transfer method attribute to the slice data of the second category that matches the HRF transfer method. Add the transfer method attribute to each slice data.
[0020] Furthermore, the channel selection for data transmission in the first transmission rule is as follows:
[0021] Based on the transmission method attributes of the slice data, the corresponding transmission method between HPLC and HRF is selected to realize the transmission channel selection of slice data.
[0022] Furthermore, the method for fusing the sliced data at the data transmission destination terminal is as follows:
[0023] Create an empty list at the data transmission destination terminal and set it as the receiving list. The length of the receiving list is not fixed.
[0024] The data slices received by the destination terminal are filled into the corresponding index positions in the receiving list according to their location attributes;
[0025] For data in the received list that has a non-empty index, delete all its attributes and retain only the text data in the data slice;
[0026] The data fusion process continues until no information is inserted into the receiving list within a fixed time. Once the list is filled, an empty string is created, and the data from the empty list is added to the empty string in index order, thus completing the data fusion.
[0027] Furthermore, the second transmission rule is as follows:
[0028] To determine the connectivity between HPLC and HRF communication methods, both HPLC and HRF simultaneously send test requests to the data transmission destination terminal, requesting a response of verification data. The integrity of the verification data received by both is then assessed to determine the connectivity between the two communication methods.
[0029] If any of the communication methods fails, data slicing and the use of the first transmission rule will be stopped, and data transmission will only be carried out through the normal communication channels in HPLC and HRF.
[0030] On the other hand, the present invention provides a communication system based on HPLC and HRF, comprising:
[0031] The data processing module slices the raw data according to a first preset rule and encapsulates the sliced data according to a first transmission rule.
[0032] The validation module verifies the availability of both HPLC and HRF communication methods.
[0033] The transmission management module selects the corresponding transmission rules and controls data transmission based on the verification results of the data verification module. When the verification result of the verification module indicates that any channel is unavailable, it sends a stop data slicing command to the data processing module.
[0034] The data transmission module, based on the commands from the transmission management module, selects transmission rules to transmit data;
[0035] The data transmission destination terminal receives data from HPLC and HRF and performs decoding and fusion operations on the data.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] This invention synchronizes the transmission protocols of two different transmission methods, HPLC and FRF, enabling both HPLC and FRF to transmit data simultaneously. Furthermore, the data can be parsed synchronously when it reaches the receiving terminal, making the use of link resources more efficient and rational, reducing waste of link resources, and improving transmission efficiency under heavy load. Attached Figure Description
[0038] Figure 1 This is a flowchart of the method of the present invention;
[0039] Figure 2 This is a system module structure diagram of the present invention. Detailed Implementation
[0040] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0041] like Figures 1-2 As shown, in order to solve the problem that single data can only be transmitted through a single transmission channel, which easily leads to load imbalance among multiple data transmission channels, the technical solution adopted by this invention is as follows:
[0042] On the one hand, such as Figure 1 As shown, this invention provides a communication method based on HPLC and HRF, comprising:
[0043] The raw data is sliced according to the first preset rule, and different data are provided for HPLC and HRF by using different transfer rates.
[0044] The first preset rule mentioned above is:
[0045] Because different data transmission methods have different transmission speeds, a fixed time value is set to account for the different transmission rates of HPLC and HRF. Based on the amount of data transmitted by each method within that fixed time value, the ratio of HPLC to HRF data volume is obtained. Fixed-length slices are then created based on this ratio of data volume transmitted by HPLC and HRF within the fixed time. To address the different data transmission speeds of HPLC and HRF, the data to be transmitted is segmented to match the transmission rates of both methods, reducing resource waste in both HPLC and HRF transmission methods.
[0046] The sliced data is divided into long and short data based on slice length, with an equal number of long and short data sets. The long and short data sets correspond to HPLC and HRF transmission methods, respectively. This ensures that data transmission completion times are similar when both HPLC and HRF transmission methods are used simultaneously.
[0047] After the data slices are completed, the data processed according to the first preset rule is transmitted using HPLC and HRF based on the first transmission rule.
[0048] The aforementioned first transmission rule includes creating a transmission protocol. The header of the transmission protocol includes data marking, channel selection, and a data fusion method at the data transmission destination terminal. Specifically, it involves marking the sliced data and selecting the data transmission channel according to the first preset rule, and then fusing the sliced data at the data transmission destination terminal.
[0049] The message format of the transmission protocol is synchronized for HPLC and FRF, ensuring that the transmission protocols of HPLC and FRF maintain consistent formats. This ensures that the processing methods required for encapsulation and decoding are consistent for both HPLC and FRF transmission protocols. A single data processing module can handle the encapsulation of the transmission protocols for both HPLC and FRF transmission methods, and at the data transmission destination terminal, only one data processing module is needed to complete the decoding of data transmitted via both HPLC and FRF transmission methods.
[0050] The data marker for the first transmission rule is:
[0051] First, determine the location of the sliced data after data slicing. Based on the current position of the sliced data within the overall data, add a position attribute to each sliced data. This ensures the original data remains in the correct order after slicing, preventing data from becoming invalid due to the inability to reassemble the data after transmission.
[0052] Determine the length attribute of all slice data and divide the slice data into two categories based on the length attribute. Match the length of the two categories of slice data with the rates of HPLC and HRF transfer methods, respectively. Add the HPLC transfer method attribute to the slice data of the first category that matches the HPLC transfer method, and add the HRF transfer method attribute to the slice data of the second category that matches the HRF transfer method. Add the transfer method attribute to each slice data.
[0053] The channel selection for data transmission in the first transmission rule is as follows:
[0054] Based on the transmission method attributes of the slice data, the corresponding transmission method between HPLC and HRF is selected to realize the transmission channel selection of slice data.
[0055] The method for fusing the sliced data of the first transmission rule at the data transmission destination terminal is as follows:
[0056] An empty list is created at the destination terminal for data transmission and set as the receiving list. The length of the receiving list is not fixed. This flexible length allows for expansion at any time, preventing unexpected data lengths from causing insufficient receiving list length and resulting in memory overflow, thus increasing the applicability of this transmission method.
[0057] The data slices received by the destination terminal are filled into the corresponding index positions in the receiving list according to their location attributes.
[0058] For data with non-empty indices in the receive list, all attributes are deleted, retaining only the text data within the data slice. After data transmission is complete and the receive list is populated, the original attribute information of the sliced data is no longer needed; subsequent processing and operations only require the data itself. Deleting attribute information reduces data processing time and improves processing efficiency.
[0059] Data transmission completion is determined by the update time of the received list. If no information is inserted into the received list within a fixed time, it indicates that the filling is complete. An empty string is then created, and the data from the empty list is added to the empty string according to the index order, completing the data fusion. The original slice data order is preserved, preventing slice data from becoming disordered due to congestion or other issues during transmission.
[0060] The connectivity of the HPLC and HRF channels is assessed, and if either channel is damaged, a second transmission rule is selected for data transmission. Adding a backup rule improves the robustness and fault tolerance of the transmission method of this invention.
[0061] The second transmission rule is:
[0062] To determine the connectivity between HPLC and HRF communication methods, both HPLC and HRF simultaneously send test requests to the data transmission destination terminal, requesting verification data in response. The integrity of the verification data received by both is then assessed to determine the connectivity between the two communication methods.
[0063] If any of the communication methods fails, data slicing and the use of the first transmission rule will be stopped, and data transmission will only be carried out through the normal communication channels in HPLC and HRF.
[0064] On the other hand, the present invention provides a communication system based on HPLC and HRF, comprising:
[0065] The data processing module slices the raw data according to a first preset rule and encapsulates the sliced data according to a first transmission rule.
[0066] The validation module verifies the usability of both HPLC and HRF communication methods.
[0067] The transmission management module selects the corresponding transmission rules and controls data transmission based on the verification results from the data verification module. If the verification module determines that any channel is unavailable, it sends a stop data slicing command to the data processing module.
[0068] The data transmission module, based on the commands from the transmission management module, selects transmission rules to transmit data.
[0069] The data transmission destination terminal receives data from HPLC and HRF and performs decoding and fusion operations on the data.
[0070] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method of communication based on HPLC and HRF, characterized in that, Including: The raw data is sliced according to the first preset rule, and different data are provided for HPLC and HRF by using different transfer rates; The slide data are divided into two categories, corresponding to HPLC and HRF transmission methods respectively; The data processed based on the first preset rule is then transmitted using HPLC and HRF based on the first transmission rule. The connectivity of the HPLC and HRF channels is determined, and if either channel is damaged, a second transmission rule is selected for data transmission. The first preset rule is as follows: Given the different transfer rates of HPLC and HRF, a fixed time value is set. Based on the amount of data transferred by each within the fixed time value, the ratio of HPLC and HRF data volume is obtained. Based on the ratio of HPLC and HRF data volume transferred within the fixed time, the data is sliced into fixed length sections. Based on slice length, data is divided into long data and short data, with the same number of long data and short data. The first transmission rule is: Create a transport protocol, which includes data tagging, channel selection, and data fusion methods at the destination terminal. The sliced data is marked according to the first preset rule and the channel for data transmission is selected. The sliced data is then fused at the data transmission destination terminal. The transmission protocol synchronizes HPLC and FRF, ensuring that the transmission protocols for HPLC and FRF maintain consistent formats.
2. A communication method based on HPLC and HRF according to claim 1, characterized in that The data marker for the first transmission rule is: First, determine the location of the sliced data after data slicing. Based on the current position of the sliced data in the overall data, add a position attribute to each sliced data. Determine the length attribute of all slice data and divide the slice data into two categories based on the length attribute. Match the length of the two categories of slice data with the rates of HPLC and HRF transfer methods, respectively. Add the HPLC transfer method attribute to the slice data of the first category that matches the HPLC transfer method, and add the HRF transfer method attribute to the slice data of the second category that matches the HRF transfer method. Add the transfer method attribute to each slice data.
3. A method of communication based on HPLC and HRF according to claim 2, characterized in that The channel selection for data transmission under the first transmission rule is as follows: Based on the transmission method attributes of the slice data, the corresponding transmission method between HPLC and HRF is selected to realize the transmission channel selection of slice data.
4. The method of claim 3, wherein The method for fusing the sliced data at the destination terminal is as follows: Create an empty list at the data transmission destination terminal and set it as the receiving list. The length of the receiving list is not fixed. The data slices received by the destination terminal are filled into the corresponding index positions in the receiving list according to their location attributes; For data in the received list that has a non-empty index, delete all its attributes and retain only the text data in the data slice; The data fusion process continues until no information is inserted into the receiving list within a fixed time. Once the list is filled, an empty string is created, and the data from the empty list is added to the empty string in index order, thus completing the data fusion.
5. The method of claim 1, wherein The second transmission rule is: To determine the connectivity between HPLC and HRF communication methods, both HPLC and HRF simultaneously send test requests to the data transmission destination terminal, requesting a response of verification data. The integrity of the verification data received by both is then assessed to determine the connectivity between the two communication methods. If any of the communication methods fails, data slicing and the use of the first transmission rule will be stopped, and data transmission will only be carried out through the normal communication channels in HPLC and HRF.
6. A communication system based on HPLC and HRF, characterized in that... Including: The data processing module slices the raw data according to a first preset rule and encapsulates the sliced data according to a first transmission rule. The validation module verifies the usability of both HPLC and HRF communication methods. The transmission management module selects the corresponding transmission rules and controls data transmission based on the verification results of the data verification module. When the verification result of the verification module indicates that any channel is unavailable, it sends a stop data slicing command to the data processing module. The data transmission module, based on the commands from the transmission management module, selects transmission rules to transmit data; The data is transmitted to the destination terminal, which receives the data from HPLC and HRF and performs decoding and fusion operations on the data. The first preset rule is as follows: Given the different transfer rates of HPLC and HRF, a fixed time value is set. Based on the amount of data transferred by each within the fixed time value, the ratio of HPLC and HRF data volume is obtained. Based on the ratio of HPLC and HRF data volume transferred within the fixed time, the data is sliced into fixed length sections. Based on slice length, data is divided into long data and short data, with the same number of long data and short data. The first transmission rule is: Create a transport protocol, which includes data tagging, channel selection, and data fusion methods at the destination terminal. The sliced data is marked according to the first preset rule and the channel for data transmission is selected. The sliced data is then fused at the data transmission destination terminal. The transmission protocol synchronizes HPLC and FRF, ensuring that the transmission protocols for HPLC and FRF maintain consistent formats.
Citation Information
Patent Citations
Home network system and data transfer method, home network controller and terminal
CN101106445A
Converged communication method between intelligent electric meter and concentrator based on dual-mode communication
CN115188176A