WO2017045442A1 - Network switching method and apparatus for terminals - Google Patents

Network switching method and apparatus for terminals Download PDF

Info

Publication number
WO2017045442A1
WO2017045442A1 PCT/CN2016/084542 CN2016084542W WO2017045442A1 WO 2017045442 A1 WO2017045442 A1 WO 2017045442A1 CN 2016084542 W CN2016084542 W CN 2016084542W WO 2017045442 A1 WO2017045442 A1 WO 2017045442A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
wireless
bandwidth
wireless hotspot
network
Prior art date
Application number
PCT/CN2016/084542
Other languages
French (fr)
Chinese (zh)
Inventor
王云华
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017045442A1 publication Critical patent/WO2017045442A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a method and an apparatus for a terminal to switch networks.
  • a family has multiple wireless hotspots A, B, and C, and the network speed is ranked as A>B>C.
  • the home smart TV, mobile phone, iPad and other terminals are connected together to achieve interconnection, and the user uses the wireless hotspot C.
  • Smart TV watches Internet TV and uses online games connected to Wireless Hotspot A to play online games.
  • the network bandwidth provided by the wireless hotspot C to the smart TV is insufficient to cause the smooth network video to be viewed.
  • the user does not operate the mobile phone because watching the television, and the network bandwidth provided by the wireless hotspot A to the mobile phone is idle, so that the network bandwidth is obtained. Not fully utilized.
  • the wireless hotspot When the wireless hotspot needs to be switched, the user does not know the network bandwidth of the wireless hotspot and blindly switches each wireless hotspot to obtain a fast network, and the user needs to find multiple steps of the network setting operation to find a smooth network, which is very troublesome. .
  • the wireless hotspot and the terminal used by the user cannot be automatically switched according to the terminal's demand for network bandwidth.
  • the main purpose of the present invention is to provide a method and an apparatus for a terminal to switch a network, which aims to automatically switch a wireless hotspot according to the demand of the terminal for the network.
  • the present invention provides a method for a terminal to switch networks, including:
  • the connection with the wireless hotspot is switched according to the bandwidth requirement of the retrieved terminal.
  • the corresponding connection according to the order that the bandwidth of the terminal in use is in descending order from the highest speed to the network speed of the wireless hotspot includes:
  • the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
  • the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
  • the corresponding connection according to the order in which the bandwidth of the terminal in use is in order from the highest to the low, and the network speed of the wireless hotspot is in descending order:
  • the terminals in use are sorted according to screen parameters from large to small, and the ordering is used as a sorting of the bandwidth demand of the terminal in use from high to low.
  • the present invention also provides a method for a terminal to switch networks, including:
  • the bandwidth is sequentially connected to the order of the network speed of the wireless hotspot from high to low.
  • the corresponding connection according to the order that the bandwidth of the terminal in use is in descending order from the highest speed to the network speed of the wireless hotspot includes:
  • the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
  • the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
  • the corresponding connection according to the order in which the bandwidth of the terminal in use is in order from the highest to the low, and the network speed of the wireless hotspot is in descending order:
  • the terminals in use are sorted according to screen parameters from large to small, and the ordering is used as a sorting of the bandwidth demand of the terminal in use from high to low.
  • the following after the connection of the bandwidth of the wireless hotspot from the highest to the smallest, according to the demand for the bandwidth of the terminal being used, is connected to the following:
  • the connection with the wireless hotspot is switched according to the bandwidth requirement of the retrieved terminal.
  • the obtaining the terminal being used comprises:
  • the present invention further provides an apparatus for a terminal to switch a network, including:
  • An acquisition module configured to obtain a terminal and a wireless hotspot that are being used
  • the connection module is configured to perform corresponding connection with the network speed of the wireless hotspot from the highest to the smallest according to the bandwidth demand of the terminal being used.
  • connection module is further configured to acquire the number of terminals in use and the number of wireless hotspots;
  • the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
  • the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
  • connection module is further configured to sort the terminals in use according to screen parameters from large to small, and use the ordering as a sorting of the bandwidth demand of the terminal in use from high to low.
  • the device for switching the network by the terminal further includes:
  • the switching module is configured to re-acquire the terminal and the wireless hotspot that are being used when receiving the switching instruction, or at a preset time, and switch the connection with the wireless hotspot according to the bandwidth requirement of the retrieved terminal.
  • the obtaining module comprises:
  • An obtaining unit configured to acquire an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
  • a determining unit configured to determine that the terminal is in use when the azimuth value, the tilt value, and the roll value of the terminal are not all zero.
  • the embodiment of the present invention After detecting the terminal and the wireless hotspot being used, the embodiment of the present invention performs corresponding connection according to the order of the bandwidth of the wireless terminal from the highest to the lowest according to the bandwidth requirement of the terminal being used, and implements the network according to the terminal to the network.
  • the demand automatically switches wireless hotspots.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for a terminal to switch a network according to the present invention
  • FIG. 2 is a schematic diagram of a refinement process of acquiring a terminal in use in a method for a terminal to switch a network according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for a terminal to switch a network according to the present invention
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a device for switching a network according to the present invention.
  • FIG. 5 is a schematic diagram of a refinement function module of an acquisition module in a device for switching a network according to the present invention
  • FIG. 6 is a schematic diagram of functional modules of a second embodiment of a device for switching a network according to the present invention.
  • the method for the terminal to switch the network in this embodiment includes:
  • Step S10 Obtain a terminal and a wireless hotspot that are being used
  • the type of the terminal may be set according to actual needs.
  • the terminal may include a smart TV, a mobile phone, an iPad, a computer, and the like. It can be understood that each terminal has its own unique identifier.
  • the following is a detailed description of a smart TV, which is connected to a mobile phone, an iPad, a computer, and the like through a network, so that the smart TV system can obtain a unique identifier of the terminal connected thereto after being powered on or
  • the name, as well as the name of the wireless hotspot, are stored and stored.
  • step S10 may include:
  • Step S11 Obtain an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
  • Step S12 When the azimuth value, the elevation value, and the roll value of the terminal are not all zero, it is determined that the terminal is in use.
  • the smart television system acquires the values of the Z-axis, the X-axis and the Y-axis of the gyroscope of each terminal according to the unique identifier or name of the terminal stored by the terminal connected thereto.
  • the values of the Z-axis, the X-axis, and the Y-axis of the gyroscope respectively indicate the azimuth value, the elevation value, and the roll value of the gyroscope. .
  • the rotation trigger algorithm may be used to perform the OR operation on the azimuth value, the elevation value, and the roll value. If the operation result is 0, it means that the terminal is not in use by the user. If the result of the operation is not 0, it indicates that the terminal is in use, and the terminal name or unique identifier being used is saved in the storage area 44. Of course, it can be judged by other means whether the terminal is being used or not, and the present invention is not limited. It should be noted that judging whether the smart TV is in use or not can be judged by the gyroscope of the smart remote controller for it. Assume that the value of the smart remote control and iPad operation result is greater than 0 as follows:
  • the terminal iPad gyroscope has an azimuth value of 0.
  • the terminal iPad gyroscope has a tilt value of 0x30.
  • Gyroscope_mov(x1)
  • the terminal RemoteTV gyroscope has an azimuth value of zero.
  • the terminal RemoteTV gyroscope has a tilt value of 0x130.
  • Terminal RemoteTV gyroscope roll value is 0x02.
  • Gyroscope_mov(x1)
  • AP1_WL1, AP2_WL2, AP3_WL3, AP4_WL4, and the like are obtained.
  • Step S20 Correspondingly connecting the network speeds of the wireless hotspots from large to small according to the bandwidth demand of the terminal being used from high to low.
  • the terminal and the wireless hotspot that are being used are obtained, the terminal and the wireless hotspot that are being used are analyzed and processed. Further, the step S20 may include:
  • the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
  • the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
  • the smart television system calculates the number of terminals in use in the storage area 11, and when there is no terminal in use, no further processing is required. Then, the number of wireless hotspots in the storage area 22 is calculated, and the corresponding number of P2SPs (Peer) are started according to the number of wireless hotspots obtained.
  • P2SPs Peer
  • To Server&Peer Point-to-server and point (user-to-server and user)) obtain the network speed of each wireless hotspot, and save the network speed size obtained by each P2SP and the name of the corresponding wireless hotspot in the storage area 22. Assume that four wireless hotspots such as AP1_WL1, AP2_WL2, AP3_WL3, and AP4_WL4 and their network speeds are as follows:
  • the smart television system After obtaining the terminal and the wireless hotspot that are in use, if the number of wireless hotspots in the storage area 22 is greater than one, the smart television system obtains each wireless hotspot after obtaining the network speed of each wireless hotspot after starting the P2SP.
  • the network speeds are sorted from large to small and are saved in the storage area in order.
  • the terminals that are being used are sorted according to screen parameters from large to small, and the ordering is used as the order of the bandwidth of the terminal being used from high to low.
  • the screen parameters may include parameters such as screen size, screen resolution and the like. The judgment about the bandwidth requirement of the terminal can be flexibly set according to the specific situation.
  • the terminal can be sorted according to the screen size of the terminal.
  • the larger the screen size the larger the network speed required, and thus the bandwidth demand of the smart TV is better than that of the mobile phone.
  • the bandwidth requirements are high.
  • comparing the number of terminals in the storage area 11 with the number of wireless hotspots in the storage area 22, when the number of terminals in use is less than or equal to the number of wireless hotspots, according to the obtained The number of terminals in use is selected, and the same number of wireless hotspots in the sorting column are respectively stored in different storage areas, and the network speeds of the selected wireless hotspots are sequentially selected according to the bandwidth demand from the terminal being used. Large to small sorting for the corresponding connection.
  • the smart TV system is based on the network of each wireless hotspot.
  • the first two wireless hotspot names are taken out and stored in the storage area 33 and the storage area 44, respectively.
  • AP_MaxSpeed1_P2SP(x) AP2_WL2_Speed_P2PSP(x)
  • the smart TV system connects the wireless hotspot with the widest bandwidth in storage area 33 with smart TVs, and stores them in storage area 44.
  • the wireless hotspot is connected to the iPad as follows:
  • the maximum network speed setting is AP2_WL2.
  • the current remote's gyroscope is deflected and connected to the hotspot AP2_WL2.
  • the maximum network speed setting is AP1_WL1.
  • the current iPad's gyroscope is deflected and connected to the hotspot AP1_WL1.
  • the terminal being used cannot be connected to the wireless hotspot one-to-one.
  • the wireless hotspot connected to the terminal needs to be allocated according to the bandwidth requirement of the terminal being used.
  • the wireless hotspots are sorted according to the network speed from large to small, and the terminals in use are sorted according to the demand for bandwidth, and then the used terminals in the same sorting order as the number of wireless hotspots are selected. They are stored in different storage areas, and are connected to the selected terminal according to the bandwidth demand from high to low according to the network speed of the wireless hotspot.
  • the remaining terminals that are in use are stored in different storage areas from the selected terminals in the same sorting order as the wireless hotspots, and the network speeds according to the wireless hotspots are from large to small.
  • the ordering is in turn connected to the selected terminal in use for bandwidth requirements from high to low. And so on, repeat the execution until all the terminals in use are connected to the wireless hotspot.
  • the terminals that are being used are smart TV, iPad, mobile phone 1 and mobile phone 2, a total of four, and the demand for bandwidth from high to low is Smart TV>iPad>Mobile Phone 1>Mobile Phone 2.
  • the wireless hotspots are wireless hotspot A and wireless hotspot B, and a total of two, and the wireless hotspot A has a network speed greater than the wireless hotspot B's network speed.
  • the smart TV and the iPad arranged in the top two can be connected to the wireless hotspot A and the wireless hotspot B in sequence.
  • the remaining mobile phones 1 and 2 are connected to the wireless hotspot A and the wireless hotspot B in order of high to low bandwidth requirements.
  • Manner 2 Obtain a network speed ratio between each wireless hotspot, and combine the bandwidth of the wireless hot point network with the bandwidth requirement of the wireless hot point, and combine the bandwidth requirements to construct a combined terminal with the same number of wireless hotspots.
  • the ratio of the bandwidth requirement of the combined terminal is approximated to the ratio of the hotspot network speed, and the bandwidth demand ratio of the combined terminal is obtained.
  • the combined terminal and the wireless hotspot are correspondingly connected according to the correspondence between the network speed ratio and the bandwidth demand ratio. Assume that the terminals that are being used are smart TV, iPad, mobile phone 1 and mobile phone 2, a total of four, and the wireless hotspots are wireless hotspot A and wireless hotspot B, a total of two, and the wireless hotspot A's network speed and wireless hotspot B The ratio between the network speeds is 1:2.
  • smart TV, iPad, mobile phone 1 and mobile phone 2 are combined according to the demand for bandwidth, and the bandwidth requirement of the combination of smart TV and mobile phone 1 is obtained: the bandwidth requirement of the combination of iPad and mobile phone 2 is close to 2:1. Therefore, according to the method, the smart TV, the mobile phone 1 and the wireless hotspot B can be connected, and the iPad and the mobile phone 2 can be connected to the wireless hotspot A. It can be understood that if there is only one wireless hotspot, the redundant wireless hotspot cannot be allocated, and all the terminals in use can directly connect with the wireless hotspot.
  • connection manner between the terminal and the wireless hotspot used in the above is only an enumeration of the specific implementation manner, and other connection modes of the terminal and the wireless hotspot proposed by those skilled in the art are all in the protection scope of the present invention.
  • the name of the wireless hotspot connected to the terminal name being used may be displayed on the display screen of the smart television, so that the user knows each terminal being used.
  • Networking situation For example, the display "the smart TV is connected to the AP2_WL2, and the iPad is connected to the AP1_WL1" may be displayed in the form of a list, or may be a voice broadcast of the networking of each terminal being used, and does not limit the present invention.
  • the embodiment of the present invention After detecting the terminal and the wireless hotspot being used, the embodiment of the present invention performs corresponding connection according to the order of the bandwidth of the wireless terminal from the highest to the lowest according to the bandwidth requirement of the terminal being used, and implements the network according to the terminal to the network.
  • the demand automatically switches wireless hotspots.
  • the foregoing step S20 may include:
  • Step S30 When receiving the handover instruction, or re-acquiring the used terminal and the wireless hotspot every preset time, switching the connection with the wireless hotspot according to the bandwidth requirement of the retrieved terminal being used.
  • the user can send a switching instruction of the wireless hotspot connection to the smart TV through the preset button on the smart remote controller, and the smart television system reacquires the terminal and the wireless hotspot being used when receiving the switching instruction, and according to the above
  • the method switches the connection between the terminal being used and the wireless hotspot according to the bandwidth requirement of the terminal being used.
  • the smart television system reacquires the terminal and the wireless hotspot that are being used every predetermined time, and obtains the number of the terminal and the wireless hotspot that are being used according to the above method, and then switches the bandwidth demand according to the terminal being used.
  • the connection between the terminal and the wireless hotspot can be set to 1 second or 2 seconds, or it can be flexibly set according to the specific situation.
  • the scenarios applicable to this solution include: Assume that Xiaohai has multiple wireless hotspots, and smart TV, mobile phone, iPad and other terminals are connected to achieve interconnection, wireless hotspot 1 is connected to iPad, wireless hotspot 2 is connected to smart TV, wireless hotspot 3 is connected to mobile phone. .
  • Xiaohai used the iPad to play the landlord game at 19:00 in the evening, and the network was very smooth. At 20:00 in the evening, Xiaohai watched the online video through the smart TV.
  • the smart TV system can not meet the bandwidth demand of the smart TV by detecting the wireless bandwidth provided by the wireless hotspot 2 connected to the smart TV 2, which may result in the inability to watch the smooth network. video.
  • the user does not operate the iPad because of watching TV, and the wireless hotspot 1 provides the Internet broadband to the iPad idle.
  • the smart television system will detect that the smart TV is currently being used, and the wireless hotspot 1 has the fastest network speed, so the smart TV is switched to connect with the wireless hotspot 1.
  • Xiaohai does not worry about Caton in the process of watching the movie, and Xiaohai does not need to manually switch the wireless hotspot connected to the smart TV, not to switch to the home with wireless hotspot 1, wireless hotspot 2, wireless hotspot 3 and wireless hotspot.
  • the device for switching the network of the terminal in this embodiment includes:
  • the obtaining module 100 is configured to acquire a terminal and a wireless hotspot that are being used;
  • the type of the terminal may be set according to actual needs.
  • the terminal may include a smart TV, a mobile phone, an iPad, a computer, and the like. It can be understood that each terminal has its own unique identifier.
  • the following is a detailed description of a smart TV, which is connected to a terminal such as a mobile phone, an iPad, or a computer through a network, so that the smart TV system can obtain the terminal connected thereto by the acquiring module 100 after the power-on system is powered on.
  • the acquiring module 100 detects the terminal that is being used for interconnection. Further, as shown in FIG. 5, the obtaining module 100 may include:
  • the obtaining unit 110 is configured to acquire an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
  • the determining unit 120 is configured to determine that the terminal is in use when the azimuth value, the tilt value, and the roll value of the terminal are not all zero.
  • the smart television system acquires the gyro Z axis, the X axis and the Y axis of each terminal by the obtaining unit 110 according to the stored terminal connected thereto according to the unique identifier or name of the terminal.
  • the values are respectively buffered according to the unique identifier to the storage area 55, the storage area 66, and the storage area 77, wherein the values of the Z-axis, the X-axis, and the Y-axis of the gyroscope respectively indicate the azimuth value and the elevation value of the gyroscope. And roll value.
  • the determining unit 120 determines whether the azimuth value, the tilt value, and the roll value of each terminal are both equal to 0.
  • the rotation trigger algorithm may be used to perform the OR operation on the azimuth value, the pitch value, and the roll value. If the operation result is 0, it means that the terminal is not in use by the user. If the result of the operation is not 0, it indicates that the terminal is in use, and the terminal name or unique identifier being used is saved in the storage area 44. Of course, it can be judged by other means whether the terminal is being used or not, and the present invention is not limited. It should be noted that judging whether the smart TV is in use or not can be judged by the gyroscope of the smart remote controller for it. Assume that the value of the smart remote control and iPad operation result is greater than 0 as follows:
  • the terminal iPad gyroscope has an azimuth value of 0.
  • the terminal iPad gyroscope has a tilt value of 0x30.
  • Gyroscope_mov(x1)
  • the terminal RemoteTV gyroscope has an azimuth value of zero.
  • the terminal RemoteTV gyroscope has a tilt value of 0x130.
  • Terminal RemoteTV gyroscope roll value is 0x02.
  • Gyroscope_mov(x1)
  • the obtaining module 100 detects the wireless hotspot and saves the name of each wireless hotspot in the storage area 22. For example, AP1_WL1, AP2_WL2, AP3_WL3, AP4_WL4, and the like are obtained.
  • the connection module 200 is configured to perform corresponding connection with the network speed of the wireless hotspot from the highest to the smallest according to the bandwidth demand of the terminal being used.
  • the terminal and the wireless hotspot are used for analysis and processing. Further, the connecting module 200 is further configured to acquire the number of the terminal being used and the wireless hotspot. When the number of terminals in use is less than or equal to the number of wireless hotspots, the network speed of the wireless hotspots is ranked from highest to lowest according to the bandwidth demand of the terminal being used. Make a corresponding connection;
  • the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
  • the smart television system calls the connection module 200 to calculate the number of terminals in use in the storage area 11, and when there is no terminal in use, no further processing is required. Then, the number of wireless hotspots in the storage area 22 is calculated, and the connection module 200 starts a corresponding number of P2SPs according to the number of wireless hotspots obtained (Peer). To Server&Peer Point-to-server and point (user-to-server and user)) obtain the network speed of each wireless hotspot, and save the network speed size obtained by each P2SP and the name of the corresponding wireless hotspot in the storage area 22. Assume that four wireless hotspots such as AP1_WL1, AP2_WL2, AP3_WL3, and AP4_WL4 and their network speeds are as follows:
  • the connection module 200 is further configured to: after starting the P2SP to obtain the network speed of each wireless hotspot, the obtained The network speed of each wireless hotspot is sorted from large to small and stored in the storage area in order. If the number of terminals in the storage area 11 is greater than one, the connection module 200 is further configured to sort the terminals in use according to screen parameters from large to small, and use the order as the terminal-to-bandwidth used. The order is sorted from high to low and stored in the storage area in order.
  • the screen parameters may include parameters such as screen size and screen resolution.
  • the judgment about the bandwidth requirement of the terminal can be flexibly set according to the specific situation. For example, the terminal can be sorted according to the screen size of the terminal. The larger the screen size, the larger the network speed required, and thus the bandwidth demand of the smart TV is better than that of the mobile phone. The bandwidth requirements are high.
  • the connection module 200 compares the number of terminals in the storage area 11 with the number of wireless hotspots in the storage area 22, and when the number of terminals in use is less than or equal to the number of wireless hotspots, the connection is performed.
  • the module 200 selects the same number of wireless hotspots in the pre-sorting column to be stored in different storage areas according to the obtained number of terminals in use, and selects and selects the bandwidth requirements from high to low according to the terminal according to the terminal being used.
  • the wireless hotspots of the wireless hotspots are connected in order from large to small.
  • the smart TV system is based on the network of each wireless hotspot.
  • the first two wireless hotspot names are taken out and stored in the storage area 33 and the storage area 44, respectively.
  • AP_MaxSpeed1_P2SP(x) AP2_WL2_Speed_P2PSP(x)
  • the smart TV system connects the wireless hotspot with the widest bandwidth in storage area 33 with smart TVs, and stores them in storage area 44.
  • the wireless hotspot is connected to the iPad as follows:
  • the maximum network speed setting is AP2_WL2.
  • the current remote's gyroscope is deflected and connected to the hotspot AP2_WL2.
  • the maximum network speed setting is AP1_WL1.
  • the current iPad's gyroscope is deflected and connected to the hotspot AP1_WL1.
  • the connection module 200 allocates the wireless hotspots connected thereto according to the bandwidth requirement of the terminal being used.
  • the wireless hotspots can be sorted according to the network speed according to the above method, and the terminal in use is required according to the bandwidth. Sorting from high to low, and then selecting the used terminals in the same sorting column as the number of wireless hotspots are stored in different storage areas, and sorting according to the network speed of the wireless hotspots from the largest to the smallest.
  • the terminal used is connected to the bandwidth demand from high to low.
  • the remaining terminals that are in use are stored in different storage areas from the selected terminals in the same sorting order as the wireless hotspots, and the network speeds according to the wireless hotspots are from large to small.
  • the ordering is in turn connected to the selected terminal in use for bandwidth requirements from high to low. And so on, repeat the execution until all the terminals in use are connected to the wireless hotspot.
  • the terminals that are being used are smart TV, iPad, mobile phone 1 and mobile phone 2, a total of four, and the demand for bandwidth from high to low is Smart TV>iPad>Mobile Phone 1>Mobile Phone 2.
  • the wireless hotspots are wireless hotspot A and wireless hotspot B, and a total of two, and the wireless hotspot A has a network speed greater than the wireless hotspot B's network speed.
  • the smart TV and the iPad arranged in the top two can be connected to the wireless hotspot A and the wireless hotspot B in sequence.
  • the remaining mobile phones 1 and 2 are connected to the wireless hotspot A and the wireless hotspot B in order of high to low bandwidth requirements.
  • Manner 2 Obtain a network speed ratio between each wireless hotspot, and combine the bandwidth of the wireless hot point network with the bandwidth requirement of the wireless hot point, and combine the bandwidth requirements to construct a combined terminal with the same number of wireless hotspots.
  • the ratio of the bandwidth requirement of the combined terminal is approximated to the ratio of the hotspot network speed, and the bandwidth demand ratio of the combined terminal is obtained.
  • the combined terminal and the wireless hotspot are correspondingly connected according to the correspondence between the network speed ratio and the bandwidth demand ratio. Assume that the terminals that are being used are smart TV, iPad, mobile phone 1 and mobile phone 2, a total of four, and the wireless hotspots are wireless hotspot A and wireless hotspot B, a total of two, and the wireless hotspot A's network speed and wireless hotspot B The ratio between the network speeds is 1:2.
  • smart TV, iPad, mobile phone 1 and mobile phone 2 are combined according to the demand for bandwidth, and the bandwidth requirement of the combination of smart TV and mobile phone 1 is obtained: the bandwidth requirement of the combination of iPad and mobile phone 2 is 2:1. Therefore, according to the method, the smart TV, the mobile phone 1 and the wireless hotspot B can be connected, and the iPad and the mobile phone 2 can be connected to the wireless hotspot A. It can be understood that if there are only one wireless hotspot, it is impossible to allocate redundant wireless hotspots, and all the terminals in use can directly connect with the wireless hotspot.
  • connection manner between the terminal and the wireless hotspot used in the above is only an enumeration of the specific implementation manner, and other connection modes of the terminal and the wireless hotspot proposed by those skilled in the art are all in the protection scope of the present invention.
  • the name of the wireless hotspot connected to the terminal name being used may be displayed on the display screen of the smart television, so that the user knows each terminal being used.
  • Networking situation For example, the display "the smart TV is connected to the AP2_WL2, and the iPad is connected to the AP1_WL1" may be displayed in the form of a list, or may be a voice broadcast of the networking of each terminal being used, and does not limit the present invention.
  • the embodiment of the present invention After detecting the terminal and the wireless hotspot being used, the embodiment of the present invention performs corresponding connection according to the order of the bandwidth of the wireless terminal from the highest to the lowest according to the bandwidth requirement of the terminal being used, and implements the network according to the terminal to the network.
  • the demand automatically switches wireless hotspots.
  • the apparatus for switching the network by the terminal further includes:
  • the switching module 300 is configured to re-acquire the terminal and the wireless hotspot that are being used when receiving the switching instruction, or at a preset time, and switch the connection with the wireless hotspot according to the bandwidth requirement of the retrieved terminal.
  • the user can send a switching instruction of the wireless hotspot connection to the smart TV through the preset button on the smart remote controller, and the smart TV calling switching module 300 reacquires the terminal and the wireless hotspot that are being used when receiving the switching instruction.
  • the connection between the terminal being used and the wireless hotspot is switched according to the bandwidth requirement of the terminal being used.
  • the switching module 300 reacquires the terminal and the wireless hotspot that are being used every preset time, and obtains the number of the terminal and the wireless hotspot that are being used according to the foregoing method, and then switches the bandwidth demand according to the terminal being used.
  • the connection between the terminal and the wireless hotspot can be set to 1 second or 2 seconds, or it can be flexibly set according to the specific situation.
  • the scenarios applicable to this solution include: Assume that Xiaohai has multiple wireless hotspots, and smart TV, mobile phone, iPad and other terminals are connected to achieve interconnection, wireless hotspot 1 is connected to iPad, wireless hotspot 2 is connected to smart TV, wireless hotspot 3 is connected to mobile phone. .
  • Xiaohai used the iPad to play the landlord game at 19:00 in the evening, and the network was very smooth. At 20:00 in the evening, Xiaohai watched the online video through the smart TV.
  • the smart TV system can not meet the bandwidth demand of the smart TV by detecting the wireless bandwidth provided by the wireless hotspot 2 connected to the smart TV 2, which may result in the inability to watch the smooth network. video.
  • the user does not operate the iPad because of watching TV, and the wireless hotspot 1 provides the Internet broadband to the iPad idle.
  • the smart television system will detect that the smart TV is currently being used, and the wireless hotspot 1 has the fastest network speed, so the smart TV is switched to connect with the wireless hotspot 1.
  • Xiaohai does not worry about Caton in the process of watching the movie, and Xiaohai does not need to manually switch the wireless hotspot connected to the smart TV, not to switch to the home with wireless hotspot 1, wireless hotspot 2, wireless hotspot 3 and wireless hotspot.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed is a network switching method for terminals, comprising: obtaining terminals being used and wireless hotspots; and correspondingly connecting the terminals being used to the wireless hotspots according to bandwidth demands of the terminals in descending order and network speeds of the wireless hotspots in descending order. Also disclosed is a network switching apparatus for terminals. The present invention realizes automatic switching of wireless hotspots according to network requirements of terminals.

Description

终端切换网络的方法及装置  Method and device for terminal switching network
技术领域Technical field
本发明涉及网络技术领域,尤其涉及一种终端切换网络的方法及装置。The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for a terminal to switch networks.
背景技术Background technique
随着智能终端的发展,网络流量的需求也越来越流行,当正在使用的终端周围存在多个无线热点时,可能会存在有的终端连接到的无线热点网络带宽不够用,而有的无线热点的网速比较快却没有被终端连接到使其网络带宽闲置的问题。With the development of intelligent terminals, the demand for network traffic is becoming more and more popular. When there are multiple wireless hotspots around the terminal being used, there may be insufficient wireless hotspot network connected to the terminal, and some wireless Hotspots have faster network speeds but are not connected to the terminal to make their network bandwidth idle.
假设一个家庭有多个无线热点A、B、C,且网速的排序为A>B>C,家里的智能电视、手机、iPad等终端都连接在一起实现互联,用户使用连接无线热点C的智能电视观看网络电视,以及使用连接无线热点A的手机玩网络游戏。然而,在某段时间无线热点C提供给智能电视的网络带宽不够用造成无法观看流畅的网络视频,此时用户因看电视没有操作手机,无线热点A提供给手机的网络带宽闲置,使得网络带宽没有得到充分利用。当需要进行无线热点的切换时,用户并不知道无线热点的网络带宽情况而盲目切换每个无线热点获取快速网络,而且用户需要找到网络设置操作多个步骤设定才能找到通畅的网络,非常麻烦。同时,随着用户使用终端的变化,不能根据终端对网络带宽的需求自动的让无线热点与用户使用的终端自动切换。Suppose a family has multiple wireless hotspots A, B, and C, and the network speed is ranked as A>B>C. The home smart TV, mobile phone, iPad and other terminals are connected together to achieve interconnection, and the user uses the wireless hotspot C. Smart TV watches Internet TV and uses online games connected to Wireless Hotspot A to play online games. However, during a certain period of time, the network bandwidth provided by the wireless hotspot C to the smart TV is insufficient to cause the smooth network video to be viewed. At this time, the user does not operate the mobile phone because watching the television, and the network bandwidth provided by the wireless hotspot A to the mobile phone is idle, so that the network bandwidth is obtained. Not fully utilized. When the wireless hotspot needs to be switched, the user does not know the network bandwidth of the wireless hotspot and blindly switches each wireless hotspot to obtain a fast network, and the user needs to find multiple steps of the network setting operation to find a smooth network, which is very troublesome. . At the same time, as the user uses the terminal to change, the wireless hotspot and the terminal used by the user cannot be automatically switched according to the terminal's demand for network bandwidth.
发明内容Summary of the invention
本发明的主要目的在于提供一种终端切换网络的方法及装置,旨在实现了根据终端对网络的需求自动切换无线热点。The main purpose of the present invention is to provide a method and an apparatus for a terminal to switch a network, which aims to automatically switch a wireless hotspot according to the demand of the terminal for the network.
为实现上述目的,本发明提供了一种终端切换网络的方法,包括:To achieve the above objective, the present invention provides a method for a terminal to switch networks, including:
获取终端的陀螺仪的方位角值、仰俯值及滚转值;Obtaining an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
当所述终端的方位角值、仰俯值及滚转值不全为零时,确定所述终端正在使用;Determining that the terminal is in use when the azimuth value, the elevation value, and the roll value of the terminal are not all zero;
根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;Correspondingly connecting the network speeds of the wireless hotspots from large to small according to the bandwidth demand of the terminal being used;
在接收到切换指令时,或者每隔预设时间重新获取正在使用的终端及无线热点,根据重新得到的正在使用的终端对带宽需求切换与无线热点的连接。When receiving the handover instruction, or re-acquiring the terminal and the wireless hotspot in use every preset time, the connection with the wireless hotspot is switched according to the bandwidth requirement of the retrieved terminal.
优选地,所述根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接包括:Preferably, the corresponding connection according to the order that the bandwidth of the terminal in use is in descending order from the highest speed to the network speed of the wireless hotspot includes:
获取正在使用的终端的个数及无线热点的个数;Obtain the number of terminals in use and the number of wireless hotspots;
当正在使用的终端的个数小于或等于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;When the number of terminals in use is less than or equal to the number of wireless hotspots, the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
当正在使用的终端的个数大于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接后,重复将剩下的正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接,直至完成所有正在使用的终端与无线热点的连接;或者,When the number of terminals in use is greater than the number of wireless hotspots, according to the demand of the terminal in use, the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
获取各个无线热点之间的网速比值,并以所述网速比值为基准,将正在使用的所述终端按照对带宽的需求进行组合,构建与所述无线热点的个数相同的组合终端,得到组合终端的带宽需求比值,根据所述网速比值与带宽需求比值将所述组合终端与所述无线热点进行对应连接。Obtaining a network speed ratio between each wireless hotspot, and combining the terminal in use according to the bandwidth requirement on the basis of the network speed ratio, and constructing a combined terminal with the same number of the wireless hotspots, Obtaining a bandwidth demand ratio of the combined terminal, and correspondingly connecting the combined terminal to the wireless hotspot according to the network speed ratio and the bandwidth demand ratio.
优选地,所述根据正在使用的所述终端对带宽需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接包括:Preferably, the corresponding connection according to the order in which the bandwidth of the terminal in use is in order from the highest to the low, and the network speed of the wireless hotspot is in descending order:
将正在使用的所述终端按照屏幕参数从大到小进行排序,将所述排序作为正在使用的所述终端对带宽的需求从高到低的排序。The terminals in use are sorted according to screen parameters from large to small, and the ordering is used as a sorting of the bandwidth demand of the terminal in use from high to low.
本发明还提供了一种终端切换网络的方法,包括:The present invention also provides a method for a terminal to switch networks, including:
获取正在使用的终端及无线热点;Get the terminal and wireless hotspot in use;
根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接。According to the demand of the terminal in use, the bandwidth is sequentially connected to the order of the network speed of the wireless hotspot from high to low.
优选地,所述根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接包括:Preferably, the corresponding connection according to the order that the bandwidth of the terminal in use is in descending order from the highest speed to the network speed of the wireless hotspot includes:
获取正在使用的终端的个数及无线热点的个数;Obtain the number of terminals in use and the number of wireless hotspots;
当正在使用的终端的个数小于或等于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;When the number of terminals in use is less than or equal to the number of wireless hotspots, the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
当正在使用的终端的个数大于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接后,重复将剩下的正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接,直至完成所有正在使用的终端与无线热点的连接;或者,When the number of terminals in use is greater than the number of wireless hotspots, according to the demand of the terminal in use, the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
获取各个无线热点之间的网速比值,并以所述网速比值为基准,将正在使用的所述终端按照对带宽的需求进行组合,构建与所述无线热点的个数相同的组合终端,得到组合终端的带宽需求比值,根据所述网速比值与带宽需求比值将所述组合终端与所述无线热点进行对应连接。Obtaining a network speed ratio between each wireless hotspot, and combining the terminal in use according to the bandwidth requirement on the basis of the network speed ratio, and constructing a combined terminal with the same number of the wireless hotspots, Obtaining a bandwidth demand ratio of the combined terminal, and correspondingly connecting the combined terminal to the wireless hotspot according to the network speed ratio and the bandwidth demand ratio.
优选地,所述根据正在使用的所述终端对带宽需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接包括:Preferably, the corresponding connection according to the order in which the bandwidth of the terminal in use is in order from the highest to the low, and the network speed of the wireless hotspot is in descending order:
将正在使用的所述终端按照屏幕参数从大到小进行排序,将所述排序作为正在使用的所述终端对带宽的需求从高到低的排序。The terminals in use are sorted according to screen parameters from large to small, and the ordering is used as a sorting of the bandwidth demand of the terminal in use from high to low.
优选地,所述根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接之后包括:Preferably, the following, after the connection of the bandwidth of the wireless hotspot from the highest to the smallest, according to the demand for the bandwidth of the terminal being used, is connected to the following:
在接收到切换指令时,或者每隔预设时间重新获取正在使用的终端及无线热点,根据重新得到的正在使用的终端对带宽需求切换与无线热点的连接。When receiving the handover instruction, or re-acquiring the terminal and the wireless hotspot in use every preset time, the connection with the wireless hotspot is switched according to the bandwidth requirement of the retrieved terminal.
优选地,所述获取正在使用的终端包括:Preferably, the obtaining the terminal being used comprises:
获取终端的陀螺仪的方位角值、仰俯值及滚转值;Obtaining an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
当所述终端的方位角值、仰俯值及滚转值不全为零时,确定所述终端正在使用。When the azimuth value, the elevation value, and the roll value of the terminal are not all zero, it is determined that the terminal is in use.
此外,为实现上述目的,本发明还提供了一种终端切换网络的装置,包括:In addition, to achieve the above object, the present invention further provides an apparatus for a terminal to switch a network, including:
获取模块,用于获取正在使用的终端及无线热点;An acquisition module, configured to obtain a terminal and a wireless hotspot that are being used;
连接模块,用于根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接。The connection module is configured to perform corresponding connection with the network speed of the wireless hotspot from the highest to the smallest according to the bandwidth demand of the terminal being used.
优选地,所述连接模块还用于,获取正在使用的终端的个数及无线热点的个数;Preferably, the connection module is further configured to acquire the number of terminals in use and the number of wireless hotspots;
当正在使用的终端的个数小于或等于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;When the number of terminals in use is less than or equal to the number of wireless hotspots, the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
当正在使用的终端的个数大于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接后,重复将剩下的正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接,直至完成所有正在使用的终端与无线热点的连接;或者,When the number of terminals in use is greater than the number of wireless hotspots, according to the demand of the terminal in use, the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
获取各个无线热点之间的网速比值,并以所述网速比值为基准,将正在使用的所述终端按照对带宽的需求进行组合,构建与所述无线热点的个数相同的组合终端,得到组合终端的带宽需求比值,根据所述网速比值与带宽需求比值将所述组合终端与所述无线热点进行对应连接。Obtaining a network speed ratio between each wireless hotspot, and combining the terminal in use according to the bandwidth requirement on the basis of the network speed ratio, and constructing a combined terminal with the same number of the wireless hotspots, Obtaining a bandwidth demand ratio of the combined terminal, and correspondingly connecting the combined terminal to the wireless hotspot according to the network speed ratio and the bandwidth demand ratio.
优选地,所述连接模块还用于,将正在使用的所述终端按照屏幕参数从大到小进行排序,将所述排序作为正在使用的所述终端对带宽的需求从高到低的排序。Preferably, the connection module is further configured to sort the terminals in use according to screen parameters from large to small, and use the ordering as a sorting of the bandwidth demand of the terminal in use from high to low.
优选地,所述终端切换网络的装置还包括:Preferably, the device for switching the network by the terminal further includes:
切换模块,用于在接收到切换指令时,或者每隔预设时间重新获取正在使用的终端及无线热点,根据重新得到的正在使用的终端对带宽需求切换与无线热点的连接。The switching module is configured to re-acquire the terminal and the wireless hotspot that are being used when receiving the switching instruction, or at a preset time, and switch the connection with the wireless hotspot according to the bandwidth requirement of the retrieved terminal.
优选地,所述获取模块包括:Preferably, the obtaining module comprises:
获取单元,用于获取终端的陀螺仪的方位角值、仰俯值及滚转值;An obtaining unit, configured to acquire an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
确定单元,用于当所述终端的方位角值、仰俯值及滚转值不全为零时,确定所述终端正在使用。And a determining unit, configured to determine that the terminal is in use when the azimuth value, the tilt value, and the roll value of the terminal are not all zero.
本发明实施例通过检测正在使用的终端及无线热点后,根据正在使用的终端对带宽要求从高到低依次与无线热点的网速从大到小的排序进行对应连接,实现了根据终端对网络的需求自动切换无线热点。After detecting the terminal and the wireless hotspot being used, the embodiment of the present invention performs corresponding connection according to the order of the bandwidth of the wireless terminal from the highest to the lowest according to the bandwidth requirement of the terminal being used, and implements the network according to the terminal to the network. The demand automatically switches wireless hotspots.
附图说明DRAWINGS
图1为本发明终端切换网络的方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a method for a terminal to switch a network according to the present invention;
图2为本发明终端切换网络的方法中获取正在使用的终端的细化流程示意图;2 is a schematic diagram of a refinement process of acquiring a terminal in use in a method for a terminal to switch a network according to the present invention;
图3为本发明终端切换网络的方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of a method for a terminal to switch a network according to the present invention;
图4为本发明终端切换网络的装置第一实施例的功能模块示意图;4 is a schematic diagram of functional modules of a first embodiment of a device for switching a network according to the present invention;
图5为本发明终端切换网络的装置中获取模块的细化功能模块示意图;5 is a schematic diagram of a refinement function module of an acquisition module in a device for switching a network according to the present invention;
图6为本发明终端切换网络的装置第二实施例的功能模块示意图。FIG. 6 is a schematic diagram of functional modules of a second embodiment of a device for switching a network according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,示出了本发明一种终端切换网络的方法第一实施例。该实施例的终端切换网络的方法包括:As shown in FIG. 1, a first embodiment of a method for a terminal handover network according to the present invention is shown. The method for the terminal to switch the network in this embodiment includes:
步骤S10、获取正在使用的终端及无线热点;Step S10: Obtain a terminal and a wireless hotspot that are being used;
本实施例中,终端的类型可根据实际需要进行设置,例如,终端可包括智能电视、手机、iPad、电脑等。可以理解的是,每个终端都有自身的唯一标识。以下将以智能电视为例进行详细说明,该智能电视与手机、iPad、电脑等终端通过网络连接在一起实现互联,以便该智能电视系统在上电启动后可获取与其连接的终端的唯一标识或者名称,以及无线热点得名称,并进行存储。In this embodiment, the type of the terminal may be set according to actual needs. For example, the terminal may include a smart TV, a mobile phone, an iPad, a computer, and the like. It can be understood that each terminal has its own unique identifier. The following is a detailed description of a smart TV, which is connected to a mobile phone, an iPad, a computer, and the like through a network, so that the smart TV system can obtain a unique identifier of the terminal connected thereto after being powered on or The name, as well as the name of the wireless hotspot, are stored and stored.
首先,智能电视开机后将侦测与其互联的正在使用的终端,进一步地,如图2所示,上述步骤S10可包括:First, after the smart TV is powered on, the terminal that is in use is detected. Further, as shown in FIG. 2, the foregoing step S10 may include:
步骤S11、获取终端的陀螺仪的方位角值、仰俯值及滚转值;Step S11: Obtain an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
步骤S12、当所述终端的方位角值、仰俯值及滚转值不全为零时,确定所述终端正在使用。Step S12: When the azimuth value, the elevation value, and the roll value of the terminal are not all zero, it is determined that the terminal is in use.
在判断终端是否正在使用的过程中,智能电视系统将上述所存储的与其联接的终端,按照终端的唯一标识或名称,获取每个终端的陀螺仪Z轴、X轴及Y轴的值,并分别根据唯一标识对应缓冲到存储区55,存储区66,存储区77,其中,陀螺仪的Z轴、X轴及Y轴的值分别表示陀螺仪的方位角值、仰俯值及滚转值。然后分别判断每个终端的方位角值、仰俯值及滚转值是否都等于0,这里可用旋转触发算法将方位角值、仰俯值及滚转值三者进行或运算。如果运算结果为0,表示该终端没有用户在使用。如果运算结果不为0,表示该终端正在使用,将正在使用的该终端名称或者唯一标识保存到存储区44中。当然,判断终端是否正在使用也可通过其他方式进行判断,并不限定本发明。需要说明的是,判断智能电视是否正在使用,可通过其对于的智能遥控器的陀螺仪进行判断。假设智能遥控器、iPad运算结果的值大于0如下所示:In the process of judging whether the terminal is in use, the smart television system acquires the values of the Z-axis, the X-axis and the Y-axis of the gyroscope of each terminal according to the unique identifier or name of the terminal stored by the terminal connected thereto. Correspondingly buffered to the storage area 55, the storage area 66, and the storage area 77 according to the unique identifier, wherein the values of the Z-axis, the X-axis, and the Y-axis of the gyroscope respectively indicate the azimuth value, the elevation value, and the roll value of the gyroscope. . Then, it is determined whether the azimuth value, the elevation value, and the roll value of each terminal are both equal to 0. Here, the rotation trigger algorithm may be used to perform the OR operation on the azimuth value, the elevation value, and the roll value. If the operation result is 0, it means that the terminal is not in use by the user. If the result of the operation is not 0, it indicates that the terminal is in use, and the terminal name or unique identifier being used is saved in the storage area 44. Of course, it can be judged by other means whether the terminal is being used or not, and the present invention is not limited. It should be noted that judging whether the smart TV is in use or not can be judged by the gyroscope of the smart remote controller for it. Assume that the value of the smart remote control and iPad operation result is greater than 0 as follows:
Dec1_azimuth(x1)=0x00Dec1_azimuth(x1)=0x00
//终端iPad陀螺仪方位角值为0。// The terminal iPad gyroscope has an azimuth value of 0.
Dec1_pitch(x1)=0x30Dec1_pitch(x1)=0x30
//终端iPad陀螺仪仰俯值为0x30。// The terminal iPad gyroscope has a tilt value of 0x30.
Dec1_roll(x1)=0x02Dec1_roll(x1)=0x02
//终端iPad陀螺仪滾转值为0x02。// The terminal iPad gyroscope rollback value is 0x02.
Gyroscope_mov(x1)=|Dec1_azimuth|Dec1_pitch(x1)|Dec1_roll(x1)|Gyroscope_mov(x1)=|Dec1_azimuth|Dec1_pitch(x1)|Dec1_roll(x1)|
//数值0x32不为0,终端iPad陀螺仪设备触发偏向旋转。//The value 0x32 is not 0, and the terminal iPad gyroscope device triggers the bias rotation.
Dec2_azimuth(x1)=0x00Dec2_azimuth(x1)=0x00
//终端RemoteTV陀螺仪方位角值为0。// The terminal RemoteTV gyroscope has an azimuth value of zero.
Dec2_pitch(x1)=0x30Dec2_pitch(x1)=0x30
//终端RemoteTV陀螺仪仰俯值为0x130。// The terminal RemoteTV gyroscope has a tilt value of 0x130.
Dec2_roll(x1)=0x02Dec2_roll(x1)=0x02
//终端RemoteTV陀螺仪滾转值为0x02。/ / Terminal RemoteTV gyroscope roll value is 0x02.
Gyroscope_mov(x1)=|Dec2_azimuth|Dec2_pitch(x1)|Dec2_roll(x1)|Gyroscope_mov(x1)=|Dec2_azimuth|Dec2_pitch(x1)|Dec2_roll(x1)|
//数值0x132不为0,终端RemoteTV陀螺仪设备触发偏向旋转。//The value 0x132 is not 0, and the terminal RemoteTV gyro device triggers the bias rotation.
当存在正在使用的终端时,根据正在使用的终端的唯一标识或者名称,保存到存储区11中。例如,得到RemoteTV、iPad、Phone1及Phone2等。以及检测无线热点,将各个无线热点的名称保存在存储区22中。例如,得到AP1_WL1、AP2_WL2、AP3_WL3、AP4_WL4等。When there is a terminal in use, it is saved in the storage area 11 according to the unique identification or name of the terminal being used. For example, get RemoteTV, iPad, Phone1, Phone2, etc. And detecting the wireless hotspot, and saving the name of each wireless hotspot in the storage area 22. For example, AP1_WL1, AP2_WL2, AP3_WL3, AP4_WL4, and the like are obtained.
步骤S20、根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接。Step S20: Correspondingly connecting the network speeds of the wireless hotspots from large to small according to the bandwidth demand of the terminal being used from high to low.
在上述得到正在使用的终端及无线热点后,对正在使用的终端及无线热点进行分析处理,进一步地,上述步骤S20可包括:After the terminal and the wireless hotspot that are being used are obtained, the terminal and the wireless hotspot that are being used are analyzed and processed. Further, the step S20 may include:
获取正在使用的终端的个数及无线热点的个数;Obtain the number of terminals in use and the number of wireless hotspots;
当正在使用的终端的个数小于或等于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;When the number of terminals in use is less than or equal to the number of wireless hotspots, the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
当正在使用的终端的个数大于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接后,重复将剩下的正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接,直至完成所有正在使用的终端与无线热点的连接;或者,When the number of terminals in use is greater than the number of wireless hotspots, according to the demand of the terminal in use, the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
获取各个无线热点之间的网速比值,并以所述网速比值为基准,将正在使用的所述终端按照对带宽的需求进行组合,构建与所述无线热点的个数相同的组合终端,得到组合终端的带宽需求比值,根据所述网速比值与带宽需求比值将所述组合终端与所述无线热点进行对应连接。Obtaining a network speed ratio between each wireless hotspot, and combining the terminal in use according to the bandwidth requirement on the basis of the network speed ratio, and constructing a combined terminal with the same number of the wireless hotspots, Obtaining a bandwidth demand ratio of the combined terminal, and correspondingly connecting the combined terminal to the wireless hotspot according to the network speed ratio and the bandwidth demand ratio.
具体地,当得到正在使用的终端后,智能电视系统计算存储区11中的正在使用的终端的个数,当不存在正在使用的终端时,则不需要进一步处理。然后计算存储区22中无线热点的个数,根据得到无线热点的个数启动对应个数的P2SP(Peer to Server&Peer ,点对服务器和点(用户对服务器和用户))获取每个无线热点的网速,并将每个P2SP得到的网速大小与对应无线热点的名称保存在存储区22中。假设得到AP1_WL1、AP2_WL2、AP3_WL3、AP4_WL4等4个无线热点及其网速如下所示:Specifically, when the terminal in use is obtained, the smart television system calculates the number of terminals in use in the storage area 11, and when there is no terminal in use, no further processing is required. Then, the number of wireless hotspots in the storage area 22 is calculated, and the corresponding number of P2SPs (Peer) are started according to the number of wireless hotspots obtained. To Server&Peer Point-to-server and point (user-to-server and user)) obtain the network speed of each wireless hotspot, and save the network speed size obtained by each P2SP and the name of the corresponding wireless hotspot in the storage area 22. Assume that four wireless hotspots such as AP1_WL1, AP2_WL2, AP3_WL3, and AP4_WL4 and their network speeds are as follows:
AP1_WL1_Speed_P2SP(x)=0x4FFFFAP1_WL1_Speed_P2SP(x)=0x4FFFF
//无线热点AP1_WL1,单位ms,下载字节数值为0x4FFFF。//Wireless hotspot AP1_WL1, in ms, the download byte value is 0x4FFFF.
AP2_WL2_Speed_P2SP(x)=0x7FFFFAP2_WL2_Speed_P2SP(x)=0x7FFFF
//无线热点AP2_WL2,单位ms,下载字节数值为0x7FFFF。//Wireless hotspot AP2_WL2, in ms, the download byte value is 0x7FFFF.
AP3_WL3_Speed_P2SP(x)=0x2FFFFAP3_WL3_Speed_P2SP(x)=0x2FFFF
//无线热点AP3_WL3,单位ms,下载字节数值为0x2FFFF。//Wireless hotspot AP3_WL3, unit ms, the download byte value is 0x2FFFF.
AP4_WL4_Speed_P2SP(x)=0x1FFFFAP4_WL4_Speed_P2SP(x)=0x1FFFF
//无线热点AP4_WL4,单位ms,下载字节数值为0x1FFFF。//Wireless hotspot AP4_WL4, in ms, the download byte value is 0x1FFFF.
在上述得到存在正在使用的终端和无线热点后,若存储区22中无线热点得个数大于1个,智能电视系统在启动P2SP获取每个无线热点的网速后,对得到的每个无线热点的网速从大到小进行排序,并按顺序保存在存储区中。若存储区11中正在使用的终端的个数大于1个,则将正在使用的终端按照屏幕参数从大到小进行排序,将该排序作为正在使用的终端对带宽的需求从高到低的排序,并按顺序保存在存储区中,该屏幕参数可包括屏幕尺寸、屏幕分辨率等参数。关于终端对带宽需求的判断可根据具体情况而灵活设置,例如,可根据终端的屏幕尺寸来进行排序,屏幕尺寸越大,其要求的网速越大,由此可知智能电视的带宽需求比手机的带宽需求高。同时,将存储区11中在正在使用的终端得个数与存储区22中无线热点的个数进行比较,当正在使用的终端的个数小于或等于无线热点的个数时,根据获取到的正在使用的终端的个数,选取排序前列中相同个数的无线热点分别存储在不同的存储区中,并根据正在使用的终端对带宽需求从高到低依次与选取的无线热点的网速从大到小的排序进行对应连接。After obtaining the terminal and the wireless hotspot that are in use, if the number of wireless hotspots in the storage area 22 is greater than one, the smart television system obtains each wireless hotspot after obtaining the network speed of each wireless hotspot after starting the P2SP. The network speeds are sorted from large to small and are saved in the storage area in order. If the number of terminals in use in the storage area 11 is greater than one, the terminals that are being used are sorted according to screen parameters from large to small, and the ordering is used as the order of the bandwidth of the terminal being used from high to low. And stored in the storage area in order, the screen parameters may include parameters such as screen size, screen resolution and the like. The judgment about the bandwidth requirement of the terminal can be flexibly set according to the specific situation. For example, the terminal can be sorted according to the screen size of the terminal. The larger the screen size, the larger the network speed required, and thus the bandwidth demand of the smart TV is better than that of the mobile phone. The bandwidth requirements are high. At the same time, comparing the number of terminals in the storage area 11 with the number of wireless hotspots in the storage area 22, when the number of terminals in use is less than or equal to the number of wireless hotspots, according to the obtained The number of terminals in use is selected, and the same number of wireless hotspots in the sorting column are respectively stored in different storage areas, and the network speeds of the selected wireless hotspots are sequentially selected according to the bandwidth demand from the terminal being used. Large to small sorting for the corresponding connection.
以下进行举例说明,假设当前智能电视及iPad正在使用,得到正在使用的终端的个数为2,得到的无线热点为AP1_WL1、AP2_WL2、AP3_WL3及AP4_WL4总共4个,智能电视系统根据各个无线热点的网速进行排序后,取出前两名的无线热点名称,分别存储到存储区33和存储区44中。如下为得到的前两名的无线热点名称及网速大小:The following is an example. Assume that the current smart TV and iPad are being used, and the number of terminals that are being used is 2, and the obtained wireless hotspots are 4 AP1_WL1, AP2_WL2, AP3_WL3, and AP4_WL4, and the smart TV system is based on the network of each wireless hotspot. After the speed is sorted, the first two wireless hotspot names are taken out and stored in the storage area 33 and the storage area 44, respectively. The following are the top two wireless hotspot names and network speeds:
AP_MaxSpeed1_P2SP(x) =AP2_WL2_Speed_P2PSP(x)AP_MaxSpeed1_P2SP(x) =AP2_WL2_Speed_P2PSP(x)
//排序最大的网络设定值,无线热点AP2_WL2,单位ms,下载字节数值为0x7FFFF。/ / Sort the largest network settings, wireless hotspot AP2_WL2, unit ms, the download byte value is 0x7FFFF.
AP_MaxSpeed2_P2SP(x) =AP1_WL1_Speed_P2SP(x)=0x4FFFFAP_MaxSpeed2_P2SP(x) =AP1_WL1_Speed_P2SP(x)=0x4FFFF
//排序次大的网络设定值,无线热点AP1_WL1,单位ms,下载字节数值为0x4FFFF。// Sort the next largest network setting, wireless hotspot AP1_WL1, unit ms, download byte value is 0x4FFFF.
对智能电视及iPad各自对带宽的需求判断,得到智能电视对带宽的需求大于iPad对带宽的需求,智能电视系统将存储区33中带宽最宽的无线热点与智能电视连接,将存储区44中的无线热点连接到iPad,如下所示:Judging the demand for bandwidth of smart TVs and iPads, the demand for bandwidth of smart TVs is greater than the bandwidth demand of iPads. The smart TV system connects the wireless hotspot with the widest bandwidth in storage area 33 with smart TVs, and stores them in storage area 44. The wireless hotspot is connected to the iPad as follows:
AP2_WL2_Device(x1)=RemoteTVAP2_WL2_Device(x1)=RemoteTV
//最大的网速设定值为AP2_WL2,当前遥控器的陀螺仪在偏转,连接到热点AP2_WL2。// The maximum network speed setting is AP2_WL2. The current remote's gyroscope is deflected and connected to the hotspot AP2_WL2.
AP1_WL1_Device(x1)=PADAP1_WL1_Device(x1)=PAD
//最大的网速设定值为AP1_WL1,当前iPad的陀螺仪在偏转,连接到热点AP1_WL1。//The maximum network speed setting is AP1_WL1. The current iPad's gyroscope is deflected and connected to the hotspot AP1_WL1.
当正在使用的终端的个数大于无线热点的个数时,正在使用的终端不能与无线热点一对一连接,需要根据正在使用的终端对带宽的需求分配与其连接的无线热点,方式一:可按照上述方法将无线热点按照网速从大到小进行排序,以及将正在使用的终端按照对带宽的需求从高到低进行排序,然后选取排序前列中与无线热点个数相同的正在使用的终端分别存储在不同的存储区中,并根据无线热点的网速从大到小的排序依次与选取的正在使用的终端对带宽需求从高到低进行对应连接。将剩下的正在使用的终端按照同样的方法,再从选取排序前列中与无线热点个数相同的正在使用的终端分别存储在不同的存储区中,并根据无线热点的网速从大到小的排序依次与选取的正在使用的终端对带宽需求从高到低进行对应连接。依次类推,重复执行,直至完成所有正在使用的终端与无线热点的连接。假设得到正在使用的终端为智能电视、iPad、手机1及手机2,总共4个,且对带宽的需求从高到低为智能电视>iPad>手机1>手机2。得到无线热点为无线热点A和无线热点B,总共2个,且无线热点A的网速大于无线热点B的网速。此时,按照该方法可将排列在前两名的智能电视与iPad,分别依次与无线热点A与无线热点B连接。然后再将剩下的手机1及手机2按照对带宽的需求从高到低的排序依次与无线热点A与无线热点B连接。方式二:获取各个无线热点之间的网速比值,并以该无线热的点网速比值为基准,将正在使用的终端按照对带宽的需求进行组合,构建与无线热点个数相同的组合终端,使得组合终端的宽带要求的比值近似于热点网速的比值,得到组合终端的带宽需求比值。根据网速比值与带宽需求比值的对应关系将组合终端与无线热点进行对应连接。假设得到正在使用的终端为智能电视、iPad、手机1及手机2,总共4个,得到无线热点为无线热点A和无线热点B,总共2个,且无线热点A的网速与无线热点B的网速之间的比值为1:2。此时,将智能电视、iPad、手机1及手机2按照对带宽的需求进行组合,得到智能电视与手机1组合的带宽需求:iPad与手机2组合的带宽需求接近为2:1。因此,按照该方法可将智能电视、手机1与无线热点B连接,将iPad、手机2与无线热点A连接。可以理解的是,若无线热点仅为1个,则无法分配多余的无线热点,所有正在使用的终端可直接与该无线热点进行连接。需要说明的是,上述正在使用的终端与无线热点的连接方式仅为具体实施方式的枚举,本领域技术人员提出的其它正在使用的终端与无线热点的连接方式,均在本发明的保护范围内。When the number of terminals in use is greater than the number of wireless hotspots, the terminal being used cannot be connected to the wireless hotspot one-to-one. The wireless hotspot connected to the terminal needs to be allocated according to the bandwidth requirement of the terminal being used. According to the above method, the wireless hotspots are sorted according to the network speed from large to small, and the terminals in use are sorted according to the demand for bandwidth, and then the used terminals in the same sorting order as the number of wireless hotspots are selected. They are stored in different storage areas, and are connected to the selected terminal according to the bandwidth demand from high to low according to the network speed of the wireless hotspot. According to the same method, the remaining terminals that are in use are stored in different storage areas from the selected terminals in the same sorting order as the wireless hotspots, and the network speeds according to the wireless hotspots are from large to small. The ordering is in turn connected to the selected terminal in use for bandwidth requirements from high to low. And so on, repeat the execution until all the terminals in use are connected to the wireless hotspot. Assume that the terminals that are being used are smart TV, iPad, mobile phone 1 and mobile phone 2, a total of four, and the demand for bandwidth from high to low is Smart TV>iPad>Mobile Phone 1>Mobile Phone 2. The wireless hotspots are wireless hotspot A and wireless hotspot B, and a total of two, and the wireless hotspot A has a network speed greater than the wireless hotspot B's network speed. At this time, according to the method, the smart TV and the iPad arranged in the top two can be connected to the wireless hotspot A and the wireless hotspot B in sequence. Then, the remaining mobile phones 1 and 2 are connected to the wireless hotspot A and the wireless hotspot B in order of high to low bandwidth requirements. Manner 2: Obtain a network speed ratio between each wireless hotspot, and combine the bandwidth of the wireless hot point network with the bandwidth requirement of the wireless hot point, and combine the bandwidth requirements to construct a combined terminal with the same number of wireless hotspots. Therefore, the ratio of the bandwidth requirement of the combined terminal is approximated to the ratio of the hotspot network speed, and the bandwidth demand ratio of the combined terminal is obtained. The combined terminal and the wireless hotspot are correspondingly connected according to the correspondence between the network speed ratio and the bandwidth demand ratio. Assume that the terminals that are being used are smart TV, iPad, mobile phone 1 and mobile phone 2, a total of four, and the wireless hotspots are wireless hotspot A and wireless hotspot B, a total of two, and the wireless hotspot A's network speed and wireless hotspot B The ratio between the network speeds is 1:2. At this time, smart TV, iPad, mobile phone 1 and mobile phone 2 are combined according to the demand for bandwidth, and the bandwidth requirement of the combination of smart TV and mobile phone 1 is obtained: the bandwidth requirement of the combination of iPad and mobile phone 2 is close to 2:1. Therefore, according to the method, the smart TV, the mobile phone 1 and the wireless hotspot B can be connected, and the iPad and the mobile phone 2 can be connected to the wireless hotspot A. It can be understood that if there is only one wireless hotspot, the redundant wireless hotspot cannot be allocated, and all the terminals in use can directly connect with the wireless hotspot. It should be noted that the connection manner between the terminal and the wireless hotspot used in the above is only an enumeration of the specific implementation manner, and other connection modes of the terminal and the wireless hotspot proposed by those skilled in the art are all in the protection scope of the present invention. Inside.
进一步地,本实施例中,正在使用的终端与无线热点连接之后,在智能电视的显示屏上可显示在正在使用的终端名称与其对应连接的无线热点的名称,以便用户了解各个正在使用的终端的联网情况。例如,显示“智能电视与AP2_WL2连接,iPad与AP1_WL1连接”,也可以以列表的形式进行显示,也可以是进行语音播报各个正在使用的终端的联网情况,并不限定本发明。Further, in this embodiment, after the terminal being used is connected to the wireless hotspot, the name of the wireless hotspot connected to the terminal name being used may be displayed on the display screen of the smart television, so that the user knows each terminal being used. Networking situation. For example, the display "the smart TV is connected to the AP2_WL2, and the iPad is connected to the AP1_WL1" may be displayed in the form of a list, or may be a voice broadcast of the networking of each terminal being used, and does not limit the present invention.
本发明实施例通过检测正在使用的终端及无线热点后,根据正在使用的终端对带宽要求从高到低依次与无线热点的网速从大到小的排序进行对应连接,实现了根据终端对网络的需求自动切换无线热点。After detecting the terminal and the wireless hotspot being used, the embodiment of the present invention performs corresponding connection according to the order of the bandwidth of the wireless terminal from the highest to the lowest according to the bandwidth requirement of the terminal being used, and implements the network according to the terminal to the network. The demand automatically switches wireless hotspots.
进一步地,如图3所示,基于上述实施例,本实施例中,上述步骤S20之后可包括:Further, as shown in FIG. 3, based on the foregoing embodiment, in the embodiment, the foregoing step S20 may include:
步骤S30、在接收到切换指令时,或者每隔预设时间重新获取正在使用的终端及无线热点,根据重新得到的正在使用的终端对带宽需求切换与无线热点的连接。Step S30: When receiving the handover instruction, or re-acquiring the used terminal and the wireless hotspot every preset time, switching the connection with the wireless hotspot according to the bandwidth requirement of the retrieved terminal being used.
本实施例中,用户可以通过智能遥控器上预置的按键向智能电视发送无线热点连接的切换指令,智能电视系统在接收到切换指令时,重新获取正在使用的终端及无线热点,并按照上述方法分别获取正在使用的终端及无线热点的个数后,根据正在使用的终端对带宽需求切换正在使用的终端与无线热点的连接。或者,智能电视系统每隔预设时间重新获取正在使用的终端及无线热点,并按照上述方法分别获取正在使用的终端及无线热点的个数后,根据正在使用的终端对带宽需求切换正在使用的终端与无线热点的连接。该预设时间可设置为1秒或者2秒,也可根据具体情况而灵活设置。In this embodiment, the user can send a switching instruction of the wireless hotspot connection to the smart TV through the preset button on the smart remote controller, and the smart television system reacquires the terminal and the wireless hotspot being used when receiving the switching instruction, and according to the above After obtaining the number of terminals and wireless hotspots that are being used respectively, the method switches the connection between the terminal being used and the wireless hotspot according to the bandwidth requirement of the terminal being used. Alternatively, the smart television system reacquires the terminal and the wireless hotspot that are being used every predetermined time, and obtains the number of the terminal and the wireless hotspot that are being used according to the above method, and then switches the bandwidth demand according to the terminal being used. The connection between the terminal and the wireless hotspot. The preset time can be set to 1 second or 2 seconds, or it can be flexibly set according to the specific situation.
本方案可应用的场景包括:假设小海家有多个无线热点,智能电视、手机、iPad等终端都连接在一起实现互联,无线热点1连接iPad,无线热点2连接智能电视,无线热点3连接手机。小海在晚上19:00使用iPad玩斗地主游戏,此时网络很流畅。到了晚上20:00小海通过智能电视看网络影片,智能电视系统通过检测连接智能电视的无线热点2提供给智能电视的网络带宽不能满足智能电视的对带宽的需求,可能会造成无法观看流畅的网络视频。与此同时,用户因看电视没有操作iPad,无线热点1提供给iPad的网络宽带闲置。此时,智能电视系统将检测到当前正在使用智能电视,以及无线热点1的网速是最快的,于是将智能电视切换到与无线热点1连接。小海在看影片的过程中就不要担心卡顿的问题,且小海不需要手动去切换连接智能电视的无线热点,更不用都去切换家里有无线热点1、无线热点2、无线热点3及无线热点4,这样不仅节约了小海看影片的时间,而且小海免去了找到网络设置操作多个步骤设定才能找到通畅的网络端的麻烦。小海还可以在看影片的广告期间去玩游戏,而不需要重新在将iPad的切换到网络不卡顿的模式,大大提高了用户体验。The scenarios applicable to this solution include: Assume that Xiaohai has multiple wireless hotspots, and smart TV, mobile phone, iPad and other terminals are connected to achieve interconnection, wireless hotspot 1 is connected to iPad, wireless hotspot 2 is connected to smart TV, wireless hotspot 3 is connected to mobile phone. . Xiaohai used the iPad to play the landlord game at 19:00 in the evening, and the network was very smooth. At 20:00 in the evening, Xiaohai watched the online video through the smart TV. The smart TV system can not meet the bandwidth demand of the smart TV by detecting the wireless bandwidth provided by the wireless hotspot 2 connected to the smart TV 2, which may result in the inability to watch the smooth network. video. At the same time, the user does not operate the iPad because of watching TV, and the wireless hotspot 1 provides the Internet broadband to the iPad idle. At this time, the smart television system will detect that the smart TV is currently being used, and the wireless hotspot 1 has the fastest network speed, so the smart TV is switched to connect with the wireless hotspot 1. Xiaohai does not worry about Caton in the process of watching the movie, and Xiaohai does not need to manually switch the wireless hotspot connected to the smart TV, not to switch to the home with wireless hotspot 1, wireless hotspot 2, wireless hotspot 3 and wireless hotspot. 4, this not only saves the time for Xiaohai to watch the movie, but Xiaohai eliminates the trouble of finding the network setting operation multiple steps to find the smooth network. Xiaohai can also play games during the advertisement of the movie, without having to re-switch the iPad to the network mode, which greatly improves the user experience.
对应地,如图4所示,提出本发明一种终端切换网络的装置第一实施例。该实施例的终端切换网络的装置包括:Correspondingly, as shown in FIG. 4, a first embodiment of a device for switching a network of a terminal according to the present invention is proposed. The device for switching the network of the terminal in this embodiment includes:
获取模块100,用于获取正在使用的终端及无线热点;The obtaining module 100 is configured to acquire a terminal and a wireless hotspot that are being used;
本实施例中,终端的类型可根据实际需要进行设置,例如,终端可包括智能电视、手机、iPad、电脑等。可以理解的是,每个终端都有自身的唯一标识。以下将以智能电视为例进行详细说明,该智能电视与手机、iPad、电脑等终端通过网络连接在一起实现互联,以便该智能电视系统在上电启动后可由获取模块100获取与其连接的终端的唯一标识或者名称,以及无线热点得名称,并进行存储。In this embodiment, the type of the terminal may be set according to actual needs. For example, the terminal may include a smart TV, a mobile phone, an iPad, a computer, and the like. It can be understood that each terminal has its own unique identifier. The following is a detailed description of a smart TV, which is connected to a terminal such as a mobile phone, an iPad, or a computer through a network, so that the smart TV system can obtain the terminal connected thereto by the acquiring module 100 after the power-on system is powered on. A unique identifier or name, as well as the name of the wireless hotspot, and stored.
首先,智能电视开机后获取模块100将侦测与其互联的正在使用的终端,进一步地,如图5所示,上述获取模块100可包括:First, after the smart TV is powered on, the acquiring module 100 detects the terminal that is being used for interconnection. Further, as shown in FIG. 5, the obtaining module 100 may include:
获取单元110,用于获取终端的陀螺仪的方位角值、仰俯值及滚转值;The obtaining unit 110 is configured to acquire an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
确定单元120,用于当所述终端的方位角值、仰俯值及滚转值不全为零时,确定所述终端正在使用。The determining unit 120 is configured to determine that the terminal is in use when the azimuth value, the tilt value, and the roll value of the terminal are not all zero.
在判断终端是否正在使用的过程中,智能电视系统将上述所存储的与其联接的终端,按照终端的唯一标识或名称,由获取单元110获取每个终端的陀螺仪Z轴、X轴及Y轴的值,并分别根据唯一标识对应缓冲到存储区55,存储区66,存储区77,其中,陀螺仪的Z轴、X轴及Y轴的值分别表示陀螺仪的方位角值、仰俯值及滚转值。然后由确定单元120分别判断每个终端的方位角值、仰俯值及滚转值是否都等于0,这里可用旋转触发算法将方位角值、仰俯值及滚转值三者进行或运算。如果运算结果为0,表示该终端没有用户在使用。如果运算结果不为0,表示该终端正在使用,将正在使用的该终端名称或者唯一标识保存到存储区44中。当然,判断终端是否正在使用也可通过其他方式进行判断,并不限定本发明。需要说明的是,判断智能电视是否正在使用,可通过其对于的智能遥控器的陀螺仪进行判断。假设智能遥控器、iPad运算结果的值大于0如下所示:In the process of judging whether the terminal is in use, the smart television system acquires the gyro Z axis, the X axis and the Y axis of each terminal by the obtaining unit 110 according to the stored terminal connected thereto according to the unique identifier or name of the terminal. The values are respectively buffered according to the unique identifier to the storage area 55, the storage area 66, and the storage area 77, wherein the values of the Z-axis, the X-axis, and the Y-axis of the gyroscope respectively indicate the azimuth value and the elevation value of the gyroscope. And roll value. Then, the determining unit 120 determines whether the azimuth value, the tilt value, and the roll value of each terminal are both equal to 0. Here, the rotation trigger algorithm may be used to perform the OR operation on the azimuth value, the pitch value, and the roll value. If the operation result is 0, it means that the terminal is not in use by the user. If the result of the operation is not 0, it indicates that the terminal is in use, and the terminal name or unique identifier being used is saved in the storage area 44. Of course, it can be judged by other means whether the terminal is being used or not, and the present invention is not limited. It should be noted that judging whether the smart TV is in use or not can be judged by the gyroscope of the smart remote controller for it. Assume that the value of the smart remote control and iPad operation result is greater than 0 as follows:
Dec1_azimuth(x1)=0x00Dec1_azimuth(x1)=0x00
//终端iPad陀螺仪方位角值为0。// The terminal iPad gyroscope has an azimuth value of 0.
Dec1_pitch(x1)=0x30Dec1_pitch(x1)=0x30
//终端iPad陀螺仪仰俯值为0x30。// The terminal iPad gyroscope has a tilt value of 0x30.
Dec1_roll(x1)=0x02Dec1_roll(x1)=0x02
//终端iPad陀螺仪滾转值为0x02。// The terminal iPad gyroscope rollback value is 0x02.
Gyroscope_mov(x1)=|Dec1_azimuth|Dec1_pitch(x1)|Dec1_roll(x1)|Gyroscope_mov(x1)=|Dec1_azimuth|Dec1_pitch(x1)|Dec1_roll(x1)|
//数值0x32不为0,终端iPad陀螺仪设备触发偏向旋转。//The value 0x32 is not 0, and the terminal iPad gyroscope device triggers the bias rotation.
Dec2_azimuth(x1)=0x00Dec2_azimuth(x1)=0x00
//终端RemoteTV陀螺仪方位角值为0。// The terminal RemoteTV gyroscope has an azimuth value of zero.
Dec2_pitch(x1)=0x30Dec2_pitch(x1)=0x30
//终端RemoteTV陀螺仪仰俯值为0x130。// The terminal RemoteTV gyroscope has a tilt value of 0x130.
Dec2_roll(x1)=0x02Dec2_roll(x1)=0x02
//终端RemoteTV陀螺仪滾转值为0x02。/ / Terminal RemoteTV gyroscope roll value is 0x02.
Gyroscope_mov(x1)=|Dec2_azimuth|Dec2_pitch(x1)|Dec2_roll(x1)|Gyroscope_mov(x1)=|Dec2_azimuth|Dec2_pitch(x1)|Dec2_roll(x1)|
//数值0x132不为0,终端RemoteTV陀螺仪设备触发偏向旋转。//The value 0x132 is not 0, and the terminal RemoteTV gyro device triggers the bias rotation.
当存在正在使用的终端时,根据正在使用的终端的唯一标识或者名称,保存到存储区11中。例如,得到RemoteTV、iPad、Phone1及Phone2等。以及获取模块100检测无线热点,将各个无线热点的名称保存在存储区22中。例如,得到AP1_WL1、AP2_WL2、AP3_WL3、AP4_WL4等。When there is a terminal in use, it is saved in the storage area 11 according to the unique identification or name of the terminal being used. For example, get RemoteTV, iPad, Phone1, Phone2, etc. And the obtaining module 100 detects the wireless hotspot and saves the name of each wireless hotspot in the storage area 22. For example, AP1_WL1, AP2_WL2, AP3_WL3, AP4_WL4, and the like are obtained.
连接模块200,用于根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接。The connection module 200 is configured to perform corresponding connection with the network speed of the wireless hotspot from the highest to the smallest according to the bandwidth demand of the terminal being used.
当获取模块100得到正在使用的终端及无线热点后,对正在使用的终端及无线热点进行分析处理,进一步地,上述连接模块200还用于,获取正在使用的终端的个数及无线热点的个数;当正在使用的终端的个数小于或等于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;After the obtaining module 100 obtains the terminal and the wireless hotspot that is being used, the terminal and the wireless hotspot are used for analysis and processing. Further, the connecting module 200 is further configured to acquire the number of the terminal being used and the wireless hotspot. When the number of terminals in use is less than or equal to the number of wireless hotspots, the network speed of the wireless hotspots is ranked from highest to lowest according to the bandwidth demand of the terminal being used. Make a corresponding connection;
当正在使用的终端的个数大于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接后,重复将剩下的正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接,直至完成所有正在使用的终端与无线热点的连接;或者,When the number of terminals in use is greater than the number of wireless hotspots, according to the demand of the terminal in use, the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
获取各个无线热点之间的网速比值,并以所述网速比值为基准,将正在使用的所述终端按照对带宽的需求进行组合,构建与所述无线热点的个数相同的组合终端,得到组合终端的带宽需求比值,根据所述网速比值与带宽需求比值将所述组合终端与所述无线热点进行对应连接。Obtaining a network speed ratio between each wireless hotspot, and combining the terminal in use according to the bandwidth requirement on the basis of the network speed ratio, and constructing a combined terminal with the same number of the wireless hotspots, Obtaining a bandwidth demand ratio of the combined terminal, and correspondingly connecting the combined terminal to the wireless hotspot according to the network speed ratio and the bandwidth demand ratio.
具体地,当获取模块100得到正在使用的终端后,智能电视系统调用连接模块200计算存储区11中的正在使用的终端的个数,当不存在正在使用的终端时,则不需要进一步处理。然后计算存储区22中无线热点的个数,连接模块200根据得到无线热点的个数启动对应个数的P2SP(Peer to Server&Peer ,点对服务器和点(用户对服务器和用户))获取每个无线热点的网速,并将每个P2SP得到的网速大小与对应无线热点的名称保存在存储区22中。假设得到AP1_WL1、AP2_WL2、AP3_WL3、AP4_WL4等4个无线热点及其网速如下所示:Specifically, when the obtaining module 100 obtains the terminal being used, the smart television system calls the connection module 200 to calculate the number of terminals in use in the storage area 11, and when there is no terminal in use, no further processing is required. Then, the number of wireless hotspots in the storage area 22 is calculated, and the connection module 200 starts a corresponding number of P2SPs according to the number of wireless hotspots obtained (Peer). To Server&Peer Point-to-server and point (user-to-server and user)) obtain the network speed of each wireless hotspot, and save the network speed size obtained by each P2SP and the name of the corresponding wireless hotspot in the storage area 22. Assume that four wireless hotspots such as AP1_WL1, AP2_WL2, AP3_WL3, and AP4_WL4 and their network speeds are as follows:
AP1_WL1_Speed_P2SP(x)=0x4FFFFAP1_WL1_Speed_P2SP(x)=0x4FFFF
//无线热点AP1_WL1,单位ms,下载字节数值为0x4FFFF。//Wireless hotspot AP1_WL1, in ms, the download byte value is 0x4FFFF.
AP2_WL2_Speed_P2SP(x)=0x7FFFFAP2_WL2_Speed_P2SP(x)=0x7FFFF
//无线热点AP2_WL2,单位ms,下载字节数值为0x7FFFF。//Wireless hotspot AP2_WL2, in ms, the download byte value is 0x7FFFF.
AP3_WL3_Speed_P2SP(x)=0x2FFFFAP3_WL3_Speed_P2SP(x)=0x2FFFF
//无线热点AP3_WL3,单位ms,下载字节数值为0x2FFFF。//Wireless hotspot AP3_WL3, unit ms, the download byte value is 0x2FFFF.
AP4_WL4_Speed_P2SP(x)=0x1FFFFAP4_WL4_Speed_P2SP(x)=0x1FFFF
//无线热点AP4_WL4,单位ms,下载字节数值为0x1FFFF。//Wireless hotspot AP4_WL4, in ms, the download byte value is 0x1FFFF.
在上述得到存在正在使用的终端和无线热点后,若存储区22中无线热点得个数大于1个,连接模块200还用于,在启动P2SP获取每个无线热点的网速后,对得到的每个无线热点的网速从大到小进行排序,并按顺序保存在存储区中。若存储区11中正在使用的终端的个数大于1个,则连接模块200还用于,将正在使用的终端按照屏幕参数从大到小进行排序,将该排序作为正在使用的终端对带宽的需求从高到低的排序,并按顺序保存在存储区中,该屏幕参数可包括屏幕尺寸、屏幕分辨率等参数。关于终端对带宽需求的判断可根据具体情况而灵活设置,例如,可根据终端的屏幕尺寸来进行排序,屏幕尺寸越大,其要求的网速越大,由此可知智能电视的带宽需求比手机的带宽需求高。同时,连接模块200将存储区11中在正在使用的终端得个数与存储区22中无线热点的个数进行比较,当正在使用的终端的个数小于或等于无线热点的个数时,连接模块200根据获取到的正在使用的终端的个数,选取排序前列中相同个数的无线热点分别存储在不同的存储区中,并根据根据正在使用的终端对带宽需求从高到低依次与选取的无线热点的网速从大到小的排序进行对应连接。After obtaining the terminal and the wireless hotspot that are in use, if the number of wireless hotspots in the storage area 22 is greater than one, the connection module 200 is further configured to: after starting the P2SP to obtain the network speed of each wireless hotspot, the obtained The network speed of each wireless hotspot is sorted from large to small and stored in the storage area in order. If the number of terminals in the storage area 11 is greater than one, the connection module 200 is further configured to sort the terminals in use according to screen parameters from large to small, and use the order as the terminal-to-bandwidth used. The order is sorted from high to low and stored in the storage area in order. The screen parameters may include parameters such as screen size and screen resolution. The judgment about the bandwidth requirement of the terminal can be flexibly set according to the specific situation. For example, the terminal can be sorted according to the screen size of the terminal. The larger the screen size, the larger the network speed required, and thus the bandwidth demand of the smart TV is better than that of the mobile phone. The bandwidth requirements are high. At the same time, the connection module 200 compares the number of terminals in the storage area 11 with the number of wireless hotspots in the storage area 22, and when the number of terminals in use is less than or equal to the number of wireless hotspots, the connection is performed. The module 200 selects the same number of wireless hotspots in the pre-sorting column to be stored in different storage areas according to the obtained number of terminals in use, and selects and selects the bandwidth requirements from high to low according to the terminal according to the terminal being used. The wireless hotspots of the wireless hotspots are connected in order from large to small.
以下进行举例说明,假设当前智能电视及iPad正在使用,得到正在使用的终端的个数为2,得到的无线热点为AP1_WL1、AP2_WL2、AP3_WL3及AP4_WL4总共4个,智能电视系统根据各个无线热点的网速进行排序后,取出前两名的无线热点名称,分别存储到存储区33和存储区44中。如下为得到的前两名的无线热点名称及网速大小:The following is an example. Assume that the current smart TV and iPad are being used, and the number of terminals that are being used is 2, and the obtained wireless hotspots are 4 AP1_WL1, AP2_WL2, AP3_WL3, and AP4_WL4, and the smart TV system is based on the network of each wireless hotspot. After the speed is sorted, the first two wireless hotspot names are taken out and stored in the storage area 33 and the storage area 44, respectively. The following are the top two wireless hotspot names and network speeds:
AP_MaxSpeed1_P2SP(x) =AP2_WL2_Speed_P2PSP(x)AP_MaxSpeed1_P2SP(x) =AP2_WL2_Speed_P2PSP(x)
//排序最大的网络设定值,无线热点AP2_WL2,单位ms,下载字节数值为0x7FFFF。/ / Sort the largest network settings, wireless hotspot AP2_WL2, unit ms, the download byte value is 0x7FFFF.
AP_MaxSpeed2_P2SP(x) =AP1_WL1_Speed_P2SP(x)=0x4FFFFAP_MaxSpeed2_P2SP(x) =AP1_WL1_Speed_P2SP(x)=0x4FFFF
//排序次大的网络设定值,无线热点AP1_WL1,单位ms,下载字节数值为0x4FFFF。// Sort the next largest network setting, wireless hotspot AP1_WL1, unit ms, download byte value is 0x4FFFF.
对智能电视及iPad各自对带宽的需求判断,得到智能电视对带宽的需求大于iPad对带宽的需求,智能电视系统将存储区33中带宽最宽的无线热点与智能电视连接,将存储区44中的无线热点连接到iPad,如下所示:Judging the demand for bandwidth of smart TVs and iPads, the demand for bandwidth of smart TVs is greater than the bandwidth demand of iPads. The smart TV system connects the wireless hotspot with the widest bandwidth in storage area 33 with smart TVs, and stores them in storage area 44. The wireless hotspot is connected to the iPad as follows:
AP2_WL2_Device(x1)=RemoteTVAP2_WL2_Device(x1)=RemoteTV
//最大的网速设定值为AP2_WL2,当前遥控器的陀螺仪在偏转,连接到热点AP2_WL2。// The maximum network speed setting is AP2_WL2. The current remote's gyroscope is deflected and connected to the hotspot AP2_WL2.
AP1_WL1_Device(x1)=PADAP1_WL1_Device(x1)=PAD
//最大的网速设定值为AP1_WL1,当前iPad的陀螺仪在偏转,连接到热点AP1_WL1。//The maximum network speed setting is AP1_WL1. The current iPad's gyroscope is deflected and connected to the hotspot AP1_WL1.
当正在使用的终端的个数大于无线热点的个数时,正在使用的终端不能与无线热点一对一连接。连接模块200根据正在使用的终端对带宽的需求分配与其连接的无线热点,方式一:可按照上述方法将无线热点按照网速从大到小进行排序,以及将正在使用的终端按照对带宽的需求从高到低进行排序,然后选取排序前列中与无线热点个数相同的正在使用的终端分别存储在不同的存储区中,并根据无线热点的网速从大到小的排序依次与选取的正在使用的终端对带宽需求从高到低进行对应连接。将剩下的正在使用的终端按照同样的方法,再从选取排序前列中与无线热点个数相同的正在使用的终端分别存储在不同的存储区中,并根据无线热点的网速从大到小的排序依次与选取的正在使用的终端对带宽需求从高到低进行对应连接。依次类推,重复执行,直至完成所有正在使用的终端与无线热点的连接。假设得到正在使用的终端为智能电视、iPad、手机1及手机2,总共4个,且对带宽的需求从高到低为智能电视>iPad>手机1>手机2。得到无线热点为无线热点A和无线热点B,总共2个,且无线热点A的网速大于无线热点B的网速。此时,按照该方法可将排列在前两名的智能电视与iPad,分别依次与无线热点A与无线热点B连接。然后再将剩下的手机1及手机2按照对带宽的需求从高到低的排序依次与无线热点A与无线热点B连接。方式二:获取各个无线热点之间的网速比值,并以该无线热的点网速比值为基准,将正在使用的终端按照对带宽的需求进行组合,构建与无线热点个数相同的组合终端,使得组合终端的宽带要求的比值近似于热点网速的比值,得到组合终端的带宽需求比值。根据网速比值与带宽需求比值的对应关系将组合终端与无线热点进行对应连接。假设得到正在使用的终端为智能电视、iPad、手机1及手机2,总共4个,得到无线热点为无线热点A和无线热点B,总共2个,且无线热点A的网速与无线热点B的网速之间的比值为1:2。此时,将智能电视、iPad、手机1及手机2按照对带宽的需求进行组合,得到智能电视与手机1组合的带宽需求:iPad与手机2组合的带宽需求为2:1。因此,按照该方法可将智能电视、手机1与无线热点B连接,将iPad、手机2与无线热点A连接。可以理解的是,无线热点仅为1个,则无法分配多余的无线热点,所有正在使用的终端可直接与该无线热点进行连接。需要说明的是,上述正在使用的终端与无线热点的连接方式仅为具体实施方式的枚举,本领域技术人员提出的其它正在使用的终端与无线热点的连接方式,均在本发明的保护范围内。When the number of terminals in use is greater than the number of wireless hotspots, the terminal being used cannot be connected one-to-one with the wireless hotspot. The connection module 200 allocates the wireless hotspots connected thereto according to the bandwidth requirement of the terminal being used. In the first method, the wireless hotspots can be sorted according to the network speed according to the above method, and the terminal in use is required according to the bandwidth. Sorting from high to low, and then selecting the used terminals in the same sorting column as the number of wireless hotspots are stored in different storage areas, and sorting according to the network speed of the wireless hotspots from the largest to the smallest. The terminal used is connected to the bandwidth demand from high to low. According to the same method, the remaining terminals that are in use are stored in different storage areas from the selected terminals in the same sorting order as the wireless hotspots, and the network speeds according to the wireless hotspots are from large to small. The ordering is in turn connected to the selected terminal in use for bandwidth requirements from high to low. And so on, repeat the execution until all the terminals in use are connected to the wireless hotspot. Assume that the terminals that are being used are smart TV, iPad, mobile phone 1 and mobile phone 2, a total of four, and the demand for bandwidth from high to low is Smart TV>iPad>Mobile Phone 1>Mobile Phone 2. The wireless hotspots are wireless hotspot A and wireless hotspot B, and a total of two, and the wireless hotspot A has a network speed greater than the wireless hotspot B's network speed. At this time, according to the method, the smart TV and the iPad arranged in the top two can be connected to the wireless hotspot A and the wireless hotspot B in sequence. Then, the remaining mobile phones 1 and 2 are connected to the wireless hotspot A and the wireless hotspot B in order of high to low bandwidth requirements. Manner 2: Obtain a network speed ratio between each wireless hotspot, and combine the bandwidth of the wireless hot point network with the bandwidth requirement of the wireless hot point, and combine the bandwidth requirements to construct a combined terminal with the same number of wireless hotspots. Therefore, the ratio of the bandwidth requirement of the combined terminal is approximated to the ratio of the hotspot network speed, and the bandwidth demand ratio of the combined terminal is obtained. The combined terminal and the wireless hotspot are correspondingly connected according to the correspondence between the network speed ratio and the bandwidth demand ratio. Assume that the terminals that are being used are smart TV, iPad, mobile phone 1 and mobile phone 2, a total of four, and the wireless hotspots are wireless hotspot A and wireless hotspot B, a total of two, and the wireless hotspot A's network speed and wireless hotspot B The ratio between the network speeds is 1:2. At this time, smart TV, iPad, mobile phone 1 and mobile phone 2 are combined according to the demand for bandwidth, and the bandwidth requirement of the combination of smart TV and mobile phone 1 is obtained: the bandwidth requirement of the combination of iPad and mobile phone 2 is 2:1. Therefore, according to the method, the smart TV, the mobile phone 1 and the wireless hotspot B can be connected, and the iPad and the mobile phone 2 can be connected to the wireless hotspot A. It can be understood that if there are only one wireless hotspot, it is impossible to allocate redundant wireless hotspots, and all the terminals in use can directly connect with the wireless hotspot. It should be noted that the connection manner between the terminal and the wireless hotspot used in the above is only an enumeration of the specific implementation manner, and other connection modes of the terminal and the wireless hotspot proposed by those skilled in the art are all in the protection scope of the present invention. Inside.
进一步地,本实施例中,正在使用的终端与无线热点连接之后,在智能电视的显示屏上可显示在正在使用的终端名称与其对应连接的无线热点的名称,以便用户了解各个正在使用的终端的联网情况。例如,显示“智能电视与AP2_WL2连接,iPad与AP1_WL1连接”,也可以以列表的形式进行显示,也可以是进行语音播报各个正在使用的终端的联网情况,并不限定本发明。Further, in this embodiment, after the terminal being used is connected to the wireless hotspot, the name of the wireless hotspot connected to the terminal name being used may be displayed on the display screen of the smart television, so that the user knows each terminal being used. Networking situation. For example, the display "the smart TV is connected to the AP2_WL2, and the iPad is connected to the AP1_WL1" may be displayed in the form of a list, or may be a voice broadcast of the networking of each terminal being used, and does not limit the present invention.
本发明实施例通过检测正在使用的终端及无线热点后,根据正在使用的终端对带宽要求从高到低依次与无线热点的网速从大到小的排序进行对应连接,实现了根据终端对网络的需求自动切换无线热点。After detecting the terminal and the wireless hotspot being used, the embodiment of the present invention performs corresponding connection according to the order of the bandwidth of the wireless terminal from the highest to the lowest according to the bandwidth requirement of the terminal being used, and implements the network according to the terminal to the network. The demand automatically switches wireless hotspots.
进一步地,如图6所示,基于上述实施例,本实施例中,上述终端切换网络的装置还包括:Further, as shown in FIG. 6 , in the embodiment, the apparatus for switching the network by the terminal further includes:
切换模块300,用于在接收到切换指令时,或者每隔预设时间重新获取正在使用的终端及无线热点,根据重新得到的正在使用的终端对带宽需求切换与无线热点的连接。The switching module 300 is configured to re-acquire the terminal and the wireless hotspot that are being used when receiving the switching instruction, or at a preset time, and switch the connection with the wireless hotspot according to the bandwidth requirement of the retrieved terminal.
本实施例中,用户可以通过智能遥控器上预置的按键向智能电视发送无线热点连接的切换指令,智能电视调用切换模块300在接收到切换指令时,重新获取正在使用的终端及无线热点,并按照上述方法分别获取正在使用的终端及无线热点的个数后,根据正在使用的终端对带宽需求切换正在使用的终端与无线热点的连接。或者,切换模块300每隔预设时间重新获取正在使用的终端及无线热点,并按照上述方法分别获取正在使用的终端及无线热点的个数后,根据正在使用的终端对带宽需求切换正在使用的终端与无线热点的连接。该预设时间可设置为1秒或者2秒,也可根据具体情况而灵活设置。In this embodiment, the user can send a switching instruction of the wireless hotspot connection to the smart TV through the preset button on the smart remote controller, and the smart TV calling switching module 300 reacquires the terminal and the wireless hotspot that are being used when receiving the switching instruction. After obtaining the number of terminals and wireless hotspots that are being used, according to the foregoing method, the connection between the terminal being used and the wireless hotspot is switched according to the bandwidth requirement of the terminal being used. Alternatively, the switching module 300 reacquires the terminal and the wireless hotspot that are being used every preset time, and obtains the number of the terminal and the wireless hotspot that are being used according to the foregoing method, and then switches the bandwidth demand according to the terminal being used. The connection between the terminal and the wireless hotspot. The preset time can be set to 1 second or 2 seconds, or it can be flexibly set according to the specific situation.
本方案可应用的场景包括:假设小海家有多个无线热点,智能电视、手机、iPad等终端都连接在一起实现互联,无线热点1连接iPad,无线热点2连接智能电视,无线热点3连接手机。小海在晚上19:00使用iPad玩斗地主游戏,此时网络很流畅。到了晚上20:00小海通过智能电视看网络影片,智能电视系统通过检测连接智能电视的无线热点2提供给智能电视的网络带宽不能满足智能电视的对带宽的需求,可能会造成无法观看流畅的网络视频。与此同时,用户因看电视没有操作iPad,无线热点1提供给iPad的网络宽带闲置。此时,智能电视系统将检测到当前正在使用智能电视,以及无线热点1的网速是最快的,于是将智能电视切换到与无线热点1连接。小海在看影片的过程中就不要担心卡顿的问题,且小海不需要手动去切换连接智能电视的无线热点,更不用都去切换家里有无线热点1、无线热点2、无线热点3及无线热点4,这样不仅节约了小海看影片的时间,而且小海免去了找到网络设置操作多个步骤设定才能找到通畅的网络端的麻烦。小海还可以在看影片的广告期间去玩游戏,而不需要重新在将iPad的切换到网络不卡顿的模式,大大提高了用户体验。The scenarios applicable to this solution include: Assume that Xiaohai has multiple wireless hotspots, and smart TV, mobile phone, iPad and other terminals are connected to achieve interconnection, wireless hotspot 1 is connected to iPad, wireless hotspot 2 is connected to smart TV, wireless hotspot 3 is connected to mobile phone. . Xiaohai used the iPad to play the landlord game at 19:00 in the evening, and the network was very smooth. At 20:00 in the evening, Xiaohai watched the online video through the smart TV. The smart TV system can not meet the bandwidth demand of the smart TV by detecting the wireless bandwidth provided by the wireless hotspot 2 connected to the smart TV 2, which may result in the inability to watch the smooth network. video. At the same time, the user does not operate the iPad because of watching TV, and the wireless hotspot 1 provides the Internet broadband to the iPad idle. At this time, the smart television system will detect that the smart TV is currently being used, and the wireless hotspot 1 has the fastest network speed, so the smart TV is switched to connect with the wireless hotspot 1. Xiaohai does not worry about Caton in the process of watching the movie, and Xiaohai does not need to manually switch the wireless hotspot connected to the smart TV, not to switch to the home with wireless hotspot 1, wireless hotspot 2, wireless hotspot 3 and wireless hotspot. 4, this not only saves the time for Xiaohai to watch the movie, but Xiaohai eliminates the trouble of finding the network setting operation multiple steps to find the smooth network. Xiaohai can also play games during the advertisement of the movie, without having to re-switch the iPad to the network mode, which greatly improves the user experience.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (14)

  1. 一种终端切换网络的方法,其特征在于,所述终端切换网络的方法包括以下步骤: A method for a terminal to switch a network, wherein the method for the terminal to switch networks includes the following steps:
    获取终端的陀螺仪的方位角值、仰俯值及滚转值;Obtaining an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
    当所述终端的方位角值、仰俯值及滚转值不全为零时,确定所述终端正在使用;Determining that the terminal is in use when the azimuth value, the elevation value, and the roll value of the terminal are not all zero;
    根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;Correspondingly connecting the network speeds of the wireless hotspots from large to small according to the bandwidth demand of the terminal being used;
    在接收到切换指令时,或者每隔预设时间重新获取正在使用的终端及无线热点,根据重新得到的正在使用的终端对带宽需求切换与无线热点的连接。When receiving the handover instruction, or re-acquiring the terminal and the wireless hotspot in use every preset time, the connection with the wireless hotspot is switched according to the bandwidth requirement of the retrieved terminal.
  2. 如权利要求1所述的终端切换网络的方法,其特征在于,所述根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接包括:The method for switching a network of a terminal according to claim 1, wherein the demanding of the bandwidth of the terminal according to the use is performed in descending order from the highest to the lowest of the wireless hotspot. Corresponding connections include:
    获取正在使用的终端的个数及无线热点的个数;Obtain the number of terminals in use and the number of wireless hotspots;
    当正在使用的终端的个数小于或等于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;When the number of terminals in use is less than or equal to the number of wireless hotspots, the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
    当正在使用的终端的个数大于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接后,重复将剩下的正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接,直至完成所有正在使用的终端与无线热点的连接;或者,When the number of terminals in use is greater than the number of wireless hotspots, according to the demand of the terminal in use, the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
    获取各个无线热点之间的网速比值,并以所述网速比值为基准,将正在使用的所述终端按照对带宽的需求进行组合,构建与所述无线热点的个数相同的组合终端,得到组合终端的带宽需求比值,根据所述网速比值与带宽需求比值将所述组合终端与所述无线热点进行对应连接。Obtaining a network speed ratio between each wireless hotspot, and combining the terminal in use according to the bandwidth requirement on the basis of the network speed ratio, and constructing a combined terminal with the same number of the wireless hotspots, Obtaining a bandwidth demand ratio of the combined terminal, and correspondingly connecting the combined terminal to the wireless hotspot according to the network speed ratio and the bandwidth demand ratio.
  3. 如权利要求2所述的终端切换网络的方法,其特征在于,所述根据正在使用的所述终端对带宽需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接包括:The method for switching a network by a terminal according to claim 2, wherein the step of responding to the bandwidth demand of the wireless hotspot from the highest to the lowest according to the bandwidth demand of the terminal being used corresponds to Connections include:
    将正在使用的所述终端按照屏幕参数从大到小进行排序,将所述排序作为正在使用的所述终端对带宽的需求从高到低的排序。The terminals in use are sorted according to screen parameters from large to small, and the ordering is used as a sorting of the bandwidth demand of the terminal in use from high to low.
  4. 一种终端切换网络的方法,其特征在于,所述终端切换网络的方法包括以下步骤:A method for a terminal to switch a network, wherein the method for the terminal to switch networks includes the following steps:
    获取正在使用的终端及无线热点;Get the terminal and wireless hotspot in use;
    根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接。According to the demand of the terminal in use, the bandwidth is sequentially connected to the order of the network speed of the wireless hotspot from high to low.
  5. 如权利要求4所述的终端切换网络的方法,其特征在于,所述根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接包括:The method for switching a network of a terminal according to claim 4, wherein the order according to the bandwidth of the terminal being used is from high to low, and the network speed of the wireless hotspot is ranked from large to small. Corresponding connections include:
    获取正在使用的终端的个数及无线热点的个数;Obtain the number of terminals in use and the number of wireless hotspots;
    当正在使用的终端的个数小于或等于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;When the number of terminals in use is less than or equal to the number of wireless hotspots, the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
    当正在使用的终端的个数大于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接后,重复将剩下的正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接,直至完成所有正在使用的终端与无线热点的连接;或者,When the number of terminals in use is greater than the number of wireless hotspots, according to the demand of the terminal in use, the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
    获取各个无线热点之间的网速比值,并以所述网速比值为基准,将正在使用的所述终端按照对带宽的需求进行组合,构建与所述无线热点的个数相同的组合终端,得到组合终端的带宽需求比值,根据所述网速比值与带宽需求比值将所述组合终端与所述无线热点进行对应连接。Obtaining a network speed ratio between each wireless hotspot, and combining the terminal in use according to the bandwidth requirement on the basis of the network speed ratio, and constructing a combined terminal with the same number of the wireless hotspots, Obtaining a bandwidth demand ratio of the combined terminal, and correspondingly connecting the combined terminal to the wireless hotspot according to the network speed ratio and the bandwidth demand ratio.
  6. 如权利要求5所述的终端切换网络的方法,其特征在于,所述根据正在使用的所述终端对带宽需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接包括:The method for switching a network by a terminal according to claim 5, wherein the step of responding to the bandwidth demand of the wireless hotspot from the highest to the smallest according to the bandwidth demand of the terminal being used corresponds to the order of the network speed of the wireless hotspot. Connections include:
    将正在使用的所述终端按照屏幕参数从大到小进行排序,将所述排序作为正在使用的所述终端对带宽的需求从高到低的排序。The terminals in use are sorted according to screen parameters from large to small, and the ordering is used as a sorting of the bandwidth demand of the terminal in use from high to low.
  7. 如权利要求4所述的终端切换网络的方法,其特征在于,所述根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接之后包括:The method for switching a network of a terminal according to claim 4, wherein the order according to the bandwidth of the terminal being used is from high to low, and the network speed of the wireless hotspot is ranked from large to small. After the corresponding connection, include:
    在接收到切换指令时,或者每隔预设时间重新获取正在使用的终端及无线热点,根据重新得到的正在使用的终端对带宽需求切换与无线热点的连接。When receiving the handover instruction, or re-acquiring the terminal and the wireless hotspot in use every preset time, the connection with the wireless hotspot is switched according to the bandwidth requirement of the retrieved terminal.
  8. 如权利要求4所述的终端切换网络的方法,其特征在于,所述获取正在使用的终端包括:The method for a terminal to switch a network according to claim 4, wherein the obtaining the terminal being used comprises:
    获取终端的陀螺仪的方位角值、仰俯值及滚转值;Obtaining an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
    当所述终端的方位角值、仰俯值及滚转值不全为零时,确定所述终端正在使用。When the azimuth value, the elevation value, and the roll value of the terminal are not all zero, it is determined that the terminal is in use.
  9. 一种终端切换网络的装置,其特征在于,所述终端切换网络的装置包括:An apparatus for switching a network by a terminal, where the apparatus for switching a network by the terminal includes:
    获取模块,用于获取正在使用的终端及无线热点;An acquisition module, configured to obtain a terminal and a wireless hotspot that are being used;
    连接模块,用于根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接。The connection module is configured to perform corresponding connection with the network speed of the wireless hotspot from the highest to the smallest according to the bandwidth demand of the terminal being used.
  10. 如权利要求9所述的终端切换网络的装置,其特征在于,所述连接模块还用于,获取正在使用的终端的个数及无线热点的个数;The device for switching a network according to claim 9, wherein the connection module is further configured to acquire the number of terminals in use and the number of wireless hotspots;
    当正在使用的终端的个数小于或等于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接;When the number of terminals in use is less than or equal to the number of wireless hotspots, the content of the bandwidth of the wireless hotspot corresponds to the order of the wireless hotspots in descending order according to the bandwidth demand of the terminal being used. connection;
    当正在使用的终端的个数大于无线热点的个数时,根据正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接后,重复将剩下的正在使用的所述终端对带宽的需求从高到低依次与所述无线热点的网速从大到小的排序进行对应连接,直至完成所有正在使用的终端与无线热点的连接;或者,When the number of terminals in use is greater than the number of wireless hotspots, according to the demand of the terminal in use, the bandwidth is sequentially connected to the network speed of the wireless hotspot from high to low. Repeatingly, the remaining bandwidth requirements of the terminal in use are sequentially connected to the order of the network speed of the wireless hotspot from high to low, until all the terminals and wireless hotspots in use are completed. Connect; or,
    获取各个无线热点之间的网速比值,并以所述网速比值为基准,将正在使用的所述终端按照对带宽的需求进行组合,构建与所述无线热点的个数相同的组合终端,得到组合终端的带宽需求比值,根据所述网速比值与带宽需求比值将所述组合终端与所述无线热点进行对应连接。Obtaining a network speed ratio between each wireless hotspot, and combining the terminal in use according to the bandwidth requirement on the basis of the network speed ratio, and constructing a combined terminal with the same number of the wireless hotspots, Obtaining a bandwidth demand ratio of the combined terminal, and correspondingly connecting the combined terminal to the wireless hotspot according to the network speed ratio and the bandwidth demand ratio.
  11. 如权利要求10所述的终端切换网络的装置,其特征在于,所述连接模块还用于,将正在使用的所述终端按照屏幕参数从大到小进行排序,将所述排序作为正在使用的所述终端对带宽的需求从高到低的排序。The device for switching a network according to claim 10, wherein the connection module is further configured to sort the terminal in use according to screen parameters from large to small, and use the sorting as being used. The terminal has a high to low order of bandwidth requirements.
  12. 如权利要求9所述的终端切换网络的装置,其特征在于,所述终端切换网络的装置还包括:The device for switching a network of a terminal according to claim 9, wherein the device for switching the network by the terminal further comprises:
    切换模块,用于在接收到切换指令时,或者每隔预设时间重新获取正在使用的终端及无线热点,根据重新得到的正在使用的终端对带宽需求切换与无线热点的连接。The switching module is configured to re-acquire the terminal and the wireless hotspot that are being used when receiving the switching instruction, or at a preset time, and switch the connection with the wireless hotspot according to the bandwidth requirement of the retrieved terminal.
  13. 如权利要求9所述的终端切换网络的装置,其特征在于,所述获取模块包括:The apparatus for switching a network of a terminal according to claim 9, wherein the obtaining module comprises:
    获取单元,用于获取终端的陀螺仪的方位角值、仰俯值及滚转值;An obtaining unit, configured to acquire an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
    确定单元,用于当所述终端的方位角值、仰俯值及滚转值不全为零时,确定所述终端正在使用。And a determining unit, configured to determine that the terminal is in use when the azimuth value, the tilt value, and the roll value of the terminal are not all zero.
  14. 如权利要求12所述的终端切换网络的装置,其特征在于,所述获取模块包括:The apparatus for switching a network of a terminal according to claim 12, wherein the obtaining module comprises:
    获取单元,用于获取终端的陀螺仪的方位角值、仰俯值及滚转值;An obtaining unit, configured to acquire an azimuth value, a pitch value, and a roll value of the gyroscope of the terminal;
    确定单元,用于当所述终端的方位角值、仰俯值及滚转值不全为零时,确定所述终端正在使用。And a determining unit, configured to determine that the terminal is in use when the azimuth value, the tilt value, and the roll value of the terminal are not all zero.
PCT/CN2016/084542 2015-09-14 2016-06-02 Network switching method and apparatus for terminals WO2017045442A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510583139.8 2015-09-14
CN201510583139.8A CN105120328B (en) 2015-09-14 2015-09-14 The method and device of terminal handover network

Publications (1)

Publication Number Publication Date
WO2017045442A1 true WO2017045442A1 (en) 2017-03-23

Family

ID=54668174

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084542 WO2017045442A1 (en) 2015-09-14 2016-06-02 Network switching method and apparatus for terminals

Country Status (2)

Country Link
CN (1) CN105120328B (en)
WO (1) WO2017045442A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120328B (en) * 2015-09-14 2019-05-10 深圳Tcl数字技术有限公司 The method and device of terminal handover network

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547910A (en) * 2012-02-09 2012-07-04 中国联合网络通信集团有限公司 Method for selecting wireless access point and wireless access point
CN103052115A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Data transmission method, mobile terminal, relay aggregator and related system
CN103052144A (en) * 2012-12-14 2013-04-17 北京思特奇信息技术股份有限公司 System and method of mobile terminal for selecting optimal communication network
CN104244414A (en) * 2013-06-09 2014-12-24 中国移动通信集团广东有限公司 Shared network bandwidth allocation method and device based on terminals and terminals
CN104486839A (en) * 2014-12-12 2015-04-01 广东欧珀移动通信有限公司 Method and system for intelligently connecting Wi-Fi hotspots
US20150092555A1 (en) * 2013-09-30 2015-04-02 Telefonaktiebolaget Lm Ericsson (Publ) Dynamically adjusting wireless station connections in a co-located access point system
CN104504002A (en) * 2014-12-09 2015-04-08 北京极科极客科技有限公司 Intelligent sequencing method of WiFi (Wireless Fidelity) list
CN104768156A (en) * 2015-04-30 2015-07-08 北京奇虎科技有限公司 WiFi connection method and device
CN105120328A (en) * 2015-09-14 2015-12-02 深圳Tcl数字技术有限公司 Method and device for switching network for terminal
CN105228226A (en) * 2014-06-20 2016-01-06 深圳Tcl新技术有限公司 The system of selection of Wi-Fi hotspot and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802232B (en) * 2012-07-25 2015-01-21 华为技术有限公司 Wireless access point accessing method and wireless access point and terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103052115A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Data transmission method, mobile terminal, relay aggregator and related system
CN102547910A (en) * 2012-02-09 2012-07-04 中国联合网络通信集团有限公司 Method for selecting wireless access point and wireless access point
CN103052144A (en) * 2012-12-14 2013-04-17 北京思特奇信息技术股份有限公司 System and method of mobile terminal for selecting optimal communication network
CN104244414A (en) * 2013-06-09 2014-12-24 中国移动通信集团广东有限公司 Shared network bandwidth allocation method and device based on terminals and terminals
US20150092555A1 (en) * 2013-09-30 2015-04-02 Telefonaktiebolaget Lm Ericsson (Publ) Dynamically adjusting wireless station connections in a co-located access point system
CN105228226A (en) * 2014-06-20 2016-01-06 深圳Tcl新技术有限公司 The system of selection of Wi-Fi hotspot and device
CN104504002A (en) * 2014-12-09 2015-04-08 北京极科极客科技有限公司 Intelligent sequencing method of WiFi (Wireless Fidelity) list
CN104486839A (en) * 2014-12-12 2015-04-01 广东欧珀移动通信有限公司 Method and system for intelligently connecting Wi-Fi hotspots
CN104768156A (en) * 2015-04-30 2015-07-08 北京奇虎科技有限公司 WiFi connection method and device
CN105120328A (en) * 2015-09-14 2015-12-02 深圳Tcl数字技术有限公司 Method and device for switching network for terminal

Also Published As

Publication number Publication date
CN105120328A (en) 2015-12-02
CN105120328B (en) 2019-05-10

Similar Documents

Publication Publication Date Title
WO2019114269A1 (en) Method for resuming playing program, television device, and computer readable storage medium
WO2020022762A1 (en) Electronic device for displaying indicator regarding network and method thereof
WO2017201899A1 (en) Method and apparatus for connecting to bluetooth device
WO2016186373A1 (en) Apparatus and method for performing paging process in wireless communication system
WO2016200146A1 (en) Portable device, content reproducing device, and the method thereof
WO2015158132A1 (en) Voice control method and system
WO2017063369A1 (en) Method of establishing wireless direct connection and device utilizing same
WO2015007007A1 (en) Method and device for adc automatic correction
WO2015139639A1 (en) Method and apparatus for displaying application icons on terminal
WO2019051899A1 (en) Terminal control method and device, and storage medium
WO2016043404A1 (en) Multimedia apparatus, and method for processing audio signal thereof
WO2019071762A1 (en) Floor positioning method and system, server and computer-readable storage medium
WO2019051890A1 (en) Terminal control method and device, and computer-readable storage medium
WO2018166224A1 (en) Target tracking display method and apparatus for panoramic video, and storage medium
WO2017111321A1 (en) Image display device
WO2019062194A1 (en) Home appliance and method and system for controling home applicance and computer readable storage medium
WO2017088437A1 (en) Method and device for controlling switching of cameras of terminal by means of smart television
WO2018000856A1 (en) Method implementing sdn overlay network message forwarding, terminal, apparatus, and computer readable storage medium
WO2017185480A1 (en) Multi-screen interaction connection method, device and system
WO2017215116A1 (en) Photographing method and system for smart television
WO2017148028A1 (en) Remote network connection method and system based on smart television
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2017113596A1 (en) Method and system for listen-only control, mobile terminal, and smart television
WO2017161702A1 (en) Method and system indicating washing machine status
WO2018032679A1 (en) Setting method and device for timed startup and shutoff of television

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16845556

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27.07.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16845556

Country of ref document: EP

Kind code of ref document: A1