CN109951881A - A kind of channel switching method, terminal device and routing device - Google Patents

A kind of channel switching method, terminal device and routing device Download PDF

Info

Publication number
CN109951881A
CN109951881A CN201910234335.2A CN201910234335A CN109951881A CN 109951881 A CN109951881 A CN 109951881A CN 201910234335 A CN201910234335 A CN 201910234335A CN 109951881 A CN109951881 A CN 109951881A
Authority
CN
China
Prior art keywords
access point
channel
terminal device
routing device
sent
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
CN201910234335.2A
Other languages
Chinese (zh)
Other versions
CN109951881B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910234335.2A priority Critical patent/CN109951881B/en
Publication of CN109951881A publication Critical patent/CN109951881A/en
Application granted granted Critical
Publication of CN109951881B publication Critical patent/CN109951881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of channel switching method, terminal device and routing device, this method comprises: passing through the first access point and routing device in the case where the first channel carries out information transmission in the terminal device, if detecting, destination application is had been turned on, then channel switch request message is sent to the routing device, wherein, the routing device also has the second access point in a dormant state;In the case where receiving the first response message that the routing device is sent, in running order second access point is switched to from first access point;Wherein, first response message carries the information of second access point, and the working channel of second access point is second channel.Channel switching method provided by the invention can realize without the time needed for waiting current access point to reconfigure working channel, and then have a higher switching efficiency and more preferably communication quality by switch operating in the access point of different channels.

Description

A kind of channel switching method, terminal device and routing device
Technical field
The present invention relates to field of communication technology more particularly to a kind of channel switching methods, terminal device and routing device.
Background technique
With the continuous development of mobile communication technology, mobile Internet access becomes very universal, and user is whole commonly using mobile phone etc. End equipment carries out various affairs, such as game on line, viewing video or video calling, and these affairs all be unable to do without network.Mesh Before, user often carries out net using Wireless Fidelity (Wireless Fidelity, abbreviation Wi-Fi) in using terminal equipment Network connection, but Wi-Fi network environment easily influences the network connection situation of terminal device, and then influences the operating experience of user, Wherein, one of the factor for influencing Wi-Fi network environment is exactly channel disturbance.
In the prior art, some wireless routers periodically can switch channel for terminal device to realize that current access point exists It interferes and is communicated on less channel, for example, the current access point of terminal device is switched to 6 channels from 1 channel, at this point, this connects Access point can first disconnect the connection with terminal device, to carry out channel switching, re-establish again and terminal after the completion of channel switching The connection of equipment, being equivalent to terminal device experienced the process for waiting access point restarting.Therefore, the channel switching process meeting Persistently longer time, and terminal device has disconnected the communication with wireless router during this, so that extreme influence user makes With the experience of terminal device.
As it can be seen that existing channel switching method has that switching efficiency is lower so that communication quality is poor.
Summary of the invention
The embodiment of the present invention provides a kind of channel switching method, terminal device and routing device, is cut with solving existing channel The switching efficiency for changing method is lower so that the poor problem of communication quality.
In order to solve the above technical problems, the present invention is implemented as follows:
In a first aspect, being applied to terminal device, the method packet the embodiment of the invention provides a kind of channel switching method It includes:
Pass through the first access point and routing device in the case where the first channel carries out information transmission in the terminal device, If detecting, destination application is had been turned on, and sends channel switch request message to the routing device, wherein the routing Equipment also has the second access point in a dormant state;
In the case where receiving the first response message that the routing device is sent, switched to from first access point In running order second access point, wherein first response message carries the information of second access point, The working channel of second access point is second channel.
Second aspect, the embodiment of the invention provides a kind of channel switching methods, are applied to routing device, and the routing is set Standby to carry out information transmission in the first channel by the first access point and terminal device, the routing device also has in suspend mode shape Second access point of state, which comprises
Receive the channel switch request message that the terminal device is sent;
In response to the channel switch request message, the second access point of the routing device is waken up, and makes described second Access point works in second channel;
The first response message for carrying the information of second access point is sent to the terminal device.
The third aspect, the embodiment of the present invention provide a kind of terminal device, comprising:
Sending module, for carrying out information in the first channel by the first access point and routing device in the terminal device In the case where transmission, if detecting, destination application is had been turned on, and sends channel switch request message to the routing device, Wherein, the routing device also has the second access point in a dormant state;
Switching module, in the case where receiving the first response message that the routing device is sent, from described the One access point switches in running order second access point, wherein first response message carries described The information of two access points, the working channel of second access point are second channel.
Fourth aspect, the embodiment of the present invention provide a kind of routing device, and the routing device passes through the first access point and end End equipment carries out information transmission in the first channel, and the routing device also has the second access point in a dormant state, described Routing device includes:
Receiving module, the channel switch request message sent for receiving the terminal device;
Determining module, for waking up the second access point of the routing device in response to the channel switch request message, And make the second access point work in second channel;
First sending module, first for sending the information for carrying second access point to the terminal device answers Answer message.
5th aspect, the embodiment of the present invention provide a kind of terminal device, including processor, memory and are stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor Step in channel switching method described in above-mentioned first aspect.
6th aspect, the embodiment of the present invention provide a kind of routing device, including processor, memory and are stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor Step in channel switching method described in above-mentioned second aspect.
7th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Computer program is stored in matter, the computer program realizes that channel described in above-mentioned first aspect is cut when being executed by processor Change the step in method.
Eighth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Computer program is stored in matter, the computer program realizes that channel described in above-mentioned second aspect is cut when being executed by processor Change the step in method.
In the embodiment of the present invention, terminal device, can be to routing in the case where detecting that destination application has been turned on Equipment sends channel switch request message, so that routing device in response to the request message, wakes up second in a dormant state Access point, and the work of the second access point is made to be sent to terminal device in second channel, and by the information of the second access point, terminal is set It is standby after receiving the response message of the information comprising the second access point of routing device transmission, can be from first currently connected Access point switches to the second access point, quickly switches to second channel from the first channel to realize.In this way, due to terminal device Channel is reconfigured without waiting for current access point, thus without waiting for the long period in channel switching process, and then have Higher switching efficiency and more preferably communication quality.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow chart of channel switching method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another channel switching method provided in an embodiment of the present invention;
Fig. 3 is a kind of channel switching flow figure of terminal equipment side provided in an embodiment of the present invention;
Fig. 4 is a kind of channel switching flow figure of routing device side provided in an embodiment of the present invention;
Fig. 5 is a kind of negotiation of terminal device and wireless router provided in an embodiment of the present invention in channel switching process Flow chart;
Fig. 6 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 7 a is the structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Fig. 7 b is the structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of routing device provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of the wake-up module of routing device provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of routing device provided in an embodiment of the present invention stator modules really;
Figure 12 is the structural schematic diagram of another routing device provided in an embodiment of the present invention;
Figure 13 is the structural schematic diagram of another routing device provided in an embodiment of the present invention;
Figure 14 is a kind of hardware structural diagram of terminal device provided in an embodiment of the present invention;
Figure 15 is the structural schematic diagram of another routing device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It is a kind of flow chart of channel switching method provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, is set applied to terminal Standby, institute is as shown in Figure 1, the described method comprises the following steps:
Step 101 carries out information transmission in the first channel by the first access point and routing device in the terminal device In the case where, if detecting, destination application is had been turned on, channel switch request message is sent to the routing device, In, the routing device also has the second access point in a dormant state.
In the embodiment of the present invention, the terminal device and routing device foundation have communication connection, and the terminal device It is currently that information transmission is carried out by the first access point on the first channel with the routing device, wherein the routing device It can be wireless router or other have the equipment of WIFI hot spot function, first access point is routing device configuration Access point.
Above-mentioned destination application can be the application program more demanding to network communication quality, such as game class application journey Sequence, video playback class application program, video calling class application program etc., the especially online class game application of network, to net Network QoS requirement is higher, if occurring the phenomenon that Caton because of network interferences in game process, will extremely influence user Game experiencing.
In the present embodiment, can preset at least one application program installed on the terminal device is the target Application program for example, terminal device can establish a network optimization white list, and is defaulted and adds certain form of application program Certain expectations can be obtained the application of preferred communication quality according to self-demand by adding to network optimization white list or user Program is added to network optimization white list, in this way, any application program in the network optimization white list may each be described Destination application.
It is above-mentioned to detect that destination application has been turned on, it can be the operation for detecting and starting the destination application, Or detect that the destination application is in foreground and shows state.
In the case where detecting that destination application has been turned on, it is believed that terminal device needs to carry out at this time channel and cuts More preferably communication channel is changed or needs to switch to, to meet requirement of the destination application to network communication quality, therefore, In the step, channel switch request message can be sent to routing device, the channel switch request, which can be, is used to indicate institute Routing device is stated, the terminal device needs to switch to other communication channels, and the routing device is needed to be provided work In the second access point of the second channel, wherein the terminal device and the routing device can pre-define good news Resolution rules are able to respond so that the terminal device and the routing device are when receiving the message of other side's transmission in this Message, and execute corresponding operation.
Wherein, second access point can be the routing device in advance and be reserved inactive of the terminal device Access point can start second access point when receiving the channel switch request message that the terminal device is sent, Second access point in a dormant state is waken up, and configures the working channel of second access point, specifically can be Second channel in the channel that the terminal device can be used in addition to first channel is as second access point Working channel, such as the second channel using communication quality better than first channel is as the working channel of second access point.
The routing device can switch in response to the channel and ask after receiving the channel switch request message Message is sought, determines second channel, wherein the second channel can be the channel that communication quality is better than first channel, such as Less channel is interfered, the channel of the terminal device negligible amounts of access is also possible to.
Preferably, the communication quality of the second channel is better than the communication quality of first channel.In this way, the routing Equipment can determine second letter of the communication quality better than first channel after receiving the channel switch request message Road, specifically, the routing device can be by the communication qualities of at least two channels of detection, to determine communication quality preferably Second channel, wherein the more excellent transmission rate that can be the channel of the communication quality is higher, interfere less or packet loss phenomenon compared with It is few etc..
In the embodiment of the present invention, the routing device can connect by the way that each channel is corresponding at least two channels of detection The send and receive packets signal message of access point quantity and each access point, to calculate the signal and interference plus noise of each channel Than (Signal to Interference plus Noise Ratio, abbreviation SINR), and then determine at least two channel Middle SINR value is higher than the second channel of first channel, wherein at least two channel can be the routing device institute At least two channels in the working frequency range of support, for example, the routing device supports 2.4G frequency range, then described at least two believe Road can be any two or more than two channel, the routing device of 1 channel into 13 channels and support 5G frequency range, then described At least two channels can be any two of 36 channels that the routing device is supported in the local channel into 165 channels Or more than two channels.
The corresponding number of access point of each channel at least two channel may include routing device described each Number of access point and number of access point of other routing devices on each channel on channel, i.e., the described routing device can To detect the number of access point of itself and other neighbouring routing devices on each channel.The receipts of each access point Give out a contract for a project signal message, can be the information such as send and receive packets signal strength or the signal interference situation of each access point.It is described to calculate The SINR of each channel can be according to the corresponding access point of channel each at least two channel detected The send and receive packets signal message of quantity and each access point, is calculated according to Signal to Interference plus Noise Ratio calculation formula.
After the SINR for obtaining each channel, it can determine at least two channel that SINR is higher than described the The second channel of one channel, it is preferred that the second channel can be higher than first letter by SINR at least two channel Any channel in road can also be preferably the highest channel of SINR at least two channel, to ensure the terminal device It allows hand over to communication quality more preferably channel.
It should be noted that ensure that the terminal device can be directly switch into the channel of present communications optimal quality, institute The communication quality of each channel in the frequency range that it is supported can be detected by stating routing device, to determine communication quality most The second channel of excellent (such as SINR highest).
Step 102, in the case where receiving the first response message that the routing device is sent, from first access Point switches in running order second access point;
Wherein, first response message carries the information of second access point, the work of second access point Channel is second channel.
The routing device can wake up in a dormant state after receiving the channel switch request message Two access points, and the working channel of second access point is configured, such as using second channel as second access point Working channel reduce channel so that the terminal device can complete the switching of channel by way of switching access point Switching time provides switching efficiency.
After being configured to second access point, it can be sent to the terminal device and carry second access First response message of the information of point, the terminal device, can be according in the case where receiving first response message According to the information of second access point, second access point is switched to from first access point, that is, is disconnected and described first Established after the connection of access point with the connection of second access point, after the completion of access point switching, the terminal device also from First channel has switched to the second channel.
Wherein, the information of second access point may include the basic service set identification (Basic of second access point Service Set Identifier, abbreviation BSSID), service set (Service Set Identifier, abbreviation SSID) The address of second access point can be indicated with essential informations, the BSSID such as channel values, and the SSID can indicate described The title of second access point, the channel value then indicate that the working channel of second access point, i.e., the described second channel are specific For which channel.The terminal device can disconnect and first access point according to the information of second access point Second access point described in the forward direction of connection sends access request message, establishes receiving the agreement that second access point is sent In the case where the message of connection, connection is established with second access point.
In this way, since second access point has been transmitted with the routing device in the enterprising row information of the second channel, To can rapidly establish the connection with second access point after disconnecting the connection with first access point, without The channel switch time of second access point is waited, that is, eliminating the reboot step of access point, and then can greatly be subtracted Few terminal device carries out the time of channel switching, improves switching efficiency, the terminal device is in the destination application Operational process in apparent Caton phenomenon will not occur.
Optionally, the step 101 includes:
Pass through the first access point and routing device in the case where the first channel carries out information transmission in the terminal device, If detecting, destination application is had been turned on, and sends the first data frame to the routing device, first data frame packet contains First control bit, first control bit are used to indicate the routing device and provide to be switched access point for the terminal device;
The step 102 includes:
In the case where receiving the second data frame that the routing device is sent, switched to from first access point from In second access point of working condition, information of second data frame packet containing second access point.
In the embodiment, the terminal device and the routing device can arrange by the way of self-defining data frame To indicate channel switch request message and channel switching response message.In this way, in the feelings for detecting that destination application has been turned on Under condition, the terminal device can send the first data frame to the routing device, and first data frame packet is containing the first control Position, first control bit is used to indicate the routing device and provides to be switched access point for the terminal device, in this way, described Routing device just can know that the terminal device needs to carry out channel switching when receiving first data frame.
It, can be to the terminal after second access point of the routing device configuration good berth in the second channel Equipment sends the second data frame of information comprising second access point, to indicate that the terminal device can connect from described first Access point switches to second access point.
Further, second data frame can also include the second control bit, and second control bit is used to indicate institute It states terminal device and there is changeable access point.In this way, the terminal device just can when receiving second data frame Know that there is currently the communication quality access points that more preferably channel and presence can be switched.
Wherein, to distinguish the type of message sent between the terminal device and the routing device, can to the two it Between the channel that sends switch relevant message and be named, for example, Gaming are named as, when the terminal device needs to send When first data frame, 1 can be set by Gaming of the value, i.e., described first control bit is to include numerical value 1 Gaming;When the routing device needs to send second data frame, 2 can be set by Gaming of the value, I.e. described second control bit is the position Gaming comprising numerical value 2.
In this way, the terminal device and the routing device can be by way of sending data frame in the embodiment Switch to complete channel, the message sent therebetween is not only made to have the features such as data structure is simple, transmission speed is fast, and It is also easy to parse, it is not easy to make mistakes.
Optionally, after the step 101, the method also includes:
In the case where receiving the second response message that the routing device is sent, keep and first access point Connection, second response message is used to indicate first channel as preferred channels or there is no changeable access points;Or Person
In the case where not receiving the response message that the routing device is sent in preset duration, keep and described first The connection of access point.
In the embodiment, when the communication quality that the routing device detects at least two channel be worse than it is described The communication quality of first channel, or detect the communication quality of the first channel described in all channels that the routing device is supported It is optimal, when also or available second access point (exception or failure occurs in such as described second access point) is not present, the routing Equipment can to the terminal device send the second response message, using indicate first channel be preferred channels or be not present can The access point of switching so that the terminal device does not need switching channel, and keeps the connection with first access point.Specifically Ground can be to the terminal device and send the third data frame comprising third control bit, for example, when the routing device needs When sending the third data frame, Gaming values can be set to 3, i.e., the described third control bit is to include numerical value 3 Gaming.
Lead to the road when of short duration failure or interference etc. occurs in the communication between the terminal device and the routing device When by the not sent response message of equipment time-out or sending response message failure, the terminal device can keep connecing with described first The connection of access point avoids the occurrence of network and disconnects and influence user's operation experience.
In this way, determining that there is currently no changeable channel or access points, or time-out not to receive the routing device When the response message of transmission, the connection with first access point can be kept, to can avoid channel handover failure and cause The case where net drop.
Optionally, after the step 102, the method also includes:
In the case where detecting that the destination application is turned off, the connection with second access point is disconnected.
In the embodiment, when detecting that the destination application is turned off, the destination application is such as exited Or the destination application is switched into backstage, the connection with second access point can be disconnected, and again with described the One access point establishes connection, so as to discharge second access point, to configure institute again when needing to switch channel next time It states the second access point and works in preferably channel, and be switched to communication quality more preferably by switching to second access point Channel.
In this way, the network environment due to different moments is different, the second channel that second access point is worked is current Moment is more excellent, but with the variation of network environment, the communication quality of the second channel be not necessarily always maintained at it is more excellent, therefore can To disconnect the connection with second access point when the terminal device is no longer required for higher network communication quality, thus When needing to switch channel next time, second access point can be reconfigured and work in more excellent or optimal channel, Jin Erneng Enough ensure that the terminal device can switch to channel more preferably channel when needed.
In addition, the routing device is after detecting that the terminal device disconnects the connection with second access point, it can To close second access point, continue using second access point as ready-access terminal when needing to switch channel, with When next time needs to switch channel, configure second access point again and work in more excellent or more preferably channel, not only guarantee described in Terminal device is interfering less channel information, it is also possible that the terminal device can be accessed quickly through switching Point realizes channel switching.
It should be noted that the terminal device can when detecting the operation for starting the destination application, just into The switching of row channel, so that user is when formally using the target application, channel switching has been completed in the terminal device, thus The usage experience of user can be greatly improved, avoid terminal device during user is using the destination application (as swum During play) the of short duration influence network quality because switching channel.
It should be noted that when being deployed with access in the network communication architectures in the terminal device and the routing device When controller (Access Controller, abbreviation AC), i.e., described first access point and second access point pass through described AC is controlled, and seamless roam may be implemented in the terminal device, i.e. the switching time of switching access point can control in millisecond Grade, does not exchange substantially, and in business with any pause has above been not felt by, in such cases, the terminal device can transported During the row destination application, channel switching is carried out at any time or carries out a secondary channel switching every the set time, with Guarantee the terminal device during running the destination application, channel more excellent or optimal in communication quality always Upper transmission information, and then user is made to obtain more ultimate attainment usage experience.
Wherein, the routing device can detect each at least two channels with real-time detection or every the set time The communication quality of channel, to determine the more excellent or optimal channel of communication quality, and as different from current access point another One access point uses channel, and the message for carrying the information of the access point is actively sent to the terminal device, makes described Terminal device switches to more preferably channel and switching to the access point.
In the embodiment of the present invention, above-mentioned terminal device can be any equipment with storaging medium, such as: computer (Computer), mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (Personal Digital Assistant, abbreviation PDA), mobile Internet access device The terminal devices such as (Mobile Internet Device, abbreviation MID) or wearable device (Wearable Device).
Channel switching method in the present embodiment, terminal device in the case where detecting that destination application has been turned on, Channel switch request message can be sent to routing device, so that routing device wakes up in response to the request message and is in suspend mode Second access point of state, and the work of the second access point is made to be sent to terminal in second channel, and by the information of the second access point Equipment, terminal device, can be from working as after receiving the response message of the information comprising the second access point of routing device transmission First access point of preceding connection switches to the second access point for working in second channel, quickly switches from the first channel to realize To second channel.In this way, since terminal device without waiting for current access point reconfigures channel, thus in channel switching process In without waiting for the long period, and then have higher switching efficiency and more preferably communication quality.
Referring to fig. 2, Fig. 2 is the flow chart of another channel switching method provided in an embodiment of the present invention, is applied to routing Equipment, the routing device carry out information transmission, the routing device in the first channel by the first access point and terminal device Also there is the second access point in a dormant state, as shown in Fig. 2, the described method comprises the following steps:
The channel switch request message that step 201, receiving terminal apparatus are sent.
Step 202, in response to the channel switch request message, wake up the second access point of the routing device, and make The second access point work is in second channel.
Optionally, the step 202 includes:
In response to the channel switch request message, determine that communication quality is better than the second channel of first channel;
The second access point of the routing device is waken up, and makes the second access point work in the second channel.
Optionally, the determining communication quality includes: better than the second channel of first channel
Detect the send and receive packets signal of each corresponding number of access point of channel and each access point at least two channels Information calculates the Signal to Interference plus Noise Ratio SINR of each channel;
Determine that Signal to Interference plus Noise Ratio SINR is higher than the second channel of first channel.
Step 203, Xiang Suoshu terminal device send the first response message for carrying the information of second access point.
Optionally, the step 201 includes:
Receiving the first data frame that the terminal device is sent, first data frame packet contains the first control bit, and described the One control bit is used to indicate the routing device and provides to be switched access point for the terminal device;
The step 203 includes:
The second data frame, second access of second data frame packet containing the routing device are sent to the terminal device The information of point.
Optionally, second data frame further includes the second control bit, and second control bit is used to indicate the terminal There is changeable access point in equipment.
Optionally, after the step 201, the method also includes:
The case where the communication quality for determining first channel is better than other channels that the routing device can use Under, Xiang Suoshu terminal device sends the second response message, and it is optimal that second response message, which is used to indicate first channel, Channel.
Optionally, after the step 203, the method also includes:
In the case where detecting that second access point and the terminal device disconnect, second access is closed Point.
It should be noted that above-mentioned routing device is set as routing corresponding with embodiment shown in FIG. 1 in the present embodiment Standby, specific embodiment may refer to the related introduction in embodiment shown in FIG. 1, and to avoid repeating, details are not described herein again.
Channel switching method in the present embodiment, routing device disappear in the channel switch request for receiving terminal device transmission , can be in response to the request message after breath, the working channel for waking up the second access point, and configuring the second access point is the second letter Road, by the way that the information of the second access point is sent to terminal device, so that terminal device is in the information for receiving the second access point Afterwards, the second access point for working in second channel is switched to from the first access point currently connected, to realize quickly from first Channel switches to second channel.In this way, terminal device reconfigures working channel without waiting for current access point, thus in channel Without waiting for the long period in handoff procedure, and then guarantee that terminal device has higher switching efficiency and more preferably communicates matter Amount.
Below to combine Fig. 3 to Fig. 5, with terminal device by the first access point AP1 connection wireless router, and with it is wireless Router illustrates to the channel switching method in the embodiment of the present invention for the enterprising row information transmission of the first channel CH1 Explanation.
It is the channel switching flow figure of terminal equipment side referring to Fig. 3, Fig. 3, comprising the following steps:
Step 301, starting game on line application program.
Whether the started game on line application program of step 302, judgement is in network optimization white list;
In the step, if so, thening follow the steps 303, otherwise terminate process.
Step 303 sends the data frame for being 1 comprising Gaming to wireless router.
Step 304 judges whether to receive replying message for wireless router;
In the step, if so, 306 are thened follow the steps, it is no to then follow the steps 305.
Step 305 judges whether to be more than that preset duration is not received and replied message;
In the step, if so, terminating process, step 304 is otherwise returned to.
Step 306 replies message the second access point AP2 is supported and enabled to determining wireless router whether by received, Second access point works in the second channel CH2 that communication quality is better than the first channel CH1;
Wherein, if it is received reply message for be 2 comprising Gaming data frame, it is determined that wireless router support and Enabled second access point AP2, if it is received reply message for be 3 comprising Gaming data frame, it is determined that wireless router Do not support or be not enabled on the second access point AP2;
In the step, and if it exists, then follow the steps 307, otherwise terminate process.
Step 307 switches to the second access point AP2 from the first access point AP1, realizes from the first channel CH1 and switches to the Two channel CH2.
Referring to fig. 4, Fig. 4 is the channel switching flow figure of wireless router side, comprising the following steps:
Step 401 judges whether to receive the data frame that the position Gaming of terminal device transmission is 1;
In the step, if so, thening follow the steps 402, otherwise terminate process.
Step 402 judges whether to support the function of enabled second access point AP2.
In the step, if so, thening follow the steps 403, otherwise terminate process.
Step 403, each channel of detection, and the SINR of each channel is calculated, determine the highest second channel CH2 of SINR.
Step 404 judges whether second channel CH2 is identical as the channel value of the first channel CH1;
In the step, if they are the same, 405 are thened follow the steps, it is no to then follow the steps 406.
Step 405 sends the data frame that Gaming are 3 to terminal device.
Step 406 opens the second access point AP2, and using second channel CH2 as the working channel of the second access point AP2, I.e. enabled second access point AP2.
Step 407 sends Gaming to terminal device as 2 and the data frame of the information comprising the second access point AP2.
Referring to Fig. 5, Fig. 5 between terminal device and the first access point AP1 and the second access point AP2 of wireless router into Negotiation flow chart when row interaction:
User select on the terminal device with the first access point AP1 of wireless router establish connection when, terminal device to First access point AP1 sends connection request;
After first access point AP1 responds the connection request, establishes and communicate to connect with terminal device, and in the first channel CH1 Enterprising row information transmission;
When user starts game application on the terminal device, terminal device to the first access point AP1 transmission by making The channel switch request of the second access point AP2 of energy;
First access point AP1 makes can request that, detects the access point on each channel, calculate each channel in response to this SINR determines that SINR highest interferes least second channel CH2;
The second access point AP2 is opened, and using second channel CH2 as the working channel of the second access point AP2;
Enabled second access point AP2 sends the data frame of the information comprising the second access point AP2 to terminal device after completing;
Terminal device disconnects request to the first access point AP1 transmission, and the first access point AP1 is disconnected in response to this After request, the connection with terminal device is disconnected;
Terminal device sends connection request to the second access point AP2, after the second access point AP1 responds the connection request, with Terminal device establishes communication connection, and terminal device completes channel switching;
User carries out game on the terminal device, after Exit Game, disconnects and asks to the second access point AP2 transmission It asks, after the second access point AP2 disconnects request in response to this, disconnects the connection with terminal device, and close the second access point AP2;
Terminal device sends connection request to the first access point AP1 again, and the first access point AP1 responds the connection request Afterwards, it establishes and communicates to connect with terminal device.
It is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention referring to Fig. 6, Fig. 6, as shown in fig. 6, eventually End equipment 600 includes:
Sending module 601, for carrying out letter in the first channel by the first access point and routing device in terminal device 600 In the case where breath transmission, if in the case where detecting that destination application has been turned on, sending channel to the routing device and cutting Change request message, wherein the routing device also has the second access point in a dormant state;
Switching module 602, in the case where receiving the first response message that the routing device is sent, from described First access point switches in running order second access point;
Wherein, first response message carries the information of second access point, the work of second access point Channel is second channel.
Optionally, sending module 601 is used to send the first data frame to the routing device, and first data frame packet contains First control bit, it is that terminal device 600 provides to be switched access point that first control bit, which is used to indicate the routing device,;
Switching module 602 is used in the case where receiving the second data frame that the routing device is sent, from described the One access point switches to the second access point of the routing device, letter of second data frame packet containing second access point Breath.
Optionally, second data frame also includes the second control bit, and second control bit is used to indicate terminal device 600 have changeable access point.
Optionally, as illustrated in figs. 7 a and 7b, terminal device 600 further include:
First control module 603, for protecting in the case where receiving the second response message that the routing device is sent The connection with first access point is held, second response message is used to indicate first channel and is preferred channels or does not deposit In changeable access point;Or
Second control module 604, for not receiving response message that the routing device is sent in preset duration In the case of, keep the connection with first access point.
Optionally, as shown in figure 8, terminal device 600 further include:
Third control module 605, in the case where detecting that the destination application is turned off, disconnect with it is described The connection of second access point.
Terminal device 600 can be realized each process that terminal device is realized in the embodiment of the method for Fig. 1 to Fig. 5, to keep away Exempt to repeat, which is not described herein again.The terminal device 600 of the embodiment of the present invention can detect what destination application had been turned on In the case of, channel switch request message is sent to routing device, wakes up the second access point in a dormant state, and make second to connect Access point work is sent to terminal device 600 in second channel, and by the information of the second access point, and terminal device 600 is receiving It, can be from the first access point switching currently connected after the response message for the information comprising the second access point that routing device is sent To the second access point for working in second channel, second channel quickly is switched to from the first channel to realize.In this way, due to end End equipment 600 reconfigures channel without waiting for current access point, thus the long period without waiting in channel switching process, And then have higher switching efficiency and more preferably communication quality.
It is a kind of structural schematic diagram of routing device provided in an embodiment of the present invention referring to Fig. 9, Fig. 9, routing device 900 is logical It crosses the first access point and terminal device and carries out information transmission in the first channel, routing device 900 also has in a dormant state Second access point, as shown in figure 9, routing device 900 includes:
Receiving module 901, the channel switch request message sent for receiving the terminal device;
Wake-up module 902, for waking up the second access of routing device 900 in response to the channel switch request message Point, and make the second access point work in second channel;
First sending module 903, for sent to the terminal device carry shown in the second access point information the One response message.
Optionally, as shown in Figure 10, wake-up module 902 includes:
Submodule 9021 is determined, in response to the channel switch request message, determining communication quality better than described the The second channel of one channel;
Submodule 9022 is waken up, for waking up the second access point of routing device 900, and second access point is made to work In the second channel.
Optionally, as shown in figure 11, determine that submodule 9021 includes:
Detection and computing unit 90211, for detect at least two channels the corresponding number of access point of each channel with And the send and receive packets signal message of each access point, calculate the Signal to Interference plus Noise Ratio SINR of each channel;
Determination unit 90212, for determining that Signal to Interference plus Noise Ratio SINR is higher than the second letter of first channel Road.
Optionally, receiving module 901 includes the first data frame sent for receiving the terminal device, first number According to frame include the first control bit, first control bit be used to indicate routing device 900 provided for the terminal device it is to be switched Access point;
First sending module 902 is used to send the second data frame to the terminal device, and second data frame packet contains road By the information of the second access point of equipment 900.
Optionally, second data frame further includes the second control bit, and second control bit is used to indicate the terminal There is changeable access point in equipment.
Optionally, as shown in figure 12, routing device 900 further include:
Second sending module 904, for being better than routing device institute energy in the communication quality for determining first channel In the case where other channels used, Xiang Suoshu terminal device sends the second response message, and second response message is for referring to Show that first channel is preferred channels.
Optionally, as shown in figure 13, routing device 900 further include:
Closedown module 905, in the case where detecting second access point and the terminal device disconnects, Close second access point.
Routing device 900 can be realized each process that routing device is realized in the embodiment of the method for Fig. 1 to Fig. 5, to keep away Exempt to repeat, which is not described herein again.The routing device 900 of the embodiment of the present invention is asked in the channel switching for receiving terminal device transmission , can be in response to the request message after seeking message, the working channel for waking up the second access point, and configuring the second access point is second Channel, by the way that the information of the second access point is sent to terminal device, so that terminal device is in the letter for receiving the second access point After breath, the second access point for working in second channel is switched to from the first access point currently connected, to realize quickly from the One channel switches to second channel.In this way, terminal device reconfigures working channel without waiting for current access point, thus believing Without waiting for the long period in road handoff procedure, and then it can guarantee that terminal device has higher switching efficiency and more preferably communicates Quality.
Referring to Figure 14, a kind of hardware structural diagram of Figure 14 terminal device of each embodiment to realize the present invention should Terminal device 1400 carries out information transmission in the first channel by the first access point and routing device, which includes But be not limited to: radio frequency unit 1401, network module 1402, audio output unit 1403, input unit 1404, sensor 1405, Display unit 1406, user input unit 1407, interface unit 1408, memory 1409, processor 1410 and power supply 1411 Equal components.It will be understood by those skilled in the art that terminal device structure shown in Figure 14 does not constitute the limit to terminal device Fixed, terminal device may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, vehicle Mounted terminal, wearable device and pedometer etc..
Wherein, radio frequency unit 1401, for being believed by the first access point and routing device first in terminal device 1400 In the case that road carries out information transmission, if in the case where detecting that destination application has been turned on, Xiang Suoshu routing device is sent Channel switch request message, wherein the routing device also has the second access point in a dormant state;
Processor 1410, for receiving the feelings for the first response message that the routing device is sent in radio frequency unit 1401 Under condition, in running order second access point is switched to from first access point;
Wherein, first response message carries the information of second access point, the work of second access point Channel is second channel.
Further, radio frequency unit 1401 is used for:
The first data frame is sent to the routing device, first data frame packet contains the first control bit, first control It is that terminal device 1400 provides to be switched access point that position processed, which is used to indicate the routing device,;
Processor 1410 is used for:
In the case where radio frequency unit 1401 receives the second data frame that the routing device is sent, connect from described first Access point switches to the second access point of the routing device, information of second data frame packet containing second access point.
Further, second data frame also includes the second control bit, and second control bit is used to indicate terminal and sets Standby 1400 have changeable access point.
Further, processor 1410 is also used to:
In the case where radio frequency unit 1401 receives the second response message that the routing device is sent, keep with it is described The connection of first access point, second response message are used to indicate first channel and are preferred channels or are not present changeable Access point;Or
In the case where not receiving the response message that the routing device is sent in 1401 preset duration of radio frequency unit, protect Hold the connection with first access point.
Further, processor 1410 is also used to:
In the case where detecting that the destination application is turned off, the connection with second access point is disconnected.
Terminal device 1400 can be realized each process that terminal device is realized in previous embodiment, to avoid repeating, this In repeat no more.The terminal device 1400 of the embodiment of the present invention can in the case where detecting that destination application has been turned on, Channel switch request message is sent to routing device, so that routing device wakes up in a dormant state in response to the request message The second access point, and the work of the second access point is made in second channel, and by the information of the second access point to be sent to terminal device 1400, terminal device 1400 receive routing device transmission the information comprising the second access point response message after, The second access point for working in second channel is switched to from the first access point currently connected, to realize quickly from the first channel Switch to second channel.In this way, since terminal device 1400 reconfigures channel without waiting for current access point, thus in channel Without waiting for the long period in handoff procedure, and then have higher switching efficiency and more preferably communication quality.
It should be understood that the embodiment of the present invention in, radio frequency unit 1401 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 1410 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 1401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1401 can also by wireless communication system and network and other Equipment communication.
Terminal device provides wireless broadband internet by network module 1402 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 1403 can be received by radio frequency unit 1401 or network module 1402 or in memory The audio data stored in 1409 is converted into audio signal and exports to be sound.Moreover, audio output unit 1403 can be with Audio output relevant to the specific function that terminal device 1400 executes is provided (for example, call signal receives sound, message sink Sound etc.).Audio output unit 1403 includes loudspeaker, buzzer and receiver etc..
Input unit 1404 is for receiving audio or video signal.Input unit 1404 may include graphics processor (Graphics Processing Unit, abbreviation GPU) 14041 and microphone 14042, graphics processor 14041 is in video The picture number of the static images or video that are obtained in acquisition mode or image capture mode by image capture apparatus (such as camera) According to being handled.Treated, and picture frame may be displayed on display unit 1406.Through graphics processor 14041 treated figure As frame can store in memory 1409 (or other storage mediums) or via radio frequency unit 1401 or network module 1402 It is sent.Microphone 14042 can receive sound, and can be audio data by such acoustic processing.Treated Audio data can be converted in the case where telephone calling model to be sent to mobile communication base station via radio frequency unit 1401 Format output.
Terminal device 1400 further includes at least one sensor 1405, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 14061, proximity sensor can when terminal device 1400 is moved in one's ear, Close display panel 14061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify terminal device appearance when static State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Sensor 1405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas Meter, hygrometer, thermometer, infrared sensor etc. are pressed, details are not described herein.
Display unit 1406 is for showing information input by user or being supplied to the information of user.Display unit 1406 can Including display panel 14061, liquid crystal display (Liquid Crystal Display, abbreviation LCD), organic light emission can be used The forms such as diode (Organic Light-Emitting Diode, abbreviation OLED) configure display panel 14061.
User input unit 1407 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 1407 include touch panel 14071 with And other input equipments 14072.Touch panel 14071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 14071 or in touch panel Operation near 14071).Touch panel 14071 may include both touch detecting apparatus and touch controller.Wherein, it touches The touch orientation of detection device detection user is touched, and detects touch operation bring signal, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1410, It receives the order that processor 1410 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The multiple types such as sound wave realize touch panel 14071.In addition to touch panel 14071, user input unit 1407 can also include Other input equipments 14072.Specifically, other input equipments 14072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 14071 can be covered on display panel 14061, when touch panel 14071 detects After touch operation on or near it, processor 1410 is sent to determine the type of touch event, is followed by subsequent processing device 1410 Corresponding visual output is provided on display panel 14061 according to the type of touch event.Although in Figure 14, touch panel 14071 and display panel 14061 are the functions that outputs and inputs of realizing terminal device as two independent components, but In some embodiments, touch panel 14071 can be integrated with display panel 14061 and realize outputting and inputting for terminal device Function, specifically herein without limitation.
Interface unit 1408 is the interface that external device (ED) is connect with terminal device 1400.For example, external device (ED) may include Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, port, the port audio input/output (I/O), video i/o port, earphone for connecting the device with identification module Port etc..Interface unit 1408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And by one or more elements that the input received is transferred in terminal device 1400 or it can be used in terminal device Data are transmitted between 1400 and external device (ED).
Memory 1409 can be used for storing software program and various data.Memory 1409 can mainly include storage program Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone Such as audio data, phone directory) etc..In addition, memory 1409 may include high-speed random access memory, it can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1410 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 1409, and calls and is stored in storage Data in device 1409 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 1410 may include one or more processing units;Preferably, processor 1410 can integrate application processor and modulation /demodulation Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1410.
Terminal device 1400 can also include the power supply 1411 (such as battery) powered to all parts, it is preferred that power supply 1411 can be logically contiguous by power-supply management system and processor 1410, to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
In addition, terminal device 1400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 1410, memory 1409, storage On memory 1409 and the computer program that can run on the processor 1410, the computer program is by processor 1410 Each process of channel switching method embodiment shown in FIG. 1 is realized when execution, and can reach identical technical effect, to avoid It repeats, which is not described herein again.
Referring to Figure 15, a kind of structural schematic diagram of Figure 15 routing device of each embodiment to realize the present invention, the road Information transmission is carried out in the first channel by the first access point and terminal device by equipment, the routing device also has in not Second access point of dormancy state.As shown in figure 15, routing device 15 includes: including bus 1501, transceiver 1502, antenna 1503, bus interface 1504, processor 1505 and memory 1506.
Wherein, transceiver 1502 is used to receive the channel switch request message that the terminal device is sent;
Processor 1505 is used to wake up the second access of the routing device in response to the channel switch request message Point, and make the second access point work in second channel;
Transceiver 1502 is also used to send first answering for the information for carrying second access point to the terminal device Answer message.
Further, processor 1505 is used for:
In response to the channel switch request message, determine that communication quality is better than the second channel of first channel;
The second access point of the routing device is waken up, and makes the second access point work in the second channel.
Further, processor 1505 is used for:
Detect the send and receive packets signal of each corresponding number of access point of channel and each access point at least two channels Information calculates the Signal to Interference plus Noise Ratio SINR of each channel;
Determine that Signal to Interference plus Noise Ratio SINR is higher than the second channel of first channel.
Further, transceiver 1502 is used to receive the first data frame that the terminal device is sent, first data Frame includes the first control bit, and first control bit is used to indicate the routing device and provides changing-over to be cut for the terminal device Access point;
The second data frame, second access of second data frame packet containing the routing device are sent to the terminal device The information of point.
Further, second data frame further includes the second control bit, and second control bit is used to indicate the end There is changeable access point in end equipment.
Further, transceiver 1502 is also used in the communication quality for determining first channel better than the routing device In the case where other channels that can be used, Xiang Suoshu terminal device sends the second response message, and second response message is used In indicating that first channel is preferred channels.
Further, processor 1505 is also used to:
In the case where detecting that second access point and the terminal device disconnect, second access is closed Point.
In this embodiment, the routing device further include: be stored on memory 1506 and can be in processor 1505 The computer program of upper operation.Wherein, following steps can be realized when the computer program is executed by processor 1505:
Receive the channel switch request message that the terminal device is sent;
In response to the channel switch request message, the second access point of the routing device is waken up, and makes described second Access point works in second channel;
The first response message for carrying the information of second access point is sent to the terminal device.
In Figure 15, bus architecture (is represented) with bus 1501, and bus 1501 may include any number of interconnection Bus and bridge, bus 1501 will include the one or more processors represented by processor 1505 and what memory 1506 represented deposits The various circuits of reservoir link together.Bus 1501 can also will peripheral equipment, voltage-stablizer and management circuit etc. Etc various other circuits link together, these are all it is known in the art, therefore, herein no longer carries out it into one Step description.Bus interface 1004 provides interface between bus 1501 and transceiver 1502.Transceiver 1502 can be a member Part is also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with various other devices The unit of communication.The data handled through processor 1505 are transmitted on the radio medium by antenna 1503, further, antenna 1503 also receive data and transfer data to processor 1505.
Processor 1505 is responsible for management bus 1501 and common processing, can also provide various functions, including timing, outside Enclose interface, voltage adjusting, power management and other control functions.And memory 1506 can be used for storage processor 1505 The used data when executing operation.
Optionally, processor 1505 can be central processing unit (Central Processing Unit, abbreviation CPU), specially Integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), the field-programmable of door application Gate array (Field-Programmable Gate Array, abbreviation FPGA) or Complex Programmable Logic Devices (Comple14 Programmable Logic Device, abbreviation CPLD).
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of channel switching method embodiment shown in FIG. 1 when being executed by processor, And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic or disk etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of channel switching method embodiment shown in Fig. 2 when being executed by processor, And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, Such as ROM, RAM, magnetic or disk.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (18)

1. a kind of channel switching method is applied to terminal device, which is characterized in that the described method includes:
Pass through the first access point and routing device in the case where the first channel carries out information transmission in the terminal device, if inspection It measures destination application to have been turned on, then sends channel switch request message to the routing device, wherein the routing device Also there is the second access point in a dormant state;
In the case where receiving the first response message that the routing device is sent, switches to and be in from first access point Second access point of working condition, wherein first response message carries the information of second access point, described The working channel of second access point is second channel.
2. the method according to claim 1, wherein the communication quality of the second channel is better than first letter The communication quality in road.
3. the method according to claim 1, wherein described disappear to routing device transmission channel switch request After breath, the method also includes:
In the case where receiving the second response message that the routing device is sent, the company with first access point is kept It connects, second response message is used to indicate first channel as preferred channels or there is no changeable access points;Or
In the case where not receiving the response message that the routing device is sent in preset duration, keep and first access The connection of point.
4. according to the method in any one of claims 1 to 3, which is characterized in that described to switch from first access point After in running order second access point, the method also includes:
In the case where detecting that the destination application is turned off, the connection with second access point is disconnected.
5. a kind of channel switching method, be applied to routing device, which is characterized in that the routing device by the first access point with Terminal device carries out information transmission in the first channel, and the routing device also has the second access point in a dormant state, institute The method of stating includes:
Receive the channel switch request message that the terminal device is sent;
In response to the channel switch request message, the second access point of the routing device is waken up, and makes second access Point work is in second channel;
The first response message for carrying the information of second access point is sent to the terminal device.
6. according to the method described in claim 5, it is characterized in that, described in response to the channel switch request message, wake-up Second access point of the routing device, and make the second access point work in second channel, comprising:
In response to the channel switch request message, determine that communication quality is better than the second channel of first channel;
The second access point of the routing device is waken up, and makes the second access point work in the second channel.
7. according to the method described in claim 6, it is characterized in that, the of the determining communication quality better than first channel Two channels, comprising:
The send and receive packets signal message of each corresponding number of access point of channel and each access point at least two channels is detected, Calculate the Signal to Interference plus Noise Ratio SINR of each channel;
Determine that Signal to Interference plus Noise Ratio SINR is higher than the second channel of first channel.
8. method according to any one of claims 5 to 7, which is characterized in that described to be taken to terminal device transmission After first response message of the information with second access point, the method also includes:
In the case where detecting that second access point and the terminal device disconnect, second access point is closed.
9. a kind of terminal device characterized by comprising
Sending module, for carrying out information transmission in the first channel by the first access point and routing device in the terminal device In the case where, if detecting, destination application is had been turned on, channel switch request message is sent to the routing device, In, the routing device also has the second access point in a dormant state;
Switching module, for being connect from described first in the case where receiving the first response message that the routing device is sent Access point switches in running order second access point, wherein first response message carries described second and connects The information of access point, the working channel of second access point are second channel.
10. terminal device according to claim 9, which is characterized in that the communication quality of the second channel is better than described The communication quality of first channel.
11. terminal device according to claim 9, which is characterized in that the terminal device further include:
First control module, in the case where receiving the second response message that the routing device is sent, keeping and institute The connection of the first access point is stated, second response message is used to indicate first channel as preferred channels or there is no can cut The access point changed;Or
Second control module, in the case where for not receiving the response message of the routing device transmission in preset duration, Keep the connection with first access point.
12. the terminal device according to any one of claim 9 to 11, which is characterized in that the terminal device further include:
Third control module, in the case where detecting that the destination application is turned off, disconnection to connect with described second The connection of access point.
13. a kind of routing device, which is characterized in that the routing device is by the first access point and terminal device in the first channel Information transmission is carried out, the routing device also has the second access point in a dormant state, and the routing device includes:
Receiving module, the channel switch request message sent for receiving the terminal device;
Wake-up module, for waking up the second access point of the routing device, and make in response to the channel switch request message The second access point work is in second channel;
First sending module, the first response for sending the information for carrying second access point to the terminal device disappear Breath.
14. routing device according to claim 13, which is characterized in that the wake-up module includes:
Submodule is determined, for determining communication quality better than first channel in response to the channel switch request message Second channel;
Submodule is waken up, for waking up the second access point of the routing device, and makes the second access point work described Second channel.
15. routing device according to claim 14, which is characterized in that the determining submodule includes:
Detection and computing unit, for detecting each corresponding number of access point of channel and each access at least two channels The send and receive packets signal message of point, calculates the Signal to Interference plus Noise Ratio SINR of each channel;
Determination unit, for determining that Signal to Interference plus Noise Ratio SINR is higher than the second channel of first channel.
16. routing device described in any one of 3 to 15 according to claim 1, which is characterized in that the routing device also wraps It includes:
Closedown module, for closing institute in the case where detecting that second access point and the terminal device disconnect State the second access point.
17. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as Claims 1-4 is realized when the computer program is executed by the processor Any one of described in channel switching method in step.
18. a kind of routing device, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 5 to 8 is realized when the computer program is executed by the processor Any one of described in channel switching method in step.
CN201910234335.2A 2019-03-26 2019-03-26 Channel switching method, terminal equipment and routing equipment Active CN109951881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910234335.2A CN109951881B (en) 2019-03-26 2019-03-26 Channel switching method, terminal equipment and routing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910234335.2A CN109951881B (en) 2019-03-26 2019-03-26 Channel switching method, terminal equipment and routing equipment

Publications (2)

Publication Number Publication Date
CN109951881A true CN109951881A (en) 2019-06-28
CN109951881B CN109951881B (en) 2021-06-25

Family

ID=67011031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910234335.2A Active CN109951881B (en) 2019-03-26 2019-03-26 Channel switching method, terminal equipment and routing equipment

Country Status (1)

Country Link
CN (1) CN109951881B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636486A (en) * 2019-09-25 2019-12-31 珠海格力电器股份有限公司 Method for establishing communication connection after equipment is offline and intelligent home system
CN112566200A (en) * 2020-12-04 2021-03-26 展讯通信(上海)有限公司 Method for maintaining service continuity of access point, router device and storage medium
CN112929406A (en) * 2021-01-19 2021-06-08 深圳市计通智能技术有限公司 Communication method and communication device for two channels capable of signal isolation
CN114071618A (en) * 2020-08-10 2022-02-18 华为技术有限公司 Channel switching method, access equipment and user equipment
CN114339903A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Wireless communication method and electronic equipment
CN114916045A (en) * 2021-02-09 2022-08-16 慧与发展有限责任合伙企业 Managing client devices on an access point
CN115460662A (en) * 2022-11-10 2022-12-09 浙江大华技术股份有限公司 Data transmission and link switching method, electronic device and readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006653A (en) * 2009-08-28 2011-04-06 华为技术有限公司 Access control method and access point (AP)
CN102938926A (en) * 2011-08-16 2013-02-20 华为终端有限公司 Method for achieving access point energy saving and access point in wireless communication network
US20140024403A1 (en) * 2012-07-23 2014-01-23 Huawei Device Co., Ltd Channel switching method, apparatus, and system
CN103619054A (en) * 2013-11-20 2014-03-05 小米科技有限责任公司 Method and device for selecting network frequency band and router
CN103686890A (en) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 Method and system for realizing wireless terminal roaming switch in wireless local area network
CN104968023A (en) * 2015-06-10 2015-10-07 小米科技有限责任公司 Working channel adjusting method, device and equipment
CN105933942A (en) * 2016-06-16 2016-09-07 北京小米移动软件有限公司 Frequency band switching method and device
CN106572509A (en) * 2016-11-07 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Access point switching method and system
CN107613530A (en) * 2017-10-11 2018-01-19 上海斐讯数据通信技术有限公司 The collocation method and double-frequency wireless router of internet of things equipment based on router
CN107852655A (en) * 2016-05-31 2018-03-27 华为技术有限公司 Switch the method and terminal device of access point
CN107920353A (en) * 2016-10-08 2018-04-17 中兴通讯股份有限公司 A kind of method and hot spot access device of Wireless Fidelity connection switching hot spot
US20180332517A1 (en) * 2015-11-11 2018-11-15 Huawei Technologies Co., Ltd. Network Handover Method and Apparatus

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006653A (en) * 2009-08-28 2011-04-06 华为技术有限公司 Access control method and access point (AP)
CN102938926A (en) * 2011-08-16 2013-02-20 华为终端有限公司 Method for achieving access point energy saving and access point in wireless communication network
US20140024403A1 (en) * 2012-07-23 2014-01-23 Huawei Device Co., Ltd Channel switching method, apparatus, and system
CN103686890A (en) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 Method and system for realizing wireless terminal roaming switch in wireless local area network
CN103619054A (en) * 2013-11-20 2014-03-05 小米科技有限责任公司 Method and device for selecting network frequency band and router
CN104968023A (en) * 2015-06-10 2015-10-07 小米科技有限责任公司 Working channel adjusting method, device and equipment
US20180332517A1 (en) * 2015-11-11 2018-11-15 Huawei Technologies Co., Ltd. Network Handover Method and Apparatus
CN107852655A (en) * 2016-05-31 2018-03-27 华为技术有限公司 Switch the method and terminal device of access point
CN105933942A (en) * 2016-06-16 2016-09-07 北京小米移动软件有限公司 Frequency band switching method and device
CN107920353A (en) * 2016-10-08 2018-04-17 中兴通讯股份有限公司 A kind of method and hot spot access device of Wireless Fidelity connection switching hot spot
CN106572509A (en) * 2016-11-07 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Access point switching method and system
CN107613530A (en) * 2017-10-11 2018-01-19 上海斐讯数据通信技术有限公司 The collocation method and double-frequency wireless router of internet of things equipment based on router

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636486A (en) * 2019-09-25 2019-12-31 珠海格力电器股份有限公司 Method for establishing communication connection after equipment is offline and intelligent home system
CN110636486B (en) * 2019-09-25 2021-06-18 珠海格力电器股份有限公司 Method for establishing communication connection after equipment is offline and intelligent home system
CN114071618A (en) * 2020-08-10 2022-02-18 华为技术有限公司 Channel switching method, access equipment and user equipment
CN114071618B (en) * 2020-08-10 2023-11-17 华为技术有限公司 Channel switching method, access equipment and user equipment
CN114339903A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Wireless communication method and electronic equipment
CN112566200A (en) * 2020-12-04 2021-03-26 展讯通信(上海)有限公司 Method for maintaining service continuity of access point, router device and storage medium
CN112929406A (en) * 2021-01-19 2021-06-08 深圳市计通智能技术有限公司 Communication method and communication device for two channels capable of signal isolation
CN112929406B (en) * 2021-01-19 2022-10-18 深圳市计通智能技术有限公司 Communication method and communication device for two channels capable of signal isolation
CN114916045A (en) * 2021-02-09 2022-08-16 慧与发展有限责任合伙企业 Managing client devices on an access point
CN114916045B (en) * 2021-02-09 2024-03-29 慧与发展有限责任合伙企业 Method for managing client device on access point and access point
CN115460662A (en) * 2022-11-10 2022-12-09 浙江大华技术股份有限公司 Data transmission and link switching method, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN109951881B (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN109951881A (en) A kind of channel switching method, terminal device and routing device
CN110198550A (en) A kind of secondary cell group maintenance method, terminal device and network node
CN110198545A (en) A kind of secondary cell group adding method, terminal device and host node
CN110149132A (en) A kind of switching method and terminal device of transmitting antenna
CN110099421A (en) A kind of signal processing method, device and terminal device
CN110035447A (en) A kind of measuring configuration method and terminal device
CN107179729B (en) A kind of equipment monitoring method, mobile terminal and computer readable storage medium
US20210112435A1 (en) Resource configuration method, mobile terminal, network-side device, and medium
CN107046696A (en) The method and mobile terminal of a kind of communication network switching
CN108541002B (en) A kind of monitor method of paging message, mobile terminal and server
CN112788676B (en) Cell management method, cell management configuration method, terminal and network side equipment
CN108965306A (en) A kind of call handling method and mobile terminal
CN113038566A (en) Path selection method, terminal and network side equipment
CN107439024B (en) Call processing method, user equipment and storage medium
CN109996305A (en) A kind of communication means, mobile terminal and base station
CN110198553A (en) A kind of secondary cell group delet method, terminal device and network node
CN107948919A (en) A kind of shared method for processing information and mobile terminal
CN109982402A (en) Terminal voice call method, mobile terminal and computer readable storage medium
CN108965071A (en) Household terminal control method, communication processing equipment, household terminal and storage medium
CN109890022A (en) Data transfer control method, mobile terminal and computer readable storage medium
CN109005288A (en) Call processing method, double-sided screen terminal and computer readable storage medium
CN110475312A (en) A kind of connection control method, message broadcasting method and relevant device
CN104468483B (en) Data transmission method and system, control device and node apparatus
WO2018120032A1 (en) Cell switching method and terminal device
CN109379777A (en) A kind of network search method, terminal and computer readable storage medium

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