CN113572569B - Transmission rate switching method and related device - Google Patents

Transmission rate switching method and related device Download PDF

Info

Publication number
CN113572569B
CN113572569B CN202010352238.6A CN202010352238A CN113572569B CN 113572569 B CN113572569 B CN 113572569B CN 202010352238 A CN202010352238 A CN 202010352238A CN 113572569 B CN113572569 B CN 113572569B
Authority
CN
China
Prior art keywords
electronic device
rate
data packet
check
packet
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.)
Active
Application number
CN202010352238.6A
Other languages
Chinese (zh)
Other versions
CN113572569A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010352238.6A priority Critical patent/CN113572569B/en
Priority to PCT/CN2021/071154 priority patent/WO2021218239A1/en
Publication of CN113572569A publication Critical patent/CN113572569A/en
Application granted granted Critical
Publication of CN113572569B publication Critical patent/CN113572569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • H04L1/0013Rate matching, e.g. puncturing or repetition of code symbols

Abstract

The application provides a transmission rate switching method and a related device, wherein the method is applied to electronic equipment, the electronic equipment comprises a first electronic device and a second electronic device, and the method comprises the following steps: the second electronic device receives a first data packet sent by the first electronic device, wherein the first data packet is used for indicating the second electronic device to switch transmission rate, and the transmission rate after switching is a first rate; and the first electronic device performs transmission rate switching according to the first rate, and the transmission rate after the first electronic device is switched is the first rate. By implementing the embodiment of the application, the negotiation process can be simplified, and the transmission rate switching efficiency can be improved.

Description

Transmission rate switching method and related device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a transmission rate switching method and a related device.
Background
With the rapid development of technology in the electronics industry, the requirements on interface transmission technology are also increasing. Currently, data transfer may be accomplished using a mobile industry processor interface (mobile industry processor interface, MIPI) that is an open standard and specification established for mobile application processors.
Generally, a transmission rate switching process is often involved in transmitting data using a physical layer (PHY) interface of MIPI. In the prior art, when the transmission rate is switched, for example, the transmitter of the processor sends a speed cutting request to the receiver of the camera, and when the receiver of the processor receives feedback information fed back by the transmitter of the camera, the transmitter of the processor switches the transmission rate. Further, the transmitter of the processor performs capability configuration and stops transmitting data, and when the receiver of the camera detects that the transmitter of the processor stops transmitting data, the receiver of the camera performs rate switching. It can be seen that in the prior art, when the transmission rate is switched, multiple interactions are required, which results in complex negotiation process and low transmission rate switching efficiency.
Disclosure of Invention
The application provides a transmission rate switching method and a related device, which can simplify the negotiation process and improve the transmission rate switching efficiency.
In a first aspect, a transmission rate switching method is provided, where the method is applied to an electronic device, and the electronic device includes a first electronic device and a second electronic device, and the method includes:
The second electronic device receives a first data packet sent by the first electronic device, wherein the first data packet is used for indicating the second electronic device to switch transmission rate, and the transmission rate after switching is a first rate;
and the first electronic device performs transmission rate switching according to the first rate, and the transmission rate after the first electronic device is switched is the first rate.
It can be seen that in the above technical solution, the negotiation process is simplified, and the transmission rate switching efficiency is improved.
In a possible implementation manner, the first data packet includes first indication information, where the first indication information is used to indicate the first rate.
According to the technical scheme, the speed is indicated by the indication information, and preparation is made for the subsequent second electronic device to switch the transmission speed.
In a possible implementation manner, the first data packet further includes first forward link indication information and/or first backward link indication information, the first data packet is further used for indicating the second electronic device to perform forward link switching and/or backward link switching, the forward link after switching is the forward link indicated by the first forward link indication information, and the backward link after switching is the backward link indicated by the first backward link indication information.
According to the technical scheme, accurate control of the switching link is realized, the problem that multiple interactions are needed for switching the link every time in the prior art is avoided, the negotiation process is simplified, and the transmission rate switching efficiency is improved.
In a possible implementation manner, the first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data is not transmitted on the backward link indicated by the first backward link indication information; or alternatively, the first and second heat exchangers may be,
the first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data transmission on the backward link indicated by the first backward link indication information is finished.
It can be seen that, in the above technical solution, the problem of data transmission failure on the backward link indicated by the first backward link indication information due to unreliable data transmission after the transmission rate is switched according to the first data packet is avoided.
In a possible implementation manner, the first data packet further includes verification information and a first time window, and after the first electronic device performs transmission rate switching according to the first rate, the method further includes:
The first electronic device sends at least one first check packet to the second electronic device at the first rate;
when receiving N first check packets in the first time window, the second electronic device sends at least one second check packet to the first electronic device at the first rate, wherein the second check packet is sent by the second electronic device in the first time window and is determined by the second electronic device according to the check information, and N is an integer greater than 1;
if the N second check packets in the second check packets are received in the first time window, the first electronic device determines to transmit data to the second electronic device at the first rate.
According to the technical scheme, the check of the reliability of the data transmission after the cut speed is realized through the check packet and the first time window, and the phenomenon that the data is transmitted to the second electronic device by adopting the switched speed when the data transmission after the cut speed is unreliable is avoided.
In one possible embodiment, the method further comprises:
if the N second check packets in the second check packets are not received in the first time window, the first electronic device sends the first check packet to the second electronic device at the first rate again after sending the first data packet to the second electronic device at the second rate;
When the N first check packets in the first check packets are received in the first time window, the second electronic device sends the second check packets to the first electronic device again at the first speed;
if the N second check packets in the second check packet are not received within the first time window, the first electronic device sends a second data packet to the second electronic device at the third rate after the first electronic device switches the first rate to the third rate, the second data packet is used for indicating the second electronic device to switch the transmission rate, the switched transmission rate is a fourth rate, the transmission rate is switched according to the fourth rate, the transmission rate after the first electronic device is the fourth rate, and the first check packet is sent to the second electronic device at the fourth rate until the first electronic device determines to transmit data to the second electronic device at the fourth rate;
the second rate is a rate before the first electronic device switches the transmission rate to the first rate, the second rate is smaller than the first rate, the third rate is a rate with the lowest rate in the transmission rate corresponding to the first electronic device, and the fourth rate is larger than the second rate and smaller than the first rate.
According to the technical scheme, when the data transmission is unreliable after the cutting speed, the first data packet is sent to the second electronic device by adopting the original speed before being switched to the first speed, and the problem that the new speed negotiation fails due to external sporadic factors is solved. Meanwhile, when the check packet is not received in the second time window, namely, the data transmission is still unreliable after the cut-in, a more flexible cut-in mode is provided by adopting the minimum speed corresponding to the equipment to transmit the new data packet.
In a second aspect, there is provided a transmission rate switching apparatus, the apparatus comprising a first electronic device and a second electronic device,
the second electronic device is configured to receive a first data packet sent by the first electronic device, where the first data packet is used to instruct the second electronic device to switch a transmission rate, and the transmission rate after switching is a first rate;
the first electronic device is configured to switch a transmission rate according to the first rate, where the transmission rate after the first electronic device is switched is the first rate.
In a possible implementation manner, the first data packet includes first indication information, where the first indication information is used to indicate the first rate.
In a possible implementation manner, the first data packet further includes first forward link indication information and/or first backward link indication information, the first data packet is further used for indicating the second electronic device to perform forward link switching and/or backward link switching, the forward link after switching is the forward link indicated by the first forward link indication information, and the backward link after switching is the backward link indicated by the first backward link indication information.
In a possible implementation manner, the first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data is not transmitted on the backward link indicated by the first backward link indication information; or alternatively, the first and second heat exchangers may be,
the first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data transmission on the backward link indicated by the first backward link indication information is finished.
In one possible implementation, the first data packet further includes verification information and a first time window,
the first electronic device is further configured to send at least one first verification packet to the second electronic device at the first rate;
The second electronic device is further configured to send at least one second verification packet to the first electronic device at the first rate when N first verification packets in the first verification packet are received in the first time window, where the second verification packet is sent by the second electronic device in the first time window and the second verification packet is determined by the second electronic device according to the verification information, and N is an integer greater than 1;
the first electronic device is further configured to determine to transmit data to the second electronic device at the first rate if the N second verification packets of the second verification packets are received within the first time window.
In one possible implementation of the method according to the invention,
if the N second check packets in the second check packet are not received within the first time window, the first electronic device is further configured to send the first check packet to the second electronic device at the first rate again after sending the first data packet to the second electronic device at the second rate;
when the N first check packets in the first check packets are received in the first time window, the second electronic device is further configured to send the second check packet to the first electronic device again at the first rate;
If the N second check packets in the second check packet are not received yet within the first time window, the first electronic device is further configured to send a second data packet to the second electronic device at a third rate after the first rate is switched to the third rate, where the second data packet is used to instruct the second electronic device to perform transmission rate switching, and the transmission rate after switching is a fourth rate, and perform transmission rate switching according to the fourth rate, where the transmission rate after switching of the first electronic device is the fourth rate, and send the first check packet to the second electronic device at the fourth rate until the first electronic device determines to transmit data to the second electronic device at the fourth rate;
the second rate is a rate before the first electronic device switches the transmission rate to the first rate, the second rate is smaller than the first rate, the third rate is a rate with the lowest rate in the transmission rate corresponding to the first electronic device, and the fourth rate is larger than the second rate and smaller than the first rate.
In a third aspect, there is provided a computer readable storage medium having a computer program stored therein, which when executed, implements the method of the first aspect or any of the first aspects.
Drawings
The drawings that accompany the embodiments or the prior art description can be briefly described as follows.
Wherein:
fig. 1 is a schematic structural diagram of a transmission rate switching device according to an embodiment of the present application;
fig. 2 is a flow chart of a transmission rate switching method according to an embodiment of the present application;
fig. 3 is a schematic link diagram provided in an embodiment of the present application;
fig. 4 is a flowchart of another transmission rate switching method according to an embodiment of the present application;
fig. 5 is a flowchart of another transmission rate switching method according to an embodiment of the present application;
fig. 6 is a flowchart of another transmission rate switching method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The terms first and second in the description and claims of the present application and in the above-described figures are used for distinguishing between different objects and not for describing a particular sequential order.
First, the electronic device according to the embodiments of the present application may be integrated with a processor and a camera, or may be integrated with a processor and a display screen, or may be integrated with a processor, a camera, and a display screen, and of course, the electronic device may also be integrated with other electronic devices, which is not limited herein. For example, the electronic device may be a mobile telephone (or "cellular" telephone), a computer with a mobile user equipment, a portable, pocket, hand-held, a mobile device built into a computer, and the like. The electronic device may also be a wearable device, and may also be an in-vehicle user device, for example, an in-vehicle unit (OBU), which is not limited in this embodiment of the present application. In addition, the electronic equipment can also be a computer, a tablet computer, a notebook computer, a palm computer and the like.
It is appreciated that in the embodiments of the present application, the first electronic device may be, for example, a processor, and the second electronic device may be, for example, a camera or a display screen.
Further, referring to fig. 1, fig. 1 is a schematic structural diagram of a transmission rate switching device according to an embodiment of the present application. As shown in fig. 1, the first electronic device includes a control module, a transmitter, and a receiver, and the second electronic device includes a control module, a transmitter, and a receiver. The control module of the first electronic device may transmit data via the transmitter of the first electronic device and the receiver of the second electronic device, and the control module of the second electronic device may transmit data via the transmitter of the second electronic device and the receiver of the second electronic device.
In order to facilitate understanding of the present application, first, related technical knowledge related to the embodiments of the present application will be described herein.
Generally, a transmission rate switching process is often involved in transmitting data using the physical layer interface of MIPI. In the prior art, when the transmission rate is switched, for example, the transmitter of the processor sends a speed cutting request to the receiver of the camera, and when the receiver of the processor receives feedback information fed back by the transmitter of the camera, the transmitter of the processor switches the transmission rate. Further, the transmitter of the processor performs capability configuration and stops transmitting data, and when the receiver of the camera detects that the transmitter of the processor stops transmitting data, the receiver of the camera performs rate switching. It can be seen that in the prior art, when the transmission rate is switched, multiple interactions are required, which results in complex negotiation process and low efficiency.
In order to solve the above technical problems, the present application provides a transmission rate switching method, and the following detailed description of the embodiments of the present application is provided.
Referring to fig. 2, fig. 2 is a flow chart of a transmission rate switching method according to an embodiment of the present application. As shown in fig. 2, the method is applied to an electronic device, the electronic device including a first electronic device and a second electronic device, the method including:
201. The second electronic device receives a first data packet sent by the first electronic device, wherein the first data packet is used for indicating the second electronic device to switch the transmission rate, and the transmission rate after switching is the first rate.
The first data packet may include first indication information, first forward link indication information, check information, and a first time window, and the first data packet may also include indication information, first backward link indication information, check information, and a first time window. Further, the first indication information is used for indicating the first rate. In addition, the first time window is determined based on the first rate. For example, the larger the first rate, the longer the first time window; the smaller the first rate, the shorter the first time window.
It should be noted that, when the first data packet includes the first indication information, the first forward link indication information, the check information, and the first time window, the first indication information is at least one first bit in the first data packet, and when the value of the at least one first bit in the first data packet is the first value, the at least one first bit in the first data packet is used to indicate the first rate. The first forward link indication information is at least one second bit in the first data packet, and the at least one second bit in the first data packet is used for indicating the forward link indicated by the first forward link indication information when the value of the at least one second bit in the first data packet is a second value. The first data packet includes verification information that is at least one third bit in the first data packet, and the at least one third bit in the first data packet is used by the second electronic device to determine at least one second verification packet when the value of the at least one third bit in the first data packet is a third value. The first time window is at least one fourth bit in the first data packet, and the at least one fourth bit in the first data packet is used for indicating the first time window when the value of the at least one fourth bit in the first data packet is a fourth value. The first value, the second value, the third value, and the fourth value may be the same, may be partially the same, or may be completely different. Further, the first data packet is further used for indicating the second electronic device to perform forward link switching, and the switched forward link is the forward link indicated by the first forward link indication information.
When the first data packet includes first indication information, first backward link indication information, check information and a first time window, the first indication information is at least one first bit in the first data packet, and when the value of the at least one first bit in the first data packet is a first value, the at least one first bit in the first data packet is used for indicating a first rate. The first backward link indication information is at least one second bit in the first data packet, and the at least one second bit in the first data packet is used for indicating the backward link indicated by the first backward link indication information when the value of the at least one second bit in the first data packet is a second value. The first data packet includes at least one third bit in the first data packet, and the at least one third bit in the first data packet is used by the second electronic device to determine the second check packet when the value of the at least one third bit in the first data packet is a third value. The first time window is at least one fourth bit in the first data packet, and the at least one fourth bit in the first data packet is used for indicating the first time window when the value of the at least one fourth bit in the first data packet is a fourth value. The first value, the second value, the third value, and the fourth value may be the same, may be partially the same, or may be completely different. Further, the first data packet is further configured to instruct the second electronic device to perform a backward link handover, and the backward link after the handover is the backward link indicated by the first backward link indication information.
When the first data packet includes first indication information, first forward link indication information, first backward link indication information, check information and a first time window, the first indication information is at least one first bit in the first data packet, and when the value of the at least one first bit in the first data packet is a first value, the at least one first bit in the first data packet is used for indicating a first rate. The first forward link indication information is at least one second bit in the first data packet, and the at least one second bit in the first data packet is used for indicating the forward link indicated by the first forward link indication information when the value of the at least one second bit in the first data packet is a second value. The first backward link indication information is at least one third bit in the first data packet, and the at least one third bit in the first data packet is used for indicating the backward link indicated by the first backward link indication information when the value of the at least one third bit in the first data packet is a third value. The first data packet includes at least one fourth bit in the first data packet, and the at least one fourth bit in the first data packet is used to indicate the second electronic device to determine the second check packet when the value of the at least one fourth bit in the first data packet is a fourth value. The first time window is at least one fifth bit in the first data packet, and the at least one fifth bit in the first data packet is used for indicating the first time window when the value of the at least one fifth bit in the first data packet is the fifth value. It will be appreciated that the first, second, third, fourth, and fifth values may be the same, may be partially the same, or may be entirely different. Further, the first data packet is further used for indicating the second electronic device to perform forward link switching and backward link switching, and the switched forward link is the forward link indicated by the first forward link indication information, and the switched backward link is the backward link indicated by the first backward link indication information.
When the first data packet includes the first backward link indication information, the first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data on the backward link indicated by the first backward link indication information is not transmitted; or alternatively, the first and second heat exchangers may be,
the first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data transmission on the backward link indicated by the first backward link indication information is finished.
For example, assume that the first data packet includes first indication information, first forward link indication information, first backward link indication information, check information, and a first time window, see table 1, where table 1 is information indicated by different bits of the first data packet, as shown in table 1:
table 1 shows information indicated by different bits of the first packet
It can be seen that in table 1, when the values of bits 0-1 in the first packet are different, the rates indicated by bits 0-1 are also different. For example, when the value of the bit of 0-1 is 00, the rate indicated by the bit of 0-1 is rate 1; when the value of the bit of 0-1 is 01, the rate indicated by the bit of 0-1 is rate 2; when the value of the bit of 0-1 is 10, the rate indicated by the bit of 0-1 is rate 3; when the value of the bit of 0-1 is 11, the rate indicated by the bit of 0-1 is rate 4. When the values of bits 2-3 in the first data packet are different, the forward links indicated by the bits 2-3 are also different. For example, when the value of the bit of 2-3 is 00, the forward link indicated by the bit of 2-3 is the forward link 1; when the value of the bit of 2-3 is 01, the forward link indicated by the bit of 2-3 is the forward link 2; when the value of the bit of 2-3 is 10, the forward link indicated by the bit of 2-3 is the forward link 3; when the value of the bit of 2-3 is 11, the forward link indicated by the bit of 2-3 is the forward link 4. When the values of bits 4-5 in the first data packet are different, the backward links indicated by the bits 4-5 are also different. For example, when the value of the bit of 4-5 is 00, the backward link indicated by the bit of 4-5 is backward link 1; when the value of the bit of 4-5 is 01, the backward link indicated by the bit of 4-5 is backward link 2; when the value of the bit of 4-5 is 10, the backward link indicated by the bit of 4-5 is the backward link 3; when the value of the bit of 4-5 is 11, the backward link indicated by the bit of 4-5 is the backward link 4. When the values of bits 6-7 in the first data packet are different, the check information indicated by the bits 6-7 is also different. When the value of the bit of 6-7 is 00, the check information indicated by the bit of 6-7 is check information 1; when the value of the bit of 6-7 is 01, the check information indicated by the bit of 6-7 is check information 2; when the value of the bit of 6-7 is 10, the check information indicated by the bit of 6-7 is check information 3; when the value of the bit of 6-7 is 11, the check information indicated by the bit of 6-7 is check information 4. When the values of the bits 8-9 in the first data packet are different, the first time window indicated by the bits 8-9 is also different. When the value of the bit of 8-9 is 00, the first time window indicated by the bit of 8-9 is a first time window 1; when the value of the bit of 8-9 is 01, the first time window indicated by the bit of 8-9 is the first time window 2; when the value of the bit of 8-9 is 10, the first time window indicated by the bit of 8-9 is the first time window 3; when the value of the bit of 8-9 is 11, the first time window indicated by the bit of 8-9 is the first time window 4.
If the rate 1 is smaller than the rate 2, the rate 2 is smaller than the rate 3, and the rate 3 is smaller than the rate 4. Then, rate 1 may be, for example, 1.5 gigabits per second (gigaBit per second, gbps); rate 2 may be, for example, 4Gbps; rate 3 may be, for example, 8Gbps; rate 4 may be, for example, 16Gbps. It will be appreciated that the particular rate is the greatest and the rate is the smallest and is not limited herein.
In addition, for example, referring to fig. 3, fig. 3 is a schematic link diagram provided in an embodiment of the present application. It can be seen that the link between the physical layer of the first electronic device and the physical layer of the second electronic device comprises 4 forward links and 4 backward links. For example, a forward link with a link code of 00 may be forward link 1, a forward link with a link code of 01 may be forward link 2, a forward link with a link code of 10 may be forward link 3, and a forward link with a link code of 11 may be forward link 4. For another example, a backward link with a link code of 00 may be backward link 1, a backward link with a link code of 01 may be backward link 2, a backward link with a link code of 10 may be backward link 3, and a backward link with a link code of 11 may be backward link 4.
Further, the second electronic device receives the first data packet sent by the first electronic device, that is, the control module of the second electronic device receives, through the receiver of the second electronic device, the first data packet sent by the control module of the first electronic device through the transmitter of the first electronic device. Specifically, referring to fig. 4, fig. 4 is a flow chart of another transmission rate switching method according to an embodiment of the present application. It can be seen that there is an interaction between the protocol layer of the first electronic device and the physical layer of the first electronic device, and that there is also an interaction between the protocol layer of the second electronic device and the physical layer of the second electronic device. Specifically, the protocol layer of the first electronic device may send a transmission rate switching instruction to the physical layer of the first electronic device. The transmission rate switch instruction may include a first rate, first forward link indication information, check information, and a first time window. The transmission rate switch instruction may also include a first rate, first backward link indication information, check information, and a first time window. The transmission rate switch instruction may also include a first rate, first forward link indication information, first backward link indication information, check information, and a first time window. It may be appreciated that the physical layer of the first electronic device may receive the transmission rate switching instruction sent by the protocol layer of the first electronic device, i.e. the control module of the first electronic device receives the transmission rate switching instruction. Further, the control module of the first electronic device may parse the transmission rate switching instruction to obtain a parsed transmission rate switching instruction. Then, the control module of the first electronic device may generate a first data packet based on the parsed transmission rate switching instruction. The control module of the first electronic device may then send the first data packet via the transmitter of the first electronic device to the receiver of the second electronic device.
Further, the control module of the second electronic device may parse the first data packet. If the control module of the second electronic device after parsing determines that the first data packet includes the indication information, the first forward link indication information, the check information and the first time window, the control module of the second electronic device may control the receiver of the second electronic device to switch the transmission rate according to the first data packet, and the transmission rate after switching is the first rate. That is, the control module of the second electronic device may control the receiver of the second electronic device to perform forward link switching according to the first data packet, where the switched forward link is the forward link indicated by the first forward link indication information.
If the control module of the second electronic device after parsing determines that the first data packet includes the indication information, the first backward link indication information, the check information and the first time window, the physical layer of the second electronic device may send a backward link cut-speed request to the protocol layer of the second electronic device, that is, the control module of the second electronic device may send a backward link cut-speed request to the protocol layer of the second electronic device. And when receiving a backward link cut-off response sent by a protocol layer of the second electronic device, the control module of the second electronic device controls the transmitter of the second electronic device to switch the transmission rate according to the first data packet when detecting that the data is not transmitted on the backward link indicated by the first backward link indication information, or controls the transmitter of the second electronic device to switch the transmission rate according to the first data packet when detecting that the data transmission on the backward link indicated by the first backward link indication information is finished.
If the control module of the second electronic device after parsing determines that the first data packet includes the indication information, the first forward link indication information, the first backward link indication information, the check information and the first time window, the control module of the second electronic device may control the receiver of the second electronic device to perform forward link switching according to the first data packet, where the switched forward link is the forward link indicated by the first forward link indication information, and send a backward link cut-speed request to the protocol layer of the second electronic device. And when receiving a backward link cut-off response sent by a protocol layer of the second electronic device, the control module of the second electronic device controls the transmitter of the second electronic device to switch the transmission rate according to the first data packet when detecting that the data is not transmitted on the backward link indicated by the first backward link indication information, or controls the transmitter of the second electronic device to switch the transmission rate according to the first data packet when detecting that the data transmission on the backward link indicated by the first backward link indication information is finished.
According to the technical scheme, the speed is indicated by the indication information, and preparation is made for the subsequent second electronic device to switch the transmission speed. The method and the device also realize accurate control of the switching link, avoid the problem that in the prior art, multiple interactions are needed for switching the link every time, simplify the negotiation process and improve the transmission rate switching efficiency. In addition, the problem that data transmission failure on the backward link indicated by the first backward link indication information is caused by unreliable data transmission after the transmission rate is switched according to the first data packet is avoided.
202. And the first electronic device performs transmission rate switching according to the first rate, and the transmission rate after the first electronic device is switched is the first rate.
It can be seen that in the above technical solution, the negotiation process is simplified, and the transmission rate switching efficiency is improved.
Referring to fig. 5, fig. 5 is a flowchart of another transmission rate switching method according to an embodiment of the present application. As shown in fig. 5, the method is applied to an electronic apparatus including a first electronic device and a second electronic device, and includes:
501. the second electronic device receives a first data packet sent by the first electronic device, wherein the first data packet is used for indicating the second electronic device to switch the transmission rate, and the transmission rate after switching is the first rate.
The content of the first data packet may refer to step 201 in fig. 2, which is not described herein.
502. And the first electronic device performs transmission rate switching according to the first rate, and the transmission rate after the first electronic device is switched is the first rate.
503. The first electronic device sends at least one first check packet to the second electronic device at a first rate, the first check packet including a check corresponding to the check information.
504. When N first check packets in the first check packets are received in the first time window, the second electronic device sends at least one second check packet to the first electronic device at a first rate.
The second verification packet is sent by the second electronic device in the first time window and is determined by the second electronic device according to the verification information, and N is an integer greater than 1. N may be, for example, a number of 2, 3, 4, 5, 6, 7, 10, etc.
If N second check packets of the second check packets are received in the first time window, step 505 is executed; if N second check packets of the second check packets are not received within the first time window, step 506 is performed.
It can be appreciated that when the first electronic device sends the first verification packet to the second electronic device at the first rate, the first electronic device starts timing, so as to obtain a first start time corresponding to the first electronic device. Further, based on the first start time corresponding to the first electronic device, if N second verification packets in the second verification packets are received in the first time window, step 505 is executed. Based on the first start time corresponding to the first electronic device, if N second check packets in the second check packets are not received within the first time window, step 506 is executed. Further, the first ending time corresponding to the first electronic device is determined according to the first starting time and the first time window corresponding to the first electronic device.
The first electronic device sends the first check packet to the second electronic device at a first rate, that is, the control module of the first electronic device sends the first check packet to the receiver of the second electronic device through the transmitter of the first electronic device at the first rate. Specifically, referring to fig. 6, fig. 6 is a flow chart of another transmission rate switching method according to an embodiment of the present application. As shown in fig. 6, it can be seen that the control module of the first electronic device can transmit the first verification packet at a first rate through the transmitter of the first electronic device to the receiver of the second electronic device. When the second electronic device receives N first check packets in the first check packets, the control module of the second electronic device can determine the second check packets according to check information included in the first data packets. The second electronic device may then send the second verification packet to the first electronic device at the first rate. I.e. the control module of the second electronic device may send the second check packet at the first rate via the transmitter of the second electronic device to the receiver of the first electronic device.
It will be appreciated that the first and second check packets are the same check packet.
When the second electronic device switches the transmission rate according to the first data packet, the second electronic device starts timing to obtain a first start time corresponding to the second electronic device. And when N first check packets in the first check packets are received in a first time window by taking the first starting time corresponding to the second electronic device as a reference, the second electronic device sends at least one second check packet to the first electronic device at a first speed. And when N second check packets in the first check packet are received in the first time window, the second electronic device determines to transmit data to the first electronic device at the first rate. After the second electronic device determines to transmit data to the first electronic device at the first rate, the second electronic device stops transmitting the second verification package to the first electronic device at the first rate regardless of whether the second electronic device has stopped timing. In addition, after the second electronic device determines to transmit data to the first electronic device at the first rate, the physical layer of the second electronic device may send a message to the protocol layer of the second electronic device that the rate switching is successful. At this time, the second electronic device is in a standby state, waiting for the subsequent transmission of data at the first rate.
Further, the first end time corresponding to the second electronic device is determined according to the first start time and the first time window corresponding to the second electronic device.
In addition, if N first check packets in the first check packets are not received within the first time window, the second electronic device may switch the first rate to a rate before the second electronic device switches the transmission rate to the first rate.
505. The first electronic device then determines to transmit data to the second electronic device at the first rate.
Wherein after the first electronic device determines to transmit data to the second electronic device at the first rate, the first electronic device stops transmitting the first verification packet to the second electronic device at the first rate regardless of whether the first electronic device has stopped timing. In addition, after the first electronic device determines to transmit data to the second electronic device at the first rate, the physical layer of the first electronic device may send a message to the protocol layer of the first electronic device that the rate switching is successful. At this time, the first electronic device is in a standby state, and waits for the subsequent transmission of data at the first rate.
506. The first electronic device then sends the first verification packet to the second electronic device at the first rate again after sending the first data packet to the second electronic device at the second rate.
Before the first data packet is sent to the second electronic device at the second rate, the first electronic device may switch the first rate to the second rate, and further, the first electronic device may send the first data packet to the second electronic device at the second rate. Further, after the first data packet is sent to the second electronic device at the second rate, before the first check packet is sent to the second electronic device at the first rate, the first electronic device further performs transmission rate switching according to the first rate, and the transmission rate after the first electronic device switching is the first rate. It can be appreciated that when the first electronic device sends the first verification packet to the second electronic device again at the first rate, the first electronic device starts timing, so as to obtain a second start time corresponding to the first electronic device. Further, based on a second start time corresponding to the first electronic device, if N second check packets in the second check packets are received again within the first time window, the first electronic device determines to transmit data to the second electronic device at the first rate. Further, the following process may refer to step 505 in fig. 5, and is not described herein in detail with respect to the relevant content after the first electronic device determines to transmit data to the second electronic device at the first rate.
Taking the second start time corresponding to the first electronic device as a reference, if N second check packets in the second check packets are not received in the first time window, executing step 507. Further, the second ending time corresponding to the first electronic device is determined according to the second starting time and the first time window corresponding to the first electronic device.
507. When N first check packets in the first check packets are received in the first time window, the second electronic device sends the second check packets to the first electronic device again at the first rate.
If N second check packets in the second check packets are received in the first time window, the first electronic device determines to transmit data to the second electronic device at the first rate. Further, the following process may refer to step 505 in fig. 5, and is not described herein in detail with respect to the relevant content after the first electronic device determines to transmit data to the second electronic device at the first rate.
If N second check packets of the second check packets have not been received within the first time window, step 508 is performed.
When the second electronic device switches the transmission rate according to the first data packet again, the second electronic device starts timing to obtain a second start time corresponding to the second electronic device. And when N first check packets in the first check packets are received in the first time window by taking the second starting time corresponding to the second electronic device as a reference, the second electronic device sends at least one second check packet to the first electronic device at a first speed. And when N first check packets in the first check packets are received in the first time window, the second electronic device determines to transmit data to the first electronic device at the first speed. After the second electronic device determines to transmit data to the first electronic device at the first rate, the second electronic device stops transmitting the second verification package to the first electronic device at the first rate regardless of whether the second electronic device has stopped timing. In addition, after the second electronic device determines to transmit data to the first electronic device at the first rate, the physical layer of the second electronic device may send a message to the protocol layer of the second electronic device that the rate switching is successful. At this time, the second electronic device is in a standby state, waiting for the subsequent transmission of data at the first rate.
Further, the second ending time corresponding to the second electronic device is determined according to the second starting time and the first time window corresponding to the second electronic device.
508. The first electronic device sends a second data packet to the second electronic device at a third rate after switching the first rate to the third rate, the second data packet is used for indicating the second electronic device to switch the transmission rate, the switched transmission rate is a fourth rate, the transmission rate is switched according to the fourth rate, the transmission rate after switching the first electronic device is the fourth rate, and the first check packet is sent to the second electronic device at the fourth rate until the first electronic device determines that the fourth rate is used for transmitting data to the second electronic device.
The second rate is a rate before the first electronic device switches the transmission rate to the first rate, the second rate is smaller than the first rate, the third rate is a rate at which the transmission rate corresponding to the first electronic device is the lowest, the fourth rate is larger than the second rate and the fourth rate is smaller than the first rate.
The second data packet may include second indication information, second forward link indication information, check information, and a second time window, and the second data packet may also include indication information, second backward link indication information, check information, and a second time window, and the second data packet may also include second indication information, second forward link indication information, second backward link indication information, check information, and a second time window. Further, the second indication information is used to indicate the fourth rate. In addition, the second time window is determined based on a fourth rate. For example, the larger the fourth rate, the longer the second time window; the smaller the fourth rate, the shorter the second time window. In addition, the first data packet includes the same check information as the second data packet.
It should be noted that, when the second data packet includes the second indication information, the second forward link indication information, the check information, and the second time window, the second indication information is at least one first bit in the second data packet, and when the value of the at least one first bit in the second data packet is the first value, the at least one first bit in the second data packet is used to indicate the first rate. The second forward link indication information is at least one second bit in the second data packet, and the at least one second bit in the second data packet is used for indicating the forward link indicated by the second forward link indication information when the value of the at least one second bit in the second data packet is a second value. The second data packet includes check information that is at least one third bit in the second data packet, and the at least one third bit in the second data packet is used by the second electronic device to determine the second check packet when the value of the at least one third bit in the second data packet is a third value. The second time window is at least one fourth bit in the second data packet, and the at least one fourth bit in the second data packet is used for indicating the second time window when the value of the at least one fourth bit in the second data packet is a fourth value. The first value, the second value, the third value, and the fourth value may be the same, may be partially the same, or may be completely different. Further, the second data packet is further used for indicating the second electronic device to perform forward link switching, and the switched forward link is the forward link indicated by the second forward link indication information.
When the second data packet includes second indication information, second backward link indication information, check information and a second time window, the second indication information is at least one first bit in the second data packet, and the value of the at least one first bit in the second data packet is a first value, the at least one first bit in the second data packet is used for indicating the first rate. The second backward link indication information is at least one second bit in the second data packet, and the at least one second bit in the second data packet is used for indicating the backward link indicated by the second backward link indication information when the value of the at least one second bit in the second data packet is a second value. The second data packet includes check information that is at least one third bit in the second data packet, and the at least one third bit in the second data packet is used by the second electronic device to determine the second check packet when the value of the at least one third bit in the second data packet is a third value. The second time window is at least one fourth bit in the second data packet, and the at least one fourth bit in the second data packet is used for indicating the second time window when the value of the at least one fourth bit in the second data packet is a fourth value. The first value, the second value, the third value, and the fourth value may be the same, may be partially the same, or may be completely different. Further, the second data packet is further configured to instruct the second electronic device to perform a backward link handover, and the backward link after the handover is the backward link indicated by the second backward link indication information.
When the second data packet includes second indication information, second forward link indication information, second backward link indication information, check information and a second time window, the second indication information is at least one first bit in the second data packet, and the value of the at least one first bit in the second data packet is a first value, the at least one first bit in the second data packet is used for indicating the first rate. The second forward link indication information is at least one second bit in the second data packet, and the at least one second bit in the second data packet is used for indicating the forward link indicated by the second forward link indication information when the value of the at least one second bit in the second data packet is a second value. The second backward link indication information is at least one third bit in the second data packet, and the at least one third bit in the second data packet is used for indicating the backward link indicated by the second backward link indication information when the value of the at least one third bit in the second data packet is a third value. The second data packet includes check information that is at least one fourth bit in the second data packet, and the at least one fourth bit in the second data packet is used by the second electronic device to determine the second check packet when the value of the at least one fourth bit in the second data packet is a fourth value. The second time window is at least one fifth bit in the second data packet, and the at least one fifth bit in the second data packet is used for indicating the second time window when the value of the at least one fifth bit in the second data packet is the fifth value. It will be appreciated that the first, second, third, fourth, and fifth values may be the same, may be partially the same, or may be entirely different. Further, the second data packet is further configured to instruct the second electronic device to perform forward link switching and backward link switching, where the switched forward link is a forward link indicated by the second forward link indication information, and the switched backward link is a backward link indicated by the second backward link indication information.
When the second data packet includes the second backward link indication information, the second data packet is further used for indicating the second electronic device to switch the transmission rate according to the second data packet when detecting that the data on the backward link indicated by the second backward link indication information is not transmitted; or alternatively, the first and second heat exchangers may be,
the first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data transmission on the backward link indicated by the first backward link indication information is finished.
Further, the first electronic device sends the second data packet to the second electronic device at the third rate, that is, the control module of the first electronic device sends the second data packet to the control module of the second electronic device at the third rate through the transmitter of the first electronic device. It will be appreciated that when the first electronic device sends the second data packet to the second electronic device at the third rate, an interaction procedure between the protocol layer of the first electronic device and the physical layer of the first electronic device may be involved, and an interaction procedure between the protocol layer of the second electronic device and the physical layer of the second electronic device may be involved. Further, referring to step 201 of fig. 2, the interaction process between the protocol layer of the first electronic device and the physical layer of the first electronic device, and the interaction process between the protocol layer of the second electronic device and the physical layer of the second electronic device may be referred to herein, and are not described in detail.
It will be appreciated that upon receiving N of the first verification packets within the second time window, the second electronic device transmits the second verification packets to the first electronic device at a fourth rate. If N second check packets in the second check packets are received in the second time window, the first electronic device determines to transmit data to the second electronic device at the fourth rate. Further, when the first electronic device sends the first verification packet to the second electronic device at the fourth rate, the first electronic device starts timing, and a third starting time corresponding to the first electronic device is obtained. Further, based on a third start time corresponding to the first electronic device, if N second check packets in the second check packets are received in the second time window, the first electronic device determines to transmit data to the second electronic device at the fourth rate. Further, the third ending time corresponding to the first electronic device is determined according to the third starting time and the second time window corresponding to the first electronic device. In addition, after the first electronic device determines to transmit data to the second electronic device at the fourth rate, the first electronic device stops transmitting the first verification packet to the second electronic device at the fourth rate regardless of whether the first electronic device has stopped timing. In addition, after the first electronic device determines to transmit data to the second electronic device at the fourth rate, the physical layer of the first electronic device may send a message to the protocol layer of the first electronic device that the rate switching is successful. At this time, the first electronic device is in a standby state, and waits for the subsequent transmission of data at the fourth rate.
If N second check packets in the second check packets are not received within the second time window, the first electronic device may switch the fourth rate to the third rate or may switch the fourth rate to the second rate, so that data may be transmitted to the second electronic device at the second rate or the third rate.
When the second electronic device switches the transmission rate according to the second data packet, the second electronic device starts timing to obtain a third start time corresponding to the second electronic device. And when N first check packets in the first check packets are received in a second time window by taking the third starting time corresponding to the second electronic device as a reference, the second electronic device sends at least one second check packet to the first electronic device at a fourth rate. And when N first check packets in the first check packets are received in the second time window, the second electronic device determines to transmit data to the first electronic device at the fourth rate. Further, the third end time corresponding to the second electronic device is determined according to the third start time and the second time window corresponding to the second electronic device. In addition, after the second electronic device determines to transmit data to the first electronic device at the fourth rate, the second electronic device stops transmitting the second verification packet to the first electronic device at the fourth rate regardless of whether the second electronic device has stopped timing. In addition, after the second electronic device determines to transmit data to the first electronic device at the fourth rate, the physical layer of the second electronic device may send a message to the protocol layer of the second electronic device that the rate switching is successful. At this time, the second electronic device is in a standby state, waiting for the subsequent transmission of data at the first rate.
In addition, if N first check packets in the first check packets are not received within the second time window, the second electronic device may switch the fourth rate to a rate before the second electronic device switches the transmission rate to the fourth rate.
It can be seen that in the above technical solution, the negotiation process is simplified, and the transmission rate switching efficiency is improved. Meanwhile, through the check packet and the second time window, the check on the reliability of data transmission after the cut speed is realized, and the phenomenon that the data is transmitted to the second electronic device by adopting the switched speed when the data transmission after the cut speed is unreliable is avoided. In addition, the method also realizes that the second data packet is sent to the second electronic device by adopting the original rate before switching to the first rate when the data transmission is unreliable after the cut-in, and eliminates the problem of failure of new rate negotiation caused by external sporadic factors. Meanwhile, when the check packet is not received in the second time window, namely, the data transmission is still unreliable after the cut-in, a more flexible cut-in mode is provided by adopting the minimum speed corresponding to the equipment to transmit the new data packet.
The transmission rate switching device provided by the embodiment of the application comprises a first electronic device and a second electronic device.
The second electronic device is configured to receive a first data packet sent by the first electronic device, where the first data packet is configured to instruct the second electronic device to switch a transmission rate, and the transmission rate after switching is a first rate.
The content of the first data packet may refer to step 201 in fig. 2, which is not described herein.
And the first electronic device is used for switching the transmission rate according to the first rate, and the transmission rate after the switching of the first electronic device is the first rate.
It can be seen that in the above technical solution, the negotiation process is simplified, and the transmission rate switching efficiency is improved.
In one possible embodiment, the first data packet includes first indication information, the first indication information being used to indicate the first rate.
According to the technical scheme, the speed is indicated by the indication information, and preparation is made for the subsequent second electronic device to switch the transmission speed.
In one possible implementation, the first data packet further includes first forward link indication information and/or first backward link indication information, the first data packet is further used for indicating the second electronic device to perform forward link switching and/or backward link switching, and the switched forward link is a forward link indicated by the first forward link indication information, and the switched backward link is a backward link indicated by the first backward link indication information.
According to the technical scheme, accurate control of the switching link is realized, the problem that multiple interactions are needed for switching the link every time in the prior art is avoided, the negotiation process is simplified, and the transmission rate switching efficiency is improved.
In one possible implementation, the first data packet is further used to instruct the second electronic device to perform transmission rate switching according to the first data packet when detecting that the data is not transmitted on the backward link indicated by the first backward link indication information; or alternatively, the first and second heat exchangers may be,
the first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data transmission on the backward link indicated by the first backward link indication information is finished.
It can be seen that, in the above technical solution, the problem of data transmission failure on the backward link indicated by the first backward link indication information due to unreliable data transmission after the transmission rate is switched according to the second data packet is avoided.
In one possible implementation, the first data packet further includes verification information and a first time window,
the first electronic device is further configured to send at least one first verification packet to the second electronic device at a first rate;
The second electronic device is further configured to send at least one second verification packet to the first electronic device at a first rate when N first verification packets in the first verification packets are received in the first time window, where the second verification packet is sent by the second electronic device in the first time window and the second verification packet is determined by the second electronic device according to the verification information, and N is an integer greater than 1;
the first electronic device is further configured to determine to transmit data to the second electronic device at the first rate if N second check packets of the second check packets are received within the first time window.
The step 504 in fig. 5 may be referred to as a step for transmitting the first check packet to the second electronic device at the first rate, which is not described herein. Reference may be made to step 504 in fig. 5 for transmitting at least one second check packet to the first electronic device at the first rate, which is not described in detail herein. Reference may be made to step 505 of fig. 5 for determining to transmit data to the second electronic device at the first rate, which is not described in detail herein.
According to the technical scheme, the check of the reliability of the data transmission after the cut speed is realized through the check packet and the first time window, and the phenomenon that the data is transmitted to the second electronic device by adopting the switched speed when the data transmission after the cut speed is unreliable is avoided.
In one possible implementation, if N second check packets in the second check packets are not received within the first time window, the first electronic device is further configured to send the first check packet to the second electronic device at the first rate again after sending the first data packet to the second electronic device at the second rate;
the second electronic device is further configured to send the second check packet to the first electronic device again at the first rate when N first check packets in the first check packets are received in the first time window;
if N second check packets in the second check packets are not received within the first time window, the first electronic device is further configured to send a second data packet to the second electronic device at a third rate after the first rate is switched to the third rate, where the second data packet is used to instruct the second electronic device to switch the transmission rate, and the switched transmission rate is a fourth rate, and the transmission rate is switched according to the fourth rate, where the transmission rate after the first electronic device is switched is the fourth rate, and send the first check packet to the second electronic device at the fourth rate until the first electronic device determines to transmit data to the second electronic device at the fourth rate;
The second rate is a rate before the first electronic device switches the transmission rate to the first rate, the second rate is smaller than the first rate, the third rate is a rate at which the transmission rate corresponding to the first electronic device is the lowest, the fourth rate is larger than the second rate and the fourth rate is smaller than the first rate.
The step 506 in fig. 5 may be referred to for the content of sending the first check packet to the second electronic device at the first rate again, which is not described herein. The content of sending the second verification packet to the first electronic device at the first rate again may refer to step 504 in fig. 5, and will not be described in detail herein. The step 508 in fig. 5 may be referred to for the content of transmitting the second data packet to the second electronic device at the third rate after the first rate is switched to the third rate, which is not described herein.
According to the technical scheme, when the data transmission is unreliable after the cutting speed, the original speed before switching to the first speed is adopted to send the second data packet to the second electronic device, and the problem that the new speed negotiation fails due to external sporadic factors is solved. Meanwhile, when the check packet is not received in the first time window, namely, the data transmission is still unreliable after the cut-in, a more flexible cut-in mode is provided by adopting the minimum speed corresponding to the equipment to transmit the new data packet.
The present application also provides a computer readable storage medium having a computer program stored therein, which when executed, implements any one of the methods, such as the transmission rate switching method.
The foregoing embodiments have been provided for the purpose of illustrating the technical solution and advantageous effects of the present application in further detail, and it should be understood that the foregoing embodiments are merely illustrative of the present application and are not intended to limit the scope of the present application, and any modifications, equivalents, improvements, etc. made on the basis of the technical solution of the present application should be included in the scope of the present application.

Claims (11)

1. A transmission rate switching method, wherein the method is applied to an electronic device, the electronic device including a first electronic device and a second electronic device, the method comprising:
the second electronic device receives a first data packet sent by the first electronic device, wherein the first data packet is used for indicating the second electronic device to switch transmission rate, and the transmission rate after switching is a first rate;
the first electronic device performs transmission rate switching according to the first rate, and the transmission rate after the switching of the first electronic device is the first rate;
The first data packet further includes verification information and a first time window, and after the first electronic device performs transmission rate switching according to the first rate, the method further includes:
the first electronic device sends at least one first check packet to the second electronic device at the first rate;
when receiving N first check packets in the first time window, the second electronic device sends at least one second check packet to the first electronic device at the first rate, wherein the second check packet is sent by the second electronic device in the first time window and is determined by the second electronic device according to the check information, and N is an integer greater than 1;
if the N second check packets in the second check packets are received in the first time window, the first electronic device determines to transmit data to the second electronic device at the first rate.
2. The method of claim 1, wherein the first data packet includes first indication information, the first indication information being used to indicate the first rate.
3. The method according to claim 1 or 2, wherein the first data packet further comprises first forward link indication information and/or first backward link indication information, the first data packet is further used for indicating the second electronic device to perform forward link switching and/or backward link switching, and the forward link after switching is the forward link indicated by the first forward link indication information, and the backward link after switching is the backward link indicated by the first backward link indication information.
4. The method of claim 3, wherein the first data packet is further used to instruct the second electronic device to perform a transmission rate switch according to the first data packet when detecting that no data is being transmitted on the reverse link indicated by the first reverse link indication information; or alternatively, the first and second heat exchangers may be,
the first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data transmission on the backward link indicated by the first backward link indication information is finished.
5. The method according to claim 1, wherein the method further comprises:
if the N second check packets in the second check packets are not received in the first time window, the first electronic device sends the first check packet to the second electronic device at the first rate again after sending the first data packet to the second electronic device at the second rate;
When the N first check packets in the first check packets are received in the first time window, the second electronic device sends the second check packets to the first electronic device again at the first speed;
if the N second check packets in the second check packet are not received within the first time window, the first electronic device sends a second data packet to the second electronic device at the third rate after the first electronic device switches the first rate to the third rate, the second data packet is used for indicating the second electronic device to switch the transmission rate, the switched transmission rate is a fourth rate, the transmission rate is switched according to the fourth rate, the transmission rate after the first electronic device is the fourth rate, and the first check packet is sent to the second electronic device at the fourth rate until the first electronic device determines to transmit data to the second electronic device at the fourth rate;
the second rate is a rate before the first electronic device switches the transmission rate to the first rate, the second rate is smaller than the first rate, the third rate is a rate with the lowest rate in the transmission rate corresponding to the first electronic device, and the fourth rate is larger than the second rate and smaller than the first rate.
6. A transmission rate switching apparatus, characterized in that the apparatus comprises a first electronic device and a second electronic device,
the second electronic device is configured to receive a first data packet sent by the first electronic device, where the first data packet is used to instruct the second electronic device to switch a transmission rate, and the transmission rate after switching is a first rate;
the first electronic device is configured to perform transmission rate switching according to the first rate, where the transmission rate after the first electronic device switching is the first rate;
the first data packet further includes verification information and a first time window,
the first electronic device is further configured to send at least one first verification packet to the second electronic device at the first rate;
the second electronic device is further configured to send at least one second verification packet to the first electronic device at the first rate when N first verification packets in the first verification packet are received in the first time window, where the second verification packet is sent by the second electronic device in the first time window and the second verification packet is determined by the second electronic device according to the verification information, and N is an integer greater than 1;
The first electronic device is further configured to determine to transmit data to the second electronic device at the first rate if the N second verification packets of the second verification packets are received within the first time window.
7. The apparatus of claim 6, wherein the first data packet comprises first indication information indicating the first rate.
8. The apparatus according to claim 6 or 7, wherein the first data packet further comprises first forward link indication information and/or first backward link indication information, the first data packet is further used to instruct the second electronic device to perform forward link handover and/or backward link handover, and the forward link after handover is the forward link indicated by the first forward link indication information, and the backward link after handover is the backward link indicated by the first backward link indication information.
9. The apparatus of claim 8, wherein the first data packet is further configured to instruct the second electronic device to perform a transmission rate switch according to the first data packet when detecting that no data is being transmitted on the reverse link indicated by the first reverse link indication information; or alternatively, the first and second heat exchangers may be,
The first data packet is further used for indicating the second electronic device to switch the transmission rate according to the first data packet when detecting that the data transmission on the backward link indicated by the first backward link indication information is finished.
10. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
if the N second check packets in the second check packet are not received within the first time window, the first electronic device is further configured to send the first check packet to the second electronic device at the first rate again after sending the first data packet to the second electronic device at the second rate;
when the N first check packets in the first check packets are received in the first time window, the second electronic device is further configured to send the second check packet to the first electronic device again at the first rate;
if the N second check packets in the second check packet are not received yet within the first time window, the first electronic device is further configured to send a second data packet to the second electronic device at a third rate after the first rate is switched to the third rate, where the second data packet is used to instruct the second electronic device to perform transmission rate switching, and the transmission rate after switching is a fourth rate, and perform transmission rate switching according to the fourth rate, where the transmission rate after switching of the first electronic device is the fourth rate, and send the first check packet to the second electronic device at the fourth rate until the first electronic device determines to transmit data to the second electronic device at the fourth rate;
The second rate is a rate before the first electronic device switches the transmission rate to the first rate, the second rate is smaller than the first rate, the third rate is a rate with the lowest rate in the transmission rate corresponding to the first electronic device, and the fourth rate is larger than the second rate and smaller than the first rate.
11. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when run, implements the method according to any of claims 1-5.
CN202010352238.6A 2020-04-28 2020-04-28 Transmission rate switching method and related device Active CN113572569B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010352238.6A CN113572569B (en) 2020-04-28 2020-04-28 Transmission rate switching method and related device
PCT/CN2021/071154 WO2021218239A1 (en) 2020-04-28 2021-01-12 Transmission rate switching method and related apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010352238.6A CN113572569B (en) 2020-04-28 2020-04-28 Transmission rate switching method and related device

Publications (2)

Publication Number Publication Date
CN113572569A CN113572569A (en) 2021-10-29
CN113572569B true CN113572569B (en) 2024-03-26

Family

ID=78158225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010352238.6A Active CN113572569B (en) 2020-04-28 2020-04-28 Transmission rate switching method and related device

Country Status (2)

Country Link
CN (1) CN113572569B (en)
WO (1) WO2021218239A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8203940B1 (en) * 2011-02-23 2012-06-19 Google Inc. Rate adaptation in a communication system
CN106716873A (en) * 2014-10-13 2017-05-24 华为技术有限公司 Hitless, multi-rate optical transmission and reception
CN108170369A (en) * 2016-12-07 2018-06-15 慧荣科技股份有限公司 Host device and data transmission rate control method
CN108243440A (en) * 2016-12-26 2018-07-03 大唐移动通信设备有限公司 Rate switching method and device between a kind of plate
CN108370288A (en) * 2015-12-14 2018-08-03 高通股份有限公司 The technology of rate for adaptation data transmission
CN110098863A (en) * 2019-05-07 2019-08-06 中国人民解放军32039部队 Link rate adaptive transmission method, apparatus and system
CN110248341A (en) * 2018-03-08 2019-09-17 华为技术有限公司 Transmission rate switching method, bluetooth equipment and computer-readable medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2675092B1 (en) * 2012-06-15 2019-08-07 Telefonaktiebolaget LM Ericsson (publ) Methods and systems for dynamic speed change on high speed interconnects
KR20160131413A (en) * 2015-05-07 2016-11-16 삼성전자주식회사 Apparatus and method for controlling data rate in wireless communication system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8203940B1 (en) * 2011-02-23 2012-06-19 Google Inc. Rate adaptation in a communication system
CN106716873A (en) * 2014-10-13 2017-05-24 华为技术有限公司 Hitless, multi-rate optical transmission and reception
CN108370288A (en) * 2015-12-14 2018-08-03 高通股份有限公司 The technology of rate for adaptation data transmission
CN108170369A (en) * 2016-12-07 2018-06-15 慧荣科技股份有限公司 Host device and data transmission rate control method
CN108243440A (en) * 2016-12-26 2018-07-03 大唐移动通信设备有限公司 Rate switching method and device between a kind of plate
CN110248341A (en) * 2018-03-08 2019-09-17 华为技术有限公司 Transmission rate switching method, bluetooth equipment and computer-readable medium
CN110098863A (en) * 2019-05-07 2019-08-06 中国人民解放军32039部队 Link rate adaptive transmission method, apparatus and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"design of a D-PHY chip for mobile display interface supporting MIPI standard";KIM;《IEEE》;20120301;全文 *
"基于MIPI标准下的D-PHY的设计与验证";承文龙;《计算机测量与控制》;20170930;全文 *
"基于SCTP的传输层无缝切换技术设计与实现";杜艳峰;《中国优秀硕士学位论文全文数据库信息科技辑》;20131115;全文 *

Also Published As

Publication number Publication date
CN113572569A (en) 2021-10-29
WO2021218239A1 (en) 2021-11-04

Similar Documents

Publication Publication Date Title
KR100779753B1 (en) Method and apparatus for polling transmission status in a wireless communication system
RU2009138237A (en) METHOD AND DEVICE FOR ORDERED POLLING IN A WIRELESS COMMUNICATION SYSTEM
CN110166206B (en) Method and terminal for determining HARQ-ACK codebook
JP2007089174A (en) Method and device for improving signal transmission rate in wireless communication system
US20170164231A1 (en) Data transmission method and base station
US9197373B2 (en) Method, apparatus, and system for retransmitting data packet in quick path interconnect system
WO2018036026A1 (en) Data transmission method, base station, target terminal, system and storage medium
CN109257138B (en) Data transmission control method and related equipment
CN108092745A (en) Data transmission method, device, equipment and the storage medium of point-to-point equipment
WO2015085964A1 (en) Voice transmission method, device and voice service system
CN109873689B (en) Transmission method and terminal for hybrid automatic repeat request response message
EP3432635B1 (en) Method and device for data transmission
EP3618494B1 (en) Method for determining length of feedback response information and related product
EP1936913A1 (en) Method and apparatus for providing voice communication service in a wireless communications system
CN113572569B (en) Transmission rate switching method and related device
CN112929455A (en) UDP-based data transmission method, device, equipment and readable storage medium
CN111817830B (en) Transmission and reception control method, terminal and network side equipment
KR20080039322A (en) Method and apparatus for handling protocol error in a wireless communications system
CN112136285A (en) Data transmission method, device and storage medium
CN113273149A (en) Data sending method and device and FlexE exchange system
WO2021147764A1 (en) Channel state information (csi) reporting method, terminal, and computer-readable storage medium
CN106330357B (en) A kind of transfer check method, node and the system of SERDES
CN115412972B (en) Data transmission method, device and system
WO2021018227A1 (en) Uplink control information transmission method, terminal device, and storage medium
CN110831060B (en) Method and equipment for carrying MAC CE of data packet

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