A kind of method of selecting network connecting mode based on the terminal equipment of QOS?
Technical field
The invention belongs to the communications field, be specifically related to the method that a kind of terminal equipment based on QOS (typical case is such as smart mobile phone, IPAD etc.) is independently selected network connecting mode.
Background technology
In recent years, along with portable terminal, especially smart mobile phone is to the support of WIFI network connection, and WIFI has become more and more people's preferred network access.The WIFI wide coverage, transmission speed is fast, and usually by the time but not flow carries out charging, carrying out having very large advantage when large flow application such as file are downloaded, but because the radio communication quality of WIFI technical transmission is relatively unstable, carrying out multimedia application, such as video conference, telesurgery, during application that the QOS such as voice-enabled chat have relatively high expectations, professional real-time and stability can't ensure, at this moment, we wish that the network that is connected with the QOS guarantee transmits, such as 3G network.
And at present, most of intelligent terminal in applied technology aspect network connection and the network switching is: in WIFI and the simultaneous situation of 3G network, terminal preferentially connects WIFI; When only detecting without the WIFI signal, terminal just can initiatively switch to 3G network.If we want to connect and must manually switch for the application-specific handover network, and at a time different application program can only be used a kind of network, and this just brings inconvenience to the user.
Summary of the invention
The present invention is in order to solve the difference of different application networking demand, autonomous handover network in the situation that prosthetic is intervened, cause customer charge consumption greatly maybe can't satisfy the problem of business demand, propose a kind of terminal equipment based on QOS and select the method for network connecting mode, the method can require intelligent network selection to connect according to the QOS of application program.
A kind of terminal equipment based on QOS of the present invention is selected the method for network connecting mode, and it may further comprise the steps:
(1) opens simultaneously 3G and the WIFI network connection of terminal;
(2) detect in the situation that has simultaneously 3G and WIFI signal when terminal, if this moment terminal application program the networking application request appears, terminal judges at first whether this networking application request needs the QOS guarantee;
(3) when the networking application request needs QOS to ensure, connect 3G network, otherwise, the WIFI network connected.
As improvement, the deterministic process that whether needs QOS to ensure in the above-mentioned steps (2) is as follows:
(2.1) set up in advance the map information storehouse of application program and QOS susceptibility;
(2.2) after the startup application program, terminal is obtained the ID of this application program;
(2.3) map information of storing in the ID of the application program obtained and the map information storehouse is compared, judge whether this application program is the QOS sensitive application;
(2.4) return comparison result.
As improvement, there are two kinds of patterns in the map information storehouse in the above-mentioned steps (2.1), and a kind of is directly to be based upon in the terminal, and carries out Data Update by network; Another kind is that the map information storehouse is based upon the third-party server end, and terminal is compared the ID of the application program obtained by network connection to the map information storehouse of this third-party server end in the step (2.2).
Further, in the above-mentioned steps (3), when existing a plurality of application programs to occur simultaneously networking application request, each application program connects required separately network connection according to the QOS demand.
The present invention is by setting up the map information storehouse of an application program and QOS susceptibility, application program appearance networking application request when terminal, judge according to this map information storehouse whether this application program belongs to the application program of QOS sensitivity, when this application request needs QOS to ensure, connect 3G network, otherwise connect the WIFI network.The present invention can require intelligent network selection to connect according to the QOS of application program, avoided the inconvenience of manual connection, implements simultaneously very easy.
Description of drawings
Fig. 1 is for carrying out the overview flow chart that network connecting mode is selected based on QOS;
Fig. 2 differentiates an embodiment of processing procedure for the networking that carries out the network connecting mode selection based on QOS;
Fig. 3 differentiates another embodiment of processing procedure for the networking that carries out the network connecting mode selection based on QOS.
Embodiment
Below in conjunction with accompanying drawing, the enforcement of this technical scheme is described in further detail.
Fig. 1 be the present invention propose based on the smart mobile phone of QOS select network connecting mode overview flow chart, be specially:
(1) 3G and the WIFI network connection of while starting hand-set;
(2) detect in the situation that has simultaneously 3G and WIFI signal when mobile phone, in case when having the networking application request, mobile phone terminal judges whether this application request is the QOS sensitive application;
(3) when this networking application request is the QOS sensitivity, network by 3G, otherwise, network by WIFI.In this step, the application of same asynchronism(-nization) is to link to each other with 3G and WIFI respectively according to above-mentioned judged result, and namely 3G and WIFI network are parallel the runnings.
Fig. 2 is an embodiment who selects the differentiation process of network connection in the above-mentioned steps (2) based on QOS, specifically comprises following processing procedure:
(1) at first mobile phone terminal and server end are set up the map information storehouse of application program and QOS susceptibility; Use such as web, just file download etc. can be set to the non-sensitive application of QOS; And crucial the application and multimedia application classifies as the QOS sensitive application such as video conference, voice-enabled chat etc.Mobile phone terminal can carry out by network connection the renewal of data message to server end;
(2) after the startup application program, mobile phone obtains the application program ID of this application;
(3) map information of storing in the map information storehouse in the application program ID that obtains in the above-mentioned steps and the mobile phone is compared, and judges that whether this application program is the QOS sensitive application, when without respective items, is defaulted as the non-sensitive application of QOS;
(4) return comparison result.
Fig. 3 is the another embodiment that selects the differentiation process of network connection based on QOS, specifically comprises following processing procedure:
(1) at first the third-party server end is set up the map information storehouse of application program and QOS susceptibility; Use such as web equally, just file download etc. can be set to the non-sensitive application of QOS; And crucial the application and multimedia application classifies as the QOS sensitive application such as video conference, voice-enabled chat etc.
(2) after the startup application program, mobile phone obtains the application program ID of this application;
(3) the application program ID that obtains in the above-mentioned steps with compare by the map information of storing in network and the server end map information storehouse, judge whether this application program is the QOS sensitive application.When without respective items, be defaulted as the non-sensitive application of QOS;
(4) return comparison result.
Through above-mentioned steps, just can select network according to QOS, the intelligence of 3G and WIFI network is switched under the realization different application.
The above only is preferred implementation of the present invention, should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention, can also make some improvement, and these improvement also should be considered as protection scope of the present invention.