(19)
(11)EP 3 010 285 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
14.08.2019 Bulletin 2019/33

(21)Application number: 14870020.6

(22)Date of filing:  10.12.2014
(51)Int. Cl.: 
H04W 36/00  (2009.01)
H04W 36/14  (2009.01)
H04W 88/06  (2009.01)
(86)International application number:
PCT/CN2014/093453
(87)International publication number:
WO 2015/085923 (18.06.2015 Gazette  2015/24)

(54)

NETWORK HANDOVER METHOD AND TERMINAL DEVICE

NETZWERKHANDOVERVERFAHREN UND ENDGERÄTEVORRICHTUNG

PROCÉDÉ DE TRANSFERT DE RÉSEAU ET DISPOSITIF TERMINAL


(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

(30)Priority: 10.12.2013 CN 201310671763

(43)Date of publication of application:
20.04.2016 Bulletin 2016/16

(73)Proprietor: Huawei Technologies Co., Ltd.
Longgang District Shenzhen, Guangdong 518129 (CN)

(72)Inventors:
  • WU, Hao
    Shenzhen Guangdong 518129 (CN)
  • HUANG, Kangmin
    Shenzhen Guangdong 518129 (CN)
  • DONG, Mingjie
    Shenzhen Guangdong 518129 (CN)

(74)Representative: Epping - Hermann - Fischer 
Patentanwaltsgesellschaft mbH Schloßschmidstraße 5
80639 München
80639 München (DE)


(56)References cited: : 
EP-A1- 1 622 314
CN-A- 101 237 393
CN-A- 102 137 248
US-A1- 2008 049 755
WO-A1-2010/100315
CN-A- 101 640 895
US-A1- 2003 204 599
US-A1- 2011 255 512
  
      
    Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


    Description

    TECHNICAL FIELD



    [0001] The present invention relates to the field of wireless communications technologies, and in particular, to a network switching method and a terminal device.

    BACKGROUND



    [0002] At present, a wireless mobile communications network in which multiple radio access technologies and standards are complementary provides a ubiquitous information communications service for a user, and a user terminal can be freely switched between multiple different wireless mobile communications networks. In a wireless communications system, when moving from a current network in which the user terminal is located to a target network, the user terminal needs to perform network switching, where the target network refers to a next communications network to which the user terminal moves. In the prior art, after network switching occurs, an application program that is run on the user terminal and needs to perform network communication is run according to a network status of the target network by using a parameter that adapts to the network status. This switching manner usually causes that the application program that is run on the user terminal and needs to perform network communication is not smoothly switched.

    [0003] WO2010100315 (A1) discloses an arrangement for optimizing the perceived quality of service (QoS) relative to a multi-mode mobile terminal device and associated multimedia application running over a packet network, such as audio and/or video streaming application, comprising a network QoS measurer configured to obtain, relative to a plurality of wireless communications networks of different technology capable of supporting packet data transfer for serving the multimedia application, a number of QoS metrics indicative of the network performance of each network, a perceived QoS estimator configured to estimate the current perceived QoS for each network on the basis of the associated QoS metrics obtained indicative of the network performance and said multimedia application, and to suggest whether to stay with the current network or switch into another network providing a higher level of perceived QoS for the multimedia application associated with the multi-mode mobile terminal according to the performed estimation, and a mobility handler for initiating a vertical handover in response to such suggestion by the perceived QoS estimator.

    [0004] US2003204599 (A1) discloses an architecture for providing application context transfer which include access routers, transcoder proxy servers, and gateway routers. A mobile terminal served by a current access router creates an application context for a session and registers it with the current access router. Around the time of handoff, the current access router transfers the application context to a new access router associated with a new administrative domain and a new access network. The new access router evaluates the application context and takes steps to provide application functionality for the mobile terminal and current sessions.

    [0005] US2011255512 (A1) discloses a system and method of controlling transmission of adaptive media over handover performed between heterogeneous networks. When a mobile terminal moves, it detects the necessity of handover between the heterogeneous networks, determines a target network to which it may perform handover, and transmits handover information to an adaptive media server that controls a transmission rate of adaptive media to previously inform about the handover. Then, the adaptive media adjusts a transmission rate of the adaptive media by using the received handover information, and when the mobile terminal performs handover to the target network, it can receive the adaptive media from the adaptive media server.

    SUMMARY



    [0006] Embodiments of the present invention provide a network switching method and a terminal device as defined in the claims, which are used to enable an application program that is run on the terminal device to implement, to some extent, seamless network switching. The invention is defined by the appended set of claims.

    [0007] According to a first aspect, an embodiment of the present invention provides a network switching method, where the method includes: before network switching is performed, acquiring a network resource parameter of a network allowed to be accessed; determining, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to and a network resource parameter of the target network, where the network resource parameter of the target network is used to determine and set a running parameter of an application program that is to be run in the target network; and switching from a current network to the target network, and starting or continuing running the application program in the target network.

    [0008] With reference to the first aspect, in a first implementation manner, before the switching from a current network to the target network, the method further includes: determining and setting, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network, and running the application program; and after switching from the current network to the target network, continuing running the application program in the target network.

    [0009] With reference to the first aspect or a first implementation manner of the first aspect, in a second implementation manner, the running parameter of the application program includes resolution, and the determining and setting, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network includes: determining and setting, according to the network resource parameter of the target network, the resolution of the application program that is to be run in the target network, where the application program includes a video type application that uses network communications.

    [0010] With reference to the first aspect or a first implementation manner of the first aspect, in a third implementation manner, the running parameter of the application program includes a heartbeat period, and the determining and setting, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network includes: determining and setting, according to the network resource parameter of the target network, the heartbeat period of the application program that is to be run in the target network.

    [0011] With reference to the first aspect or a first implementation manner of the first aspect, in a fourth implementation manner, the network resource parameter includes network quality, bandwidth, or a network charge rate, and the determining and setting, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network includes: determining and setting, according to the network quality of the target network, the running parameter of the application program that is to be run in the target network; or determining and setting, according to the bandwidth of the target network, the running parameter of the application program that is to be run in the target network; or determining and setting, according to the network charge rate of the target network, the running parameter of the application program that is to be run in the target network.

    [0012] With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, or the fourth implementation manner of the first aspect, in a fifth implementation manner, the method further includes: establishing a network connection between the application program and a network server in the target network.

    [0013] With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, or the fifth implementation manner of the first aspect, in a sixth implementation manner, the acquiring a network resource parameter of a network allowed to be accessed includes: self-detecting and acquiring the network resource parameter of the network allowed to be accessed; or receiving the network resource parameter that is of the network allowed to be accessed and is sent by a network management device; or receiving the network resource parameter that is of the network allowed to be accessed and is sent by a terminal device of a communication peer.

    [0014] With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, the fifth implementation manner of the first aspect, or the sixth implementation manner of the first aspect, in a seventh implementation manner, the determining, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to includes: the network resource parameter includes bandwidth, a network charge rate, or network stability; determining, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; or determining, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or determining, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to.

    [0015] According to a second aspect, an embodiment of the present invention provides a switching notifying method, where the method includes: before network switching, acquiring a network resource parameter of a network allowed to be accessed; determining, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to; sending a network resource parameter of the target network to a specified terminal device, so that the specified terminal device determines, according to the network resource parameter, a running parameter of an application program that is run on the terminal device; and switching from current network to the target network. With reference to the second aspect, in a first implementation manner, the acquiring a network resource parameter of a network allowed to be accessed includes: self-detecting and acquiring the network resource parameter of the network allowed to be accessed; or receiving the network resource parameter that is of the network allowed to be accessed and is sent by a network management device.

    [0016] With reference to the second aspect or the first implementation manner of the second aspect, in a second implementation manner, the determining, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to includes: the network resource parameter includes bandwidth, a network charge rate, or network stability;
    determining, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; or determining, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or determining, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to.

    [0017] According to a third aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes: an acquiring unit, configured to: before network switching is performed, acquire a network resource parameter of a network allowed to be accessed; a determining unit, configured to determine, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to and a network resource parameter of the target network, where the network resource parameter of the target network is used to determine and set a running parameter of an application program that is to be run in the target network; and a switching unit, configured to switch from a current network to the target network; and a running unit, configured to start or continue running the application program in the target network.

    [0018] With reference to the third aspect, in a first implementation manner, before switching from the current network to the target network, the determining unit is further configured to determine and set, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network; and the running unit is specifically configured to run the application program; and after switching from the current network to the target network, the running unit is specifically configured to continue running the application program in the target network.

    [0019] With reference to the third aspect or the first implementation manner of the third aspect, in a second implementation manner, the running parameter of the application program includes resolution, and the determining unit is specifically configured to determine and set, according to the network resource parameter of the target network, the resolution of the application program that is to be run in the target network, where the application program includes a video type application that uses network communications.

    [0020] With reference to the third aspect or the first implementation manner of the third aspect, in a third implementation manner, the running parameter of the application program includes a heartbeat period, and the determining unit is specifically configured to determine and set, according to the network resource parameter of the target network, the heartbeat period of the application program that is to be run in the target network.

    [0021] With reference to the third aspect or the first implementation manner of the third aspect, in a fourth implementation manner, the network resource parameter includes network quality, bandwidth, or a network charge rate, and the determining unit is specifically configured to determine and set, according to the network quality of the target network, the running parameter of the application program that is to be run in the target network; or the determining unit is specifically configured to determine and set, according to the bandwidth of the target network, the running parameter of the application program that is to be run in the target network; or the determining unit is specifically configured to determine and set, according to the network charge rate of the target network, the running parameter of the application program that is to be run in the target network.

    [0022] With reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, or the fourth implementation manner of the third aspect, in a fifth implementation manner, the terminal device further includes a connecting unit, where the connecting unit is configured to establish a network connection between the application program and a network server in the target network.

    [0023] With reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, the fourth implementation manner of the third aspect, or the fifth implementation manner of the third aspect, in a sixth implementation manner, the acquiring unit is specifically configured to self-detect and acquire the network resource parameter of the network allowed to be accessed; or the acquiring unit is specifically configured to receive the network resource parameter that is of the network allowed to be accessed and is sent by a network management device; or the acquiring unit is specifically configured to receive the network resource parameter that is of the network allowed to be accessed and is sent by a terminal device.

    [0024] With reference to the third aspect, the first implementation manner of the third aspect, the second implementation manner of the third aspect, the third implementation manner of the third aspect, the fourth implementation manner of the third aspect, or the fifth implementation manner of the third aspect, or the sixth implementation manner of the third aspect, in a seventh implementation manner, the network resource parameter includes bandwidth, a network charge rate, or network stability, and the determining unit is specifically configured to determine, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; or the determining unit is specifically configured to determine, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or the determining unit is specifically configured to determine, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to. According to a fourth aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes: an acquiring unit, configured to acquire a network resource parameter of a network allowed to be accessed; a determining unit, configured to determine, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to; a sending unit, configured to send a network resource parameter of the target network to a terminal device, so that the terminal device determines, according to the network resource parameter, a running parameter of an application program that is run on the terminal device; and a switching unit, configured to switch from a current network to the target network. With reference to the fourth aspect, in a first implementation manner, the acquiring unit is specifically configured to self-detect and acquire the network resource parameter of the network allowed to be accessed; or the acquiring unit is specifically configured to receive the network resource parameter that is of the network allowed to be accessed and is sent by a network management device.

    [0025] With reference to the fourth aspect or the first implementation manner of the fourth aspect, in a second implementation manner, the network resource parameter includes bandwidth, a network charge rate, or network stability, and the determining unit is specifically configured to determine, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; or the determining unit is specifically configured to determine, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or the determining unit is specifically configured to determine, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to.

    [0026] It can be learned from the foregoing that according to the network switching method and the terminal device provided in the embodiments of the present invention, a network resource parameter of a target network to be switched to is determined before network switching, so that a running parameter of an application program that is to be run in the target network is determined and set according to the network resource parameter of the target network. The network switching method described in the solutions is used to enable the application program to implement, to some extent, seamless network switching.

    BRIEF DESCRIPTION OF DRAWINGS



    [0027] To describe the technical solutions in the embodiments of the present application or in the prior art more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show some embodiments of the present application, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.

    FIG. 1 is a schematic diagram of an application scenario of a network switching method according to an embodiment of the present invention;

    FIG. 2a is a schematic flowchart of a network switching method according to an embodiment of the present invention;

    FIG. 2b is a schematic flowchart of a network switching method according to an embodiment of the present invention;

    FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;

    FIG. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;

    FIG. 5 is a schematic flowchart of a network switching method according to an embodiment of the present invention;

    FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention; and

    FIG. 7 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.


    DESCRIPTION OF EMBODIMENTS



    [0028] The following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely some but not all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

    Embodiment 1



    [0029] Referring to FIG. 1, FIG. 1 is a schematic diagram of an application scenario of a network switching method according to an embodiment of the present invention. When moving in a direction shown by arrows in FIG. 1, a terminal device needs to pass through five different mobile communications networks and may perform network switching for four times. As shown in FIG. 1, overlapping areas exist between the mobile communications networks, and when passing through the overlapping areas, the terminal device may select one of networks that cover the overlapping areas for access. For example, overlapping areas exist among an LTE network, a UMTS network, and a WiFi network, and then when moving from the LTE network to an overlapping area, the terminal device may select one network of the LTE network, the UMTS network, and the WiFi network to perform network switching and access, for example, select the WiFi network as a next access network. Specifically, referring to FIG. 2a, FIG. 2a is a schematic flowchart of a network switching method according to an embodiment of the present invention. The terminal device in the application scenario shown in FIG. 1 may perform network switching by using the network switching method described in this embodiment of the present invention. The network switching method provided in this embodiment of the present invention may be applied to a computer network system and various communications systems. The computer system may be located in one physical host, or may be distributed and located in multiple physical hosts. Specifically, the computer system may be located in one or more terminals whose types include a computer, a portable computer, a handheld device (such as a mobile phone and a PAD), a server, and the like. The various communications systems are, for example, a Global System for Mobile Communications (Global System of Mobile communication, "GSM" for short) system, a Code Division Multiple Access (Code Division Multiple Access, "CDMA" for short) system, a Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, "WCDMA" for short) system, a general packet radio service (General Packet Radio Service, "GPRS" for short), a Long Term Evolution (Long Term Evolution, "LTE" for short) system, an LTE frequency division duplex (Frequency Division Duplex, "FDD" for short) system, an LTE time division duplex (Time Division Duplex, "TDD" for short) system, a Universal Mobile Telecommunications System (Universal Mobile Telecommunication System, "UMTS" for short), and a Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, "WiMAX" for short) communications system. It should be further understood that in this embodiment of the present invention, the terminal device may be referred to as a terminal (Terminal), a mobile station (Mobile Station, "MS" for short), a mobile terminal (Mobile Terminal), and the like. The user equipment may communicate with one or more core networks by using a radio access network (Radio Access Network, "RAN" for short). For example, the terminal device may be a mobile phone (or referred to as a "cellular" phone), or a computer with a mobile terminal. For example, the terminal device may also be a portable, pocket-sized, handheld, computer built-in, or in-vehicle mobile apparatus, which exchanges voice and/or data with the radio access network.

    [0030] Referring to FIG. 2a, FIG. 2a is a schematic flowchart of a network switching method according to an embodiment of the present invention, where the method includes: S201. Acquire a network resource parameter of a network allowed to be accessed.

    [0031] If the terminal device detects in real time all wireless communications networks that cover the terminal device, and selects one of the all wireless communications networks as a target network according to a certain rule, the network allowed to be accessed refers to the all wireless communications networks; if the terminal device moves from a place A to a place B, and a network that covers the place A cannot cover the place B, the terminal device needs to select, based on a certain rule, one of all wireless communications networks that cover the place B as the target network to be switched to. Therefore, it can be learned that network switching may occur when the terminal device moves from one wireless communications network to another wireless communications network, or may occur when the terminal device is covered by multiple wireless communications networks, and performance of a wireless communications network in which the terminal device is currently located is poorer than performance of another wireless communications network that covers the terminal device. Referring to the schematic diagram of the application scenario shown in FIG. 1, when the terminal device moves from an area covered by the LTE to an area co-covered by the WiFi and the UMTS, the terminal device determines, according to a certain rule by detecting network resource parameters of the WiFi and the UMTS, one of the WiFi and the UMTS as the target network.

    [0032] It should be noted that the network resource parameter may be set by a user that uses the terminal device, or may be set by default by an operating system of the terminal device. The network resource parameter may include but is not limited to an IP address, a network type, network bandwidth, network quality, and a charge status that are of the target network, or may only be one or more of the IP address, the network type, the network bandwidth, the network quality, and the charge status that are of the target network.

    [0033] It is worth noting that the acquiring a network resource parameter of a network allowed to be accessed may be: self-detecting and acquiring, by the terminal device, the network resource parameter of the network allowed to be accessed; or may be: receiving, by the terminal device, the network resource parameter that is of the network allowed to be accessed and is sent by a network management device (or a network server); or is: receiving, by the terminal device, the network resource parameter that is of the network allowed to be accessed and is sent by a terminal device of a communication peer.

    [0034] S203. Determine, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to and a network resource parameter of the target network, where the network resource parameter of the target network is used to determine and set a running parameter of an application program that is to be run in the target network. Specifically, when the network resource parameter includes bandwidth, a network with largest bandwidth may be determined, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, as the target network to be switched to; when the network resource parameter includes a network charge rate, a network with a lowest charge may be determined, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, as the target network to be switched to; or when the network resource parameter includes network stability, a network with highest stability may be determined, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, as the target network to be switched to. Certainly, when the target network is determined from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, the network resource parameter that may be based on includes but is not limited to the foregoing bandwidth, network charge rate, or network stability, and may further include a network type, and the like, which is not limited in the present invention. All network resource parameters that can be used to determine the target network from the network allowed to be accessed fall within the protection scope of the present invention and are not listed one by one herein again.

    [0035] S205. Switch from a current network to the target network, and run the application program in the target network.

    [0036] It is worth noting that after the network resource parameter of the target network is determined in step 203, before network switching occurs, the application program may be run in a manner that adapts to the network resource parameter of the target network; or at a same time when network switching occurs, the application program is run in a manner that adapts to the network resource parameter of the target network, that is, the application program changes a running manner of the application program at a same time when network switching occurs, so as to adapt to a network status of the target network; or after network switching occurs, actually after accessing the target network, the application program is run in a manner that adapts to the network resource parameter of the target network.

    [0037] As another embodiment of the present invention, refer to a schematic flowchart of a network switching method shown in FIG. 2b, which further includes:
    Step 214. Determine and set, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network.

    [0038] It should be noted that, a common embodiment of the application program refers to an application program that is run on the terminal device and needs to use network communications, such as a video viewing application including Youku, Sohu, IQIYI, and the like; a video communications application including QQ, MSN, and the like; a voice call application including QQ, WeChat, and the like. Furthermore, the application program may be all application programs that are run on the terminal device and need to use network communications, or may be some application programs that are run on the terminal device and need to use network communications. It is worth noting that the some application programs that are run on the terminal device and need to use network communications may be specified by the user that uses the terminal device, or may be set by default by the operating system of the terminal device.

    [0039] Specifically, the reason why it is required to determine the running parameter of the application program that is run in the target network is that the running parameter of the application program that is run on the terminal device varies with a network status that the application program is in. For example, if bandwidth of a current network in which a Youku video player is located becomes relatively small compared with that at a last moment, and the Youku video player no longer supports high definition video playback, the application changes from high definition playback to nomal definition playback.

    [0040] It is worth noting that the determining and setting, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network includes the following cases: If network quality of the target network is deteriorated, bandwidth of the target network is reduced, or a charge of the target network is increased compared with those of the current network in which the terminal device is located, resolution or a heartbeat period of the application program that is run in the target network is lower than resolution or a heartbeat period of the application program that is run in the current network, and accordingly, if the network quality of the target network is improved, the bandwidth of the target network becomes large, or the charge of the target network is reduced compared with those of the current network in which the terminal device is located, the resolution or the heartbeat period of the application program that is run in the target network is higher than the resolution or the heartbeat period of the application program that is run in the current network. It should be noted that the network resource parameter includes but is not limited to the foregoing network quality, bandwidth, or network charge rate, and may further include a network type, network stability, and the like, which is not limited in the present invention. All network resource parameters that can implement the network switching method in this embodiment of the present invention fall within the protection scope of the present invention and are not listed one by one herein again.

    [0041] It should be noted that for an application program in which interrupt may occur after switching is performed, the network switching method described in this embodiment of the present invention further includes: generating visual prompt information and outputting the prompt information to a user interface of the terminal device.

    [0042] Certainly, the network switching method shown in FIG. 2b further includes steps S211, S213, and S215, which are respectively corresponding to the steps S201, S203, and S205 in FIG. 2a, and therefore, for specific content of the steps S211, S213, and S215, reference may be made to the foregoing embodiment, and details are not described herein again.

    [0043] As yet another embodiment of the present invention, refer to FIG. 2b, which further includes: S218. Establish a network connection between the application program and a network server in the target network.

    [0044] Specifically, after the application program is switched to the target network, if the IP address of the target network is different from an IP address of the current network, the network connection between the application program and the network server in the target network needs to be further re-established within a certain time period.

    [0045] It can be learned from the foregoing that according to the network switching method provided in this embodiment of the present invention, a target network to be switched to and a network resource parameter of the target network have been determined before network switching occurs, so that an application program determines and sets, according to the network resource parameter of the target network, a running parameter that is run in the target network. This solution can be used to directly determine, according to the network resource parameter of the target network, the running parameter that is of the application program and adapts to the target network, so as to enable the application program to implement seamless network switching to some extent.

    [0046] Furthermore, for that before network switching occurs, the running parameter of the application program that is run in the target network is determined and set according to the network resource parameter of the target network, the running parameter when the application program is run in the target network has been determined and set before a network is switched to the target network, and therefore after network switching occurs, the application program can be run by directly using the running parameter of the application program, so that the application program can smoothly transit from a current network to the target network, implementing seamless network switching.

    Embodiment 2



    [0047] Referring to FIG. 3, FIG. 3 is a terminal device 30 according to an embodiment of the present invention, where the terminal device 30 may be applied to the application environment shown in FIG. 1, and specifically, the terminal device 30 includes:
    An acquiring unit 31 is configured to acquire a network resource parameter of a network allowed to be accessed.

    [0048] It is worth noting that the acquiring unit 31 is specifically configured to self-detect the network resource parameter of the network allowed to be accessed; or receive the network resource parameter that is of the network allowed to be accessed and is sent by a network management device; or receive the network resource parameter that is of the network allowed to be accessed and is sent by a terminal device of a communication peer.

    [0049] Specifically, the network resource parameter may be set by a user that uses the terminal device, or may be set by default by an operating system of the terminal device. The network resource parameter may include but is not limited to an IP address, a network type, network bandwidth, network quality, and a charge status that are of a target network, or may only be one or more of the IP address, the network type, the network bandwidth, the network quality, and the charge status that are of the target network.

    [0050] It should be noted that if the terminal device detects in real time all wireless communications networks that cover the terminal device, and selects one of the all wireless communications networks as the target network according to a certain rule, the network allowed to be accessed refers to the all wireless communications networks; if the terminal device moves from a place A to a place B, and a network that covers the place A cannot cover the place B, the terminal device needs to select, based on a certain rule, one of all wireless communications networks that cover the place B as the target network to be switched to.

    [0051] An determining unit 32 is configured to determine, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to and a network resource parameter of the target network, where the network resource parameter of the target network is used to determine and set a running parameter of an application program that is to be run in the target network.

    [0052] Specifically, when the network resource parameter includes bandwidth, the determining unit 32 may determine, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; when the network resource parameter includes a network charge rate, the determining unit 32 may determine, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or when the network resource parameter includes network stability, the determining unit 32 may determine, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to. Certainly, when the determining unit 32 determines the target network from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, the network resource parameter that may be based on includes but is not limited to the foregoing bandwidth, network charge rate, or network stability, and may further include a network type, and the like, which is not limited in the present invention. All network resource parameters that are of the target network and can be determined from the network allowed to be accessed fall within the protection scope of the present invention and are not listed one by one herein again.

    [0053] An switching unit 36 is configured to switch from a current network to the target network.

    [0054] An running unit 38 is configured to run the application program in the target network. It is worth noting that after the determining unit 32 determines the network resource parameter of the target network, before network switching occurs, the application program may be run in a manner that adapts to the network resource parameter of the target network; or at a same time when network switching occurs, the application program is run in a manner that adapts to the network resource parameter of the target network, that is, the application program changes a running manner of the application program at a same time when network switching occurs, so as to adapt to a network status of the target network; or after network switching occurs, actually after accessing the target network, the application program is run in a manner that adapts to the network resource parameter of the target network.

    [0055] As another embodiment of the present invention, in the terminal device shown in FIG. 3, the determining unit 32 is further configured to determine and set, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network.

    [0056] It should be noted that, the network resource parameter includes network quality, bandwidth, or a network charge status, and the determining unit 32 is specifically configured to determine, according to the network quality of the target network, the running parameter of the application program that is run in the target network; or determine, according to the bandwidth of the target network, the running parameter of the application program that is run in the target network; or determine, according to the network charge status of the target network, the running parameter of the application program that is run in the target network.

    [0057] It is worth noting that the network resource parameter includes but is not limited to the foregoing network quality, bandwidth, or network charge rate, and may further include a network type, network stability, and the like, which is not limited in the present invention. All network resource parameters that can implement the network switching method in this embodiment of the present invention fall within the protection scope of the present invention and are not listed one by one herein again. As yet another embodiment of the present invention, referring to FIG. 3, the terminal device 30 further includes:
    a connecting unit 39, configured to: after entering the target network, establish a network connection between the application program and a network server. Specifically, after the application program is switched to the target network, if the IP address of the target network is different from an IP address of the current network, the connecting unit 39 is configured to re-establish the network connection between the application program and the network server within a certain time period.

    [0058] During specific implementation, the foregoing units may be implemented as an independent entity, or may be implemented as one or several entities by any combination. In addition, for specific implementation of the foregoing units, reference may be made to the foregoing embodiment, and details are not described herein again. It can be learned that according to the terminal device provided in this embodiment of the present invention, before network switching occurs, the terminal device has determined a target network to be switched to and a network resource parameter of the target network, so as to determine and set, according to the network resource parameter of the target network, a running parameter of an application program that is on the terminal device and is run in the target network. This solution can be used to directly determine, according to the network resource parameter of the target network, the running parameter that is of the application program and adapts to the target network, so as to enable the application program to implement seamless network switching to some extent.

    [0059] Further, for that before network switching occurs, the running parameter of the application program that is run in the target network is determined and set according to the network resource parameter of the target network, after network switching occurs, the application program may be run by directly using the running parameter of the application program, so that the application program can be relatively smoothly transited from a current network to the target network, implementing seamless network switching.

    Embodiment 3



    [0060] Referring to FIG. 4, FIG. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present invention, where the terminal device may be similarly applied to the application environment shown in FIG. 1. As shown in FIG. 4, the terminal device may include at least one processor 401 such as a CPU, at least one network interface 404 such as a physical NIC or another user interface 403, a memory 405, and at least one communications bus 402.

    [0061] The communications bus 402 is configured to implement connection and communication between these components.

    [0062] The network interface 404 is configured to implement connection and communication between the physical host and a network. For example, the network interface 404 may be configured to be connected to a device such as a physical NIC and/or a physical switch.

    [0063] Optionally, the user interface 403 may include a monitor, a keypad, or another click device such as a mouse cursor, a Trackball (trackball), a touchpad, or a touchscreen.

    [0064] The memory 405 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. Optionally, the memory 405 may further include at least one storage apparatus far from the foregoing processor 401.

    [0065] In some implementation manners, the memory 405 stores the following elements: an executable module or a data structure, or a subset of the executable module or the data structure, or an extension set of the executable module or the data structure:

    an operating system 4051, which includes various system programs and is configured to implement various basic services and process a hardware-based task; and

    an application module 4052, which includes various application programs and is configured to implement various application services.



    [0066] The application module 4052 includes but is not limited to an acquiring unit, a determining unit, a switching unit, a running unit, and the like.

    [0067] Specifically, the processor 401 is configured to acquire a network resource parameter of a network allowed to be accessed; determine, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to and a network resource parameter of the target network, where the network resource parameter of the target network is used to determine and set a running parameter of an application program that is to be run in the target network; and switch from a current network to the target network, and run the application program in the target network.

    [0068] Further, after determining the network resource parameter of the target network and before switching from the current network to the target network, the processor 401 is further configured to determine and set, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network.

    [0069] It is worth noting that, the running parameter of the application program includes resolution, and the processor 401 is specifically configured to determine and set, according to the network resource parameter of the target network, the resolution of the application program that is to be run in the target network, where the application program includes a video type application that uses network communications; or the running parameter of the application program includes a heartbeat period, and the processor 401 is specifically configured to determine and set, according to the network resource parameter of the target network, the heartbeat period of the application program that is to be run in the target network. The network resource parameter includes network quality, bandwidth, or a network charge status, and the processor 401 is specifically configured to determine and set, according to the network quality of the target network, the running parameter of the application program that is to be run in the target network; or determine and set, according to the bandwidth of the target network, the running parameter of the application program that is to be run in the target network; or determine and set, according to the network charge status of the target network, the running parameter of the application program that is to be run in the target network.

    [0070] Further, the processor 401 is further configured to establish a network connection between the application program and a network server in the target network.

    [0071] It should be noted that the processor 401 is specifically configured to self-detect and acquire the network resource parameter of the network that can be accessed; or receive the network resource parameter that is of the network that can be accessed and is sent by a network management device; or receive the network resource parameter that is of the network that can be accessed and is sent by a terminal device of a communication peer.

    [0072] Further, when the network resource parameter includes bandwidth, a network charge rate, or network stability,
    the processor 401 is specifically configured to determine, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; or determine, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or determine, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to.

    [0073] For specific implementation of the foregoing devices, reference may be made to the foregoing embodiment, and details are not described herein again.

    [0074] It can be learned from the foregoing that before network switching occurs, the terminal device provided in this embodiment of the present invention has determined a target network to be switched to and a network resource parameter of the target network, so as to determine and set, according to the network resource parameter of the target network, a running parameter of an application program that is on the terminal device and is run in the target network. This solution can be used to directly determine, according to the network resource parameter of the target network, the running parameter that is of the application program and adapts to the target network, so as to enable the application program to implement seamless network switching to some extent.

    [0075] Further, for that before network switching occurs, the running parameter of the application program that is run in the target network is determined and set according to the network resource parameter of the target network, after network switching occurs, the application program may be run by directly using the running parameter of the application program, so that the application program is relatively smoothly transited from a current network to the target network, implementing relatively seamless network switching.

    Embodiment 4



    [0076] Referring to FIG. 5, FIG. 5 is a schematic flowchart of a switching notifying method according to an embodiment of the present invention. The switching notifying method provided in this embodiment of the present invention may be similarly applied to the application scenario shown in FIG. 1. Furthermore, the switching notifying method provided in this embodiment of the present invention may also be similarly applied to a computer network system and various communications systems. The computer system may be located in one physical host, or may be distributed and located in multiple physical hosts. Specifically, the computer system may be located in one or more terminals whose types include a computer, a portable computer, a handheld device (such as a mobile phone and a PAD), a server, and the like. The various communications systems are, for example, a Global System for Mobile Communications (Global System of Mobile communication, "GSM" for short) system, a Code Division Multiple Access (Code Division Multiple Access, "CDMA" for short) system, a Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, "WCDMA" for short) system, a general packet radio service (General Packet Radio Service, "GPRS" for short), a Long Term Evolution (Long Term Evolution, "LTE" for short) system, an LTE frequency division duplex (Frequency Division Duplex, "FDD" for short) system, an LTE time division duplex (Time Division Duplex, "TDD" for short) system, a Universal Mobile Telecommunications System (Universal Mobile Telecommunication System, "UMTS" for short), and a Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, "WiMAX" for short) communications system. It should be further understood that in this embodiment of the present invention, the terminal device may be referred to as a terminal (Terminal), a mobile station (Mobile Station, "MS" for short), a mobile terminal (Mobile Terminal), and the like. The user equipment may communicate with one or more core networks by using a radio access network (Radio Access Network, "RAN" for short). For example, the terminal device may be a mobile phone (or referred to as a "cellular" phone), or a computer with a mobile terminal. For example, the terminal device may also be a portable, pocket-sized, handheld, computer built-in, or in-vehicle mobile apparatus, which exchanges voice and/or data with the radio access network.

    [0077] As shown in FIG. 5, FIG. 5 is a schematic flowchart of a pre-switching notifying method according to an embodiment of the present invention, where the method includes:
    S501. Acquire a network resource parameter of a network allowed to be accessed.

    [0078] If the terminal device detects in real time all wireless communications networks that cover the terminal device, and selects one of the all wireless communications networks as a target network according to a certain rule, the network allowed to be accessed refers to the all wireless communications networks; if the terminal device moves from a place A to a place B, and a network that covers the place A cannot cover the place B, the terminal device needs to select, based on a certain rule, one of all wireless communications networks that cover the place B as the target network to be switched to. Therefore, it can be learned that network switching may occur when the terminal device moves from one wireless communications network to another wireless communications network, or may occur when the terminal device is covered by multiple wireless communications networks, and performance of a wireless communications network in which the terminal device is currently located is poorer than performance of another wireless communications network that covers the terminal device. Referring to the schematic diagram of the application scenario shown in FIG. 1, when the terminal device moves from an area covered by the LTE to an area co-covered by the WiFi and the UMTS, the terminal device determines, according to a certain rule by detecting network resource parameters of the WiFi and the UMTS, one of the WiFi and the UMTS as the target network.

    [0079] It should be noted that the network resource parameter may be set by a user that uses the terminal device, or may be set by default by an operating system of the terminal device. The network resource parameter may include but is not limited to an IP address, a network type, network bandwidth, network quality, and a charge status that are of the target network, or may only be one or more of the IP address, the network type, the network bandwidth, the network quality, and the charge status that are of the target network.

    [0080] It is worth noting that the acquiring a network resource parameter of a network allowed to be accessed may be: self-detecting and acquiring, by the terminal device, the network resource parameter of the network allowed to be accessed; or may be: receiving, by the terminal device, the network resource parameter that is of the network allowed to be accessed and is sent by a network management device (or a network server); or is: receiving, by the terminal device, the network resource parameter that is of the network allowed to be accessed and is sent by a terminal device of a communication peer.

    [0081] S503. Determine, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to.

    [0082] Specifically, when the network resource parameter includes bandwidth, a network with largest bandwidth may be determined, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, as the target network to be switched to; when the network resource parameter includes a network charge rate, a network with a lowest charge may be determined, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, as the target network to be switched to; or when the network resource parameter includes network stability, a network with highest stability may be determined, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, as the target network to be switched to. Certainly, when the target network is determined from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, the network resource parameter that may be based on includes but is not limited to the foregoing bandwidth, network charge rate, or network stability, and may further include a network type, and the like, which is not limited in the present invention. All network resource parameters that are of the target network and can be determined from the network allowed to be accessed fall within the protection scope of the present invention and are not listed one by one herein again.

    [0083] S504. Send a network resource parameter of the target network to a specified terminal device, so that the specified terminal device determines, according to the network resource parameter, a running parameter of an application program that is run on the specified terminal device.

    [0084] It is worth noting that the specified terminal device refers to a terminal device that can be communicated with and connected to, and may be all terminal devices that can be communicated with and connected to, or may be some terminal devices that can be communicated with and connected to; and the specified terminal device may be set by default by the system, or may be manually set by the user.

    [0085] It should be noted that, the application program refers to an application program that is run on the terminal device and needs to use network communications, such as a video viewing application including Youku, Sohu, IQIYI, and the like; a video communications application including QQ, MSN, and the like; a voice call application including QQ, WeChat, and the like. In addition, the application program may be all application programs that are run on the terminal device and need to use network communications, or may be some application programs that are run on the terminal device and need to use network communications. It is worth noting that the some application programs that are run on the terminal device and need to use network communications may be specified by the user that uses the terminal device, or may be set by default by the operating system of the terminal device.

    [0086] It is worth noting that the determining, according to the network resource parameter, the running parameter of the application program that is run on the terminal device includes the following cases: If network quality of the target network is deteriorated, bandwidth of the target network is reduced, or a charge of the target network is increased compared with those of a current network in which the terminal device is located, the specified terminal device may communicate with the terminal device by selecting a communications mode in which a small amount of traffic is consumed, and accordingly, if the network quality of the target network is improved, the bandwidth of the target network becomes large, or the charge of the target network is reduced compared with those of the current network in which the terminal device is located, the specified terminal device may communicate with the terminal device by selecting a communications mode of a high definition video. Furthermore, if the terminal device is switched from a non-IP network (such as a GSM network) to an IP network (such as a WiFi network), the specified terminal device may communicate with the terminal device by selecting an instant messaging mode such as QQ or skypee, and accordingly, if the terminal device is switched from an IP network (such as a WiFi network) to a non-IP network (such as a GSM network), the specified terminal device may communicate with the terminal device by selecting an SMS message and the like. It should be noted that the network resource parameter includes but is not limited to the foregoing network quality, bandwidth, or network charge rate, and may further include a network type, network stability, and the like, which is not limited in the present invention. All network resource parameters that can implement the network switching method in this embodiment of the present invention fall within the protection scope of the present invention and are not listed one by one herein again. S507. Switch from a current network to the target network.

    [0087] It can be learned from the step that the sending the network resource parameter of the target network to the specified terminal device occurs before network switching actually occurs.

    [0088] It can be learned from the foregoing that according to the pre-switching notifying method described in this embodiment of the present invention, before network switching actually occurs, a terminal device sends a network resource parameter of a target network to a terminal device, so that the terminal device communicates with the terminal device by selecting a communications mode that adapts to a network status of the target network. Therefore, communication between the terminal device and the terminal device is not affected when network switching occurs in the terminal device. The pre-switching notifying method provided in this embodiment of the present invention can implement that communication between terminal devices is not affected by network switching, or implement seamless network switching in communication between terminal devices.

    Embodiment 5



    [0089] Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a terminal device 60 according to an embodiment of the present invention, where the terminal device may also be applied to the schematic diagram of the application scenario shown in FIG. 1. Specifically, the terminal device 60 includes:
    An acquiring unit 61 is configured to acquire a network resource parameter of a network allowed to be accessed.

    [0090] It is worth noting that the acquiring unit 61 is specifically configured to self-detect the network resource parameter of the network allowed to be accessed; or receive the network resource parameter that is of the network allowed to be accessed and is sent by a network management device; or receive the network resource parameter that is of the network allowed to be accessed and is sent by a terminal device of a communication peer.

    [0091] Specifically, the network resource parameter may be set by a user that uses the terminal device, or may be set by default by an operating system of the terminal device. The network resource parameter may include but is not limited to an IP address, a network type, network bandwidth, network quality, and a charge status that are of a target network, or may only be one or more of the IP address, the network type, the network bandwidth, the network quality, and the charge status that are of the target network.

    [0092] It should be noted that if the terminal device detects in real time all wireless communications networks that cover the terminal device, and selects one of the all wireless communications networks as the target network according to a certain rule, the network allowed to be accessed refers to the all wireless communications networks; if the terminal device moves from a place A to a place B, and a network that covers the place A cannot cover the place B, the terminal device needs to select, based on a certain rule, one of all wireless communications networks that cover the place B as the target network to be switched to.

    [0093] An determining unit 62 is configured to determine, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to.

    [0094] Specifically, when the network resource parameter includes bandwidth, the determining unit 62 may determine, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; when the network resource parameter includes a network charge rate, the determining unit 62 may determine, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or when the network resource parameter includes network stability, the determining unit 62 may determine, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to. Certainly, when the determining unit 62 determines the target network from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, the network resource parameter that may be based on includes but is not limited to the foregoing bandwidth, network charge rate, or network stability, and may further include a network type, and the like, which is not limited in the present invention. All network resource parameters that are of the target network and can be determined from the network allowed to be accessed fall within the protection scope of the present invention and are not listed one by one herein again.

    [0095] An sending unit 64 is configured to send a network resource parameter of the target network to a specified terminal device, so that the specified terminal device determines, according to the network resource parameter, a running parameter of an application program that is run on the specified terminal device.

    [0096] It is worth noting that the specified terminal device refers to a terminal device that can establish a communication connection, and may be all terminal devices that can establish a communication connection, or may be some terminal devices that can establish a communication connection; and the specified terminal device may be set by default by the system, or may be manually set by the user.

    [0097] It should be noted that the application program refers to an application program that is run on the specified terminal device and needs to use network communications. In addition, the application program may be all application programs that are run on the specified terminal device and need to use network communications, or may be some application programs that are run on the specified terminal device and need to use network communications. It is worth noting that the some application programs that are run on the specified terminal device and need to use network communications may be specified by the user that uses the specified terminal device, or may be set by default by the operating system of the specified terminal device.

    [0098] An switching unit 67 is configured to switch from a current network to the target network.

    [0099] During specific implementation, the foregoing units may be implemented as an independent entity, or may be implemented as one or several entities by any combination. In addition, for specific implementation of the foregoing units, reference may be made to the foregoing embodiment, and details are not described herein again. It can be learned from the foregoing that according to the terminal device provided in this embodiment of the present invention, before network switching actually occurs, the terminal device sends a network resource parameter of a target network to a specified terminal device, so that the specified terminal device communicates with the terminal device by selecting a communications mode that adapts to a network status of the target network. Therefore, communication between the terminal device and the specified terminal device is not affected when network switching occurs in the terminal device, that is, it is ensured that the terminal device can keep communication with the specified terminal device when the terminal device performs network switching.

    Embodiment 6



    [0100] Referring to FIG. 7, FIG. 7 is a schematic structural diagram of another terminal device according to an embodiment of the present invention. The terminal device may also be applied to the schematic diagram of the application scenario shown in the FIG. 1. As shown in FIG. 7, the terminal device may include at least one processor 701 such as a CPU, at least one network interface 704 such as a physical NIC or another user interface 703, a memory 705, and at least one communications bus 702.

    [0101] The communications bus 702 is configured to implement connection and communication between the components.

    [0102] The network interface 704 is configured to implement connection and communication between the physical host and a network. For example, the network interface 704 may be configured to be connected to a device such as a physical NIC and/or a physical switch.

    [0103] Optionally, the user interface 703 may include a monitor, a keypad, or another click device such as a mouse cursor, a Trackball (trackball), a touchpad, or a touchscreen.

    [0104] The memory 705 may include a high-speed random access memory (RAM, Random Access Memory), and may also include non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. Optionally, the memory 705 may further include at least one storage apparatus far from the foregoing processor 701.

    [0105] In some implementation manners, the memory 705 stores the following elements: an executable module or a data structure, or a subset of the executable module or the data structure, or an extension set of the executable module or the data structure:

    an operating system 7051, which includes various system programs and is configured to implement various basic services and process a hardware-based task; and

    an application module 7052, which includes various application programs and is configured to implement various application services.



    [0106] The application module 7052 includes but is not limited to a determining unit, a sending unit, a switching unit, and the like.

    [0107] The processor 701 is configured to: acquire a network resource parameter of a network allowed to be accessed; determine, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to; send a network resource parameter of the target network to a specified terminal device, so that the specified terminal device determines, according to the network resource parameter, a running parameter of an application program that is run on the specified terminal device; and switch from the current network to the target network.

    [0108] It should be noted that the processor 701 is specifically configured to self-detect the network resource parameter of the network that can be accessed; or receive the network resource parameter that is of the network that can be accessed and is sent by a network management device. The network resource parameter includes bandwidth, a network charge rate, or network stability, and the processor 701 is specifically configured to determine, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; or the processor 701 is specifically configured to determine, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or the processor 701 is specifically configured to determine, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to.

    [0109] For specific implementation of the foregoing devices, reference may be made to the foregoing embodiment, and details are not described herein again.

    [0110] It can be learned from the foregoing that according to the terminal device provided in this embodiment of the present invention, before network switching actually occurs, the terminal device sends a network resource parameter of a target network to a specified terminal device, so that the specified terminal device communicates with the terminal device by selecting a communications mode that adapts to a network status of the target network. Therefore, communication between the terminal device and the specified terminal device is not affected when network switching occurs in the terminal device, that is, it is ensured that the terminal device can keep communication with the specified terminal device when the terminal device performs network switching.

    [0111] The described apparatus embodiment is merely exemplary. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual requirements to achieve the objectives of the solutions of the embodiments. In addition, in the accompanying drawings of the apparatus embodiments provided by the present invention, connection relationships between modules indicate that the modules have communication connections with each other, which may be specifically implemented as one or more communications buses or signal cables. A person of ordinary skill in the art may understand and implement the embodiments of the present invention without creative efforts.

    [0112] Based on the description of the foregoing implementation manners, a person skilled in the art may clearly understand that the plotting apparatus according to embodiments of the present invention may be implemented by software in addition to necessary universal hardware, or by dedicated hardware, including a dedicated integrated circuit, a dedicated CPU, a dedicated memory, a dedicated component, and the like. Generally, any functions that can be performed by a computer program can be easily implemented by using corresponding hardware. Moreover, a specific hardware structure used to achieve a same function may be of various forms, for example, in a form of an analog circuit, a digital circuit, a dedicated circuit, or the like.

    [0113] The foregoing descriptions are merely specific implementation manners of the present invention, but are not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.


    Claims

    1. A network switching method performed by a terminal, the method comprising:

    before network switching is performed, acquiring (S211) a network resource parameter of a network allowed to be accessed, wherein the network resource parameter comprises a network charge rate of the network allowed to be accessed and an IP address of the network allowed to be accessed;

    determining (S213), from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to and a network resource parameter of the target network, wherein the network resource parameter of the target network is used to determine and set a running parameter of an application program that is to be run in the target network, wherein the application program comprises a video type application that uses network communications; and

    wherein the running parameter of the application program comprises a video resolution, that is determined and set according to the network charge rate of the target network; and

    switching (S215) from a current network to the target network, and starting or continuing running the application program in the target network; and

    establishing (S218) a network connection between the application program and a network server in the target network using the IP address of the network allowed to be accessed as the IP address of the target network, wherein if the IP address of the target network is different from an IP address of the current network, the network connection between the application program and the network server in the target network is re-established within a given time period.


     
    2. The network switching method according to claim 1, wherein before the switching from a current network to the target network, the method further comprising:

    determining and setting, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network, and running the application program; and

    after switching from the current network to the target network, continuing running the application program in the target network.


     
    3. The network switching method according to claim 1 or 2, wherein:

    the network resource parameter further comprises network quality or bandwidth, and

    the determining and setting, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network further comprises:

    determining and setting, according to the network quality of the target network, the running parameter of the application program that is to be run in the target network; or

    determining and setting, according to the bandwidth of the target network, the running parameter of the application program that is to be run in the target network.


     
    4. The network switching method according to any one of claims 1 to 3, wherein the determining, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to comprises:

    the network resource parameter further comprises bandwidth, or network stability;

    determining, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; or

    determining, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or

    determining, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to.


     
    5. A terminal device (30), comprising:

    an acquiring unit (31), configured to: before network switching is performed, acquire a network resource parameter of a network allowed to be accessed, wherein the network resource parameter comprises a charge status of the network allowed to be accessed and an IP address of the network allowed to be accessed;

    a determining unit (32), configured to determine, from the network allowed to be accessed and according to the network resource parameter of the network allowed to be accessed, a target network to be switched to and a network resource parameter of the target network, wherein the network resource parameter of the target network is used to determine and set a running parameter of an application program that is to be run in the target network,

    wherein:

    wherein the application program comprises a video type application that uses network communications; and

    the running parameter of the application program comprises a video resolution, that is determined and set according to the network charge rate of the target network;

    a switching unit (36), configured to switch from a current network to the target network; and

    a running unit (38), configured to start or continue running the application program in the target network; and

    a connecting unit (39), configured to: after entering the target network, establish a network connection between the application program and a network server in the target network using the IP address of the network allowed to be accessed as the IP address of the target network, wherein if the IP address of the target network is different from an IP address of the current network, the network connection between the application program and the network server in the target network is re-established within a given time period.


     
    6. The terminal (30) device according to claim 5, wherein before switching from the current network to the target network,
    the determining unit (32) is further configured to determine and set, according to the network resource parameter of the target network, the running parameter of the application program that is to be run in the target network; and
    the running unit (38) is specifically configured to run the application program; and
    after switching from the current network to the target network, the running unit (38) is specifically configured to continue running the application program in the target network.
     
    7. The terminal device (30) according to claim 5 or 6, wherein:

    the network resource parameter further comprises network quality or bandwidth, and

    the determining unit (32) is specifically configured to determine and set, according to the network quality of the target network, the running parameter of the application program that is to be run in the target network; or

    the determining unit (32) is specifically configured to determine and set, according to the bandwidth of the target network, the running parameter of the application program that is to be run in the target network.


     
    8. The terminal device (30) according to any one of claims 5 to 7, wherein:

    the network resource parameter further comprises bandwidth, or network stability, and

    the determining unit (32) is specifically configured to determine, from the network allowed to be accessed and according to the bandwidth of the network allowed to be accessed, a network with largest bandwidth as the target network to be switched to; or

    the determining unit (32) is specifically configured to determine, from the network allowed to be accessed and according to the network charge rate of the network allowed to be accessed, a network with a lowest charge as the target network to be switched to; or

    the determining unit (32) is specifically configured to determine, from the network allowed to be accessed and according to the network stability of the network allowed to be accessed, a network with highest stability as the target network to be switched to.


     


    Ansprüche

    1. Netzwerkumschaltverfahren, ausgeführt durch ein Endgerät, das Verfahren aufweisend:

    bevor Netzwerkumschalten ausgeführt wird, Erfassen (S211) eines Netzwerkressourcenparameters eines Netzwerks, zu dem Zugang zugelassen ist, wobei der Netzwerkressourcenparameter eine Netzwerkverrechnungsrate des Netzwerks, zu dem Zugang zugelassen ist, und eine IP-Adresse des Netzwerks, zu dem Zugang zugelassen ist, aufweist;

    Bestimmen (S213), aus dem Netzwerk, zu dem Zugang zugelassen ist, und gemäß dem Netzwerkressourcenparameter des Netzwerks, zu dem Zugang zugelassen ist, eines Zielnetzwerks, zu dem umgeschaltet werden soll, und eines Netzwerkressourcenparameters des Zielnetzwerks, wobei der Netzwerkressourcenparameter des Zielnetzwerks zum Bestimmen und Einrichten eines Laufparameters eines Anwendungsprogramms, das im Zielnetzwerk ausgeführt werden soll, benutzt wird, wobei das Anwendungsprogramm eine Videoanwendung aufweist, die Netzwerkkommunikationen nutzt; und

    wobei der Laufparameter des Anwendungsprogramms eine Videoauflösung aufweist, die gemäß der Netzwerkverrechnungsrate des Zielnetzwerks bestimmt und eingerichtet wird; und

    Umschalten (S215) von einem aktuellen Netzwerk zum Zielnetzwerk und Starten oder Fortsetzen der Ausführung des Anwendungsprogramms im Zielnetzwerk; und

    Einrichten (S218) einer Netzwerkverbindung zwischen dem Anwendungsprogramm und einem Netzwerkserver im Zielnetzwerk unter Verwendung der IP-Adresse des Netzwerks, zu dem Zugang zugelassen ist, als die IP-Adresse des Zielnetzwerks, wobei, wenn die IP-Adresse des Zielnetzwerks von einer IP-Adresse des aktuellen Netzwerks abweicht, die Netzwerkverbindung zwischen dem Anwendungsprogramm und dem Netzwerkserver im Zielnetzwerk innerhalb einer vorgegebenen Zeitperiode erneut eingerichtet wird.


     
    2. Netzwerkumschaltverfahren nach Anspruch 1, wobei, vor dem Umschalten von einem aktuellen Netzwerk zum Zielnetzwerk, das Verfahren ferner aufweist:

    Bestimmen und Einrichten, gemäß dem Netzwerkressourcenparameter des Zielnetzwerks, des Laufparameters des Anwendungsprogramms, das im Zielnetzwerk ausgeführt werden soll, und Ausführen des Anwendungsprogramms; und,

    nach dem Umschalten vom aktuellen Netzwerk zum Zielnetzwerk, Fortsetzen der Ausführung des Anwendungsprogramms im Zielnetzwerk.


     
    3. Netzwerkumschaltverfahren nach einem der Ansprüche 1 oder 2, wobei:

    der Netzwerkressourcenparameter ferner eine Netzwerkqualität oder -handbreite aufweist, und

    das Bestimmen und Einrichten, gemäß dem Netzwerkressourcenparameter des Zielnetzwerks, des Laufparameters des Anwendungsprogramms, das im Zielnetzwerk ausgeführt werden soll, ferner aufweist:

    Bestimmen und Einrichten, gemäß der Netzwerkqualität des Zielnetzwerks, des Laufparameters des Anwendungsprogramms, das im Zielnetzwerk ausgeführt werden soll, oder

    Bestimmen und Einrichten, gemäß der Bandbreite des Zielnetzwerks, des Laufparameters des Anwendungsprogramms, das im Zielnetzwerk ausgeführt werden soll.


     
    4. Netzwerkumschaltverfahren nach einem der Ansprüche 1 bis 3, wobei das Bestimmen, aus dem Netzwerk, zu dem Zugang zugelassen ist, und gemäß dem Netzwerkressourcenparameter des Netzwerks, zu dem Zugang zugelassen ist, eines Zielnetzwerks, zu dem umgeschaltet werden soll, aufweist:

    dass der Netzwerkressourcenparameter ferner Bandbreite oder Netzwerkstabilität aufweist;

    Bestimmen, aus dem Netzwerk, zu dem Zugang zugelassen ist, und gemäß der Bandbreite des Netzwerks, zu dem Zugang zugelassen ist, eines Netzwerks mit größter Bandbreite als das Zielnetzwerk, zu dem umgeschaltet werden soll; oder

    Bestimmen, aus dem Netzwerk, zu dem Zugang zugelassen ist, und gemäß der Netzwerkverrechnungsrate des Netzwerks, zu dem Zugang zugelassen ist, eines Netzwerks mit einer niedrigsten Verrechnung als das Zielnetzwerk, zu dem umgeschaltet werden soll; oder

    Bestimmen, aus dem Netzwerk, zu dem Zugang zugelassen ist, und gemäß der Netzwerkstabilität des Netzwerks, zu dem Zugang zugelassen ist, eines Netzwerks mit höchster Stabilität als das Zielnetzwerk, zu dem umgeschaltet werden soll.


     
    5. Endgerätevorrichtung (30), aufweisend:

    eine Erfassungseinheit (31), konfiguriert zum: bevor Netzwerkumschalten ausgeführt wird, Erfassen eines Netzwerkressourcenparameters eines Netzwerks, zu dem Zugang zugelassen ist, wobei der Netzwerkressourcenparameter einen Verrechnungsstatus des Netzwerks, zu dem Zugang zugelassen ist, und eine IP-Adresse des Netzwerks, zu dem Zugang zugelassen ist, aufweist;

    eine Bestimmungseinheit (32), konfiguriert zum Bestimmen, aus dem Netzwerk, zu dem Zugang zugelassen ist, und gemäß dem Netzwerkressourcenparameter des Netzwerks, zu dem Zugang zugelassen ist, eines Zielnetzwerks, zu dem umgeschaltet werden soll, und eines Netzwerkressourcenparameters des Zielnetzwerks, wobei der Netzwerkressourcenparameter des Zielnetzwerks zum Bestimmen und Einrichten eines Laufparameters eines Anwendungsprogramms, das im Zielnetzwerk ausgeführt werden soll, benutzt wird,

    wobei:

    wobei das Anwendungsprogramm eine Videoanwendung aufweist, die Netzwerkkommunikationen nutzt; und

    der Laufparameter des Anwendungsprogramms eine Videoauflösung aufweist, die gemäß der Netzwerkverrechnungsrate des Zielnetzwerks bestimmt und eingerichtet wird; und

    eine Schalteinheit (36), konfiguriert zum Umschalten von einem aktuellen Netzwerk zum Zielnetzwerk; und

    eine Ausführungseinheit (38), konfiguriert zum Starten oder Fortsetzen der Ausführung des Anwendungsprogramms im Zielnetzwerk; und

    eine Verbindungseinheit (39), konfiguriert zum: nach dem Zugreifen auf das Zielnetzwerk, Einrichten einer Netzwerkverbindung zwischen dem Anwendungsprogramm und einem Netzwerkserver im Zielnetzwerk unter Verwendung der IP-Adresse des Netzwerks, zu dem Zugang zugelassen ist, als die IP-Adresse des Zielnetzwerks,

    wobei, wenn die IP-Adresse des Zielnetzwerks von einer IP-Adresse des aktuellen Netzwerks abweicht, die Netzwerkverbindung zwischen dem Anwendungsprogramm und dem Netzwerkserver im Zielnetzwerk innerhalb einer vorgegebenen Zeitperiode erneut eingerichtet wird.


     
    6. Endgerätevorrichtung (30) nach Anspruch 5, wobei, vor dem Umschalten vom aktuellen Netzwerk zum Zielnetzwerk,
    die Bestimmungseinheit (32) ferner zum Bestimmen und Einrichten, gemäß dem Netzwerkressourcenparameter des Zielnetzwerks, des Laufparameters des Anwendungsprogramms, das im Zielnetzwerk ausgeführt werden soll, konfiguriert ist; und
    die Ausführungseinheit (38) spezifisch zum Ausführen des Anwendungsprogramms konfiguriert ist; und,
    nach dem Umschalten vom aktuellen Netzwerk zum Zielnetzwerk, die Ausführungseinheit (38) spezifisch zum Fortsetzen der Ausführung des Anwendungsprogramms im Zielnetzwerk konfiguriert ist.
     
    7. Endgerätevorrichtung (30) nach einem der Ansprüche 5 oder 6, wobei:

    der Netzwerkressourcenparameter ferner eine Netzwerkqualität oder -handbreite aufweist, und

    die Bestimmungseinheit (32) spezifisch zum Bestimmen und Einrichten, gemäß der Netzwerkqualität des Zielnetzwerks, des Laufparameters des Anwendungsprogramms, das im Zielnetzwerk ausgeführt werden soll, konfiguriert ist; oder

    die Bestimmungseinheit (32) spezifisch zum Bestimmen und Einrichten, gemäß der Bandbreite des Zielnetzwerks, des Laufparameters des Anwendungsprogramms, das im Zielnetzwerk ausgeführt werden soll, konfiguriert ist.


     
    8. Endgerätevorrichtung (30) nach einem der Ansprüche 5 bis 7, wobei:

    der Netzwerkressourcenparameter ferner Bandbreite oder Netzwerkstabilität aufweist; und

    die Bestimmungseinheit (32) spezifisch zum Bestimmen, aus dem Netzwerk, zu dem Zugang zugelassen ist, und gemäß der Bandbreite des Netzwerks, zu dem Zugang zugelassen ist, eines Netzwerks mit größter Bandbreite als das Zielnetzwerk, zu dem umgeschaltet werden soll, konfiguriert ist; oder

    die Bestimmungseinheit (32) spezifisch zum Bestimmen, aus dem Netzwerk, zu dem Zugang zugelassen ist, und gemäß der Netzwerkverrechnungsrate des Netzwerks, zu dem Zugang zugelassen ist, eines Netzwerks mit einer niedrigsten Verrechnung als das Zielnetzwerk, zu dem umgeschaltet werden soll, konfiguriert ist; oder

    die Bestimmungseinheit (32) spezifisch zum Bestimmen, aus dem Netzwerk, zu dem Zugang zugelassen ist, und gemäß der Netzwerkstabilität des Netzwerks, zu dem Zugang zugelassen ist, eines Netzwerks mit höchster Stabilität als das Zielnetzwerk, zu dem umgeschaltet werden soll, konfiguriert ist.


     


    Revendications

    1. Procédé de commutation de réseau exécuté par un terminal, le procédé comprenant les étapes suivantes :

    avant qu'une commutation de réseau n'ait été exécutée, acquérir (S211) un paramètre de ressource réseau d'un réseau dont l'accès est autorisé, le paramètre de ressource réseau comportant un taux de charge de réseau du réseau dont l'accès est autorisé et une adresse IP du réseau dont l'accès est autorisé ;

    déterminer (S213), à partir du réseau dont l'accès est autorisé et selon le paramètre de ressource réseau du réseau dont l'accès est autorisé, un réseau cible vers lequel commuter et un paramètre de ressource réseau du réseau cible, le paramètre de ressource réseau du réseau cible étant utilisé pour déterminer et définir un paramètre de fonctionnement d'un programme d'application qui doit être exécuté dans le réseau cible, le programme d'application comportant une application de type vidéo qui utilise une communication réseau ; et

    le paramètre de fonctionnement du programme d'application comprenant une résolution vidéo, qui est déterminée et définie selon le taux de charge de réseau du réseau cible ; et

    commuter (S215) depuis un réseau courant vers le réseau cible, et lancer ou continuer l'exécution du programme d'application dans le réseau cible ; et

    établir (S218) une connexion réseau entre le programme d'application et un serveur réseau dans le réseau cible en utilisant l'adresse IP du réseau dont l'accès est autorisé comme l'adresse IP du réseau cible,

    si l'adresse IP du réseau cible est différente d'une adresse IP du réseau courant, la connexion réseau entre le programme d'application et le serveur réseau dans le réseau cible étant rétablie dans une période de temps donnée.


     
    2. Procédé de commutation de réseau selon la revendication 1 dans lequel, avant la commutation depuis un réseau courant vers le réseau cible, le procédé comprend en outre :

    déterminer et définir, selon le paramètre de ressource réseau du réseau cible, le paramètre de fonctionnement du programme d'application qui doit être exécuté dans le réseau cible, et exécuter le programme d'application ; et

    après avoir commuté depuis le réseau courant vers le réseau cible, continuer l'exécution du programme d'application dans le réseau cible.


     
    3. Procédé de commutation de réseau selon la revendication 1 ou 2, dans lequel :

    le paramètre de ressource réseau comprend en outre une qualité ou une bande passante réseau, et

    l'étape de détermination et de définition, selon le paramètre de ressource réseau du réseau cible, du paramètre de fonctionnement du programme d'application qui doit être exécuté dans le réseau cible comprend en outre :

    déterminer et définir, selon la qualité réseau du réseau cible, le paramètre de fonctionnement du programme d'application qui doit être exécuté dans le réseau cible ; ou

    déterminer et définir, selon la bande passante du réseau cible, le paramètre de fonctionnement du programme d'application qui doit être exécuté dans le réseau cible.


     
    4. Procédé de commutation de réseau selon l'une quelconque des revendications 1 à 3, dans lequel l'étape consistant à déterminer, à partir du réseau dont l'accès est autorisé et selon le paramètre de ressource réseau du réseau dont l'accès est autorisé, un réseau cible vers lequel commuter comprend :

    le paramètre de ressource réseau comporte en outre une bande passante, ou une stabilité de réseau ;

    déterminer, à partir du réseau dont l'accès est autorisé et selon la bande passante du réseau dont l'accès est autorisé, un réseau avec une bande passante la plus grande comme le réseau cible vers lequel commuter ; ou

    déterminer, à partir du réseau dont l'accès est autorisé et selon le taux de charge de réseau du réseau dont l'accès est autorisé, un réseau avec une charge la moins élevée comme le réseau cible vers lequel commuter ; ou

    déterminer, à partir du réseau dont l'accès est autorisé et selon la stabilité de réseau du réseau dont l'accès est autorisé, un réseau avec une stabilité la plus élevée comme le réseau cible vers lequel commuter.


     
    5. Dispositif terminal (30), comprenant :

    une unité d'acquisition (31), configurée pour : avant qu'une commutation de réseau n'ait été exécutée, acquérir un paramètre de ressource réseau d'un réseau dont l'accès est autorisé, le paramètre de ressource réseau comportant un état de charge du réseau dont l'accès est autorisé et une adresse IP du réseau dont l'accès est autorisé ;

    une unité de détermination (32), configurée pour déterminer, à partir du réseau dont l'accès est autorisé et selon le paramètre de ressource réseau du réseau dont l'accès est autorisé, un réseau cible vers lequel commuter et un paramètre de ressource réseau du réseau cible, le paramètre de ressource réseau du réseau cible étant utilisé pour déterminer et définir un paramètre de fonctionnement d'un programme d'application qui doit être exécuté dans le réseau cible,

    le programme d'application comportant une application de type vidéo qui utilise une communication réseau ; et

    le paramètre de fonctionnement du programme d'application comportant une résolution vidéo, qui est déterminée et définie selon le taux de charge de réseau du réseau cible ;

    une unité de commutation (36), configurée pour commuter depuis un réseau courant vers le réseau cible ; et

    une unité de fonctionnement (38), configurée pour lancer ou continuer l'exécution du programme d'application dans le réseau cible ; et

    une unité de connexion (39), configurée pour : après être entré dans le réseau cible, établir une connexion réseau entre le programme d'application et un serveur réseau dans le réseau cible en utilisant l'adresse IP du réseau dont l'accès est autorisé comme l'adresse IP du réseau cible, si l'adresse IP du réseau cible est différente d'une adresse IP du réseau courant, la connexion réseau entre le programme d'application et le serveur réseau dans le réseau cible étant rétablie dans une période de temps donnée.


     
    6. Dispositif terminal (30) selon la revendication 5 dans lequel, avant de commuter depuis le réseau courant vers le réseau cible,
    l'unité de détermination (32) est en outre configurée pour déterminer et définir, selon le paramètre de ressource réseau du réseau cible, le paramètre de fonctionnement du programme d'application qui doit être exécuté dans le réseau cible ; et
    l'unité de fonctionnement (38) est configurée spécifiquement pour exécuter le programme d'application ; et
    après avoir commuté depuis le réseau courant vers le réseau cible, l'unité de fonctionnement (38) est configurée spécifiquement pour continuer l'exécution du programme d'application dans le réseau cible.
     
    7. Dispositif terminal (30) selon la revendication 5 ou 6, dans lequel :

    le paramètre de ressource réseau comprend en outre une qualité ou une bande passante réseau, et

    l'unité de détermination (32) est configurée spécifiquement pour déterminer et définir, selon la qualité réseau du réseau cible, le paramètre de fonctionnement du programme d'application qui doit être exécuté dans le réseau cible ; ou

    l'unité de détermination (32) est configurée spécifiquement pour déterminer et définir, selon la bande passante du réseau cible, le paramètre de fonctionnement du programme d'application qui doit être exécuté dans le réseau cible.


     
    8. Dispositif terminal (30) selon l'une quelconque des revendications 5 à 7, dans lequel :

    le paramètre de ressource réseau comporte en outre une bande passante, ou une stabilité de réseau, et

    l'unité de détermination (32) est configurée spécifiquement pour déterminer, à partir du réseau dont l'accès est autorisé et selon la bande passante du réseau dont l'accès est autorisé, un réseau avec une bande passante la plus grande comme le réseau cible vers lequel commuter ; ou

    l'unité de détermination (32) est configurée spécifiquement pour déterminer, à partir du réseau dont l'accès est autorisé et selon le taux de charge de réseau du réseau dont l'accès est autorisé, un réseau avec une charge la moins élevée comme le réseau cible vers lequel commuter ; ou

    l'unité de détermination (32) est configurée spécifiquement pour déterminer, à partir du réseau dont l'accès est autorisé et selon la stabilité de réseau du réseau dont l'accès est autorisé, un réseau avec une stabilité la plus élevée comme le réseau cible vers lequel commuter.


     




    Drawing


















    REFERENCES CITED IN THE DESCRIPTION



    This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

    Patent documents cited in the description