CN103327482A - Terminal and network switching control method - Google Patents
Terminal and network switching control method Download PDFInfo
- Publication number
- CN103327482A CN103327482A CN2013102645764A CN201310264576A CN103327482A CN 103327482 A CN103327482 A CN 103327482A CN 2013102645764 A CN2013102645764 A CN 2013102645764A CN 201310264576 A CN201310264576 A CN 201310264576A CN 103327482 A CN103327482 A CN 103327482A
- Authority
- CN
- China
- Prior art keywords
- address
- terminal
- access network
- supported
- address type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提出了一种终端和一种网络切换方法,其中,终端包括获取单元,在发生小区重选时,获取接入网络所支持的IP地址类型;判断单元,用于判断所述接入网络所支持的IP地址类型与当前使用的IP地址类型是否相同;拨号单元,在判断结果为不相同时,根据所述接入网络支持的IP地址类型进行拨号。通过本发明的技术方案,在网络环境发生变化时,能够自动进行IP地址类型的更新,确保终端能够充分使用网络资源,对业务数据造成的影响减小到最低,提高上网体验。
The present invention proposes a terminal and a network switching method, wherein the terminal includes an acquisition unit, which acquires the IP address type supported by the access network when cell reselection occurs; a judgment unit is used to judge the IP address type supported by the access network Whether the supported IP address type is the same as the currently used IP address type; the dialing unit, when the judging result is different, performs dialing according to the IP address type supported by the access network. Through the technical solution of the present invention, when the network environment changes, the IP address type can be automatically updated to ensure that the terminal can fully use network resources, minimize the impact on service data, and improve the online experience.
Description
技术领域technical field
本发明涉及通信技术领域,具体而言,涉及一种终端和一种网络切换控制方法。The present invention relates to the technical field of communication, in particular, to a terminal and a network switching control method.
背景技术Background technique
目前终端发起拨号时必须指定拨号的类型,若指定类型为IPv4,则只能获取IPv4的地址,若指定类型为IPv6,则只能获取IPv6的地址,若指定类型为IPv4和IPv6,则将同时获取IPv4和IPv6的地址。At present, the terminal must specify the dialing type when initiating dialing. If the specified type is IPv4, only IPv4 addresses can be obtained; if the specified type is IPv6, only IPv6 addresses can be obtained; if the specified type is IPv4 and IPv6, both Get IPv4 and IPv6 addresses.
用户在使用之前无法知晓当前区域网络是否支持IPv6,因此一般选择IPv4和IPv6类型进行拨号,获取的地址视网络支持情况而定,可能为IPv4地址或IPv6地址或IPv4和IPv6地址,获取地址之后,在该次拨号过程中一直使用此地址,不会自动更新,若之前获取到的是IPv4地址,则在进入支持IPv6的网络中时,终端仍然保留IPv4地址,因此在不同的网络之间切换时会出现采用无效IP地址进行数据传输,导致在IPv6网络下无法自动启用IPv6协议栈,终端无法传输数据。因而需要一种新的解决方案,在网络切换时,能够自动进行IP地址类型的更新,确保终端能够充分使用网络资源。Users cannot know whether the current local area network supports IPv6 before using it, so generally choose IPv4 and IPv6 types for dialing, the obtained address depends on the network support, it may be IPv4 address or IPv6 address or IPv4 and IPv6 address, after obtaining the address, This address has been used during this dial-up process and will not be automatically updated. If the IPv4 address obtained before, the terminal still retains the IPv4 address when entering a network that supports IPv6, so when switching between different networks Invalid IP addresses will be used for data transmission, resulting in the inability to automatically enable the IPv6 protocol stack under the IPv6 network, and the terminal cannot transmit data. Therefore, a new solution is needed, which can automatically update the IP address type during network switching, so as to ensure that the terminal can fully use network resources.
发明内容Contents of the invention
考虑到上述背景技术,提出了一种新的网络切换控制方案,在网络环境发生变化时,能够自动进行IP地址类型的更新。Considering the background technology above, a new network switching control scheme is proposed, which can automatically update the IP address type when the network environment changes.
有鉴于此,根据本发明的一个方面,提供了一种终端,包括:获取单元,在发生小区重选时,获取接入网络所支持的IP地址类型;判断单元,用于判断所述接入网络所支持的IP地址类型与当前使用的IP地址类型是否相同;拨号单元,在判断结果为不相同时,根据所述接入网络支持的IP地址类型进行拨号。In view of this, according to one aspect of the present invention, a terminal is provided, including: an acquiring unit, when cell reselection occurs, acquires the IP address type supported by the access network; a judging unit, used to judge the access Whether the IP address type supported by the network is the same as the currently used IP address type; the dialing unit, when the judging result is different, performs dialing according to the IP address type supported by the access network.
在终端发生小区重选时(网络环境发生了变化),根据当前接入的网络所支持的IP地址类型和当前获取的IP地址类型确定是否触发新的拨号,在发现两者不相同时,进行IP地址类型的更新,根据新的IP地址进行数据传,以使当前数据业务能够连续进行,对业务数据造成的影响减小到最低。When cell reselection occurs on the terminal (the network environment has changed), it is determined whether to trigger a new dial-up according to the IP address type supported by the currently connected network and the currently obtained IP address type. When the two are found to be different, perform The IP address type is updated, and the data is transmitted according to the new IP address, so that the current data service can be continuously carried out, and the impact on the service data is minimized.
在上述技术方案中,优选的,所述获取单元用于向基站发送获取与所述接入网络对应的分组业务数据节点(PDSN)支持的IP地址类型请求,以及接收来自所述基站的请求回应,根据所述请求回应获取所述分组业务数据节点支持的IP地址类型。当终端接入基站时,就已确定了下一步接入的PDSN,因此终端通过基站能获取分组业务数据节点的IP地址类型。In the above technical solution, preferably, the acquiring unit is configured to send a request to the base station to acquire the IP address type supported by the packet service data node (PDSN) corresponding to the access network, and receive a request response from the base station , acquiring the IP address type supported by the packet service data node according to the request response. When the terminal accesses the base station, the PDSN to be accessed in the next step has been determined, so the terminal can obtain the IP address type of the packet service data node through the base station.
在上述任一技术方案中,优选的,所述终端的通信单元用于在所述判断单元的判断结果为不相同且所述终端保存有与所述接入网络支持的IP地址类型相同的IP地址时,根据所述IP地址进行通信。终端发起拨号指定的类型是IPV4和IPV6类型时,能同时获取IPV4和IPV6的地址,假设之前接入的网络是V6网络,在切换到V4网络之后,IPV6地址失效,则采用终端保存的IPV4地址直接进行通信。当然,也可以不采用保留的IPV4地址,重新拨号获取新的IPV4地址。In any of the above technical solutions, preferably, the communication unit of the terminal is configured to determine that the judgment result of the judging unit is not the same and the terminal stores an IP address of the same type as the IP address supported by the access network. address, communicate based on the IP address. When the type specified by the terminal to initiate dialing is IPV4 and IPV6, it can obtain both IPV4 and IPV6 addresses at the same time. Assuming that the previously connected network is a V6 network, after switching to the V4 network, the IPV6 address becomes invalid, and the IPV4 address saved by the terminal is used. communicate directly. Certainly, the reserved IPV4 address may not be used, and a new IPV4 address may be obtained by redialing.
若该IPV4地址不在V4网络所规定的地址范围内,则可重新进行拨号确认新的IPV4地址。判断该IPV4地址是否在地址范围内的方式可以是终端将获取的该IPV4地址反馈至相应的网元PDSN进行判断。If the IPV4 address is not within the address range specified by the V4 network, dial again to confirm the new IPV4 address. A manner of judging whether the IPV4 address is within the address range may be that the terminal feeds back the obtained IPV4 address to a corresponding network element PDSN for judging.
在上述任一技术方案中,优选的,所述拨号单元用于在所述判断单元的判断结果为不相同且所述终端没有保存与所述接入网络支持的IP地址类型相同的IP地址时,断开当前的点对点连接,向与所述接入网络对应的分组业务数据节点发送新的点对点连接请求,获取与所述分组业务数据节点所支持的IP地址类型相同的IP地址,根据新的IP地址进行数据传输。由于之前的IP地址已经无效,因此可断开当前的点对点连接,重新发起新的点对点连接,根据新IP地址类型进行拨号。In any of the above technical solutions, preferably, the dialing unit is used for when the judging result of the judging unit is different and the terminal does not save an IP address of the same type as the IP address supported by the access network , disconnect the current point-to-point connection, send a new point-to-point connection request to the packet service data node corresponding to the access network, and obtain an IP address of the same type as the IP address supported by the packet service data node, according to the new IP address for data transfer. Since the previous IP address is invalid, you can disconnect the current point-to-point connection, re-initiate a new point-to-point connection, and dial according to the new IP address type.
在上述任一技术方案中,优选的,所述终端的通信处理器用于在发生小区重选时,向所述获取单元上报网络切换状态;所述获取单元在接收到所述通信处理器上报的网络切换状态后,向所述基站发送所述请求。In any of the above technical solutions, preferably, the communication processor of the terminal is configured to report the network handover status to the acquisition unit when cell reselection occurs; After the network switches the state, send the request to the base station.
应理解,也可以由通信处理器向基站发送获取接入网络所支持的IP地址类型。It should be understood that the communication processor may also send to the base station to obtain the IP address type supported by the access network.
在上述任一技术方案中,优选的,还可以包括:检测单元,检测所述终端的当前数据业务状态,若检测出业务数据无法传输,则通知所述获取单元获取与所述接入网络对应的分组业务数据节点所支持的IP地址类型。In any of the above technical solutions, preferably, it may further include: a detection unit, which detects the current data service status of the terminal, and if it is detected that the service data cannot be transmitted, then notifies the acquisition unit to obtain the data corresponding to the access network The IP address type supported by the packet service data node.
一个分组业务数据节点可能连接多个基站,当终端在同一个分组业务数据节点所连接的基站之间进行切换连接时,其IP地址类型并没有发生改变,此时就无需进行IP地址类型的更新,业务数据的进行不会因为小区重选而造成影响,否则,业务数据将无法进行正常传输,此时就需要进行IP地址类型的更新,因此在发现业务数据进行出现异常时,才进行IP地址类型的判断,在判断结果为不一致时,根据新的IP地址类型进行重新拨号。A packet service data node may be connected to multiple base stations. When the terminal switches connections between the base stations connected to the same packet service data node, its IP address type does not change, and there is no need to update the IP address type at this time. , the business data will not be affected by cell reselection, otherwise, the business data will not be able to be transmitted normally, and at this time it is necessary to update the IP address type, so when the business data is found to be abnormal, the IP address will be updated Type judgment, when the judgment result is inconsistent, redial is performed according to the new IP address type.
根据本发明的另一方面,还提供了一种网络切换控制方法,包括:在终端发生小区重选时,获取接入网络所支持的IP地址类型;判断所述接入网络所支持的IP地址类型与当前使用的IP地址类型是否相同;在判断结果为不相同时,根据所述接入网络支持的IP地址类型进行拨号。According to another aspect of the present invention, there is also provided a network handover control method, including: when the terminal undergoes cell reselection, obtain the IP address type supported by the access network; determine the IP address supported by the access network Whether the type is the same as the currently used IP address type; if the judging result is different, perform dialing according to the IP address type supported by the access network.
在终端发生小区重选时(网络环境发生了变化),根据当前接入的网络所支持的IP地址类型和当前获取的IP地址类型确定是否触发新的拨号,在发现两者不相同时,进行IP地址类型的更新,根据新的IP地址进行数据传,以使当前数据业务能够连续进行,对业务数据造成的影响减小到最低。When cell reselection occurs on the terminal (the network environment has changed), it is determined whether to trigger a new dial-up according to the IP address type supported by the currently connected network and the currently obtained IP address type. When the two are found to be different, perform The IP address type is updated, and the data is transmitted according to the new IP address, so that the current data service can be continuously carried out, and the impact on the service data is minimized.
在上述技术方案中,优选的,所述获取接入网络所支持的IP地址类型的步骤可以包括:向基站发送获取所述分组业务数据节点支持的IP地址类型请求;接收来自所述基站的请求回应,根据所述请求回应获取所述分组业务数据节点支持的IP地址类型。In the above technical solution, preferably, the step of obtaining the IP address type supported by the access network may include: sending a request to the base station to obtain the IP address type supported by the packet service data node; receiving the request from the base station Response, obtaining the IP address type supported by the packet service data node according to the request response.
当终端接入基站时,就已确定了下一步接入的PDSN,因此终端通过基站能获取分组业务数据节点的IP地址类型。When the terminal accesses the base station, the PDSN to be accessed in the next step has been determined, so the terminal can obtain the IP address type of the packet service data node through the base station.
在上述任一技术方案中,优选的,在判断结果为不相同且所述终端保存有与所述接入网络支持的IP地址类型相同的IP地址时,根据所述IP地址进行通信。终端发起拨号指定的类型是IPV4和IPV6类型时,能同时获取IPV4和IPV6的地址,假设之前接入的网络是V6网络,在切换到V4网络之后,IPV6地址失效,则采用终端保存的IPV4地址直接进行通信。若该IPV4地址不在V4网络所规定的地址范围内,则可重新进行拨号确认新的IPV4地址。判断该IPV4地址是否在地址范围内的方式可以是终端将获取的该IPV4地址反馈至相应的网元PDSN进行判断。In any of the above technical solutions, preferably, when the judgment result is different and the terminal stores an IP address of the same type as the IP address supported by the access network, communication is performed according to the IP address. When the type specified by the terminal to initiate dialing is IPV4 and IPV6, it can obtain both IPV4 and IPV6 addresses at the same time. Assuming that the previously connected network is a V6 network, after switching to the V4 network, the IPV6 address becomes invalid, and the IPV4 address saved by the terminal is used. communicate directly. If the IPV4 address is not within the address range specified by the V4 network, dial again to confirm the new IPV4 address. A manner of judging whether the IPV4 address is within the address range may be that the terminal feeds back the obtained IPV4 address to a corresponding network element PDSN for judging.
在上述任一技术方案中,优选的,在所述判断结果为不相同且所述终端没有保存与所述接入网络支持的IP地址类型相同的IP地址时,断开当前的点对点连接,向与所述接入网络对应的分组业务数据节点发送新的点对点连接请求;获取与所述分组业务数据节点所支持的IP地址类型相同的IP地址,根据新的IP地址进行数据传输。由于之前的IP地址已经无效,因此可断开当前的点对点连接,重新发起新的点对点连接,根据新IP地址类型进行拨号。In any of the above technical solutions, preferably, when the judgment result is different and the terminal does not store an IP address of the same type as the IP address supported by the access network, the current point-to-point connection is disconnected, and the The packet service data node corresponding to the access network sends a new point-to-point connection request; obtains an IP address of the same type as the IP address supported by the packet service data node, and performs data transmission according to the new IP address. Since the previous IP address is invalid, you can disconnect the current point-to-point connection, re-initiate a new point-to-point connection, and dial according to the new IP address type.
在上述任一技术方案中,优选的,在发生小区重选时,由终端中的通信处理器向应用处理器上报网络切换状态,由所述应用处理器向所述基站发送所述请求。应理解,也可以由通信处理器向基站发送获取接入网络所支持的IP地址类型。In any of the above technical solutions, preferably, when cell reselection occurs, the communication processor in the terminal reports the network switching status to the application processor, and the application processor sends the request to the base station. It should be understood that the communication processor may also send to the base station to obtain the IP address type supported by the access network.
在上述任一技术方案中,优选的,还可以包括:检测当前数据业务状态,若检测出业务数据无法传输,则获取与所述接入网络对应的分组业务数据节点所支持的IP地址类型。一个分组业务数据节点可能连接多个基站,当终端在同一个分组业务数据节点所连接的基站之间进行切换连接时,其IP地址类型并没有发生改变,此时就无需进行IP地址类型的更新,业务数据的进行不会因为小区重选而造成影响,否则,业务数据将无法进行正常传输,此时就需要进行IP地址类型的更新,因此在发现业务数据进行出现异常时,才进行IP地址类型的判断,在判断结果为不一致时,根据新的IP地址类型进行重新拨号。In any of the above technical solutions, preferably, it may further include: detecting the current data service status, and if it is detected that the service data cannot be transmitted, obtaining the IP address type supported by the packet service data node corresponding to the access network. A packet service data node may be connected to multiple base stations. When the terminal switches connections between the base stations connected to the same packet service data node, its IP address type does not change, and there is no need to update the IP address type at this time. , the business data will not be affected by cell reselection, otherwise, the business data will not be able to be transmitted normally, and at this time it is necessary to update the IP address type, so when the business data is found to be abnormal, the IP address will be updated Type judgment, when the judgment result is inconsistent, redial is performed according to the new IP address type.
附图说明Description of drawings
图1示出了根据本发明的实施例的终端的框图;Fig. 1 shows a block diagram of a terminal according to an embodiment of the present invention;
图2示出了根据本发明的实施例的通信系统示意图;Fig. 2 shows a schematic diagram of a communication system according to an embodiment of the present invention;
图3示出了根据本发明的实施例的各网元之间的交互示意图;FIG. 3 shows a schematic diagram of interaction between network elements according to an embodiment of the present invention;
图4示出了根据本发明的一个实施例的网络切换控制方法的流程图;FIG. 4 shows a flowchart of a network switching control method according to an embodiment of the present invention;
图5示出了根据本发明的另一实施例的网络切换控制方法的流程图。Fig. 5 shows a flow chart of a network switching control method according to another embodiment of the present invention.
具体实施方式Detailed ways
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用不同于在此描述的第二方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in a second mode different from that described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.
根据本发明的终端包括手机、平板电脑等便携式终端,该终端支持多模多待或多模单待或单模。The terminals according to the present invention include portable terminals such as mobile phones and tablet computers, and the terminals support multi-mode multi-standby or multi-mode single-standby or single-mode.
图1示出了根据本发明的实施例的终端的框图。FIG. 1 shows a block diagram of a terminal according to an embodiment of the present invention.
如图1所示,根据本发明的实施例的终端100包括:获取单元102,在发生小区重选时,获取接入网络所支持的IP地址类型;判断单元104,用于判断所述接入网络所支持的IP地址类型与当前使用的IP地址类型是否相同;拨号单元106,在判断结果为不相同时,根据所述接入网络支持的IP地址类型进行拨号。As shown in Figure 1, the terminal 100 according to the embodiment of the present invention includes: an acquisition unit 102, which acquires the IP address type supported by the access network when cell reselection occurs; a judgment unit 104, which is used to judge the access Whether the IP address type supported by the network is the same as the currently used IP address type; if the judgment result is different, the dialing unit 106 performs dialing according to the IP address type supported by the access network.
在终端发生小区重选时(网络环境发生了变化),根据当前接入的网络所支持的IP地址类型和当前获取的IP地址类型确定是否触发新的拨号,在发现两者不相同时,进行IP地址类型的更新,根据新的IP地址进行数据传,以使当前数据业务能够连续进行,对业务数据造成的影响减小到最低。When cell reselection occurs on the terminal (the network environment has changed), it is determined whether to trigger a new dial-up according to the IP address type supported by the currently connected network and the currently obtained IP address type. When the two are found to be different, perform The IP address type is updated, and the data is transmitted according to the new IP address, so that the current data service can be continuously carried out, and the impact on the service data is minimized.
在上述技术方案中,优选的,所述获取单元102用于向基站发送获取与所述接入网络对应的分组业务数据节点(PDSN)支持的IP地址类型请求,以及接收来自所述基站的请求回应,根据所述请求回应获取所述分组业务数据节点支持的IP地址类型。当终端接入基站时,就已确定了下一步接入的PDSN,因此终端通过基站能获取分组业务数据节点的IP地址类型。In the above technical solution, preferably, the acquiring unit 102 is configured to send a request to the base station to acquire the IP address type supported by the packet service data node (PDSN) corresponding to the access network, and receive the request from the base station Response, obtaining the IP address type supported by the packet service data node according to the request response. When the terminal accesses the base station, the PDSN to be accessed in the next step has been determined, so the terminal can obtain the IP address type of the packet service data node through the base station.
在上述任一技术方案中,优选的,所述终端的通信单元108用于在所述判断单元的判断结果为不相同且所述终端保存有与所述接入网络支持的IP地址类型相同的IP地址时,根据所述IP地址进行通信。终端发起拨号指定的类型是IPV4和IPV6类型时,能同时获取IPV4和IPV6的地址,假设之前接入的网络是V6网络,在切换到V4网络之后,IPV6地址失效,则采用终端保存的IPV4地址直接进行通信。当然,也可以不采用保留的IPV4地址,重新拨号获取新的IPV4地址。In any of the above technical solutions, preferably, the communication unit 108 of the terminal is configured to determine that the judgment result of the judging unit is not the same and the terminal stores an IP address of the same type as the IP address supported by the access network. In the case of an IP address, communication is performed based on the IP address. When the type specified by the terminal to initiate dialing is IPV4 and IPV6, it can obtain both IPV4 and IPV6 addresses at the same time. Assuming that the previously connected network is a V6 network, after switching to the V4 network, the IPV6 address becomes invalid, and the IPV4 address saved by the terminal is used. communicate directly. Certainly, the reserved IPV4 address may not be used, and a new IPV4 address may be obtained by redialing.
若该IPV4地址不在V4网络所规定的地址范围内,则可重新进行拨号确认新的IPV4地址。判断该IPV4地址是否在地址范围内的方式可以是终端将获取的该IPV4地址反馈至相应的网元PDSN进行判断。If the IPV4 address is not within the address range specified by the V4 network, dial again to confirm the new IPV4 address. A manner of judging whether the IPV4 address is within the address range may be that the terminal feeds back the obtained IPV4 address to a corresponding network element PDSN for judging.
在上述任一技术方案中,优选的,所述拨号单元106用于在所述判断单元的判断结果为不相同且所述终端没有保存与所述接入网络支持的IP地址类型相同的IP地址时,断开当前的点对点连接,向与所述接入网络对应的分组业务数据节点发送新的点对点连接请求,获取与所述分组业务数据节点所支持的IP地址类型相同的IP地址,根据新的IP地址进行数据传输。由于之前的IP地址已经无效,因此可断开当前的点对点连接,重新发起新的点对点连接,根据新IP地址类型进行拨号。In any of the above technical solutions, preferably, the dialing unit 106 is configured to determine that the judgment result of the judging unit is different and the terminal does not save an IP address of the same type as the IP address supported by the access network , disconnect the current point-to-point connection, send a new point-to-point connection request to the packet service data node corresponding to the access network, and obtain an IP address of the same type as the IP address supported by the packet service data node, according to the new IP address for data transmission. Since the previous IP address is invalid, you can disconnect the current point-to-point connection, re-initiate a new point-to-point connection, and dial according to the new IP address type.
在上述任一技术方案中,优选的,所述终端的通信处理器用于在发生小区重选时,向所述获取单元102上报网络切换状态;所述获取单元102在接收到所述通信处理器上报的网络切换状态后,向所述基站发送所述请求。In any of the above technical solutions, preferably, the communication processor of the terminal is configured to report the network switching status to the acquisition unit 102 when cell reselection occurs; the acquisition unit 102 receives the communication processor After the reported network switching state, send the request to the base station.
应理解,也可以由通信处理器向基站发送获取接入网络所支持的IP地址类型。It should be understood that the communication processor may also send to the base station to obtain the IP address type supported by the access network.
在上述任一技术方案中,优选的,还可以包括:检测单元110,检测当前数据业务状态,若检测出业务数据无法传输,则通知所述获取单元102获取与所述接入网络对应的分组业务数据节点所支持的IP地址类型。In any of the above technical solutions, preferably, it may further include: a detecting unit 110, detecting the current data service status, and notifying the obtaining unit 102 to obtain the packet corresponding to the access network if it is detected that the service data cannot be transmitted IP address types supported by service data nodes.
一个分组业务数据节点可能连接多个基站,当终端在同一个分组业务数据节点所连接的基站之间进行切换连接时,其IP地址类型并没有发生改变,此时就无需进行IP地址类型的更新,业务数据的进行不会因为小区重选而造成影响,否则,业务数据将无法进行正常传输,此时就需要进行IP地址类型的更新,因此在发现业务数据进行出现异常时,才进行IP地址类型的判断,在判断结果为不一致时,根据新的IP地址类型进行重新拨号。A packet service data node may be connected to multiple base stations. When the terminal switches connections between the base stations connected to the same packet service data node, its IP address type does not change, and there is no need to update the IP address type at this time. , the business data will not be affected by cell reselection, otherwise, the business data will not be able to be transmitted normally, and at this time it is necessary to update the IP address type, so when the business data is found to be abnormal, the IP address will be updated Type judgment, when the judgment result is inconsistent, redial is performed according to the new IP address type.
接下来结合图2和图3进一步说明根据本发明的终端在通信系统中的应用过程。Next, the application process of the terminal in the communication system according to the present invention will be further described with reference to FIG. 2 and FIG. 3 .
当前网络情况下,对IPv6功能的支持需要PDSN或PDN(共用数据网)的支持,因此就存在在不同的网络之间切换时会出现采用无效IP地址进行数据传输的问题,例如终端保留IPv6的地址,但却处于IPv4的网络下,IPv6地址失效,导致数据业务的严重中断,反之亦然。Under the current network conditions, support for IPv6 functions requires the support of PDSN or PDN (shared data network), so there is a problem of using invalid IP addresses for data transmission when switching between different networks, such as terminals retaining IPv6 However, under the IPv4 network, the IPv6 address becomes invalid, resulting in serious interruption of data services, and vice versa.
如图2所示,PDSN1支持IPv4和IPv6,PDSN2仅支持IPv4,一个PDSN1可与所属的多个基站进行通信。终端(TE)在接入基站(BTS)时就已确定了下一步接入的PDSN,当发生小区切换时,终端主动获取当前接入的PDSN所支持的协议类型,然后根据终端当前保留的IP地址类型和当前接入的PDSN所支持的协议类型来确定是否触发新的拨号,以保证数据业务的持续性。终端与各网元的交互处理过程可参见图3。As shown in FIG. 2 , PDSN1 supports IPv4 and IPv6, PDSN2 only supports IPv4, and one PDSN1 can communicate with multiple base stations to which it belongs. When the terminal (TE) accesses the base station (BTS), it has already determined the PDSN to be accessed in the next step. When a cell handover occurs, the terminal actively obtains the protocol type supported by the currently accessed PDSN, and then according to the IP currently reserved by the terminal, The address type and the protocol type supported by the currently accessed PDSN determine whether to trigger a new dial to ensure the continuity of data services. Refer to FIG. 3 for the interactive processing process between the terminal and each network element.
如图3所示,终端302在发生小区重选时,向接入的基站304发送当前所网络所支持的IPv4/IPv6类型的查询请求。基站304在接收到该查询请求后,将PDSN所支持的IP地址类型反馈至终端302。终端302在接收到该IP地址类型后,将已保留的IP地址类型(之前拨号所采用的IP地址类型)与PDSN所支持的IP地址类型进行比较,若相同,则无需发起新的拨号流程,若不相同,则发起新的拨号流程。终端根据分组业务数据节点306所支持的IP地址类型向分组业务数据节点306发起点对点连接请求,PDSN为终端分配新的IP地址,以更新终端的IP地址类型。终端302根据新的IP地址与应用服务器308进行通信,进行socket数据业务传输。终端302与应用服务器308之间可通过多条socket传输链路进行数据的传输,假设终端302与应用服务器308之间进行http网页的多任务传输,每个socket链路传输其中一部分数据,即便其中一个socket链路中断,也能重新获取相应的数据,而其余链路正常传输,给用户造成的影响是,一个网页的一部分先被显示,而其他部分显示后显示,不会造成整个网页内容都不能显示的后果,从而保证了数据业务的连续性,提高了上网体验。As shown in FIG. 3 , when cell reselection occurs, the terminal 302 sends an inquiry request of the type of IPv4/IPv6 currently supported by the network to the accessed
终端侧能够先了解当前接入网络的IP类型,直接发起相应IP类型的拨号。终端在网络之间进行迁移时,和终端交互的网元可能不支持指定的IP类型,若终端拨号是IPv6和IPv4类型,则获取的是IPv6地址和IPv4地址,按照终端的流量迁移准则,会将流量全部迁移到IPv6网络上,但如果此时终端所处的网络发生了改变,迁移到只支持IPv4的网络上,连接依然存在,两个IP地址也存在,但IPv6地址已失效,此时,终端是无法获取该情况的,这样终端依然会以IPv6地址进行通信,其结果是该数据包在仅支持IPv4的网络上无法识别,通信失败,而采用本发明的技术方案在这种情况下,终端仅需要使用IPv4地址进行通信,发送IPv4数据报文就可以实现通信了,不需要在网络侧增加其他网元来实现。The terminal side can first understand the IP type of the current access network, and directly initiate a dial-up of the corresponding IP type. When a terminal is migrating between networks, the network element interacting with the terminal may not support the specified IP type. If the terminal dials up IPv6 and IPv4 types, the IPv6 address and IPv4 address will be obtained. According to the traffic migration criteria of the terminal, it will Migrate all the traffic to the IPv6 network, but if the network where the terminal is located changes at this time and migrates to a network that only supports IPv4, the connection still exists and the two IP addresses also exist, but the IPv6 address is no longer valid. , the terminal cannot obtain this situation, so the terminal will still communicate with the IPv6 address, as a result, the data packet cannot be recognized on the network that only supports IPv4, and the communication fails, and the technical solution of the present invention is used in this case , the terminal only needs to use the IPv4 address to communicate, and the communication can be realized by sending IPv4 data packets, without adding other network elements on the network side.
图4示出了根据本发明的一个实施例的网络切换控制方法的流程图。Fig. 4 shows a flowchart of a network switching control method according to an embodiment of the present invention.
如图4所示,步骤402,在终端发生小区切换时,终端的通信处理器将小区切换状态上报给应用处理器。此处,由于通信处理器有相应的标准规范,不便进行改进,因此,可由应用处理器向基站发送支持协议类型获取请求,当然也可直接由通信处理器向基站发送获取请求。其中,通信处理器是用于运行通信协议的,而应用处理器是用于运行操作系统例如安卓系统的,是一种逻辑上的划分。As shown in FIG. 4 , in
步骤404,终端的应用处理器向基站发送获取当前接入的PDSN所支持的IP地址类型请求。In
步骤406,接收来自基站的请求回应。
步骤408,判断接入的PDSN所支持的IP地址类型与终端当前保留的IP地址类型是否一致,如果一致,则退出本处理流程,如果不一致,则进入步骤410。
步骤410,断开当前的点对点连接,根据PDSN的IP地址类型进行新的拨号。
因此,本技术方案能够考虑到网络环境变化因素,自动判断是否启用相应类型的协议栈,从而确保终端能够充分使用网络资源,确保终端上网达到最佳的用户体验。Therefore, the technical solution can automatically determine whether to enable the corresponding type of protocol stack in consideration of network environment change factors, so as to ensure that the terminal can fully use network resources and ensure that the terminal achieves the best user experience when surfing the Internet.
图5示出了根据本发明的另一实施例的网络切换控制方法的流程图。Fig. 5 shows a flow chart of a network switching control method according to another embodiment of the present invention.
如图5所示,根据本发明的实施例的网络切换控制方法可以包括以下步骤:步骤502,在发生小区重选时,获取接入网络所支持的IP地址类型;步骤504,判断所述接入网络所支持的IP地址类型与当前使用的IP地址类型是否相同;步骤506,在判断结果为不相同时,根据所述接入网络支持的IP地址类型进行拨号。在终端发生小区重选时(网络环境发生了变化),根据当前接入的网络所支持的IP地址类型和当前获取的IP地址类型确定是否触发新的拨号,在发现两者不相同时,进行IP地址类型的更新,根据新的IP地址进行数据传输,以使当前数据业务能够连续进行,对业务数据造成的影响减小到最低。As shown in Figure 5, the network handover control method according to the embodiment of the present invention may include the following steps: Step 502, when cell reselection occurs, obtain the IP address type supported by the access network; Whether the IP address type supported by the access network is the same as the currently used IP address type;
在上述技术方案中,优选的,所述获取接入网络所支持的IP地址类型的步骤可以包括:向基站发送获取所述分组业务数据节点支持的IP地址类型请求;接收来自所述基站的请求回应,根据所述请求回应获取所述分组业务数据节点支持的IP地址类型。当终端接入基站时,就已确定了下一步接入的PDSN,因此终端通过基站能获取分组业务数据节点的IP地址类型。In the above technical solution, preferably, the step of obtaining the IP address type supported by the access network may include: sending a request to the base station to obtain the IP address type supported by the packet service data node; receiving the request from the base station Response, obtaining the IP address type supported by the packet service data node according to the request response. When the terminal accesses the base station, the PDSN to be accessed in the next step has been determined, so the terminal can obtain the IP address type of the packet service data node through the base station.
在上述任一技术方案中,优选的,在判断结果为不相同且所述终端保存有与所述接入网络支持的IP地址类型相同的IP地址时,根据所述IP地址进行通信。终端发起拨号指定的类型是IPV4和IPV6类型时,能同时获取IPV4和IPV6的地址,假设之前接入的网络是V6网络,在切换到V4网络之后,IPV6地址失效,则采用终端保存的IPV4地址直接进行通信。In any of the above technical solutions, preferably, when the judgment result is different and the terminal stores an IP address of the same type as the IP address supported by the access network, communication is performed according to the IP address. When the type specified by the terminal to initiate dialing is IPV4 and IPV6, it can obtain both IPV4 and IPV6 addresses at the same time. Assuming that the previously connected network is a V6 network, after switching to the V4 network, the IPV6 address becomes invalid, and the IPV4 address saved by the terminal is used. communicate directly.
若该IPV4地址不在V4网络所规定的地址范围内,则可重新进行拨号确认新的IPV4地址。判断该IPV4地址是否在地址范围内的方式可以是终端将获取的该IPV4地址反馈至相应的网元PDSN进行判断。If the IPV4 address is not within the address range specified by the V4 network, dial again to confirm the new IPV4 address. A manner of judging whether the IPV4 address is within the address range may be that the terminal feeds back the obtained IPV4 address to a corresponding network element PDSN for judging.
在上述任一技术方案中,优选的,在所述判断结果为不相同且所述终端没有保存与所述接入网络支持的IP地址类型相同的IP地址时,断开当前的点对点连接,向与所述接入网络对应的分组业务数据节点发送新的点对点连接请求;获取与所述分组业务数据节点所支持的IP地址类型相同的IP地址,根据新的IP地址进行数据传输。由于之前的IP地址已经无效,因此可断开当前的点对点连接,重新发起新的点对点连接,根据新IP地址类型进行拨号。In any of the above technical solutions, preferably, when the judgment result is different and the terminal does not store an IP address of the same type as the IP address supported by the access network, the current point-to-point connection is disconnected, and the The packet service data node corresponding to the access network sends a new point-to-point connection request; obtains an IP address of the same type as the IP address supported by the packet service data node, and performs data transmission according to the new IP address. Since the previous IP address is invalid, you can disconnect the current point-to-point connection, re-initiate a new point-to-point connection, and dial according to the new IP address type.
在上述任一技术方案中,优选的,在发生小区重选时,由终端中的通信处理器向应用处理器上报网络切换状态,由所述应用处理器向所述基站发送所述请求。应理解,也可以由通信处理器向基站发送获取接入网络所支持的IP地址类型。In any of the above technical solutions, preferably, when cell reselection occurs, the communication processor in the terminal reports the network switching status to the application processor, and the application processor sends the request to the base station. It should be understood that the communication processor may also send to the base station to obtain the IP address type supported by the access network.
在上述任一技术方案中,优选的,还可以包括:检测当前数据业务状态,若检测出业务数据无法传输,则获取与所述接入网络对应的分组业务数据节点所支持的IP地址类型。In any of the above technical solutions, preferably, it may further include: detecting the current data service status, and if it is detected that the service data cannot be transmitted, obtaining the IP address type supported by the packet service data node corresponding to the access network.
一个分组业务数据节点可能连接多个基站,当终端在同一个分组业务数据节点所连接的基站之间进行切换连接时,其IP地址类型并没有发生改变,此时就无需进行IP地址类型的更新,业务数据的进行不会因为小区重选而造成影响,否则,业务数据将无法进行正常传输,此时就需要进行IP地址类型的更新,因此在发现业务数据进行出现异常时,才进行IP地址类型的判断,在判断结果为不一致时,根据新的IP地址类型进行重新拨号。A packet service data node may be connected to multiple base stations. When the terminal switches connections between the base stations connected to the same packet service data node, its IP address type does not change, and there is no need to update the IP address type at this time. , the business data will not be affected by cell reselection, otherwise, the business data will not be able to be transmitted normally, and at this time it is necessary to update the IP address type, so when the business data is found to be abnormal, the IP address will be updated Type judgment, when the judgment result is inconsistent, redial is performed according to the new IP address type.
以上结合附图详细说明了根据本发明的技术方案,当前运营商的IPv6网络建设需要相当长的一段时间才能完成,且由于成本原因,会导致部分网络不支持IPv6,V4网络和V6网络将同时长期共存,因此就存在终端在v4网络和v6网络之间切换的问题,按照之前的方案,终端获取的IP地址和网络支持的IP地址类型不符,导致终端无法传输数据,严重影响了用户体验,而采用了根据本发明的技术方案之后,能够进行IP地址类型的自动更新,确保了切换后用户使用数据业务的连续性。The technical solution according to the present invention has been described in detail above in conjunction with the accompanying drawings. The current operator's IPv6 network construction needs a long period of time to complete, and due to cost reasons, some networks will not support IPv6, and the V4 network and V6 network will be simultaneously Long-term coexistence, so there is a problem that the terminal switches between the v4 network and the v6 network. According to the previous solution, the IP address obtained by the terminal does not match the type of IP address supported by the network, resulting in the terminal being unable to transmit data, which seriously affects the user experience. However, after adopting the technical solution according to the present invention, the IP address type can be automatically updated, ensuring the continuity of the data service used by the user after switching.
在以上实施例中以IPv6和IPv4为例进行解释,需说明的是,本发明同样适用于新出现的协议类型。In the above embodiments, IPv6 and IPv4 are taken as examples for explanation, and it should be noted that the present invention is also applicable to emerging protocol types.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310264576.4A CN103327482B (en) | 2013-06-27 | 2013-06-27 | Terminal and network method for handover control |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310264576.4A CN103327482B (en) | 2013-06-27 | 2013-06-27 | Terminal and network method for handover control |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103327482A true CN103327482A (en) | 2013-09-25 |
| CN103327482B CN103327482B (en) | 2016-09-21 |
Family
ID=49195961
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310264576.4A Active CN103327482B (en) | 2013-06-27 | 2013-06-27 | Terminal and network method for handover control |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103327482B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106302038A (en) * | 2015-06-29 | 2017-01-04 | 现代自动车株式会社 | Internet protocol cut-in method and for performing its remote information process device |
| CN106375224A (en) * | 2015-07-22 | 2017-02-01 | 国基电子(上海)有限公司 | Router and method for network connection using the router |
| CN114553831A (en) * | 2020-11-25 | 2022-05-27 | 华为技术有限公司 | Method and system related to sending management IP address |
| CN116634510A (en) * | 2023-05-15 | 2023-08-22 | 杭州逗酷软件科技有限公司 | Network selection method, device, client terminal equipment and readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101715218A (en) * | 2009-10-29 | 2010-05-26 | 新邮通信设备有限公司 | Improved cell update method and equipment |
| CN102025790A (en) * | 2009-09-23 | 2011-04-20 | 中兴通讯股份有限公司 | Address allocation method, device and system |
| CN102577458A (en) * | 2009-08-12 | 2012-07-11 | 捷讯研究有限公司 | Accommodating hybrid IPV4V6 network support |
| KR101193647B1 (en) * | 2011-09-06 | 2012-10-24 | 에스케이텔레콤 주식회사 | Apparatus and method for simultaneously transmitting data in heterogeneous network |
| KR20130026747A (en) * | 2011-09-06 | 2013-03-14 | 에스케이텔레콤 주식회사 | Apparatus and method for simultaneously transmitting data in heterogeneous network |
-
2013
- 2013-06-27 CN CN201310264576.4A patent/CN103327482B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102577458A (en) * | 2009-08-12 | 2012-07-11 | 捷讯研究有限公司 | Accommodating hybrid IPV4V6 network support |
| CN102025790A (en) * | 2009-09-23 | 2011-04-20 | 中兴通讯股份有限公司 | Address allocation method, device and system |
| CN101715218A (en) * | 2009-10-29 | 2010-05-26 | 新邮通信设备有限公司 | Improved cell update method and equipment |
| KR101193647B1 (en) * | 2011-09-06 | 2012-10-24 | 에스케이텔레콤 주식회사 | Apparatus and method for simultaneously transmitting data in heterogeneous network |
| KR20130026747A (en) * | 2011-09-06 | 2013-03-14 | 에스케이텔레콤 주식회사 | Apparatus and method for simultaneously transmitting data in heterogeneous network |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106302038A (en) * | 2015-06-29 | 2017-01-04 | 现代自动车株式会社 | Internet protocol cut-in method and for performing its remote information process device |
| CN106375224A (en) * | 2015-07-22 | 2017-02-01 | 国基电子(上海)有限公司 | Router and method for network connection using the router |
| CN114553831A (en) * | 2020-11-25 | 2022-05-27 | 华为技术有限公司 | Method and system related to sending management IP address |
| US11552926B2 (en) | 2020-11-25 | 2023-01-10 | Huawei Technologies Co., Ltd. | Method related to sending management IP address and system |
| CN114553831B (en) * | 2020-11-25 | 2023-09-08 | 华为技术有限公司 | Method and system related to sending management IP address |
| CN116634510A (en) * | 2023-05-15 | 2023-08-22 | 杭州逗酷软件科技有限公司 | Network selection method, device, client terminal equipment and readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103327482B (en) | 2016-09-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8868074B2 (en) | Method, device and mobile terminal for switching network connection automatically | |
| EP2992644B1 (en) | Enhancing a mobile backup channel to address a node failure in a wireline network | |
| CN106790732B (en) | Address translation method, device and system, and network identification control method and device | |
| JP7467669B2 (en) | Connection establishment method, communication device, and system | |
| US10567216B2 (en) | Fault detection method, gateway, user equipment, and communications system | |
| WO2013131472A1 (en) | Message processing method, device and system | |
| KR101909400B1 (en) | Method and system for managing network traffic | |
| US9025448B2 (en) | Methods and apparatuses for accessing internet | |
| CN115243396B (en) | Information processing method, session management function network element and user plane function network element | |
| US20120176970A1 (en) | Methods and systems for implementing inter-network roam, querying and attaching network | |
| WO2016101575A1 (en) | Voice service switching method and device | |
| CN111884836B (en) | A service transmission method and device | |
| WO2015043520A1 (en) | Method and terminal for activating pdn | |
| CN103327482B (en) | Terminal and network method for handover control | |
| CN110099430A (en) | A kind of service equipment switching method and its device | |
| US20190110323A1 (en) | Access method, apparatus, device, and system | |
| WO2018053894A1 (en) | Internet-of-things access point handover method and device based on transmission rate | |
| EP2482585A1 (en) | Method and system for realizing terminal handover | |
| CN104601561A (en) | Registration method of network, registration terminal, registration device and home network | |
| KR102003739B1 (en) | Method for application hosting by access node and appratus therefor | |
| CN111565479A (en) | Communication method, device and system thereof | |
| CN101686081A (en) | Method for reestablishing synchronous connection, device and system thereof | |
| KR102090493B1 (en) | Device and method of HTTP Proxy to reduce the HTTP protocol transmission delay and the HTTP processing load in Mobile Communication Networks | |
| US10111081B2 (en) | Local communication wireless network system and method thereof | |
| CN101237364A (en) | A method for improving the stability of point-to-point peer-to-peer communication in wireless communication network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20251118 Address after: 430000 Hubei Province, Wuhan City, Qiaokou District, Qiaokou Road, Gezhouba City Garden Phase II, Building 11, 38th Floor, No. 2-2 Patentee after: Chicheng worry free (Wuhan) Technology Co.,Ltd. Country or region after: China Address before: 518040 8th Floor, Block B, Innovation Science and Technology Plaza, Tian'an Digital City, Chegongmiao, Dongguan City, Guangdong Province Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd. Country or region before: China |