CN114915394A - Dual-mode communication device, dual-mode communication method, and storage medium - Google Patents

Dual-mode communication device, dual-mode communication method, and storage medium Download PDF

Info

Publication number
CN114915394A
CN114915394A CN202210369804.3A CN202210369804A CN114915394A CN 114915394 A CN114915394 A CN 114915394A CN 202210369804 A CN202210369804 A CN 202210369804A CN 114915394 A CN114915394 A CN 114915394A
Authority
CN
China
Prior art keywords
channel
sublayer
time
backoff
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210369804.3A
Other languages
Chinese (zh)
Other versions
CN114915394B (en
Inventor
王祥
武占侠
洪海敏
占兆武
李龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Gridcom Co Ltd
Shenzhen Zhixin Microelectronics Technology Co Ltd
Original Assignee
China Gridcom Co Ltd
Shenzhen Zhixin Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Gridcom Co Ltd, Shenzhen Zhixin Microelectronics Technology Co Ltd filed Critical China Gridcom Co Ltd
Priority to CN202210369804.3A priority Critical patent/CN114915394B/en
Publication of CN114915394A publication Critical patent/CN114915394A/en
Application granted granted Critical
Publication of CN114915394B publication Critical patent/CN114915394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0078Timing of allocation
    • H04L5/0085Timing of allocation when channel conditions change
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0058Allocation criteria
    • H04L5/0076Allocation utility-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02B90/20Smart grids as enabling technology in buildings sector
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a dual-mode communication device, a dual-mode communication method and a storage medium, wherein the device comprises: the data link layer comprises a converged network management sublayer, a first MAC sublayer and a second MAC sublayer; the physical layer comprises a first physical sublayer and a second physical sublayer, the first physical sublayer is respectively connected with the first MAC sublayer and the converged network management sublayer, and the second physical sublayer is respectively connected with the second MAC sublayer and the converged network management sublayer; the first MAC sublayer and the first physical sublayer are arranged in a first channel, the second MAC sublayer and the second physical sublayer are arranged in a second channel, and the fusion network management sublayer is used for determining a message sending mode according to reported information and sending a service message when the first channel and the second channel send the service message at the same time, wherein a self-adaptive backoff mechanism is adopted to control the first channel and the second channel to execute a backoff process when the service message is sent. The device can reduce the invalid redundant sending of the service message and reduce the channel occupancy rate.

Description

Dual-mode communication device, dual-mode communication method, and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a dual-mode communication apparatus, a dual-mode communication method, and a storage medium.
Background
The low-voltage broadband power line carrier communication technology is a communication technology widely applied to the advanced metering system of the domestic power grid at present. The HPLC (High speed wide-band Power Line Carrier) technology performs information transfer by signals transmitted in a Power Line, using a single wired communication medium. In 2021, in 5 months, the national network formally releases the technical specification of dual-mode communication interconnection and intercommunication. Dual-mode communication, that is, a communication mode combining HPLC based on a power line wired medium and HRF (High speed radio Frequency) based on a wireless air interface medium. The national network metering center 'dual-mode dual-transmission and dual-reception scheme Xuan Tuo' proposes two service scenes aiming at dual-mode dual-transmission: service scenario 1: the same service message is sent by the HPLC and the HRF channel at the same time, in the scene, the same service message can be sent by the HPLC and the HRF channel, and the repeatedly received message is removed at the receiving end by a link layer message filtering mechanism; service scenario 2: in the scene, in order to improve the real-time performance of transmission, when a plurality of service messages exist in a sending queue at the same time and need to be sent, the service messages can be sent through double channels. However, the communication method combining the HPLC based on the power line wired medium and the HRF based on the wireless air interface medium proposed in the related art has the following technical problems:
because the dual-mode system requires the HPLC and the HRF to use independent MAC layers, the two channels do not have information interaction related to backoff, and lack a coordinated sending mechanism of the two channels, after the application layer issues the same service message, the two channels enter backoff sending flows respectively, if the backoff waiting time difference of the two channels is large (usually, because the collision detection is inconsistent), the first channel has successfully sent and enters the subsequent flow, and the second channel still waits to send the message. From the perspective of service information transmission, since the message is successfully received and the message is transmitted, the same message to be transmitted such as the second channel does not have information amount gain, and on the contrary, if the message is transmitted after the completion of the waiting, the duplicate removal processing is carried out at the receiving end; from the viewpoint of the sending efficiency of the station and the network efficiency, the second channel waiting process wastes the transmission time of possible other service messages, for example, the station has retreated for a period of time, and continues to wait until the calculated and set retreat time arrives, then executes the sending, and then can enter the next retreat process again, which takes a long time, thus resulting in more message redundancy sending and lower channel utilization rate; inefficient redundant transmissions increase power consumption while impacting transmission opportunities for other stations in the network.
In addition, in the process of sending the service packet, a backoff mechanism is proposed in the related art, but the backoff mechanism is still not flexible enough, the backoff time is multiplied when a collision occurs, and adaptive adjustment cannot be performed according to the real-time condition of the channel after the calculation of the backoff time is completed. The multiplicative plus backoff time is conservative and still does not eliminate the probability of collision. When a plurality of stations detect conflicts, the stations carry out backoff for longer time respectively, and if channels in the time windows waiting for each station are idle, the channel utilization rate is lower, the length of the backoff time window cannot be adjusted dynamically in a self-adaptive manner according to the real-time channel monitoring condition, and the channel occupancy rate is lower; the inability to guarantee a minimum transmission opportunity for stations may result in some stations having significantly less transmission opportunities than others.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, an object of the present invention is to provide a dual-mode communication device, which can reduce the invalid redundant transmission of service packets and reduce the channel occupancy rate.
A second object of the present invention is to provide a dual mode communication method.
A third object of the invention is to propose a computer-readable storage medium.
To achieve the above object, a first aspect of the present invention provides a dual mode communication apparatus, comprising: the data link layer comprises a converged network management sublayer, a first MAC sublayer and a second MAC sublayer, and the first MAC sublayer and the second MAC sublayer are connected with the converged network management sublayer; the physical layer comprises a first physical sublayer and a second physical sublayer, the first physical sublayer is respectively connected with the first MAC sublayer and the converged network management sublayer, and the second physical sublayer is respectively connected with the second MAC sublayer and the converged network management sublayer; the first MAC sublayer and the first physical sublayer are disposed in a first channel, the second MAC sublayer and the second physical sublayer are disposed in a second channel, and the converged network management sublayer is configured to determine a packet sending mode according to report information of the first channel and the second channel when the first channel and the second channel simultaneously send a service packet, and send the service packet according to the packet sending mode, wherein when the service packet is sent according to the packet sending mode, an adaptive backoff mechanism is used to control the first channel and the second channel to execute a backoff procedure.
To achieve the above object, a dual-mode communication method is proposed in an embodiment of a second aspect of the present invention, where the method is used in a dual-mode communication device proposed in the embodiment of the first aspect of the present invention, and the method includes: when a first channel and a second channel simultaneously send service messages, determining a message sending mode according to the reported information of the first channel and the second channel; and sending the service message according to the message sending mode, wherein when the service message is sent according to the message sending mode, a self-adaptive backoff mechanism is adopted to control the first channel and the second channel to execute a backoff process.
To achieve the above object, a third embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a dual-mode communication method according to the second embodiment of the present invention.
According to the dual-mode communication device, the dual-mode communication method and the storage medium provided by the embodiment of the invention, the device carries out unified coordination processing on the acquired reported information of the channel by arranging the coordination control module in the converged network management sublayer, and issues a control command according to the reported information so as to realize dual-channel coordination and dual-transmission; in addition, the convergence network management sublayer can automatically adjust the message sending mode according to different sending states of the service messages in the channel in the process of sending the service messages according to the message sending mode, reduce invalid redundant sending and reduce the channel occupancy rate; in the process of controlling each channel to execute the backoff flow by adopting the self-adaptive backoff mechanism, setting a maximum accumulated waiting time threshold value to ensure the lowest transmission probability of the service message; and according to the difference of the idle time of the channel, the length of the back-off time window is adjusted in real time, and the utilization rate of the channel is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic structural diagram of a dual-mode communication apparatus according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a dual-mode communication device according to an example of the present invention;
fig. 3 is a schematic structural diagram of a dual-mode communication device according to an embodiment of the present invention;
fig. 4 is a flow chart of a dual mode communication method according to an embodiment of the present invention.
Detailed Description
In order to solve the problems that in a dual-mode communication technical scheme provided in the related technology, due to the lack of a coordinated sending mechanism of two channels of an HPLC (high performance liquid chromatography) and an HRF (high-resolution radio function), redundant sending is more, and the utilization rate of the channels is lower; the back-off mechanism cannot self-adaptively dynamically adjust the length of a back-off time window according to the real-time channel monitoring condition, and the channel occupancy rate is low; the embodiment of the invention provides a dual-mode communication device, a dual-mode communication method and a storage medium, wherein the dual-mode communication device can automatically adjust a sending mode according to the sending condition of a service message in the process of sending the service message by a converged network management sublayer, so that invalid redundant sending is reduced; meanwhile, in the process of controlling a channel to execute a backoff process by adopting a self-adaptive backoff mechanism, a maximum accumulated waiting time threshold is set to ensure the lowest transmission probability of a service message; and according to the different states of the channel, the length of the back-off time window is adjusted in real time, and when the channel is in continuous idle, the length of the back-off time window is shortened, so that the utilization rate of the channel is improved.
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A dual mode communication apparatus, a dual mode communication method, and a storage medium according to embodiments of the present invention are described below with reference to fig. 1 to 4 and specific embodiments.
Fig. 1 is a schematic structural diagram of a dual-mode communication device according to an embodiment of the present invention.
As shown in fig. 1, the dual mode communication apparatus 1 includes: data link layer 2, physical layer 3.
In some implementations, the data link layer 2 is implemented in a processor using software and the physical layer 3 is implemented using hardware logic.
Therein, referring to fig. 1, the data link layer 2 includes a converged network management sublayer 20, a first MAC sublayer 21 and a second MAC sublayer 22.
Specifically, the first MAC sublayer 21 and the second MAC sublayer 22 are both connected to the converged network management sublayer 20.
Referring to fig. 1, the physical layer 3 includes a first physical sublayer 31 and a second physical sublayer 32.
Specifically, the first physical sublayer 31 is connected to the first MAC sublayer 21 and the converged network management sublayer 20, respectively, and the second physical sublayer 32 is connected to the second MAC sublayer 22 and the converged network management sublayer 20, respectively.
The first MAC sublayer 21 and the first physical sublayer 31 are disposed in the first channel, and the second MAC sublayer 22 and the second physical sublayer 32 are disposed in the second channel.
In this embodiment, the convergence network management sublayer 20 is configured to determine a message sending mode according to the report information of the first channel and the second channel when the first channel and the second channel send the service message simultaneously, and send the service message according to the message sending mode.
And the flow of sending the service message can be different under the condition that the message sending modes are different according to the reported information.
Specifically, when the convergence network management sublayer 20 sends a service packet according to the packet sending mode, the adaptive backoff mechanism is used to control the first channel and the second channel to execute the backoff procedure.
Therefore, the dual-mode communication device 1 provided in the embodiment of the present invention determines the message sending mode according to the report information of the first channel and the second channel by setting the convergence network management sublayer 20, so as to reduce invalid redundant sending, improve the sending chance of the channel, and improve the channel utilization rate.
Fig. 2 is a schematic structural diagram of a dual-mode communication device according to an example of the present invention.
In some embodiments of the present invention, the converged network management sublayer 20 in the data link layer 2 may further include: the coordination control module 201.
Referring to fig. 2, the coordination control module 201 is connected to the first physical sub-layer 31 and the second physical sub-layer 32, respectively.
In this embodiment, the coordination control module 201 may be configured to obtain the report information, and issue a control instruction to each MAC sublayer and each physical sublayer when sending the service packet according to the packet sending mode.
The reporting information may include a first backoff state reported by each MAC sublayer, a channel state, a second backoff state, a message sending condition, and the like reported by each physical sublayer. The first backoff state comprises a backoff time, a backoff number and an accumulated waiting time, and the second backoff state comprises a backoff time overflow condition.
Optionally, the MAC sublayer reports information actively.
That is to say, the coordination control module 201 in the converged network management sublayer 20 performs unified coordination processing on the obtained reported information of the first channel and the second channel to obtain a coordination result, issues a control instruction to the MAC sublayers through interaction with the MAC sublayers, and issues a control instruction to the physical layer 3 through interaction between the data link layer 2 and the physical layer 3, thereby implementing dual-channel coordination and dual-transmission.
FIG. 3 is a schematic structural diagram of a dual-mode communication device according to an embodiment of the present invention
As a possible implementation, the first physical sublayer 31 and the second physical sublayer 32 have the same structure.
As an example, as shown in fig. 3, the first physical sublayer 31 may include a first physical layer bus interface unit 311, a first physical layer management module 312, a first physical layer back-off time control module 313, a first physical layer receive link 314, and a first physical layer transmit link 315.
Accordingly, as shown in fig. 3, the second physical sub-layer 32 may include a second physical layer bus interface unit 321, a second physical layer management module 322, a second physical layer back-off time control module 323, a second physical layer receiving link 324, and a second physical layer transmitting link 325.
Referring to fig. 3, the first physical layer bus interface unit 311 is connected to the first MAC sublayer 21, the coordination control module 201, the first physical layer management module 312, and the first physical layer back-off time control module 313, respectively.
In this embodiment, the first physical layer bus interface unit 311 may be configured to implement information transmission between the first physical sublayer 31 and the first MAC sublayer 21 and the coordination control module 201.
Referring to fig. 3, the first physical layer management module 312 is further connected to a first physical layer receive link 314 and a first physical layer transmit link 315, respectively.
In this embodiment, the first physical layer management module 312 may be configured to report the channel state and the message sending condition to the first MAC sublayer 21 and the coordination control module 201 through the first physical layer bus interface unit 311, respectively.
Optionally, the first physical layer management module 312 reports the information actively.
Referring to fig. 3, the first physical layer back-off time control module 313 is also connected to the first physical layer transmission link 315.
In this embodiment, the first physical layer back-off time control module 313 may be configured to report the back-off time overflow condition to the coordination control module 201.
Optionally, the first physical layer back-off time control module 313 reports the back-off time overflow condition as an active report.
Wherein, the back-off time overflow condition may include: the back-off time has overflowed and the back-off time has not overflowed.
That is to say, the first physical layer management module 312 reports the channel state and the message sending condition to the coordination control module 201, and the first physical layer back-off time control module 313 reports the back-off time overflow condition to the coordination control module 201, so that the coordination control module 201 can obtain the reporting information of each channel physical sublayer, and after the first back-off state reported by each MAC sublayer is obtained, the convergence network management sublayer 20 can determine the sending mode of the message according to the reporting information, and then send the service message.
In this embodiment, the coordination control module 201 may further be configured to send a remaining back-off time inquiry command to the first physical sub-layer 31.
Correspondingly, after receiving the remaining back-off time query instruction sent by the coordination control module 201, the first physical sublayer 31 responds to the remaining back-off time query instruction and reports the remaining back-off time to the coordination control module 201.
In some implementations, the channel state can include an occupied state and an idle state.
In this embodiment, the convergence network management sublayer 20 determines the message sending mode according to the report information of the first channel and the second channel, and may specifically be configured to: when one of the first channel and the second channel is in an idle state and the other channel is in an occupied state, determining that a message sending mode is a single-mode sending mode; and when the first channel and the second channel are both in an idle state, determining that the message sending mode is a dual-mode backup mode.
For example, when one of the first channel and the second channel is in an idle state and the other is in an occupied state, different service messages are generally sent by the two channels at the same time, and at this time, the message sending mode may select a single-mode sending mode, that is, the channel in the idle state is selected for sending.
As a feasible implementation manner, because the first physical sublayer 31 is disposed in the first channel, the second physical sublayer 32 is disposed in the second channel, and each physical sublayer can respectively monitor the channel states of the first channel and the second channel in real time, and meanwhile, because the coordination control module 201 is connected to each physical sublayer, the channel state at the current time is reported to the coordination control module 201 through the physical layer management module disposed in each physical sublayer and fed back by each physical layer bus interface unit, and the coordination control module 201 can determine the message sending mode according to the received channel states of the two channels.
In some embodiments, as shown in fig. 2, the data link layer 2 of the dual-mode communication device 1 may further include two first-level buffers 23 corresponding to the first MAC sublayer 21 and the second MAC sublayer 22, respectively; the physical layer may further include two second-level caches 33 corresponding to the first physical sub-layer 31 and the second physical sub-layer 32, respectively.
In this embodiment, the convergence network management sublayer 20 may be further configured to issue the service packets to the first MAC sublayer 21 and the second MAC sublayer 22, respectively, to perform framing operation on the service packets through the first MAC sublayer 21 and the second MAC sublayer 22, and store the obtained first MAC frame data and second MAC frame data in the corresponding first-level cache 23, respectively.
Optionally, the framing the service packet by the first MAC sublayer 21 and the second MAC sublayer 22 respectively includes: an MAC frame header is added to the service packet, and a Cyclic Redundancy Check (CRC) may be performed on the MAC frame structure to determine whether data is lost or not, in order to ensure reliability of the communication transmission process.
It should be understood that, in the embodiment of the present invention, the MAC frame data is a unicast data frame, and the transmission process of the unicast data frame usually needs to complete the transmission of the previous data frame and obtain a correct SACK (Selective acknowledgement) receiving feedback, and the data link layer 2 reports the feedback to the application layer, and the application layer will only issue the service packet data that needs to be sent in the next frame, otherwise, the service packet data will be buffered in the application layer sending queue, so that after a new service packet is issued, the situation that both channels of the first channel and the second channel are occupied at the same time will not occur.
In some embodiments, for transmission of a broadcast data frame, in the case that a certain station is not specified to return a selective acknowledgement frame (SACK), whether transmission is successful is determined due to no SACK, meanwhile, the broadcast frame, such as a beacon frame and a discovery list message SOF frame, needs respective framing management for a first channel and a second channel, and the data frame usually contains different information due to different network topologies and topology discovery information, so coordination may not be performed, the two channels respectively continuously transmit the same data frame for multiple times, the broadcast frame reception success rate is improved by redundant transmission, the continuous transmission times are configurable, and the default is 3 times. It should be noted that the above transmission coordination mechanism for the broadcast data frame is only exemplary and is not meant to limit the present invention.
Further, after determining the message sending mode according to the reporting information of the first channel and the second channel, the convergence network management sublayer 20 needs to send the service message according to the determined message sending mode next.
In this embodiment, when the convergence network management sublayer 20 sends the service packet according to the packet sending mode, the method may be specifically configured to, when the packet sending mode is the single-mode sending mode, send, through the MAC sublayer of the channel in the idle state, the MAC frame data in the corresponding first-level cache 23 to the corresponding second-level cache 33, and discard, through the MAC sublayer of the channel in the occupied state, the MAC frame data in the corresponding first-level cache 23.
It should be understood that when the message sending mode is the single mode sending mode, it can be determined that the service message is sent through the channel in the idle state.
As a possible implementation, the MAC frame data in the idle channel first-level buffer 23 may be sent to the second-level buffer 33 through the physical layer bus interface unit, and the MAC frame data in the occupied channel first-level buffer 23 may be discarded in order to avoid invalid redundant transmission.
In this embodiment, when the convergence network management sublayer 20 sends the service packet according to the packet sending mode, it may be further specifically configured to send the MAC frame data in the first-level cache 23 of the first channel and the first-level cache 23 of the second channel to the respective second-level caches 33 when the packet sending mode is the dual-mode backup mode.
It should be understood that the second-level buffer 33 in this embodiment may be understood as a transmission queue in which original MAC frame data that is not processed by each of the physical layer 3 and the data link layer 2 is buffered.
It should be noted that, when the message sending mode is the dual-mode backup mode, the control flow of the converged network management sublayer 20 to the first channel and the second channel in the idle state is the same.
To reduce redundancy, the control flow of the first channel in idle state is exemplified by the converged network management sublayer 20.
In this embodiment, when the convergence network management sublayer 20 sends the service packet according to the packet sending mode, the convergence network management sublayer may further specifically be configured to: when the first channel is in an idle state, calculating the backoff time through the first MAC sublayer 21, sending the backoff time to the first physical sublayer 31, controlling the first channel to execute a backoff process by adopting a self-adaptive backoff mechanism for the first time, and obtaining that the sending state of the first channel is a backoff waiting state; when the backoff process starts service packet transmission, the first physical sublayer 31 releases the first MAC data in the corresponding second-level cache 33, obtains a transmission state and updates the transmission state to a backoff waiting completion state, performs link processing on the first MAC data through the first physical sublayer 31, and transmits the processed first MAC data to the target station.
Optionally, in some embodiments, the first MAC data after link processing is sent to the target station, and when the sending state of the first channel at this time is updated to the backoff waiting state and the receiving state is completed, a ack frame that needs to wait for receiving feedback is obtained, and for a channel that receives feedback of the ack frame, the first physical layer management module 312 collects relevant information about whether sending is successful.
When the service packet transmission completion conditions of the first channel are different, the process of the convergence network management sublayer 20 transmitting the service packet according to the packet transmission mode may also be different.
Further, when the convergence network management sublayer 20 sends the service packet according to the packet sending mode, it may specifically be further configured to: when the first channel successfully sends the service message, judging whether the sending state of the second channel reaches a backoff waiting completion state; when the sending state of the second channel does not reach the backoff waiting completion state, the second physical sublayer 32 empties the second MAC frame data in the corresponding second-level cache 33, and meanwhile empties the backoff time of the second MAC frame data, and converts the dual-mode backup mode into the single-mode sending mode; when the sending state of the second channel reaches the backoff waiting completion state, keeping the dual-mode backup mode, and determining the sending of the second channel as invalid redundant sending; when the first channel fails to send the service packet, the convergence network management sublayer 20 controls the first channel to execute the backoff procedure again by using the adaptive backoff mechanism.
Optionally, the second physical sublayer 32 clears the second MAC frame data through a register instruction.
Specifically, when the first channel successfully transmits the service packet, but the transmission state of the second channel has not yet reached the backoff waiting completion state, it indicates that the second MAC frame data in the second-level buffer 33 has not yet been transmitted at this time. In order to avoid invalid redundant transmission, optionally, after clearing the second MAC frame data in the corresponding second-level buffer 33 and clearing the backoff time of the second physical sublayer 32, the second physical sublayer returns "cleared" state information to the coordination control module 201, and after receiving the information, the coordination control module 201 issues a related instruction for abandoning the second channel, which is equivalent to only reserving the first channel to execute transmission, and the corresponding transmission mode is changed to single-mode transmission.
When the first channel successfully sends the service packet and the sending state of the second channel has reached the backoff wait completion state, it indicates that the service packet in the second channel is already in the sending process, and in order to ensure the stability of the sending work, the coordination control module 201 does not issue a related instruction for discarding the second channel, and keeps the second channel to continue to execute the sending work, and the corresponding sending mode is still kept as the dual-mode backup sending.
Compared with the related art, the self-adaptive back-off mechanism provided by the embodiment of the invention can automatically adjust the corresponding sending mode according to different sending conditions of the service message in the channel, thereby reducing invalid redundant sending and reducing the occupancy rate of the channel while ensuring the stability of the sending process.
In practical application, the working process of the convergence network management sublayer 20 for sending the service packet according to the packet sending mode often occurs in a scenario where two channels send the same service packet, in such a scenario, the same service packet may be sent through a first channel and a second channel, in the service packet sending process, the packet sending mode is determined according to the report information of the first channel and the second channel, and then the subsequent sending work of the service packet is executed according to the determined packet sending mode, thereby reducing invalid redundant sending. For the application scenario that two channels respectively undertake different service transmission, the transmission mode of the message does not need to be determined because coordination is not needed, but if the scenario is the same, the operation of transmitting the service message according to the message transmission mode by using the convergence network management sublayer 20 provided by the invention is also added, and the utilization rate of the channels can also be improved to a certain extent.
In this embodiment, when the converged network management sublayer 20 controls the first channel to execute the backoff procedure by using the adaptive backoff mechanism, the method may further specifically be configured to:
and calculating the back-off time according to the back-off times, the back-off index, the priority reference value and the time slot length, wherein the priority reference value and the time slot length can be obtained according to the priority of the service message.
Illustratively, the priority reference value may be divided into 0 to 3 levels according to different priorities of the service packet, where 0 is the lowest, 3 is the highest, and the TIME SLOT length may be divided into 10, 8, 6, 4 symbol TIME lengths according to different priorities of the service packet, so that the SLOT _ TIME used for calculating the back-off TIME corresponding to the lowest priority is 10 symbol TIME lengths, and in the subsequent back-off TIME calculation process, the back-off TIME calculated correspondingly is the longest.
As an example, the back-off time is calculated by the formula:
T Backoff =(Rand(2 BE -1) + PR) SLOT _ TIME, where be (backoff exponents) is a backoff index, SLOT _ TIME is a SLOT length, and PR (priority reference, PR value) is a priority reference value.
Wherein, the PR value is used as a fixed reference value which can be initialized according to the priority in the calculation of the back-off time to ensure that the random term Rand (2) BE -1) when too large or too small random values are generated, there is still a reference value to anchor the size of the back-off time window in correspondence with the priority. For example, when BE has a value of 1, Rand (2) BE -1) generating a (0, 1) interval random number, when there are two types of traffic messages of priority 0 and 2, assuming that the random number generated for the lowest priority 0 is 0.1, and the random number generated for priority 2 is 0.9, and in the case of no PR anchor, the back-off time window calculated for the priority 0 message is 0.1 × 10 ═ 1 symbol time length, and the back-off time calculated for priority 2 is 0.9 × 6 ═ 5.4 symbols, when priority 2 instead needs to wait for a longer back-off time than priority 0, obviously resulting in a mismatch between priority and back-off time. Therefore, the value of the PR value needs to BE able to circumvent the aforementioned mismatch problem, i.e. the following equation needs to BE satisfied for a particular BE:
Figure BDA0003587764300000091
the transformation inequality is as follows,
Figure BDA0003587764300000092
since SLOT _ TIME is fixed (10, 8, 6, 4), i.e., SLOT _ TIME is fixed
Figure BDA0003587764300000093
The ratio is known, namely the value interval can be obtained through the theoretical limit of the random number RandThe maximum value on the right side of the inequality is determined, and the problem of mismatching can be avoided only by enabling the left side of the inequality to be larger than the maximum value on the right side. According to the above rules, when BE takes a value of 1, the PR value (corresponding to priorities 0-3) is (8, 5, 2, 0) or (12, 8, 5, 2), when a collision occurs, BE value increases, which results in an increase in the random number taking interval, then PR value can BE adjusted appropriately, for example, when BE increases to 3, PR value can BE adjusted to (39, 25, 11, 0). It should be noted that the above PR value selection method is only exemplary, and in practical applications, the specific selection of the PR value also needs to consider other factors such as idle latency of the channel and channel utilization.
In some embodiments, before calculating the back-off time when there is a new service packet to BE sent, the back-off times, the back-off index BE and the priority reference value PR may BE initialized first. For example, during initialization, the backoff number count is set to 0, the backoff index BE is set to the minimum value minBE, and the PR value is initialized according to the priority of the message.
In this embodiment, when the converged network management sublayer 20 controls the first channel to execute the backoff procedure by using the adaptive backoff mechanism, the method may further specifically be configured to: listening, by the first physical sublayer 31, for the status of the first channel; when the first channel is in the occupied state, waiting for the first physical sublayer 31 to finish service message transmission, and updating the accumulated waiting time of the station, wherein the updated accumulated waiting time is the sum of the waiting time and the accumulated waiting time before updating; when the first channel is in the idle state, the first physical sublayer 31 executes an update process with a long backoff time window to obtain the long backoff time window, and controls the first channel to execute the backoff process according to the length of the backoff time window and the accumulated waiting time.
That is to say, when the first physical sublayer 31 monitors that the first channel is in the occupied state, the first channel is controlled to suspend executing the step of calculating the backoff time in the backoff process, and the first physical sublayer 31 waits until the service packet is sent, and the calculation of the backoff time can be continuously executed until the feedback of the completion of the sending of the service packet is received. Accordingly, this latency is added to the accumulated latency of the pre-update cache, resulting in an updated accumulated latency.
Further, when the converged network management sublayer 20 controls the first channel to execute the backoff procedure according to the backoff time window length and the accumulated waiting time, the converged network management sublayer may be further specifically configured to: judging whether the accumulated waiting time reaches a maximum accumulated waiting time threshold value or not; when the accumulated waiting time reaches the maximum accumulated waiting time threshold, starting service message transmission through the first physical sublayer 31, and clearing the accumulated waiting time; when the accumulated waiting time does not reach the maximum accumulated waiting time threshold, performing overflow check on the backoff time through the first physical sublayer 31 according to the backoff time window length; when the back-off time is over, the service message transmission is started through the first physical sublayer 31; when the back-off time does not overflow, the procedure of listening to the state of the first channel through the first physical sublayer 31 is returned, and the accumulated waiting time is updated.
Wherein, the maximum accumulated waiting time threshold value can be preset according to the actual situation.
In this embodiment, when the accumulated waiting time reaches the maximum accumulated waiting time threshold, the step of backoff time overflow check can be directly skipped, the service packet transmission is directly started, the lowest transmission probability of the service packet of the station is ensured, and the accumulated waiting time cached in the station is cleared; when the accumulated waiting time does not reach the maximum accumulated waiting time threshold, overflow check needs to be performed on the backoff time, and when the overflow conditions of the backoff time are different, the executed backoff flows can also be different. When the accumulated waiting time does not reach the maximum accumulated waiting time threshold yet, but the back-off time is overflowed at the moment, the back-off process is indicated to be finished, and the sending of the service message can be started.
Optionally, in some embodiments, during the process of performing overflow check on the back-off time, an overflow threshold is set, and the overflow condition of the back-off time is determined by comparing the relation between the back-off time at the current time and the overflow threshold.
Different from the related art, in the embodiment of the invention, the service message is directly sent by presetting the maximum accumulated waiting time threshold when the accumulated waiting time reaches the maximum accumulated waiting time threshold, so that the lowest sending probability of the service message at the site is ensured.
Further, when the converged network management sublayer 20 controls the first channel to execute the backoff procedure by using the adaptive backoff mechanism, the method may further specifically be configured to: resetting the backoff times and the backoff index when the service message is successfully sent; when the service message is failed to be sent, updating the backoff times and the backoff index, and judging whether the updated backoff times exceed a preset backoff maximum value, wherein the updated backoff times are the backoff times before updating plus m, the updated backoff index is the backoff index before updating plus the smaller value of n and the preset backoff index maximum value, and m and n are positive integers; when the updated backoff times exceed the preset backoff times maximum value, judging that the first channel service message is failed to be sent, and resetting the backoff times and the backoff index; and returning to the step of calculating the back-off time when the updated back-off times do not exceed the maximum value of the preset back-off times.
Wherein m and n may be the same, for example, both are 1.
In this embodiment, when the service packet is successfully sent or the first channel service packet is unsuccessfully sent, the backoff number and the backoff index may be reset, and a new service packet is waited to be sent; however, when the service packet transmission fails and the updated backoff number does not exceed the preset backoff number maximum value, the step of calculating the backoff time may be returned, and the backoff process executed by the convergence network management sublayer 20 to control the first channel may be executed again.
In some embodiments, when the converged network management sublayer 20 executes an update procedure with a long back-off time window, it may specifically be configured to: when the first channel is in an idle state, increasing the channel idle time, and judging whether the increased channel idle time exceeds a preset channel idle time threshold value; if the increased channel idle time does not exceed the preset channel idle time threshold, no action is executed, and the current length value of the back-off time window is kept; and when the increased channel idle time exceeds a preset channel idle time threshold, shortening the length of the back-off time window according to a preset rule.
For example, the preset rule may include determining a corresponding shortening method according to different calculation results of the backoff time, for example, performing BE-1 operation and recalculating the backoff time when BE is greater than 1, updating the backoff time window length, and performing shortening adjustment by subtracting a difference from a minimum PR value combination (e.g., (8, 5, 2, 0)) when BE is equal to 1 and the value of PR corresponding to the priority is not 0 (e.g., PR takes a value of (12, 8, 5, 2)), for example, shortening 12-8 to 4 symbol durations when PR is 0 and shortening 8-5 to 3 symbol durations when PR is 1.
It should be understood that, when it is determined that the increased idle time of the channel exceeds the preset idle time threshold of the channel, indicating that the channel is in the continuous idle state at this time, the length of the back-off time window may be appropriately shortened to improve the utilization rate of the channel.
Accordingly, in some embodiments, when the length of the back-off time window is shortened according to a preset rule, the overflow threshold in the back-off time overflow check process should also be reduced.
In this embodiment, the converged network management sublayer 20 is further operable to zero the channel idle time when the first channel is in the occupied state.
It should be noted that the convergence network management sublayer 20 provided in the embodiment of the present invention controls the backoff procedure executed by the first channel, and is not limited to a service scenario in practical application.
In some implementations, the first channel is a wireless communication channel, and the second channel is a power line carrier communication channel.
In other implementations, the first channel is a power line carrier communication channel and the second channel is a wireless communication channel.
Therefore, in the process of sending the service message according to the message sending mode, the convergence network management sublayer 20 in the dual-mode communication device 1 according to the embodiment of the present invention can automatically adjust the message sending mode according to different sending states of the service message in the channel, reduce invalid redundant sending, and reduce the channel occupancy rate; meanwhile, in the process of controlling each channel to execute a backoff process by adopting a self-adaptive backoff mechanism, a maximum accumulated waiting time threshold is set, so that the lowest sending probability of a service message is ensured; and according to the difference of the idle time of the channel, the length of the back-off time window is adjusted in real time, and when the increased idle time of the channel exceeds the preset idle time threshold of the channel, the length of the back-off time window is shortened, so that the utilization rate of the channel is improved. In addition, the dual-mode communication device 1 according to the embodiment of the present invention sets the coordination control module 201 in the convergence network management sublayer 20, and issues the control command according to the obtained report information of the channel, thereby implementing the coordination dual-channel dual-transmission of the dual-mode dual-channel.
Further, the present invention proposes a dual-mode communication method for the dual-mode communication apparatus as proposed in the above embodiments of the present invention.
Fig. 4 is a flow chart of a dual mode communication method according to an embodiment of the present invention.
As shown in fig. 4, in some embodiments, a dual mode communication method includes:
s401, when the first channel and the second channel simultaneously transmit the service message, determining a message transmission mode according to the report information of the first channel and the second channel.
The reporting information may include a channel state, and the channel state may include an occupied state and an idle state.
Specifically, when one of the first channel and the second channel is in an idle state and the other is in an occupied state, determining that a message sending mode is a single-mode sending mode; and when the first channel and the second channel are both in an idle state, determining that the message sending mode is a dual-mode backup mode.
S402, sending the service message according to the message sending mode, wherein when the service message is sent according to the message sending mode, the first channel and the second channel are controlled to execute the backoff process by adopting a self-adaptive backoff mechanism.
The controlling the first channel and the second channel to execute the back-off process by using the adaptive back-off mechanism may include: calculating the back-off time according to the back-off times, the back-off index, the PR value and the time slot length, wherein the PR value and the time slot length are obtained according to the priority of the service message; listening for a state of a first channel; when the first channel is in an occupied state, waiting for the first channel to finish service message transmission, and updating the accumulated waiting time of the site, wherein the updated accumulated waiting time is the sum of the waiting time and the accumulated waiting time before updating; and when the first channel is in an idle state, executing an updating process with the length of the back-off time window to obtain the length of the back-off time window, and controlling the first channel to execute the back-off process according to the length of the back-off time window and the accumulated waiting time.
The controlling the first channel to execute the backoff procedure according to the backoff window length and the accumulated wait time may include: judging whether the accumulated waiting time reaches a maximum accumulated waiting time threshold value or not; when the accumulated waiting time reaches the maximum accumulated waiting time threshold, controlling a first channel to start service message transmission, and clearing the accumulated waiting time; when the accumulated waiting time does not reach the maximum accumulated waiting time threshold, carrying out overflow inspection on the back-off time according to the length of the back-off time window; when the backoff time overflows, controlling a first channel to start service message transmission; and when the back-off time does not overflow, returning to the step of monitoring the state of the first channel and updating the accumulated waiting time.
That is, when the first channel is in an idle state, the accumulated latency reaches a maximum accumulated latency threshold; or when the first channel is in an idle state, the accumulated waiting time does not reach the maximum accumulated waiting time threshold value, but the backoff time overflows, the control channel starts the sending of the service message, so as to ensure the lowest sending rate of the service message.
In some embodiments, performing an update procedure with a long back-off time window may include: when the first channel is in an idle state, increasing the idle time of the channel, and judging whether the increased idle time of the channel exceeds a preset idle time threshold of the channel; and when the increased channel idle time exceeds a preset channel idle time threshold, shortening the length of the back-off time window according to a preset rule.
In this embodiment, the dual-mode communication method may further include: and when the first channel is in the occupied state, setting the idle time of the channel to zero.
That is, by presetting a channel idle time threshold, when the channel is in an idle state, increasing the channel idle time, judging the relationship between the increased channel idle time and the preset channel idle time threshold, adjusting the length of the backoff time window, and improving the channel utilization rate.
It should be noted that, for other specific implementations of the dual-mode communication method according to the embodiment of the present invention, reference may be made to specific implementations of the dual-mode communication device according to the above-described embodiment of the present invention.
Further, an embodiment of the present invention proposes a computer-readable storage medium on which a computer program is stored.
In particular, the computer program, when executed by a processor, implements the dual mode communication method of the above-described embodiments of the present invention.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), an access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature "under," "beneath," and "under" a second feature may be directly under or obliquely under the second feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are exemplary and not to be construed as limiting the present invention, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (19)

1. A dual mode communication apparatus, the apparatus comprising:
the data link layer comprises a converged network management sublayer, a first MAC sublayer and a second MAC sublayer, and the first MAC sublayer and the second MAC sublayer are connected with the converged network management sublayer;
the physical layer comprises a first physical sublayer and a second physical sublayer, the first physical sublayer is respectively connected with the first MAC sublayer and the converged network management sublayer, and the second physical sublayer is respectively connected with the second MAC sublayer and the converged network management sublayer;
the first MAC sublayer and the first physical sublayer are disposed in a first channel, the second MAC sublayer and the second physical sublayer are disposed in a second channel, and the converged network management sublayer is configured to determine a packet sending mode according to report information of the first channel and the second channel when the first channel and the second channel simultaneously send a service packet, and send the service packet according to the packet sending mode, wherein when the service packet is sent according to the packet sending mode, an adaptive backoff mechanism is used to control the first channel and the second channel to execute a backoff procedure.
2. The dual-mode communication device according to claim 1, wherein the converged network management sublayer comprises a coordination control module, the coordination control module is connected to the first physical sublayer and the second physical sublayer respectively, and the coordination control module is configured to obtain the report information and issue a control instruction to each MAC sublayer and each physical sublayer when the service packet is sent according to the packet sending mode;
the reporting information includes a first backoff state reported by each MAC sublayer, a channel state, a second backoff state and a message sending condition reported by each physical sublayer, the first backoff state includes backoff time, backoff times and accumulated waiting time, and the second backoff state includes a backoff time overflow condition.
3. The dual-mode communication device of claim 2, wherein the first physical sublayer and the second physical sublayer have the same structure, and the first physical sublayer comprises a first physical layer bus interface unit, a first physical layer management module, a first physical layer back-off time control module, a first physical layer receive link, and a first physical layer transmit link;
the first physical layer bus interface unit is respectively connected with the first MAC sublayer, the coordination control module, the first physical layer management module, and the first physical layer back-off time control module, and is configured to implement information transmission between the first physical sublayer and the first MAC sublayer and the coordination control module;
the first physical layer management module is further connected to the first physical layer receive link and the first physical layer transmit link, respectively, and configured to report the channel state and the packet transmission condition to the first MAC sublayer and the coordination control module, respectively, through the first physical layer bus interface unit;
the first physical layer back-off time control module is further connected with the first physical layer transmission link and used for reporting the back-off time overflow condition to the coordination control module.
4. The dual-mode communication device according to claim 2, wherein the coordination control module is further configured to send a remaining back-off time query instruction to the first physical sub-layer;
and the first physical sub-layer is further configured to report the remaining back-off time to the coordination control module in response to the remaining back-off time query instruction.
5. The dual-mode communication device according to claim 2, wherein the channel status includes an occupied status and an idle status, and the convergence network management sublayer, when determining the packet transmission mode according to the report information of the first channel and the second channel, is specifically configured to:
when one of the first channel and the second channel is in an idle state and the other channel is in an occupied state, determining that the message sending mode is a single-mode sending mode;
and when the first channel and the second channel are both in an idle state, determining that the message sending mode is the dual-mode backup mode.
6. The dual-mode communication device according to claim 5, wherein the data link layer further includes two first-level caches respectively corresponding to the first MAC sublayer and the second MAC sublayer, the physical layer further includes two second-level caches respectively corresponding to the first physical sublayer and the second physical sublayer, the converged network management sublayer is further configured to respectively issue the service packet to the first MAC sublayer and the second MAC sublayer, so as to respectively perform framing operation on the service packet through the first MAC sublayer and the second MAC sublayer, and respectively store the obtained first MAC frame data and second MAC frame data in the corresponding first-level caches; when the convergence network management sublayer sends the service packet according to the packet sending mode, the convergence network management sublayer is specifically configured to:
when the message sending mode is the single-mode sending mode, sending the MAC frame data in the corresponding first-level cache to the corresponding second-level cache through the MAC sublayer of the channel in the idle state, and discarding the MAC frame data in the corresponding first-level cache through the MAC sublayer of the channel in the occupied state;
and when the message sending mode is the dual-mode backup mode, sending the MAC frame data in the first-level cache of the first channel and the second-level cache of the second channel to the respective second-level cache.
7. The dual-mode communication device according to claim 6, wherein when the messaging mode is the dual-mode backup mode, the control flow of the converged network management sublayer on the first channel and the second channel in the idle state is the same, and when the converged network management sublayer sends the service packet according to the messaging mode, the converged network management sublayer is further specifically configured to:
when the first channel is in an idle state, calculating a back-off time through the first MAC sublayer, sending the back-off time to the first physical sublayer, controlling the first channel to execute a back-off process by adopting a self-adaptive back-off mechanism for the first time, and obtaining that the sending state of the first channel is a back-off waiting state;
when the backoff process starts service message transmission, releasing first MAC data in a corresponding second-level cache through the first physical sublayer, updating a transmission state to a backoff waiting completion state, performing link processing on the first MAC data through the first physical sublayer, and transmitting the processed first MAC data to a target station.
8. The dual-mode communication device according to claim 7, wherein the converged network management sublayer, when sending the service packet according to the packet sending mode, is further specifically configured to:
when the first channel successfully transmits the service message, judging whether the transmission state of the second channel reaches a backoff waiting completion state;
when the sending state of the second channel does not reach the backoff waiting completion state, clearing second MAC frame data in a corresponding second-level cache through the second physical sublayer, clearing own backoff time, and converting the dual-mode backup mode into the single-mode sending mode;
when the sending state of the second channel reaches a backoff waiting completion state, keeping the dual-mode backup mode, and determining that the sending of the second channel is invalid redundant sending; and
and when the first channel fails to send the service message, controlling the first channel to execute a backoff process by adopting a self-adaptive backoff mechanism again.
9. The dual-mode communication device according to claim 8, wherein the converged network management sublayer, when controlling the first channel to execute the backoff procedure by using the adaptive backoff mechanism, is specifically configured to:
calculating back-off time according to the back-off times, the back-off index, a priority reference value and a time slot length, wherein the priority reference value and the time slot length are obtained according to the priority of the service message;
listening, by the first physical sublayer, a state of the first channel;
when the first channel is in an occupied state, waiting for the first physical sub-layer to finish service message transmission, and updating the accumulated waiting time of the site, wherein the updated accumulated waiting time is the sum of the waiting time and the accumulated waiting time before updating;
and when the first channel is in an idle state, executing an updating process with a long back-off time window through the first physical sublayer to obtain the long back-off time window, and controlling the first channel to execute the back-off process according to the long back-off time window and the accumulated waiting time.
10. The dual-mode communication device according to claim 9, wherein the converged network management sublayer, when controlling the first channel to execute the backoff procedure according to the backoff time window length and the accumulated wait time, is specifically configured to:
determining whether the accumulated wait time reaches a maximum accumulated wait time threshold:
when the accumulated waiting time reaches the maximum accumulated waiting time threshold, starting service message transmission through the first physical sublayer and clearing the accumulated waiting time;
when the accumulated waiting time does not reach the maximum accumulated waiting time threshold, performing overflow check on the backoff time through the first physical sublayer according to the backoff time window length;
when the back-off time overflows, service message sending is started through the first physical sub-layer;
and when the back-off time is not overflowed, returning to the step of monitoring the state of the first channel through the first physical sublayer, and updating the accumulated waiting time.
11. The dual-mode communication device according to claim 10, wherein the converged network management sublayer, when controlling the first channel to execute the backoff procedure by using the adaptive backoff mechanism, is further specifically configured to:
resetting the backoff times and the backoff index when the service message is successfully sent;
when the service message fails to be sent, updating the backoff times and the backoff index, and judging whether the updated backoff times exceed a preset backoff maximum value, wherein the updated backoff times are the backoff times before updating plus m, the updated backoff index is the smaller value of the backoff index before updating plus n and the preset backoff index maximum value, and m and n are positive integers;
when the updated backoff times exceed the preset backoff times maximum value, determining that the first channel service message is failed to be sent, and resetting the backoff times and the backoff index;
and returning to the step of calculating the back-off time when the updated back-off times do not exceed the maximum value of the preset back-off times.
12. The dual-mode communication device according to claim 9, wherein the converged network management sublayer, when executing the update procedure with the long back-off time window, is specifically configured to:
when the first channel is in an idle state, increasing the channel idle time, and judging whether the increased channel idle time exceeds a preset channel idle time threshold value;
when the increased channel idle time exceeds the preset channel idle time threshold, shortening the length of a back-off time window according to a preset rule;
and the convergence network management sublayer is further configured to set the channel idle time to zero when the first channel is in an occupied state.
13. The dual mode communication device of any of claims 1-12,
the first channel is a wireless communication channel, and the second channel is a power line carrier communication channel; alternatively, the first and second electrodes may be,
the first channel is a power line carrier communication channel, and the second channel is a wireless communication channel.
14. A dual-mode communication method for the dual-mode communication apparatus of any one of claims 1-13, the method comprising:
when a first channel and a second channel simultaneously send service messages, determining a message sending mode according to the reported information of the first channel and the second channel;
and sending the service message according to the message sending mode, wherein when the service message is sent according to the message sending mode, a self-adaptive backoff mechanism is adopted to control the first channel and the second channel to execute a backoff process.
15. The dual-mode communication method of claim 14, wherein the reporting information includes a channel status, the channel status includes an occupied status and an idle status, and the determining the message sending mode according to the reporting information of the first channel and the second channel includes:
when one of the first channel and the second channel is in an idle state and the other channel is in an occupied state, determining that the message sending mode is a single-mode sending mode;
and when the first channel and the second channel are both in an idle state, determining that the message sending mode is the dual-mode backup mode.
16. The dual-mode communication method of claim 14, wherein the controlling the first channel and the second channel to perform a backoff procedure using an adaptive backoff mechanism comprises:
calculating back-off time according to the back-off times, the back-off index, a priority reference value and a time slot length, wherein the priority reference value and the time slot length are obtained according to the priority of the service message;
listening for a state of the first channel;
when the first channel is in an occupied state, waiting for the first channel to finish service message transmission, and updating the accumulated waiting time of the site, wherein the updated accumulated waiting time is the sum of the waiting time and the accumulated waiting time before updating;
and when the first channel is in an idle state, executing an updating process with a long back-off time window to obtain the long back-off time window, and controlling the first channel to execute the back-off process according to the length of the back-off time window and the accumulated waiting time.
17. The dual-mode communication method of claim 16, wherein the controlling the first channel to perform a backoff procedure according to the backoff window length and the accumulated wait time comprises:
determining whether the accumulated wait time reaches a maximum accumulated wait time threshold:
when the accumulated waiting time reaches the maximum accumulated waiting time threshold, controlling the first channel to start service message transmission, and clearing the accumulated waiting time;
when the accumulated waiting time does not reach the maximum accumulated waiting time threshold, carrying out overflow check on the backoff time according to the backoff time window length;
when the backoff time overflows, controlling the first channel to start service message transmission;
and when the back-off time does not overflow, returning to the step of monitoring the state of the first channel and updating the accumulated waiting time.
18. The dual-mode communication method of claim 16, wherein the performing the back-off window long update procedure comprises:
when the first channel is in an idle state, increasing the channel idle time, and judging whether the increased channel idle time exceeds a preset channel idle time threshold value;
when the increased channel idle time exceeds the preset channel idle time threshold, shortening the length of a back-off time window according to a preset rule;
wherein the method further comprises:
and when the first channel is in an occupied state, setting the idle time of the channel to zero.
19. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the dual-mode communication method according to any one of claims 14 to 18.
CN202210369804.3A 2022-04-08 2022-04-08 Dual mode communication device, dual mode communication method, and storage medium Active CN114915394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210369804.3A CN114915394B (en) 2022-04-08 2022-04-08 Dual mode communication device, dual mode communication method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210369804.3A CN114915394B (en) 2022-04-08 2022-04-08 Dual mode communication device, dual mode communication method, and storage medium

Publications (2)

Publication Number Publication Date
CN114915394A true CN114915394A (en) 2022-08-16
CN114915394B CN114915394B (en) 2023-07-25

Family

ID=82763071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210369804.3A Active CN114915394B (en) 2022-04-08 2022-04-08 Dual mode communication device, dual mode communication method, and storage medium

Country Status (1)

Country Link
CN (1) CN114915394B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115189719A (en) * 2022-09-09 2022-10-14 北京智芯微电子科技有限公司 Data transmission method, data transmission system, and computer-readable storage medium
CN115412206A (en) * 2022-11-01 2022-11-29 北京智芯微电子科技有限公司 Data receiving system, method, equipment and chip for dual-mode communication
CN117858266A (en) * 2024-03-07 2024-04-09 北京智芯微电子科技有限公司 Backoff time updating method and device, chip and station

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707571A (en) * 2009-09-23 2010-05-12 李悦 Power line and wireless dual-network routing method
CN104618959A (en) * 2014-12-19 2015-05-13 中国航空无线电电子研究所 Method and system for achieving aeronautical network MAC (multiple access control) protocols
CN105046935A (en) * 2015-08-13 2015-11-11 青岛东软载波科技股份有限公司 Dual mode heterogeneous communication system based on low voltage power line and micropower wireless
CN111225414A (en) * 2018-11-26 2020-06-02 中兴通讯股份有限公司 Multimode communication device, communication method thereof and multimode communication system
CN113015229A (en) * 2020-12-29 2021-06-22 国家电网有限公司 Networking method of dual-mode integrated ad hoc network based on power line carrier and wireless
CN113260047A (en) * 2021-06-23 2021-08-13 国网信息通信产业集团有限公司 Dual-mode system, station and central coordinator combining HPLC and wireless communication
US20210400766A1 (en) * 2020-06-22 2021-12-23 Hangzhou Vango Technologies, Inc. Method, apparatus and device for controlling dual-mode communication, and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707571A (en) * 2009-09-23 2010-05-12 李悦 Power line and wireless dual-network routing method
CN104618959A (en) * 2014-12-19 2015-05-13 中国航空无线电电子研究所 Method and system for achieving aeronautical network MAC (multiple access control) protocols
CN105046935A (en) * 2015-08-13 2015-11-11 青岛东软载波科技股份有限公司 Dual mode heterogeneous communication system based on low voltage power line and micropower wireless
CN111225414A (en) * 2018-11-26 2020-06-02 中兴通讯股份有限公司 Multimode communication device, communication method thereof and multimode communication system
US20210400766A1 (en) * 2020-06-22 2021-12-23 Hangzhou Vango Technologies, Inc. Method, apparatus and device for controlling dual-mode communication, and computer readable storage medium
CN113015229A (en) * 2020-12-29 2021-06-22 国家电网有限公司 Networking method of dual-mode integrated ad hoc network based on power line carrier and wireless
CN113260047A (en) * 2021-06-23 2021-08-13 国网信息通信产业集团有限公司 Dual-mode system, station and central coordinator combining HPLC and wireless communication

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LICHENG WANG; LIBIN ZHENG; YINGYING HOU; YANBIN SONG: "Channel Prediction Based Network Access Control Algorithm of Powerline Carrier and Wireless Converged Communications", 《 2018 IEEE 3RD ADVANCED INFORMATION TECHNOLOGY, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (IAEAC)》 *
王贤辉; 王立城; 宋彦斌; 王东山: "基于信噪比优选的电力线载波和无线通信物理层融合方法", 《电力信息与通信技术》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115189719A (en) * 2022-09-09 2022-10-14 北京智芯微电子科技有限公司 Data transmission method, data transmission system, and computer-readable storage medium
CN115189719B (en) * 2022-09-09 2023-01-24 北京智芯微电子科技有限公司 Data transmission method, data transmission system, and computer-readable storage medium
CN115412206A (en) * 2022-11-01 2022-11-29 北京智芯微电子科技有限公司 Data receiving system, method, equipment and chip for dual-mode communication
CN115412206B (en) * 2022-11-01 2023-03-21 北京智芯微电子科技有限公司 Data receiving system, method, equipment and chip for dual-mode communication
CN117858266A (en) * 2024-03-07 2024-04-09 北京智芯微电子科技有限公司 Backoff time updating method and device, chip and station

Also Published As

Publication number Publication date
CN114915394B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN114915394A (en) Dual-mode communication device, dual-mode communication method, and storage medium
US8811379B2 (en) Control apparatus and control method
US8073381B2 (en) Radio communication system and base station
CA2390529C (en) Methods and apparatus for coordinating channel access to shared parallel data channels
KR100995189B1 (en) Quality of service differentiation in wireless networks
TWI248731B (en) Adaptive radio resource management for wireless local area networks
KR101644150B1 (en) Updating method and apparatus of sleep mode operation
JP4558515B2 (en) Transmission error control method and transmission error control device
US20080123673A1 (en) Method for transmitting packet and system for mobile communication thereof and mobile station
US20060028984A1 (en) Energy efficient medium access control protocol for IEEE 802.11 WLANs
US20060268772A1 (en) Channel allocating method for random access
WO2022095863A1 (en) Micropower wireless access method and apparatus for internet of things of power transmission and transformation device
US8638677B2 (en) Data communication system
US8089868B2 (en) Wireless communication apparatus and wireless communication method using variable transmission rate
JP2008524898A (en) Multicast communication system with power control
JP2003324761A (en) Data link transmission control method, mobile communication system, data link transmission control apparatus, base station, mobile station, mobile station control program, and computer-readable recording medium
CN116546447A (en) Improved BLE Mesh routing method based on neighbor information
CN109831282B (en) Data packet retransmission method, data packet retransmission system, data packet retransmission device and readable storage medium
Biswas et al. On-demand reliable medium access in sensor networks
CN115835290A (en) Message transmission method and device, electronic equipment and storage medium
CN1771696A (en) Network with subnets being connectable via bridge terminals
JP2000354065A (en) Communication controller
JP2005252877A (en) Radio communications system, radio base station, radio terminal, and radio communication method
JPH11355254A (en) Communication equipment
JP4426898B2 (en) Wireless data transmitter, wireless data transmission system, and wireless data transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant