HPLC and wireless dual-mode communication method, system and device and storage medium

By introducing a dual-channel communication mode and a dynamic decision-making mechanism into HPLC and wireless dual-mode communication, the problems of bandwidth resource waste and channel resource management conflict are solved, and more efficient data transmission and resource utilization are achieved.

CN120785371APending Publication Date: 2025-10-14WUHAN BINARY SEMICON CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510996048.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-18
Publication Date
2025-10-14

AI Technical Summary

Technical Problem

The existing HPLC and wireless dual-mode communication technology suffers from bandwidth resource waste and channel resource management conflicts, resulting in inadequate utilization of available bandwidth and reduced efficiency.

Method used

A dual-channel communication mode is adopted, and the communication mode of the station STA is dynamically decided by the central coordinator CCO. A dual-channel interaction time slot is allocated for dual-channel communication in the TDMA time slot area. The dual-channel status is synchronously monitored in the CSMA time slot. Parallel transmission or degraded transmission is selected according to the channel status, and data is distributed in an inverse relationship between the channel transmission rate.

Benefits of technology

It improves bandwidth utilization, reduces conflicts during multi-site competition, improves the utilization efficiency of overall channel resources, and ensures the reliability and flexibility of communications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120785371A_ABST
    Figure CN120785371A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, in particular to an HPLC (High Performance Liquid Chromatography) and wireless dual-mode communication method and system. The method comprises the following steps: a CCO executes a decision according to local configuration information and a channel request field in an association request message sent by an STA, and indicates the STA to be configured in a single-channel communication mode or a dual-channel communication mode; a dual-channel interaction time slot is distributed for the STA supporting dual-channel communication in a TDMA time slot area, and an HPLC channel and a wireless channel are allowed to transmit data in parallel; synchronously monitoring a dual-channel state in a CSMA time slot, and dynamically selecting dual channels or degrading to a single channel according to the states of an HPLC channel and a wireless channel; according to the transmission rate inverse ratio relation of the HPLC channel and the wireless channel, messages to be sent are distributed to the two channels to be transmitted respectively, and then the messages are recombined. According to the invention, the bandwidth utilization rate is improved by adopting a load sharing mode, a dual-channel communication mode and a degradable single-channel communication mode are provided, and channel resources are effectively utilized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a HPLC and wireless dual-mode communication method, system, equipment and storage medium. Background Art

[0002] High-speed Power Line Carrier (HPLC) communications in current power systems have integrated wireless communication technologies to form a dual-mode communication network. Its core goal is to build an efficient and reliable power consumption information communication network, enabling the coordinated transmission of power line and wireless channels in low-voltage distribution networks. HPLC communication uses Orthogonal Frequency Division Multiplexing (OFDM) technology at the physical layer, operating in the 0.7-12 MHz frequency band. The Media Access Control (MAC) layer uses a beacon period mechanism to implement channel access control. The data link layer defines a detailed frame format, and the MAC sublayer implements data transmission and fragment reassembly. The network management layer is responsible for network formation, routing maintenance, and coordination between multiple networks. Wireless communication at the physical layer utilizes turbo coding, channel interleaving, and diversity copying technologies to significantly improve interference immunity. The data link layer frame format is consistent with HPLC, supporting tree topologies.

[0003] Dual-mode collaborative communication uses the HPLC network as the backbone network and the wireless communication network as an extension and supplement, forming a heterogeneous network with "power line as the main network and wireless as the auxiliary network". The advantages are: redundant reliability. The power line and wireless dual channels provide redundant transmission capabilities, effectively reducing the risk of communication interruption; dynamic channel switching. For example, the station terminal (STA) can dynamically switch to the wireless channel for communication based on the real-time channel quality (such as high interference in the HPLC channel); and suitability for complex scenarios. Dual-mode collaborative transmission is particularly suitable for complex scenarios such as densely deployed substations and multiple obstacles (impacting wireless or power line communications), ensuring communication reliability.

[0004] The defects of existing HPLC and wireless dual-mode communication technology are: 1. Bandwidth resource waste In a tree-based network architecture, HPLC and wireless dual-mode communication typically uses only one link to transmit data when the link is normal, leaving the other link idle and wasting bandwidth resources. This single-link operating mode cannot fully utilize the available bandwidth and is unable to meet the growing demand for data transmission.

[0005] 2. Channel resource management conflict The original virtual carrier sensing (VCS) mechanism can only perform sensing on a single communication channel, and cannot effectively monitor the states of the HPLC channel and the wireless channel, so when multiple stations compete for channel resources in a complex dual-mode communication environment, due to the lack of coordinated sensing of the dual channels, conflicts are prone to occur, resulting in waste of channel resources and reduction of efficiency. SUMMARY

[0006] The application provides an HPLC and wireless dual-mode communication method and system, aiming to solve the problems of bandwidth resource waste and channel resource management conflict of the existing dual-mode communication technology.

[0007] To achieve the above object, the application provides the following technical scheme. An HPLC and wireless dual-mode communication method, comprising: receiving an association request message of a station STA, and a central coordinator CCO performing decision-making according to local configuration information and a channel request field of the association request message, and indicating the STA to be configured in a single-channel communication mode or a dual-channel communication mode through an association indication message; allocating a dual-channel interaction time slot for the STA supporting dual-channel communication in a TDMA time slot area, and allowing the HPLC channel and the wireless channel to transmit data in parallel in the dual-channel interaction time slot; synchronously sensing the states of the dual channels in a CSMA time slot, and dynamically selecting dual-channel parallel data transmission or downgrading to single-channel data transmission according to the states of the HPLC channel and the wireless channel; allocating the to-be-sent message to the two channels according to the inverse ratio relationship between the transmission rates of the HPLC channel and the wireless channel, and recombining the message after transmission.

[0008] An HPLC and wireless dual-mode communication system, comprising: a configuration module configured to receive an association request message of a station STA, and a central coordinator CCO performing decision-making according to local configuration information and a channel request field of the association request message, and indicating the STA to be configured in a single-channel communication mode or a dual-channel communication mode through an association indication message; a time slot allocation module configured to allocate a dual-channel interaction time slot for the STA supporting dual-channel communication in a TDMA time slot area, and allow the HPLC channel and the wireless channel to transmit data in parallel in the dual-channel interaction time slot; a sensing module configured to synchronously sense the states of the dual channels in a CSMA time slot, and dynamically select dual-channel parallel data transmission or downgrading to single-channel data transmission according to the states of the HPLC channel and the wireless channel; The transmission module is used for distributing the messages to be sent into two channels according to the inverse ratio of the transmission rates of the HPLC channel and the wireless channel, and then recombining the messages after transmission.

[0009] Based on the same inventive concept, the application further provides an electronic device, comprising a memory and a processor; the processor is used for reading and executing a computer program stored in the memory to realize the HPLC and wireless dual-mode communication method.

[0010] Based on the same inventive concept, the application further provides a computer storage medium, wherein computer executable instructions are stored in the computer storage medium, and the computer executable instructions realize the HPLC and wireless dual-mode communication method when executed.

[0011] The technical effects and advantages of the application are as follows: (1) When the HPLC channel and the wireless channel are used for data transmission at the same time, the data capacity to be sent is dynamically distributed to two channels for parallel transmission according to the inverse ratio of the transmission rates of the two channels, and the load sharing method is used to improve the bandwidth utilization rate and realize more efficient data transmission. (2) The dual-channel listening mechanism is introduced to monitor the states of the HPLC channel and the wireless channel at the same time, and the dual-channel communication mode and the degradable single-channel communication mode are provided, so that the channel resources are more effectively utilized, the conflict in multi-site competition is reduced, and the utilization efficiency of the overall channel resources is improved.

[0012] Other features and advantages of the application will be described in the following description, and some will become apparent from the description, or will be understood by those skilled in the art. The purpose and other advantages of the application can be achieved and obtained by the structure indicated in the specification, claims and drawings. BRIEF DESCRIPTION OF DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.

[0014] Figure 1 Fig. 1 is a structural schematic diagram of an HPLC and wireless dual-mode communication network; Figure 2 Fig. 2 is a flowchart of an HPLC and wireless dual-mode communication method according to an embodiment of the application; Figure 3 Fig. 3 is a schematic diagram of STA and CCO interaction negotiation according to an embodiment of the application; Figure 4 Fig. 4 is a time slot allocation schematic diagram according to an embodiment of the application; Figure 5 A schematic diagram of the dynamic decision-making principle of an embodiment of the present invention; Figure 6 Schematic diagram of load sharing principle between HPLC channel and wireless channel according to an embodiment of the present invention; Figure 7 A schematic diagram of the wireless channel service switching principle according to an embodiment of the present invention; Figure 8 4 is a structural diagram of the HPLC and wireless dual-mode communication system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0015] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making creative efforts are within the scope of protection of the present invention.

[0016] like Figure 1 As shown, a dual-mode HPLC and wireless communication network typically forms a multi-level tree-like network with a central CC Ordinator (CCO) at the center and a proxy CC Ordinator (PCO) as a relay agent, connecting all stations (STAs). Communication is centrally scheduled. After powering on, the CCO performs a full network check to identify the PCO and STA. It then listens to STA messages or actively queries STAs, managing and controlling data transmission using CSMA carrier sense multiple access. Communication between the CCO and PCO, between the CCO and STA, and between the PCO and STA can be configured as HPLC and / or wireless link communication. Dual-mode communication is currently primarily used for active / standby protection. In existing technologies, when both links are operating normally, one link is actually idle, resulting in wasted bandwidth resources. The wireless channel communication referred to in this invention can be understood to include any of broadband micro-power BMP wireless communication, Bluetooth communication, Wi-Fi communication, and high-frequency radio frequency (HRF) communication.

[0017] The first embodiment of the present invention provides a HPLC and wireless dual-mode communication method, such as Figure 2 As shown, the method is applied to the central coordinator CCO, and the method includes: S1. Receive an association request message from a STA. The CCO makes a decision based on local configuration information and the channel request field of the association request message, and instructs the STA to configure the communication mode to single-channel or dual-channel through an association indication message. S2, allocating a double-channel interactive time slot for the STA supporting double-channel communication in a TDMA time slot area, allowing parallel transmission of data in the HPLC channel and the wireless channel in the double-channel interactive time slot; S3, synchronously listening to the double-channel state in a CSMA time slot, and dynamically selecting double-channel parallel transmission of data or downgrading to single-channel transmission of data according to the HPLC channel and the wireless channel state; S4, allocating the to-be-sent message to the two channels according to the inverse ratio relationship between the transmission rates of the HPLC channel and the wireless channel, and recombining the message after transmission.

[0018] In the embodiment of the application, when the STA adopts the double-channel communication mode, the data capacity to be sent is dynamically allocated to the two channels for parallel transmission according to the inverse ratio relationship between the transmission rates of the two channels, the original idle link is converted into effective bandwidth, the bandwidth utilization is improved by load sharing, and more efficient data transmission is realized; the double-channel listening mechanism is introduced to simultaneously monitor the states of the HPLC channel and the wireless channel, and the double-channel communication mode and the downgradable single-channel communication mode are provided, so that the channel resources are more effectively utilized, the conflict in multi-station competition is reduced, and the utilization efficiency of the overall channel resources is improved.

[0019] According to the embodiment of the application, when a new station STA is online, the STA interacts with the CCO through an association message, and on the basis of the original association message, the original reserved field is used as a double-channel negotiation field, which is used for negotiating the communication mode of the CCO and the station STA. The STA fills the channel request field according to the local configuration (for example, whether the current version supports double channels), negotiates with the CCO whether double-channel transmission can be performed by sending an association request message, the CCO sends an association indication message to the STA according to the version information of the CCO after receiving the association request message, and thus determines whether the STA adopts the double-channel or single-channel working mode.

[0020] According to a preferred embodiment, the central coordinator CCO performs decision-making according to the local configuration information and the channel request field of the association request message, including: the CCO reads the channel request field of the association request message, the channel request field includes a first byte and a second byte, wherein the first byte is used to indicate whether the STA supports double-channel communication, and the second byte is used to indicate whether the STA requests single-channel communication or double-channel communication; the CCO fills the channel indication field of the association indication message according to the version information of the CCO and the channel request field, the channel indication field includes a third byte and a fourth byte, wherein the third byte is used to indicate whether the CCO supports double-channel communication, and the fourth byte is used to indicate whether the STA adopts single-channel communication or double-channel communication.

[0021] As Figure 3As shown, when a new station STA joins the network, it sends an association request message to the CCO (as shown in Table 1). In the association request message, the original reserved field of the old version of the association request message is set to the channel request field. For example, byte number 20 is the reserved field of the old version, which defaults to 0. The two bits of the reserved field are used as the channel request field. Bit0 is used to indicate whether the STA supports dual-channel communication, and bit1 is used to indicate whether the STA requests dual-channel communication. If the STA supports dual-channel communication, bit0 is set to 1, otherwise it is 0 (the default value of the old version). If the STA requests dual-channel communication with the CCO, bit1 is set to 1. If it requests single-channel communication with the CCO, bit1 is set to 0 (which can be understood as requesting HPLC communication).

[0022] Table 1

[0023] The CCO reads the Channel Request field in the Association Request message. Based on its own version information, the CCO determines whether it supports dual-channel communication and sends an Association Indication message back to the STA (as shown in Table 2). In this message, the reserved field from the previous version of the Association Indication message is set as the Channel Indication field. For example, byte 34 is a reserved field in the previous version, which defaults to 0. Two bits of this reserved field are used as the Channel Indication field. Bit 0 indicates whether the CCO supports dual-channel communication, and bit 1 indicates whether the STA is instructed to communicate in dual-channel mode. If the CCO supports dual-channel communication, bit 0 is set to 1; otherwise, it is set to 0 (the default value for the previous version). If the CCO instructs the STA to use dual-channel communication, bit 1 is set to 1; if it instructs the STA to use single-channel communication, bit 1 is set to 0 (which can be understood as instructing the STA to use HPLC communication). If the CCO supports dual-channel communication, it responds to the STA with a confirmation message indicating dual-channel communication based on the STA's dual-channel request. Otherwise, it responds with a confirmation message indicating single-channel communication. After receiving the Association Indication message, the STA reads the Channel Indication field and confirms whether to use dual-channel or single-channel communication mode based on the negotiation with the CCO.

[0024] Table 2

[0025] According to a preferred embodiment, in order to be compatible with devices on the existing network that do not support dual-channel communication (such as old versions of CCO and STA), interactive negotiation is performed according to the following logic: Scenario 1: STA is of the old version and CCO is of the new version: When an old version STA joins the network, the association request message it sends is formatted in the old version format, that is, the original reserved field (bit of byte number 20) is fixed to 0. After the association request message reaches the CCO side, the new version CCO reads the channel request field (bit 0 of byte number 20) of the association request message as 0. Then, it knows that the STA requesting network access is of the old version and does not support dual-channel communication. It responds with an association indication message based on single-channel communication. Finally, the CCO and STA interact in single-channel communication mode.

[0026] Scenario 2: STA is of the new version and CCO is of the old version: The new version STA fills in the Channel Request field and sends the generated new version Association Request message to the old version CCO. After reading it, the old version CCO processes it according to the old version Association Request message format, that is, it parses the Channel Request field as a reserved field (default is 0) and does not care about its content. Because the old version CCO does not support dual-channel communication, the old version CCO responds to the new version STA with an Old Version Association Indication message (bit 0 and bit 1 of byte number 34 are both 0), instructing the new version STA to use single-channel communication. Finally, the CCO and STA interact in single-channel communication mode.

[0027] Scenario 3: STA is an old version, and CCO is an old version: Both the association request message and the association indication message are old versions. The channel request field and the channel indication field are reserved fields and are fixed to 0. Neither CCO nor STA supports dual-channel transmission, and the two parties ultimately interact in single-channel communication mode.

[0028] After the CCO completes the association operation with the STA, the CCO will assign a terminal device identifier to the STA, refresh the time slot allocation, and update the networking information. Figure 4 As shown in Figure 1, a CCO beacon period is divided into beacon slots, CSMA slots, TDMA slots, and bonded CSMA slots. Beacon slots are used to synchronize network time and transmit beacon frames, ensuring that each station maintains time synchronization with the network. CSMA slots allow stations to use the channel in a contention-based manner and are suitable for non-real-time or low-priority data transmission. TDMA slots allocate fixed time slices to specific stations to ensure deterministic and reliable data transmission. Bonded CSMA slots are similar to CSMA slots, but differ in that they serve specific services. The identifier in the message determines whether to use a bonded CSMA slot for data transmission. Beacon slots and TDMA slots are called non-contention slots, while CSMA slots and bonded CSMA slots are contention slots.

[0029] In an embodiment of the present invention, a CCO allocates a dual-channel interaction time slot in a TDMA time slot area to a STA that supports dual-channel communication, allowing the HPLC channel and the wireless channel to transmit data in parallel within the dual-channel interaction time slot, including: if the STA supports single-channel communication, the CCO allocates a first time slot duration to the STA in the TDMA time slot area, and within the first time slot duration, the CCO and the STA transmit data using the single channel; If the STA supports dual-channel communication, the CCO allocates a second time slot length in the TDMA time slot area to the STA as a dual-channel interaction time slot. During the second time slot length, the CCO allows the HPLC channel and the wireless channel to transmit data in parallel when performing business interaction with the STA.

[0030] For dual-channel sites STA associated with CCO, CCO will allocate dual-channel interaction time slots for them, so that on the basis of traditional single-channel transmission (HPLC or wireless channel), dual-channel interaction time slots allow CCO and dual-channel sites STA to complete HPLC and wireless dual-mode transmission at the same time in the same time slot. Figure 4 In the example, after STA1 and CCO interact, the negotiation result is that STA performs single-channel communication. Then CCO allocates a time length T1 to STA1 in the TDMA time slot area to ensure that STA1 and CCO use a single channel (such as the HPLC channel) for data exchange. STA4 and CCO perform dual-channel communication. CCO allocates a time length T4 to STA4 in the TDMA time slot area. CCO and STA4 transmit data in parallel through the HPLC channel and the wireless channel within T4. In the dual-channel communication mode, this time period is required to complete the exchange data volume. Similarly, after STA2 and STA3 come online and interact and negotiate with CCO, CCO allocates a time length T2 and T3 to them in the TDMA time slot area according to the communication mode of STA, respectively. The details are not repeated here.

[0031] In CSMA slots and bound CSMA slots, stations must compete for channels and avoid conflicts before occupying the channel to send messages. Therefore, before sending a message, they must first perform carrier sense. If the channel is idle, the message is sent; if the channel is occupied, channel contention is performed. Messages sent in a CSMA slot must be able to complete transmission within the corresponding CSMA slot and cannot cross slots, especially non-contention slots such as beacon slots and TDMA slots. When competing for channels in a CSMA slot, basic conflict detection and avoidance are required, and the channel state is further predicted using the virtual carrier sense (VCS) mechanism. The VCS mechanism is a slot prediction mechanism primarily used in CSMA slots and must be supported by every node. The VCS mechanism is determined based on the message transmission time and the interframe interval. It uses a VCS timer and the channel state after the timer expires. The VCS timer duration calculation method and the state after expiration are shown in Table 3.

[0032] Table 3

[0033] When the VCS mechanism is used to detect the channel status, if a conflict or message preamble is detected on the channel, the VCS timer is set to the extended interframe space; if frame control is detected, the VCS timer is set to the frame length * 10us; if a selection confirmation frame is detected, the VCS timer is set to the contention interframe space; after waiting for the VCS timer, the channel status is detected again. If no event occurs, the channel is considered idle.

[0034] In an embodiment of the present invention, the dual-channel status is synchronously monitored in the CSMA time slot, and the dual-channel parallel data transmission or downgraded to single-channel data transmission is dynamically selected according to the HPLC channel and wireless channel status. The method includes: in the CSMA time slot, the CCO end or the STA end synchronously monitors the HPLC channel and wireless channel status based on the conflict handling logic of the virtual carrier sense (VCS) mechanism; and selects the data transmission mode according to the dynamic decision mechanism.

[0035] like Figure 5 As shown, the data transmission method selected according to the dynamic decision mechanism specifically includes: If both the HPLC channel and the wireless channel are idle, enable dual channels to transmit data in parallel; If the HPLC channel is occupied and the wireless channel is idle, determine whether single-channel transmission is supported based on the local configuration information of the STA; if so, downgrade to wireless channel transmission; if not, re-listen after waiting for the VCS timer of the HPLC channel; If the HPLC channel is idle and the wireless channel is occupied, determine whether single-channel transmission is supported based on the local configuration information of the STA; if so, downgrade to HPLC channel transmission; if not, re-listen after waiting for the VCS timer of the wireless channel; If both the HPLC channel and the wireless channel are occupied, the device will listen again after waiting for the larger value of the VCS timer of the two channels.

[0036] The above dynamic decision-making mechanism enables STAs that support dual-channel communication to use the two channels for parallel data transmission when both the HPLC channel and the wireless channel are idle. When one channel is occupied but the other channel is idle and the STA can support single-channel transmission, it can be downgraded to single-channel transmission, thereby maximizing the flexible utilization of channel resources.

[0037] In the embodiment of the present invention, the HPLC channel and the wireless channel are heterogeneous channels with different transmission rates. In order to transmit the data of the dual-channel sending end to the receiving end with equal capacity as much as possible, that is, the amount of data arriving at the receiving end of the two channels in the same time period is as equal as possible, thereby reducing the fifo buffer pressure of the receiving end, according to a preferred embodiment, as Figure 6 As shown, according to the inverse relationship between the transmission rates of the HPLC channel and the wireless channel, the messages to be sent are distributed to the two channels and transmitted separately and then reassembled, including: According to HPLC channel rate and wireless channel rate Calculating the transmission rate ratio ; At the sending end, the total number of messages K is distributed to two channels for transmission respectively; Among them, the number of messages allocated to the HPLC channel is ; The number of packets allocated to the wireless channel is ; At the receiving end, the messages transmitted by the HPLC channel and the wireless channel are synchronously received and buffered, the messages are sorted according to the MSDU sequence number field of the MAC frame header, and reassembled into a complete data stream.

[0038] exist Figure 6 In, assuming , the number of messages transmitted on the HPLC channel in the same time period for , the number of messages transmitted through the wireless channel is The receiving end receives messages transmitted by the HPLC channel and the wireless channel at the same time. In the MAC frame header field of the message, byte numbers 10 and 11 are used to identify the MSDU sequence number. After the messages in the receiving end buffer are arranged in sequence according to the MSDU sequence number, they are reassembled into a complete data stream and then submitted to the upper layer for processing.

[0039] As shown in Table 4, when the HPLC channel and the high-frequency radio frequency (HRF) channel cooperate to transmit, the HPLC single channel rate is V HPLC , HRF single channel rate is V HRF , in Mbps. Assuming the total transmission data volume of the sender is 3Mbit, in each scenario, if single-channel transmission is used, the HPLC channel transmission time is 1.5Mbits / V HPLC , HRF channel transmission time is 1.5Mbits / V HRF , in seconds. If dual-channel transmission is used, the dual-channel transmission time is the larger of the HPLC single-channel transmission time and the HRF single-channel transmission time. For example, the dual-channel transmission time in scenario 1 is determined by the HRF channel, while the dual-channel transmission time in scenario 3 is determined by the HPLC channel. The dual-channel rate calculated based on this dual-channel transmission time is 3 Mbits / dual-channel transmission time. Compared with the single-channel rate, dual-channel cooperative transmission significantly increases the data transmission rate, thereby effectively increasing the communication bandwidth. The overall rate improvement efficiency varies depending on the rate ratio of the HPLC and HRF single channels.

[0040] Table 4

[0041] In practical applications, when wireless services fail, it is necessary to prioritize the normal operation of basic power services. Figure 7 As shown, by real-time monitoring of signal transmission indicators in the wireless channel, including signal strength RSSI, bit error rate BER, and the number of consecutive packet losses, it is determined whether the current wireless channel has a fault according to the preset indicator threshold; if so, the service switching mechanism is triggered according to the priority of the service data transmitted by the wireless channel.

[0042] The service switching mechanism specifically includes: switching high-priority service data to the HPLC channel for transmission; maintaining low-priority service data in the original transmission queue but suspending transmission, saving the current service status context, and re-initiating dual-channel negotiation after the wireless channel is restored.

[0043] For example, when one or more of the signal transmission indicators in the monitored wireless channel exceeds a preset threshold, it is determined that the current wireless channel has a fault, for example, the number of consecutive packet losses is ≥ 5 times (threshold = 3), the bit error rate BER> (Threshold = ) when the wireless channel fails. In this embodiment, the service category of the message is determined by extracting the relevant fields of the application layer message, and the priority of the service data is determined according to the service category. For example, the remote control of the opening and closing control service, the power outage / reopening reporting service, and the link layer beacon message are listed as high priority, and the file synchronization, historical data collection and other services are listed as low priority. According to the above-mentioned service switching mechanism, the high-priority service data is immediately switched to the HPLC channel for transmission to ensure that the high-priority service is not lost, while the low-priority service maintains the original channel waiting. At this time, the low-priority upper-layer service pauses when it perceives the abnormality, saves the local context, and waits for the bottom link to recover. At the same time, it continuously monitors the status of the wireless channel. If the status has not recovered, it continues to maintain single-channel transmission. If it is detected that the wireless channel has recovered, it guides the STA to re-initiate dual-channel negotiation. After the negotiation is completed, it notifies the upper-layer service to resume the transmission of the low-priority service data.

[0044] In this embodiment of the present invention, a dynamic load-sharing strategy is employed to address the issue of insufficient bandwidth utilization in dual-channel communication modes. By monitoring the rates of the HPLC and wireless channels in real time, the number of MAC frame transmissions is rationally allocated between the two channels in an inverse relationship between the channel rates, thus preventing the bandwidth of a single channel from being idle while the other channel is operating. Furthermore, a cross-layer coordination mechanism is established between the MAC and physical layers, and a dual-channel site online interaction mechanism is added. After the CCO refreshes its time slot allocation, the CCO and STAs coordinate transmission via both the HPLC and wireless dual modes within the dual-channel interaction time slot. Data of different priorities is dynamically allocated based on channel status. This fully utilizes the effective bandwidth of the two channels and ensures that high-priority services can be switched back to the HPLC channel in the event of a wireless channel failure, thus ensuring the reliable transmission of high-priority power services.

[0045] The second embodiment of the present invention provides a HPLC and wireless dual-mode communication system, such as Figure 8 As shown, the system includes: A configuration module is configured to receive an association request message from a station STA, and the central coordinator CCO makes a decision based on local configuration information and the channel request field of the association request message, and instructs the STA to configure the STA to a single-channel communication mode or a dual-channel communication mode through an association indication message; A time slot allocation module is used to allocate a dual-channel interaction time slot to a STA supporting dual-channel communication in a TDMA time slot area, allowing the HPLC channel and the wireless channel to transmit data in parallel within the dual-channel interaction time slot; The listening module synchronously listens to the dual-channel status in the CSMA time slot, and dynamically selects the dual-channel parallel transmission data or downgrades to single-channel transmission data according to the HPLC channel and wireless channel status; The transmission module is used to distribute the messages to be sent to the two channels according to the inverse relationship between the transmission rates of the HPLC channel and the wireless channel, transmit them separately, and then reassemble the messages.

[0046] The decision is executed according to the local configuration information and the channel request field of the association request message, including: reading the channel request field of the association request message, the channel request field including a first byte and a second byte, wherein the first byte is used to indicate whether the STA supports dual-channel communication, and the second byte is used to indicate that the STA requests single-channel communication or dual-channel communication; the CCO fills the channel indication field of the association indication message according to its own version information and the channel request field, the channel indication field including a third byte and a fourth byte, wherein the third byte is used to indicate whether the CCO supports dual-channel communication, and the fourth byte is used to indicate whether the STA uses single-channel communication or dual-channel communication.

[0047] When a new station STA joins the network, it sends an association request message to the CCO. In this association request message, the original reserved field of the old version of the association request message is set as the channel request field. For example, byte number 20 is a reserved field of the old version and defaults to 0. The two bits of this reserved field are used as the channel request field. Bit 0 is used to indicate whether the STA supports dual-channel communication, and bit 1 is used to indicate whether the STA requests dual-channel communication. If the STA supports dual-channel communication, bit 0 is set to 1, otherwise it is 0 (the default value of the old version). If the STA requests dual-channel communication with the CCO, bit 1 is set to 1. If it requests single-channel communication with the CCO, bit 1 is set to 0 (which can be understood as requesting HPLC communication).

[0048] The CCO reads the Channel Request field in the Association Request message, determines whether it supports dual-channel communication based on its own version information, and then sends an Association Indication message back to the STA. In this message, the reserved field from the previous version of the Association Indication message is set as the Channel Indication field. For example, byte 34 is a reserved field in the previous version, which defaults to 0. Two bits of this reserved field are used as the Channel Indication field. Bit 0 indicates whether the CCO supports dual-channel communication, and bit 1 indicates whether the STA is instructed to communicate in dual-channel mode. If the CCO supports dual-channel communication, bit 0 is set to 1; otherwise, it is set to 0 (the default value for the previous version). If the CCO instructs the STA to use dual-channel communication, bit 1 is set to 1; if it instructs the STA to use single-channel communication, bit 1 is set to 0 (which can be understood as instructing the STA to use HPLC communication). If the CCO supports dual-channel communication, it responds to the STA with a confirmation message indicating dual-channel communication based on the STA's dual-channel request. Otherwise, it responds with a confirmation message indicating single-channel communication. After receiving the Association Indication message, the STA reads the Channel Indication field and confirms whether to use dual-channel or single-channel communication mode based on the negotiation with the CCO.

[0049] According to a preferred embodiment, in order to be compatible with devices on the existing network that do not support dual-channel communication (such as old versions of CCO and STA), interactive negotiation is performed according to the following logic: Scenario 1: STA is of the old version and CCO is of the new version: When an old version STA joins the network, the association request message it sends is formatted in the old version format, that is, the original reserved field (bit of byte number 20) is fixed to 0. After the association request message reaches the CCO side, the new version CCO reads the channel request field (bit 0 of byte number 20) of the association request message as 0. Then, it knows that the STA requesting network access is of the old version and does not support dual-channel communication. It responds with an association indication message based on single-channel communication. Finally, the CCO and STA interact in single-channel communication mode.

[0050] Scenario 2: STA is of the new version and CCO is of the old version: The new version STA fills in the Channel Request field and sends the generated new version Association Request message to the old version CCO. After reading it, the old version CCO processes it according to the old version Association Request message format, that is, it parses the Channel Request field as a reserved field (default is 0) and does not care about its content. Because the old version CCO does not support dual-channel communication, the old version CCO responds to the new version STA with an Old Version Association Indication message (bit 0 and bit 1 of byte number 34 are both 0), instructing the new version STA to use single-channel communication. Finally, the CCO and STA interact in single-channel communication mode.

[0051] Scenario 3: STA is an old version, and CCO is an old version: Both the association request message and the association indication message are old versions. The channel request field and the channel indication field are reserved fields and are fixed to 0. Neither CCO nor STA supports dual-channel transmission. The two parties ultimately interact in single-channel communication mode.

[0052] After the CCO completes the association operation with the STA, the CCO will assign a terminal device identifier to the STA, refresh the time slot allocation, and update the networking information. A CCO beacon period is divided into a beacon slot, a CSMA slot, a TDMA slot, and a bound CSMA slot. The beacon slot is used to synchronize network time and send beacon frames to ensure that each station can maintain time synchronization with the network. The CSMA slot allows stations to use the channel in a competitive manner and is suitable for non-real-time or low-priority data transmission. The TDMA slot allocates fixed time slices to specific stations to ensure the certainty and reliability of data transmission. The bound CSMA slot is similar to the CSMA slot, but it serves specific services and determines whether to transmit data through the bound CSMA slot based on the identifier in the message. Among them, the beacon slot and TDMA slot are called non-contention slots, and the CSMA slot and bound CSMA slot are contention slots.

[0053] In the embodiment of the present application, the CCO allocates a dual-channel interactive time slot for the STA supporting dual-channel communication in the TDMA time slot area, and allows the HPLC channel and the wireless channel to transmit data in parallel in the dual-channel interactive time slot, including: if the STA supports single-channel communication, the CCO allocates a first time slot length for the STA in the TDMA time slot area, and the CCO and the STA transmit data by using single-channel in the first time slot length. If the STA supports dual-channel communication, the CCO allocates a second time slot length as a dual-channel interactive time slot for the STA in the TDMA time slot area, and allows the HPLC channel and the wireless channel to transmit data in parallel when the CCO and the STA interact in the second time slot length.

[0054] For the dual-channel STA associated with the CCO, the CCO specially allocates a dual-channel interactive time slot for the dual-channel STA, and the dual-channel interactive time slot allows the CCO and the dual-channel STA to complete the HPLC and wireless dual-mode transmission in the same time slot on the basis of the conventional single-channel transmission (HPLC or wireless channel).

[0055] In the CSMA time slot and the bound CSMA time slot, the STA must compete for the channel to avoid collision and then occupy the channel to send the message, so the carrier sensing must be performed before sending the message, if the channel is idle, the message is sent, if the channel is occupied, the channel is competed for. The message sent in the CSMA time slot must be guaranteed to be transmitted in the corresponding CSMA time slot, and cannot cross the time slot, especially cannot cross the beacon time slot and the TDMA time slot and other non-contention time slots. When competing for the channel in the CSMA time slot, the basic collision judgment and avoidance must be performed, and the channel state is further predicted by the virtual carrier sensing (VCS) mechanism.

[0056] In the embodiment of the present application, the dual-channel state is synchronously sensed in the CSMA time slot, and the dual-channel parallel transmission data or the single-channel transmission data is dynamically selected according to the HPLC channel and the wireless channel state, including: in the CSMA time slot, the CCO end or the STA end synchronously senses the HPLC channel and the wireless channel state based on the collision processing logic of the virtual carrier sensing (VCS) mechanism; and the data transmission mode is selected according to the dynamic decision mechanism.

[0057] The data transmission mode is selected according to the dynamic decision mechanism, specifically including: If the HPLC channel and the wireless channel are both in the idle state, the dual-channel parallel transmission data is enabled; If the HPLC channel is in the occupied state and the wireless channel is in the idle state, whether the single-channel transmission is supported is judged according to the local configuration information of the STA; if yes, the wireless channel transmission data is degraded; and if no, the HPLC channel is re-sensed after the VCS timer length. If the HPLC channel is in an idle state and the wireless channel is in an occupied state, it is determined whether single-channel transmission is supported according to local configuration information of the STA; if yes, the HPLC channel is used to transmit data; if no, the wireless channel is re-listened to after a VCS timer of the wireless channel expires. If both the HPLC channel and the wireless channel are in an occupied state, the wireless channel is re-listened to after a larger value of VCS timers of the two channels expires.

[0058] The dynamic decision mechanism enables the STA supporting dual-channel communication to utilize dual-channel parallel transmission when both the HPLC channel and the wireless channel are idle, and to degrade to single-channel transmission when one of the channels is occupied but the other is idle and the STA can support single-channel transmission, thereby maximizing the flexible utilization of channel resources.

[0059] In the embodiment of the application, the HPLC channel and the wireless channel are heterogeneous channels, and their transmission rates are different, In order to transmit data of the same capacity from the sending end to the receiving end of the dual channels as much as possible, that is, the data amount reaching the receiving end of the two channels in the same time period is as equal as possible, thereby reducing the fifo buffer pressure of the receiving end, according to a preferred embodiment, the transmission rate of the HPLC channel and the wireless channel is inversely proportional, and the messages to be transmitted are allocated to the two channels for transmission and recombination of the messages, comprising: According to the HPLC channel rate And the wireless channel rate The transmission rate ratio is calculated ; The total number K of messages is allocated to the two channels for transmission at the sending end; Among them, the number of messages allocated to the HPLC channel is ; The number of messages allocated to the wireless channel is ; The messages transmitted by the HPLC channel and the wireless channel are synchronously received and buffered at the receiving end, sorted according to the MSDU sequence number field of the MAC frame header, and recombined into a complete data stream.

[0060] In actual application, when the wireless service fails, the basic power service needs to be prioritized to ensure normal operation. According to a preferred embodiment of the application, the system further comprises a service switching module for monitoring signal transmission indicators in the wireless channel in real time, including signal strength RSSI, bit error rate BER, and the number of consecutive packet losses, determining whether the current wireless channel fails according to a preset index threshold; if yes, triggering a service switching mechanism according to the priority of the service data transmitted by the wireless channel.

[0061] The service switching mechanism specifically includes: switching high-priority service data to the HPLC channel for transmission; maintaining low-priority service data in the original transmission queue but suspending transmission, saving the current service status context, and re-initiating dual-channel negotiation after the wireless channel is restored.

[0062] Regarding the system in the above embodiment, the specific manner in which each unit module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0063] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, comprising: a memory and a processor, wherein the processor is configured to read and execute a computer program stored in the memory to implement the aforementioned HPLC and wireless dual-mode communication method.

[0064] Based on the same inventive concept, an embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and when the computer executable instructions are executed, the aforementioned HPLC and wireless dual-mode communication method is implemented.

[0065] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0066] The modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, the functional modules in the various embodiments of the present invention may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The integrated modules may be implemented in the form of hardware or software functional modules.

[0067] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0068] It should be noted that for the aforementioned method embodiments, for ease of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0069] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the above embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the above embodiments or to replace some of the technical features therein with equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention.

Claims

1. A HPLC and wireless dual-mode communication method, characterized in that: The method comprises: Receive an association request message from a station STA, and the central coordinator CCO makes a decision based on local configuration information and the channel request field of the association request message, and instructs the STA to configure the communication mode as a single channel or a dual channel through an association indication message; Allocating a dual-channel interaction time slot to a STA supporting dual-channel communication in a TDMA time slot area, wherein the HPLC channel and the wireless channel are allowed to transmit data in parallel within the dual-channel interaction time slot; Synchronously monitor the dual-channel status in the CSMA time slot, and dynamically select dual-channel parallel data transmission or downgrade to single-channel data transmission according to the HPLC channel and wireless channel status; According to the inverse relationship between the transmission rates of the HPLC channel and the wireless channel, the messages to be sent are distributed to the two channels and transmitted separately before being reassembled.

2. The method according to claim 1, characterized in that The central coordinator CCO performs a decision according to the local configuration information and the channel request field of the association request message, including: The CCO reads the channel request field of the association request message, where the channel request field includes a first byte and a second byte, wherein the first byte is used to indicate whether the STA supports dual-channel communication, and the second byte is used to indicate whether the STA requests single-channel communication or dual-channel communication; The CCO fills the channel indication field of the association indication message according to its own version information and the channel request field, where the channel indication field includes a third byte and a fourth byte, wherein the third byte is used to indicate whether the CCO supports dual-channel communication, and the fourth byte is used to indicate whether the STA uses single-channel communication or dual-channel communication.

3. The method according to claim 1, characterized in that Allocating a dual-channel interaction time slot to a STA supporting dual-channel communication in a TDMA time slot area, wherein the HPLC channel and the wireless channel are allowed to transmit data in parallel within the dual-channel interaction time slot, including: If the STA supports single-channel communication, the CCO allocates a first time slot duration for the STA in the TDMA time slot area. During the first time slot duration, the CCO and the STA transmit data using a single channel. If the STA supports dual-channel communication, the CCO allocates a second time slot length in the TDMA time slot area to the STA as a dual-channel interaction time slot. During the second time slot length, the CCO allows the HPLC channel and the wireless channel to transmit data in parallel when performing business interaction with the STA.

4. The method according to claim 1, wherein The synchronous monitoring of the dual-channel status in the CSMA time slot and the dynamic selection of the dual-channel parallel data transmission or the downgrade to single-channel data transmission according to the HPLC channel and the wireless channel status include: In the CSMA time slot, the CCO or STA end synchronously monitors the HPLC channel and wireless channel status based on the conflict handling logic of the virtual carrier sense (VCS) mechanism. The data transmission method is selected based on a dynamic decision-making mechanism, including: If both the HPLC channel and the wireless channel are idle, enable dual channels to transmit data in parallel; If the HPLC channel is occupied and the wireless channel is idle, determine whether single-channel transmission is supported based on the local configuration information of the STA. If so, downgrade to wireless channel transmission. If not, wait for the VCS timer of the HPLC channel before listening again. If the HPLC channel is idle and the wireless channel is occupied, determine whether single-channel transmission is supported based on the local configuration information of the STA. If so, downgrade to HPLC channel transmission; if not, wait for the VCS timer of the wireless channel to listen again; If both the HPLC channel and the wireless channel are occupied, the device will listen again after waiting for the larger value of the VCS timer of the two channels.

5. The method according to claim 1, wherein The method of allocating the messages to be sent to the two channels according to the inverse relationship between the transmission rates of the HPLC channel and the wireless channel and then transmitting the messages separately and then reassembling the messages comprises: According to HPLC channel rate and wireless channel rate Calculating the transmission rate ratio ; At the sending end, the total number of messages K is distributed to two channels for transmission respectively; Among them, the number of messages allocated to the HPLC channel is ; The number of packets allocated to the wireless channel is ; At the receiving end, the messages transmitted by the HPLC channel and the wireless channel are synchronously received and buffered, the messages are sorted according to the MSDU sequence number field of the MAC frame header, and reassembled into a complete data stream.

6. The method according to claim 1, characterized in that The method further comprises: Real-time monitoring of signal transmission indicators in wireless channels, including signal strength RSSI, bit error rate BER, and number of consecutive packet losses, and judging whether the current wireless channel is faulty based on preset indicator thresholds; If so, triggering a service switching mechanism according to the priority of the service data transmitted through the wireless channel; The service switching mechanism includes: Switch high-priority business data to HPLC channel for transmission; Low-priority service data remains in the original transmission queue but transmission is suspended, and the current service status context is saved until the wireless channel is restored and dual-channel negotiation is reinitiated.

7. An HPLC and wireless dual-mode communication system, characterized in that: The system comprises: A configuration module is configured to receive an association request message from a station STA, and the central coordinator CCO makes a decision based on local configuration information and the channel request field of the association request message, and instructs the STA to configure the STA to a single-channel communication mode or a dual-channel communication mode through an association indication message; A time slot allocation module is used to allocate a dual-channel interaction time slot to a STA supporting dual-channel communication in a TDMA time slot area, allowing the HPLC channel and the wireless channel to transmit data in parallel within the dual-channel interaction time slot; The listening module synchronously listens to the dual-channel status in the CSMA time slot, and dynamically selects the dual-channel parallel transmission data or downgrades to single-channel transmission data according to the HPLC channel and wireless channel status; The transmission module is used to distribute the messages to be sent to the two channels according to the inverse relationship between the transmission rates of the HPLC channel and the wireless channel, transmit them separately, and then reassemble the messages.

8. The system according to claim 7, characterized in that The system further comprises: The service switching module is used to monitor the signal transmission indicators in the wireless channel in real time, including signal strength RSSI, bit error rate BER, and the number of consecutive packet losses, and determine whether the current wireless channel has a fault based on the preset indicator threshold; if so, the service switching mechanism is triggered according to the priority of the service data transmitted by the wireless channel; The service switching mechanism includes: Switch high-priority business data to HPLC channel for transmission; Low-priority service data remains in the original transmission queue but transmission is suspended, and the current service status context is saved until the wireless channel is restored and dual-channel negotiation is reinitiated.

9. An electronic device comprising: A memory, a processor, wherein the processor is configured to read and execute a computer program stored in the memory to implement the method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which, when executed, implement the method according to any one of claims 1 to 6.

Citation Information

Cited By

  • A dual-channel cooperative communication method and system based on 4G and HPLC carriers

    CN122699025A