CN104754558B - A kind of method and relevant device of selection network connection - Google Patents

A kind of method and relevant device of selection network connection Download PDF

Info

Publication number
CN104754558B
CN104754558B CN201310728804.9A CN201310728804A CN104754558B CN 104754558 B CN104754558 B CN 104754558B CN 201310728804 A CN201310728804 A CN 201310728804A CN 104754558 B CN104754558 B CN 104754558B
Authority
CN
China
Prior art keywords
portable radio
radio device
module
mobile terminal
mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310728804.9A
Other languages
Chinese (zh)
Other versions
CN104754558A (en
Inventor
杨天乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201310728804.9A priority Critical patent/CN104754558B/en
Publication of CN104754558A publication Critical patent/CN104754558A/en
Application granted granted Critical
Publication of CN104754558B publication Critical patent/CN104754558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses the methods and relevant device of a kind of selection network connection, the method comprising the steps of: multi-module mobile terminal receives the first parameter information for being issued by portable radio device, and corresponding first configuration parameter of mobile device uplink mode between portable radio device and current mobile network is carried in the first parameter information;According to the first parameter information, by itself, corresponding second configuration parameter of the maximum terminal wireless mode of the message transmission rate between current mobile network is compared multi-module mobile terminal with first configuration parameter, obtains a comparison result;When comparison result shows that second configuration parameter is less than or equal to first configuration parameter, multi-module mobile terminal is connected with mobile device uplink mode with portable radio device, and then accesses current mobile network by portable radio device.Technical solution of the present invention solves the problems, such as that message transmission rate is nonsynchronous when mobile terminal connects mobile network by portable radio device in the prior art.

Description

A kind of method and relevant device of selection network connection
Technical field
The present invention relates to electronic technology field, in particular to a kind of the method and relevant device of selection network connection.
Background technique
With quick universal, the mobile data flow explosive growth of intelligent terminal, have mobility it is high, it is at low cost, build If fireballing wireless broadband business WiFi can effectively to mobile data services, such as second generation mobile communication technology 2G, The third generation mobile communication technology 3G and LTE (Long Term Evolution, long term evolution) play a supporting role, increasingly by To the favor in market.The fusion of " mobile broadband " and " broadband mobile " is the inexorable trend of communication network development, WiFi at Rapid growth state is presented in multi-module mobile terminal for the indispensable technology of Modern mobile terminal, therefore support 2G/3G/WiFi Gesture has incorporated in people's lives.
Currently, the development due to WiFi network is not mature enough, it is big not enough to the coverage area of wireless device, therefore, Under the driving for using WiFi online demand whenever and wherever possible to meet consumer, wideband wireless device comes into being, such as without route By device, MiFi.Wherein, MiFi is referred to as " mobile hot spot " or " portable mobile wireless hot spot ", is a kind of portable broadband wireless dress It sets, has the function of modem, router and access point.The terminals such as mobile phone, plate pass through WiMAX (such as WiFi) It is connected to MiFi equipment, it is that user establishes data connection that MiFi passes through 2G/3G mobile network again.
But when multimode terminal accesses mobile network under MiFi environment, multimode terminal operating system is existed concurrently with WiFi and 3GPP(The3rd Generation Partnership Project, the third-generation technology of wireless interface) when, if MiFi connects mobile network by 2G signal, and terminal uses 3G data channel, then will lead to the speed that terminal is surfed the Internet by MiFi Degree will be less than the channel 3G using itself, so that the asynchronous of data transmission is easily led to, when multimode terminal transmits the waiting of data Between it is longer, influence the communication efficiency of user.
Summary of the invention
The embodiment of the present invention provides a kind of method of selection network connection, passes through for solving mobile terminal in the prior art Portable radio device connect mobile network when because network mode disunity caused by the nonsynchronous problem of message transmission rate.
Technical solution of the embodiment of the present invention is as follows:
The embodiment of the present invention provides a kind of method of selection network connection, comprising the following steps:
Multi-module mobile terminal receives the first parameter information issued by portable radio device, takes in first parameter information With corresponding first configuration parameter of mobile device uplink mode between the portable radio device and current mobile network;
According to first parameter information, multi-module mobile terminal data between the current mobile network by itself Corresponding second configuration parameter of the maximum terminal wireless mode of transmission rate is compared with first configuration parameter, obtains one Comparison result;
When the comparison result shows that second configuration parameter is less than or equal to first configuration parameter, the multimode Mobile terminal is connected with the mobile device uplink mode with the portable radio device, and then passes through the portable radio device Access the current mobile network.
As shown from the above technical solution, current mobile network is being accessed by portable radio device for multi-module mobile terminal When, it will usually occur because between multi-module mobile terminal and portable radio device terminal wireless mode and portable radio device with work as The nonsynchronous situation of data transmission bauds that mobile device uplink mode between preceding mobile network is different and occurs, the present invention Embodiment proposes that after multi-module mobile terminal accesses current mobile network by portable radio device, multi-module mobile terminal is no longer It is only directly to be attached with itself preferred terminal wireless mode with portable radio device, but can wirelessly be moved by receiving The first parameter information containing mobile device uplink mode that dynamic device issues can determine itself by the comparison of configuration parameter Whether the message transmission rate of corresponding terminal wireless mode is greater than the message transmission rate of mobile device uplink mode, and when more When the message transmission rate of mould mobile terminal is less than or equal to the message transmission rate of uplink mode, connect with mobile device uplink mode Enter portable radio device, to guarantee in message transmission rate and mobile device between multi-module mobile terminal and portable radio device The message transmission rate of row mode is consistent, efficiently solves mobile terminal in the prior art and is moved by portable radio device connection Because of the nonsynchronous problem of message transmission rate caused by the disunity of network mode when network, the number of multi-module mobile terminal is reduced According to the delay of transmission.
Preferably, the multi-module mobile terminal is connected with the mobile device uplink mode with the portable radio device, And then the current mobile network is accessed by the portable radio device, specifically: the multi-module mobile terminal is pre- according to one If condition, it is connected with the mobile device uplink mode with the portable radio device, and then passes through the portable radio device Access the current mobile network.Current mobile network is accessed so as to which multi-module mobile terminal is reasonably arranged according to preset condition The access way of network improves the utilization rate of Internet resources.
Preferably, the multi-module mobile terminal is according to a preset condition, with the mobile device uplink mode and the nothing Line mobile device is connected, and then accesses the current mobile network by the portable radio device, specifically: the multimode is moved Terminal is moved using the mobile device uplink mode as default network connection mode, and with mobile device uplink mode access The portable radio device, and then the current mobile network is accessed by the portable radio device.To realize that multimode is moved When dynamic terminal accesses the current mobile network by portable radio device, terminal wireless mode and mobile device uplink mode Message transmission rate is identical, avoid the occurrence of because message transmission rate it is asynchronous caused by data transmit time delay.
Preferably, described according to first parameter information, the multi-module mobile terminal is by itself and current mobile network Corresponding second configuration parameter of the maximum terminal wireless mode of message transmission rate and first configuration parameter carry out between network Compare, after obtaining a comparison result, the method also includes: when the comparison result shows that second configuration parameter is greater than When first configuration parameter, the multi-module mobile terminal is directly accessed the current mobile network with the terminal wireless mode Network.To realize that multi-module mobile terminal is directly accessed mobile network using the faster terminal wireless mode of own data transmission rate Network can improve the data transmission speed of multi-module mobile terminal without accessing the lesser portable radio device of uplink transmission rate Rate.
Preferably, first parameter information is the dynamic master for being encapsulated in dynamic host configuration protocol DHCP or supporting IPv6 Field information in machine configuration protocol DHCP v6.
Preferably, described according to first parameter information, the multi-module mobile terminal is by itself with described when Forward Corresponding second configuration parameter of the maximum terminal wireless mode of message transmission rate and first configuration parameter between dynamic network It is compared, before obtaining a comparison result, the method also includes: according to the predetermined period time, the multi-module mobile terminal Request message is issued to the portable radio device by the DHCP protocol or the DHCP v6 agreement;It obtains by the nothing The first configuration ginseng corresponding with the mobile device uplink mode that line mobile device is transmitted based on the request message Number.Therefore multi-module mobile terminal can periodically obtain corresponding first configuration parameter of mobile device uplink mode, lead to It crosses and is compared with the terminal wireless mode of itself, to update current mobile network.
The embodiment of the present invention provides a kind of multi-module mobile terminal, comprising: receiving module, for receiving by portable radio device The first parameter information issued carries between the portable radio device and current mobile network in first parameter information Corresponding first configuration parameter of mobile device uplink mode;Comparison module is used for according to first parameter information, described more The mould mobile terminal maximum terminal wireless mode of the message transmission rate between the current mobile network corresponding by itself Two configuration parameters are compared with first configuration parameter, obtain a comparison result;Processing module, for relatively being tied when described When fruit shows that the second configuration parameter is less than first configuration parameter, the multi-module mobile terminal is with the mobile device uplink mould Formula is connected with the portable radio device, and then accesses the current mobile network by the portable radio device.
As shown from the above technical solution, current mobile network is being accessed by portable radio device for multi-module mobile terminal When, terminal wireless mode and portable radio device between multi-module mobile terminal and portable radio device and current mobile network it Between mobile device uplink mode it is different caused by the nonsynchronous problem of message transmission rate, the embodiment of the present invention proposes, After multi-module mobile terminal accesses current mobile network by portable radio device, multi-module mobile terminal is no longer only preferred with itself Terminal wireless mode be directly attached with portable radio device, but can be by receiving containing of issuing of portable radio device There is the first parameter information of mobile device uplink mode, itself corresponding terminal wireless can be determined by the comparison of configuration parameter Whether the message transmission rate of mode is greater than the message transmission rate of mobile device uplink mode, and works as the number of multi-module mobile terminal When being less than or equal to the message transmission rate of uplink mode according to transmission rate, with mobile device uplink mode access wireless mobile dress It sets, to guarantee the data of the message transmission rate between multi-module mobile terminal and portable radio device Yu mobile device uplink mode Transmission rate is consistent, efficiently solves when mobile terminal connects mobile network by portable radio device in the prior art because of network The nonsynchronous problem of message transmission rate caused by the disunity of mode reduces prolonging for the data transmission of multi-module mobile terminal When.
Preferably, the processing module is specifically used for: according to a preset condition, by the multi-module mobile terminal with the shifting Dynamic device uplink mode is connected with the portable radio device, and then accesses the current movement by the portable radio device Network.So as to which the access way of multi-module mobile terminal access current mobile network is reasonably arranged according to preset condition, mention The utilization rate of high Internet resources.
Preferably, the processing module is specifically also used to: the multi-module mobile terminal is with the mobile device uplink mode The portable radio device, Jin Ertong are accessed as default network connection mode, and with the mobile device uplink mode It crosses the portable radio device and accesses the current mobile network.
Preferably, the processing module is also used to: when the comparison result shows second configuration parameter greater than described When the first configuration parameter, the multi-module mobile terminal is directly accessed the current mobile network with the terminal wireless mode.From And when realizing that multi-module mobile terminal accesses the current mobile network by portable radio device, terminal wireless mode and mobile dress The message transmission rate for setting uplink mode is identical, avoid the occurrence of because message transmission rate it is asynchronous caused by data transmit when Prolong.
Preferably, first parameter information is the dynamic master for being encapsulated in dynamic host configuration protocol DHCP or supporting IPv6 Field information in machine configuration protocol DHCP v6.
Preferably, the multi-module mobile terminal further includes cycle module, is used for according to the predetermined period time, by described DHCP protocol or the DHCPv6 agreement issue request message to the portable radio device;It obtains by the portable radio device Corresponding first configuration parameter of the mobile device uplink mode transmitted based on the request message.To when multimode movement When terminal accesses current mobile network by portable radio device, multi-module mobile terminal passes through agreement according to the predetermined period time Request message is issued to obtain mobile device uplink mode to the portable radio device, carries configuration ginseng so as to basis The first several parameter informations determines the message transmission rate of mobile device uplink mode and the data transmission speed of terminal wireless mode Access module is arranged in the size of rate, and multi-module mobile terminal can periodically know mobile device uplink mode, by with itself Terminal wireless mode configuration parameter comparison, determine that the biggish network mode of message transmission rate accesses current mobile network Network, thus by being periodically detected update current mobile network, also improve multi-module mobile terminal and portable radio device can Mobility.
Detailed description of the invention
Fig. 1 is to select the method flow diagram of network connection mode in the embodiment of the present invention one;
Fig. 2A is the option field that is newly defined based on DHCP protocol in the embodiment of the present invention one;
Fig. 2 B is communication of the multi-module mobile terminal based on DHCP protocol and portable radio device in the embodiment of the present invention one Journey;
Fig. 3 A is the option field that is newly defined based on DHCP v6 agreement in the embodiment of the present invention one;
Fig. 3 B is in the embodiment of the present invention one, and multi-module mobile terminal is based on the logical of DHCP v6 agreement and portable radio device Letter process;
Fig. 4 is the primary structure schematic diagram of multi-module mobile terminal in the embodiment of the present invention two;
Fig. 5 is the structural schematic diagram of multi-module mobile terminal in the embodiment of the present invention two.
Specific embodiment
Since multi-module mobile terminal by portable radio device access to mobile network when being attached, it will usually occur because Between terminal wireless mode and portable radio device and current mobile network between multi-module mobile terminal and portable radio device Mobile device uplink mode is different and the nonsynchronous situation of message transmission rate that occurs, and easily lead to data transmission delay Higher, therefore, the embodiment of the present invention proposes, after multi-module mobile terminal accesses current mobile network by portable radio device, The first parameter information containing mobile device uplink mode that multi-module mobile terminal can be issued by receiving portable radio device, Determine whether the message transmission rate of itself corresponding terminal wireless mode is greater than in mobile device by the comparison of configuration parameter The message transmission rate of row mode, and when the data that the message transmission rate of multi-module mobile terminal is less than or equal to uplink mode are transmitted When rate, portable radio device is accessed with mobile device uplink mode, with guarantee multi-module mobile terminal and portable radio device it Between message transmission rate it is consistent with the message transmission rate of mobile device uplink mode, efficiently solve and move in the prior art Terminal by portable radio device connect mobile network when because network mode disunity caused by message transmission rate it is asynchronous The problem of, reduce the delay of the data transmission of multi-module mobile terminal.
Below with reference to each attached drawing to the main realization principle of technical solution of the embodiment of the present invention, specific embodiment and its Beneficial effect corresponding to reach is set forth.
Embodiment one
As shown in Figure 1, for the method flow diagram of the selection network connection mode provided in the embodiment of the present invention, it is specific Process flow is as follows:
Step 11: multi-module mobile terminal receives the first parameter information issued by portable radio device, first parameter The mobile device uplink mode between the portable radio device and current mobile network corresponding first is carried in information to match Set parameter.
It is proposed in the embodiment of the present invention, multi-module mobile terminal is issued in access to mobile network by portable radio device The first parameter information can know mobile device uplink mode, so as to know shifting that portable radio device is able to detect that Data transmission bauds between dynamic network.Multi-module mobile terminal can be mobile phone or other client devices, portable radio device It can be for by the device of terminal device access to communication networks system, such as router, wideband wireless device MIFI etc..
The mobile device uplink mould of portable radio device is determined by received first parameter information in multi-module mobile terminal After formula, multi-module mobile terminal can determine the message transmission rate of mobile device uplink mode, for example, mobile phone passes through MIFI device Access to mobile network when the uplink network mode of MIFI is 3G, then shows that it can divide indoors, in outdoor and driving environment Do not support at least 2Mbp/s(megabits/it is per second), 384kbp/s(kilobit/per second) and 144kbp/s (kilobit/per second) Message transmission rate.
In general, accessing portable radio device or mobile network or portable radio device access shifting in multi-module mobile terminal Before dynamic network, the IPv4/ of distribution can be obtained from portable radio device or mobile network by DHCP protocol or DHCPv6 agreement The address IPv6, and then realize and pass through portable radio device access to mobile network.Wherein, when using the dhcp protocol, it is mainly used for For other parameters such as user's automatic IP address allocation and dns address;When using DHCPv6 agreement, in addition to distributing the address IPv6, IPv6 prefix can also be distributed, automatically configuring and managing convenient for whole network;It, can be with other than IPv6 prefix, the address IPv6 For network configuration parameters such as host assignment dns server, domain names.
In the embodiment of the present invention, the first parameter information is to be encapsulated in dynamic host configuration protocol DHCP or support that IPv6's is dynamic Field information in state host configuration DHCP v6, and first parameter information can be based on protocol message in terminal and net It is transmitted network side.In the embodiment of the present invention, being with the first parameter information in agreement includes network mode configuration parameter For option option.
It should be noted that before the method for implementing the selection network connection mode, it is also necessary to be based on option option Format makees new definition to the option option in agreement, for example, being obtained wirelessly in multi-module mobile terminal by DHCP/DHCPv6 The mobile device uplink mode that mobile device obtains includes but are not limited to the following two kinds situation:
Scene one: multi-module mobile terminal is controlled with DHCP protocol
It as shown in Figure 2 A, is the option format based on DHCP protocol in RFC2132, new definition and current network mode phase The option field of pass, including option name meaning it is as follows:
The id number of Code:option, will by IANA(The Internet Assigned Numbers Authority, Interconnect network data distributor gear) distribution, it is defined as OPTION_MULM_TYPE;
The byte number of Len:Value;
Mode: network mode code, corresponding network signal are as shown in table 1.
Table 1:
The value of Mode Representative signal
0 GPRS
1 EDGE
2 3G
3 LTE
Wherein, with the increase of the value of Mode, the data transmission bauds of induction signal is also gradually increased, such as when Mode=1 When, corresponding network mode be GPRS, as Mode=2, corresponding network mode be 3G, then have data transmission bauds GPRS < 3G。
As shown in Figure 2 B, go out to obtain mobile device uplink from portable radio device by DHCP protocol for multi-module mobile terminal Corresponding first configuration parameter of mode.Its detailed process is as follows:
1. multi-module mobile terminal is by DHCP module broadcast transmission Discover message to portable radio device and/or movement Network carries the Code value of OPTION_MULM_TYPE in Discover message;
2. receiving the portable radio device response message of Discover message, and Offer is replied to more by DHCP module Mould mobile terminal, Offer information carry current network pattern configurations parameter;
3. multi-module mobile terminal, after receiving Offer information, according to parameter entrained in OFFER message, selection is wireless Mobile device simultaneously issues Request request, while the option choosing of OPTION_MULM_TYPE type is carried in Request request , illustrate that itself defaults the network mode used, such as Mode=1;
4. portable radio device replys DHCP confirmation message ACK to multi-module mobile terminal, it is confirmed as multi-module mobile terminal point With IP address, the Option option of the first configuration parameter of carrying current mobile devices uplink mode is carried, illustrates wirelessly to move The mobile device uplink mode of dynamic device, such as Mode=2.
In the process, Option option can include Discover, Offer, Request, the DHCP such as ACK, Inform Occur in the message that agreement is related to.
Scene two: DHCP v6 protocol integrated test system multi-module mobile terminal is used
It as shown in Figure 3A, is the option field relevant to current network mode newly defined in DHCP v6 agreement, In include option name meaning it is as follows:
The id number of OPTION_MULM_TYPE:option, will be by IANA(The Internet Assigned Numbers Authority interconnects network data distributor gear) distribution;
Option-len: indicating that the length of option-data, unit are byte, is herein 2;
Mode: network mode code, corresponding network signal are configured according to table 1.
As shown in Figure 3B, go out to obtain mobile device from portable radio device by DHCP v6 agreement for multi-module mobile terminal Corresponding first configuration parameter of uplink mode.Its detailed process is as follows:
1. the Solicit request message that multi-module mobile terminal carries Option option by DHCP v6 module broadcast transmission To portable radio device;
2. receiving the portable radio device response message of Solicit request message, replied by DHCP v6 module For Advertise to multi-module mobile terminal, Advertise information carries current network pattern configurations parameter;
3. multi-module mobile terminal is after receiving Advertise information, according to parameter entrained in Advertise message, Selection portable radio device simultaneously sends Request request message, and request portable radio device is confirmed as it and distributes IP address, prefix And network configuration parameters, while the option option of OPTION_MULM_TYPE type is carried in Request request, illustrate certainly Body defaults the network mode used, such as Mode=2;
4. portable radio device replys Reply message to multi-module mobile terminal, confirm IP address, prefix and network configuration Parameter etc. distributes to multi-module mobile terminal distribution IP address, carries the first configuration ginseng of carrying current mobile devices uplink mode Several Option options illustrates the mobile device uplink mode of portable radio device, such as Mode=3.
By step a-d, multi-module mobile terminal can know the movement between portable radio device and current mobile network Device uplink mode, i.e. uplink network mode.
Wherein, the agreement that the first parameter information that multi-module mobile terminal obtains is carried is not limited only to both the above agreement, The existing protocol of any configuration parameter that can carry mobile device uplink mode or the interworking protocol newly defined are in the application In protection scope.
Step 12: according to first parameter information, the multi-module mobile terminal is by itself and the current mobile network Between corresponding second configuration parameter of the maximum terminal wireless mode of message transmission rate compared with first configuration parameter Compared with one comparison result of acquisition.
After multi-module mobile terminal obtains the first parameter information, by the parsing to information, portable radio device can be obtained The corresponding configuration parameter of mobile device uplink mode between current mobile network, such as Mode=1, at this point, multimode is mobile eventually End will between current mobile network corresponding second configuration parameter of the maximum terminal wireless mode of message transmission rate, for example, The terminal wireless mode can be 3G network, then can be compared by corresponding configuration parameter, determine to move The biggish network mode of message transmission rate in device uplink mode and terminal wireless mode, therefore multi-module mobile terminal can be DHCP protocol or DHCP v6 agreement access portable radio device while know mobile device uplink mode, thus with terminal without Ray mode is compared, and process is simple and convenient, without using additional Internet resources.
For example, multi-module mobile terminal passes through DHCP protocol or the available portable radio device of process of DHCP v6 agreement Mobile device uplink mode, be denoted as Mode=A, meanwhile, the terminal wireless mode of its own is denoted as by multi-module mobile terminal Mode=B can determine the higher network mode of message transmission rate by the comparison of parameter value A, B to configuration parameter.
Step 13: when the comparison result shows that second configuration parameter is less than or equal to first configuration parameter, The multi-module mobile terminal is connected with the mobile device uplink mode with the portable radio device, and then by described wireless Mobile device accesses the current mobile network.
The mobile device uplink mode corresponding that portable radio device has been obtained due to the multi-module mobile terminal One configuration parameter, and the maximum terminal wireless mode of message transmission rate determines between the current mobile network according to itself Second configuration parameter, if the second configuration parameter is less than or equal to the first configuration parameter, multi-module mobile terminal selection first is matched The corresponding mobile device uplink mode access portable radio device of parameter is set, then current mobile network is accessed by portable radio device Network efficiently solves existing on the one hand ensure that multi-module mobile terminal is synchronous with portable radio device message transmission rate There is mobile terminal in technology when connecting mobile network by portable radio device because data caused by the disunity of network mode pass The defeated nonsynchronous problem of rate;On the other hand, it since multi-module mobile terminal has selected the faster network mode of speed of surfing the Internet, therefore mentions The high efficiency of data transmission, reduces the time delay of data transmission.
Wherein, multi-module mobile terminal can also be selected according to preset condition with the mobile device uplink mode and the nothing Line mobile device is connected, and then accesses the current mobile network by the portable radio device, that is, works as multi-module mobile terminal When being arranged using mobile device uplink mode as default network connection mode, then no matter whether the second configuration parameter is less than or equal to the One configuration parameter accesses the nothing after multimode is mobile knows mobile device uplink mode eventually with mobile device uplink mode Line mobile device, and then the current mobile network is accessed by the portable radio device.For example, mobile phone terminal can be found out Network signal have 3G and WIFI, if setting mobile phone preferential attachment router or when wireless device MIFI, when mobile phone needs When access to mobile network, MIFI is accessed by WIFI first, it is that mobile phone user establishes data that MIFI passes through 2G/3G mobile network again Connection, so as to save online rate for mobile phone user.
In the embodiment of the present invention, when comparison result shows that the second configuration parameter is greater than the first configuration parameter, multimode is mobile Terminal is directly accessed current mobile network with terminal wireless mode.
For example, the mobile device uplink mode that mobile phone terminal obtains wireless device MIFI is general packet radio service technology GRRS, i.e., corresponding first configuration parameter is Mode=0, and GRRS message transmission rate is between 2G and the transmission rate of 3G, Meanwhile the terminal wireless mode of mobile phone terminal itself is 3G network, i.e., corresponding second configuration parameter of mobile phone terminal is Mode=2, It can determine that the message transmission rate of terminal wireless mode is higher than mobile device uplink by the comparison of the parameter value of configuration parameter Mode, at this point, mobile phone is by using the terminal wireless mode of itself, i.e. 3G signal is directly accessed mobile network, without accessing again Therefore the MIFI that higher uplink bit rate is less than the higher uplink bit rate of itself is avoided and transmitting uplink data is occurred The waiting or congestion of data, ensure that the speed of surfing the Internet of mobile phone caused by rate is asynchronous.
After multi-module mobile terminal accesses current mobile network by wireless network, it may cause because of the movement of position The mobile device uplink mode of portable radio device or the terminal wireless mode of multi-module mobile terminal change, at this point, more Mould mobile terminal is it is necessary to by preset period of time, such as preset period of time is 5 minutes, control itself DHCP module to The portable radio device issues request message, is transmitted by the portable radio device based on the request message with obtaining The first configuration parameter corresponding with mobile device uplink mode, thus biography of the detection when the mobile device mode of portable radio device Whether defeated rate is greater than the message transmission rate of the terminal wireless mode of current multimode terminal, to periodically obtain newest Corresponding first configuration parameter of mobile device uplink mode, to be updated to terminal wireless mode.
For example, after the network mode that mobile phone terminal confirmed that MIFI is used for the first time, according to the predetermined period time, if Mobile phone terminal is controlled using DHCP protocol, then mobile phone terminal sends DHCP-Inform message to portable radio device, and carries OPTION_MULM_TYPE option, to obtain newest mobile device uplink mode corresponding first according to the first parameter information Configuration parameter.Portable radio device DHCP-Inform message based on the received sends DHCP confirmation to multi-module mobile terminal and disappears It ceases, the configuration parameter of the newest mobile device uplink mode of portable radio device is carried in the confirmation message, alternatively, when adopting When with DHCP v6 protocol integrated test system mobile phone terminal, according to the predetermined period time, mobile phone terminal sends to MiFi and carries OPTION_ The request message of MULM_TYPE option to obtain the newest network status data of MIFI, and re-starts the choosing of network accordingly It selects.After obtaining the mobile device uplink mode updated, the determining access way with current mobile network of multi-module mobile terminal and Process is identical to step 13 as step 11.
Embodiment two
Corresponding with the method for selection network connection that the embodiment of the present invention one provides, it is more that second embodiment of the present invention provides one kind Mould mobile terminal, structure are as shown in Figure 4, comprising:
Receiving module 401, for receiving the first parameter information issued by portable radio device, first parameter information In carry the corresponding first configuration ginseng of mobile device uplink mode between the portable radio device and current mobile network Number;
Comparison module 402, for according to first parameter information, the multi-module mobile terminal by itself and it is described current Corresponding second configuration parameter of the maximum terminal wireless mode of message transmission rate and first configuration are joined between mobile network Number is compared, and obtains a comparison result;
Processing module 403, for showing that the second configuration parameter is less than or equal to the first configuration ginseng when the comparison result When number, the multi-module mobile terminal is connected with the mobile device uplink mode with the portable radio device, and then passes through institute It states portable radio device and accesses the current mobile network.
Preferably, processing module 403 is specifically used for: according to a preset condition, by the multi-module mobile terminal with the shifting Dynamic device uplink mode is connected with the portable radio device, and then accesses the current movement by the portable radio device Network.
Preferably, the processing module 403 is specifically also used to: the multi-module mobile terminal is with the mobile device uplink mould Formula accesses the portable radio device as default network connection mode, and with the mobile device uplink mode, in turn The current mobile network is accessed by the portable radio device.
The processing module 403 is also used to: when the comparison result shows that second configuration parameter is greater than described first When configuration parameter, the multi-module mobile terminal is directly accessed the current mobile network with the terminal wireless mode.
Preferably, as shown in figure 5, the multi-module mobile terminal further includes cycle module 501, when for according to predetermined period Between, request message is issued to the portable radio device by the DHCP protocol or the DHCPv6 agreement;It obtains by described Corresponding first configuration parameter of the mobile device uplink mode that portable radio device is transmitted based on the request message.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.It wherein includes the computer-usable storage medium of computer usable program code that the present invention, which can be used in one or more, The form for the computer program product implemented in (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
As defined in this article, computer-readable medium does not include non-persistent computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of method of selection network connection characterized by comprising
Multi-module mobile terminal receives the first parameter information issued by portable radio device, carries in first parameter information Corresponding first configuration parameter of mobile device uplink mode between the portable radio device and current mobile network;
According to first parameter information, the multi-module mobile terminal by itself, transmit by the data between the current mobile network Corresponding second configuration parameter of the maximum terminal wireless mode of rate is compared with first configuration parameter, is obtained one and is compared As a result;
When the comparison result shows that second configuration parameter is less than or equal to first configuration parameter, the multimode is mobile Terminal is connected with the mobile device uplink mode with the portable radio device, and then is accessed by the portable radio device The current mobile network.
2. the method as described in claim 1, which is characterized in that the multi-module mobile terminal is with the mobile device uplink mode It is connected with the portable radio device, and then the current mobile network is accessed by the portable radio device, specifically:
The multi-module mobile terminal is according to a preset condition, with the mobile device uplink mode and the portable radio device phase Even, and then by the portable radio device current mobile network is accessed.
3. method according to claim 2, which is characterized in that the multi-module mobile terminal is according to a preset condition, with described Mobile device uplink mode is connected with the portable radio device, and then described when Forward by portable radio device access Dynamic network, specifically:
The multi-module mobile terminal is filled using the mobile device uplink mode as default network connection mode with the movement It sets uplink mode and accesses the portable radio device, and then the current mobile network is accessed by the portable radio device.
4. the method as described in claim 1, which is characterized in that described according to first parameter information, the multimode is moved By itself, the maximum terminal wireless mode of the message transmission rate between current mobile network corresponding second configures ginseng to dynamic terminal Number is compared with first configuration parameter, after obtaining a comparison result, the method also includes:
When the comparison result shows that second configuration parameter is greater than first configuration parameter, the multi-module mobile terminal The current mobile network is directly accessed with the terminal wireless mode.
5. the method as described in claim any in Claims 1-4, which is characterized in that first parameter information is to be encapsulated in Field information in the dynamic host configuration protocol DHCP v6 of dynamic host configuration protocol DHCP or support IPv6.
6. method as claimed in claim 5, which is characterized in that described according to first parameter information, the multimode is moved Dynamic terminal by itself, match by the maximum terminal wireless mode of the message transmission rate between the current mobile network corresponding second Parameter is set to be compared with first configuration parameter, before obtaining a comparison result, the method also includes:
According to the predetermined period time, the multi-module mobile terminal is by the DHCP protocol or the DHCP v6 agreement to described Portable radio device issues request message;
Acquisition is transmitted corresponding with the mobile device uplink mode by the portable radio device based on the request message First configuration parameter.
7. a kind of multi-module mobile terminal characterized by comprising
Receiving module carries in first parameter information for receiving the first parameter information issued by portable radio device There is corresponding first configuration parameter of the mobile device uplink mode between the portable radio device and current mobile network;
Comparison module, for according to first parameter information, the multi-module mobile terminal is by itself and the current mobile network Corresponding second configuration parameter of the maximum terminal wireless mode of message transmission rate and first configuration parameter carry out between network Compare, obtains a comparison result;
Processing module, for when the comparison result show the second configuration parameter be less than or equal to first configuration parameter when, institute It states multi-module mobile terminal to be connected with the mobile device uplink mode with the portable radio device, and then passes through the wireless shifting Dynamic device accesses the current mobile network.
8. multi-module mobile terminal as claimed in claim 7, which is characterized in that the processing module is specifically used for: pre- according to one If condition, the multi-module mobile terminal is connected with the mobile device uplink mode with the portable radio device, Jin Ertong It crosses the portable radio device and accesses the current mobile network.
9. multi-module mobile terminal as claimed in claim 8, which is characterized in that the processing module is specifically also used to: described more Mould mobile terminal is using the mobile device uplink mode as default network connection mode, and with the mobile device uplink mode The portable radio device is accessed, and then the current mobile network is accessed by the portable radio device.
10. multi-module mobile terminal as claimed in claim 7, which is characterized in that the processing module is also used to: when the comparison The result shows that the multi-module mobile terminal is when second configuration parameter is greater than first configuration parameter with the terminal wireless Mode is directly accessed the current mobile network.
11. the multi-module mobile terminal as described in claim any in claim 7 to 10, which is characterized in that the first parameter letter Field letter in dynamic host configuration protocol DHCP v6 of the breath to be encapsulated in dynamic host configuration protocol DHCP or support IPv6 Breath.
12. multi-module mobile terminal as claimed in claim 11, which is characterized in that the multi-module mobile terminal further includes period mould Block, for being sent out to the portable radio device by the DHCP protocol or the DHCPv6 agreement according to the predetermined period time Request message out;Obtain the mobile device uplink mode transmitted by the portable radio device based on the request message Corresponding first configuration parameter.
CN201310728804.9A 2013-12-25 2013-12-25 A kind of method and relevant device of selection network connection Active CN104754558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310728804.9A CN104754558B (en) 2013-12-25 2013-12-25 A kind of method and relevant device of selection network connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310728804.9A CN104754558B (en) 2013-12-25 2013-12-25 A kind of method and relevant device of selection network connection

Publications (2)

Publication Number Publication Date
CN104754558A CN104754558A (en) 2015-07-01
CN104754558B true CN104754558B (en) 2018-12-28

Family

ID=53593532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310728804.9A Active CN104754558B (en) 2013-12-25 2013-12-25 A kind of method and relevant device of selection network connection

Country Status (1)

Country Link
CN (1) CN104754558B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110426975A (en) * 2019-08-08 2019-11-08 广州秀明环保科技有限公司 A kind of central control unit of remote wireless control system
CN114363882A (en) * 2021-12-31 2022-04-15 展讯半导体(成都)有限公司 Data card switching method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149152B (en) * 2010-02-09 2014-02-05 杭州华三通信技术有限公司 Access point equipment (AP) and null interface switching method thereof
CN102572914B (en) * 2010-12-10 2015-12-16 深圳市中兴微电子技术有限公司 The methods, devices and systems of saving power for terminal
CN103002541B (en) * 2011-09-15 2017-10-20 中兴通讯股份有限公司 A kind of dynamic management approach and device of WiMAX hotspot device user access
CN106851782B (en) * 2012-05-07 2020-11-17 华为终端有限公司 Data transmission method and device
CN105592505B (en) * 2012-12-28 2019-04-05 青岛海信移动通信技术股份有限公司 A kind of method and data terminal of data transmission

Also Published As

Publication number Publication date
CN104754558A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
KR102061436B1 (en) Resource allocation method and device
US20230208580A1 (en) Method and apparatus for transmitting downlink positioning reference signal, and storage medium
AU2015387838B2 (en) Method for sending uplink multi-user transmission trigger frame, access point, and station
CN104205989B (en) A kind of method for discovering equipment, user equipment, server and system
CN102497378B (en) Method and device for dynamically choosing DHCP server for client terminal
CN104754748A (en) D2D (device to device) resource allocation method, D2D data transmission method and device
CN105392181B (en) A kind of networking method of smart machine, apparatus and system
CN107113803B (en) Network equipment, terminal equipment and resource allocation method
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
CN104283743A (en) Home network equipment and proxy service discovering method
CN102752413B (en) Dynamic Host Configuration Protocol server system of selection and the network equipment
CN104969589A (en) Communication device access processing method and device, and communication system
KR20150028228A (en) Carrier aggregation processing method and device
CN108012250A (en) Data transmission method and data transmission device
CN104168629A (en) Proximity-based service relay node discovering method, terminal and proximity-based service communication system
CN104254066B (en) Status information transmitting, deactivated method, site apparatus and terminal device
JP2014512748A (en) How to request resources and site and center access points
CN102185737A (en) Automatic equipment information acquisition method and system
CN104486174A (en) Networking method and networking device for intelligent terminals
CN104754558B (en) A kind of method and relevant device of selection network connection
CN104717640A (en) Realization method for wireless network communication based on positioning
CN105207752A (en) Signal transmitting and detecting method and device
CN113079578B (en) Smart screen wireless screen projection data priority transmission method and system
JP2019510447A (en) Sequence signal transmission method and terminal
CN103796279A (en) Wireless access method, system and equipment that support LTE (Long Term Evolution)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant