CN114339928A - Wireless router and data transmission method thereof - Google Patents

Wireless router and data transmission method thereof Download PDF

Info

Publication number
CN114339928A
CN114339928A CN202011063238.0A CN202011063238A CN114339928A CN 114339928 A CN114339928 A CN 114339928A CN 202011063238 A CN202011063238 A CN 202011063238A CN 114339928 A CN114339928 A CN 114339928A
Authority
CN
China
Prior art keywords
data
wireless
transmission
channel
wireless router
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011063238.0A
Other languages
Chinese (zh)
Other versions
CN114339928B (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.)
Nanjing Yining Intelligent Technology Co ltd
Original Assignee
Nanjing Yining Intelligent 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 Nanjing Yining Intelligent Technology Co ltd filed Critical Nanjing Yining Intelligent Technology Co ltd
Priority to CN202011063238.0A priority Critical patent/CN114339928B/en
Publication of CN114339928A publication Critical patent/CN114339928A/en
Application granted granted Critical
Publication of CN114339928B publication Critical patent/CN114339928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A wireless router and a data transmission method thereof, the wireless router comprises at least one wireless interface, the data transmission method comprises: monitoring the data type of the current transmission data and the transmission rate of the data of each data type in real time; detecting whether the data type of the current transmission data comprises a preset first data type and whether the transmission rate of the data of the first data type is smaller than the preset first transmission rate; when the data type of the current transmission data comprises a preset first data type and the transmission rate of the data of the first data type is less than a preset first transmission rate, adjusting at least one of the following: channel parameters of the radio interface, transmission priority of data of each data type, transmission bandwidth of data of each data type. According to the data transmission method and device, the transmission stability of the data of the first data type can be guaranteed, and the user experience degree is improved.

Description

Wireless router and data transmission method thereof
Technical Field
The present application relates to, but not limited to, the field of data transmission technologies, and in particular, to a wireless router and a data transmission method thereof.
Background
Virtual Reality (VR) technology is an information technology that constructs an immersive human-computer interaction environment based on computable information, and a computer is used to create an artificial Virtual environment, which is a comprehensive sensing artificial environment that is mainly based on visual perception and includes auditory perception and tactile perception, and people can sense a Virtual world of the computer through various sensory channels such as visual perception, auditory perception, tactile perception, acceleration and the like, and can interact with the Virtual world through the most natural ways such as movement, voice, expression, gestures, sight and the like, thereby creating an experience of being personally on the scene. Augmented Reality (AR) is a technology for increasing the perception of a user to the real world through information provided by a computer system, applies virtual information to the real world, and superimposes virtual objects, scenes or information generated by a computer onto the real scene, thereby realizing the enhancement of Reality. At present, VR/AR technology has been applied to military, medicine, education, entertainment, manufacturing, engineering training, etc., and is considered as an important technology that affects people's life currently and in the future.
At present, high-quality VR/AR content mainly exists at a computer end, and the traditional VR/AR technology is mainly used for being connected with a computer through a data line for transmission, so that the wearing is heavy and inconvenient, and the safety problem caused by winding of the data line exists. The industry has found a usage mode of transmitting the content of a Personal Computer (PC) end to a VR/AR all-in-one machine by using a router wireless network, but the router wireless network is easily interfered by other wireless signals in the environment to generate wireless channel collision, or the wireless channel is occupied to cause the problems of unable communication or slow data transmission, and jamming and the like.
Disclosure of Invention
The embodiment of the application provides a wireless router and a data transmission method thereof, which can ensure the transmission stability of data of a first data type and improve the transmission speed of the data of the first data type.
The embodiment of the application provides a data transmission method of a wireless router, wherein the wireless router comprises at least one wireless interface, the wireless router is connected with at least one data transmission terminal through the wireless interface, and the data transmission method comprises the following steps: the wireless router monitors the data type of the current transmission data and the transmission rate of the data of each data type in real time; the wireless router detects whether the data type of the current transmission data comprises a preset first data type and whether the transmission rate of the data of the first data type is smaller than a preset first transmission rate; when the data type of the current transmission data comprises a preset first data type and the transmission rate of the data of the first data type is less than a preset first transmission rate, the wireless router adjusts at least one of the following: the channel parameters of the wireless interface, the transmission priority of the data of each data type, and the transmission bandwidth of the data of each data type.
In an exemplary embodiment, the wireless router adjusting the channel parameters of the wireless interface comprises: the wireless router scans all wireless channels on the wireless interface, determines the channel quality of each wireless channel, and selects the wireless channel with the best channel quality; and the wireless router switches the currently used wireless channel to the wireless channel with the best channel quality.
In an exemplary embodiment, before the wireless router switches the currently used wireless channel to the wireless channel with the best channel quality, the method further includes: and the wireless router sends the information of the selected wireless channel with the best channel quality to the data transmission terminal, so that the data transmission terminal actively connects with the wireless router after disconnecting the current channel.
In an exemplary embodiment, the switching, by the wireless router, the currently used wireless channel to the wireless channel with the best channel quality includes: detecting whether data of the first data type is currently transmitted; when no data of the first data type is currently transmitted, switching the currently used wireless channel to the wireless channel with the best channel quality.
In an exemplary embodiment, the preset first data type includes first interactive data and first video stream data, and the wireless router adjusts the transmission priority of the data of each data type as follows: the priority of the first interactive data is greater than the priority of the first video stream data; the priority of the first video stream data is greater than the priority of data of a type other than the first data.
In an exemplary embodiment, the wireless router adjusts the transmission bandwidth of the data of each data type as follows: when the data type of the current transmission data comprises the first video stream data, allocating a first bandwidth for the data of the first data type, and allocating a second bandwidth for the data of the non-first data type; when the data type of the current transmission data does not comprise the first video stream data, allocating a third bandwidth for the data of the first data type, and allocating a fourth bandwidth for the data of the non-first data type; wherein the first bandwidth is larger than the second bandwidth, the first bandwidth is larger than the third bandwidth, the third bandwidth is larger than the fourth bandwidth, and the second bandwidth is smaller than the fourth bandwidth.
In an exemplary embodiment, the data transmission terminals include a first data transmission terminal and a second data transmission terminal, and when the data type of the currently transmitted data includes the preset first data type, the method further includes: the wireless router sends a first notice to a first data transmission terminal, so that the first data transmission terminal dynamically adjusts the code rate during video compression coding according to the first notice.
In an exemplary embodiment, the data transmission terminal includes a first data transmission terminal and a second data transmission terminal, the wireless router includes at least two wireless interfaces, the at least two wireless interfaces support a first frequency band and a second frequency band, respectively, and the wireless router adjusts channel parameters of the wireless interfaces, including: the wireless router uses the wireless channel in the first frequency band to connect a first data transmission terminal, and uses the wireless channel in the second frequency band to connect a second data transmission terminal; or, the wireless router uses the wireless channel in the first frequency band to send the data of the first data type, and uses the wireless channel in the second frequency band to send the data of the non-first data type; wherein the channel quality of the wireless channel in the first frequency band is better than the channel quality of the wireless channel in the second frequency band.
In an exemplary embodiment, the wireless router monitors a data type of currently transmitted data in real time, including: the wireless router detects a protocol characteristic field and/or a transmission port number of current transmission data; and determining the data type of the current transmission data according to the detected protocol characteristic field and/or the transmission port number.
An embodiment of the present application further provides a wireless router, which includes at least one wireless interface, and further includes a processor and a memory, where the wireless interface is used to connect at least one data transmission terminal through a wireless channel, and the processor is used to execute a computer program stored in the memory to implement the steps of the data transmission method as described in any one of the above.
In the wireless router and the data transmission method thereof according to the embodiment of the present application, when the data type of the currently transmitted data includes a preset first data type and the transmission rate of the data of the preset first data type is less than a first transmission rate, the wireless router adjusts at least one of the following: the channel parameters of the wireless interface, the transmission priority of the data of each data type and the transmission bandwidth of the data of each data type, so that the transmission stability of the data of the first data type can be ensured, and the user experience is improved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. Other advantages of the present application may be realized and attained by the instrumentalities and combinations particularly pointed out in the specification and the drawings.
Drawings
The accompanying drawings are included to provide an understanding of the present disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the examples serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario according to an embodiment of the present application;
fig. 3 is a schematic view of another application scenario according to an embodiment of the present application.
Detailed Description
The present application describes embodiments, but the description is illustrative rather than limiting and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Any feature or element of any embodiment may be used in combination with or instead of any other feature or element in any other embodiment, unless expressly limited otherwise.
The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in this application may also be combined with any conventional features or elements to form a unique inventive concept as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive aspects to form yet another unique inventive aspect, as defined by the claims. Thus, it should be understood that any of the features shown and/or discussed in this application may be implemented alone or in any suitable combination. Accordingly, the embodiments are not limited except as by the appended claims and their equivalents. Furthermore, various modifications and changes may be made within the scope of the appended claims.
Further, in describing representative embodiments, the specification may have presented the method and/or process as a particular sequence of steps. However, to the extent that the method or process does not rely on the particular order of steps set forth herein, the method or process should not be limited to the particular sequence of steps described. Other orders of steps are possible as will be understood by those of ordinary skill in the art. Therefore, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Further, the claims directed to the method and/or process should not be limited to the performance of their steps in the order written, and one skilled in the art can readily appreciate that the sequences may be varied and still remain within the spirit and scope of the embodiments of the present application.
As shown in fig. 1, an embodiment of the present application provides a data transmission method for a wireless router, where the wireless router includes at least one wireless interface, and the wireless router is connected to at least one data transmission terminal through the wireless interface, and the data transmission method includes steps 101 to 103.
Step 101, the wireless router monitors the data type of the currently transmitted data and the transmission rate of the data of each data type in real time.
In some exemplary embodiments, the wireless router monitors the data type of the currently transmitted data in real time according to the protocol characteristic field and/or the transmission port number of the currently transmitted data.
In this embodiment, the protocol feature field refers to one or more optional fields in a header of a data packet specified by a protocol. The transmission port number refers to a port number of a Transmission Control Protocol (TCP) or a User Datagram Protocol (UDP). For example, TCP 80 represents WWW, TCP 23 represents Telnet, and UDP 69 represents TFTP.
In this embodiment, the wireless router may determine the transmission rate of the data of each data type by:
measuring the total data amount of the data of each data type received by a receiver of the wireless router in a preset unit time as a first metering rate of the data of each data type;
measuring the total data amount of the data of each data type transmitted by a transmitter of the wireless router in a preset unit time as a second metering rate of the data of each data type;
and taking the sum of the first metering rate and the second metering rate of the data of each data type as the transmission rate of the data of each data type.
For example, in the last 10 minutes, the wireless router counts that the total amount of data of the first data type is 100M, and the total amount of data of the first data type is 1100M, so that the transmission rate of the data of the first data type is 2Mbps (100+1100)/(10 × 60).
Step 102, the wireless router detects whether the data type of the currently transmitted data includes a preset first data type, and whether the transmission rate of the data of the first data type is smaller than a preset first transmission rate.
In some exemplary embodiments, the preset first data type includes first interactive data and first video stream data.
In this embodiment, the first interactive data may include control information, pose information, audio information, and the like sent by the virtual reality device or the augmented reality device. The control information may be key information on the head-mounted display and/or the interactive device. The pose information may include position information obtained by a locator on the interactive device and pose information obtained by a sensor on the interactive device, or the pose information may also include image information captured by a head mounted display and/or a camera on the interactive device. The position information includes position information in X, Y, Z three rectangular coordinate axis directions, and the attitude information includes attitude information Pitch, Yaw, Roll about X, Y, Z three rectangular coordinate axis directions, where Pitch is a Pitch angle of rotation about the X axis, Yaw is a Yaw angle of rotation about the Y axis, and Roll is a Roll angle of rotation about the Z axis. The position information in the direction of X, Y, Z three rectangular axes and the attitude information Pitch, Yaw, and Roll in the direction of X, Y, Z three rectangular axes are collectively referred to as six-degree-of-freedom information. The audio information may be sound information collected by a microphone on the head mounted display and/or the interactive device. The part of data has the characteristics of small data volume, low bandwidth requirement and large influence on user experience, so that the priority of the part of data is set to be higher so as to transmit the part of data preferentially and improve the user experience.
The first video stream data may include audio and video data, image data, and the like of a virtual reality application or an augmented reality application of a user, and is characterized by a large data volume and a high requirement on bandwidth, and the priority of the part of data may be lower than that of the first interactive data.
In this embodiment, the sum of the counted transmission rates of the first interactive data and the first video stream data may be used as the transmission rate of the data of the first data type, and the transmission rate of the data of the first data type may be compared with a preset first transmission rate to detect whether the transmission rate of the data of the first data type is smaller than the preset first transmission rate.
Or, in this embodiment, the transmission rates of the first interactive data and the first video stream data may be counted respectively at the same time, the transmission rate of the first interactive data is compared with a preset first sub-transmission rate, the transmission rate of the first video stream data is compared with a preset second sub-transmission rate, and if the transmission rate of the first interactive data is smaller than the preset first sub-transmission rate, or the transmission rate of the first video stream data is smaller than the preset second sub-transmission rate, as long as any one of the two is satisfied, it is determined that the transmission rate of the data of the first data type is smaller than the preset first transmission rate.
Generally, the transmission rate required for the first interactive data is generally about 100Kbps, and the transmission rate required for the first video stream data is generally about 1Mbps to 2 Mbps. Accordingly, the first sub-transmission rate may be 100Kbps, the second sub-transmission rate may be 1Mbps, and the first transmission rate may be 1100 Kbps.
Step 103, when the data type of the currently transmitted data includes a preset first data type and the transmission rate of the data of the first data type is less than a preset first transmission rate, the wireless router adjusts at least one of the following: channel parameters of the radio interface, transmission priority of data of each data type, transmission bandwidth of data of each data type.
In the wireless router and the data transmission method thereof according to the embodiment of the present application, when the data type of the currently transmitted data includes a preset first data type and the transmission rate of the data of the first data type is less than a preset first transmission rate, at least one of the following is adjusted: the channel parameters of the wireless interface, the transmission priority of the data of each data type and the transmission bandwidth of the data of each data type, so that the transmission stability of the data of the first data type can be ensured, and the transmission speed of the data of the first data type is improved.
The data transmission method of the embodiment of the application can be applied to a standalone VR/AR scenario as shown in fig. 2, in which a first data transmission terminal (e.g., a personal computer) and a second data transmission terminal (e.g., a virtual reality device or an augmented reality device) are directly connected to a wireless router through a wireless channel; or, the data transmission method according to the embodiment of the present application may also be applied to a cloud VR/AR scenario as shown in fig. 3, where in the cloud VR/AR scenario, the first data transmission terminal (e.g., a cloud VR/AR server) and the wireless router are connected through an Internet network, and the wireless router and the second data transmission terminal (e.g., a virtual reality device or an augmented reality device) are directly connected through a wireless channel. In this embodiment, the first data transmission terminal may be a personal computer or a cloud VR/AR server, the second data transmission terminal may be a virtual reality device or an augmented reality device, the virtual reality device (or the augmented reality device) includes a head-mounted display, an interaction device, and the like, where the interaction device may include a handle, a glove, a mouse, a keyboard, and other devices capable of interacting with a virtual reality (or augmented reality) scene. The first data transmission terminal stores the content of the VR/AR application, receives first interactive data sent by the second data transmission terminal through the wireless router, generates corresponding first video stream data according to the first interactive data, and sends the corresponding first video stream data to the second data transmission terminal through the wireless router.
The data transmission method can provide a high-speed stable transmission environment for the user after the VR/AR enters the home, so that the use of the existing VR/AR equipment is guaranteed, unnecessary cost improvement is avoided, the user does not need to purchase a router with high configuration, and the user experience is improved.
In some example embodiments, the wireless router adjusting channel parameters of the wireless interface comprises:
the wireless router scans all wireless channels on the working frequency band supported by the wireless interface, determines the channel quality of each wireless channel, and selects the wireless channel with the best channel quality;
the wireless router switches the currently used wireless channel to the wireless channel with the best channel quality.
In some exemplary embodiments, the operating frequency band of the wireless router may be 2.4G or 5G.
The 802.11 working group divides wireless network signals into two separate frequency bands, namely 2.4GHz and 5.0 GHz. Each frequency band is divided into several channels, and each country makes its own policy on how to use these frequency bands. For example, in china, the 2.4GHz band is divided into 13 channels (three of channels 1, 6 and 11 are the three most commonly used channels that do not overlap and interfere with each other because they are spaced far enough apart from each other), and the 5.0GHz band is divided into 4 channels.
Because the 802.11b/g WLAN standard adopts the most common 2.4GHz radio frequency band, in actual work and life, the wireless router is interfered by WiFi common-frequency signals transmitted by other wireless routers in the coverage area of wireless signals, and also by non-WiFi signals transmitted by devices such as a microwave oven, a Bluetooth mobile phone or a notebook computer in the same working frequency band. In an exemplary embodiment, the wireless router determines the channel quality of each wireless channel by:
and detecting the strength of the WiFi co-frequency interference signals on all wireless channels of the current working frequency band. In an exemplary embodiment, detecting the strength of a WiFi co-channel interference signal on a wireless channel comprises: sending a Probe Request (Probe Request) frame on the current channel, staying for a period of time on the channel, waiting for receiving Probe Response (Probe Response) frames of other wireless routers, extracting signal strength information from the received Probe Response frames when receiving the Probe Response frames of other wireless routers, and switching to the next wireless channel by taking the sum of the signal strengths of all the received Probe Response frames as the strength of WiFi co-channel interference signals on the channel.
The strength of non-WiFi interfering signals of all wireless channels is detected. In an exemplary embodiment, detecting the strength of the non-WiFi interfering signals for all wireless channels includes: starting a frequency spectrum scanning mode, and regularly scanning non-WiFi interference signals received by the wireless router in the whole working frequency band; the strength of the non-WiFi interference signal corresponding to each channel is extracted from the received non-WiFi interference signals.
And adding the intensity of the non-WiFi interfering signal of each channel with the intensity of the WiFi co-frequency interfering signal to obtain the intensity of the co-frequency interfering signal on each channel.
And taking the channel with the minimum co-channel interference signal strength as the wireless channel with the best channel quality.
In this embodiment, after the wireless router switches the currently used wireless channel to the wireless channel with the best channel quality, the transmission channels of all the devices are in the channel with the smallest current wireless pressure, and no interference from other devices and no preemption of the data transmission resource by other devices are caused.
In some example embodiments, the wireless router adjusting channel parameters of the wireless interface further comprises:
the wireless router switches the wireless bandwidth mode of the wireless interface.
The 802.11n protocol not only supports 20MHz radio bandwidth (HT 20) defined by the original 802.11abg protocol, but also supports 40MHz radio bandwidth (HT 40), allowing two adjacent 20MHz channels to be used as a 40MHz channel, thereby increasing transmission efficiency. The 802.11ac protocol further increases the channel bandwidth from 20MHZ and 40MHZ of 802.11n to 80MHZ and 160MHZ, allowing two adjacent 40MHZ channels to be used as one 80MHZ channel and two adjacent 80MHZ channels to be used as one 160MHZ channel to increase the transmission efficiency.
The actual wireless transmission rate is affected by a combination of multiple factors. Taking the 802.11n protocol as an example, HT40 can be selected for the highest wireless bandwidth, i.e. two 20MHz channels are bundled, however, once HT40 mode is selected, the entire 2.4GHz wireless band only supports one non-overlapping channel, and the 5GHz wireless band only has 4 completely non-overlapping channels available. In practical application environments, co-channel interference and adjacent-channel interference are very easily generated, that is, any wireless signal using 1 to 6 channels will generate wireless interference to communication with a bandwidth of 40 MHz. When the wireless interference is severe, the wireless transmission rate when the device selects HT40 is, on the contrary, greater than that when HT20 is selected.
Therefore, in this embodiment, the wireless router may switch the wireless bandwidth mode of the wireless interface as follows: when the current co-channel interference signal strength is strong (for example, exceeds the preset interference signal strength), the wireless router selects an HT20 mode; when the current co-channel interference signal strength is weak (for example, lower than the preset interference signal strength), the wireless router selects the HT40(/ HT80/HT160) mode to achieve the optimal wireless transmission rate.
In some exemplary embodiments, before the wireless router switches the currently used wireless channel to the wireless channel with the best channel quality, the data transmission method further includes:
and the wireless router sends the information of the selected wireless channel with the best channel quality to the first data transmission terminal and/or the second data transmission terminal, so that the first data transmission terminal and/or the second data transmission terminal actively connect the wireless router after disconnecting the current channel.
In this embodiment, after the wireless router disconnects the connected device, it will hop to the selected channel with the best channel quality to wait for connection. If the wireless router does not send the information of the selected wireless channel with the best channel quality to the first data transmission terminal and/or the second data transmission terminal, the first data transmission terminal and/or the second data transmission terminal waits for 5s after detecting that the wireless connection is disconnected, and then the wireless router is actively connected, however, if the first data transmission terminal and/or the second data transmission terminal is previously connected with other wireless routers, when the first data transmission terminal and/or the second data transmission terminal detects that the wireless connection is disconnected, the other wireless routers which are previously connected are automatically connected, and at this time, a connection error condition may occur. Therefore, in this embodiment, the wireless router sends the information of the selected wireless channel with the best channel quality to the first data transmission terminal and/or the second data transmission terminal, and the first data transmission terminal and/or the second data transmission terminal have built-in connection software.
In some exemplary embodiments, the switching of the currently used wireless channel to the wireless channel with the best channel quality by the wireless router includes:
detecting whether data of a first data type is currently transmitted;
when no data of the first data type is currently being transmitted, the currently used radio channel is switched to the radio channel with the best channel quality.
In this embodiment, the wireless router may maintain a traffic record list, and record data traffic of various data types in the traffic record list. When the data of the first data type in the flow record list does not record the corresponding flow dynamics, it can be determined that the data flow of the first data type is not generated currently. At this time, the wireless router may automatically switch the currently used wireless channel to the wireless channel with the best channel quality, so as to avoid the problem that the wireless router performs wireless channel switching when there is data traffic of the first data type, which causes data packet loss of the first data type.
In some exemplary embodiments, the wireless router adjusts the transmission priority of data of each data type as follows:
the priority of the first interactive data is greater than that of the first video stream data;
the priority of the first video stream data is greater than the priority of the data of the non-first data type.
In this embodiment, the first interactive data is characterized by a small data volume, a low bandwidth requirement, but a large impact on user experience, so that the priority of the first interactive data is set to be the highest to transmit the first interactive data preferentially, and improve user experience.
The first video stream data is characterized by a larger data size and higher bandwidth requirements, and the priority of the first video stream data is lower than that of the first interactive data.
The data of the non-first data type can include P2P download data, web browsing data, online network application data and the like, and the data transmission requirements of the virtual reality application or the augmented reality application can be met as much as possible by setting the priority of the data of the non-first data type to be the lowest.
In some exemplary embodiments, the wireless router adjusts the transmission bandwidth of data of each data type as follows:
when the data type of the current transmission data comprises first video stream data, allocating a first bandwidth for the data of the first data type, and allocating a second bandwidth for the data of the non-first data type;
when the data type of the current transmission data does not comprise the first video stream data, allocating a third bandwidth for the data of the first data type, and allocating a fourth bandwidth for the data of the non-first data type;
the first bandwidth is larger than the second bandwidth, the first bandwidth is larger than the third bandwidth, the third bandwidth is larger than the fourth bandwidth, and the second bandwidth is smaller than the fourth bandwidth.
In this embodiment, the wireless router detects the size of the data size of the virtual reality application (or augmented reality application) to be transmitted, and when the data type of the currently transmitted data includes the first video stream data, that is, when the data size of the virtual reality application (or augmented reality application) to be transmitted is larger, the transmission speed of the data of other non-virtual reality applications (or non-augmented reality applications) is limited to be slower (that is, a lower bandwidth is allocated to the data of the non-first data type); when the data type of the currently transmitted data does not include the first video stream data, that is, when the data amount of the virtual reality application (or the augmented reality application) to be transmitted is small, the transmission speed of the data of other non-virtual reality applications (or non-augmented reality applications) is allowed to be slightly faster (that is, a little higher bandwidth is allocated to the data of the non-first data type).
In some exemplary embodiments, the wireless router detects the transmission speed of the currently transmitted data of the virtual reality application (or augmented reality application) and the transmission speed of the data of other non-virtual reality applications (or non-augmented reality applications), and adjusts as follows: the method comprises the steps of enabling data of a transmitted virtual reality application (or augmented reality application) to account for a first proportion of total transmitted data, enabling data of a transmitted non-virtual reality application (or non-augmented reality application) to account for a second proportion of the total transmitted data, enabling the first proportion to be larger than the second proportion, and enabling the sum of the first proportion and the second proportion to be 1. Illustratively, the first specific gravity may be 80% and the second specific gravity may be 20%.
In some exemplary embodiments, when the data type of the currently transmitted data includes a first data type, the data transmission method further includes:
the wireless router monitors the transmission bandwidth of the current wireless channel in real time, and when the transmission bandwidth of the current wireless channel is smaller than or equal to a preset first transmission bandwidth, a first notification is sent to the first data transmission terminal, so that the first data transmission terminal dynamically adjusts the code rate during video compression coding according to the first notification.
In this embodiment, the first data transmission terminal acquires audio and video content of the VR/AR application, encodes the acquired audio and video content of the VR/AR application to generate a coded code stream, and sends the generated coded code stream to the second data transmission terminal through the wireless router, and the second data transmission terminal receives the coded code stream, decodes the received coded code stream to obtain audio and video content of the VR/AR application, and outputs the audio and video content to the head-mounted display for display.
The wireless router monitors the transmission bandwidth of the current wireless channel in real time, when the transmission bandwidth of the current wireless channel is smaller than or equal to a preset first transmission bandwidth, a first notice is sent to a first data transmission terminal (namely, a VR/AR server), and the VR/AR server can adjust the code rate of video compression coding according to the transmission bandwidth of the current wireless channel, so that the size of a video data packet is changed, the quality, stability and reliability of VR/AR content transmission are improved, the condition that pictures are discontinuous or unsmooth is avoided, and the user experience is improved.
In some exemplary embodiments, the wireless router includes at least two wireless interfaces, the at least two wireless interfaces respectively use a first frequency band and a second frequency band, and the wireless router adjusts channel parameters of the wireless interfaces, including:
the wireless router uses a wireless channel in a first frequency band to connect a first data transmission terminal, and uses a wireless channel in a second frequency band to connect a second data transmission terminal;
wherein the channel quality of the wireless channel in the first frequency band is better than the channel quality of the wireless channel in the second frequency band.
In some exemplary embodiments, the first frequency band is a 5.0GHz frequency band and the second frequency band is a 2.4GHz frequency band.
In this embodiment, the wireless router is a dual-frequency router, and simultaneously supports a 5GHz frequency band and a 2.4GHz frequency band, the 2.4GHz frequency band is an ism (industrial Science medicine) wireless frequency band which is publicly and commonly used all over the world, and there are many wireless devices, and although 13 channels can be accommodated in the 2.4GHz frequency band, along with popularization of various IT devices, such as a tablet computer, a mobile phone, a PC, a game machine, and the like, the throughput value is seriously reduced when a plurality of devices are used at the same time. Secondly, microwave oven, bluetooth, wireless mouse also all use 2.4GHz frequency channel, can produce the interference between the equipment. And the number of operating devices in the 5GHz band is small, so that generally, the channel quality of the wireless channel in the 5GHz band is better than that of the wireless channel in the 2.4GHz band, and there is no interference between the wireless channel in the 5GHz band and the wireless channel in the 2.4GHz band.
The wireless router supports double WiFi to transmit data, and by matching with the realization of VR/AR application, data can be transmitted simultaneously on multiple channels, so that the VR/AR audio and video transmission bandwidth and stability are indirectly improved. The first data transmission terminal (namely VR/AR server terminal) sends data to the 5GHz WiFi network, and the wireless router uses the same wireless channel or selects another wireless channel to establish connection with the second data transmission terminal (namely VR/AR equipment) according to the current network condition. When the wireless router establishes connection with the first data transmission terminal by using the wireless channel in the 5G frequency band and establishes connection with the second data transmission terminal by using the wireless channel in the 2.4G frequency band, the two sides respectively use 1 wireless channel to respectively transmit data without mutual influence. In addition, since video streaming of the VR/AR application is generally transmitted using UDP, the wireless router of this embodiment may optimize transmission and processing flows of UDP packets (e.g., increase transmission priority and/or processing priority of UDP packets), and ensure video streaming speed of the VR/AR application.
In some exemplary embodiments, the wireless router includes at least two wireless interfaces, the two wireless interfaces respectively use a first frequency band and a second frequency band, and the wireless router adjusts channel parameters of the wireless interfaces, including:
the wireless router transmits data of a first data type by using a wireless channel in a first frequency band, and transmits data of a non-first data type by using a wireless channel in a second frequency band;
wherein the channel quality of the wireless channel in the first frequency band is better than the channel quality of the wireless channel in the second frequency band.
In this embodiment, when the transmission bandwidth of the wireless channel in the 2.4GHz band is relatively low or the strength of the co-channel interference signal is relatively strong, the wireless router may also switch the wireless channel of the second data transmission terminal (i.e., the VR/AR device) to the 5GHz band, and at this time, the wireless router may use the wireless channel in the first band to send the data of the first data type, and use the wireless channel in the second band to send the data of the non-first data type.
An embodiment of the present application further provides a wireless router, which includes at least one wireless interface, and further includes a processor and a memory, where the wireless interface is used to connect one or more data transmission terminals through a wireless channel, and the processor is used to execute a computer program stored in the memory to implement the steps of the data transmission method as described in any one of the foregoing.
The wireless router and the data transmission method thereof in the embodiment of the application can be applied to the VR/AR field and other fields except the VR/AR field, the acceleration is performed on different contents, after a specific acceleration object is selected, the feature adaptation is performed on the contents, when the wireless router detects that the transmission of the contents to be accelerated is performed, the optimal channel self-selection is performed firstly, then the acceleration is performed on the corresponding contents, and the transmission speed of the specific contents is ensured.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (10)

1. A data transmission method of a wireless router, wherein the wireless router comprises at least one wireless interface, and the wireless router is connected with at least one data transmission terminal through the wireless interface, and the data transmission method comprises the following steps:
the wireless router monitors the data type of the current transmission data and the transmission rate of the data of each data type in real time;
the wireless router detects whether the data type of the current transmission data comprises a preset first data type and whether the transmission rate of the data of the first data type is smaller than a preset first transmission rate;
when the data type of the current transmission data comprises a preset first data type and the transmission rate of the data of the first data type is less than a preset first transmission rate, the wireless router adjusts at least one of the following: the channel parameters of the wireless interface, the transmission priority of the data of each data type, and the transmission bandwidth of the data of each data type.
2. The data transmission method of claim 1, wherein the wireless router adjusting the channel parameters of the wireless interface comprises:
the wireless router scans all wireless channels on the wireless interface, determines the channel quality of each wireless channel, and selects the wireless channel with the best channel quality;
and the wireless router switches the currently used wireless channel to the wireless channel with the best channel quality.
3. The data transmission method according to claim 2, wherein before the wireless router switches the currently used wireless channel to the wireless channel with the best channel quality, the method further comprises:
and the wireless router sends the information of the selected wireless channel with the best channel quality to the data transmission terminal, so that the data transmission terminal actively connects with the wireless router after disconnecting the current channel.
4. The data transmission method according to claim 2, wherein the switching, by the wireless router, the currently used wireless channel to the wireless channel with the best channel quality comprises:
detecting whether data of the first data type is currently transmitted;
when no data of the first data type is currently transmitted, switching the currently used wireless channel to the wireless channel with the best channel quality.
5. The data transmission method according to claim 1, wherein the preset first data type comprises first interactive data and first video stream data, and the wireless router adjusts the transmission priority of the data of each data type as follows:
the priority of the first interactive data is greater than the priority of the first video stream data;
the priority of the first video stream data is greater than the priority of data of a type other than the first data.
6. The data transmission method according to claim 5, wherein the wireless router adjusts the transmission bandwidth of the data of each data type as follows:
when the data type of the current transmission data comprises the first video stream data, allocating a first bandwidth for the data of the first data type, and allocating a second bandwidth for the data of the non-first data type;
when the data type of the current transmission data does not comprise the first video stream data, allocating a third bandwidth for the data of the first data type, and allocating a fourth bandwidth for the data of the non-first data type;
wherein the first bandwidth is larger than the second bandwidth, the first bandwidth is larger than the third bandwidth, the third bandwidth is larger than the fourth bandwidth, and the second bandwidth is smaller than the fourth bandwidth.
7. The data transmission method according to claim 1, wherein the data transmission terminals include a first data transmission terminal and a second data transmission terminal, and when the data type of the currently transmitted data includes the preset first data type, the method further includes:
the wireless router sends a first notice to a first data transmission terminal, so that the first data transmission terminal dynamically adjusts the code rate during video compression coding according to the first notice.
8. The data transmission method according to claim 1, wherein the data transmission terminal includes a first data transmission terminal and a second data transmission terminal, the wireless router includes at least two wireless interfaces, the at least two wireless interfaces support a first frequency band and a second frequency band, respectively, and the wireless router adjusts channel parameters of the wireless interfaces, including:
the wireless router uses the wireless channel in the first frequency band to connect a first data transmission terminal, and uses the wireless channel in the second frequency band to connect a second data transmission terminal; alternatively, the first and second electrodes may be,
the wireless router transmits the data of the first data type by using a wireless channel in the first frequency band, and transmits the data of the non-first data type by using a wireless channel in the second frequency band;
wherein the channel quality of the wireless channel in the first frequency band is better than the channel quality of the wireless channel in the second frequency band.
9. The data transmission method according to claim 1, wherein the wireless router monitors the data type of the currently transmitted data in real time, and comprises:
the wireless router detects a protocol characteristic field and/or a transmission port number of current transmission data;
and determining the data type of the current transmission data according to the detected protocol characteristic field and/or the transmission port number.
10. A wireless router comprising at least one wireless interface for connecting at least one data transmission terminal over a wireless channel, a processor for executing a computer program stored in a memory for implementing the steps of the data transmission method according to any one of claims 1 to 9, and a memory.
CN202011063238.0A 2020-09-30 2020-09-30 Wireless router and data transmission method thereof Active CN114339928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011063238.0A CN114339928B (en) 2020-09-30 2020-09-30 Wireless router and data transmission method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011063238.0A CN114339928B (en) 2020-09-30 2020-09-30 Wireless router and data transmission method thereof

Publications (2)

Publication Number Publication Date
CN114339928A true CN114339928A (en) 2022-04-12
CN114339928B CN114339928B (en) 2024-05-28

Family

ID=81031765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011063238.0A Active CN114339928B (en) 2020-09-30 2020-09-30 Wireless router and data transmission method thereof

Country Status (1)

Country Link
CN (1) CN114339928B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513792A (en) * 2022-04-13 2022-05-17 优游宝科技(深圳)有限公司 Remote network control method and device based on eSIM card
CN115632746A (en) * 2022-12-22 2023-01-20 深圳沛喆微电子有限公司 Method for improving stability of transmission channel by WiFi6 intelligent router system
CN116437382A (en) * 2023-03-31 2023-07-14 深圳市世纪欣阳科技有限公司 CPE signal strength monitoring system based on 5G router

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060245355A1 (en) * 2005-04-28 2006-11-02 Sony Corporation Bandwith management in a network
CN107370494A (en) * 2017-06-16 2017-11-21 上海斐讯数据通信技术有限公司 A kind of double-frequency wireless router and its data transmission method
WO2018130080A1 (en) * 2017-01-10 2018-07-19 青岛海信移动通信技术股份有限公司 Wifi data transmission method, device and terminal device
CN108712778A (en) * 2018-04-28 2018-10-26 Oppo广东移动通信有限公司 Channel selecting method and Related product
CN111092825A (en) * 2018-10-23 2020-05-01 华为技术有限公司 Method and device for transmitting message
CN111479329A (en) * 2019-01-23 2020-07-31 华为技术有限公司 Resource scheduling method and base station

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060245355A1 (en) * 2005-04-28 2006-11-02 Sony Corporation Bandwith management in a network
WO2018130080A1 (en) * 2017-01-10 2018-07-19 青岛海信移动通信技术股份有限公司 Wifi data transmission method, device and terminal device
CN107370494A (en) * 2017-06-16 2017-11-21 上海斐讯数据通信技术有限公司 A kind of double-frequency wireless router and its data transmission method
CN108712778A (en) * 2018-04-28 2018-10-26 Oppo广东移动通信有限公司 Channel selecting method and Related product
CN111092825A (en) * 2018-10-23 2020-05-01 华为技术有限公司 Method and device for transmitting message
CN111479329A (en) * 2019-01-23 2020-07-31 华为技术有限公司 Resource scheduling method and base station

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513792A (en) * 2022-04-13 2022-05-17 优游宝科技(深圳)有限公司 Remote network control method and device based on eSIM card
CN115632746A (en) * 2022-12-22 2023-01-20 深圳沛喆微电子有限公司 Method for improving stability of transmission channel by WiFi6 intelligent router system
CN116437382A (en) * 2023-03-31 2023-07-14 深圳市世纪欣阳科技有限公司 CPE signal strength monitoring system based on 5G router
CN116437382B (en) * 2023-03-31 2024-05-24 深圳市世纪欣阳科技有限公司 CPE signal strength monitoring system based on 5G router

Also Published As

Publication number Publication date
CN114339928B (en) 2024-05-28

Similar Documents

Publication Publication Date Title
CN114339928B (en) Wireless router and data transmission method thereof
CN111405684B (en) Method for connecting to network access device, terminal and computer readable storage medium
WO2020147627A1 (en) Link selection method and related apparatus
CN110622506B (en) Method and system for transmitting Virtual Reality (VR) content
CN107852519B (en) Method and apparatus for providing video service in communication system
CN112823554B (en) Electronic device for determining P2P operation channel and method thereof
CN109362097B (en) Transmission control method and related device
CN108282671B (en) Streaming media data transmission method
CN109274596B (en) Data transmission method and related device
WO2014086142A1 (en) Method and apparatus for processing video image
WO2012040659A2 (en) Display update for a wireless display device
CN109120524B (en) Link aggregation method and related equipment
US9781595B2 (en) Wireless communication device
US20210368571A1 (en) Method for link connection, electronic device and storage medium
CN113572836B (en) Data transmission method, device, server and storage medium
CN105900481B (en) bandwidth selection method of wireless fidelity technology and access point AP
CN112566165B (en) Call method and device
WO2021097803A1 (en) Resource switching method and apparatus and storage medium
US20190090125A1 (en) Information processing apparatus, information processing method, and source apparatus
CN111556360A (en) Wireless channel selection method, computer device and storage medium
US10455261B2 (en) Signaling scheme for improved video streaming
CN109922318B (en) Multi-channel video transmission scheduling method and device, storage medium and electronic terminal
US20140161199A1 (en) Method and apparatus for processing video image
CN112261625A (en) Bit rate adaptive data transmission method and device, equipment and storage medium
WO2014066600A2 (en) Systems and methods for sharing bandwidth across multiple video streams

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