CN105554718B - A kind of method and device for establishing communication channel - Google Patents

A kind of method and device for establishing communication channel Download PDF

Info

Publication number
CN105554718B
CN105554718B CN201510970312.XA CN201510970312A CN105554718B CN 105554718 B CN105554718 B CN 105554718B CN 201510970312 A CN201510970312 A CN 201510970312A CN 105554718 B CN105554718 B CN 105554718B
Authority
CN
China
Prior art keywords
virtual card
evaluation index
comprehensive evaluation
channel
card
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
CN201510970312.XA
Other languages
Chinese (zh)
Other versions
CN105554718A (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.)
Shenzhen Youke Yunlian Technology Co Ltd
Original Assignee
Shenzhen Youke Yunlian Technology 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 Shenzhen Youke Yunlian Technology Co Ltd filed Critical Shenzhen Youke Yunlian Technology Co Ltd
Priority to CN201510970312.XA priority Critical patent/CN105554718B/en
Publication of CN105554718A publication Critical patent/CN105554718A/en
Application granted granted Critical
Publication of CN105554718B publication Critical patent/CN105554718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold

Abstract

The present invention is suitable for the communications field, provide a kind of method for establishing communication channel, by the current state information for obtaining mobile WIFI terminal, if judging, current state information is located at the preset information aggregate for allowing to offer wireless internet services by seed card channel, then offered wireless internet services by seed card channel for mobile client, if it is not, judge kind of subcard comprehensive evaluation index whether superior or equal to virtual card comprehensive evaluation index;If, service on net is provided by seed card channel for mobile client, through the above steps when mobile WIFI terminal is located at the country that can directly offer wireless internet services by kind of subcard, or kind subcard comprehensive evaluation index it is optimal when, it is directly offered wireless internet services by kind of subcard, without establishing communication channel by virtual card, reduce the occupancy to background server connection resource, increase the connection number of background server, even in the case where other conditions are constant, the maximum connection number that can be doubled.

Description

A kind of method and device for establishing communication channel
Technical field
The invention belongs to the communications field more particularly to a kind of method and devices for establishing communication channel.
Background technique
With science and technology progress and living standards of the people raising, the communication of the people of other countries with exchange increasingly Closely, the frequency of going abroad of people is continuously increased, and body is at abroad, there are many trip, shopping, commercial activity, instant messaging of people etc. Activity often requires to use network service, and the realization of these network services needs to expend a large amount of network flows, and moves WIFI (Wireless-Fidelity, Wireless Fidelity) terminal then can satisfy these network demands for the user that goes abroad.
In mobile WiFi technology, mobile WIFI terminal be preset with one can global roaming SIM card (Subscriber Identity Module, subscriber identification card), this card is referred to as SSIM (Seed SIM plants subcard), and mobile WIFI is whole End first passes through SSIM card and logs in background server, and background server is according to mobile WIFI terminal position and local signal situation Etc. information distribute a local SIM card give the movement WIFI terminal, this card be known as VSIM card (Virtual SIM, virtually Card), mobile WIFI terminal connects local mobile network using VSIM card and surfs the Internet.SSIM card is to separate with the channel of VSIM card , and be all independently to be linked into background server, no matter when, using this access way mobile WIFI terminal all The VSIM card resource of background server can be occupied.
In the prior art, seed card channel does not offer wireless internet services, even if kind subcard is local card or general performance When more excellent, it also still will use a virtual card, waste the connection resource of background server, reduce the access of background server Ability.
Summary of the invention
The embodiment of the present invention provides a kind of method for establishing communication channel, it is intended to solve in the prior art, seed card channel It does not offer wireless internet services, even if kind subcard is local card or more excellent general performance, also still will use a virtual card, Waste the connection resource of background server, the problem of reducing the access capability of background server.
The embodiments of the present invention are implemented as follows, a method of communication channel being established, steps are as follows:
The current state information of mobile WIFI terminal is obtained, and it is preset fair to judge whether the current state information is located at Perhaps in the information aggregate to be offered wireless internet services by seed card channel;
If the determination result is YES, then it is offered wireless internet services by seed card channel for mobile client;
If judging result be it is no, judge whether the comprehensive evaluation index of described kind of subcard comprehensive superior or equal to virtual card Close evaluation number.
A kind of device for establishing communication channel, which is characterized in that described device includes such as lower unit:
Current state judging unit for obtaining the current state information of mobile WIFI terminal, and judges the current shape Whether state information is located in the preset information aggregate for allowing to offer wireless internet services by seed card channel;
First wireless networking Path Setup unit, if for judging that the current state information is located at the information aggregate In, then it is offered wireless internet services by seed card channel for mobile client;
Comprehensive evaluation index judging unit, if for judging result be it is no, judge the comprehensive evaluation index of described kind of subcard Whether superior or equal to virtual card comprehensive evaluation index;And
Second wireless networking Path Setup unit, if for judging the comprehensive evaluation index of kind of subcard superior or equal to described The comprehensive evaluation index of virtual card is then that the mobile client offers wireless internet services by seed card channel.
If the determination result is YES, then it is offered wireless internet services by seed card channel for the mobile client.At this In invention, it is located at the country that can directly offer wireless internet services by kind of subcard when moving WIFI terminal, or When the general performance of kind subcard is optimal, the communication that directly can be established as mobile client offer service on net by kind of subcard is logical The occupancy to the connection resource of background server is reduced, background service is increased without establishing communication channel by virtual card in road The connection number of device, or even in the case where other conditions are constant, the maximum connection number that can be doubled.
Detailed description of the invention
Fig. 1 is a kind of system implementation environment figure for establishing communication channel provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for establishing communication channel provided in an embodiment of the present invention;
Fig. 3 is a kind of module map of device for establishing communication channel provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The present invention, which passes through, judges whether the current state information of mobile WIFI terminal is located at preset allow through kind of a subcard In the information aggregate that channel offers wireless internet services, and whether the comprehensive evaluation index of subcard is planted superior or equal to virtual card Comprehensive evaluation index, without establishing communication channel by virtual card, the use of kind of subcard is directly to move when meeting determination requirement Dynamic client provides service on net, reduces the occupancy to background server connection resource, increases the company of background server and terminal Number is connect, or even in the case where other conditions are constant, the access capability that maximum can double.
Fig. 1 shows a kind of system implementation environment figure for establishing communication channel provided in an embodiment of the present invention, for the ease of Illustrate, part related with the embodiment of the present invention is only shown.
In embodiments of the present invention, mobile WIFI terminal 1, it is interior for providing local service on net for the user of departure Be equipped with one can global roaming SIM card, referred to as kind subcard.
Background server 2 safeguards that mobile WIFI is whole for distributing the virtual card that can locally surf the Internet for mobile WIFI terminal 1 The communication channel that end 1 is established with it handles the affairs in terms of charging for kind of subcard or virtual card, while can be whole to mobile WIFI Information relevant to kind of subcard on end 1 is updated.When mobile WIFI terminal 1 is switched on, it can be clamped by seed into mobile network Network, and TCP connection is carried out with background server 2, seed card channel is established, and in use process, seed card channel and backstage take Business device 2 is always maintained at connection.
When the operator of the mobile currently used SIM card of WIFI terminal 1 or rate change or locating country or When area changes simultaneously with operator's informaiton and when network signal is deteriorated or even loses signal, mobile 1 meeting of WIFI terminal Request distribution virtual card to background server 2 by seed card channel, to obtain the virtual card that performs better than, by virtual card with Background server 2 establishes communication channel, i.e. TCP link, which is known as virtual card channel, and provides for mobile client Wireless Internet services.
Mobile client 3 is mobile WIFI terminal 1 to be accessed by WIFI, and pass through the communication of the mobile offer of WIFI terminal 1 Come the equipment surfed the Internet, it is electric that mobile client 3 can be wireless access point, mobile phone, personal digital assistant, plate in channel The mobile terminal devices such as brain.
Fig. 2 shows a kind of method flow diagrams for establishing communication channel provided in an embodiment of the present invention;Details are as follows:
In step S210, obtain the current state information of mobile WIFI terminal, and judge current state information whether position In the preset information aggregate for allowing to offer wireless internet services by seed card channel.
In an embodiment of the present invention, the current state information of mobile WIFI terminal includes the current position of mobile WIFI terminal Manage location information, the operator's informaiton currently registered etc..
Being configured with according to preset rules in mobile WIFI terminal allows to offer wireless internet services by seed card channel Information aggregate includes that allow to enable kind of subcard single channel be that mobile client establishes wireless Internet services in the information aggregate Country information, the operator's informaiton etc. for allowing to access, if the current geographic position information of the mobile WIFI terminal or The operator's informaiton currently registered is located in the information aggregate, then can be provided wirelessly by seed card channel for mobile client Service on net.
In embodiments of the present invention, mobile WIFI terminal can actively search for the communication network in location in real time, and from search To communication network in obtain mobile WIFI terminal current geographic position information, the current operator's informaiton registered, then Judge it is preset allow whether to have the item to match in the information aggregate to offer wireless internet services by seed card channel, if sentencing Disconnected result is yes, successful match, then determines that current state information is located at preset allow by the offer wirelessly of seed card channel Net service information aggregate in, if judging result be it is no, i.e., it fails to match, then determines current state information not in preset permission In the information aggregate to be offered wireless internet services by seed card channel.
As an embodiment of the present invention, the information aggregate to offer wireless internet services by seed card channel is allowed to need It keeps updating, when mobile WIFI terminal booting logs in or in use process, mobile WIFI terminal can pass through seed cartoon Road reports the information aggregate version number to background server, background server according to the version number reported judge the version whether be Latest edition, if it is not, then more new information can be sent to mobile WIFI terminal by background server, in mobile WIFI terminal Old list be updated.
In step S220, if judging, the current state information is located in the information aggregate, passes through seed cartoon Road provides service on net for mobile client.
In embodiments of the present invention, when the current state information of mobile WIFI terminal allows to enable kind of a subcard positioned at preset When in the information aggregate in channel, explanation can provide service on net by seed card channel for mobile client, if current is to open Machine init state enables seed card channel directly then as mobile client and provides service on net;If being currently to pass through virtual card Channel provides service on net for mobile client, then closes virtual card channel, and mention for mobile client by seed card channel For service on net.
In embodiments of the present invention, mobile client is connected into network by the WIFI that seed card channel provides, wherein mobile Client can be the mobile terminal devices such as wireless access point, mobile phone, personal digital assistant, tablet computer;It is mobile simultaneously WIFI terminal maintains and the heartbeat of background server, and uploads flow packet, short message and other operation flow message, wherein flow packet Refer to the information that reports by moving the flow that uses of WIFI terminal, flow packet include flow packet ID, terminal iidentification, SIM card number, Time, country and uninterrupted etc., short message here refer to that the short message from operator's push, such as advertisement SMS, business are led to Know short message etc..
In step S230, if judging, the current state information in the information aggregate, does not obtain virtual card Virtual card information, the seed card information for planting subcard.
In one embodiment of the invention, virtual card information or seed card information include: that MCC code, MNC code, signal are strong Spend parameter, rate parameter etc., as needed sometimes also comprising validity period information, residual flow information, history service condition and The class information etc. of active user.
In one embodiment of the invention, whether judgement currently has been established virtual card channel, if being judged as YES, i.e., currently Virtual card channel has been established, then obtains the virtual card information of the virtual card;If being judged as NO, by seed card channel to from the background Server sends virtual card distribution request, each PLMN currently searched in virtual card distribution request comprising mobile WIFI terminal (Public Land Mobile Network, public land mobile network) and its corresponding network signal intensity etc., wherein PLMN code includes MCC code and MNC code;Background server is according to virtual card distribution request, by preset rules by optimum virtual card Image file is sent to mobile WIFI terminal;Or first send the identity information of the optimum virtual card to mobile WIFI terminal, Corresponding virtual card has first been searched whether in mobile WIFI terminal, if searching less than issuing this most to background server request The image file of excellent virtual card;Mobile WIFI terminal can obtain virtual card information from virtual card image file and background server, Wherein the tariff information of virtual card is obtained from background server.
In step S240, according to virtual card information and seed card information generate respectively virtual card comprehensive evaluation index, The comprehensive evaluation index of kind subcard.
In one embodiment of the invention, the comprehensive evaluation index of SIM card is by the performance parameter of SIM card by a set pattern Then carry out weight calculation with to SIM card carry out superiority and inferiority assessment, above-mentioned comprehensive evaluation index comprehensively consider SIM card tariff information, Signal strength, validity period information, residual flow information, history service condition and class information of active user etc..
In one embodiment of the invention, SIM card comprehensive evaluation index is evaluated according to signal strength and rate , such as by assigning signal strength and rate with different weights, according to weight calculation weight, weight is that overall merit refers to Number, the calculation formula of comprehensive evaluation index are as follows:
Comprehensive evaluation index=(A2-A1) × a+B1 × b
Wherein, (A2-A1), B1 have carried out normalized, and A1 is network signal intensity parameter, and A2 is most strong network signal Intensive parameter, B1 are rate parameter, and a is the weight for assigning (A2-A1), and b is the weight for assigning B1.
In embodiments of the present invention, weight is to be set according to the needs of users, according to user to rate parameter With the calling hierarchy of signal strength parameter, rate parameter and signal strength parameter are assigned with different weights.In the present embodiment, A1 Bigger representation signal intensity is better, on the contrary then signal strength is poorer;B1 is bigger, and the rate that represent are higher, on the contrary then rate are lower;It is comprehensive It is upper described, illustrate that comprehensive evaluation index is the smaller the better.
In step s 250, judge whether the comprehensive evaluation index of kind of subcard refers to superior or equal to the overall merit of virtual card Number.
As an embodiment of the present invention, kind of a subcard synthesis is generated respectively by the calculation formula of comprehensive evaluation index to comment Then valence index and virtual card comprehensive evaluation index carry out kind of subcard comprehensive evaluation index and virtual card comprehensive evaluation index pair Than, and judge that kind of subcard comprehensive evaluation index whether superior or equal to virtual card comprehensive evaluation index, in the present embodiment, integrates The more low then SIM card performance of evaluation number is more excellent.
In one embodiment of the invention, it is configured in the mobile WIFI terminal according to preset rules and includes kind of a subcard The kind subcard tariff information set of tariff information, this kind of subcard tariff information set need to often keep updating, when mobile WIFI is whole When end booting logs in or in use process, mobile WIFI terminal can report the information to background server by seed card channel Gather version number, background server judges whether the version is latest edition according to the version number reported, if it is not, then backstage takes More new information can be sent to mobile WIFI terminal by business device, to be updated to the old list in mobile WIFI terminal.
In step S260, if the determination result is YES, then service on net is provided for mobile client by seed card channel.
In one embodiment of the invention, when the comprehensive evaluation index of judgement kind subcard is comprehensive superior or equal to virtual card When evaluation number, corresponding the present embodiment, that is, described kind of subcard comprehensive evaluation index is less than or equal to the virtual card overall merit and refers to When number, then the service of wireless networking is established for mobile client by kind of subcard.
In one embodiment of the invention, if being currently opening initialization state, directly enabling seed card channel is Mobile client provides service on net;If being currently to provide service on net by virtual card channel for mobile client, close Virtual card channel, and service on net is provided for mobile client by seed card channel, at this time without passing through virtual card and backstage Server establishes communication channel, saves the connection resource of background server.
In step S270, if judging result be it is no, provided wirelessly by the virtual card channel for mobile client Service on net.
In embodiments of the present invention, when comprehensive evaluation index of the comprehensive evaluation index of virtual card better than kind of subcard, then Communication channel is established by virtual card, and is offered wireless internet services for mobile client.If being currently not by above-mentioned by taking The corresponding virtual card channel of virtual card that business device is distributed provides service on net for mobile client, then starting is by background server The corresponding virtual card channel of the virtual card of distribution, and service on net is provided for mobile client, in detail, i.e., this is virtually sticked into Row authentication, dialing, network registry simultaneously connect background server, establish virtual card channel, are then movement by virtual card channel Client offers wireless internet services, and simultaneously closes off the wireless Internet services established by seed card channel or by other void The wireless Internet services that quasi- card channel is established, and the heartbeat of subcard holding and background server is planted, to upload the stream of virtual card Amount packet, short message and other operation flow message etc..
In foregoing invention embodiment, can directly it be offered wireless internet services by kind of a subcard when mobile WIFI terminal is located at Country, or kind subcard comprehensive evaluation index highest when, can directly by plant a subcard be established as mobile client The communication channel of service on net is provided, without establishing communication channel by virtual card, reduces the connection resource to background server Occupancy, increase the connection number of background server, or even in the case where other conditions are constant, the company that can double of maximum Connect number.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program that executes above-mentioned steps can store in a kind of meter In calculation machine readable storage medium storing program for executing, storage medium mentioned above can be read-only memory, flash memory, disk or CD etc..
Fig. 3 shows a kind of module map of device for establishing communication channel provided in an embodiment of the present invention, and details are as follows:
In embodiments of the present invention, a kind of device 100 for establishing communication channel includes: current state judging unit 110, One wireless networking Path Setup unit 120, SIM card information acquiring unit 130, comprehensive evaluation index generation unit 140, synthesis are commented Valence index judging unit 150, the second wireless networking Path Setup unit 160 and third wireless networking Path Setup unit 170.
Wherein, current state judging unit 110 for obtaining the current state information of mobile WIFI terminal, and judges to work as Whether preceding status information is located in the preset information aggregate for allowing enabling seed card channel to offer wireless internet services.
In an embodiment of the present invention, the current state information of mobile WIFI terminal includes the current position of mobile WIFI terminal Manage location information, the operator's informaiton currently registered etc..
Being configured with according to preset rules in mobile WIFI terminal allows to offer wireless internet services by seed card channel Information aggregate includes that allow to enable kind of subcard single channel be that mobile client establishes wireless Internet services in the information aggregate Country information, the operator's informaiton etc. for allowing to access, if the current geographic position information of the mobile WIFI terminal or The operator's informaiton currently registered is located in the information aggregate, then can be provided wirelessly by seed card channel for mobile client Service on net.
In embodiments of the present invention, mobile WIFI terminal can actively search for the communication network in location in real time, and from search To communication network in obtain mobile WIFI terminal current geographic position information, the current operator's informaiton registered, then Judge it is preset allow whether to have the item to match in the information aggregate to offer wireless internet services by seed card channel, if sentencing Disconnected result is yes, successful match, then determines that current state information is located at preset allow by the offer wirelessly of seed card channel Net service information aggregate in, if judging result be it is no, i.e., it fails to match, then determines current state information not in preset permission In the information aggregate to be offered wireless internet services by seed card channel.
As an embodiment of the present invention, the information aggregate to offer wireless internet services by seed card channel is allowed to need It keeps updating, when mobile WIFI terminal booting logs in or in use process, mobile WIFI terminal can pass through seed cartoon Road reports the information aggregate version number to background server, background server according to the version number reported judge the version whether be Latest edition, if it is not, then more new information can be sent to mobile WIFI terminal by background server, in mobile WIFI terminal Old list be updated.
First wireless networking Path Setup unit 120, if for judging that the current state information is located at the information collection In conjunction, then service on net is provided for mobile client by seed card channel.
In one embodiment of the invention, the first wireless networking Path Setup unit includes following subelement:
First wireless Internet services enable unit, if enabling seed card channel for being currently opening initialization state It offers wireless internet services for mobile client.
Second wireless Internet services enable unit, if for currently providing online by virtual card channel for mobile client Service, then close the virtual card channel, and provide service on net by the seed card channel for mobile client.It is described in detail such as Under:
In embodiments of the present invention, when the current state information of mobile WIFI terminal allows to enable kind of a subcard positioned at preset When in the information aggregate in channel, explanation can provide service on net by seed card channel for mobile client, if current is to open Machine init state enables seed card channel directly then as mobile client and provides service on net;If being currently to pass through virtual card Channel provides service on net for mobile client, then closes virtual card channel, and mention for mobile client by seed card channel For service on net.
In embodiments of the present invention, mobile client is connected into network by the WIFI that seed card channel provides, wherein mobile Client can be the mobile terminal devices such as wireless access point, mobile phone, personal digital assistant, tablet computer;It is mobile simultaneously WIFI terminal maintains and the heartbeat of background server, and uploads flow packet, short message and other operation flow message, wherein flow packet Refer to the information that reports by moving the flow that uses of WIFI terminal, flow packet include flow packet ID, terminal iidentification, SIM card number, Time, country and uninterrupted etc., short message here refer to that the short message from operator's push, such as advertisement SMS, business are led to Know short message etc..
SIM card information acquiring unit 130, if for judge the current state information not in the information aggregate, It obtains the virtual card information of virtual card and plants the seed card information of subcard.
In one embodiment of the invention, virtual card information or seed card information include: that MCC code, MNC code, signal are strong Spend parameter, rate parameter etc., as needed sometimes also comprising validity period information, residual flow information, history service condition and The class information etc. of active user.
In one embodiment of the invention, whether judgement currently has been established virtual card channel, if being judged as YES, i.e., currently Virtual card channel has been established, then obtains the virtual card information of the virtual card;If being judged as NO, by seed card channel to from the background Server sends virtual card distribution request, each PLMN currently searched in virtual card distribution request comprising mobile WIFI terminal (Public Land Mobile Network, public land mobile network) and its corresponding network signal intensity etc., wherein PLMN code includes MCC code and MNC code;Background server is according to virtual card distribution request, by preset rules by optimum virtual card Image file is sent to mobile WIFI terminal;Or first send the identity information of the optimum virtual card to mobile WIFI terminal, Corresponding virtual card has first been searched whether in mobile WIFI terminal, if searching less than issuing this most to background server request The image file of excellent virtual card;Mobile WIFI terminal can obtain virtual card information from virtual card image file and background server, Wherein the tariff information of virtual card is obtained from background server.
Comprehensive evaluation index generation unit 140, for generating virtual card respectively according to virtual card information and seed card information Comprehensive evaluation index, plant subcard comprehensive evaluation index.
In one embodiment of the invention, the comprehensive evaluation index of SIM card is by the performance parameter of SIM card by a set pattern Then carry out weight calculation with to SIM card carry out superiority and inferiority assessment, above-mentioned comprehensive evaluation index comprehensively consider SIM card tariff information, Signal strength, validity period information, residual flow information, history service condition and class information of active user etc..
In one embodiment of the invention, SIM card comprehensive evaluation index is evaluated according to signal strength and rate , such as by assigning signal strength and rate with different weights, according to weight calculation weight, weight is that overall merit refers to Number, the calculation formula of comprehensive evaluation index are as follows:
Comprehensive evaluation index=(A2-A1) × a+B1 × b
Wherein, (A2-A1), B1 have carried out normalized, and A1 is network signal intensity parameter, and A2 is most strong network signal Intensive parameter, B1 are rate parameter, and a is the weight for assigning (A2-A1), and b is the weight for assigning B1.
In embodiments of the present invention, weight is to be set according to the needs of users, according to user to rate parameter With the calling hierarchy of signal strength parameter, rate parameter and signal strength parameter are assigned with different weights.In the present embodiment, A1 Bigger representation signal intensity is better, on the contrary then signal strength is poorer;B1 is bigger, and the rate that represent are higher, on the contrary then rate are lower;It is comprehensive It is upper described, illustrate that comprehensive evaluation index is the smaller the better.
Comprehensive evaluation index judging unit 150, for judging the comprehensive evaluation index of kind of subcard whether superior or equal to void The comprehensive evaluation index of quasi- card.
As an embodiment of the present invention, kind of a subcard synthesis is generated respectively by the calculation formula of comprehensive evaluation index to comment Then valence index and virtual card comprehensive evaluation index carry out kind of subcard comprehensive evaluation index and virtual card comprehensive evaluation index pair Than, and judge that kind of subcard comprehensive evaluation index whether superior or equal to virtual card comprehensive evaluation index, in the present embodiment, integrates The more low then SIM card performance of evaluation number is more excellent.
In one embodiment of the invention, it is configured in the mobile WIFI terminal according to preset rules and includes kind of a subcard The kind subcard tariff information set of tariff information, this kind of subcard tariff information set need to often keep updating, when mobile WIFI is whole When end booting logs in or in use process, mobile WIFI terminal can report the information to background server by seed card channel Gather version number, background server judges whether the version is latest edition according to the version number reported, if it is not, then backstage takes More new information can be sent to mobile WIFI terminal by business device, to be updated to the old list in mobile WIFI terminal.
Second wireless networking Path Setup unit 160, for being then movement by seed card channel if the determination result is YES Client provides service on net.
In one embodiment of the invention, when the comprehensive evaluation index of judgement kind subcard is comprehensive superior or equal to virtual card When evaluation number, corresponding the present embodiment, that is, described kind of subcard comprehensive evaluation index is less than or equal to the virtual card overall merit and refers to When number, then the service of wireless networking is established for mobile client by kind of subcard.
In one embodiment of the invention, if being currently opening initialization state, directly enabling seed card channel is Mobile client provides service on net;If being currently to provide service on net by virtual card channel for mobile client, close Virtual card channel, and service on net is provided for mobile client by seed card channel, at this time without passing through virtual card and backstage Server establishes communication channel, saves the connection resource of background server.
Third wireless networking Path Setup unit 170 is movement by the virtual card if being no for judging result Client offers wireless internet services.
In embodiments of the present invention, when comprehensive evaluation index of the comprehensive evaluation index of virtual card better than kind of subcard, then Communication channel is established by virtual card, and is offered wireless internet services for mobile client.If being currently not by above-mentioned by taking The corresponding virtual card channel of virtual card that business device is distributed provides service on net for mobile client, then starting is by background server The corresponding virtual card channel of the virtual card of distribution, and service on net is provided for mobile client, in detail, i.e., this is virtually sticked into Row authentication, dialing, network registry simultaneously connect background server, establish virtual card channel, are then movement by virtual card channel Client offers wireless internet services, and simultaneously closes off the wireless Internet services established by seed card channel or by other void The wireless Internet services that quasi- card channel is established, and the heartbeat of subcard holding and background server is planted, to upload the stream of virtual card Amount packet, short message and other operation flow message etc..
In foregoing invention embodiment, can directly it be offered wireless internet services by kind of a subcard when mobile WIFI terminal is located at Country, or kind subcard comprehensive evaluation index highest when, can directly by plant a subcard be established as mobile client The communication channel of service on net is provided, without establishing communication channel by virtual card, reduces the connection resource to background server Occupancy, increase the connection number of background server, or even in the case where other conditions are constant, the company that can double of maximum Connect number.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (12)

1. a kind of method for establishing communication channel, which is characterized in that described method includes following steps:
The current state information of mobile WIFI terminal is obtained, and judge whether the current state information is located at preset to allow to lead to It crosses in the information aggregate that seed card channel offers wireless internet services;
If the determination result is YES, then it is offered wireless internet services by seed card channel for mobile client;
If judging result be it is no, judge whether the comprehensive evaluation index of described kind of subcard is commented superior or equal to the synthesis of virtual card Valence index;
If the determination result is YES, then it is offered wireless internet services by seed card channel for the mobile client;
The mobile WIFI terminal actively searches for the communication network in location in real time.
2. the method as described in claim 1, which is characterized in that described to be provided wirelessly by seed card channel for mobile client Specific step is as follows for service on net:
If being currently opening initialization state, the seed card channel is enabled as the mobile client, wireless networking clothes are provided Business;
If currently providing service on net by virtual card channel for mobile client, the virtual card channel is closed, and pass through The seed card channel is that the mobile client offers wireless internet services.
3. the method as described in claim 1, which is characterized in that the comprehensive evaluation index calculation formula are as follows:
Comprehensive evaluation index=(A2-A1) × a+B1 × b
Wherein, (A2-A1), B1 have carried out normalized, and A1 is signal strength parameter, and A2 is peak signal parameter, and B1 is money Take parameter, a is the weight for assigning (A2-A1), and b is the weight for assigning rate parameter.
4. method as claimed in claim 1 or 3, which is characterized in that it is described judgement described kind of subcard comprehensive evaluation index be Further include following steps before the step of no comprehensive evaluation index superior or equal to virtual card:
Obtain the virtual card information of the virtual card and the seed card information of described kind of subcard;
According to the virtual card information and the seed card information generate respectively the comprehensive evaluation index of the virtual card with it is described The comprehensive evaluation index of kind subcard.
5. method as claimed in claim 4, which is characterized in that the detailed process of the virtual card information for obtaining virtual card is such as Under:
Whether judgement currently has been established virtual card channel;
If the determination result is YES, then the virtual card information of the virtual card is obtained;
If judging result be it is no, by seed card channel to background server send virtual card distribution request, and obtain described in The virtual card information for the virtual card that background server is distributed.
6. the method as described in claim 1, which is characterized in that whether the comprehensive evaluation index for judging described kind of subcard is excellent In or equal to virtual card comprehensive evaluation index the step of after further include following steps:
It is that the mobile client offers wireless internet services by the virtual card channel if judging result is no.
7. a kind of device for establishing communication channel, which is characterized in that described device includes such as lower unit:
Current state judging unit for obtaining the current state information of mobile WIFI terminal, and judges the current state letter Whether breath is located in the preset information aggregate for allowing to offer wireless internet services by seed card channel;
First wireless networking Path Setup unit, if for judging that the current state information is located in the information aggregate, It is offered wireless internet services by seed card channel for mobile client;
Comprehensive evaluation index judging unit, if for judging result be it is no, judge described kind of subcard comprehensive evaluation index whether Superior or equal to the comprehensive evaluation index of virtual card;And
Second wireless networking Path Setup unit, if for judging that the comprehensive evaluation index of kind of subcard is virtual superior or equal to described The comprehensive evaluation index of card is then that the mobile client offers wireless internet services by seed card channel;
The mobile WIFI terminal actively searches for the communication network in location in real time.
8. device as claimed in claim 7, which is characterized in that the first wireless networking Path Setup unit includes following son Unit:
First wireless Internet services enable unit, if enabling the seed card channel for being currently opening initialization state It offers wireless internet services for the mobile client;
Second wireless Internet services enable unit, if for currently providing online by virtual card channel for the mobile client Service then closes the virtual card channel, and provides wireless networking clothes by the seed card channel for the mobile client Business.
9. device as claimed in claim 7, which is characterized in that the calculation formula of the comprehensive evaluation index are as follows:
Comprehensive evaluation index=(A2-A1) × a+B1 × b
Wherein, (A2-A1), B1 have carried out normalized, and A1 is signal strength parameter, and A2 is peak signal parameter, and B1 is money Take parameter, a is the weight for assigning (A2-A1), and b is the weight for assigning rate parameter.
10. the device as described in claim 7 or 9, which is characterized in that further include before the comprehensive evaluation index judging unit Such as lower unit:
SIM card information acquiring unit, for obtaining the virtual card information of the virtual card and the kind subcard letter of described kind of subcard Breath;
Comprehensive evaluation index generation unit, for generating the void respectively according to the virtual card information and the seed card information The comprehensive evaluation index of quasi- card and the comprehensive evaluation index of described kind of subcard.
11. device as claimed in claim 10, which is characterized in that the SIM card information acquiring unit includes following subelement:
Virtual card channel judging unit, for judging virtual card channel currently whether has been established;
First virtual card information acquisition unit, for if the determination result is YES, then obtaining the virtual card information of the virtual card;
Second virtual card information acquisition unit, if for judging result be it is no, by seed card channel to background server hair Virtual card distribution request is sent, and obtains the virtual card information for the virtual card that the background server is distributed.
12. device as claimed in claim 7, which is characterized in that further include after the comprehensive evaluation index judging unit as Lower unit:
Third wireless networking Path Setup unit is the shifting by the virtual card channel if being no for judging result Dynamic client offers wireless internet services.
CN201510970312.XA 2015-12-22 2015-12-22 A kind of method and device for establishing communication channel Active CN105554718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510970312.XA CN105554718B (en) 2015-12-22 2015-12-22 A kind of method and device for establishing communication channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510970312.XA CN105554718B (en) 2015-12-22 2015-12-22 A kind of method and device for establishing communication channel

Publications (2)

Publication Number Publication Date
CN105554718A CN105554718A (en) 2016-05-04
CN105554718B true CN105554718B (en) 2019-02-15

Family

ID=55833607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510970312.XA Active CN105554718B (en) 2015-12-22 2015-12-22 A kind of method and device for establishing communication channel

Country Status (1)

Country Link
CN (1) CN105554718B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106455009B (en) * 2016-10-31 2020-10-30 珠海大横琴科技发展有限公司 Network searching device and method
CN108449801B (en) * 2018-05-11 2020-09-18 深圳市优克联新技术有限公司 Network connection method, device, computer device and computer readable storage medium
CN110891266B (en) * 2019-12-20 2021-11-05 深圳市优克联新技术有限公司 Network roaming method, device, terminal equipment and storage medium
WO2022007900A1 (en) * 2020-07-08 2022-01-13 深圳市优克联新技术有限公司 Network switching circuit and customer premises equipment
CN115942430B (en) * 2023-02-24 2023-05-05 上海途鸽数据科技有限公司 Communication method, device, terminal and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869001A (en) * 2011-07-04 2013-01-09 三星电子株式会社 Method and apparatus for selecting identity module of mobile terminal supporting plural identity modules
CN103686669A (en) * 2013-12-13 2014-03-26 华为终端有限公司 Data service transmitting method and terminal
CN103747152A (en) * 2014-01-21 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Prompting method, prompting system and terminal for processing communication service
CN104392190A (en) * 2014-11-07 2015-03-04 北京智付融汇科技有限公司 Virtual card substantiating method and device through mobile terminal equipment
CN104717630A (en) * 2015-03-02 2015-06-17 联想(北京)有限公司 Information processing method, electronic device and server
CN104717629A (en) * 2015-03-02 2015-06-17 联想(北京)有限公司 Information processing method, electronic device and server
CN104853340A (en) * 2014-02-19 2015-08-19 联发科技股份有限公司 Wireless device and method of selecting subscriber identity module

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869001A (en) * 2011-07-04 2013-01-09 三星电子株式会社 Method and apparatus for selecting identity module of mobile terminal supporting plural identity modules
CN103686669A (en) * 2013-12-13 2014-03-26 华为终端有限公司 Data service transmitting method and terminal
CN103747152A (en) * 2014-01-21 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Prompting method, prompting system and terminal for processing communication service
CN104853340A (en) * 2014-02-19 2015-08-19 联发科技股份有限公司 Wireless device and method of selecting subscriber identity module
CN104392190A (en) * 2014-11-07 2015-03-04 北京智付融汇科技有限公司 Virtual card substantiating method and device through mobile terminal equipment
CN104717630A (en) * 2015-03-02 2015-06-17 联想(北京)有限公司 Information processing method, electronic device and server
CN104717629A (en) * 2015-03-02 2015-06-17 联想(北京)有限公司 Information processing method, electronic device and server

Also Published As

Publication number Publication date
CN105554718A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN105554718B (en) A kind of method and device for establishing communication channel
CN106416329B (en) Method, mobile communications network and the home subscriber servers functional node of roaming service are provided
JP5031224B2 (en) Method and apparatus for providing managed roaming service in a wireless network
CN104937976B (en) The method, equipment and device of business are unloaded via wireless peer to peer connection
CN103119987B (en) The method of fix data points, the network using the method and subscriber's installation
US7844283B2 (en) Method of providing location based information to a mobile terminal within a communications network
CN105282701B (en) A kind of method, apparatus and system of Subscriber Identity Module distribution
US20180152832A1 (en) Method, apparatus, and system for online subscription data configuration
CN104378751B (en) Remotely access the method, equipment and system of cellular mobile network
CN109565465A (en) Business forwarding in virtual network based on service
CN109792598A (en) The method and apparatus for supporting to be attached and create ownership routing PDU session in the roaming environments of network fragment for terminal
CN109792600A (en) The service of local operator provides
CN110351777A (en) The method and apparatus for indicating service distributing
CN104010300A (en) Data transmission method
CN104584630B (en) According to the service quality of access service to the method and apparatus of the roaming management in communication network
CN113630783B (en) Communication method and device
CN109756423A (en) The method and apparatus of policy update
WO2012074929A2 (en) System and method for dynamic formation of a communication network using wireless communication devices
US20150173008A1 (en) Proactive provisioning of policies by an andsf server
US9967806B2 (en) Device and method for selecting a visited network
CN106131931A (en) A kind of network selecting method, Apparatus and system
CN107105441A (en) Distinguish method, device and the equipment of network type
CN102868988A (en) Policy charging control-based business processing method and system in wireless network
CN105635269B (en) A kind of opportunistic network content distribution scenario based on center control
CN101990204A (en) Method and device for accessing service by using card inserted terminal

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