CN103888983B - Terminal WIFI mode of operations automatic switching method and system - Google Patents

Terminal WIFI mode of operations automatic switching method and system Download PDF

Info

Publication number
CN103888983B
CN103888983B CN201410129645.5A CN201410129645A CN103888983B CN 103888983 B CN103888983 B CN 103888983B CN 201410129645 A CN201410129645 A CN 201410129645A CN 103888983 B CN103888983 B CN 103888983B
Authority
CN
China
Prior art keywords
mode
terminal
wifi
hot spot
focus
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
CN201410129645.5A
Other languages
Chinese (zh)
Other versions
CN103888983A (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.)
Midea Group Co Ltd
Original Assignee
Midea Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201410129645.5A priority Critical patent/CN103888983B/en
Publication of CN103888983A publication Critical patent/CN103888983A/en
Application granted granted Critical
Publication of CN103888983B publication Critical patent/CN103888983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The present invention relates to a kind of WIFI mode of operations automatic switching method and system, when terminal is with client operation mode operation, terminal in real time or the WIFI hot spot of timing acquisition its access working condition;When the WIFI hot spot of terminal access breaks down, its mode of operation is switched to focus mode of operation by the terminal, so that terminal is when the WIFI hot spot that it is accessed breaks down, with focus mode of operation, the program is when WIFI mode of operations meet switching condition, carry out the automatic switchover of WIFI mode of operations so that it is more convenient and accurate that WIFI mode of operations automatically switch.

Description

Terminal WIFI mode of operations automatic switching method and system
Technical field
The present invention relates to communication technical field, more particularly to a kind of terminal WIFI mode of operations automatic switching method and it is System.
Background technology
With the popularity that the popularization of intelligent terminal and WIFI hot spot cover, make increasing producer that WIFI to communicate Core communication technology of the technology as Internet of Things.Due to power consumption and the advantage of cost, existing terminal generally use WIFI chips As WAP, WIFI chips are run when carrying out network configuration with focus mode of operation, when carrying out Internet of Things Network Communication Run with client mode, and prior art typically uses the mode of operation of hand pattern switching WIFI chips, it is not convenient enough, accurate Really.
The content of the invention
The main object of the present invention is to provide a kind of WIFI mode of operations automatic switching method and system so that terminal It is more convenient and accurate that WIFI mode of operations automatically switch.
The present invention proposes a kind of terminal WIFI mode of operation automatic switching methods, including:
Terminal determines its current mode of operation;
When current mode of operation is client operation pattern, the terminal in real time or timing acquisition its access WIFI The working condition of focus;
When the WIFI hot spot of terminal access breaks down, its mode of operation is switched to focus and worked by the terminal Pattern.
Preferably, this method also includes after the terminal obtains the step of its current mode of operation:
It is client operation pattern in current mode of operation, and when the terminal does not access WIFI hot spot, the terminal Search for WIFI hot spot;
The terminal uses the WIFI hot spot that its accounts information to prestore is logged in and searched, and is transported with client operation pattern OK.
Preferably, it is described when current mode of operation is client operation pattern, the terminal in real time or timing acquisition This method includes after the step of working condition of its WIFI hot spot accessed:
When the WIFI hot spot of terminal access breaks down, fault type is determined;
If it is determined that fault type when being default Fisrt fault type, the terminal is in real time or the timing acquisition failure The working condition of WIFI hot spot;
When the working condition of the failure WIFI hot spot recovers normal, the accounts information that the terminal is prestored using it logs in And the normal WIFI hot spot of the recovery is accessed, with client operation mode operation.
Preferably, when the WIFI hot spot in terminal access breaks down, after the step of determining fault type, This method also includes:
It is determined that fault type be default second fault type when, its mode of operation is switched to focus by the terminal Mode of operation.
Preferably, after the terminal determines the step of its current mode of operation, this method also includes:
When current mode of operation is focus mode of operation, the terminal is in real time or the renewal of its accounts information is detected in timing Instruction, and WIFI hot spot network state;
When detecting accounts information more new command or WIFI hot spot working condition recovers normal, the terminal will be current Mode of operation switches to client operation pattern.
Preferably, when detecting accounts information more new command or WIFI hot spot working condition recovers normal, the end After the step of current operation mode is switched to client operation pattern by end, this method also includes:
Focus is searched in the terminal timing in real time;
The accounts information that the terminal is prestored using it logs in the WIFI hot spot searched, and accesses the WIFI logined successfully Focus, with client operation mode operation.
Preferably, this method also includes:
The terminal after the power-up, with client operation mode operation;
Focus is searched in the terminal timing in real time;
The terminal does not search focus within a preset time interval, or logs in what is searched out using the accounts information to prestore When focus fails, the terminal is by client operation pattern switching to focus mode of operation;
When logging in the focus success searched out using the accounts information to prestore, the WIFI hot spot logined successfully is accessed, with visitor The mode of operation operation of family end.
Preferably, after the step of its mode of operation is switched to focus mode of operation by the terminal, this method includes:
Control client mode indicator lamp out of service or run with default first operational mode, while control focus Mode of operation indicator lamp is run in the second operating mode.
Preferably, the terminal logs in and accessed the WIFI hot spot searched using its accounts information to prestore, with client This method also includes after the step of end mode of operation operation:
The indicator lamp operation of control client mode is run in the second operating mode, while controls focus mode of operation indicator lamp It is out of service or with default first operational mode.
Preferably, this method also includes:When the client functionality of terminal breaks down, client mode indicator lamp is controlled Run with default 3rd operational mode.
The present invention also proposes a kind of terminal WIFI mode of operation automatic switchover systems, and terminal WIFI mode of operations are cut automatically Changing system includes realizing that any of the above item methods described corresponds to the functional module of step.
The present invention also proposes a kind of terminal WIFI mode of operation automatic switching methods, including:
Terminal determines its current mode of operation;
When current mode of operation is focus mode of operation, the terminal is in real time or the renewal of its accounts information is detected in timing Instruction, and WIFI hot spot network state;
When detecting accounts information more new command or WIFI hot spot working condition recovers normal, the terminal will be current Mode of operation switches to client operation pattern.
Preferably, before the terminal obtains the step of its current mode of operation, this method includes:
The terminal after the power-up, with client operation mode operation;
Focus is searched in the terminal timing in real time;
The terminal does not search focus within a preset time interval, or logs in what is searched out using the accounts information to prestore When focus fails, the terminal is by client operation pattern switching to focus mode of operation.
Preferably, it is described when detecting accounts information more new command or WIFI hot spot working condition recovers normal, institute After stating the step of current operation mode is switched to client operation pattern by terminal, this method includes:
Focus is searched in the terminal timing in real time;
The accounts information that the terminal is prestored using it logs in the WIFI hot spot searched, and accesses the WIFI logined successfully Focus, with client operation mode operation.
Preferably, terminal WIFI mode of operations automatic switchover system includes realizing described in any one of claim 1 to 10 Method corresponds to the functional module of step.
The present invention also proposes a kind of terminal WIFI mode of operation automatic switchover systems, and terminal WIFI mode of operations are cut automatically Changing system includes realizing that any of the above item methods described corresponds to the functional module of step.
WIFI mode of operations automatic switching method proposed by the present invention and system, in terminal with client operation mode operation When, terminal in real time or timing acquisition its access WIFI hot spot working condition;Occur in the WIFI hot spot of terminal access During failure, its mode of operation is switched to focus mode of operation by the terminal so that terminal occurs in its WIFI hot spot accessed During failure, with focus mode of operation, the program carries out WIFI mode of operations when WIFI mode of operations meet switching condition Automatically switch so that it is more convenient and accurate that WIFI mode of operations automatically switch.
Brief description of the drawings
Fig. 1 is the hardware structure diagram that the present invention realizes the terminal preferred embodiment that WIFI mode of operations automatically switch;
Fig. 2 is the high-level schematic functional block diagram of WIFI mode of operations automatic switchover system first embodiment of the present invention;
Fig. 3 is the high-level schematic functional block diagram of WIFI mode of operations automatic switchover system second embodiment of the present invention;
Fig. 4 is the schematic flow sheet of WIFI mode of operations automatic switching method first embodiment of the present invention;
Fig. 5 is the schematic flow sheet of WIFI mode of operations automatic switching method second embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment is described further with regard to technical scheme.It should be appreciated that this The specific embodiment of place description is not intended to limit the present invention only to explain the present invention.
Reference picture 1, Fig. 1 are the hardware configuration that the present invention realizes the terminal preferred embodiment that WIFI mode of operations automatically switch Figure.
The terminal 1 includes processing unit 11, memory cell 12, WIFI module 13 and WIFI mode of operations automatic switchover system System 14, the control terminal 1 can be mobile phone, tablet personal computer, remote control or other any suitable electronic equipments(It is preferred that hand Machine).
Memory cell 12, make for storing the WIFI mode of operations automatic switchover system 14 and its service data and terminal For focus when accounts information and other focuses accounts information.It is emphasized that the memory cell 12 both can be one The individual individually general designation of storage device or multiple different storage devices, therefore not to repeat here.
WIFI module 13, for when being run with terminal pattern, under the control for managing unit 11 in this place, search focus to be believed Breath, and the logging request for including the focus accounts information searched is sent to the focus that searches, while to the focus that it is accessed Send packet;And when being run with hotspot pattern, the wireless network identification of the wireless network of its offer is provided, received simultaneously The packet that other-end is sent.
The processing unit 11, for calling and performing the WIFI mode of operations automatic switchover system 14, and in end When focus mode of operation, control WIFI module 13 broadcasts its wireless network identification as focus, or is in eventually in terminal When holding mode of operation, control WIFI module 14 searches for WIFI hot spot, and the focus searched sends logging request, the logging request Include the accounts information of the focus searched.The processing unit 11 and memory cell 12 both can be single unit respectively, It can integrate, form a controller, therefore not to repeat here.
Reference picture 2, Fig. 2 are that the functional module of WIFI mode of operations automatic switchover system first embodiment of the present invention is illustrated Figure.
The present embodiment proposes a kind of WIFI mode of operations automatic switchover system 14, including:
Determining module 141, the mode of operation current for terminal where determining it;
In the present embodiment, determining module 141 can be according to the nothing of the wireless network for whether broadcasting its offer of WIFI module Line network identity, or according to memory module whether be stored with access its terminal information determine the current Working mould of terminal Formula.The mode of operation of the terminal includes client end pattern and focus mode of operation.
Acquisition module 142, for when current mode of operation is client operation pattern, in real time or timing acquisition its connect The working condition of the WIFI hot spot entered;
Handover module 143, in the WIFI hot spot failure of access, its mode of operation to be switched into focus work Pattern.
In the present embodiment, the terminal where determining module 141, can be regularly or in real time to its access heating WIFI hot spot hair Send status monitoring to ask, if in default time interval for receive its access WIFI hot spot send based on the state The replying state information of monitoring request feedback, then illustrate that the WIFI hot spot of its access breaks down;Or the WIFI of terminal access Focus timing sends work state information to the terminal where determining module 141 in real time, however, it is determined that the terminal where module 141 The terminal at place does not receive the work state information that the focus of its access is sent in default time interval, then it is assumed that it connects The focus entered breaks down.
In the present embodiment, handover module 143, can be wide after the mode of operation of terminal is switched into focus mode of operation The wireless title of the wireless network of its offer is provided, is realized for other terminals according to the accounts information to prestore and logs in the terminal.Example Such as, when the terminal where determining module 141 is air conditioner, after its mode of operation is switched to focus mode of operation by air conditioner, Its wireless network identification is broadcasted, the remote control or intelligent terminal being controlled to air conditioner(Such as smart mobile phone)Receiving the nothing During line network identity, the accounts information to be prestored according to it logs in air conditioner, with the wireless network realization pair provided by air conditioner The control of air conditioner.
The WIFI mode of operation automatic switchover systems that the present embodiment proposes, when terminal is with client operation mode operation, Terminal in real time or timing acquisition its access WIFI hot spot working condition;Broken down in the WIFI hot spot of terminal access When, its mode of operation is switched to focus mode of operation by the terminal so that terminal breaks down in its WIFI hot spot accessed When, with focus mode of operation, the program carries out the automatic of WIFI mode of operations when WIFI mode of operations meet switching condition Switching so that it is more convenient and accurate that WIFI mode of operations automatically switch.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, The handover module 143 is additionally operable to, in the client functionality failure of terminal, its mode of operation be switched into focus work Pattern.
The client functionality failure of terminal, which includes information, to receive and dispatch, and can not log in focus etc..
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, The WIFI mode of operations automatic switchover system also includes search module and login module, and the search module is used for current Mode of operation is client operation pattern, and when the terminal does not access WIFI hot spot, searches for WIFI hot spot;The login module Accounts information for being prestored using it logs in the WIFI hot spot searched, and accesses the WIFI hot spot logined successfully, with client Hold mode of operation operation.
In the present embodiment, when searching other focuses, can by the wireless network identification of the WIFI hot spot searched with Wireless network identification in the account information to prestore is matched, and the wireless network identification in having the account information to prestore is with searching During the wireless network identification matching that rope arrives, the network searched is logged in using the account information of the matching;In the account letter to prestore When wireless network identification in breath mismatches with the wireless network identification searched, search module continues search for other WIFI heat Point, until having traveled through all WIFI hot spots searched, then terminal continues to run with client mode.Or do not deposited in terminal When containing accounts information, run with client mode.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, The determining module is additionally operable to, when the WIFI hot spot of terminal access breaks down, determine fault type;The acquisition mould Block be additionally operable to if it is determined that fault type when being default Fisrt fault type, in real time or the timing acquisition failure WIFI hot spot Working condition;The login module is additionally operable to, when the working condition of the failure WIFI hot spot recovers normal, prestore using it Accounts information logs in and accesses the normal WIFI hot spot of the recovery, with client operation mode operation.
In the present embodiment, terminal can access WIFI hot spot in Fisrt fault type, but occur including WIFI hot spot signal The problems such as intensity is relatively low, and packet can not forward, cause hotspot of the terminal based on access can not carry out data forwarding, this When, the failure focus may can recover normal in a short time, now acquisition module in real time or timing acquisition failure WIFI The working condition of focus, when the working condition of the failure WIFI hot spot recovers normal, login module uses its account to prestore Information registration simultaneously accesses the normal WIFI hot spot of the recovery, with client operation mode operation so that the normal client of terminal Pattern is run.
In other variant embodiments, predeterminable WIFI hot spot recovery time interval, acquisition module in real time or timing obtain When taking the working condition of the failure WIFI hot spot, if WIFI hot spot is not recovered also in default WIFI hot spot recovery time interval Normally, then the current mode of operation of terminal is switched to focus mode of operation by handover module.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, The handover module 30 be additionally operable to it is determined that fault type be default second fault type when, its mode of operation is switched to Focus mode of operation.
In the present embodiment, the second fault type, which includes WIFI hot spot disappearance and terminal, can not access WIFI hot spot etc., Terminal can not access the accounts information that WIFI hot spot illustrates WIFI hot spot(Repaiied including wireless network identification and login password Change), and WIFI hot spot disappears and illustrates that WIFI hot spot is possible out of service or switch to other mode of operations operations, WIFI heat Point failure can not recover in the short time, now, its mode of operation be switched into focus mode of operation, be worked by the WIFI of terminal After pattern switching to focus mode of operation, timing can be continued or search for WIFI hot spot in real time, and using the accounts information to prestore Log in the focus searched.
In other variant embodiments, when having multiple WIFI hot spots in the region residing for terminal, it is determined that failure classes When type is default second fault type, other WIFI hot spots in its residing region are can search for, and searching other WIFI The accounts information to be prestored during focus using it logs in the focus searched.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, The system also includes detecting module, for when current mode of operation is focus mode of operation, in real time or its account to be detected in timing Family information updating instruction, and WIFI hot spot network state;The handover module 30 is additionally operable to detecting accounts information renewal When instruction or WIFI hot spot working condition recover normal, current operation mode is switched to client operation mould by the terminal Formula.
In the present embodiment, if the mode of operation of present terminal is focus mode of operation, go out in the focus of terminal access During existing failure, terminal may be caused not communicated, while during accounts information renewal when terminal is as focus, may Cause other-end can not access the wireless network of terminal offer, now its WIFI mode of operation is switched to client by terminal Mode of operation.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, The search module is additionally operable to after current operation mode is switched to client operation pattern by handover module, timing or real-time Search for focus;The accounts information that the login module is additionally operable to prestore using it logs in the WIFI hot spot searched, and accesses and step on Successful WIFI hot spot is recorded, with client operation mode operation.
In the present embodiment, when terminal is with client operation mode operation, focus is searched for regularly or in real time, and is based on searching Rope to the wireless network that is provided of focus and other terminals between communicated.
Further, to ensure the proper communication of terminal, the system also includes control module, after the electricity in terminal, With client operation mode operation;The search module is used for timing or searches for focus in real time;The handover module is additionally operable to When not searching focus in prefixed time interval, or the focus failure searched out is logged in using the accounts information to prestore, by client End mode of operation switches to focus mode of operation;The operation module is additionally operable to logging in what is searched out using the accounts information to prestore During focus success, the WIFI hot spot logined successfully is accessed, with client operation mode operation.
Further, the function of horn of plenty WIFI mode of operations automatic switchover system, the control module are additionally operable to inciting somebody to action When terminal work mode is by client operation pattern switching to focus mode of operation, control client mode indicator lamp is out of service Or run with default first operational mode, while control focus mode of operation indicator lamp to run in the second operating mode.
In the present embodiment, it is the current WIFI mode of operations of identification terminal, the first operational mode and the second operational mode Mode of operation has obvious difference, to ensure that user can accurately learn the current WIFI mode of operations of terminal, such as terminal control Molding block can directly control client mode indicator lamp out of service, while the second operational mode is normally-open;Or first Operational mode is alternatively to be run with default first color, and the second operational mode is alternatively to be run with default second color, should First color is different from the color of the second color, or the first operational mode is that client mode indicator lamp is dodged with default frequency It is bright, and the second operational mode normally lights for focus mode of operation indicator lamp.Such scheme is only that the application passes through client mould Formula indicator lamp and hotspot pattern indicator lamp distinguish enumerating for the specific embodiment of terminal WIFI mode of operations, do not represent this Shen It please distinguish all embodiments of terminal WIFI mode of operations.
Further, the control module is additionally operable to login module and is logged in using its accounts information to prestore and access search The WIFI hot spot arrived, after client operation mode operation, the operation of control client mode indicator lamp is in the second operating mode Operation, while control focus mode of operation indicator lamp out of service or with default first operational mode.
Control module control client mode indicator lamp operation is run in the second operating mode, while controls focus to work Mode indicating lamp is out of service or principle with default first operational mode, with controlling client mode in above-described embodiment Indicator lamp is out of service or is run with default first operational mode, while controls focus mode of operation indicator lamp with the second fortune The principle of row mode operation is similar, will not be repeated here.
Further, when the client functionality of terminal breaks down, control client mode indicator lamp is with default the Three operational modes are run.3rd operational mode has certain area with the first above-mentioned operational mode and the second operational mode Not, to ensure failure that the WIFI mode of operations of the accurate identification terminal of user and terminal occur.
3rd operational mode can be client mode indicator lamp with certain frequency scintillation, or switching color(The face Color can be the more obvious colors such as red or green).
Reference picture 3, Fig. 3 are that the functional module of WIFI mode of operations automatic switchover system second embodiment of the present invention is illustrated Figure.
The present embodiment also proposes a kind of WIFI mode of operations automatic switchover system 14, including:
Determining module 144, for determining its current mode of operation;
In the present embodiment, determining module 144 can be according to the nothing of the wireless network for whether broadcasting its offer of WIFI module Line network identity, or according to memory module whether be stored with access its terminal information determine the current Working mould of terminal Formula.The mode of operation of the terminal includes client end pattern and focus mode of operation.
Detecting module 145, when current mode of operation is focus mode of operation, the terminal is in real time or timing detects it Accounts information more new command, and WIFI hot spot network state;
Handover module 146, for detecting accounts information more new command or the recovery of WIFI hot spot working condition normally When, current operation mode is switched to client operation pattern by the terminal.
In the present embodiment, user can carry out terminal account by the input unit in terminal such as touch-screen and keyboard etc. The change of family information, the change include wireless network identification and or login password modification.
In the present embodiment, if the mode of operation of present terminal is focus mode of operation, go out in the focus of terminal access During existing failure, terminal may be caused not communicated, while during accounts information renewal when terminal is as focus, may Cause other-end can not access the wireless network of terminal offer, now its WIFI mode of operation is switched to client by terminal Mode of operation
The WIFI mode of operation automatic switchover systems that the present embodiment proposes, are focus mode of operation in current mode of operation When, the terminal is in real time or its accounts information more new command is detected in timing;Detecting accounts information more new command or WIFI When focus function breaks down, current operation mode is switched to client operation pattern by the terminal so that terminal is in its heat Point functional fault or accounts information automatically switch to client mode when updating and communicated, and the program is in WIFI mode of operations When meeting switching condition, that is, carry out the automatic switchover of WIFI mode of operations so that it is more convenient that WIFI mode of operations automatically switch It is and accurate.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, The search module is additionally operable to after current operation mode is switched to client operation pattern by handover module, timing or real-time Search for focus;The accounts information that the login module is additionally operable to prestore using it logs in the WIFI hot spot searched, and accesses and step on Successful WIFI hot spot is recorded, with client operation mode operation.
In the present embodiment, when terminal is with client operation mode operation, focus is searched for regularly or in real time, and is based on searching Rope to the wireless network that is provided of focus and other terminals between communicated.
Further, the system also includes operation module and search module, and the operation module is used in terminal after electricity, With client operation mode operation;Focus is searched in the search module search timing in real time;The handover module is additionally operable to When not searching focus in prefixed time interval, or the focus failure searched out is logged in using the accounts information to prestore, by client End mode of operation switches to focus mode of operation.
Reference picture 4, Fig. 4 are the schematic flow sheet of WIFI mode of operations automatic switching method first embodiment of the present invention.
The present embodiment proposes a kind of WIFI mode of operations automatic switching method, including:
Step S10, terminal determine its current mode of operation;
In the present embodiment, terminal can be according to the wireless network mark of the wireless network for whether broadcasting its offer of WIFI module Know, or according to memory module whether be stored with access its terminal information determine the current mode of operation of terminal.The terminal Mode of operation include client end pattern and focus mode of operation.
Step S20, when current mode of operation is client operation pattern, the terminal in real time or timing acquisition its connect The working condition of the WIFI hot spot entered;
Step S30, when the WIFI hot spot of terminal access breaks down, the terminal switches to its mode of operation Focus mode of operation.
In the present embodiment, terminal regularly or in real time can send status monitoring request to its access heating WIFI hot spot, if It is to receive the shape based on status monitoring request feedback that WIFI hot spot of its access is sent in default time interval State return information, then illustrate that the WIFI hot spot of its access breaks down;Or terminal access WIFI hot spot timing or in real time to Terminal sends work state information, if the terminal where terminal does not receive the focus hair of its access in default time interval The work state information sent, then it is assumed that its focus accessed breaks down.
In the present embodiment, terminal can broadcast it after its WIFI mode of operations are switched into focus mode of operation The wireless title of the wireless network of offer, realized for other terminals according to the accounts information to prestore and log in the terminal.For example, should When terminal is air conditioner, after its mode of operation is switched to focus mode of operation by air conditioner, its wireless network identification is broadcasted, to sky The remote control or intelligent terminal for adjusting device to be controlled(Such as smart mobile phone)When receiving the wireless network identification, prestored according to it Accounts information log in air conditioner, the control to air conditioner is realized with the wireless network that is provided by air conditioner.
The WIFI mode of operation automatic switching methods that the present embodiment proposes, when terminal is with client operation mode operation, Terminal in real time or timing acquisition its access WIFI hot spot working condition;Broken down in the WIFI hot spot of terminal access When, its mode of operation is switched to focus mode of operation by the terminal so that terminal breaks down in its WIFI hot spot accessed When, with focus mode of operation, the program carries out the automatic of WIFI mode of operations when WIFI mode of operations meet switching condition Switching so that it is more convenient and accurate that WIFI mode of operations automatically switch.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, This method also includes after step S10:
Step S40, it is client operation pattern in current mode of operation, and when the terminal does not access WIFI hot spot, The terminal searching WIFI hot spot;
Step S50, the terminal uses the WIFI hot spot that its accounts information to prestore is logged in and searched, with client work Operation mode is run.
In the present embodiment, when searching other focuses, can by the wireless network identification of the WIFI hot spot searched with Wireless network identification in the account information to prestore is matched, and the wireless network identification in having the account information to prestore is with searching During the wireless network identification matching that rope arrives, the network searched is logged in using the account information of the matching;In the account letter to prestore When wireless network identification in breath mismatches with the wireless network identification searched, search module continues search for other WIFI heat Point, until having traveled through all WIFI hot spots searched, then terminal continues to run with client mode.Or do not deposited in terminal When containing accounts information, run with client mode.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, After step S20, this method includes:
Step S60, when the WIFI hot spot of terminal access breaks down, determine fault type;
Step S70, however, it is determined that fault type when being default Fisrt fault type, the terminal is in real time or timing acquisition The working condition of the failure WIFI hot spot;
Step S80, when the working condition of the failure WIFI hot spot recovers normal, the terminal uses its account to prestore Information registration simultaneously accesses the normal WIFI hot spot of the recovery, with client operation mode operation.
In the present embodiment, terminal can access WIFI hot spot in Fisrt fault type, but occur including WIFI hot spot signal The problems such as intensity is relatively low, and packet can not forward, cause hotspot of the terminal based on access can not carry out data forwarding, this When, the failure focus may can recover normal in a short time, now acquisition module in real time or timing acquisition failure WIFI The working condition of focus, when the working condition of the failure WIFI hot spot recovers normal, login module uses its account to prestore Information registration simultaneously accesses the normal WIFI hot spot of the recovery, with client operation mode operation so that the normal client of terminal Pattern is run.
In other variant embodiments, predeterminable WIFI hot spot recovery time interval, acquisition module in real time or timing obtain When taking the working condition of the failure WIFI hot spot, if WIFI hot spot is not recovered also in default WIFI hot spot recovery time interval Normally, then the current mode of operation of terminal is switched to focus mode of operation by handover module.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, After step S60, this method includes:
Step S90, it is determined that fault type be default second fault type when, the terminal cuts its mode of operation Shift to focus mode of operation
In the present embodiment, the second fault type, which includes WIFI hot spot disappearance and terminal, can not access WIFI hot spot etc., Terminal can not access the accounts information that WIFI hot spot illustrates WIFI hot spot(Repaiied including wireless network identification and login password Change), and WIFI hot spot disappears and illustrates that WIFI hot spot is possible out of service or switch to other mode of operations operations, WIFI heat Point failure can not recover in the short time, now, its mode of operation be switched into focus mode of operation, be worked by the WIFI of terminal After pattern switching to focus mode of operation, timing can be continued or search for WIFI hot spot in real time, and using the accounts information to prestore Log in the focus searched.
In other variant embodiments, when having multiple WIFI hot spots in the region residing for terminal, it is determined that failure classes When type is default second fault type, other WIFI hot spots in its residing region are can search for, and searching other WIFI The accounts information to be prestored during focus using it logs in the focus searched.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, This method includes after step S10:
Step S100, when current mode of operation is focus mode of operation, the terminal is in real time or its account is detected in timing Family information updating instruction, and WIFI hot spot network state;
Step S110, it is described when detecting accounts information more new command or WIFI hot spot working condition recovers normal Current operation mode is switched to client operation pattern by terminal.
In the present embodiment, if the mode of operation of present terminal is focus mode of operation, go out in the focus of terminal access During existing failure, terminal may be caused not communicated, while during accounts information renewal when terminal is as focus, may Cause other-end can not access the wireless network of terminal offer, now its WIFI mode of operation is switched to client by terminal Mode of operation.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, This method also includes after step S110:
Step S120, the terminal timing or searches for focus in real time;
Step S130, the accounts information that the terminal is prestored using it logs in the WIFI hot spot searched, and accesses login Successful WIFI hot spot, with client operation mode operation.
In the present embodiment, when terminal is with client operation mode operation, focus is searched for regularly or in real time, and is based on searching Rope to the wireless network that is provided of focus and other terminals between communicated.
Further, to ensure the proper communication of terminal, this method also includes:
Step S140, the terminal after the power-up, with client operation mode operation;
Step S140, the terminal timing or searches for focus in real time;
Step S160, the terminal do not search focus within a preset time interval, or using the accounts information to prestore When logging in the focus failure searched out, the terminal is by client operation pattern switching to focus mode of operation;
Step S170, when logging in the focus success searched out using the accounts information to prestore, access the WIFI logined successfully Focus, with client operation mode operation.
Further, the function of horn of plenty WIFI mode of operations automatic switchover system, step S30 and S90 include step afterwards Suddenly:Control client mode indicator lamp out of service or run with default first operational mode, while control focus to work Mode indicating lamp is run in the second operating mode
In the present embodiment, it is the current WIFI mode of operations of identification terminal, when terminal is run with hotspot pattern, first Operational mode has obvious difference with the second run-mode pattern, to ensure that user can accurately learn that terminal is current WIFI mode of operations, such as terminal control module can directly control client mode indicator lamp out of service, while the second operation Pattern is normally-open;Or first operational mode be alternatively and run with default first color, the second operational mode is alternatively Run with default second color, first color is different from the color of the second color, or the first operational mode is client Mode indicating lamp is with default frequency scintillation, and the second operational mode normally lights for focus mode of operation indicator lamp.Above-mentioned side Case is only that the application distinguishes the specific of terminal WIFI mode of operations by client mode indicator lamp and hotspot pattern indicator lamp Embodiment is enumerated, and does not represent all embodiments that the application distinguishes terminal WIFI mode of operations.
Further, the function of horn of plenty WIFI mode of operations automatic switchover system, step S110, after S130 and S170 Including step:The indicator lamp operation of control client mode is run in the second operating mode, while controls focus mode of operation to indicate Lamp is out of service or with default first operational mode.
Control module control client mode indicator lamp operation is run in the second operating mode, while controls focus to work Mode indicating lamp is out of service or principle with default first operational mode, with controlling client mode in above-described embodiment Indicator lamp is out of service or is run with default first operational mode, while controls focus mode of operation indicator lamp with the second fortune The principle of row mode operation is similar, will not be repeated here.
Further, the function of horn of plenty WIFI mode of operations automatic switchover system, this method also include step:In terminal Client functionality break down when, control client mode indicator lamp run with default 3rd operational mode.3rd fortune Row mode has certain difference with the first above-mentioned operational mode and the second operational mode, to ensure that user accurately identifies end The failure that the WIFI mode of operations and terminal at end occur.
3rd operational mode can be client mode indicator lamp with certain frequency scintillation, or switching color(The face Color can be the more obvious colors such as red or green).
Reference picture 5, Fig. 5 are the schematic flow sheet of WIFI mode of operations automatic switching method second embodiment of the present invention.
The present embodiment also proposes a kind of WIFI mode of operations automatic switching method, including:
Step S180, terminal determine its current mode of operation;
In the present embodiment, terminal can be according to the wireless network mark of the wireless network for whether broadcasting its offer of WIFI module Know, or according to memory module whether be stored with access its terminal information determine the current mode of operation of terminal.The terminal Mode of operation include client end pattern and focus mode of operation.
Step S190, when current mode of operation is focus mode of operation, the terminal is in real time or its account is detected in timing Family information updating instruction, and WIFI hot spot network state;
Step S200, it is described when detecting accounts information more new command or WIFI hot spot working condition recovers normal Current operation mode is switched to client operation pattern by terminal.
In the present embodiment, user can carry out terminal account by the input unit in terminal such as touch-screen and keyboard etc. The change of family information, the change include wireless network identification and or login password modification.
In the present embodiment, if the mode of operation of present terminal is focus mode of operation, go out in the focus of terminal access During existing failure, terminal may be caused not communicated, while during accounts information renewal when terminal is as focus, may Cause other-end can not access the wireless network of terminal offer, now its WIFI mode of operation is switched to client by terminal Mode of operation
The WIFI mode of operation automatic switching methods that the present embodiment proposes, are focus mode of operation in current mode of operation When, the terminal is in real time or its accounts information more new command is detected in timing;Detecting accounts information more new command or WIFI When focus function breaks down, current operation mode is switched to client operation pattern by the terminal so that terminal is in its heat Point functional fault or accounts information automatically switch to client mode when updating and communicated, and the program is in WIFI mode of operations When meeting switching condition, that is, carry out the automatic switchover of WIFI mode of operations so that it is more convenient that WIFI mode of operations automatically switch It is and accurate.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, This method includes after step S200:
Step S210, the terminal timing or searches for focus in real time;
Step S220, the accounts information that the terminal is prestored using it logs in the WIFI hot spot searched, and accesses login Successful WIFI hot spot, with client operation mode operation.
In the present embodiment, when terminal is with client operation mode operation, focus is searched for regularly or in real time, and is based on searching Rope to the wireless network that is provided of focus and other terminals between communicated.
It is further, more accurate when WIFI mode of operations switch to carry out WIFI mode of operations automatic switchover system, This method also includes before step S180:
Step S230, the terminal after the power-up, with client operation mode operation;
Step S240, the terminal timing or searches for focus in real time;
Step S250, the terminal do not search focus within a preset time interval, or using the accounts information to prestore When logging in the focus failure searched out, the terminal is by client operation pattern switching to focus mode of operation.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.Embodiment party more than The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to which by hardware, but the former is more preferably embodiment in many cases.It is based on Such understanding, the part that technical scheme substantially contributes to prior art in other words can be with software products Form embody, the computer software product is stored in a storage medium(Such as ROM/RAM, magnetic disc, CD)In, including Some instructions are causing a station terminal equipment(Can be mobile phone, computer, server, or network equipment etc.)Perform this hair Method described in bright each embodiment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, every utilization The equivalent structure transformation that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other related technology necks Domain, it is included within the scope of the present invention.

Claims (9)

  1. A kind of 1. terminal WIFI mode of operation automatic switching methods, it is characterised in that including:
    Terminal determines its current mode of operation;
    When current mode of operation is client operation pattern, the terminal in real time or timing acquisition its access WIFI hot spot Working condition;
    When the WIFI hot spot of terminal access breaks down, fault type is determined;
    If it is determined that fault type when being default Fisrt fault type, the terminal is in real time or timing acquisition failure WIFI heat The working condition of point;
    When the working condition of the failure WIFI hot spot recovers normal, the terminal is logged in and connect using its accounts information to prestore Enter the normal WIFI hot spot of the recovery, with client operation mode operation;
    If WIFI hot spot does not recover normal also in default WIFI hot spot recovery time interval, by the current Working mould of terminal Formula switches to focus mode of operation;
    Terminal can access WIFI hot spot in the Fisrt fault type, and hotspot of the terminal based on access can not carry out data and turn Hair;
    It is determined that fault type be default second fault type when, the terminal by its mode of operation switch to focus work Pattern;
    When having multiple WIFI hot spots in the region residing for the terminal, it is determined that fault type be default second failure classes During type, other WIFI hot spots for searching in its residing region, and the account to be prestored when searching other WIFI hot spots using it The focus that information registration searches;
    In second fault type, terminal can not access WIFI hot spot.
  2. 2. according to the method for claim 1, it is characterised in that the terminal obtain the step of its current mode of operation it This method also includes afterwards:
    It is client operation pattern in current mode of operation, and when the terminal does not access WIFI hot spot, the terminal searching WIFI hot spot;
    The terminal uses the WIFI hot spot that its accounts information to prestore is logged in and searched, with client operation mode operation.
  3. The step of 3. its sign is according to the method for claim 1, and the terminal determines its current mode of operation it Afterwards, this method also includes:
    When current mode of operation is focus mode of operation, the terminal is in real time or timing is detected the renewal of its accounts information and referred to Order, and WIFI hot spot network state;
    When detecting accounts information more new command or WIFI hot spot working condition and recovering normal, the terminal is by work at present Pattern switching is to client operation pattern.
  4. 4. according to the method for claim 3, it is characterised in that detecting accounts information more new command or WIFI hot spot When working condition recovers normal, after the step of current operation mode is switched to client operation pattern by the terminal, the party Method also includes:
    Focus is searched in the terminal timing in real time;
    The accounts information that the terminal is prestored using it logs in the WIFI hot spot searched, and accesses the WIFI heat logined successfully Point, with client operation mode operation.
  5. 5. according to the method for claim 1, it is characterised in that this method also includes:
    The terminal after the power-up, with client operation mode operation;
    Focus is searched in the terminal timing in real time;
    The terminal does not search focus within a preset time interval, or the focus searched out is logged in using the accounts information to prestore During failure, the terminal is by client operation pattern switching to focus mode of operation;
    When logging in the focus success searched out using the accounts information to prestore, the WIFI hot spot logined successfully is accessed, with client Mode of operation is run.
  6. 6. according to the method for claim 1, it is characterised in that its mode of operation is switched to focus Working mould by the terminal After the step of formula, this method includes:
    Control client mode indicator lamp out of service or run with default first operational mode, while control focus to work Mode indicating lamp is run in the second operating mode.
  7. 7. according to the method described in claim any one of 1-2, it is characterised in that the terminal uses its accounts information to prestore The WIFI hot spot searched is logged in and accessed, is also included with this method after the step of client operation mode operation:
    The indicator lamp operation of control client mode is run in the second operating mode, while controls focus mode of operation indicator lamp to stop Run or with default first operational mode.
  8. 8. according to the method for claim 1, it is characterised in that this method also includes:Occur in the client functionality of terminal During failure, control client mode indicator lamp is run with default 3rd operational mode.
  9. 9. a kind of terminal WIFI mode of operation automatic switchover systems, it is characterised in that terminal WIFI mode of operations automatically switch System includes the functional module for realizing that any one of claim 1 to 8 methods described corresponds to step;
    The terminal WIFI mode of operation automatic switchover systems include:
    Determining module, the mode of operation current for terminal where determining it;
    The determining module is additionally operable to, when the WIFI hot spot of terminal access breaks down, determine fault type;
    Acquisition module, for if it is determined that fault type be default Fisrt fault type when, in real time or the timing acquisition failure The working condition of WIFI hot spot, wherein terminal can access WIFI hot spot, nothing of the terminal based on access in the Fisrt fault type Line focus can not carry out data forwarding;
    Login module, for when the working condition of the failure WIFI hot spot recovers normal, the accounts information to be prestored using it to be stepped on Record and access the normal WIFI hot spot of the recovery, with client operation mode operation;
    Handover module, if in default WIFI hot spot recovery time interval WIFI hot spot do not recover normal also, switch The current mode of operation of terminal is switched to focus mode of operation by module;
    The determining module is additionally operable to, when having multiple WIFI hot spots in the region residing for the terminal, it is determined that failure classes When type is default second fault type, other WIFI hot spots for searching in its residing region, and searching other WIFI heat The accounts information to be prestored during point using it logs in the focus searched, wherein in second fault type, terminal can not access WIFI hot spot.
CN201410129645.5A 2014-03-31 2014-03-31 Terminal WIFI mode of operations automatic switching method and system Active CN103888983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410129645.5A CN103888983B (en) 2014-03-31 2014-03-31 Terminal WIFI mode of operations automatic switching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410129645.5A CN103888983B (en) 2014-03-31 2014-03-31 Terminal WIFI mode of operations automatic switching method and system

Publications (2)

Publication Number Publication Date
CN103888983A CN103888983A (en) 2014-06-25
CN103888983B true CN103888983B (en) 2018-03-13

Family

ID=50957667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410129645.5A Active CN103888983B (en) 2014-03-31 2014-03-31 Terminal WIFI mode of operations automatic switching method and system

Country Status (1)

Country Link
CN (1) CN103888983B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679630A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Adjustment method and device for working mode of intelligent terminal
CN104853373B (en) * 2015-05-04 2019-03-29 海信集团有限公司 A kind of Working mode switching method and device of wireless module
CN105792388A (en) * 2015-12-30 2016-07-20 上海近游信息科技有限公司 Local area network connection system and method
CN106465160B (en) * 2016-07-27 2020-09-08 北京小米移动软件有限公司 Network function switching method and device
CN107483254B (en) * 2017-08-23 2020-05-26 合肥美菱物联科技有限公司 Production test method and device for intelligent module of Internet of things
WO2019041287A1 (en) * 2017-08-31 2019-03-07 深圳市云中飞网络科技有限公司 Terminal location sending method and device
CN116016143B (en) * 2022-12-14 2023-11-21 广东保伦电子股份有限公司 Internet of things equipment debugging method and Internet of things equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932958A (en) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 Method, device and system for real-time data sharing
US8522315B2 (en) * 2003-03-14 2013-08-27 Thomson Licensing Automatic configuration of client terminal in public hot spot
CN103442410A (en) * 2013-08-27 2013-12-11 上海汉枫电子科技有限公司 Network breakdown re-access method based on internet of things embedded Wi-Fi module

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101232615B1 (en) * 2007-10-11 2013-02-13 닛본 덴끼 가부시끼가이샤 Wireless communication system and method
CN101699861B (en) * 2009-10-29 2013-10-16 中兴通讯股份有限公司 Method and system for restoring video monitoring service
CN103200087A (en) * 2010-05-27 2013-07-10 华为终端有限公司 Wireless router, wireless routing method and wireless routing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8522315B2 (en) * 2003-03-14 2013-08-27 Thomson Licensing Automatic configuration of client terminal in public hot spot
CN102932958A (en) * 2011-08-12 2013-02-13 中兴通讯股份有限公司 Method, device and system for real-time data sharing
CN103442410A (en) * 2013-08-27 2013-12-11 上海汉枫电子科技有限公司 Network breakdown re-access method based on internet of things embedded Wi-Fi module

Also Published As

Publication number Publication date
CN103888983A (en) 2014-06-25

Similar Documents

Publication Publication Date Title
CN103888983B (en) Terminal WIFI mode of operations automatic switching method and system
CN103945499B (en) The switching method and device of WIFI module mode of operation
CN107592634B (en) Method and system for realizing multi-network coverage based on cloud SIM technology
CN103200601B (en) The fat or thin mode switching method of WAP
CN104678851A (en) Switch control method and switch control device of intelligent socket
CN102917425B (en) Operator network switching method and device
CN104932456A (en) Intelligent scene realizing method and device, intelligent terminal and controller
US20120276891A1 (en) Home appliance remote control method and wireless network card
CN108391298B (en) System and electronic equipment for automatically switching networks
CN101754472A (en) Mobile terminal and method thereof for communication service
CN111064552B (en) Intelligent device control method and device, electronic device and storage medium
CN103501506A (en) Terminal self-adaptive data transmission system and method for Internet of Vehicles service
CN101146319A (en) A gateway for supporting seamless switching multi-mode terminal and its method
CN110225492A (en) A kind of implementation method and device for cloud speaker distribution
CN103686595A (en) State switching method and electronic equipment
CN103702377A (en) Network switch method and equipment
CN103037476A (en) Control method for wireless network access and control device for wireless network access
CN105306318A (en) Intelligent scene configuration method and device and server
CN104703236A (en) Network switching method and device for terminal communication
CN106572508A (en) Method, apparatus and base station for switching terminal device to target cell
CN104105227A (en) A WIFI module work method and device based on different application scenarios
CN104918298A (en) Network connection control method and apparatus, and mobile terminal
CN100401827C (en) Realization method capable of rightly recognizing measure report
CN103634929A (en) Network switching method and system of MIFI equipment
CN105933961A (en) Energy-saving control method and device

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