CN114339928B - Wireless router and data transmission method thereof - Google Patents
Wireless router and data transmission method thereof Download PDFInfo
- Publication number
- CN114339928B CN114339928B CN202011063238.0A CN202011063238A CN114339928B CN 114339928 B CN114339928 B CN 114339928B CN 202011063238 A CN202011063238 A CN 202011063238A CN 114339928 B CN114339928 B CN 114339928B
- Authority
- CN
- China
- Prior art keywords
- data
- wireless
- transmission
- channel
- data type
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 230
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000002452 interceptive effect Effects 0.000 claims description 25
- 230000006835 compression Effects 0.000 claims description 4
- 238000007906 compression Methods 0.000 claims description 4
- 230000003993 interaction Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 abstract 1
- 230000003190 augmentative effect Effects 0.000 description 19
- 238000005516 engineering process Methods 0.000 description 9
- 230000005484 gravity Effects 0.000 description 8
- 239000000523 sample Substances 0.000 description 7
- 230000004044 response Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000013707 sensory perception of sound Effects 0.000 description 2
- 230000036410 touch Effects 0.000 description 2
- KKIMDKMETPPURN-UHFFFAOYSA-N 1-(3-(trifluoromethyl)phenyl)piperazine Chemical compound FC(F)(F)C1=CC=CC(N2CCNCC2)=C1 KKIMDKMETPPURN-UHFFFAOYSA-N 0.000 description 1
- 235000008694 Humulus lupulus Nutrition 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 230000016776 visual perception Effects 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
A wireless router and a data transmission method thereof, the wireless router comprising at least one wireless interface, the data transmission method comprising: 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 or not, and whether the transmission rate of the data of the first data type is smaller than the preset first transmission rate or not; 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 smaller than the preset first transmission rate, at least one of the following is adjusted: channel parameters of the wireless interface, transmission priority of data of each data type, and transmission bandwidth of data of each data type. The application can ensure the transmission stability of the data of the first data type and improve the user experience.
Description
Technical Field
The present application relates to the field of data transmission technologies, but not limited to, and in particular, to a wireless router and a data transmission method thereof.
Background
Virtual Reality (VR) technology is an information technology for constructing an immersive human-computer interaction environment based on computable information, and adopts a computer to generate an artificial Virtual environment, so as to generate an artificial environment mainly based on visual perception, including comprehensive perception of hearing and touch, wherein people can perceive the Virtual world of the computer through various sensory channels such as vision, hearing, touch and acceleration, and can interact with the Virtual world in the most natural modes such as movement, voice, expression, gesture and sight, thereby generating the experience of being personally on the scene. Augmented reality (Augmented Reality, AR) is a technology that augments the user's perception of the real world by means of information provided by a computer system, applies virtual information to the real world, and overlays computer-generated virtual objects, scenes, or information onto the real scene, thereby enabling augmentation of reality. VR/AR technology has been used in various fields such as military, medical, educational, entertainment, manufacturing, engineering training, etc., and is considered an important technology for affecting people's life currently and in the future.
At present, high-quality VR/AR content mainly exists at a computer end, traditional VR/AR technology is mainly used for transmitting through connecting a data wire with a computer, wearing is heavy and inconvenient, and safety problems caused by winding of the data wire exist. The use mode of transmitting the content of the personal computer (Personnal Computer, PC) end to the VR/AR all-in-one machine by using the router wireless network appears in the industry, but the router wireless network is easy to be interfered by other wireless signals in the environment to generate wireless channel conflict, or the wireless channel is occupied to cause incapability of communication or slow data transmission, and the problems of clamping and the like appear.
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 or not, and whether the transmission rate of the data of the first data type is smaller than the preset first transmission rate or not; 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 smaller than the 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 adjusts channel parameters of the wireless interface, including: 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 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 connection.
In an exemplary embodiment, the wireless router switches a currently used wireless channel to the wireless channel with the best channel quality, including: detecting whether data of the first data type are currently being transmitted; and 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 interaction 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 other than the first data type.
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, a first bandwidth is allocated to the data of the first data type, and a second bandwidth is allocated to the data of the first data type; when the data type of the current transmission data does not comprise the first video stream data, third bandwidth is allocated to the data of the first data type, and fourth bandwidth is allocated to the data of the first data type; wherein the first bandwidth is greater than the second bandwidth, the first bandwidth is greater than the third bandwidth, the third bandwidth is greater than the fourth bandwidth, and the second bandwidth is less than the fourth bandwidth.
In an exemplary embodiment, the data transmission terminal includes a first data transmission terminal and a second data transmission terminal, and when the data type of the current transmission data includes the preset first data type, the method further includes: the wireless router sends a first notification 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 notification.
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 a wireless channel in the first frequency band to connect a first data transmission terminal, and uses a 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 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 the data type of the current transmission data in real time, including: the wireless router detects a protocol characteristic field and/or a transmission port number of the 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.
The embodiment of the application also provides a wireless router, which comprises at least one wireless interface, a processor and a memory, wherein the wireless interface is used for connecting at least one data transmission terminal through a wireless channel, and the processor is used for executing a computer program stored in the memory to realize the steps of the data transmission method.
According to the wireless router and the data transmission method thereof, when the data type of the current transmission data comprises the preset first data type and the transmission rate of the preset data of the first data type is smaller than the first transmission rate, the wireless router adjusts at least one of the following: channel parameters of the wireless interface, transmission priority of data of each data type and transmission bandwidth of data of each data type, so that transmission stability of data of the first data type can be ensured, and 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 practice of the application. Other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The accompanying drawings are included to provide an understanding of the principles of the application, and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain, without limitation, the principles of the application.
Fig. 1 is a flow chart of a data transmission method according to an embodiment of the application;
fig. 2 is a schematic diagram of an application scenario according to an embodiment of the present application;
Fig. 3 is a schematic diagram of another application scenario according to an embodiment of the present application.
Detailed Description
The present application has been described in terms of several embodiments, but the description is illustrative and not restrictive, 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 described embodiments. 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 in place of any other feature or element of any other embodiment unless specifically limited.
The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The disclosed embodiments, features and elements of the present application may also be combined with any conventional features or elements to form a unique inventive arrangement as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive arrangements to form another unique inventive arrangement as defined in the claims. It is therefore to be understood that any of the features shown and/or discussed in the present application may be implemented alone or in any suitable combination. Accordingly, the embodiments are not to be restricted except in light of the attached claims and their equivalents. Further, various modifications and changes may be made within the scope of the appended claims.
Furthermore, 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 sequences of steps are possible as will be appreciated by those of ordinary skill in the art. Accordingly, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Furthermore, 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 of a wireless router, the wireless router including at least one wireless interface, the wireless router being connected to at least one data transmission terminal through the wireless interface, the data transmission method including steps 101 to 103.
Step 101, 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.
In some exemplary embodiments, the wireless router monitors the data type of the currently transmitted data in real time based on the protocol characteristics 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 the packet header specified by the protocol. The transport port number refers to a port number of a transport control protocol (Transfer Control Protocol, TCP) or a user datagram protocol (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 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, and taking the total data amount 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 the transmitter of the wireless router in a preset unit time, and taking the total data amount as a second metering rate of the data of each data type;
the sum of the first metering rate and the second metering rate of the data of each data type is taken as the transmission rate of the data of each data type.
For example, in the past 10 minutes, the wireless router counts that the total amount of data of the transmitted data of the first data type is 100M, and the total amount of data of the received data of the first data type is 1100M, and the transmission rate of the data of the first data type is (100+1100)/(10×60) =2 Mbps.
Step 102, the wireless router detects whether the data type of the current transmission data includes 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.
In some exemplary embodiments, the preset first data type includes first interactive data and first video stream data.
In this embodiment, the first interaction data may include control information, pose information, audio information, and the like sent by the virtual reality device or the augmented reality device. Wherein 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 along three rectangular coordinate axis directions X, Y, Z, and the posture information includes posture information Pitch, yaw, roll about three rectangular coordinate axis directions X, Y, Z, where Pitch is a Pitch angle rotating about an X axis, yaw is a Yaw angle rotating about a Y axis, and Roll is a Roll angle rotating about a Z axis. The positional information in the directions of X, Y, Z and the attitude information Pitch, yaw, roll in the directions of three rectangular axes around X, Y, Z are generally 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 partial data is characterized by smaller data volume, lower bandwidth requirement, but larger influence on user experience, so that the priority of the partial data is set higher to transmit the partial data preferentially, and the user experience is improved.
The first video stream data may include audio and video data, image data, etc. of a virtual reality application or an augmented reality application of the user, and is characterized by a larger data volume, a higher bandwidth requirement, and a priority of the partial 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 the preset first transmission rate, so as 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 at the same time, and the transmission rate of the first interactive data is compared with the preset first sub-transmission rate, and the transmission rate of the first video stream data is compared with the 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 if the transmission rate of the first video stream data is smaller than the preset second sub-transmission rate, it is determined that the transmission rate of the data of the first data type is smaller than the preset first transmission rate as long as either one of them is satisfied.
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 1100Kbps.
Step 103, when the data type of the current transmission data includes a preset first data type, and the transmission rate of the data of the first data type is smaller than the preset first transmission rate, the wireless router adjusts at least one of the following: channel parameters of the wireless interface, transmission priority of data of each data type, and transmission bandwidth of data of each data type.
According to the wireless router and the data transmission method thereof, when the data type of the current transmission data comprises the preset first data type and the transmission rate of the data of the first data type is smaller than the preset first transmission rate, at least one of the following is adjusted: channel parameters of the wireless interface, transmission priority of data of each data type and transmission bandwidth of data of each data type, so that transmission stability of the data of the first data type can be guaranteed, and 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 single-machine VR/AR scene as shown in FIG. 2, wherein a first data transmission terminal (for example, a personal computer) and a second data transmission terminal (for example, a virtual reality device or an augmented reality device) are directly connected with a wireless router through a wireless channel; or the data transmission method of the embodiment of the present application may also be applied to a cloud VR/AR scenario as shown in fig. 3, where a first data transmission terminal (for example, a cloud VR/AR server) and a wireless router are connected through an interconnection (Internet) network, and the wireless router and a second data transmission terminal (for example, 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 may be a cloud VR/AR server, and the second data transmission terminal may be a virtual reality device or an augmented reality device, where the virtual reality device (or the augmented reality device) includes a head-mounted display, an interactive device, and the like, and the interactive 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 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 first video stream data to the second data transmission terminal through the wireless router.
The data transmission method of the embodiment of the application can provide a high-speed stable transmission environment for the user after the VR/AR arrives home, thereby not only ensuring the use of the prior VR/AR equipment, but also avoiding unnecessary cost improvement, avoiding the user purchasing a router with extremely high configuration, and improving the user experience.
In some example embodiments, the wireless router adjusts channel parameters of the wireless interface, comprising:
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 wireless router may operate in a frequency band of 2.4G or 5G.
The 802.11 working group divides the wireless network signal into two separate frequency bands, namely 2.4GHz and 5.0GHz. Each frequency band is divided into channels, and each country makes its own policy to make a reservation on how to use the frequency bands. For example, in China, the 2.4GHz band is divided into 13 channels (since channels 1, 6 and 11 are spaced far enough apart from each other, three of them also become the three most common channels that do not overlap and interfere with each other), and the 5.0GHz band is divided into 4 channels.
Because the 802.11b/g WLAN standard adopts the most commonly used 2.4GHz radio frequency band, in actual work and life, the wireless router can not only be interfered by WiFi common-frequency signals transmitted by other wireless routers in the wireless signal coverage area, but also be interfered by non-WiFi signals transmitted by equipment such as a microwave oven, a Bluetooth mobile phone or a notebook computer and the like 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-channel interference signal on all wireless channels in the current working frequency band. In an exemplary embodiment, detecting the strength of the WiFi co-channel interference signal on one wireless channel includes: and sending a Probe Request (Probe Request) frame on the current channel, staying on the channel for a period of time, waiting for receiving Probe Response (Probe Response) frames of other wireless routers, extracting signal strength information from the received Probe Response frames when the Probe Response frames of the other wireless routers are received, and switching the sum of the signal strengths of all the received Probe Response frames to the next wireless channel as the strength of the WiFi co-channel interference signal on the channel.
The strength of the non-WiFi interfering signals of all wireless channels is detected. In an exemplary embodiment, detecting the strength of non-WiFi interfering signals of 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 interference signal of each channel with the intensity of the WiFi co-channel interference signal to obtain the co-channel interference signal intensity of 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 devices will be in the channel with the smallest current wireless pressure, and no other devices interfere with and occupy the data transmission resources.
In some exemplary embodiments, the wireless router adjusts channel parameters of the wireless interface, further comprising:
The wireless router switches wireless bandwidth modes of the wireless interface.
The 802.11n protocol supports a 20MHz radio bandwidth (HT 20 for short) defined by the original 802.11abg protocol, and additionally supports a 40MHz radio bandwidth (HT 40 for short), so that two adjacent 20MHz channels are allowed to be used as one 40MHz channel, and transmission efficiency is increased. 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 transmission efficiency.
The actual radio transmission rate is affected by a combination of multiple factors. Taking 802.11n protocol as an example, the highest wireless bandwidth can select HT40, i.e. two channels of 20MHz are bundled, however once HT40 mode is selected, the whole 2.4GHz wireless frequency band only supports one non-overlapping channel, and only 4 completely non-overlapping channels are available in the 5GHz wireless frequency band. In practical application environment, co-frequency interference and temporary frequency interference are very easy to generate, namely, wireless signals of 1 to 6 channels can generate wireless interference to 40MHz bandwidth communication. When radio interference is severe, the device selects the radio transmission rate at HT40, instead of selecting the radio transmission rate at HT 20.
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 the HT20 mode; when the current co-channel interference signal strength is weak (e.g., lower than the preset interference signal strength), the wireless router selects the HT40 (/ HT80/HT 160) 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 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 connects with the wireless router after disconnecting the current channel connection.
In this embodiment, after the wireless router disconnects the already connected device, it hops to the channel with the best channel quality to be selected for connection. If the wireless router does not send the information of the 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 wait 5s after detecting disconnection of wireless connection, and then actively connect with the wireless router, but if the first data transmission terminal and/or the second data transmission terminal is connected with other wireless routers before, when the first data transmission terminal and/or the second data transmission terminal detects disconnection of wireless connection, the first data transmission terminal and/or the second data transmission terminal automatically connect with other wireless routers connected before, and at this time, a connection error situation may occur. Therefore, in this embodiment, the wireless router sends the information of the 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 embeds the connection software, when the wireless router disconnects, the connection software reconnects the wireless router with the selected channel according to the received information of the wireless channel with the best channel quality, so as to avoid connection to other routers and connection errors.
In some exemplary embodiments, the wireless router switches the currently used wireless channel to the wireless channel with the best channel quality, including:
Detecting whether data of a first data type is currently being transmitted;
when no data of the first data type is currently being transmitted, the currently used wireless channel is switched to the wireless 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 can 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 switches the wireless channel and generates the data packet loss of the first data type when the wireless router has the data flow of the first data type.
In some example embodiments, the wireless router adjusts the transmission priority of data for 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 the data of the non-first data type.
In this embodiment, since the first interactive data is characterized by smaller data size and lower bandwidth requirement, but has a larger influence on the user experience, the priority of the first interactive data is set highest, so as to transmit the first interactive data preferentially, and improve the user experience.
The first video stream data is characterized by larger data volume and higher bandwidth requirement, 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 may include P2P download data, web browsing data, online network application data, etc., and by setting the priority of the data of the non-first data type to be the lowest, the data transmission requirement of the virtual reality application or the augmented reality application can be satisfied as much as possible.
In some exemplary embodiments, the wireless router adjusts the transmission bandwidth of data for each data type as follows:
When the data type of the current transmission data comprises first video stream data, a first bandwidth is allocated for the data of the first data type, and a second bandwidth is allocated 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, third bandwidth is allocated to the data of the first data type, and fourth bandwidth is allocated to the data of the non-first data type;
Wherein the first bandwidth is greater than the second bandwidth, the first bandwidth is greater than the third bandwidth, the third bandwidth is greater than the fourth bandwidth, and the second bandwidth is less than the fourth bandwidth.
In this embodiment, the wireless router detects the size of the data amount of the virtual reality application (or the augmented reality application) to be transmitted, and when the data type of the current transmission data includes 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 large, limits the transmission speed of the data of other non-virtual reality applications (or the non-augmented reality applications) to be slower (that is, allocates a lower bandwidth for 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, i.e. 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 the non-augmented reality application) is allowed to be slightly faster (i.e. a bit of higher bandwidth is allocated to the data of the non-first data type).
In some example embodiments, the wireless router detects the transmission speed of data of the currently transmitted virtual reality application (or augmented reality application), and the transmission speed of data of other non-virtual reality applications (or non-augmented reality applications), and adjusts as follows: the data of the transmitted virtual reality application (or the augmented reality application) is made to occupy a first specific gravity of the total transmission data, the data of the transmitted non-virtual reality application (or the non-augmented reality application) is made to occupy a second specific gravity of the total transmission data, the first specific gravity is larger than the second specific gravity, and the sum of the first specific gravity and the second specific gravity is 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 the 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 when video compression encoding according to the first notification.
In this embodiment, a first data transmission terminal obtains audio and video content of VR/AR application, encodes the obtained audio and video content of VR/AR application, generates a coded code stream, sends the generated coded code stream to a second data transmission terminal through a 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 VR/AR application, and outputs the audio and video content of VR/AR application to a 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 notification is sent to a first data transmission terminal (namely the VR/AR server), the VR/AR server can adjust the code rate during 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 situation that pictures are intermittent or unsmooth is avoided, and the user experience is improved.
In some exemplary embodiments, a wireless router includes at least two wireless interfaces using a first frequency band and a second frequency band, respectively, the wireless router adjusting channel parameters of the wireless interfaces, comprising:
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 channels in the first frequency band is better than the channel quality of the wireless channels in the second frequency band.
In some exemplary embodiments, the first frequency band is a 5.0GHz band and the second frequency band is a 2.4GHz band.
In this embodiment, the wireless router is a dual-frequency router, and supports both the 5GHz band and the 2.4GHz band, where the 2.4GHz band is an ISM (Industry SCIENCE MEDICINE) wireless band that is commonly used in public worldwide, and the wireless usage devices are more, although 13 channels can be accommodated in the 2.4GHz band, as various IT devices are popular, such as tablet computers, mobile phones, PCs, game machines, etc. are used in this band, so that when multiple devices are used simultaneously, the throughput value is severely reduced. Secondly, the microwave oven, bluetooth and wireless mouse also use the frequency band of 2.4GHz, and interference can be generated between devices. In general, 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 can transmit data in multiple channels simultaneously in cooperation with the implementation of VR/AR application, so that the VR/AR audio/video transmission bandwidth and stability are indirectly improved. The first data transmission terminal (i.e. VR/AR server side) 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 (i.e. VR/AR device) according to the current network situation. When the wireless router establishes connection with the first data transmission terminal by using a wireless channel in the 5G frequency band and establishes connection with the second data transmission terminal by using a wireless channel in the 2.4G frequency band, the two sides respectively use 1 wireless channel to respectively perform data transmission without mutual influence. In addition, since video streaming of VR/AR application is usually performed using UDP, the wireless router of this embodiment may optimize the transmission and processing flow of UDP packets (e.g., improve the transmission priority and/or processing priority of UDP packets), and ensure the video streaming speed of VR/AR application.
In some exemplary embodiments, a wireless router includes at least two wireless interfaces using a first frequency band and a second frequency band, respectively, the wireless router adjusting channel parameters of the wireless interfaces, comprising:
the wireless router uses a wireless channel in a first frequency band to transmit data of a first data type, and uses a wireless channel in a second frequency band to transmit data of a non-first data type;
Wherein the channel quality of the wireless channels in the first frequency band is better than the channel quality of the wireless channels in the second frequency band.
In this embodiment, when the transmission bandwidth of the wireless channel in the 2.4GHz band is low or the intensity of the co-channel interference signal is 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 transmit data of the first data type, and use the wireless channel in the second band to transmit data of a non-first data type.
The embodiment of the application also provides a wireless router, which comprises at least one wireless interface, a processor and a memory, wherein the wireless interface is used for connecting one or more data transmission terminals through a wireless channel, and the processor is used for executing a computer program stored in the memory to realize the steps of the data transmission method.
The wireless router and the data transmission method thereof can be applied to the VR/AR field, can also be applied to other fields except VR/AR, can accelerate different contents, can adapt the characteristics of the contents after a specific acceleration object is selected, can automatically select an optimal channel when the wireless router detects the transmission of the contents to be accelerated, and can accelerate the corresponding contents to ensure the transmission speed of the specific contents.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the 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 cooperatively by several physical components. 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 both 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 known to those skilled 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 be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, 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.
Claims (6)
1. A data transmission method of a wireless router, wherein 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, the data transmission method comprising:
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 or not, and whether the transmission rate of the data of the first data type is smaller than the preset first transmission rate or not;
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 smaller than the 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;
the wireless router adjusts channel parameters of the wireless interface, including:
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;
The wireless router sends the information of the wireless channel with the best channel quality to the data transmission terminal, so that the data transmission terminal actively connects the wireless router after disconnecting the current channel connection;
the wireless router switches the currently used wireless channel to the wireless channel with the best channel quality;
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 according to the following mode:
the priority of the first interaction 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 other than the first data type;
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, a first bandwidth is allocated to the data of the first data type, and a second bandwidth is allocated to the data of the first data type;
When the data type of the current transmission data does not comprise the first video stream data, third bandwidth is allocated to the data of the first data type, and fourth bandwidth is allocated to the data of the first data type;
wherein the first bandwidth is greater than the second bandwidth, the first bandwidth is greater than the third bandwidth, the third bandwidth is greater than the fourth bandwidth, and the second bandwidth is less than the fourth bandwidth.
2. The data transmission method according to claim 1, wherein the wireless router switches a currently used wireless channel to the wireless channel having the best channel quality, comprising:
Detecting whether data of the first data type are currently being transmitted;
And 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.
3. 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, 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 notification 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 notification.
4. 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 supporting 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 a wireless channel in the first frequency band to connect a first data transmission terminal, and uses a wireless channel in the second frequency band to connect a second data transmission terminal; or alternatively
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 which is not of the 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.
5. The data transmission method according to claim 1, wherein the wireless router monitors the data type of the currently transmitted data in real time, comprising:
the wireless router detects a protocol characteristic field and/or a transmission port number of the 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.
6. 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 the memory to carry out the steps of the data transmission method according to any one of claims 1 to 5, and a memory.
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 CN114339928A (en) | 2022-04-12 |
CN114339928B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114513792B (en) * | 2022-04-13 | 2022-07-22 | 优游宝科技(深圳)有限公司 | Remote network control method and device based on eSIM card |
CN115632746B (en) * | 2022-12-22 | 2023-04-18 | 深圳沛喆微电子有限公司 | Method for improving stability of transmission channel by WiFi6 intelligent router system |
CN116437382B (en) * | 2023-03-31 | 2024-05-24 | 深圳市世纪欣阳科技有限公司 | CPE signal strength monitoring system based on 5G router |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7630401B2 (en) * | 2005-04-28 | 2009-12-08 | Sony Corporation | Bandwith management in a network |
-
2020
- 2020-09-30 CN CN202011063238.0A patent/CN114339928B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN114339928A (en) | 2022-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114339928B (en) | Wireless router and data transmission method thereof | |
CN107852519B (en) | Method and apparatus for providing video service in communication system | |
CN112823554B (en) | Electronic device for determining P2P operation channel and method thereof | |
JP7186868B2 (en) | Service data transmission method and device, computer equipment and computer program | |
JP6973709B2 (en) | Methods, network elements, VR content servers, terminal devices and programs for transmitting virtual reality (VR) content | |
WO2012040659A2 (en) | Display update for a wireless display device | |
CN113572836B (en) | Data transmission method, device, server and storage medium | |
CN112291366A (en) | Data transmission method, device, storage medium and electronic equipment | |
CN111315038B (en) | Data transmission method and device, electronic equipment and storage medium | |
EP4228309A1 (en) | Call method and device | |
CN109890087B (en) | Method and device for processing data packet | |
US10582376B2 (en) | Information processing apparatus, information processing method, and source apparatus | |
US20240032118A1 (en) | Wireless communication method, movable platform, system, and computer-readable storage media | |
KR20210141295A (en) | Method and apparatus for transmitting video content using edge computing service | |
WO2021097803A1 (en) | Resource switching method and apparatus and storage medium | |
KR20220001312A (en) | Method and apparatus for controlling transmission and reception of data in a wireless communication system | |
US20240297977A1 (en) | Head motion dependent viewport region modification for omnidirectional conversational vdd | |
US20140161199A1 (en) | Method and apparatus for processing video image | |
KR20220114326A (en) | Electronic device for transmitting and receiving media stream and method for thereof | |
US20240235606A1 (en) | Systems and methods of header information element for uwb data communication | |
US20230076650A1 (en) | Image content transmission method and apparatus using edge computing service | |
US20240073734A1 (en) | Systems and methods of control of quality-of-service of data units via multiple communication layers | |
US20170142388A1 (en) | Wireless transmission system, method and device for stereoscopic video | |
EP4280691A1 (en) | Switching between wireless connections | |
US20230069718A1 (en) | Data Communication Method and Related Apparatus |
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 |