CN106470459A - terminal control method and device - Google Patents

terminal control method and device Download PDF

Info

Publication number
CN106470459A
CN106470459A CN201510506981.1A CN201510506981A CN106470459A CN 106470459 A CN106470459 A CN 106470459A CN 201510506981 A CN201510506981 A CN 201510506981A CN 106470459 A CN106470459 A CN 106470459A
Authority
CN
China
Prior art keywords
mobile network
parameter
wlan
terminal
identification parameter
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.)
Pending
Application number
CN201510506981.1A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510506981.1A priority Critical patent/CN106470459A/en
Priority to PCT/CN2016/071630 priority patent/WO2016165440A1/en
Publication of CN106470459A publication Critical patent/CN106470459A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of terminal control method, this terminal control method includes step:Obtain mobile network's identification parameter that terminal is currently located cell;Mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage is compared;Control the WLAN function of being turned on and off terminal according to comparison result.The invention also discloses a kind of terminal control mechanism.Present invention achieves terminal automatically turns on or closes WLAN function.

Description

Terminal control method and device
Technical field
The present invention relates to terminal control technical field, more particularly, to terminal control method and device.
Background technology
With scientific and technological high speed development, the terminal such as existing mobile phone, pad (panel computer) is equipped with substantially WLAN (Wireless Local Area Networks, WLAN) function, such as wifi (wireless Fidelity, Wireless Fidelity) function.It is in the work electricity under opening due to terminal in WLAN function Stream is larger, so for power saving, when not using wlan network, user needs the WLAN of terminal Function setting is closed mode;The WLAN function of terminal is just opened when using wlan network.And Existing terminal is typically manually opened by user when being turned on or off WLAN function, does not enable certainly Move and be turned on and off WLAN function.
Content of the invention
Present invention is primarily targeted at proposing a kind of terminal control method and device it is intended to solve existing end End does not enable to automatically turn on or close the technical problem of WLAN function.
For achieving the above object, the present invention provides a kind of terminal control method, described terminal control method bag Include following steps:
Obtain mobile network's identification parameter that terminal is currently located cell;
Mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage is compared;
Control the WLAN function of being turned on and off terminal according to comparison result.
Preferably, the described step bag controlling the WLAN function of being turned on and off terminal according to comparison result Include:
When the described mobile network's identification parameter obtaining is mated with mobile network's identification parameter of storage, control System opens the WLAN function of terminal.
Preferably, the described step bag controlling the WLAN function of being turned on and off terminal according to comparison result Include:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When the WLAN function of terminal is in opening, determine whether to access wlan network;
When currently not accessing wlan network, control the WLAN function of closing a terminal.
Preferably, described mobile network's mark ginseng by the described mobile network's identification parameter obtaining and storage After the step that number is compared, also include:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When terminal is currently at the state accessing wlan network, obtain the wlan network pair being currently accessed The WLAN parameter answered;
The described mobile network's identification parameter obtaining is associated depositing with the described WLAN parameter obtaining Storage.
Preferably, the described described WLAN parameter by the described mobile network's identification parameter obtaining and acquisition The step being associated storing includes:
Judge whether be less than present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value;
If being less than predetermined number threshold with the quantity of mobile network's identification parameter of described WLAN parameter association Value, then be associated storing by the described mobile network's identification parameter obtaining and described WLAN parameter.
Preferably, described judgement and the quantity of mobile network's identification parameter of described WLAN parameter association are After the no step less than predetermined number threshold value, also include:
If being more than or equal to present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value, then by the signal intensity in the current WLAN parameter obtaining and the current mobile network obtaining mark The signal intensity known in the corresponding WLAN parameter of parameter is compared;
The current mobile network's identification parameter obtaining corresponds in WLAN parameter, has the letter of WLAN parameter When number intensity is less than the signal intensity in the current WLAN parameter obtaining, the described mobile network that will obtain Identification parameter and the described WLAN parameter obtaining are associated storing;
Delete the current mobile network's identification parameter obtaining and correspond to the signal intensity minimum in WLAN parameter Pass between described WLAN parameter, and described WLAN parameter and corresponding mobile network's identification parameter Connection relation.
Additionally, for achieving the above object, the present invention also proposes a kind of terminal control mechanism, described terminal control Device processed includes:
Acquisition module, is currently located mobile network's identification parameter of cell for obtaining terminal;
Matching module, described mobile network's identification parameter and the mobile network of storage for obtaining identify Parameter is compared;
Processing module, for controlling the WLAN function of being turned on and off terminal according to comparison result.
Preferably, described processing module is used for:
When the described mobile network's identification parameter obtaining is mated with mobile network's identification parameter of storage, control System opens the WLAN function of terminal.
Preferably, described processing module is used for:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When the WLAN function of terminal is in opening, determine whether to access wlan network;
When currently not accessing wlan network, control the WLAN function of closing a terminal.
Preferably, described terminal control mechanism also includes:
Memory module, for when mobile network's mark of the described mobile network's identification parameter obtaining and storage Parameter mismatches, and when terminal is currently at the state accessing wlan network, acquisition is currently accessed Wlan network corresponding WLAN parameter;By the described mobile network's identification parameter obtaining and the institute obtaining State WLAN parameter to be associated storing.
Preferably, described memory module is used for:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When terminal is currently at the state accessing wlan network, obtain the wlan network pair being currently accessed The WLAN parameter answered;
Judge whether be less than present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value;
If being less than predetermined number threshold with the quantity of mobile network's identification parameter of described WLAN parameter association Value, then be associated storing by the described mobile network's identification parameter obtaining and described WLAN parameter.
Preferably, described memory module is additionally operable to:
If being more than or equal to present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value, then by the signal intensity in the current WLAN parameter obtaining and the current mobile network obtaining mark The signal intensity known in the corresponding WLAN parameter of parameter is compared;
The current mobile network's identification parameter obtaining corresponds in WLAN parameter, has the letter of WLAN parameter When number intensity is less than the signal intensity in the current WLAN parameter obtaining, the described mobile network that will obtain Identification parameter and the described WLAN parameter obtaining are associated storing;
Delete the current mobile network's identification parameter obtaining and correspond to the signal intensity minimum in WLAN parameter Pass between described WLAN parameter, and described WLAN parameter and corresponding mobile network's identification parameter Connection relation.
Terminal control method proposed by the present invention and device, in described terminal control method, when user takes When tape terminal enters current mobile network cell, terminal obtains mobile network's mark of described cell first Then mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage is carried out by parameter Compare, the WLAN function of being turned on and off terminal is controlled according to comparison result, it is therefore not necessary to user's handss Dynamic operation is turned on and off WLAN function it is achieved that terminal automatically turns on or closes WLAN function.
Brief description
Fig. 1 is the schematic flow sheet of terminal control method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of terminal control method second embodiment of the present invention;
Fig. 3 is the high-level schematic functional block diagram of terminal control mechanism first embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of terminal control mechanism second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be done further in conjunction with the embodiments referring to the drawings Explanation.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit Determine the present invention.
The present invention provides a kind of terminal control method, and with reference to Fig. 1, Fig. 1 is terminal control method of the present invention the The schematic flow sheet of one embodiment.
In the present embodiment, this terminal control method comprises the following steps:
Step S10, obtains mobile network's identification parameter that terminal is currently located cell;
With the raising of scientific and technological development and people's quality of the life, mobile phone, pad (panel computer) etc. are eventually End has become as the carry-on necessary article of user.Existing terminal is equipped with WLAN (Wireless Local substantially Area Networks, WLAN) function, such as wifi (wireless fidelity, Wireless Fidelity) Function, has the place of wlan network in family, market, hotel etc., and user opens the WLAN of terminal Function, it is possible to realize the operation such as news browsing, video-see after accessing wlan network, is user Life provide greatly convenient.WLAN that is manually opened typically by user now or closing a terminal Function, automatically turns on or closes WLAN function to realize terminal, present embodiments provide a kind of terminal Control method.In the present embodiment, taking realize terminal and automatically turn on or close wifi function as a example to this Bright terminal control method is described in detail.It will be appreciated by persons skilled in the art that the end of the present invention End control method is not limited only to apply and automatically turns on or close wifi function realizing terminal.
In the present embodiment, when user's carried terminal enters current mobile network cell, terminal obtains It is currently located mobile network's identification parameter of cell.Described mobile network's identification parameter preferably includes described little MNC (Mobile in PLMN (Public Land Mobile Network, PLMN) for the area Network Code, Mobile Network Code), MCC (Mobile Country Code, Mobile Country Code MCC), LAC (Location Area Code, Location Area Code) and CellID (Cell Identity, cell ID Code).Wherein, described MNC is used for identifying the mobile network belonging to mobile client;Described MCC is used for Show the country of mobile client ownership;Described LAC is used for identifying different position areas, and position area can To comprise one or more cells;Described CellID is used for identifying different cells.In other embodiments, Described mobile network's identification parameter can also include described cell RAC (Route Area in the plmn Code, Route Area code), described RAC is used for the routed domain in the area of home position, unique in the area of position, And a cell can only belong to a Route Area;And the standard of described cell, frequency, signal intensity etc. Parameter.
Further, terminal can also obtain mobile network's identification parameter of the adjacent cell of described cell, Wherein, described adjacent cell refers to that the signal intensity in the cell near described cell that terminal detects is big Cell in preset signal strength threshold value.Using mobile network's identification parameter of the described cell obtaining as institute State mobile network's mark master data of cell, by mobile network's identification parameter of the described adjacent cell obtaining Mobile network as described cell identifies auxiliary data.Wherein, the mobile network of described cell identifies auxiliary number According to zero group, one group or multigroup can be comprised, the quantity of described auxiliary data is not restricted, but described master Data can only comprise one group.
Step S20, mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage is entered Row compares;
In the present embodiment, terminal has prestored least one set mobile network's identification parameter.For example, when When user enters some new mobile network cell carried terminal first time, such as obtain in above-mentioned steps S10 The method taking mobile network's identification parameter is the same, and terminal obtains the mobile network of described new mobile network cell Network identification parameter.Mobile network's identification parameter of described new mobile network cell includes described new movement Mobile network's mark master data of network cell, can also include the movement of described new mobile network cell The auxiliary data of network identity.When user manually opens the wifi function of terminal, with described new mobile network After wifi network in network cell sets up network insertion, the described new mobile network cell that terminal will obtain Mobile network's identification parameter stored.
After getting, by above-mentioned steps S10, mobile network's identification parameter that terminal is currently located cell, Terminal is currently located mobile network's identification parameter of cell and mobile network's mark of storage described in obtaining Parameter is compared, and judges whether that the mobile network's identification parameter storing and terminal are currently located cell Mobile network's identification parameter coupling.Specifically, by each number in mobile network's identification parameter of storage Compared according to being currently located each data corresponding in mobile network's identification parameter of cell respectively with terminal Right, for example respectively the mobile network of storage is identified master data and terminal is currently located the mobile network of cell Mark master data is compared, and the mobile network of storage is identified auxiliary data and is currently located cell with terminal Mobile network identifies auxiliary data and compares.If each data in mobile network's identification parameter of this storage All it is currently located each current coupling corresponding in mobile network's identification parameter of cell with terminal, then sentence Mobile network's identification parameter of this storage disconnected and terminal are currently located mobile network's identification parameter of cell Join;Otherwise, judge that mobile network's identification parameter of this storage and terminal are currently located the mobile network of cell Identification parameter mismatches.
Step S30, controls the WLAN function of being turned on and off terminal according to comparison result.
By above-mentioned steps S20, the mobile network of the described mobile network's identification parameter obtaining and storage is marked After knowledge parameter is compared, control the wifi function of being turned on and off terminal according to comparison result.Specifically, Described step S30 includes:
Step a, when the described mobile network's identification parameter obtaining is mated with mobile network's identification parameter of storage When, control the WLAN function of opening terminal.
When the mobile network's identification parameter by the judgement storage of above-mentioned steps S20 is currently located cell with terminal Mobile network's identification parameter coupling when, then control open terminal wifi function.Specifically, if terminal When current mobile network cell, wifi function is closed, then control and open wifi function, make The wifi function of terminal is in opening;If terminal wifi function when current mobile network cell Already at opening, then terminal maintains wifi function to be in opening.
Further, in the present embodiment, described step S30 also includes:
Step b, when the described mobile network's identification parameter obtaining and storage mobile network's identification parameter not Join, and when the WLAN function of terminal is in opening, determine whether to access wlan network;
Step c, when currently not accessing wlan network, controls the WLAN function of closing a terminal.
In the present embodiment, when user's carried terminal enters current mobile network cell, terminal obtains first Take the mobile network's identification parameter being currently located cell, the described mobile network's identification parameter that then will obtain With storage mobile network's identification parameter compare, if obtain described mobile network's identification parameter with deposit Mobile network's identification parameter of storage mismatches, then whether the wifi function of detection terminal is in unlatching further State.If the wifi function of terminal is closed, wifi function is maintained to be closed.If The wifi function of terminal is in opening, then whether detection terminal currently accesses wifi network further. If terminal is currently accessed wifi network, illustrate that user may be currently in use wifi network, then maintain wifi work( Opening can be in.When terminal does not currently access wifi network, the wifi function closed a terminal.
Further, in the present embodiment, when terminal is opened wifi function or closed wifi function, Provide information in the current display interface of terminal.For example, when terminal opens wifi function, at end The taskbar window at end shows the information of " unlatching of wifi function ";When terminal closes wifi function, Show the information of " closing of wifi function " in the taskbar window of terminal.Therefore, user passes through to check Information can intuitively know that the wifi function of terminal is presently at opening and is in closing State.
The scheme that the present embodiment provides, when user's carried terminal enters current mobile network cell, eventually End obtains mobile network's identification parameter of described cell, the described mobile network's identification parameter that then will obtain With storage mobile network's identification parameter compare, if obtain described mobile network's identification parameter with deposit Mobile network's identification parameter coupling of storage, then terminal control unlatching wifi function;If the described movement obtaining Network identification parameter is mismatched with mobile network's identification parameter of storage, and the wifi function of terminal is in out When opening state, determine whether terminal currently accesses wifi network, if terminal does not currently access wifi network, The wifi function of then closing a terminal.Therefore, the scheme of the present embodiment is manually opened or close eventually without user End wifi function is it is achieved that terminal automatically turns on or closes wifi function.
Further, as shown in Fig. 2 terminal control method second of the present invention is proposed based on first embodiment Embodiment, in the present embodiment, after above-mentioned steps S20, also includes:
Step S40, when obtain described mobile network's identification parameter with storage mobile network's identification parameter not Coupling, and when terminal is currently at the state accessing wlan network, obtain the WLAN being currently accessed Network corresponding WLAN parameter;
Step S50, the described mobile network's identification parameter obtaining is entered with the described WLAN parameter obtaining Row associated storage.
In the present embodiment, still taking the wifi function of terminal as a example terminal control method of the present invention is carried out in detail Describe in detail bright.In the first embodiment, when terminal gets the mobile network's identification parameter being currently located cell Afterwards, only when the described mobile network's identification parameter obtaining is mated with mobile network's identification parameter of storage, Terminal opens wifi function, if the described mobile network's identification parameter obtaining is identified with the mobile network of storage When parameter mismatches, namely terminal does not store mobile network's identification parameter that this is currently located cell, now User's manual operation is needed to open the wifi function of terminal.In this case, when next user carries When terminal is again introduced into this and is currently located cell, because terminal does not store the mobile network that this is currently located cell Network identification parameter, gets this and is currently located cell mobile network's identification parameter and the mobile network's mark storing Know parameter still to mismatch, then need user's manual operation to open the wifi function of terminal again.Namely When terminal enters this every time and is currently located cell, it is required for user's manual operation to open the wifi of terminal Function.And, in addition it is also necessary to by user's manual operation come access terminal after terminal opens wifi function It is currently located the wifi network in cell.For example, after terminal opens wifi function, terminal searching is current Wifi network in the cell of place, user selects one of wifi network and inputs wifi network access After password, terminal ability is set up with this wifi network and is connected.
In order to further reduce the operating procedure of user, improve the experience of user, in the present embodiment, It is currently located cell mobile network's identification parameter when terminal obtains this, if this obtaining is currently located cell and moves Dynamic network identification parameter is mismatched with mobile network's identification parameter of storage, then detection terminal is current further Running status.If terminal is currently at the state accessing wifi network, for example, pass through user's manual operation Open wifi function, when accessing wifi network, then terminal obtains the wifi parameter being currently accessed wifi network. Described wifi parameter preferably includes wifi network title and wifi network access pin.In other embodiment In, described wifi parameter can also include wifi network signal intensity.It is currently accessed wifi getting terminal After the wifi parameter of network, by the described mobile network's identification parameter obtaining and the described wifi parameter obtaining It is associated storing.
So, when terminal enters back into and is currently located cell next time, first terminal obtain be currently located little Mobile network's identification parameter in area, then by the movement of the described mobile network's identification parameter obtaining and storage Network identification parameter is compared, due to will be currently located mobile network's identification parameter and the wifi of cell The wifi parameter of network is associated storing, so the described mobile network's identification parameter obtaining and storage Mobile network's identification parameter mates, and therefore terminal opens wifi function.And, according to described mobile network The wifi parameter of network identification parameter associated storage, terminal automatically accesses the corresponding wifi network of described wifi parameter Network is it is not necessary to user's manual operation accesses wifi network.
It is currently located mobile network's identification parameter of cell and mobile network's mark of storage what terminal obtained Parameter mismatch, and terminal do not access wifi network state when, the wifi function of such as terminal is in pass Closed state, or wifi function is in opening but when terminal fails normally to access wifi network, terminal Do not store the mobile network's identification parameter being currently located cell of acquisition.
The scheme that the present embodiment proposes, when user's carried terminal enters current mobile network cell, if Obtain is not currently located mobile network's identification parameter of mobile network's identification parameter of cell and storage not Join, and when terminal is currently accessed the state of wifi network, obtain the wifi ginseng being currently accessed wifi network Then the described mobile network's identification parameter obtaining is associated depositing by number with the described wifi parameter obtaining Storage.When terminal enters back into current mobile network cell afterwards, then the movement being currently located cell that obtains Network identification parameter is mated with mobile network's identification parameter of storage, and terminal opens wifi function, and automatically Access the corresponding wifi network of described wifi parameter, user is not required to the WLAN work(that terminal is opened in manual operation And wifi network can be accessed, further increase Consumer's Experience.
Further, terminal control method 3rd embodiment of the present invention is proposed based on second embodiment, at this In embodiment, described step S50 includes:
Whether step d, judge little with the quantity of mobile network's identification parameter of described WLAN parameter association In predetermined number threshold value;
Step e, if being more than with the quantity of mobile network's identification parameter of described WLAN parameter association or waiting In predetermined number threshold value, then by the signal intensity in the current WLAN parameter obtaining and the current shifting obtaining Signal intensity in the corresponding WLAN parameter of dynamic network identification parameter is compared;
Step f, the current mobile network's identification parameter obtaining corresponds in WLAN parameter, has WLAN to join When the signal intensity of number is less than the signal intensity in the current WLAN parameter obtaining, the described shifting that will obtain Dynamic network identification parameter and the described WLAN parameter obtaining are associated storing;
Step g, the signal deleted in the corresponding WLAN parameter of the current mobile network's identification parameter obtaining is strong The minimum described WLAN parameter of degree, and described WLAN parameter and corresponding mobile network's identification parameter Between incidence relation.
In each above-mentioned embodiment, as terminal the mobile network's parameter obtaining and the mobile network storing Identification parameter mismatches, and when terminal accesses wifi network, then mobile network's parameter that terminal will obtain It is associated storing with the wifi network corresponding wifi parameter accessing, such a wifi network is corresponding Wifi parameter may be with multigroup mobile network's identification parameter associated storage.For example, if terminal will be currently located little Mobile network's identification parameter in area is stored with wifi parameter association, and in being currently located cell, terminal accesses Wifi network.When user's carried terminal from be currently located cell movement to its adjacent cell when, if now terminal Still access described wifi network, and mobile network's identification parameter of adjacent cell of obtaining of terminal with deposit Storage mobile network's identification parameter mismatch, then terminal by mobile network's identification parameter of adjacent cell with connect The described wifi network corresponding wifi parameter entering is associated storing.Namely described wifi network is corresponding Wifi parameter and multigroup mobile network's identification parameter associated storage.In this case, terminal is in fact unnecessary By corresponding for described wifi network wifi parameter and each group mobile network's identification parameter associated storage, therefore, In each group mobile network's identification parameter of associated storage, can be by wherein corresponding wifi network signal intensity Less mobile network's identification parameter group is deleted.In the present embodiment, still taking the wifi function of terminal as a example Terminal control method of the present invention is described in detail.
Specifically, in the present embodiment, pre-set the wifi parameter association storage with a wifi network Mobile network's identification parameter amount threshold A.When user's carried terminal enters and is currently located cell, If mobile network's identification parameter of the current described mobile network's identification parameter obtaining of terminal and storage is not Join, and when terminal is currently accessed wifi network, terminal obtain the wifi parameter being currently accessed wifi network, Afterwards, whether the quantity of mobile network's identification parameter that terminal judges are stored with described wifi parameter association is little In described amount threshold A.If the quantity with mobile network's identification parameter of described wifi parameter association storage Less than described amount threshold A, then current for the terminal described mobile network's identification parameter obtaining is worked as with terminal The described wifi parameter of front acquisition is associated storing.Otherwise, namely with described wifi parameter association store The quantity of mobile network's identification parameter when reaching described amount threshold A, terminal is by described in current acquisition Signal intensity in wifi parameter and the current described mobile network's identification parameter corresponding wifi parameter institute obtaining The signal intensity of corresponding storage is compared.If corresponding in the current mobile network's identification parameter obtaining In the signal intensity of the corresponding storage of WLAN parameter, the signal intensity having the wifi parameter of storage is less than works as During signal intensity in the wifi parameter of front acquisition, then will the current described mobile network's identification parameter obtaining It is associated storing with the current described wifi parameter obtaining.And delete the described mobile network of current acquisition The described wifi parameter of the signal intensity minimum of the corresponding storage of the corresponding wifi parameter of identification parameter, Yi Jisuo State the incidence relation between wifi parameter and corresponding mobile network's identification parameter, also will with wifi parameter in Mobile network's identification parameter of the minimum described wifi parameter of signal intensity and its associated storage is deleted. If in the signal intensity of storage corresponding to the corresponding wifi parameter of the current mobile network's identification parameter obtaining, When there is not the signal intensity of the wifi parameter of storage and being less than the signal intensity in the current wifi parameter obtaining, Then terminal does not carry out response process.
Preferably, also pre-set signal strength threshold B of wifi parameter.When with described wifi parameter close When the quantity of mobile network's identification parameter of connection storage reaches described amount threshold A, terminal is respectively by terminal By the signal intensity in the current described wifi parameter obtaining and the current described mobile network's mark obtaining The signal intensity of the corresponding storage of the corresponding wifi parameter of parameter, is compared with default signal strength threshold B Right.If the signal intensity in storage corresponding to the corresponding wifi parameter of the current mobile network's identification parameter obtaining In, the signal intensity having the wifi parameter of storage is less than default signal strength threshold B, then join wifi In number, signal intensity is less than the wifi parameter of signal strength threshold B and its mobile network's mark of associated storage Parameter is deleted.If the signal intensity in the current described wifi parameter obtaining of terminal is more than signal intensity Threshold value B, then by current for the terminal described mobile network's identification parameter obtaining and the current described wifi obtaining Parameter is associated storing.If the signal intensity in the current described wifi parameter obtaining of terminal is less than signal Intensity threshold B, then do not store described mobile network's identification parameter of current acquisition.
It will be appreciated by persons skilled in the art that by other means inspection can also for example be pre-set The survey cycle, periodically by corresponding to corresponding for the current described mobile network's identification parameter obtaining wifi parameter The signal intensity of storage, is compared with signal strength threshold B, wherein corresponding signal intensity is less than Mobile network's identification parameter of the wifi parameter of signal strength threshold B and associated storage is deleted.In addition, According to the other specification in addition to signal intensity, some mobile network's identification parameters therein can also be deleted Remove.Call number for example according to mobile network's identification parameter, respectively by the tune of mobile network's identification parameter Compared with default call number with number of times, if the call number that there is mobile network's identification parameter is little In default call number, then described mobile network's identification parameter is deleted;If mobile network's identification parameter Call number be more than default call number, then by described mobile network's identification parameter retain.
The scheme that the present embodiment proposes, when the terminal described mobile network's identification parameter obtaining and the shifting storing Dynamic network identification parameter mismatches, and when terminal is currently accessed wifi network, terminal obtains and is currently accessed wifi The wifi parameter of network, if reach with the quantity of mobile network's identification parameter of described wifi parameter association storage During to predetermined number threshold value, signal intensity in the current wifi parameter obtaining is obtained by terminal with current Signal intensity in the corresponding wifi parameter of mobile network's identification parameter is compared, if in the current shifting obtaining In the corresponding wifi parameter of dynamic network identification parameter, the signal intensity having wifi parameter is less than the current wifi obtaining During signal intensity in parameter, by the described mobile network's identification parameter obtaining and the described wifi ginseng obtaining Number is associated storing, and deletes the signal in the corresponding wifi parameter of the current mobile network's identification parameter obtaining The minimum described wifi parameter of intensity, and between described wifi parameter and corresponding mobile network's identification parameter Incidence relation.Therefore, memory space can be saved by movement high for corresponding wifi network signal intensity Network identification parameter and wifi parameter are associated storing.
The present invention further provides a kind of terminal control mechanism, as shown in figure 3, Fig. 3 is terminal of the present invention The high-level schematic functional block diagram of control device first embodiment.
In the present embodiment, this terminal control mechanism includes:
Acquisition module 10, is currently located mobile network's identification parameter of cell for obtaining terminal;
With the raising of scientific and technological development and people's quality of the life, mobile phone, pad (panel computer) etc. are eventually End has become as the carry-on necessary article of user.Existing terminal is equipped with WLAN (Wireless Local substantially Area Networks, WLAN) function, such as wifi (wireless fidelity, Wireless Fidelity) Application, has the place of wlan network in family, market, hotel etc., and user opens the WLAN of terminal Function, it is possible to realize the operation such as news browsing, video-see after accessing wlan network, is user Life provide greatly convenient.WLAN that is manually opened typically by user now or closing a terminal Function, automatically turns on or closes WLAN function to realize terminal, present embodiments provide a kind of terminal Control device.In the present embodiment, taking realize terminal and automatically turn on or close wifi function as a example to this Bright terminal control mechanism is described in detail.It will be appreciated by persons skilled in the art that the end of the present invention End control device is not limited only to apply and automatically turns on or close wifi function realizing terminal.
In the present embodiment, when user's carried terminal enters current mobile network cell, terminal control The acquisition module 10 of device obtains the mobile network's identification parameter being currently located cell.Described mobile network's mark Know parameter and preferably include described cell in PLMN (Public Land Mobile Network, public land shifting Dynamic net) in MNC (Mobile Network Code, Mobile Network Code), MCC (Mobile Country Code, Mobile Country Code MCC), LAC (Location Area Code, Location Area Code) and CellID (Cell Identity, cell identification code).Wherein, described MNC is used for identifying the mobile network belonging to mobile client; Described MCC is used for showing the country of mobile client ownership;Described LAC is used for identifying different position areas, One position area can comprise one or more cells;Described CellID is used for identifying different cells.? In other embodiment, described mobile network's identification parameter can also include described cell in the plmn RAC (Route Area Code, Route Area code), described RAC are used for the routed domain in the area of home position, Unique in the area of position, and a cell can only belong to a Route Area;And described cell standard, The parameters such as frequency, signal intensity.
Further, terminal can also obtain mobile network's identification parameter of the adjacent cell of described cell, Wherein, described adjacent cell refers to that the signal intensity in the cell near described cell that terminal detects is big Cell in preset signal strength threshold value.Using mobile network's identification parameter of the described cell obtaining as institute State mobile network's mark master data of cell, by mobile network's identification parameter of the described adjacent cell obtaining Mobile network as described cell identifies auxiliary data.Wherein, the mobile network of described cell identifies auxiliary number According to zero group, one group or multigroup can be comprised, the quantity of described auxiliary data is not restricted, but described master Data can only comprise one group.
Matching module 20, for the described mobile network's identification parameter that will obtain and the mobile network's mark storing Know parameter to compare;
In the present embodiment, terminal has prestored least one set mobile network's identification parameter.For example, when When user enters some new mobile network cell carried terminal first time, acquisition module 10 obtains described Mobile network's identification parameter of new mobile network cell.The mobile network of described new mobile network cell Identification parameter includes mobile network's mark master data of described new mobile network cell, can also include institute The mobile network stating new mobile network cell identifies auxiliary data.When user manually opens the wifi of terminal Wifi network in function, with described new mobile network cell is set up after network insertion, and terminal will obtain Mobile network's identification parameter of described new mobile network cell stored.
After mobile network's identification parameter that terminal is currently located cell is got by acquisition module 10, Join module 20 and will be currently located mobile network's identification parameter of cell and the mobile network of storage described in acquisition Identification parameter is compared, and judges whether that the mobile network's identification parameter storing is currently located with terminal Mobile network's identification parameter coupling of cell.Specifically, the mobile network storing is identified by matching module 20 Each data in parameter is currently located corresponding each in mobile network's identification parameter of cell respectively with terminal Individual data is compared, for example, be currently located mobile network's mark master data of storage and terminal little respectively Mobile network's mark master data in area is compared, and the mobile network of storage is identified auxiliary data and works as with terminal The mobile network of front place cell identifies auxiliary data and compares.If mobile network's identification parameter of this storage In each data be all currently located with terminal that corresponding in mobile network's identification parameter of cell each is current Coupling, then judge that mobile network's identification parameter of this storage and terminal are currently located the mobile network of cell Identification parameter mates;Otherwise, judge that mobile network's identification parameter of this storage and terminal are currently located cell Mobile network's identification parameter mismatch.
Processing module 30, for controlling the WLAN function of being turned on and off terminal according to comparison result.
By matching module 20, the mobile network of the described mobile network's identification parameter obtaining and storage is identified After parameter is compared, processing module 30 controls the wifi function of being turned on and off terminal according to comparison result. Specifically, described processing module 30 is used for:
When the described mobile network's identification parameter obtaining is mated with mobile network's identification parameter of storage, control System opens the WLAN function of terminal.
When the mobile network's identification parameter by matching module 20 judgement storage is currently located cell with terminal During mobile network's identification parameter coupling, then processing module 30 controls the wifi function of opening terminal.Specifically, If terminal wifi function when current mobile network cell is closed, processing module 30 controls Open wifi function, make the wifi function of terminal be in opening;If terminal is in current mobile network During network cell, wifi function maintains at the wifi function of terminal already at opening, then processing module 30 In opening.
Further, in the present embodiment, described processing module 30 is additionally operable to:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When the WLAN function of terminal is in opening, determine whether to access wlan network;
When currently not accessing wlan network, control the WLAN function of closing a terminal.
In the present embodiment, when user's carried terminal enters current mobile network cell, acquisition module 10 Obtain first and be currently located mobile network's identification parameter of cell, described in then matching module 20 will obtain Mobile network's identification parameter is compared with the mobile network's identification parameter storing, if the described movement obtaining Network identification parameter is mismatched with mobile network's identification parameter of storage, then processing module 30 detects further Whether the wifi function of terminal is in opening.If the wifi function of terminal is closed, locate Reason module 30 maintains wifi function to be closed.If the wifi function of terminal is in opening, Whether detection terminal currently accesses wifi network further.If terminal is currently accessed wifi network, illustrate to use Family may be currently in use wifi network, then processing module 30 maintains wifi function to be in opening.At end When wifi network is not currently accessed in end, the wifi function that processing module 30 is closed a terminal.
Further, in the present embodiment, described terminal control mechanism also includes display module.Work as process When module 30 is opened wifi function or closed wifi function, display module is in the current display interface of terminal Provide information.For example, when processing module 30 opens wifi function, display module appointing in terminal Business hurdle window shows the information of " unlatching of wifi function ";When processing module 30 closes wifi function, Display module shows the information of " closing of wifi function " in the taskbar window of terminal.Therefore, user Can intuitively know that the wifi function of terminal is presently at opening still by checking information It is closed.
The scheme that the present embodiment provides, when user's carried terminal enters current mobile network cell, obtains Delivery block 10 obtains mobile network's identification parameter of described cell, the institute that then matching module 20 will obtain The mobile network's identification parameter stating mobile network's identification parameter with storage is compared, if the described shifting obtaining Dynamic network identification parameter is mated with mobile network's identification parameter of storage, then processing module 30 controls and opens Wifi function;If mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage is not Join, and when the wifi function of terminal is in opening, determine whether terminal currently accesses wifi network, If terminal does not currently access wifi network, the wifi function that processing module 30 is closed a terminal.Therefore, originally The scheme of embodiment, without user is manually opened or wifi function of closing a terminal, is ensureing terminal endurance While it is achieved that terminal automatically turns on or closes wifi function.
Further, as shown in figure 4, terminal control mechanism second of the present invention is proposed based on first embodiment Embodiment, in the present embodiment, described terminal control mechanism also includes:
Memory module 40, for when mobile network's mark of the described mobile network's identification parameter obtaining and storage Know parameter to mismatch, and when terminal is currently at the state accessing wlan network, acquisition is currently accessed Wlan network corresponding WLAN parameter;By the described mobile network's identification parameter obtaining and acquisition Described WLAN parameter be associated store.
In the present embodiment, still taking the wifi function of terminal as a example terminal control mechanism of the present invention is carried out in detail Describe in detail bright.In the first embodiment, when acquisition module 10 gets the mobile network's mark being currently located cell After knowing parameter, only when mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage Timing, processing module 30 opens wifi function, if the described mobile network's identification parameter obtaining and storage When mobile network's identification parameter mismatches, namely terminal does not store mobile network's mark that this is currently located cell Know parameter, now need user's manual operation to open the wifi function of terminal.In this case, when When next user's carried terminal is again introduced into this and is currently located cell, it is currently located because terminal does not store this Mobile network's identification parameter of cell, gets this and is currently located cell mobile network's identification parameter and storage Mobile network's identification parameter remain unchanged mismatch, then need user's manual operation to open the wifi of terminal again Function.Namely when terminal enters this every time and is currently located cell, be required for user's manual operation to open The wifi function of terminal.And, in addition it is also necessary to pass through user's handss after processing module 30 opens wifi function Dynamic operation carrys out access terminal and is currently located the wifi network in cell.For example, when processing module 30 is opened After wifi function, terminal searching is currently located the wifi network in cell, and user selects one of wifi Network after inputting wifi network access pin, terminal ability is set up with this wifi network and is connected.
In order to further reduce the operating procedure of user, improve the experience of user, in the present embodiment, It is currently located cell mobile network's identification parameter when acquisition module 10 obtains this, if this obtaining is currently located Cell mobile network's identification parameter is mismatched with mobile network's identification parameter of storage, then detect eventually further Hold current running status.If terminal is currently at the state accessing wifi network, for example, pass through user's handss Wifi function is opened in dynamic operation, when accessing wifi network, then obtains the wifi ginseng being currently accessed wifi network Number.Described wifi parameter preferably includes wifi network title and wifi network access pin.Real at other Apply in example, described wifi parameter can also include wifi network signal intensity.Currently connect getting terminal After entering the wifi parameter of wifi network, memory module 40 by obtain described mobile network's identification parameter with obtain The described wifi parameter taking is associated storing.
So, when terminal enters back into and is currently located cell next time, acquisition module 10 obtains currently first Mobile network's identification parameter of place cell, described mobile network's mark ginseng that then matching module 20 obtains Number with store mobile network's identification parameters compare, due to memory module 40 will be currently located little Mobile network's identification parameter in area and the wifi parameter of wifi network are associated storing, so the institute obtaining The mobile network's identification parameter stating mobile network's identification parameter with storage mates, and therefore processing module 30 is opened Wifi function.And, according to the wifi parameter with described mobile network's identification parameter associated storage, terminal Automatically access the corresponding wifi network of described wifi parameter it is not necessary to user's manual operation accesses WLAN net Network.
It is currently located mobile network's identification parameter of cell and the mobile network of storage what acquisition module 10 obtained Network identification parameter mismatch, and terminal do not access wifi network state when, the wifi function of such as terminal It is closed, or wifi function is in opening but when terminal fails normally to access wifi network, Memory module 40 does not store the mobile network's identification parameter being currently located cell of acquisition.
The scheme that the present embodiment proposes, when user's carried terminal enters current mobile network cell, if What acquisition module 10 obtained is currently located mobile network's identification parameter of cell and mobile network's mark of storage Parameter mismatches, and when terminal is currently accessed wifi network, memory module 40 is currently accessed acquisition The wifi parameter of wifi network and the described mobile network's identification parameter obtaining are associated storing.Afterwards eventually When end enters back into current mobile network cell, then the movement being currently located cell that acquisition module 10 obtains Network identification parameter is mated with mobile network's identification parameter of storage, and processing module 30 opens wifi function, Terminal automatically accesses the corresponding wifi network of described wifi parameter, and user is not required to manual operation and opens terminal Wifi function and access wifi network, further increase Consumer's Experience.
Further, terminal control mechanism 3rd embodiment of the present invention is proposed based on second embodiment, at this In embodiment, described memory module 40 is used for:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When terminal is currently at the state accessing wlan network, obtain the wlan network pair being currently accessed The WLAN parameter answered;
Judge whether be less than present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value;
If being more than or equal to present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value, then by the signal intensity in the current WLAN parameter obtaining and the current mobile network obtaining mark The signal intensity known in the corresponding WLAN parameter of parameter is compared;
The current mobile network's identification parameter obtaining corresponds in WLAN parameter, has the letter of WLAN parameter When number intensity is less than the signal intensity in the current WLAN parameter obtaining, the described mobile network that will obtain Identification parameter and the described WLAN parameter obtaining are associated storing;
Delete the current mobile network's identification parameter obtaining and correspond to the signal intensity minimum in WLAN parameter Pass between described WLAN parameter, and described WLAN parameter and corresponding mobile network's identification parameter Connection relation.
In each above-mentioned embodiment, when acquisition module 10 the mobile network's parameter obtaining and the shifting storing Dynamic network identification parameter mismatches, and when terminal accesses wifi network, then memory module 40 will obtain Mobile network's parameter is associated storing with the wifi network corresponding wifi parameter accessing, such a wifi Network corresponding wifi parameter may be with multigroup mobile network's identification parameter associated storage.For example, if storage The mobile network's identification parameter being currently located cell is stored by module 40 with wifi parameter association, in current institute In the cell, terminal accesses wifi network.When user's carried terminal is adjacent to it from being currently located cell movement During nearly cell, if now terminal still accesses described wifi network, and acquisition module obtain neighbouring little Mobile network's identification parameter in area is mismatched with mobile network's identification parameter of storage, then memory module 40 will Mobile network's identification parameter of adjacent cell is closed with the described wifi network corresponding wifi parameter accessing Connection storage.Namely memory module 40 is by corresponding for described wifi network wifi parameter and multigroup mobile network mark Know parameter association storage.But in fact, memory module 40 unnecessary by corresponding for described wifi network wifi Parameter and each group mobile network's identification parameter associated storage, therefore, in each group mobile network of associated storage In identification parameter, less for wherein corresponding wifi network signal intensity mobile network can be marked by removing module Know parameter group to delete.In the present embodiment, still taking the wifi function of terminal as a example to terminal control of the present invention Device is described in detail.
Specifically, in the present embodiment, pre-set the wifi parameter association storage with a wifi network Mobile network's identification parameter amount threshold A.When user's carried terminal enters and is currently located cell, If described mobile network's identification parameter that acquisition module 10 currently obtains and the mobile network's identification parameter storing Mismatch, and when terminal is currently accessed wifi network, memory module 40 obtains and is currently accessed wifi network Wifi parameter, afterwards, judge the number with mobile network's identification parameter of described wifi parameter association storage Whether amount is less than described amount threshold A.If the mobile network's mark ginseng with the storage of described wifi parameter association The quantity of number is less than described amount threshold A, then the described mobile network that terminal is currently obtained by memory module 40 The current described wifi parameter obtaining is associated storing network identification parameter with terminal.Otherwise, namely with institute When stating the quantity of mobile network's identification parameter of wifi parameter association storage and reaching described amount threshold A, deposit Signal intensity in the described wifi parameter that storage module 40 will currently obtain and the current described mobile network obtaining The signal intensity of the corresponding storage of the corresponding wifi parameter of network identification parameter is compared.If in current acquisition In the signal intensity of the corresponding storage of the corresponding wifi parameter of mobile network's identification parameter, the wifi having storage joins When the signal intensity of number is less than the signal intensity in the current wifi parameter obtaining, then memory module 40 ought Described mobile network's identification parameter of front acquisition is associated storing with the current described wifi parameter obtaining. And it is strong to delete the signal of the corresponding storage of the corresponding wifi parameter of described mobile network's identification parameter of current acquisition The minimum described wifi parameter of degree, and between described wifi parameter and corresponding mobile network's identification parameter Incidence relation, described wifi parameter that also will be minimum with signal intensity in wifi parameter and its associated storage Mobile network's identification parameter deleted.If corresponding to wifi in the current mobile network's identification parameter obtaining In the signal intensity of the corresponding storage of parameter, the signal intensity that there is not the wifi parameter of storage is less than currently Obtain wifi parameter in signal intensity when, then memory module 40 does not carry out response process.
Preferably, also pre-set signal strength threshold B of wifi parameter.When with described wifi parameter close When the quantity of mobile network's identification parameter of connection storage reaches described amount threshold A, memory module 40 is respectively Signal intensity in the described wifi parameter that terminal will currently be obtained and the current described mobile network obtaining The signal intensity of the corresponding storage of the corresponding wifi parameter of network identification parameter, with default signal strength threshold B Compare.If the letter in storage corresponding to the corresponding wifi parameter of the current mobile network's identification parameter obtaining In number intensity, the signal intensity having the wifi parameter of storage is less than default signal strength threshold B, then deposit Signal intensity in wifi parameter is less than storage module 40 the wifi parameter of signal strength threshold B and its association is deposited Mobile network's identification parameter of storage is deleted.If the signal intensity in the current described wifi parameter obtaining More than signal strength threshold B, then described mobile network's mark ginseng that terminal is currently obtained by memory module 40 Number is associated storing with the current described wifi parameter obtaining.If in the current described wifi parameter obtaining Signal intensity be less than signal strength threshold B, then memory module 40 does not store the described movement of current acquisition Network identification parameter.
It will be appreciated by persons skilled in the art that by other means inspection can also for example be pre-set The survey cycle, periodically by corresponding to corresponding for the current described mobile network's identification parameter obtaining wifi parameter The signal intensity of storage, is compared with signal strength threshold B, wherein corresponding signal intensity is less than Mobile network's identification parameter of the wifi parameter of signal strength threshold B and associated storage is deleted.In addition, According to the other specification in addition to signal intensity, some mobile network's identification parameters therein can also be deleted Remove.Call number for example according to mobile network's identification parameter, respectively by the tune of mobile network's identification parameter Compared with default call number with number of times, if the call number that there is mobile network's identification parameter is little In default call number, then described mobile network's identification parameter is deleted by memory module 40;If mobile network The call number of network identification parameter is more than default call number, then memory module 40 is by described mobile network Identification parameter retains.
The scheme that the present embodiment proposes, when the terminal described mobile network's identification parameter obtaining and the shifting storing Dynamic network identification parameter mismatches, and when terminal is currently accessed wifi network, memory module 40 obtains currently Access the wifi parameter of wifi network, if the mobile network's identification parameter with the storage of described wifi parameter association Quantity when reaching predetermined number threshold value, memory module 40 will be strong for the signal in the current wifi parameter obtaining Degree is compared with the signal intensity in the current mobile network's identification parameter corresponding wifi parameter obtaining, if In the corresponding wifi parameter of the current mobile network's identification parameter obtaining, there is the signal intensity of wifi parameter little During signal intensity in the current wifi parameter obtaining, the described mobile network that memory module 40 will obtain Identification parameter and the described wifi parameter obtaining are associated storing, and delete the current mobile network obtaining mark Know the described wifi parameter of the signal intensity minimum in the corresponding wifi parameter of parameter, and described wifi parameter With the incidence relation between corresponding mobile network's identification parameter.Therefore, memory space can be saved will correspond to The high mobile network's identification parameter of wifi network signal intensity be associated storing with wifi parameter.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every The equivalent structure made using description of the invention and accompanying drawing content or equivalent flow conversion, or directly or Connect and be used in other related technical fields, be included within the scope of the present invention.

Claims (12)

1. a kind of terminal control method is it is characterised in that described terminal control method comprises the following steps:
Obtain mobile network's identification parameter that terminal is currently located cell;
Mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage is compared;
Control the WLAN function of being turned on and off terminal according to comparison result.
2. terminal control method as claimed in claim 1 it is characterised in that described according to comparison result The step controlling the WLAN function of being turned on and off terminal includes:
When the described mobile network's identification parameter obtaining is mated with mobile network's identification parameter of storage, control System opens the WLAN function of terminal.
3. terminal control method as claimed in claim 1 it is characterised in that described according to comparison result The step controlling the WLAN function of being turned on and off terminal includes:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When the WLAN function of terminal is in opening, determine whether to access wlan network;
When currently not accessing wlan network, control the WLAN function of closing a terminal.
4. terminal control method as claimed in claim 1 it is characterised in that described will obtain described in After the step that mobile network's identification parameter is compared with the mobile network's identification parameter storing, also include:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When terminal is currently at the state accessing wlan network, obtain the wlan network pair being currently accessed The WLAN parameter answered;
The described mobile network's identification parameter obtaining is associated depositing with the described WLAN parameter obtaining Storage.
5. terminal control method as claimed in claim 4 it is characterised in that described will obtain described in The step that mobile network's identification parameter is associated storing with the described WLAN parameter obtaining includes:
Judge whether be less than present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value;
If being less than predetermined number threshold with the quantity of mobile network's identification parameter of described WLAN parameter association Value, then be associated storing by the described mobile network's identification parameter obtaining and described WLAN parameter.
6. terminal control method as claimed in claim 5 it is characterised in that described judgement with described The quantity of mobile network's identification parameter of WLAN parameter association whether less than predetermined number threshold value step it Afterwards, also include:
If being more than or equal to present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value, then by the signal intensity in the current WLAN parameter obtaining and the current mobile network obtaining mark The signal intensity known in the corresponding WLAN parameter of parameter is compared;
The current mobile network's identification parameter obtaining corresponds in WLAN parameter, has the letter of WLAN parameter When number intensity is less than the signal intensity in the current WLAN parameter obtaining, the described mobile network that will obtain Identification parameter and the described WLAN parameter obtaining are associated storing;
Delete the current mobile network's identification parameter obtaining and correspond to the signal intensity minimum in WLAN parameter Pass between described WLAN parameter, and described WLAN parameter and corresponding mobile network's identification parameter Connection relation.
7. a kind of terminal control mechanism is it is characterised in that described terminal control mechanism includes:
Acquisition module, is currently located mobile network's identification parameter of cell for obtaining terminal;
Matching module, described mobile network's identification parameter and the mobile network of storage for obtaining identify Parameter is compared;
Processing module, for controlling the WLAN function of being turned on and off terminal according to comparison result.
8. terminal control mechanism as claimed in claim 7 is it is characterised in that described processing module is used for:
When the described mobile network's identification parameter obtaining is mated with mobile network's identification parameter of storage, control System opens the WLAN function of terminal.
9. terminal control mechanism as claimed in claim 7 is it is characterised in that described processing module is used for:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When the WLAN function of terminal is in opening, determine whether to access wlan network;
When currently not accessing wlan network, control the WLAN function of closing a terminal.
10. terminal control mechanism as claimed in claim 7 is it is characterised in that described terminal control fills Put and also include:
Memory module, for when mobile network's mark of the described mobile network's identification parameter obtaining and storage Parameter mismatches, and when terminal is currently at the state accessing wlan network, acquisition is currently accessed Wlan network corresponding WLAN parameter;By the described mobile network's identification parameter obtaining and the institute obtaining State WLAN parameter to be associated storing.
11. terminal control mechanisms as claimed in claim 10 are it is characterised in that described memory module is used In:
When mobile network's identification parameter of the described mobile network's identification parameter obtaining and storage mismatches, and When terminal is currently at the state accessing wlan network, obtain the wlan network pair being currently accessed The WLAN parameter answered;
Judge whether be less than present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value;
If being less than predetermined number threshold with the quantity of mobile network's identification parameter of described WLAN parameter association Value, then be associated storing by the described mobile network's identification parameter obtaining and described WLAN parameter.
12. terminal control mechanisms as claimed in claim 11 it is characterised in that described memory module also For:
If being more than or equal to present count with the quantity of mobile network's identification parameter of described WLAN parameter association Amount threshold value, then by the signal intensity in the current WLAN parameter obtaining and the current mobile network obtaining mark The signal intensity known in the corresponding WLAN parameter of parameter is compared;
The current mobile network's identification parameter obtaining corresponds in WLAN parameter, has the letter of WLAN parameter When number intensity is less than the signal intensity in the current WLAN parameter obtaining, the described mobile network that will obtain Identification parameter and the described WLAN parameter obtaining are associated storing;
Delete the current mobile network's identification parameter obtaining and correspond to the signal intensity minimum in WLAN parameter Association between described WLAN parameter, and described WLAN parameter and corresponding mobile network's identification parameter Relation.
CN201510506981.1A 2015-08-18 2015-08-18 terminal control method and device Pending CN106470459A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510506981.1A CN106470459A (en) 2015-08-18 2015-08-18 terminal control method and device
PCT/CN2016/071630 WO2016165440A1 (en) 2015-08-18 2016-01-21 Terminal control method, device, apparatus, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510506981.1A CN106470459A (en) 2015-08-18 2015-08-18 terminal control method and device

Publications (1)

Publication Number Publication Date
CN106470459A true CN106470459A (en) 2017-03-01

Family

ID=57125651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510506981.1A Pending CN106470459A (en) 2015-08-18 2015-08-18 terminal control method and device

Country Status (2)

Country Link
CN (1) CN106470459A (en)
WO (1) WO2016165440A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632948A (en) * 2017-03-22 2018-10-09 南昌黑鲨科技有限公司 Method for network access, access request equipment and equipment to be accessed

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362359A (en) * 2019-07-11 2019-10-22 重庆传音通讯技术有限公司 A kind of program starting method, apparatus, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090258668A1 (en) * 2008-04-14 2009-10-15 Aruba Networks, Inc. Enterprise location discovery in dual-mode phones
CN102448187A (en) * 2011-10-29 2012-05-09 华为终端有限公司 Method and terminal capable of automatically accessing Wi-Fi (Wireless Fidelity) network
CN102714885A (en) * 2010-01-12 2012-10-03 三星电子株式会社 Method and apparatus for automatically connecting short range wireless network in portable terminal
CN103596635A (en) * 2012-12-24 2014-02-19 华为终端有限公司 Method for controlling wireless fidelity device in terminal, controlling device and terminal
CN103686900A (en) * 2012-09-26 2014-03-26 中国电信股份有限公司 A method for a mobile station to be switched to a WiFi network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090258668A1 (en) * 2008-04-14 2009-10-15 Aruba Networks, Inc. Enterprise location discovery in dual-mode phones
CN102714885A (en) * 2010-01-12 2012-10-03 三星电子株式会社 Method and apparatus for automatically connecting short range wireless network in portable terminal
CN102448187A (en) * 2011-10-29 2012-05-09 华为终端有限公司 Method and terminal capable of automatically accessing Wi-Fi (Wireless Fidelity) network
CN103686900A (en) * 2012-09-26 2014-03-26 中国电信股份有限公司 A method for a mobile station to be switched to a WiFi network
CN103596635A (en) * 2012-12-24 2014-02-19 华为终端有限公司 Method for controlling wireless fidelity device in terminal, controlling device and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632948A (en) * 2017-03-22 2018-10-09 南昌黑鲨科技有限公司 Method for network access, access request equipment and equipment to be accessed

Also Published As

Publication number Publication date
WO2016165440A1 (en) 2016-10-20

Similar Documents

Publication Publication Date Title
CN103024929B (en) A kind of method and mobile terminal connecting wireless network based on mobile terminal
US8195140B2 (en) Control software for unlocking relocking cellular telephones
CN104283918B (en) A kind of WLAN terminal type acquisition methods and system
CN102769710B (en) It is a kind of about mobile phone is as the authentication method of the automatic control lamp light of identification
US20160112578A1 (en) Method for automatic network search of mobile terminal and mobile terminal
CN104640174B (en) Wireless network access point reminding method and device
CN102711164A (en) Intelligent management method for data communication link of mobile terminal
CN106936604A (en) A kind of shared network traffics system and method for mobile device
CN103906173B (en) A kind of control method of mobile terminal
CN104853410B (en) A kind of method for network access and mobile communication terminal
CN106371785B (en) A kind of processing method of display pattern, system and terminal
CN107274587A (en) The display methods and device, clothes washing system and storage medium of free time laundry machine information
CN102572074A (en) Method for automatically selecting matched card for multi-card mobile phone and implementation device thereof
WO2015184820A1 (en) Wifi hotspot connection method and device
CN106470459A (en) terminal control method and device
CN105357378B (en) It automatically opens WIFI list and connects the method and mobile terminal of WIFI
CN110351433A (en) A kind of method, apparatus and terminal device of double card switching
CN103813439A (en) Method for terminal register and terminal
CN105488363A (en) Terminal and unlock scheme setting method
CN105848254B (en) The control method and system of roaming data
CN108924915A (en) Data-updating method and device based on offline mode
CN101909311A (en) Method for testing wireless networking function of mobile phone
CN107087299A (en) Wireless networking control method and device
CN109889539A (en) A kind of intelligent terminal browsing information filtering method based on WIFI
CN109831825A (en) A kind of subnet closes and its method of network entry, gateway cluster and its communication means

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170301

WD01 Invention patent application deemed withdrawn after publication