CN112867159B - Data transmission method, first device, second device and storage medium - Google Patents

Data transmission method, first device, second device and storage medium Download PDF

Info

Publication number
CN112867159B
CN112867159B CN202110445362.1A CN202110445362A CN112867159B CN 112867159 B CN112867159 B CN 112867159B CN 202110445362 A CN202110445362 A CN 202110445362A CN 112867159 B CN112867159 B CN 112867159B
Authority
CN
China
Prior art keywords
channel
information
data
receiving data
acknowledgement
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
CN202110445362.1A
Other languages
Chinese (zh)
Other versions
CN112867159A (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.)
Zhejiang Huachuang Video Signal Technology Co Ltd
Original Assignee
Zhejiang Huachuang Video Signal Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Huachuang Video Signal Technology Co Ltd filed Critical Zhejiang Huachuang Video Signal Technology Co Ltd
Priority to CN202110445362.1A priority Critical patent/CN112867159B/en
Publication of CN112867159A publication Critical patent/CN112867159A/en
Application granted granted Critical
Publication of CN112867159B publication Critical patent/CN112867159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/0091Signaling for the administration of the divided path
    • H04L5/0092Indication of how the channel is divided
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria

Abstract

The invention provides a data transmission method, which comprises the following steps: a first device transmits first information including first channel information on at least one channel; the first channel information is used for characterizing a channel used by the first device for receiving data; the first equipment receives second information which is sent by second equipment and comprises second channel information based on a first channel; the second channel information is used for characterizing a channel used by the second device for receiving data; the first device sends first confirmation information based on a second channel, wherein the first confirmation information is used for confirming that a channel for sending data by the first device is the second channel, and a channel for receiving data by the first device is the first channel; the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information; the invention also provides a first device, a second device and a storage medium; according to the invention, data can be transmitted between the first device and the second device efficiently.

Description

Data transmission method, first device, second device and storage medium
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a data transmission method, a first device, a second device, and a storage medium.
Background
Wireless Fidelity (WiFi) has the incomparable advantages of wired networks such as convenient installation, flexible use, economy, easy expansion and the like, and is therefore used more and more widely. When a terminal is connected to a Wireless Access Point (WiFi AP) for data transmission at present, a channel is determined according to the WiFi AP, and a channel condition of the terminal is not considered, so that conditions that data sent to the terminal by the WiFi AP cannot be received or analyzed incorrectly and the like are caused; therefore, how to ensure efficient data transmission between the terminal and the WiFi AP is a technical problem to be solved.
Disclosure of Invention
The present invention provides a data transmission method, a first device, a second device and a storage medium, so as to solve at least the above technical problems in the prior art.
A first aspect of the present invention provides a data transmission method, including: a first device transmits first information including first channel information on at least one channel; the first channel information is used for characterizing a channel used by the first device for receiving data;
the first equipment receives second information which is sent by second equipment and comprises second channel information based on a first channel; the second channel information is used for characterizing a channel used by the second device for receiving data;
the first device sends first acknowledgement information based on a second channel, wherein the first acknowledgement information is used for confirming that a channel for sending data by the first device is the second channel, and a channel for receiving data by the first device is the first channel; the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
In the above scheme, the method further comprises:
the first device confirms the first channel and/or the first channel information based on at least one of the channel utilization rate of the at least one channel, the signal-to-noise ratio of the at least one channel, the signal-to-interference-and-noise ratio of the at least one channel and the number of hot spots within a first threshold range from the first device.
In the above scheme, the method further comprises:
if the first device confirms that the channel of the first device for receiving data is changed from the first channel to a third channel;
the first device sends third information to the second device based on the second channel; the third information comprises third channel information corresponding to the third channel;
the third information is used for indicating that the channel of the first device for receiving data is changed from the first channel to the third channel.
In the above scheme, the method further comprises:
the first device receives fourth information which is sent by the second device and comprises fourth channel information based on the first channel; the fourth information is used for indicating that the channel of the second device for receiving data is changed from the second channel to a fourth channel;
and/or the first device sends third acknowledgement information based on a fourth channel, where the third acknowledgement information is used to confirm that a channel through which the first device sends data is the fourth channel, and a channel through which the first device receives data is the first channel; and the fourth channel is a channel corresponding to the fourth channel information.
A second aspect of the present invention provides a data transmission method, including: the second equipment receives first information which is sent by the first equipment and comprises first channel information based on a second channel; the first channel information is used for characterizing a channel used by the first device for receiving data; the second device transmits second information including second channel information to the first device based on the first channel; the second channel information is used for representing that a channel used by the second device for receiving data is a second channel; the second device receives first acknowledgement information based on the first channel; the first acknowledgement information is used to confirm that the channel through which the second device sends data is the first channel, and the channel through which the second device receives data is the second channel; the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
In the above scheme, the method further comprises:
and the second device confirms the second channel and/or the second channel information based on at least one of the channel utilization rate of at least one channel corresponding to the second device, the signal-to-noise ratio of at least one channel corresponding to the second device, the signal-to-interference-and-noise ratio of at least one channel corresponding to the second device and the number of hot spots within a second threshold range from the second device.
In the above scheme, the method further comprises:
if the second device confirms that the channel of the second device for receiving data is changed from the second channel to a fourth channel;
the second device sends fourth information to the first device based on the first channel; the fourth information comprises fourth channel information corresponding to the fourth channel;
the fourth information is used for indicating that the channel of the second device for receiving data is changed from the second channel to the fourth channel.
In the above scheme, the method further comprises:
the second device receives third information which is sent by the first device and comprises third channel information based on the second channel; the third information is used for representing that the channel of the first equipment for receiving data is changed from the first channel to a third channel;
and/or the second device sends fourth acknowledgement information based on a third channel, where the fourth acknowledgement information is used to confirm that a channel through which the second device sends data is the third channel, and a channel through which the second device receives data is the second channel; and the third channel is a channel corresponding to the third channel information.
A third aspect of the present invention provides a first apparatus comprising: a first transmitting unit for transmitting first information including first channel information on at least one channel; the first channel information is used for characterizing a channel used by the first device for receiving data; sending first confirmation information based on a second channel, wherein the first confirmation information is used for confirming that a channel for sending data by the first equipment is the second channel, and a channel for receiving data by the first equipment is the first channel;
a first receiving unit, configured to receive, based on the first channel, second information including second channel information sent by the second device; the second channel information is used for characterizing a channel used by the second device for receiving data;
the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
A fourth aspect of the present invention provides a second apparatus comprising: a second receiving unit, configured to receive, based on a second channel, first information including first channel information sent by a first device; the first channel information is used for characterizing a channel used by the first device for receiving data; receiving first acknowledgement information based on the second channel; the first acknowledgement information is used to confirm that the channel through which the second device sends data is the first channel, and the channel through which the second device receives data is the second channel;
a second transmitting unit configured to transmit second information including second channel information to the first device based on the first channel; the second channel information is used for representing that a channel used by the second device for receiving data is a second channel;
the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
A fifth aspect of the present invention provides an electronic device that causes a processor to execute the data transmission method performed by the first device or the data transmission method performed by the second device described above.
A sixth aspect of the present invention provides a storage medium storing an executable program that, when executed by a processor, implements the data transmission method executed by the first device or the data transmission method executed by the second device.
Thus, with the data transmission method provided by the embodiment of the present invention, the first device sends the first information including the first channel information on at least one channel; the first channel information is used for characterizing a channel used by the first device for receiving data; the first equipment receives second information which is sent by second equipment and comprises second channel information based on a first channel; the second channel information is used for characterizing a channel used by the second device for receiving data; the first device sends first acknowledgement information based on a second channel, wherein the first acknowledgement information is used for confirming that a channel for sending data by the first device is the second channel, and a channel for receiving data by the first device is the first channel; the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information. Efficient data transfer between the first device and the second device may be ensured.
Drawings
Fig. 1 is a schematic diagram illustrating a first alternative flow of a data transmission method according to an embodiment of the present invention;
FIG. 2 is a second alternative flow chart of the data processing method according to the embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a third alternative flow of a data transmission method according to an embodiment of the present invention;
fig. 4 is a fourth alternative flowchart of a data transmission method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a fifth alternative flow of a data transmission method according to an embodiment of the present invention;
fig. 6 is a schematic diagram showing an alternative structure of a wireless module in the related art;
fig. 7 is a schematic diagram illustrating an alternative structure of a wireless module provided by an embodiment of the present invention;
fig. 8 is a schematic diagram illustrating an alternative structure of a first device according to an embodiment of the present invention;
fig. 9 is a schematic diagram illustrating an alternative structure of a second device provided in an embodiment of the present invention;
fig. 10 is a schematic diagram illustrating a hardware component structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
WiFi has the advantages that wired networks are incomparable, such as convenient and fast installation, flexible use, economy, easy expansion and the like, so that the WiFi is more and more widely used; however, in the field of video transmission, WiFi transmission quality is not good, which causes video transmission to be jammed. Especially, in a complex environment of a household wireless network, a general WiFi video transmission system is difficult to ensure stable transmission of video code streams.
In the current scheme that the terminal device is connected to the WiFi AP for data transmission, the channel is determined according to a number of other WiFi AP hotspots around the WiFi AP, noise, channel utilization rate, and other factors, and the channel condition around the terminal device is not concerned, so that the situations that the packet sent by the AP to the terminal device is not received or the analysis is wrong, and the like, may be caused.
Aiming at the problems existing in the interaction process of the WiFi set top box, the invention provides an information processing method which can solve the technical problems and the defects which cannot be solved in the prior technical scheme.
The first device according to the embodiment of the present invention may be a network device, for example, the first device may be an NR network device (i.e., a gNB), the first device may be an LTE network device (i.e., an eNB), and the first device may also be a hardware device (e.g., a wireless router) that is used as a gateway and connects two or more networks; the first device may also be a terminal device, for example, the first device may be a smart phone, a tablet computer, a notebook computer, or a wearable device (such as smart glasses, a smart watch, and the like), and the operating system of the first device may be an android operating system, an IOS operating system, or any other operating system (such as a Linux system in mobile version, a blackberry QNX operating system, and the like) developed by a third party and capable of running in a microcomputer structure (including at least a processor and a memory), which does not limit the type of the first device to which the technical solution described in the embodiment of the present invention is applicable.
The second device related to the embodiment of the present invention may be an entity that implements a data transmission method, and may be implemented in various ways in practical application, for example, the second device may be a smart phone, a tablet computer, a notebook computer, or a wearable device (such as smart glasses, a smart watch, and the like), and the operating system of the second device may be an android operating system, an IOS operating system, or any other operating system (such as a mobile Linux system, a blackberry QNX operating system, and the like) that is developed by a third party and can run on a microcomputer structure (at least including a processor and a memory), which does not limit the type of the second device to which the technical solution described in the embodiment of the present invention is applied.
Fig. 1 shows a first alternative flow chart of a data transmission method provided in an embodiment of the present invention, which will be described according to various steps.
Step S101, a first device sends first information including first channel information on at least one channel.
In some embodiments, the first device identifies the first channel and/or the first channel information based on at least one of a channel utilization of the at least one channel, a signal-to-noise ratio of the at least one channel, a signal-to-interference-and-noise ratio of the at least one channel, and a number of hot spots within a first threshold range from the first device. Wherein, the first threshold range can be set according to actual needs.
In specific implementation, the first device determines a frequency configuration of a Voltage-Controlled Oscillator (VCO) of an optimal receiving circuit of the first device, that is, a channel on which the first device receives data, based on at least one of a channel utilization rate of the at least one channel, a signal-to-noise ratio of the at least one channel, a signal-to-interference-and-noise ratio of the at least one channel, and a number of hot spots within a first threshold range from the first device.
In still other embodiments, the first device transmits first information including first channel information on at least one channel.
In particular implementation, the first device may broadcast the first information including first channel information on the at least one channel in a broadcast manner.
Wherein the first channel information is used to characterize a channel used by the first device to receive data. The first channel is a channel corresponding to the first channel information.
Step S102, the first device receives second information including second channel information sent by the second device based on the first channel.
In some embodiments, the first device receives, based on the first channel, second information including second channel information sent by a second device.
Wherein the second channel information is used to characterize a channel used by the second device to receive data; the second channel is a channel corresponding to the second channel information.
In some optional embodiments, after receiving the second information, the first device parses the second information to confirm a channel used by the second device to receive data.
Step S103, the first device sends the first acknowledgement information based on the second channel.
In some embodiments, the first device sends first acknowledgement information to the second device based on the second channel; the first acknowledgement information is used to confirm that the channel through which the first device sends data is the second channel, and the channel through which the first device receives data is the first channel.
Thus, with the data transmission method provided by the embodiment of the present invention, the first device sends the first information including the first channel information on at least one channel; the first equipment receives second information which is sent by second equipment and comprises second channel information based on a first channel; the first device transmits first acknowledgement information based on a second channel. In this way, the first device can determine the channel used to transmit data and the channel used to receive data, ensuring efficient data transfer between the first device and the second device.
Fig. 2 is a schematic flow chart illustrating a second alternative of the data processing method according to the embodiment of the present invention, which will be described according to various steps.
In step S201, the second device receives, based on the second channel, first information including first channel information sent by the first device.
In some embodiments, the second device confirms the second channel and/or the second channel information based on at least one of a channel utilization rate of at least one channel corresponding to the second device, a signal-to-noise ratio of at least one channel corresponding to the second device, a signal-to-interference-and-noise ratio of at least one channel corresponding to the second device, and a number of hot spots within a second threshold range from the second device. Wherein, the second threshold value can be set according to actual requirements.
In specific implementation, at least one of a channel utilization rate of at least one channel corresponding to the second device, a signal-to-noise ratio of at least one channel corresponding to the second device, a signal-to-interference-and-noise ratio of at least one channel corresponding to the second device, and a number of hot spots within a second threshold range from the second device determines a frequency configuration of an oscillation circuit of an optimal receiving circuit of the second device, that is, determines a channel through which the second device receives data.
In some embodiments, the second device receives, based on the second channel, first information including first channel information transmitted by the first device. Wherein the first channel information is used to characterize a channel used by the first device to receive data. The first information may be transmitted by the first device in a broadcast manner. The second channel is a channel corresponding to the second channel information.
As such, the second device may confirm that the channel used by the first device to receive data is the first channel based on the first information.
Step S202, the second device sends second information including second channel information to the first device based on the first channel.
In some embodiments, the second device sends second information including second channel information to the first device based on the first channel; the second channel information is used for representing that a channel used by the second device for receiving data is a second channel; the first channel is a channel corresponding to the first channel information.
Step S203, the second device receives the first acknowledgement information based on the second channel.
In some embodiments, the second device receives first acknowledgement information based on the second channel; the first acknowledgement information is used to confirm that the channel through which the second device sends data is the first channel, and the channel through which the second device receives data is the second channel.
In some optional embodiments, the second device may further send second acknowledgement information to the first device based on the first channel; the second acknowledgement information is used to confirm that the channel through which the second device sends data is the first channel, and the channel through which the second device receives data is the second channel.
Thus, with the data transmission method provided by the embodiment of the present invention, the second device receives, based on the second channel, the first information including the first channel information sent by the first device; the second device transmits second information including second channel information to the first device based on the first channel; the second device transmits second acknowledgement information based on the first channel. In this way, the second device can determine the channel used to transmit data and the channel used to receive data, ensuring efficient data transfer between the first device and the second device.
Fig. 3 is a schematic diagram of a third alternative flow of a data transmission method according to an embodiment of the present invention, which will be described according to various steps.
In step S301, a first device determines a first channel used for receiving data.
In some embodiments, the first device identifies the first channel and/or the first channel information based on at least one of a channel utilization of at least one channel, a signal-to-noise ratio of the at least one channel, a signal-to-interference-and-noise ratio of the at least one channel, and a number of hot spots within a first threshold range from the first device.
Wherein the at least one channel comprises at least one channel usable by the first device.
In step S302, the second device determines a second channel used for receiving data.
In some embodiments, the second device confirms the second channel and/or the second channel information based on at least one of a channel utilization rate of at least one channel corresponding to the second device, a signal-to-noise ratio of at least one channel corresponding to the second device, a signal-to-interference-and-noise ratio of at least one channel corresponding to the second device, and a number of hot spots within a second threshold range from the second device.
Wherein the at least one channel corresponding to the second device includes at least one channel that can be used by the second device.
Step S303, the first device sends first information including first channel information on at least one channel.
In some embodiments, the first device transmits first information including first channel information on at least one channel.
In particular, the first device may transmit the first information including the first channel information on the at least one channel in a broadcast manner.
Wherein the first channel information is used to characterize a channel used by the first device to receive data. The first channel is a channel corresponding to the first channel information.
Specifically, the first device informs other devices transmitting data with the first device in a broadcast manner, and the first device receives channel information of a channel used by the data.
In step S304, the second device receives, based on the second channel, the first information including the first channel information sent by the first device.
In some embodiments, the second device receives, based on the second channel, first information including first channel information transmitted by the first device. Wherein the first channel information is used to characterize a channel used by the first device to receive data. The first information may be transmitted by the first device in a broadcast manner. The second channel is a channel corresponding to the second channel information.
As such, the second device may confirm that the channel used by the first device to receive data is the first channel based on the first information.
Step S305, the second device sends second information including second channel information to the first device based on the first channel.
In some embodiments, the second device sends second information including second channel information to the first device based on the first channel; the second channel information is used for representing that a channel used by the second device for receiving data is a second channel; the first channel is a channel corresponding to the first channel information.
In this way, the second device informs the first device of the second information, and the second device receives channel information of a channel used by data.
Step S306, the first device receives, based on the first channel, second information including second channel information sent by the second device.
In some embodiments, the first device receives, based on the first channel, second information including second channel information sent by a second device.
Wherein the second channel information is used to characterize a channel used by the second device to receive data; the second channel is a channel corresponding to the second channel information.
In some optional embodiments, after receiving the second information, the first device parses the second information to confirm a channel used by the second device to receive data.
In step S307, the first device sends the first acknowledgement information based on the second channel.
In some embodiments, the first device sends first acknowledgement information to the second device based on the second channel; the first acknowledgement information is used to confirm that the channel through which the first device sends data is the second channel, and the channel through which the first device receives data is the first channel.
In order to avoid the first device from analyzing the second information by mistake, the first device sends first confirmation information to the second device after analyzing the second information, and confirms the result of analyzing the second information by the first device; meanwhile, the second device can be informed whether the result of analyzing the first information is correct or not.
In step S308, the second device receives the first acknowledgement information based on the second channel.
In some embodiments, the second device receives the first acknowledgement information based on the second channel; the first acknowledgement information is used to confirm that the channel through which the second device sends data is the first channel, and the channel through which the second device receives data is the second channel.
In this way, the second device confirms whether the result of the first device analyzing the second information is correct; and simultaneously verifying whether the result of the second equipment for analyzing the first information is correct. In case both are correct, the first device and the second device may transmit data based on the first channel and the second channel.
Thus, with the data transmission method provided by the embodiment of the present invention, the first device and the second device respectively confirm the first channel and the second channel used for receiving data; and the corresponding channel information is informed to the other side, so that the optimal bidirectional transmission performance is realized, the first equipment can receive data based on the first channel, the second equipment can receive data based on the second channel, the condition of packet loss or analysis error caused by using the same channel to receive and send data is avoided, and the data is efficiently transmitted between the first equipment and the second equipment.
In some optional embodiments, if a third device intends to transmit data with the first device, the third device is similar to the second device, and the first device executes the processes from step S302 to step S308, so as to realize efficient data transmission between the first device and the third device.
Fig. 4 shows a fourth alternative flowchart of the data transmission method according to the embodiment of the present invention, which will be described according to various steps.
Based on steps S101 to S103, steps S201 to S203, and steps S301 to S308, after the first device confirms that the channel for receiving data is the first channel, the channel for the first device to transmit data is the second channel, the second device confirms that the channel for receiving data is the second channel, and the channel for the second device to transmit data is the first channel, the method may further include:
step S401, the first device sends third information to the second device based on the second channel.
In some embodiments, if the first device confirms that the channel on which the first device receives data is changed from the first channel to a third channel; the first device sends the third information to the second device based on the second channel; the third information includes third channel information corresponding to the third channel.
The third information is used for indicating that the channel of the first device for receiving data is changed from the first channel to the third channel.
Step S402, the second device receives third information based on the second channel.
In some embodiments, the second device receives, based on the second channel, third information including third channel information transmitted by the first device; the third information is used for representing that the channel of the first equipment for receiving data is changed from the first channel to a third channel;
in some optional embodiments, the second device may further send fourth acknowledgement information based on a third channel, where the fourth acknowledgement information is used to confirm that a channel on which the second device sends data is the third channel, and a channel on which the second device receives data is the second channel; and the third channel is a channel corresponding to the third channel information.
Fig. 5 is a schematic diagram illustrating a fifth alternative flow of a data transmission method according to an embodiment of the present invention, which will be described according to various steps.
Based on steps S101 to S103, steps S201 to S203, and steps S301 to S308, after the first device confirms that the channel for receiving data is the first channel, the channel for the first device to transmit data is the second channel, the second device confirms that the channel for receiving data is the second channel, and the channel for the second device to transmit data is the first channel, the method may further include:
step S501, the second device sends fourth information to the first device based on the first channel.
In some embodiments, if the second device confirms that the channel on which the second device receives data is changed from the second channel to a fourth channel; the second device sends fourth information to the first device based on the first channel; the fourth information comprises fourth channel information corresponding to the fourth channel; the fourth information is used for indicating that the channel of the second device for receiving data is changed from the second channel to the fourth channel.
Step S502, the first device receives fourth information based on the first channel.
In some embodiments, the first device receives, based on the first channel, fourth information including fourth channel information sent by the second device; the fourth information is used for indicating that the channel of the second device for receiving data is changed from the second channel to a fourth channel;
in some optional embodiments, the first device may further send third acknowledgement information based on a fourth channel, where the third acknowledgement information is used to confirm that a channel on which the first device sends data is the fourth channel, and a channel on which the first device receives data is the first channel; and the fourth channel is a channel corresponding to the fourth channel information.
Thus, through steps S401 to S402 or steps S501 to S502 provided in the embodiment of the present invention, when the change in the surrounding environment of any device causes a change in the receiving channel, another device may be instructed to change the transmitting channel, so as to ensure that data can continue to be efficiently transmitted between the first device and the second device.
Fig. 6 is a schematic diagram showing an alternative structure of a wireless module in the related art.
In fig. 6, different devices transmit through the same channel (the same frequency band), so that the transmitting circuit (WiFi TX circuit) between different devices and the receiving circuit (WiFi RX circuit) between different devices are the same; the transmission circuit and the reception circuit correspond to the same oscillation circuit.
For example, in the related art, data is transmitted through the same channel, so that only one transmission circuit is required for the AP; in addition, in the related art, since data is received through the same channel, only one receiving circuit is required for the AP.
Fig. 7 is a schematic diagram illustrating an alternative structure of a wireless module according to an embodiment of the present invention.
The wireless module shown in fig. 7 can be applied to the first device and the second device.
In fig. 7, the transmission circuit between different devices and the reception circuit between different devices may be the same or different, and the transmission circuit and the reception circuit correspond to different oscillation circuits.
The left diagram in fig. 7 is a wireless module structure of the first device, and the right diagram in fig. 7 is a wireless module structure of the second device.
The first device has a transmission circuit (WiFi TX circuit 1) corresponding to the oscillation circuit VCO TX1, the first device has a reception circuit (WiFi RX circuit 1) corresponding to the oscillation circuit VCO RX1, the second device has a transmission circuit (WiFi TX circuit 2) corresponding to the oscillation circuit VCO TX2, and the second device has a reception circuit (WiFi RX circuit 2) corresponding to the oscillation circuit VCO RX 2.
The first equipment sends data through a second channel, and the second equipment receives the data through the second channel; the second device sends data through the first channel and the first device receives data through the second channel.
Fig. 8 is a schematic diagram showing an alternative structure of the first device according to the embodiment of the present invention, which will be described according to various parts.
In some embodiments, the first device 800 comprises: a first transmitting unit 801 and a first receiving unit 802.
The first sending unit 801 is configured to send first information including first channel information on at least one channel; the first channel information is used for characterizing a channel used by the first device for receiving data;
the first receiving unit 802 is configured to receive, based on the first channel, second information including second channel information sent by the second device; the second channel information is used for characterizing a channel used by the second device for receiving data;
the first sending unit 801 is further configured to send first acknowledgement information based on a second channel; the first acknowledgement information is used to confirm that the channel through which the first device sends data is the second channel, and the channel through which the first device receives data is the first channel; the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
In some embodiments, the first device 800 may further include: a first determination unit 803.
The first determining unit 803 is configured to determine the first channel and/or the first channel information based on at least one of a channel utilization rate of the at least one channel, a signal-to-noise ratio of the at least one channel, a signal-to-interference-and-noise ratio of the at least one channel, and a number of hot spots within a first threshold range from the first device.
The first sending unit 801 is further configured to, if the first device confirms that a channel on which the first device receives data is changed from the first channel to a third channel; transmitting third information to the second device based on the second channel; the third information comprises third channel information corresponding to the third channel; the third information is used for indicating that the channel of the first device for receiving data is changed from the first channel to the third channel.
The first receiving unit 802 is further configured to receive, based on the first channel, fourth information that is sent by the second device and includes fourth channel information; the fourth information is used for indicating that the channel of the second device for receiving data is changed from the second channel to a fourth channel;
and/or the first sending unit 801 is further configured to send third acknowledgement information based on a fourth channel, where the third acknowledgement information is used to confirm that a channel through which the first device sends data is the fourth channel, and a channel through which the first device receives data is the first channel; and the fourth channel is a channel corresponding to the fourth channel information.
Fig. 9 is a schematic diagram showing an alternative structure of the second device provided by the embodiment of the present invention, which will be described according to various parts.
In some embodiments, the second device 900 comprises a second receiving unit 901 and a second transmitting unit 902.
The second receiving unit 901 is configured to receive, based on a second channel, first information including first channel information sent by a first device; the first channel information is used for characterizing a channel used by the first device for receiving data;
the second sending unit 902 is configured to send, to the first device, second information including second channel information based on the first channel; the second channel information is used for representing that a channel used by the second device for receiving data is a second channel;
the second receiving unit 901 is further configured to receive first acknowledgement information based on the second channel; the first acknowledgement information is used to confirm that the channel through which the second device sends data is the first channel, and the channel through which the second device receives data is the second channel; the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
In some embodiments, the second device 900 may further comprise a second determining unit 903.
The second determining unit 903 is configured to determine the second channel and/or the second channel information based on at least one of a channel utilization rate of at least one channel corresponding to the second device, a signal-to-noise ratio of at least one channel corresponding to the second device, a signal-to-interference-and-noise ratio of at least one channel corresponding to the second device, and a number of hot spots within a second threshold range from the second device.
If the second device confirms that the channel of the second device for receiving data is changed from the second channel to a fourth channel; the second sending unit 902 is further configured to send fourth information to the first device based on the first channel; the fourth information comprises fourth channel information corresponding to the fourth channel; the fourth information is used for indicating that the channel of the second device for receiving data is changed from the second channel to the fourth channel.
The second receiving unit 901 is further configured to receive, based on the second channel, third information that is sent by the first device and includes third channel information; the third information is used for representing that the channel of the first equipment for receiving data is changed from the first channel to a third channel;
and/or the second receiving unit 901 is further configured to send, by the second device, fourth acknowledgement information based on a third channel, where the fourth acknowledgement information is used to confirm that a channel through which the second device sends data is the third channel, and a channel through which the second device receives data is the second channel; and the third channel is a channel corresponding to the third channel information.
Fig. 10 is a schematic diagram of a hardware component structure of an electronic device according to an embodiment of the present invention, where the electronic device 700 includes: at least one processor 701, a memory 702, and at least one network interface 704. The various components in the electronic device 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for the sake of clarity the various busses are labeled in figure 10 as the bus system 705.
Wherein the electronic device 700 may be a first device and/or a second device.
It will be appreciated that the memory 702 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The non-volatile Memory may be ROM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), magnetic random access Memory (FRAM), Flash Memory (Flash Memory), magnetic surface Memory, optical Disc, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 702 described in embodiments herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 702 in the embodiments of the present application is used to store various types of data to support the operation of the electronic device 700. Examples of such data include: any computer program for operating on electronic device 700, such as application 722. A program implementing the method of an embodiment of the present application may be included in the application 722.
The method disclosed in the embodiment of the present application may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 701 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 702, and the processor 701 may read the information in the memory 702 and perform the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the electronic Device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, MPUs, or other electronic components for performing the foregoing methods.
The embodiment of the application also provides a storage medium for storing the computer program.
Optionally, the storage medium may be applied to the first client in the embodiment of the present application, and the computer program enables the computer to execute corresponding processes in each method in the embodiment of the present application, which is not described herein again for brevity.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In addition to the above-described methods and apparatus, embodiments of the invention may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps in the methods according to various embodiments of the invention described in the "exemplary methods" section above of this specification.
The computer program product may write program code for carrying out operations for embodiments of the present invention in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present invention may also be a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform steps in methods according to various embodiments of the present invention described in the "exemplary methods" section above of this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present invention have been described above with reference to specific embodiments, but it should be noted that the advantages, effects, etc. mentioned in the present invention are only examples and are not limiting, and the advantages, effects, etc. must not be considered to be possessed by various embodiments of the present invention. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the invention is not limited to the specific details described above.
The block diagrams of devices, apparatuses, systems involved in the present invention are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the apparatus, devices and methods of the present invention, the components or steps may be broken down and/or re-combined. These decompositions and/or recombinations are to be regarded as equivalents of the present invention.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the invention. Thus, the present invention is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the invention to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (12)

1. A method of data transmission, the method comprising:
a first device transmits first information including first channel information on at least one channel; the first channel information is used for characterizing a channel used by the first device for receiving data;
the first equipment receives second information which is sent by second equipment and comprises second channel information based on a first channel; the second channel information is used for characterizing a channel used by the second device for receiving data;
the first equipment sends first confirmation information based on a second channel; the first acknowledgement information is used to confirm that the channel through which the first device sends data is the second channel, and the channel through which the first device receives data is the first channel; the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
2. The method of claim 1, further comprising:
the first device confirms the first channel and/or the first channel information based on at least one of the channel utilization rate of the at least one channel, the signal-to-noise ratio of the at least one channel, the signal-to-interference-and-noise ratio of the at least one channel and the number of hot spots within a first threshold range from the first device.
3. The method of claim 1, further comprising:
if the first device confirms that the channel of the first device for receiving data is changed from the first channel to a third channel;
the first device sends third information to the second device based on the second channel; the third information comprises third channel information corresponding to the third channel;
the third information is used for indicating that the channel of the first device for receiving data is changed from the first channel to the third channel.
4. The method of claim 1, further comprising:
the first device receives fourth information which is sent by the second device and comprises fourth channel information based on the first channel; the fourth information is used for indicating that the channel of the second device for receiving data is changed from the second channel to a fourth channel;
and/or the first device sends third acknowledgement information based on a fourth channel, where the third acknowledgement information is used to confirm that a channel through which the first device sends data is the fourth channel, and a channel through which the first device receives data is the first channel; and the fourth channel is a channel corresponding to the fourth channel information.
5. A method of data transmission, the method comprising:
the second equipment receives first information which is sent by the first equipment and comprises first channel information based on a second channel; the first channel information is used for characterizing a channel used by the first device for receiving data;
the second device transmits second information including second channel information to the first device based on the first channel; the second channel information is used for representing that a channel used by the second device for receiving data is a second channel;
the second device receives first acknowledgement information based on the second channel; the first acknowledgement information is used to confirm that the channel through which the second device sends data is the first channel, and the channel through which the second device receives data is the second channel; the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
6. The method of claim 5, further comprising:
and the second device confirms the second channel and/or the second channel information based on at least one of the channel utilization rate of at least one channel corresponding to the second device, the signal-to-noise ratio of at least one channel corresponding to the second device, the signal-to-interference-and-noise ratio of at least one channel corresponding to the second device and the number of hot spots within a second threshold range from the second device.
7. The method of claim 5, further comprising:
if the second device confirms that the channel of the second device for receiving data is changed from the second channel to a fourth channel;
the second device sends fourth information to the first device based on the first channel; the fourth information comprises fourth channel information corresponding to the fourth channel;
the fourth information is used for indicating that the channel of the second device for receiving data is changed from the second channel to the fourth channel.
8. The method of claim 5, further comprising:
the second device receives third information which is sent by the first device and comprises third channel information based on the second channel; the third information is used for representing that the channel of the first equipment for receiving data is changed from the first channel to a third channel;
and/or the second device sends fourth acknowledgement information based on a third channel, where the fourth acknowledgement information is used to confirm that a channel through which the second device sends data is the third channel, and a channel through which the second device receives data is the second channel; and the third channel is a channel corresponding to the third channel information.
9. A first device, characterized in that the first device comprises:
a first transmitting unit for transmitting first information including first channel information on at least one channel; the first channel information is used for characterizing a channel used by the first device for receiving data; sending first confirmation information based on a second channel, wherein the first confirmation information is used for confirming that a channel for sending data by the first equipment is the second channel, and a channel for receiving data by the first equipment is the first channel;
a first receiving unit, configured to receive, based on the first channel, second information including second channel information sent by the second device; the second channel information is used for characterizing a channel used by the second device for receiving data;
the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
10. A second device, characterized in that the second device comprises:
a second receiving unit, configured to receive, based on a second channel, first information including first channel information sent by a first device; the first channel information is used for characterizing a channel used by the first device for receiving data; receiving first acknowledgement information based on the second channel; the first acknowledgement information is used to confirm that the channel through which the second device sends data is the first channel, and the channel through which the second device receives data is the second channel;
a second transmitting unit configured to transmit second information including second channel information to the first device based on the first channel; the second channel information is used for representing that a channel used by the second device for receiving data is a second channel;
the first channel is a channel corresponding to the first channel information, and the second channel is a channel corresponding to the second channel information.
11. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus; a memory for storing a computer program; a processor for implementing the method steps of any one of claims 1 to 4 when executing a program stored in the memory;
alternatively, the method steps of any one of claims 5 to 8 are carried out.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 4;
alternatively, the method steps of any one of claims 5 to 8 are carried out.
CN202110445362.1A 2021-04-25 2021-04-25 Data transmission method, first device, second device and storage medium Active CN112867159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110445362.1A CN112867159B (en) 2021-04-25 2021-04-25 Data transmission method, first device, second device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110445362.1A CN112867159B (en) 2021-04-25 2021-04-25 Data transmission method, first device, second device and storage medium

Publications (2)

Publication Number Publication Date
CN112867159A CN112867159A (en) 2021-05-28
CN112867159B true CN112867159B (en) 2021-07-09

Family

ID=75992809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110445362.1A Active CN112867159B (en) 2021-04-25 2021-04-25 Data transmission method, first device, second device and storage medium

Country Status (1)

Country Link
CN (1) CN112867159B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015176291A1 (en) * 2014-05-23 2015-11-26 华为技术有限公司 Wireless fidelity wifi back haul method and device
US20210068152A1 (en) * 2019-08-29 2021-03-04 Osama Aboul-Magd Systems and methods for out-of-band full duplex communications

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9295033B2 (en) * 2012-01-31 2016-03-22 Qualcomm Incorporated Systems and methods for narrowband channel selection
WO2016022841A1 (en) * 2014-08-08 2016-02-11 Kyocera Corporation Device-to-device (d2d) channel management with network-assisted reference signal transmission
CN109391427B (en) * 2017-08-11 2021-03-30 华为技术有限公司 Communication method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015176291A1 (en) * 2014-05-23 2015-11-26 华为技术有限公司 Wireless fidelity wifi back haul method and device
CN105960814A (en) * 2014-05-23 2016-09-21 华为技术有限公司 Wireless fidelity wifi back haul method and device
CN105960814B (en) * 2014-05-23 2019-09-20 华为技术有限公司 A kind of Wireless Fidelity WiFi retransmission method and device
US20210068152A1 (en) * 2019-08-29 2021-03-04 Osama Aboul-Magd Systems and methods for out-of-band full duplex communications

Also Published As

Publication number Publication date
CN112867159A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
JP5281696B2 (en) Indication of explicit release of uplink semi-persistent scheduling using downlink physical downlink control channel
KR20200053436A (en) Resource configuration method, terminal device and network device
JP2019530260A (en) Data transmission method and apparatus
JP6813211B2 (en) Data transmission method and equipment
EP3836639B1 (en) Synchronization cycle determination methods and devices
KR20200103079A (en) Data transmission method, terminal device and network device
WO2022073213A1 (en) Mechanism for dynamic authorization
KR20200119813A (en) Transmission method and terminal device of physical uplink shared channel
US20230269596A1 (en) Audio stream identification by a wireless network controller
US10001964B2 (en) Systems, methods, and devices for handling Wi-Fi and bluetooth audio
CN112867159B (en) Data transmission method, first device, second device and storage medium
EP3534660B1 (en) Data transmission method and device
CN111435876B (en) Resource determination method, device, related equipment and storage medium
EP3703452A1 (en) Method for transmitting information, method for receiving information, terminal device, and network device
CN113301537A (en) Method, apparatus, electronic device and storage medium for establishing communication connection
EP3836619A1 (en) Direct connection communication method, amf, access network functional entity and terminal
KR20180087229A (en) Data transmission method, terminal and base station
US10271185B1 (en) Method and apparatus for short message service re-transmission in mobile communications
US9253776B2 (en) Adaptive transition of user equipment
CN117044144A (en) HARQ-ACK codebook processing
JP2022549463A (en) UPLINK CONTROL INFORMATION TRANSMISSION METHOD, TERMINAL DEVICE AND NETWORK DEVICE
CN112218274B (en) Exception handling method and device
US20220263629A1 (en) Clock synchronization method and related apparatus
CN105519184A (en) Capability negotiation method, radio equipment controller and radio equipment
US20240089821A1 (en) Method for service switching between terminal devices

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